set B = {0 ,1} \/ ].(1 / 2),1.[;
set L = RealSubLatt 0 ,1;
set R = Real_Lattice ;
A1:
{0 ,1} \/ ].(1 / 2),1.[ c= {0 } \/ { x where x is Element of REAL : ( 1 / 2 < x & x <= 1 ) }
{0 } \/ { x where x is Element of REAL : ( 1 / 2 < x & x <= 1 ) } c= {0 ,1} \/ ].(1 / 2),1.[
then A9:
{0 ,1} \/ ].(1 / 2),1.[ = {0 } \/ { x where x is Element of REAL : ( 1 / 2 < x & x <= 1 ) }
by A1, XBOOLE_0:def 10;
A10:
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;
A11:
the L_meet of (RealSubLatt 0 ,1) = minreal || [.0 ,1.]
by Def4;
reconsider B = {0 ,1} \/ ].(1 / 2),1.[ as non empty set ;
A12:
the L_join of (RealSubLatt 0 ,1) = maxreal || [.0 ,1.]
by Def4;
A13:
A = the carrier of (RealSubLatt 0 ,1)
by Def4;
then reconsider Ma = maxreal || A, Mi = minreal || A as BinOp of A by Def4;
A14:
now let x1 be
set ;
( x1 in B implies x1 in A )assume A15:
x1 in B
;
x1 in Ahence
x1 in A
;
verum end;
then A16:
B c= A
by TARSKI:def 3;
then A17:
[: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;
A19:
dom mi = [:B,B:]
by FUNCT_2:def 1;
A20:
now let x' be
set ;
( x' in dom mi implies mi . x' in B )assume A21:
x' in dom mi
;
mi . x' in Bthen consider x1,
x2 being
set such that A22:
x' = [x1,x2]
by RELAT_1:def 1;
A23:
x2 in B
by A21, A22, ZFMISC_1:106;
A24:
x1 in B
by A21, A22, 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 A1, A24, XBOOLE_0:def 3;
suppose
x1 in {0 }
;
mi . x' in Bthen A25:
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 A1, A23, XBOOLE_0:def 3;
suppose
x2 in {0 }
;
mi . x' in Bthen A26:
x2 = 0
by TARSKI:def 1;
mi . x' =
Mi . [x1,x2]
by A21, A22, FUNCT_1:72
.=
minreal . x1,
x2
by A17, A19, A21, A22, FUNCT_1:72
.=
min 0 ,
0
by A25, A26, REAL_LAT:def 1
.=
0
;
then
mi . x' in {0 }
by TARSKI:def 1;
hence
mi . x' in B
by A9, XBOOLE_0:def 3;
verum end; suppose
x2 in { x where x is Element of REAL : ( 1 / 2 < x & x <= 1 ) }
;
mi . x' in Bthen consider y2 being
Element of
REAL such that A27:
x2 = y2
and A28:
( 1
/ 2
< y2 &
y2 <= 1 )
;
mi . x' =
Mi . [x1,x2]
by A21, A22, FUNCT_1:72
.=
minreal . x1,
x2
by A17, A19, A21, A22, FUNCT_1:72
.=
min 0 ,
y2
by A25, A27, 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 A9, XBOOLE_0:def 3;
verum end; end; end; hence
mi . x' in B
;
verum end; suppose
x1 in { x where x is Element of REAL : ( 1 / 2 < x & x <= 1 ) }
;
mi . x' in Bthen consider y1 being
Element of
REAL such that A29:
x1 = y1
and A30:
( 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 A1, A23, XBOOLE_0:def 3;
suppose
x2 in {0 }
;
mi . x' in Bthen A31:
x2 = 0
by TARSKI:def 1;
mi . x' =
Mi . [x1,x2]
by A21, A22, FUNCT_1:72
.=
minreal . x1,
x2
by A17, A19, A21, A22, FUNCT_1:72
.=
min y1,
0
by A29, A31, 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 A30, TARSKI:def 1;
hence
mi . x' in B
by A9, XBOOLE_0:def 3;
verum end; suppose
x2 in { x where x is Element of REAL : ( 1 / 2 < x & x <= 1 ) }
;
mi . x' in Bthen consider y2 being
Element of
REAL such that A32:
x2 = y2
and A33:
( 1
/ 2
< y2 &
y2 <= 1 )
;
mi . x' =
Mi . [x1,x2]
by A21, A22, FUNCT_1:72
.=
minreal . x1,
x2
by A17, A19, A21, A22, FUNCT_1:72
.=
min y1,
y2
by A29, A32, 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 A30, A33;
hence
mi . x' in B
by A9, XBOOLE_0:def 3;
verum end; end; end; hence
mi . x' in B
;
verum end; end; end; hence
mi . x' in B
;
verum end;
A34:
dom ma = [:B,B:]
by FUNCT_2:def 1;
A35:
now let x' be
set ;
( x' in dom ma implies ma . x' in B )assume A36:
x' in dom ma
;
ma . x' in Bthen consider x1,
x2 being
set such that A37:
x' = [x1,x2]
by RELAT_1:def 1;
A38:
x2 in B
by A36, A37, ZFMISC_1:106;
A39:
x1 in B
by A36, A37, 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 A1, A39, XBOOLE_0:def 3;
suppose
x1 in {0 }
;
ma . x' in Bthen A40:
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 A1, A38, XBOOLE_0:def 3;
suppose
x2 in {0 }
;
ma . x' in Bthen A41:
x2 = 0
by TARSKI:def 1;
ma . x' =
Ma . [x1,x2]
by A36, A37, FUNCT_1:72
.=
maxreal . x1,
x2
by A17, A34, A36, A37, FUNCT_1:72
.=
max 0 ,
0
by A40, A41, REAL_LAT:def 2
.=
0
;
then
ma . x' in {0 }
by TARSKI:def 1;
hence
ma . x' in B
by A9, XBOOLE_0:def 3;
verum end; suppose
x2 in { x where x is Element of REAL : ( 1 / 2 < x & x <= 1 ) }
;
ma . x' in Bthen consider y2 being
Element of
REAL such that A42:
x2 = y2
and A43:
( 1
/ 2
< y2 &
y2 <= 1 )
;
ma . x' =
Ma . [x1,x2]
by A36, A37, FUNCT_1:72
.=
maxreal . x1,
x2
by A17, A34, A36, A37, FUNCT_1:72
.=
max 0 ,
y2
by A40, A42, 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 A43, TARSKI:def 1;
hence
ma . x' in B
by A9, XBOOLE_0:def 3;
verum end; end; end; hence
ma . x' in B
;
verum end; suppose
x1 in { x where x is Element of REAL : ( 1 / 2 < x & x <= 1 ) }
;
ma . x' in Bthen consider y1 being
Element of
REAL such that A44:
x1 = y1
and A45:
( 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 A1, A38, XBOOLE_0:def 3;
suppose
x2 in {0 }
;
ma . x' in Bthen A46:
x2 = 0
by TARSKI:def 1;
ma . x' =
Ma . [x1,x2]
by A36, A37, FUNCT_1:72
.=
maxreal . x1,
x2
by A17, A34, A36, A37, FUNCT_1:72
.=
max y1,
0
by A44, A46, 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 A45, TARSKI:def 1;
hence
ma . x' in B
by A9, XBOOLE_0:def 3;
verum end; suppose
x2 in { x where x is Element of REAL : ( 1 / 2 < x & x <= 1 ) }
;
ma . x' in Bthen consider y2 being
Element of
REAL such that A47:
x2 = y2
and A48:
( 1
/ 2
< y2 &
y2 <= 1 )
;
ma . x' =
Ma . [x1,x2]
by A36, A37, FUNCT_1:72
.=
maxreal . x1,
x2
by A17, A34, A36, A37, FUNCT_1:72
.=
max y1,
y2
by A44, A47, 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 A45, A48;
hence
ma . x' in B
by A9, XBOOLE_0:def 3;
verum end; end; end; hence
ma . x' in B
;
verum end; end; end; hence
ma . x' in B
;
verum end;
reconsider mi = mi as BinOp of B by A19, A20, FUNCT_2:5;
reconsider ma = ma as BinOp of B by A34, A35, FUNCT_2:5;
reconsider L' = LattStr(# B,ma,mi #) as non empty LattStr ;
A49:
now let a,
b be
Element of ;
( a "\/" b = maxreal . a,b & a "/\" b = minreal . a,b )A50:
[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 A17, A50, FUNCT_1:72
;
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 A17, A50, FUNCT_1:72
;
verum end;
reconsider L = RealSubLatt 0 ,1 as complete Lattice by Th21;
A56:
now let p,
q,
r be
Element of ;
p "/\" (q "/\" r) = (p "/\" q) "/\" rreconsider p' =
p,
q' =
q,
r' =
r as
Element of
by A51;
reconsider p' =
p',
q' =
q',
r' =
r' as
Element of
by A13, A18;
thus p "/\" (q "/\" r) =
minreal . p,
(q "/\" r)
by A49
.=
minreal . p,
(minreal . q,r)
by A49
.=
minreal . (minreal . p',q'),
r'
by REAL_LAT:11
.=
minreal . (p "/\" q),
r
by A49
.=
(p "/\" q) "/\" r
by A49
;
verum end;
now let p,
q,
r be
Element of ;
p "\/" (q "\/" r) = (p "\/" q) "\/" rreconsider p' =
p,
q' =
q,
r' =
r as
Element of
by A51;
reconsider p' =
p',
q' =
q',
r' =
r' as
Element of
by A13, A18;
thus p "\/" (q "\/" r) =
maxreal . p,
(q "\/" r)
by A49
.=
maxreal . p,
(maxreal . q,r)
by A49
.=
maxreal . (maxreal . p',q'),
r'
by REAL_LAT:10
.=
maxreal . (p "\/" q),
r
by A49
.=
(p "\/" q) "\/" r
by A49
;
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 A52, A55, A54, A56, A53, 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 A13, A12, A11, A16, NAT_LAT:def 16;
take
L'
; ( L' is \/-inheriting & not L' is /\-inheriting )
now let X be
Subset of ;
"\/" X,L in the carrier of L'thus
"\/" X,
L in the
carrier of
L'
verumproof
0 in { r where r is Real : ( 0 <= r & r <= 1 ) }
;
then reconsider w =
0 as
Element of
by A13, RCOMP_1:def 1;
A57:
X is_less_than "\/" X,
L
by LATTICE3:def 21;
"\/" X,
L in [.0 ,1.]
by A13;
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 A58:
y = "\/" X,
L
and
0 <= y
and A59:
y <= 1
;
assume A60:
not
"\/" X,
L in the
carrier of
L'
;
contradiction
then
not
"\/" X,
L in { x where x is Element of REAL : ( 1 / 2 < x & x <= 1 ) }
by A9, XBOOLE_0:def 3;
then A61:
y <= 1
/ 2
by A58, A59;
now let z' be
set ;
( z' in X implies z' in {0 } )assume A62:
z' in X
;
z' in {0 }then reconsider z =
z' as
Element of ;
reconsider z =
z as
Element of
by A13, A14;
A63:
z [= "\/" X,
L
by A57, A62, LATTICE3:def 17;
reconsider z1 =
z as
Element of
REAL by TARSKI:def 3;
min z1,
y =
minreal . z,
("\/" X,L)
by A58, REAL_LAT:def 1
.=
(minreal || A) . [z,("\/" X,L)]
by A13, FUNCT_1:72
.=
(minreal || A) . z,
("\/" X,L)
.=
z "/\" ("\/" X,L)
by A11, LATTICES:def 2
.=
z1
by A63, LATTICES:21
;
then
z1 <= y
by XXREAL_0:def 9;
then
y + z1 <= (1 / 2) + y
by A61, 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 A9, XBOOLE_0:def 3;
verum end;
then A64:
X c= {0 }
by TARSKI:def 3;
hence
contradiction
;
verum
end; end;
hence
L' is \/-inheriting
by Def3; not L' is /\-inheriting
now
1
/ 2
in { x where x is Element of REAL : ( 0 <= x & x <= 1 ) }
;
then reconsider z = 1
/ 2 as
Element of
by A13, RCOMP_1:def 1;
set X =
{ x where x is Element of REAL : ( 1 / 2 < x & x <= 1 ) } ;
for
y being
Element of
REAL holds
( not
y = 1
/ 2 or not 1
/ 2
< y or not
y <= 1 )
;
then A69:
( not 1
/ 2
in {0 } & not 1
/ 2
in { x where x is Element of REAL : ( 1 / 2 < x & x <= 1 ) } )
by TARSKI:def 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 A9, XBOOLE_0:def 3;
then reconsider X =
{ x where x is Element of REAL : ( 1 / 2 < x & x <= 1 ) } as
Subset of
by TARSKI:def 3;
take X =
X;
not "/\" X,L in the carrier of L'A70:
now let b be
Element of ;
( b is_less_than X implies b [= z )
b in A
by A13;
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 A71:
b = b'
and A72:
0 <= b'
and A73:
b' <= 1
;
assume A74:
b is_less_than X
;
b [= zA75:
b' <= 1
/ 2
proof
assume A76:
1
/ 2
< b'
;
contradiction
then
b' in X
by A73;
then A77:
b = "/\" X,
L
by A71, A74, LATTICE3:42;
(1 / 2) + b' < b' + b'
by A76, XREAL_1:8;
then A78:
((1 / 2) + b') / 2
< (b' + b') / 2
by XREAL_1:76;
then
(((1 / 2) + b') / 2) + b' <= b' + 1
by A73, XREAL_1:9;
then A79:
((1 / 2) + b') / 2
<= 1
by XREAL_1:8;
then
((1 / 2) + b') / 2
in { r where r is Real : ( 0 <= r & r <= 1 ) }
by A72;
then reconsider c =
((1 / 2) + b') / 2 as
Element of
by A13, RCOMP_1:def 1;
(1 / 2) + (1 / 2) < b' + (1 / 2)
by A76, XREAL_1:8;
then
1
/ 2
< ((1 / 2) + b') / 2
by XREAL_1:76;
then
((1 / 2) + b') / 2
in X
by A79;
then
b [= c
by A77, LATTICE3:38;
then b' =
b "/\" c
by A71, LATTICES:21
.=
(minreal || A) . b,
c
by A11, LATTICES:def 2
.=
minreal . [b,c]
by A13, FUNCT_1:72
.=
minreal . b,
c
.=
min b',
(((1 / 2) + b') / 2)
by A71, REAL_LAT:def 1
;
hence
contradiction
by A78, XXREAL_0:def 9;
verum
end; b "/\" z =
(minreal || A) . b,
z
by A11, LATTICES:def 2
.=
minreal . [b,z]
by A13, FUNCT_1:72
.=
minreal . b,
z
.=
min b',
(1 / 2)
by A71, REAL_LAT:def 1
.=
b
by A71, A75, XXREAL_0:def 9
;
hence
b [= z
by LATTICES:21;
verum end; then
z is_less_than X
by LATTICE3:def 16;
then
"/\" X,
L = 1
/ 2
by A70, LATTICE3:34;
hence
not
"/\" X,
L in the
carrier of
L'
by A1, A69, XBOOLE_0:def 3;
verum end;
hence
not L' is /\-inheriting
by Def2; verum