set R = Real_Lattice ;
A1:
0 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;
then reconsider Ma = maxreal || A, Mi = minreal || A as BinOp of A ;
reconsider L = RealSubLatt 0 ,1 as complete Lattice by Th21;
set B = {0 ,1} \/ ].(1 / 2),1.[;
A3:
{0 ,1} \/ ].(1 / 2),1.[ = {0 } \/ { x where x is Element of REAL : ( 1 / 2 < x & x <= 1 ) }
reconsider B = {0 ,1} \/ ].(1 / 2),1.[ 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 {0 } or x1 in { x where x is Element of REAL : ( 1 / 2 < x & x <= 1 ) } )
by A3, A16, XBOOLE_0:def 3;
suppose
x1 in {0 }
;
:: thesis: ma . x' in Bthen A17:
x1 = 0
by TARSKI:def 1;
now per cases
( x2 in {0 } or x2 in { x where x is Element of REAL : ( 1 / 2 < x & x <= 1 ) } )
by A3, A16, XBOOLE_0:def 3;
suppose
x2 in {0 }
;
:: thesis: ma . x' in Bthen A18:
x2 = 0
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 0 ,
0
by A17, A18, REAL_LAT:def 2
.=
0
;
then
ma . x' in {0 }
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 : ( 1 / 2 < x & x <= 1 ) }
;
:: thesis: ma . x' in Bthen consider y2 being
Element of
REAL such that A19:
(
x2 = y2 & 1
/ 2
< y2 &
y2 <= 1 )
;
ma . x' =
Ma . [x1,x2]
by A14, A15, FUNCT_1:72
.=
maxreal . x1,
x2
by A12, A13, A14, A15, FUNCT_1:72
.=
max 0 ,
y2
by A17, A19, REAL_LAT:def 2
;
then
(
ma . x' = 0 or
ma . x' = y2 )
by XXREAL_0:16;
then
(
ma . x' in {0 } or
ma . x' in { x where x is Element of REAL : ( 1 / 2 < x & x <= 1 ) } )
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 : ( 1 / 2 < x & x <= 1 ) }
;
:: thesis: ma . x' in Bthen consider y1 being
Element of
REAL such that A20:
(
x1 = y1 & 1
/ 2
< y1 &
y1 <= 1 )
;
now per cases
( x2 in {0 } or x2 in { x where x is Element of REAL : ( 1 / 2 < x & x <= 1 ) } )
by A3, A16, XBOOLE_0:def 3;
suppose
x2 in {0 }
;
:: thesis: ma . x' in Bthen A21:
x2 = 0
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,
0
by A20, A21, REAL_LAT:def 2
;
then
(
ma . x' = y1 or
ma . x' = 0 )
by XXREAL_0:16;
then
(
ma . x' in { x where x is Element of REAL : ( 1 / 2 < x & x <= 1 ) } or
ma . x' in {0 } )
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 : ( 1 / 2 < x & x <= 1 ) }
;
:: thesis: ma . x' in Bthen consider y2 being
Element of
REAL such that A22:
(
x2 = y2 & 1
/ 2
< y2 &
y2 <= 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,
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 : ( 1 / 2 < x & x <= 1 ) }
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 {0 } or x1 in { x where x is Element of REAL : ( 1 / 2 < x & x <= 1 ) } )
by A3, A25, XBOOLE_0:def 3;
suppose
x1 in {0 }
;
:: thesis: mi . x' in Bthen A26:
x1 = 0
by TARSKI:def 1;
now per cases
( x2 in {0 } or x2 in { x where x is Element of REAL : ( 1 / 2 < x & x <= 1 ) } )
by A3, A25, XBOOLE_0:def 3;
suppose
x2 in {0 }
;
:: thesis: mi . x' in Bthen A27:
x2 = 0
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 0 ,
0
by A26, A27, REAL_LAT:def 1
.=
0
;
then
mi . x' in {0 }
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 : ( 1 / 2 < x & x <= 1 ) }
;
:: thesis: mi . x' in Bthen consider y2 being
Element of
REAL such that A28:
(
x2 = y2 & 1
/ 2
< y2 &
y2 <= 1 )
;
mi . x' =
Mi . [x1,x2]
by A23, A24, FUNCT_1:72
.=
minreal . x1,
x2
by A12, A13, A23, A24, FUNCT_1:72
.=
min 0 ,
y2
by A26, A28, REAL_LAT:def 1
;
then
(
mi . x' = 0 or
mi . x' = y2 )
by XXREAL_0:15;
then
(
mi . x' in {0 } or
mi . x' in { x where x is Element of REAL : ( 1 / 2 < x & x <= 1 ) } )
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 : ( 1 / 2 < x & x <= 1 ) }
;
:: thesis: mi . x' in Bthen consider y1 being
Element of
REAL such that A29:
(
x1 = y1 & 1
/ 2
< y1 &
y1 <= 1 )
;
now per cases
( x2 in {0 } or x2 in { x where x is Element of REAL : ( 1 / 2 < x & x <= 1 ) } )
by A3, A25, XBOOLE_0:def 3;
suppose
x2 in {0 }
;
:: thesis: mi . x' in Bthen A30:
x2 = 0
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,
0
by A29, A30, REAL_LAT:def 1
;
then
(
mi . x' = y1 or
mi . x' = 0 )
by XXREAL_0:15;
then
(
mi . x' in { x where x is Element of REAL : ( 1 / 2 < x & x <= 1 ) } or
mi . x' in {0 } )
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 : ( 1 / 2 < x & x <= 1 ) }
;
:: thesis: mi . x' in Bthen consider y2 being
Element of
REAL such that A31:
(
x2 = y2 & 1
/ 2
< y2 &
y2 <= 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,
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 : ( 1 / 2 < x & x <= 1 ) }
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 is_less_than "\/" X,
L
by LATTICE3:def 21;
assume A45:
not
"\/" X,
L in the
carrier of
L'
;
:: thesis: contradiction
then
( not
"\/" X,
L in {0 } & not
"\/" X,
L in { x where x is Element of REAL : ( 1 / 2 < x & x <= 1 ) } )
by A3, XBOOLE_0:def 3;
then A46:
y <= 1
/ 2
by A43;
now let z' be
set ;
:: thesis: ( z' in X implies z' in {0 } )assume A47:
z' in X
;
:: thesis: z' in {0 }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:
z [= "\/" X,
L
by A44, A47, LATTICE3:def 17;
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
.=
z1
by A48, LATTICES:21
;
then
z1 <= y
by XXREAL_0:def 9;
then
y + z1 <= (1 / 2) + y
by A46, XREAL_1:9;
then
for
v being
Element of
REAL holds
( not
z1 = v or not 1
/ 2
< v or not
v <= 1 )
by XREAL_1:8;
then
not
z1 in { x where x is Element of REAL : ( 1 / 2 < x & x <= 1 ) }
;
hence
z' in {0 }
by A3, XBOOLE_0:def 3;
:: thesis: verum end;
then A49:
X c= {0 }
by TARSKI:def 3;
0 in { r where r is Real : ( 0 <= r & r <= 1 ) }
;
then reconsider w =
0 as
Element of
L by A2, RCOMP_1:def 1;
hence
contradiction
;
:: thesis: verum
end; end;
hence
L' is \/-inheriting
by Def3; :: thesis: not L' is /\-inheriting
now set X =
{ x where x is Element of REAL : ( 1 / 2 < x & x <= 1 ) } ;
for
x1 being
set st
x1 in { x where x is Element of REAL : ( 1 / 2 < x & x <= 1 ) } holds
x1 in B
by A3, XBOOLE_0:def 3;
then reconsider X =
{ x where x is Element of REAL : ( 1 / 2 < x & x <= 1 ) } 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:
z is_less_than X
by LATTICE3:def 16;
now let b be
Element of
L;
:: thesis: ( b is_less_than X implies b [= z )
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:
b is_less_than X
;
:: thesis: b [= zA57:
b' <= 1
/ 2
proof
assume A58:
1
/ 2
< b'
;
:: thesis: contradiction
then
(1 / 2) + b' < b' + b'
by XREAL_1:8;
then A59:
((1 / 2) + b') / 2
< (b' + b') / 2
by XREAL_1:76;
then
(((1 / 2) + b') / 2) + b' <= b' + 1
by A55, XREAL_1:9;
then A60:
((1 / 2) + b') / 2
<= 1
by XREAL_1:8;
0 + 0 <= (1 / 2) + b'
by A55;
then
0 <= ((1 / 2) + b') / 2
;
then
((1 / 2) + b') / 2
in { r where r is Real : ( 0 <= r & r <= 1 ) }
by A60;
then reconsider c =
((1 / 2) + b') / 2 as
Element of
L by A2, RCOMP_1:def 1;
(1 / 2) + (1 / 2) < b' + (1 / 2)
by A58, XREAL_1:8;
then
1
/ 2
< ((1 / 2) + b') / 2
by XREAL_1:76;
then A61:
((1 / 2) + b') / 2
in X
by A60;
b' in X
by A55, A58;
then
b = "/\" X,
L
by A55, A56, LATTICE3:42;
then
b [= c
by A61, LATTICE3:38;
then b' =
b "/\" c
by A55, LATTICES:21
.=
(minreal || A) . b,
c
by A2, LATTICES:def 2
.=
minreal . [b,c]
by A2, FUNCT_1:72
.=
minreal . b,
c
.=
min b',
(((1 / 2) + b') / 2)
by A55, REAL_LAT:def 1
;
hence
contradiction
by A59, XXREAL_0:def 9;
:: thesis: verum
end; b "/\" z =
(minreal || A) . b,
z
by A2, LATTICES:def 2
.=
minreal . [b,z]
by A2, FUNCT_1:72
.=
minreal . b,
z
.=
min b',
(1 / 2)
by A55, REAL_LAT:def 1
.=
b
by A55, A57, XXREAL_0:def 9
;
hence
b [= z
by LATTICES:21;
:: thesis: verum end; then A62:
"/\" X,
L = 1
/ 2
by A54, LATTICE3:34;
A63:
not 1
/ 2
in {0 }
by TARSKI:def 1;
for
y being
Element of
REAL holds
( not
y = 1
/ 2 or not 1
/ 2
< y or not
y <= 1 )
;
then
not 1
/ 2
in { x where x is Element of REAL : ( 1 / 2 < x & x <= 1 ) }
;
hence
not
"/\" X,
L in the
carrier of
L'
by A3, A62, A63, XBOOLE_0:def 3;
:: thesis: verum end;
hence
not L' is /\-inheriting
by Def2; :: thesis: verum