let P, Q be Subset of (); :: thesis: for p1, p2 being Point of () st p2 in Q & P /\ Q is closed & P is_an_arc_of p1,p2 holds
Last_Point (P,p1,p2,Q) = p2

let p1, p2 be Point of (); :: thesis: ( p2 in Q & P /\ Q is closed & P is_an_arc_of p1,p2 implies Last_Point (P,p1,p2,Q) = p2 )
assume that
A1: p2 in Q and
A2: P /\ Q is closed and
A3: P is_an_arc_of p1,p2 ; :: thesis: Last_Point (P,p1,p2,Q) = p2
A4: for g being Function of I,(() | P)
for s2 being Real st g is being_homeomorphism & g . 0 = p1 & g . 1 = p2 & g . s2 = p2 & 0 <= s2 & s2 <= 1 holds
for t being Real st 1 >= t & t > s2 holds
not g . t in Q
proof
let g be Function of I,(() | P); :: thesis: for s2 being Real st g is being_homeomorphism & g . 0 = p1 & g . 1 = p2 & g . s2 = p2 & 0 <= s2 & s2 <= 1 holds
for t being Real st 1 >= t & t > s2 holds
not g . t in Q

let s2 be Real; :: thesis: ( g is being_homeomorphism & g . 0 = p1 & g . 1 = p2 & g . s2 = p2 & 0 <= s2 & s2 <= 1 implies for t being Real st 1 >= t & t > s2 holds
not g . t in Q )

assume that
A5: g is being_homeomorphism and
g . 0 = p1 and
A6: ( g . 1 = p2 & g . s2 = p2 ) and
A7: ( 0 <= s2 & s2 <= 1 ) ; :: thesis: for t being Real st 1 >= t & t > s2 holds
not g . t in Q

A8: g is one-to-one by ;
let t be Real; :: thesis: ( 1 >= t & t > s2 implies not g . t in Q )
assume A9: ( 1 >= t & t > s2 ) ; :: thesis: not g . t in Q
A10: dom g = [#] I by
.= the carrier of I ;
then A11: 1 in dom g by BORSUK_1:43;
s2 in dom g by ;
hence not g . t in Q by ; :: thesis: verum
end;
p2 in P by ;
then ( p2 in P /\ Q & P meets Q ) by ;
hence Last_Point (P,p1,p2,Q) = p2 by A2, A3, A4, Def2; :: thesis: verum