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
let r be real number ; :: 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 set 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:115;
reconsider x = x as Point of (TOP-REAL 2) by A2;
r = x `2 by A4, PSCOMP_1:def 29;
hence r <= a `2 by A3, TOPREAL1:def 14; :: thesis: verum
end;
A5: now
reconsider r = a `2 as real number ;
let s be real number ; :: thesis: ( 0 < s implies ex r being real number st
( r in proj2 .: (south_halfline a) & (a `2) - s < r ) )

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

then A6: (a `2) - s < r - 0 by XREAL_1:17;
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 29, TOPREAL1:45;
hence r in proj2 .: (south_halfline a) by FUNCT_2:43; :: thesis: (a `2) - s < r
thus (a `2) - s < r by A6; :: thesis: verum
end;
proj2 .: (south_halfline a) is bounded_above by Th5;
hence upper_bound (proj2 .: (south_halfline a)) = a `2 by A1, A5, SEQ_4:def 4; :: thesis: verum