let C be Simple_closed_curve; :: thesis: for p, q being Point of (TOP-REAL 2) st LE p,q,C & LE q, E-max C,C & p <> q holds
Segment (p,q,C) = Segment ((Upper_Arc C),(W-min C),(E-max C),p,q)

let p, q be Point of (TOP-REAL 2); :: thesis: ( LE p,q,C & LE q, E-max C,C & p <> q implies Segment (p,q,C) = Segment ((Upper_Arc C),(W-min C),(E-max C),p,q) )
assume that
A1: LE p,q,C and
A2: LE q, E-max C,C and
A3: p <> q ; :: thesis: Segment (p,q,C) = Segment ((Upper_Arc C),(W-min C),(E-max C),p,q)
A4: Upper_Arc C is_an_arc_of W-min C, E-max C by JORDAN6:50;
A5: LE p, E-max C,C by A1, A2, JORDAN6:58;
A6: p in Upper_Arc C by A1, A2, JORDAN17:3, JORDAN6:58;
A7: q in Upper_Arc C by A2, JORDAN17:3;
A8: Upper_Arc C c= C by JORDAN6:61;
A9: now :: thesis: not q = W-min C
assume q = W-min C ; :: thesis: contradiction
then LE q,p,C by A6, A8, JORDAN7:3;
hence contradiction by A1, A3, JORDAN6:57; :: thesis: verum
end;
defpred S1[ Point of (TOP-REAL 2)] means ( LE p,$1,C & LE $1,q,C );
defpred S2[ Point of (TOP-REAL 2)] means ( LE p,$1, Upper_Arc C, W-min C, E-max C & LE $1,q, Upper_Arc C, W-min C, E-max C );
A10: for p1 being Point of (TOP-REAL 2) holds
( S1[p1] iff S2[p1] )
proof
let p1 be Point of (TOP-REAL 2); :: thesis: ( S1[p1] iff S2[p1] )
hereby :: thesis: ( S2[p1] implies S1[p1] )
assume that
A11: LE p,p1,C and
A12: LE p1,q,C ; :: thesis: ( LE p,p1, Upper_Arc C, W-min C, E-max C & LE p1,q, Upper_Arc C, W-min C, E-max C )
hereby :: thesis: LE p1,q, Upper_Arc C, W-min C, E-max C end;
end;
assume that
A18: LE p,p1, Upper_Arc C, W-min C, E-max C and
A19: LE p1,q, Upper_Arc C, W-min C, E-max C ; :: thesis: S1[p1]
A20: p1 in Upper_Arc C by A18, JORDAN5C:def 3;
hence LE p,p1,C by A6, A18, JORDAN6:def 10; :: thesis: LE p1,q,C
thus LE p1,q,C by A7, A19, A20, JORDAN6:def 10; :: thesis: verum
end;
deffunc H1( set ) -> set = $1;
set X = { H1(p1) where p1 is Point of (TOP-REAL 2) : S1[p1] } ;
set Y = { H1(p1) where p1 is Point of (TOP-REAL 2) : S2[p1] } ;
A21: { H1(p1) where p1 is Point of (TOP-REAL 2) : S1[p1] } = { H1(p1) where p1 is Point of (TOP-REAL 2) : S2[p1] } from FRAENKEL:sch 3(A10);
Segment (p,q,C) = { H1(p1) where p1 is Point of (TOP-REAL 2) : S1[p1] } by A9, JORDAN7:def 1;
hence Segment (p,q,C) = Segment ((Upper_Arc C),(W-min C),(E-max C),p,q) by A21, JORDAN6:26; :: thesis: verum