let a, b be real number ; ( a <= b implies ( lower_bound [.a,b.] = a & upper_bound [.a,b.] = b ) )
assume A1:
a <= b
; ( lower_bound [.a,b.] = a & upper_bound [.a,b.] = b )
set X = [.a,b.];
a is Real
by XREAL_0:def 1;
then A2:
a in { l where l is Real : ( a <= l & l <= b ) }
by A1;
A3:
for s being real number st 0 < s holds
ex r being real number st
( r in [.a,b.] & r < a + s )
b is Real
by XREAL_0:def 1;
then A6:
b in { l1 where l1 is Real : ( a <= l1 & l1 <= b ) }
by A1;
A7:
for s being real number st 0 < s holds
ex r being real number st
( r in [.a,b.] & b - s < r )
A10:
for r being real number st r in [.a,b.] holds
a <= r
b is UpperBound of [.a,b.]
then A11:
[.a,b.] is bounded_above
by XXREAL_2:def 10;
a is LowerBound of [.a,b.]
then A12:
[.a,b.] is bounded_below
by XXREAL_2:def 9;
A13:
for r being real number st r in [.a,b.] holds
b >= r
a in [.a,b.]
by A2, RCOMP_1:def 1;
hence
( lower_bound [.a,b.] = a & upper_bound [.a,b.] = b )
by A12, A11, A10, A3, A13, A7, SEQ_4:def 1, SEQ_4:def 2; verum