let y, x be Element of REAL+ ; :: thesis: ( y < x implies ex z being Element of REAL+ st
( z in RAT+ & z < x & y < z ) )
assume A1:
y < x
; :: thesis: ex z being Element of REAL+ st
( z in RAT+ & z < x & y < z )
per cases
( ( x in RAT+ & y in RAT+ ) or ( not x in RAT+ & y in RAT+ ) or ( x in RAT+ & not y in RAT+ ) or ( not x in RAT+ & not y in RAT+ ) )
;
suppose that A11:
x in RAT+
and A12:
not
y in RAT+
;
:: thesis: ex z being Element of REAL+ st
( z in RAT+ & z < x & y < z )
y in REAL+
;
then
y in { A where A is Subset of RAT+ : for r being Element of RAT+ st r in A holds
( ( for s being Element of RAT+ st s <=' r holds
s in A ) & ex s being Element of RAT+ st
( s in A & r < s ) ) }
by A12, Lm3, XBOOLE_0:def 3;
then consider B being
Subset of
RAT+ such that A13:
y = B
and A14:
for
r being
Element of
RAT+ st
r in B holds
( ( for
s being
Element of
RAT+ st
s <=' r holds
s in B ) & ex
s being
Element of
RAT+ st
(
s in B &
r < s ) )
;
reconsider x' =
x as
Element of
RAT+ by A11;
A15:
not
x' in y
by A1, A12, Def5;
B <> {}
by A12, A13;
then consider y1 being
Element of
RAT+ such that A16:
y1 in B
by SUBSET_1:10;
{} <=' y1
by ARYTM_3:71;
then A17:
x' <> {}
by A13, A14, A15, A16;
ex
z' being
Element of
RAT+ st
(
z' < x' & not
z' in y )
then consider z' being
Element of
RAT+ such that A22:
z' < x'
and A23:
not
z' in y
;
z' in RAT+
;
then reconsider z =
z' as
Element of
REAL+ by Th1;
take
z
;
:: thesis: ( z in RAT+ & z < x & y < z )thus
z in RAT+
;
:: thesis: ( z < x & y < z )thus
z < x
by A22, Lm14;
:: thesis: y < zthus
y < z
by A12, A23, Def5;
:: thesis: verum end; suppose that A24:
not
x in RAT+
and A25:
not
y in RAT+
;
:: thesis: ex z being Element of REAL+ st
( z in RAT+ & z < x & y < z )A26:
not
x c= y
by A1, A24, A25, Def5;
x in REAL+
;
then
x in { A where A is Subset of RAT+ : for r being Element of RAT+ st r in A holds
( ( for s being Element of RAT+ st s <=' r holds
s in A ) & ex s being Element of RAT+ st
( s in A & r < s ) ) }
by A24, Lm3, XBOOLE_0:def 3;
then consider A being
Subset of
RAT+ such that A27:
x = A
and
for
r being
Element of
RAT+ st
r in A holds
( ( for
s being
Element of
RAT+ st
s <=' r holds
s in A ) & ex
s being
Element of
RAT+ st
(
s in A &
r < s ) )
;
y in REAL+
;
then
y in { A where A is Subset of RAT+ : for r being Element of RAT+ st r in A holds
( ( for s being Element of RAT+ st s <=' r holds
s in A ) & ex s being Element of RAT+ st
( s in A & r < s ) ) }
by A25, Lm3, XBOOLE_0:def 3;
then consider B being
Subset of
RAT+ such that A28:
y = B
and
for
r being
Element of
RAT+ st
r in B holds
( ( for
s being
Element of
RAT+ st
s <=' r holds
s in B ) & ex
s being
Element of
RAT+ st
(
s in B &
r < s ) )
;
consider z' being
Element of
RAT+ such that A29:
z' in A
and A30:
not
z' in B
by A26, A27, A28, SUBSET_1:7;
z' in RAT+
;
then reconsider z =
z' as
Element of
REAL+ by Th1;
take
z
;
:: thesis: ( z in RAT+ & z < x & y < z )thus
z in RAT+
;
:: thesis: ( z < x & y < z )thus
z < x
by A24, A27, A29, Def5;
:: thesis: y < zthus
y < z
by A25, A28, A30, Def5;
:: thesis: verum end; end;