let f, g be FinSequence of (TOP-REAL 2); :: thesis: for p being Point of (TOP-REAL 2) st g is_in_the_area_of f & <*p*> is_in_the_area_of f & g is being_S-Seq & p in L~ g holds
R_Cut g,p is_in_the_area_of f
let p be Point of (TOP-REAL 2); :: thesis: ( g is_in_the_area_of f & <*p*> is_in_the_area_of f & g is being_S-Seq & p in L~ g implies R_Cut g,p is_in_the_area_of f )
assume that
A1:
g is_in_the_area_of f
and
A2:
<*p*> is_in_the_area_of f
and
A3:
g is being_S-Seq
; :: thesis: ( not p in L~ g or R_Cut g,p is_in_the_area_of f )
2 <= len g
by A3, TOPREAL1:def 10;
then A4:
1 <= len g
by XXREAL_0:2;
then A5:
1 in dom g
by FINSEQ_3:27;
assume
p in L~ g
; :: thesis: R_Cut g,p is_in_the_area_of f
then
( 1 <= Index p,g & Index p,g < len g )
by JORDAN3:41;
then A6:
Index p,g in dom g
by FINSEQ_3:27;
per cases
( p <> g . 1 or p = g . 1 )
;
suppose
p <> g . 1
;
:: thesis: R_Cut g,p is_in_the_area_of fthen A7:
R_Cut g,
p = (mid g,1,(Index p,g)) ^ <*p*>
by JORDAN3:def 5;
mid g,1,
(Index p,g) is_in_the_area_of f
by A1, A5, A6, SPRECT_2:26;
hence
R_Cut g,
p is_in_the_area_of f
by A2, A7, SPRECT_2:28;
:: thesis: verum end; end;