:: LATTICE3 semantic presentation :: Showing IDV graph ... (Click the Palm Trees again to close it)
deffunc H1( LattStr ) -> set = the carrier of $1;
deffunc H2( LattStr ) -> Relation of [:the carrier of $1,the carrier of $1:],the carrier of $1 = the L_join of $1;
deffunc H3( LattStr ) -> Relation of [:the carrier of $1,the carrier of $1:],the carrier of $1 = the L_meet of $1;
definition
let X be
set ;
func BooleLatt X -> strict LattStr means :
Def1:
:: LATTICE3:def 1
( the
carrier of
it = bool X & ( for
Y,
Z being
Subset of
X holds
( the
L_join of
it . Y,
Z = Y \/ Z & the
L_meet of
it . Y,
Z = Y /\ Z ) ) );
existence
ex b1 being strict LattStr st
( the carrier of b1 = bool X & ( for Y, Z being Subset of X holds
( the L_join of b1 . Y,Z = Y \/ Z & the L_meet of b1 . Y,Z = Y /\ Z ) ) )
uniqueness
for b1, b2 being strict LattStr st the carrier of b1 = bool X & ( for Y, Z being Subset of X holds
( the L_join of b1 . Y,Z = Y \/ Z & the L_meet of b1 . Y,Z = Y /\ Z ) ) & the carrier of b2 = bool X & ( for Y, Z being Subset of X holds
( the L_join of b2 . Y,Z = Y \/ Z & the L_meet of b2 . Y,Z = Y /\ Z ) ) holds
b1 = b2
end;
:: deftheorem Def1 defines BooleLatt LATTICE3:def 1 :
theorem Th1: :: LATTICE3:1 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th2: :: LATTICE3:2 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th3: :: LATTICE3:3 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th4: :: LATTICE3:4 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: LATTICE3:5 :: Showing IDV graph ... (Click the Palm Tree again to close it)
:: deftheorem defines LattPOSet LATTICE3:def 2 :
theorem Th6: :: LATTICE3:6 :: Showing IDV graph ... (Click the Palm Tree again to close it)
:: deftheorem defines % LATTICE3:def 3 :
:: deftheorem defines % LATTICE3:def 4 :
theorem Th7: :: LATTICE3:7 :: Showing IDV graph ... (Click the Palm Tree again to close it)
:: deftheorem defines ~ LATTICE3:def 5 :
theorem :: LATTICE3:8 :: Showing IDV graph ... (Click the Palm Tree again to close it)
:: deftheorem defines ~ LATTICE3:def 6 :
:: deftheorem defines ~ LATTICE3:def 7 :
theorem Th9: :: LATTICE3:9 :: Showing IDV graph ... (Click the Palm Tree again to close it)
:: deftheorem defines is_<=_than LATTICE3:def 8 :
:: deftheorem Def9 defines is_<=_than LATTICE3:def 9 :
:: deftheorem Def10 defines with_suprema LATTICE3:def 10 :
:: deftheorem Def11 defines with_infima LATTICE3:def 11 :
theorem :: LATTICE3:10 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: LATTICE3:11 :: Showing IDV graph ... (Click the Palm Tree again to close it)
:: deftheorem Def12 defines complete LATTICE3:def 12 :
theorem Th12: :: LATTICE3:12 :: Showing IDV graph ... (Click the Palm Tree again to close it)
:: deftheorem Def13 defines "\/" LATTICE3:def 13 :
:: deftheorem Def14 defines "/\" LATTICE3:def 14 :
theorem Th13: :: LATTICE3:13 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th14: :: LATTICE3:14 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th15: :: LATTICE3:15 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th16: :: LATTICE3:16 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th17: :: LATTICE3:17 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th18: :: LATTICE3:18 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th19: :: LATTICE3:19 :: Showing IDV graph ... (Click the Palm Tree again to close it)
:: deftheorem Def15 defines latt LATTICE3:def 15 :
theorem :: LATTICE3:20 :: Showing IDV graph ... (Click the Palm Tree again to close it)
:: deftheorem Def16 defines is_less_than LATTICE3:def 16 :
:: deftheorem Def17 defines is_less_than LATTICE3:def 17 :
theorem :: LATTICE3:21 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: LATTICE3:22 :: Showing IDV graph ... (Click the Palm Tree again to close it)
:: deftheorem Def18 defines complete LATTICE3:def 18 :
:: deftheorem Def19 defines \/-distributive LATTICE3:def 19 :
:: deftheorem defines /\-distributive LATTICE3:def 20 :
theorem :: LATTICE3:23 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th24: :: LATTICE3:24 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th25: :: LATTICE3:25 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th26: :: LATTICE3:26 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th27: :: LATTICE3:27 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th28: :: LATTICE3:28 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: LATTICE3:29 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th30: :: LATTICE3:30 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th31: :: LATTICE3:31 :: Showing IDV graph ... (Click the Palm Tree again to close it)
:: deftheorem Def21 defines "\/" LATTICE3:def 21 :
:: deftheorem defines "/\" LATTICE3:def 22 :
theorem Th32: :: LATTICE3:32 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th33: :: LATTICE3:33 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th34: :: LATTICE3:34 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th35: :: LATTICE3:35 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th36: :: LATTICE3:36 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: LATTICE3:37 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th38: :: LATTICE3:38 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: LATTICE3:39 :: Showing IDV graph ... (Click the Palm Tree again to close it)
canceled;
theorem Th40: :: LATTICE3:40 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th41: :: LATTICE3:41 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th42: :: LATTICE3:42 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: LATTICE3:43 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: LATTICE3:44 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: LATTICE3:45 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th46: :: LATTICE3:46 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th47: :: LATTICE3:47 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: LATTICE3:48 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: LATTICE3:49 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: LATTICE3:50 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: LATTICE3:51 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th52: :: LATTICE3:52 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: LATTICE3:53 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: LATTICE3:54 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: LATTICE3:55 :: Showing IDV graph ... (Click the Palm Tree again to close it)
Lm3:
now
let D be non
empty set ;
:: thesis: for f being Function of bool D,D st ( for a being Element of D holds f . {a} = a ) & ( for X being Subset-Family of D holds f . (f .: X) = f . (union X) ) holds
ex L being strict Lattice st
( H1(L) = D & ( for X being Subset of L holds "\/" X = f . X ) )let f be
Function of
bool D,
D;
:: thesis: ( ( for a being Element of D holds f . {a} = a ) & ( for X being Subset-Family of D holds f . (f .: X) = f . (union X) ) implies ex L being strict Lattice st
( H1(L) = D & ( for X being Subset of L holds "\/" X = f . X ) ) )assume that A1:
for
a being
Element of
D holds
f . {a} = a
and A2:
for
X being
Subset-Family of
D holds
f . (f .: X) = f . (union X)
;
:: thesis: ex L being strict Lattice st
( H1(L) = D & ( for X being Subset of L holds "\/" X = f . X ) )defpred S1[
set ,
set ]
means f . {$1,$2} = $2;
consider R being
Relation of
D such that A3:
for
x,
y being
set holds
(
[x,y] in R iff (
x in D &
y in D &
S1[
x,
y] ) )
from RELSET_1:sch 1(
D
D
);
A4:
dom f = bool D
by FUNCT_2:def 1;
A6:
for
x,
y being
Element of
D for
X being
Subset of
D st
y in X holds
f . (X \/ {x}) = f . { (f . {t,x}) where t is Element of D : t in X }
proof
let x,
y be
Element of
D;
:: thesis: for X being Subset of D st y in X holds
f . (X \/ {x}) = f . { (f . {t,x}) where t is Element of D : t in X } let X be
Subset of
D;
:: thesis: ( y in X implies f . (X \/ {x}) = f . { (f . {t,x}) where t is Element of D : t in X } )
assume A7:
y in X
;
:: thesis: f . (X \/ {x}) = f . { (f . {t,x}) where t is Element of D : t in X }
set Y =
{ {t,x} where t is Element of D : t in X } ;
A8:
X \/ {x} = union { {t,x} where t is Element of D : t in X }
proof
thus
X \/ {x} c= union { {t,x} where t is Element of D : t in X }
:: according to XBOOLE_0:def 10 :: thesis: union { {t,x} where t is Element of D : t in X } c= X \/ {x}
proof
let s be
set ;
:: according to TARSKI:def 3 :: thesis: ( not s in X \/ {x} or s in union { {t,x} where t is Element of D : t in X } )
assume
s in X \/ {x}
;
:: thesis: s in union { {t,x} where t is Element of D : t in X }
then
( (
s in X &
X c= D ) or
s in {x} )
by XBOOLE_0:def 2;
then
( (
s in X &
s is
Element of
D ) or
s = x )
by TARSKI:def 1;
then
( (
s in {s,x} &
{s,x} in { {t,x} where t is Element of D : t in X } ) or (
s in {y,x} &
{y,x} in { {t,x} where t is Element of D : t in X } ) )
by A7, TARSKI:def 2;
hence
s in union { {t,x} where t is Element of D : t in X }
by TARSKI:def 4;
:: thesis: verum
end;
let s be
set ;
:: according to TARSKI:def 3 :: thesis: ( not s in union { {t,x} where t is Element of D : t in X } or s in X \/ {x} )
assume
s in union { {t,x} where t is Element of D : t in X }
;
:: thesis: s in X \/ {x}
then consider Z being
set such that A9:
(
s in Z &
Z in { {t,x} where t is Element of D : t in X } )
by TARSKI:def 4;
consider t being
Element of
D such that A10:
(
Z = {t,x} &
t in X )
by A9;
(
s = t or (
s = x &
x in {x} ) )
by A9, A10, TARSKI:def 1, TARSKI:def 2;
hence
s in X \/ {x}
by A10, XBOOLE_0:def 2;
:: thesis: verum
end;
{ {t,x} where t is Element of D : t in X } c= bool D
then reconsider Y =
{ {t,x} where t is Element of D : t in X } as
Subset-Family of
D ;
defpred S2[
set ]
means $1
in X;
deffunc H4(
Element of
D)
-> Element of
bool D =
{$1,x};
A11:
bool D c= dom f
by FUNCT_2:def 1;
f .: { H4(t) where t is Element of D : S2[t] } = { (f . H4(t)) where t is Element of D : S2[t] }
from LATTICE3:sch 2(
D
bool D
f
, A11);
then
f . (union Y) = f . { (f . {t,x}) where t is Element of D : t in X }
by A2;
hence
f . (X \/ {x}) = f . { (f . {t,x}) where t is Element of D : t in X }
by A8;
:: thesis: verum
end;
A12:
R is_reflexive_in D
A14:
R is_antisymmetric_in D
A15:
R is_transitive_in D
proof
let x,
y,
z be
set ;
:: according to RELAT_2:def 8 :: thesis: ( not x in D or not y in D or not z in D or not [x,y] in R or not [y,z] in R or [x,z] in R )
assume A16:
(
x in D &
y in D &
z in D &
[x,y] in R &
[y,z] in R )
;
:: thesis: [x,z] in R
then reconsider a =
x,
b =
y,
c =
z as
Element of
D ;
A17:
(
f . {x,y} = y &
f . {y,z} = z )
by A3, A16;
then f . {a,c} =
f . {(f . {a}),(f . {b,c})}
by A1
.=
f . ({a} \/ {b,c})
by A5
.=
f . {a,b,c}
by ENUMSET1:42
.=
f . ({a,b} \/ {c})
by ENUMSET1:43
.=
f . {(f . {a,b}),(f . {c})}
by A5
.=
c
by A1, A17
;
hence
[x,z] in R
by A3;
:: thesis: verum
end;
A18:
dom R = D
by A12, ORDERS_1:98;
field R = D
by A12, ORDERS_1:98;
then reconsider R =
R as
Order of
D by A12, A14, A15, A18, PARTFUN1:def 4, RELAT_2:def 9, RELAT_2:def 12, RELAT_2:def 16;
set A =
RelStr(#
D,
R #);
RelStr(#
D,
R #) is
complete
proof
let X be
set ;
:: according to LATTICE3:def 12 :: thesis: ex a being Element of RelStr(# D,R #) st
( X is_<=_than a & ( for b being Element of RelStr(# D,R #) st X is_<=_than b holds
a <= b ) )
reconsider Y =
X /\ D as
Subset of
D by XBOOLE_1:17;
reconsider a =
f . Y as
Element of
RelStr(#
D,
R #) ;
take
a
;
:: thesis: ( X is_<=_than a & ( for b being Element of RelStr(# D,R #) st X is_<=_than b holds
a <= b ) )
thus
X is_<=_than a
:: thesis: for b being Element of RelStr(# D,R #) st X is_<=_than b holds
a <= b
let b be
Element of
RelStr(#
D,
R #);
:: thesis: ( X is_<=_than b implies a <= b )
assume A19:
X is_<=_than b
;
:: thesis: a <= b
A20:
f . {a,b} =
f . {a,(f . {b})}
by A1
.=
f . (Y \/ {b})
by A5
;
hence
[a,b] in the
InternalRel of
RelStr(#
D,
R #)
by A3;
:: according to ORDERS_2:def 9 :: thesis: verum
end;
then reconsider A =
RelStr(#
D,
R #) as non
empty strict complete Poset ;
take L =
latt A;
:: thesis: ( H1(L) = D & ( for X being Subset of L holds "\/" X = f . X ) )A25:
(
A is
with_suprema &
A is
with_infima )
by Th12;
then A26:
(
A = LattPOSet L &
LattPOSet L = RelStr(#
H1(
L),
(LattRel L) #) )
by Def15;
hence
H1(
L)
= D
;
:: thesis: for X being Subset of L holds "\/" X = f . Xlet X be
Subset of
L;
:: thesis: "\/" X = f . Xreconsider Y =
X as
Subset of
D by A26;
reconsider a =
f . Y as
Element of
(LattPOSet L) by A25, Def15;
set p =
% a;
X is_<=_than a
then A28:
X is_less_than % a
by Th31;
hence "\/" X =
% a
by A28, Def21
.=
f . X
;
:: thesis: verum
end;
theorem :: LATTICE3:56 :: Showing IDV graph ... (Click the Palm Tree again to close it)