let a, b, c, d be real number ; :: thesis: ( a <= b & c <= d implies (LSeg |[a,c]|,|[a,d]|) /\ (LSeg |[a,d]|,|[b,d]|) = {|[a,d]|} )
assume A1: ( a <= b & c <= d ) ; :: thesis: (LSeg |[a,c]|,|[a,d]|) /\ (LSeg |[a,d]|,|[b,d]|) = {|[a,d]|}
for ax being set holds
( ax in (LSeg |[a,c]|,|[a,d]|) /\ (LSeg |[a,d]|,|[b,d]|) iff ax = |[a,d]| )
proof
let ax be set ; :: thesis: ( ax in (LSeg |[a,c]|,|[a,d]|) /\ (LSeg |[a,d]|,|[b,d]|) iff ax = |[a,d]| )
thus ( ax in (LSeg |[a,c]|,|[a,d]|) /\ (LSeg |[a,d]|,|[b,d]|) implies ax = |[a,d]| ) :: thesis: ( ax = |[a,d]| implies ax in (LSeg |[a,c]|,|[a,d]|) /\ (LSeg |[a,d]|,|[b,d]|) )
proof
assume ax in (LSeg |[a,c]|,|[a,d]|) /\ (LSeg |[a,d]|,|[b,d]|) ; :: thesis: ax = |[a,d]|
then A2: ( ax in LSeg |[a,c]|,|[a,d]| & ax in LSeg |[a,d]|,|[b,d]| ) by XBOOLE_0:def 4;
then ax in { p2 where p2 is Point of (TOP-REAL 2) : ( p2 `1 <= b & p2 `1 >= a & p2 `2 = d ) } by A1, Th39;
then A3: ex p2 being Point of (TOP-REAL 2) st
( p2 = ax & p2 `1 <= b & p2 `1 >= a & p2 `2 = d ) ;
ax in { p2 where p2 is Point of (TOP-REAL 2) : ( p2 `1 = a & p2 `2 <= d & p2 `2 >= c ) } by A1, A2, Th39;
then ex p being Point of (TOP-REAL 2) st
( p = ax & p `1 = a & p `2 <= d & p `2 >= c ) ;
hence ax = |[a,d]| by A3, EUCLID:57; :: thesis: verum
end;
assume ax = |[a,d]| ; :: thesis: ax in (LSeg |[a,c]|,|[a,d]|) /\ (LSeg |[a,d]|,|[b,d]|)
then ( ax in LSeg |[a,c]|,|[a,d]| & ax in LSeg |[a,d]|,|[b,d]| ) by RLTOPSP1:69;
hence ax in (LSeg |[a,c]|,|[a,d]|) /\ (LSeg |[a,d]|,|[b,d]|) by XBOOLE_0:def 4; :: thesis: verum
end;
hence (LSeg |[a,c]|,|[a,d]|) /\ (LSeg |[a,d]|,|[b,d]|) = {|[a,d]|} by TARSKI:def 1; :: thesis: verum