let X be Subset of REAL; :: thesis: ( X is real-bounded & not X is empty implies ( ex r, p being Real st
( r in X & p in X & p <> r ) iff lower_bound X < upper_bound X ) )

assume that
A1: X is real-bounded and
A2: not X is empty ; :: thesis: ( ex r, p being Real st
( r in X & p in X & p <> r ) iff lower_bound X < upper_bound X )

thus ( ex r, p being Real st
( r in X & p in X & p <> r ) implies lower_bound X < upper_bound X ) :: thesis: ( lower_bound X < upper_bound X implies ex r, p being Real st
( r in X & p in X & p <> r ) )
proof end;
consider r being Element of REAL such that
A11: r in X by A2;
assume that
A12: lower_bound X < upper_bound X and
A13: for r, p being Real st r in X & p in X holds
p = r ; :: thesis: contradiction
for x being object holds
( x in X iff x = r ) by A13, A11;
then X = {r} by TARSKI:def 1;
hence contradiction by A12, Th10; :: thesis: verum