set A = right_closed_halfline a;
thus right_closed_halfline a is bounded_below :: thesis: ( not right_closed_halfline a is bounded_above & right_closed_halfline a is connected )
proof
take a ; :: according to SEQ_4:def 2 :: thesis: for b1 being set holds
( not b1 in right_closed_halfline a or a <= b1 )

thus for b1 being set holds
( not b1 in right_closed_halfline a or a <= b1 ) by XXREAL_1:236; :: thesis: verum
end;
X: right_open_halfline a c= right_closed_halfline a by XXREAL_1:22;
not right_open_halfline a is bounded_above by Lm3;
hence not right_closed_halfline a is bounded_above by X, XXREAL_2:43; :: thesis: right_closed_halfline a is connected
let r be real number ; :: according to JCT_MISC:def 1 :: thesis: for b1 being set holds
( not r in right_closed_halfline a or not b1 in right_closed_halfline a or [.r,b1.] c= right_closed_halfline a )

let s be real number ; :: thesis: ( not r in right_closed_halfline a or not s in right_closed_halfline a or [.r,s.] c= right_closed_halfline a )
assume r in right_closed_halfline a ; :: thesis: ( not s in right_closed_halfline a or [.r,s.] c= right_closed_halfline a )
then A5: a <= r by XXREAL_1:236;
assume s in right_closed_halfline a ; :: thesis: [.r,s.] c= right_closed_halfline a
let x be set ; :: according to TARSKI:def 3 :: thesis: ( not x in [.r,s.] or x in right_closed_halfline a )
assume A6: x in [.r,s.] ; :: thesis: x in right_closed_halfline a
then reconsider x = x as Real ;
r <= x by A6, XXREAL_1:1;
then a <= x by A5, XXREAL_0:2;
hence x in right_closed_halfline a by XXREAL_1:236; :: thesis: verum