let p be Point of (TOP-REAL 2); :: thesis: for f being constant standard special_circular_sequence holds Rev (Rotate (f,p)) = Rotate ((Rev f),p)
let f be constant standard special_circular_sequence; :: thesis: Rev (Rotate (f,p)) = Rotate ((Rev f),p)
per cases ( not p in rng f or p = f /. 1 or ( p in rng f & p <> f /. 1 ) ) ;
suppose not p in rng f ; :: thesis: Rev (Rotate (f,p)) = Rotate ((Rev f),p)
then ( Rotate (f,p) = f & not p in rng (Rev f) ) by FINSEQ_5:57, FINSEQ_6:def 2;
hence Rev (Rotate (f,p)) = Rotate ((Rev f),p) by FINSEQ_6:def 2; :: thesis: verum
end;
suppose A1: p = f /. 1 ; :: thesis: Rev (Rotate (f,p)) = Rotate ((Rev f),p)
then A2: p = (Rev f) /. (len f) by FINSEQ_5:65
.= (Rev f) /. (len (Rev f)) by FINSEQ_5:def 3
.= (Rev f) /. 1 by FINSEQ_6:def 1 ;
Rotate (f,p) = f by A1, FINSEQ_6:89;
hence Rev (Rotate (f,p)) = Rotate ((Rev f),p) by A2, FINSEQ_6:89; :: thesis: verum
end;
suppose that A3: p in rng f and
A4: p <> f /. 1 ; :: thesis: Rev (Rotate (f,p)) = Rotate ((Rev f),p)
f just_once_values p
proof
take p .. f ; :: according to FINSEQ_6:def 12 :: thesis: ( p .. f in dom f & p = f /. (p .. f) & ( for b1 being set holds
( not b1 in dom f or b1 = p .. f or not f /. b1 = p ) ) )

thus A5: p .. f in dom f by A3, FINSEQ_4:20; :: thesis: ( p = f /. (p .. f) & ( for b1 being set holds
( not b1 in dom f or b1 = p .. f or not f /. b1 = p ) ) )

thus A6: p = f . (p .. f) by A3, FINSEQ_4:19
.= f /. (p .. f) by A5, PARTFUN1:def 6 ; :: thesis: for b1 being set holds
( not b1 in dom f or b1 = p .. f or not f /. b1 = p )

let z be set ; :: thesis: ( not z in dom f or z = p .. f or not f /. z = p )
assume that
A7: z in dom f and
A8: z <> p .. f ; :: thesis: not f /. z = p
reconsider k = z as Element of NAT by A7;
end;
hence Rev (Rotate (f,p)) = Rotate ((Rev f),p) by FINSEQ_6:106; :: thesis: verum
end;
end;