let f be rectangular FinSequence of (TOP-REAL 2); :: thesis: for p being Point of (TOP-REAL 2) st <*p*> is_in_the_area_of f & ( p `1 = W-bound (L~ f) or p `1 = E-bound (L~ f) or p `2 = S-bound (L~ f) or p `2 = N-bound (L~ f) ) holds
p in L~ f

let p be Point of (TOP-REAL 2); :: thesis: ( <*p*> is_in_the_area_of f & ( p `1 = W-bound (L~ f) or p `1 = E-bound (L~ f) or p `2 = S-bound (L~ f) or p `2 = N-bound (L~ f) ) implies p in L~ f )
assume A1: <*p*> is_in_the_area_of f ; :: thesis: ( ( not p `1 = W-bound (L~ f) & not p `1 = E-bound (L~ f) & not p `2 = S-bound (L~ f) & not p `2 = N-bound (L~ f) ) or p in L~ f )
dom <*p*> = {1} by FINSEQ_1:4, FINSEQ_1:55;
then ( 1 in dom <*p*> & <*p*> /. 1 = p ) by FINSEQ_4:25, TARSKI:def 1;
then A2: ( W-bound (L~ f) <= p `1 & p `1 <= E-bound (L~ f) & S-bound (L~ f) <= p `2 & p `2 <= N-bound (L~ f) ) by A1, SPRECT_2:def 1;
consider D being non empty compact non horizontal non vertical Subset of (TOP-REAL 2) such that
A3: f = SpStSeq D by SPRECT_1:def 2;
A4: L~ f = ((LSeg (NW-corner D),(NE-corner D)) \/ (LSeg (NE-corner D),(SE-corner D))) \/ ((LSeg (SE-corner D),(SW-corner D)) \/ (LSeg (SW-corner D),(NW-corner D))) by A3, SPRECT_1:43;
A5: W-bound (L~ (SpStSeq D)) = W-bound D by SPRECT_1:66;
A6: S-bound (L~ (SpStSeq D)) = S-bound D by SPRECT_1:67;
A7: N-bound (L~ (SpStSeq D)) = N-bound D by SPRECT_1:68;
A8: E-bound (L~ (SpStSeq D)) = E-bound D by SPRECT_1:69;
assume A9: ( p `1 = W-bound (L~ f) or p `1 = E-bound (L~ f) or p `2 = S-bound (L~ f) or p `2 = N-bound (L~ f) ) ; :: thesis: p in L~ f
per cases ( p `1 = W-bound (L~ f) or p `1 = E-bound (L~ f) or p `2 = S-bound (L~ f) or p `2 = N-bound (L~ f) ) by A9;
suppose A10: p `1 = W-bound (L~ f) ; :: thesis: p in L~ f
end;
suppose A12: p `1 = E-bound (L~ f) ; :: thesis: p in L~ f
end;
suppose A14: p `2 = S-bound (L~ f) ; :: thesis: p in L~ f
end;
suppose A16: p `2 = N-bound (L~ f) ; :: thesis: p in L~ f
end;
end;