let a be Point of (TOP-REAL 2); :: thesis: upper_bound (proj2 .: (south_halfline a)) = a `2
set X = proj2 .: (south_halfline a);
A1: now :: thesis: for r being Real st r in proj2 .: (south_halfline a) holds
r <= a `2
let r be Real; :: thesis: ( r in proj2 .: (south_halfline a) implies r <= a `2 )
assume r in proj2 .: (south_halfline a) ; :: thesis: r <= a `2
then consider x being object such that
A2: x in the carrier of (TOP-REAL 2) and
A3: x in south_halfline a and
A4: r = proj2 . x by FUNCT_2:64;
reconsider x = x as Point of (TOP-REAL 2) by A2;
r = x `2 by A4, PSCOMP_1:def 6;
hence r <= a `2 by A3, TOPREAL1:def 12; :: thesis: verum
end;
A5: now :: thesis: for s being Real st 0 < s holds
ex r being Real st
( r in proj2 .: (south_halfline a) & (a `2) - s < r )
reconsider r = a `2 as Real ;
let s be Real; :: thesis: ( 0 < s implies ex r being Real st
( r in proj2 .: (south_halfline a) & (a `2) - s < r ) )

assume 0 < s ; :: thesis: ex r being Real st
( r in proj2 .: (south_halfline a) & (a `2) - s < r )

then A6: (a `2) - s < r - 0 by XREAL_1:15;
take r = r; :: thesis: ( r in proj2 .: (south_halfline a) & (a `2) - s < r )
( a in south_halfline a & r = proj2 . a ) by PSCOMP_1:def 6, TOPREAL1:38;
hence r in proj2 .: (south_halfline a) by FUNCT_2:35; :: thesis: (a `2) - s < r
thus (a `2) - s < r by A6; :: thesis: verum
end;
proj2 .: (south_halfline a) is bounded_above by Th4;
hence upper_bound (proj2 .: (south_halfline a)) = a `2 by A1, A5, SEQ_4:def 1; :: thesis: verum