set R = Real_Lattice ;
A1:
1 in { r where r is Real : ( 0 <= r & r <= 1 ) }
;
then reconsider A = [.0 ,1.] as non empty set by RCOMP_1:def 1;
set L = RealSubLatt 0 ,1;
A2:
( A = the carrier of (RealSubLatt 0 ,1) & the L_join of (RealSubLatt 0 ,1) = maxreal || [.0 ,1.] & the L_meet of (RealSubLatt 0 ,1) = minreal || [.0 ,1.] )
by Def4;
set Ma = maxreal || A;
set Mi = minreal || A;
reconsider Ma = maxreal || A, Mi = minreal || A as BinOp of A by A2;
reconsider L = RealSubLatt 0 ,1 as complete Lattice by Th21;
set B = {0 ,1} \/ ].0 ,(1 / 2).[;
A3:
{0 ,1} \/ ].0 ,(1 / 2).[ = {1} \/ { x where x is Element of REAL : ( 0 <= x & x < 1 / 2 ) }
reconsider B = {0 ,1} \/ ].0 ,(1 / 2).[ as non empty set ;
then A11:
B c= A
by TARSKI:def 3;
then A12:
[:B,B:] c= [:A,A:]
by ZFMISC_1:119;
then reconsider ma = Ma || B, mi = Mi || B as Function of [:B,B:],A by FUNCT_2:38;
A13:
( dom ma = [:B,B:] & dom mi = [:B,B:] )
by FUNCT_2:def 1;
now let x' be
set ;
:: thesis: ( x' in dom ma implies ma . x' in B )assume A14:
x' in dom ma
;
:: thesis: ma . x' in Bthen consider x1,
x2 being
set such that A15:
x' = [x1,x2]
by RELAT_1:def 1;
A16:
(
x1 in B &
x2 in B )
by A14, A15, ZFMISC_1:106;
now per cases
( x1 in {1} or x1 in { x where x is Element of REAL : ( 0 <= x & x < 1 / 2 ) } )
by A3, A16, XBOOLE_0:def 3;
suppose
x1 in {1}
;
:: thesis: ma . x' in Bthen A17:
x1 = 1
by TARSKI:def 1;
now per cases
( x2 in {1} or x2 in { x where x is Element of REAL : ( 0 <= x & x < 1 / 2 ) } )
by A3, A16, XBOOLE_0:def 3;
suppose
x2 in {1}
;
:: thesis: ma . x' in Bthen A18:
x2 = 1
by TARSKI:def 1;
ma . x' =
Ma . [x1,x2]
by A14, A15, FUNCT_1:72
.=
maxreal . x1,
x2
by A12, A13, A14, A15, FUNCT_1:72
.=
max 1,1
by A17, A18, REAL_LAT:def 2
.=
1
;
then
ma . x' in {1}
by TARSKI:def 1;
hence
ma . x' in B
by A3, XBOOLE_0:def 3;
:: thesis: verum end; suppose
x2 in { x where x is Element of REAL : ( 0 <= x & x < 1 / 2 ) }
;
:: thesis: ma . x' in Bthen consider y2 being
Element of
REAL such that A19:
(
x2 = y2 &
0 <= y2 &
y2 < 1
/ 2 )
;
ma . x' =
Ma . [x1,x2]
by A14, A15, FUNCT_1:72
.=
maxreal . x1,
x2
by A12, A13, A14, A15, FUNCT_1:72
.=
max 1,
y2
by A17, A19, REAL_LAT:def 2
;
then
(
ma . x' = 1 or
ma . x' = y2 )
by XXREAL_0:16;
then
(
ma . x' in {1} or
ma . x' in { x where x is Element of REAL : ( 0 <= x & x < 1 / 2 ) } )
by A19, TARSKI:def 1;
hence
ma . x' in B
by A3, XBOOLE_0:def 3;
:: thesis: verum end; end; end; hence
ma . x' in B
;
:: thesis: verum end; suppose
x1 in { x where x is Element of REAL : ( 0 <= x & x < 1 / 2 ) }
;
:: thesis: ma . x' in Bthen consider y1 being
Element of
REAL such that A20:
(
x1 = y1 &
0 <= y1 &
y1 < 1
/ 2 )
;
now per cases
( x2 in {1} or x2 in { x where x is Element of REAL : ( 0 <= x & x < 1 / 2 ) } )
by A3, A16, XBOOLE_0:def 3;
suppose
x2 in {1}
;
:: thesis: ma . x' in Bthen A21:
x2 = 1
by TARSKI:def 1;
ma . x' =
Ma . [x1,x2]
by A14, A15, FUNCT_1:72
.=
maxreal . x1,
x2
by A12, A13, A14, A15, FUNCT_1:72
.=
max y1,1
by A20, A21, REAL_LAT:def 2
;
then
(
ma . x' = y1 or
ma . x' = 1 )
by XXREAL_0:16;
then
(
ma . x' in { x where x is Element of REAL : ( 0 <= x & x < 1 / 2 ) } or
ma . x' in {1} )
by A20, TARSKI:def 1;
hence
ma . x' in B
by A3, XBOOLE_0:def 3;
:: thesis: verum end; suppose
x2 in { x where x is Element of REAL : ( 0 <= x & x < 1 / 2 ) }
;
:: thesis: ma . x' in Bthen consider y2 being
Element of
REAL such that A22:
(
x2 = y2 &
0 <= y2 &
y2 < 1
/ 2 )
;
ma . x' =
Ma . [x1,x2]
by A14, A15, FUNCT_1:72
.=
maxreal . x1,
x2
by A12, A13, A14, A15, FUNCT_1:72
.=
max y1,
y2
by A20, A22, REAL_LAT:def 2
;
then
(
ma . x' = y1 or
ma . x' = y2 )
by XXREAL_0:16;
then
ma . x' in { x where x is Element of REAL : ( 0 <= x & x < 1 / 2 ) }
by A20, A22;
hence
ma . x' in B
by A3, XBOOLE_0:def 3;
:: thesis: verum end; end; end; hence
ma . x' in B
;
:: thesis: verum end; end; end; hence
ma . x' in B
;
:: thesis: verum end;
then reconsider ma = ma as BinOp of B by A13, FUNCT_2:5;
now let x' be
set ;
:: thesis: ( x' in dom mi implies mi . x' in B )assume A23:
x' in dom mi
;
:: thesis: mi . x' in Bthen consider x1,
x2 being
set such that A24:
x' = [x1,x2]
by RELAT_1:def 1;
A25:
(
x1 in B &
x2 in B )
by A23, A24, ZFMISC_1:106;
now per cases
( x1 in {1} or x1 in { x where x is Element of REAL : ( 0 <= x & x < 1 / 2 ) } )
by A3, A25, XBOOLE_0:def 3;
suppose
x1 in {1}
;
:: thesis: mi . x' in Bthen A26:
x1 = 1
by TARSKI:def 1;
now per cases
( x2 in {1} or x2 in { x where x is Element of REAL : ( 0 <= x & x < 1 / 2 ) } )
by A3, A25, XBOOLE_0:def 3;
suppose
x2 in {1}
;
:: thesis: mi . x' in Bthen A27:
x2 = 1
by TARSKI:def 1;
mi . x' =
Mi . [x1,x2]
by A23, A24, FUNCT_1:72
.=
minreal . x1,
x2
by A12, A13, A23, A24, FUNCT_1:72
.=
min 1,1
by A26, A27, REAL_LAT:def 1
.=
1
;
then
mi . x' in {1}
by TARSKI:def 1;
hence
mi . x' in B
by A3, XBOOLE_0:def 3;
:: thesis: verum end; suppose
x2 in { x where x is Element of REAL : ( 0 <= x & x < 1 / 2 ) }
;
:: thesis: mi . x' in Bthen consider y2 being
Element of
REAL such that A28:
(
x2 = y2 &
0 <= y2 &
y2 < 1
/ 2 )
;
mi . x' =
Mi . [x1,x2]
by A23, A24, FUNCT_1:72
.=
minreal . x1,
x2
by A12, A13, A23, A24, FUNCT_1:72
.=
min 1,
y2
by A26, A28, REAL_LAT:def 1
;
then
(
mi . x' = 1 or
mi . x' = y2 )
by XXREAL_0:15;
then
(
mi . x' in {1} or
mi . x' in { x where x is Element of REAL : ( 0 <= x & x < 1 / 2 ) } )
by A28, TARSKI:def 1;
hence
mi . x' in B
by A3, XBOOLE_0:def 3;
:: thesis: verum end; end; end; hence
mi . x' in B
;
:: thesis: verum end; suppose
x1 in { x where x is Element of REAL : ( 0 <= x & x < 1 / 2 ) }
;
:: thesis: mi . x' in Bthen consider y1 being
Element of
REAL such that A29:
(
x1 = y1 &
0 <= y1 &
y1 < 1
/ 2 )
;
now per cases
( x2 in {1} or x2 in { x where x is Element of REAL : ( 0 <= x & x < 1 / 2 ) } )
by A3, A25, XBOOLE_0:def 3;
suppose
x2 in {1}
;
:: thesis: mi . x' in Bthen A30:
x2 = 1
by TARSKI:def 1;
mi . x' =
Mi . [x1,x2]
by A23, A24, FUNCT_1:72
.=
minreal . x1,
x2
by A12, A13, A23, A24, FUNCT_1:72
.=
min y1,1
by A29, A30, REAL_LAT:def 1
;
then
(
mi . x' = y1 or
mi . x' = 1 )
by XXREAL_0:15;
then
(
mi . x' in { x where x is Element of REAL : ( 0 <= x & x < 1 / 2 ) } or
mi . x' in {1} )
by A29, TARSKI:def 1;
hence
mi . x' in B
by A3, XBOOLE_0:def 3;
:: thesis: verum end; suppose
x2 in { x where x is Element of REAL : ( 0 <= x & x < 1 / 2 ) }
;
:: thesis: mi . x' in Bthen consider y2 being
Element of
REAL such that A31:
(
x2 = y2 &
0 <= y2 &
y2 < 1
/ 2 )
;
mi . x' =
Mi . [x1,x2]
by A23, A24, FUNCT_1:72
.=
minreal . x1,
x2
by A12, A13, A23, A24, FUNCT_1:72
.=
min y1,
y2
by A29, A31, REAL_LAT:def 1
;
then
(
mi . x' = y1 or
mi . x' = y2 )
by XXREAL_0:15;
then
mi . x' in { x where x is Element of REAL : ( 0 <= x & x < 1 / 2 ) }
by A29, A31;
hence
mi . x' in B
by A3, XBOOLE_0:def 3;
:: thesis: verum end; end; end; hence
mi . x' in B
;
:: thesis: verum end; end; end; hence
mi . x' in B
;
:: thesis: verum end;
then reconsider mi = mi as BinOp of B by A13, FUNCT_2:5;
reconsider L' = LattStr(# B,ma,mi #) as non empty LattStr ;
A36:
now let a,
b be
Element of
L';
:: thesis: ( a "\/" b = maxreal . a,b & a "/\" b = minreal . a,b )A37:
[a,b] in [:B,B:]
;
thus a "\/" b =
the
L_join of
L' . a,
b
by LATTICES:def 1
.=
(maxreal || A) . [a,b]
by FUNCT_1:72
.=
maxreal . a,
b
by A12, A37, FUNCT_1:72
;
:: thesis: a "/\" b = minreal . a,bthus a "/\" b =
the
L_meet of
L' . a,
b
by LATTICES:def 2
.=
(minreal || A) . [a,b]
by FUNCT_1:72
.=
minreal . a,
b
by A12, A37, FUNCT_1:72
;
:: thesis: verum end;
A39:
now let p,
q,
r be
Element of
L';
:: thesis: p "\/" (q "\/" r) = (p "\/" q) "\/" rreconsider p' =
p,
q' =
q,
r' =
r as
Element of
L by A34;
reconsider p' =
p',
q' =
q',
r' =
r' as
Element of
Real_Lattice by A2, A32;
thus p "\/" (q "\/" r) =
maxreal . p,
(q "\/" r)
by A36
.=
maxreal . p,
(maxreal . q,r)
by A36
.=
maxreal . (maxreal . p',q'),
r'
by REAL_LAT:10
.=
maxreal . (p "\/" q),
r
by A36
.=
(p "\/" q) "\/" r
by A36
;
:: thesis: verum end;
A42:
now let p,
q,
r be
Element of
L';
:: thesis: p "/\" (q "/\" r) = (p "/\" q) "/\" rreconsider p' =
p,
q' =
q,
r' =
r as
Element of
L by A34;
reconsider p' =
p',
q' =
q',
r' =
r' as
Element of
Real_Lattice by A2, A32;
thus p "/\" (q "/\" r) =
minreal . p,
(q "/\" r)
by A36
.=
minreal . p,
(minreal . q,r)
by A36
.=
minreal . (minreal . p',q'),
r'
by REAL_LAT:11
.=
minreal . (p "/\" q),
r
by A36
.=
(p "/\" q) "/\" r
by A36
;
:: thesis: verum end;
then
( L' is join-commutative & L' is join-associative & L' is meet-absorbing & L' is meet-commutative & L' is meet-associative & L' is join-absorbing )
by A38, A39, A40, A41, A42, LATTICES:def 4, LATTICES:def 5, LATTICES:def 6, LATTICES:def 7, LATTICES:def 8, LATTICES:def 9;
then reconsider L' = L' as Lattice ;
reconsider L' = L' as SubLattice of RealSubLatt 0 ,1 by A2, A11, NAT_LAT:def 16;
take
L'
; :: thesis: ( L' is /\-inheriting & not L' is \/-inheriting )
now let X be
Subset of
L';
:: thesis: "/\" X,L in the carrier of L'thus
"/\" X,
L in the
carrier of
L'
:: thesis: verumproof
"/\" X,
L in [.0 ,1.]
by A2;
then
"/\" X,
L in { r where r is Real : ( 0 <= r & r <= 1 ) }
by RCOMP_1:def 1;
then consider y being
Element of
REAL such that A43:
(
y = "/\" X,
L &
0 <= y &
y <= 1 )
;
A44:
"/\" X,
L is_less_than X
by LATTICE3:34;
assume A45:
not
"/\" X,
L in the
carrier of
L'
;
:: thesis: contradiction
then
( not
"/\" X,
L in {1} & not
"/\" X,
L in { x where x is Element of REAL : ( 0 <= x & x < 1 / 2 ) } )
by A3, XBOOLE_0:def 3;
then A46:
1
/ 2
<= y
by A43;
now let z' be
set ;
:: thesis: ( z' in X implies z' in {1} )assume A47:
z' in X
;
:: thesis: z' in {1}then reconsider z =
z' as
Element of
L' ;
reconsider z =
z as
Element of
L by A2, A8;
reconsider z1 =
z as
Element of
REAL by TARSKI:def 3;
A48:
"/\" X,
L [= z
by A44, A47, LATTICE3:def 16;
min z1,
y =
minreal . z,
("/\" X,L)
by A43, REAL_LAT:def 1
.=
(minreal || A) . [z,("/\" X,L)]
by A2, FUNCT_1:72
.=
(minreal || A) . z,
("/\" X,L)
.=
z "/\" ("/\" X,L)
by A2, LATTICES:def 2
.=
y
by A43, A48, LATTICES:21
;
then
y <= z1
by XXREAL_0:def 9;
then
y + (1 / 2) <= z1 + y
by A46, XREAL_1:9;
then
for
v being
Element of
REAL holds
( not
z1 = v or not
0 <= v or not
v < 1
/ 2 )
by XREAL_1:8;
then
not
z1 in { x where x is Element of REAL : ( 0 <= x & x < 1 / 2 ) }
;
hence
z' in {1}
by A3, XBOOLE_0:def 3;
:: thesis: verum end;
then A49:
X c= {1}
by TARSKI:def 3;
1
in { r where r is Real : ( 0 <= r & r <= 1 ) }
;
then reconsider w = 1 as
Element of
L by A2, RCOMP_1:def 1;
hence
contradiction
;
:: thesis: verum
end; end;
hence
L' is /\-inheriting
by Def2; :: thesis: not L' is \/-inheriting
now set X =
{ x where x is Element of REAL : ( 0 <= x & x < 1 / 2 ) } ;
for
x1 being
set st
x1 in { x where x is Element of REAL : ( 0 <= x & x < 1 / 2 ) } holds
x1 in B
by A3, XBOOLE_0:def 3;
then reconsider X =
{ x where x is Element of REAL : ( 0 <= x & x < 1 / 2 ) } as
Subset of
L' by TARSKI:def 3;
take X =
X;
:: thesis: not "\/" X,L in the carrier of L'
1
/ 2
in { x where x is Element of REAL : ( 0 <= x & x <= 1 ) }
;
then reconsider z = 1
/ 2 as
Element of
L by A2, RCOMP_1:def 1;
then A54:
X is_less_than z
by LATTICE3:def 17;
now let b be
Element of
L;
:: thesis: ( X is_less_than b implies z [= b )
b in A
by A2;
then
b in { r where r is Real : ( 0 <= r & r <= 1 ) }
by RCOMP_1:def 1;
then consider b' being
Element of
REAL such that A55:
(
b = b' &
0 <= b' &
b' <= 1 )
;
assume A56:
X is_less_than b
;
:: thesis: z [= bA57:
1
/ 2
<= b'
proof
assume A58:
b' < 1
/ 2
;
:: thesis: contradiction
then
b' + b' < (1 / 2) + b'
by XREAL_1:8;
then A59:
(b' + b') / 2
< ((1 / 2) + b') / 2
by XREAL_1:76;
(1 / 2) + b' <= 1
+ 1
by A55, XREAL_1:9;
then
((1 / 2) + b') / 2
<= (1 + 1) / 2
by XREAL_1:74;
then
((1 / 2) + b') / 2
in { r where r is Real : ( 0 <= r & r <= 1 ) }
by A55;
then reconsider c =
((1 / 2) + b') / 2 as
Element of
L by A2, RCOMP_1:def 1;
b' + (1 / 2) < (1 / 2) + (1 / 2)
by A58, XREAL_1:8;
then
((1 / 2) + b') / 2
< 1
/ 2
by XREAL_1:76;
then A60:
((1 / 2) + b') / 2
in X
by A55;
b' in X
by A55, A58;
then
b = "\/" X,
L
by A55, A56, LATTICE3:41;
then
c [= b
by A60, LATTICE3:38;
then ((1 / 2) + b') / 2 =
c "/\" b
by LATTICES:21
.=
(minreal || A) . c,
b
by A2, LATTICES:def 2
.=
minreal . [c,b]
by A2, FUNCT_1:72
.=
minreal . c,
b
.=
min (((1 / 2) + b') / 2),
b'
by A55, REAL_LAT:def 1
;
hence
contradiction
by A59, XXREAL_0:def 9;
:: thesis: verum
end; z "/\" b =
(minreal || A) . z,
b
by A2, LATTICES:def 2
.=
minreal . [z,b]
by A2, FUNCT_1:72
.=
minreal . z,
b
.=
min (1 / 2),
b'
by A55, REAL_LAT:def 1
.=
z
by A57, XXREAL_0:def 9
;
hence
z [= b
by LATTICES:21;
:: thesis: verum end; then A61:
"\/" X,
L = 1
/ 2
by A54, LATTICE3:def 21;
A62:
not 1
/ 2
in {1}
by TARSKI:def 1;
for
y being
Element of
REAL holds
( not
y = 1
/ 2 or not
0 <= y or not
y < 1
/ 2 )
;
then
not 1
/ 2
in { x where x is Element of REAL : ( 0 <= x & x < 1 / 2 ) }
;
hence
not
"\/" X,
L in the
carrier of
L'
by A3, A61, A62, XBOOLE_0:def 3;
:: thesis: verum end;
hence
not L' is \/-inheriting
by Def3; :: thesis: verum