let A be ext-real-membered set ; ( ( for x, r being ExtReal st x in A & x < r & r < sup A holds
r in A ) implies A is interval )
assume A1:
for x, r being ExtReal st x in A & x < r & r < sup A holds
r in A
; A is interval
let x be ExtReal; XXREAL_2:def 12 for s being ExtReal st x in A & s in A holds
[.x,s.] c= A
let y be ExtReal; ( x in A & y in A implies [.x,y.] c= A )
assume that
A2:
x in A
and
A3:
y in A
; [.x,y.] c= A
let r be ExtReal; MEMBERED:def 8 ( not r in [.x,y.] or r in A )
assume
r in [.x,y.]
; r in A
then
r in ].x,y.[ \/ {x,y}
by XXREAL_1:29, XXREAL_1:128;
then A4:
( r in ].x,y.[ or r in {x,y} )
by XBOOLE_0:def 3;