let p be Point of (TOP-REAL 2); :: thesis: for f being V8() standard special_circular_sequence holds Rev (Rotate (f,p)) = Rotate ((Rev f),p)
let f be V8() 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 REVROT_1:def 2 :: thesis: ( p .. f in dom f & p = f /. (p .. f) & ( for z being set st z in dom f & z <> p .. f holds
f /. z <> p ) )

thus A5: p .. f in dom f by A3, FINSEQ_4:20; :: thesis: ( p = f /. (p .. f) & ( for z being set st z in dom f & z <> p .. f holds
f /. z <> p ) )

thus A6: p = f . (p .. f) by A3, FINSEQ_4:19
.= f /. (p .. f) by A5, PARTFUN1:def 6 ; :: thesis: for z being set st z in dom f & z <> p .. f holds
f /. z <> p

let z be set ; :: thesis: ( z in dom f & z <> p .. f implies f /. z <> p )
assume that
A7: z in dom f and
A8: z <> p .. f ; :: thesis: 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;