:: WAYBEL31 semantic presentation

scheme :: WAYBEL31:sch 1
s1{ F1() -> RelStr , P1[ set ] } :
for b1 being Subset-Family of F1() st b1 = { b2 where B is Subset of F1() : P1[b2] } holds
uparrow (union b1) = union { (uparrow b2) where B is Subset of F1() : P1[b2] }
proof end;

scheme :: WAYBEL31:sch 2
s2{ F1() -> RelStr , P1[ set ] } :
for b1 being Subset-Family of F1() st b1 = { b2 where B is Subset of F1() : P1[b2] } holds
downarrow (union b1) = union { (downarrow b2) where B is Subset of F1() : P1[b2] }
proof end;

registration
let c1 be lower-bounded continuous sup-Semilattice;
let c2 be with_bottom CLbasis of c1;
cluster InclPoset (Ids (subrelstr a2)) -> algebraic ;
coherence
InclPoset (Ids (subrelstr c2)) is algebraic
by WAYBEL13:10;
end;

definition
let c1 be continuous sup-Semilattice;
func CLweight c1 -> Cardinal equals :: WAYBEL31:def 1
meet { (Card b1) where B is with_bottom CLbasis of a1 : verum } ;
coherence
meet { (Card b1) where B is with_bottom CLbasis of c1 : verum } is Cardinal
proof end;
end;

:: deftheorem Def1 defines CLweight WAYBEL31:def 1 :
for b1 being continuous sup-Semilattice holds CLweight b1 = meet { (Card b2) where B is with_bottom CLbasis of b1 : verum } ;

theorem Th1: :: WAYBEL31:1
for b1 being TopStruct
for b2 being Basis of b1 holds weight b1 c= Card b2
proof end;

theorem Th2: :: WAYBEL31:2
for b1 being TopStruct ex b2 being Basis of b1 st Card b2 = weight b1
proof end;

theorem Th3: :: WAYBEL31:3
for b1 being continuous sup-Semilattice
for b2 being with_bottom CLbasis of b1 holds CLweight b1 c= Card b2
proof end;

theorem Th4: :: WAYBEL31:4
for b1 being continuous sup-Semilattice ex b2 being with_bottom CLbasis of b1 st Card b2 = CLweight b1
proof end;

theorem Th5: :: WAYBEL31:5
for b1 being lower-bounded algebraic LATTICE holds CLweight b1 = Card the carrier of (CompactSublatt b1)
proof end;

theorem Th6: :: WAYBEL31:6
for b1 being non empty TopSpace
for b2 being continuous sup-Semilattice st InclPoset the topology of b1 = b2 holds
for b3 being with_bottom CLbasis of b2 holds b3 is Basis of b1
proof end;

theorem Th7: :: WAYBEL31:7
for b1 being non empty TopSpace
for b2 being lower-bounded continuous LATTICE st InclPoset the topology of b1 = b2 holds
for b3 being Basis of b1
for b4 being Subset of b2 st b3 = b4 holds
finsups b4 is with_bottom CLbasis of b2
proof end;

theorem Th8: :: WAYBEL31:8
for b1 being non empty T_0 TopSpace
for b2 being lower-bounded continuous sup-Semilattice st InclPoset the topology of b1 = b2 & not b1 is finite holds
weight b1 = CLweight b2
proof end;

theorem Th9: :: WAYBEL31:9
for b1 being non empty T_0 TopSpace
for b2 being continuous sup-Semilattice st InclPoset the topology of b1 = b2 holds
Card the carrier of b1 c= Card the carrier of b2
proof end;

theorem Th10: :: WAYBEL31:10
for b1 being non empty T_0 TopSpace st b1 is finite holds
weight b1 = Card the carrier of b1
proof end;

theorem Th11: :: WAYBEL31:11
for b1 being TopStruct
for b2 being lower-bounded continuous LATTICE st InclPoset the topology of b1 = b2 & b1 is finite holds
CLweight b2 = Card the carrier of b2
proof end;

theorem Th12: :: WAYBEL31:12
for b1 being lower-bounded continuous sup-Semilattice
for b2 being Scott TopAugmentation of b1
for b3 being correct Lawson TopAugmentation of b1
for b4 being Basis of b3 holds { (uparrow b5) where B is Subset of b3 : b5 in b4 } is Basis of b2
proof end;

Lemma13: for b1 being lower-bounded continuous sup-Semilattice
for b2 being Scott TopAugmentation of b1
for b3 being correct Lawson TopAugmentation of b1 holds weight b2 c= weight b3
proof end;

theorem Th13: :: WAYBEL31:13
canceled;

theorem Th14: :: WAYBEL31:14
for b1 being non empty up-complete Poset st b1 is finite holds
for b2 being Element of b1 holds b2 in compactbelow b2
proof end;

theorem Th15: :: WAYBEL31:15
for b1 being finite LATTICE holds b1 is arithmetic
proof end;

registration
cluster finite -> arithmetic RelStr ;
coherence
for b1 being LATTICE st b1 is finite holds
b1 is arithmetic
by Th15;
end;

registration
cluster non empty finite strict reflexive transitive antisymmetric lower-bounded arithmetic with_suprema with_infima trivial RelStr ;
existence
ex b1 being RelStr st
( b1 is trivial & b1 is reflexive & b1 is transitive & b1 is antisymmetric & b1 is with_suprema & b1 is with_infima & b1 is lower-bounded & not b1 is empty & b1 is finite & b1 is strict )
proof end;
end;

theorem Th16: :: WAYBEL31:16
for b1 being finite LATTICE
for b2 being with_bottom CLbasis of b1 holds
( Card b2 = CLweight b1 iff b2 = the carrier of (CompactSublatt b1) )
proof end;

definition
let c1 be non empty reflexive RelStr ;
let c2 be Subset of c1;
let c3 be Element of c1;
func Way_Up c3,c2 -> Subset of a1 equals :: WAYBEL31:def 2
(wayabove a3) \ (uparrow a2);
coherence
(wayabove c3) \ (uparrow c2) is Subset of c1
;
end;

:: deftheorem Def2 defines Way_Up WAYBEL31:def 2 :
for b1 being non empty reflexive RelStr
for b2 being Subset of b1
for b3 being Element of b1 holds Way_Up b3,b2 = (wayabove b3) \ (uparrow b2);

theorem Th17: :: WAYBEL31:17
for b1 being non empty reflexive RelStr
for b2 being Element of b1 holds Way_Up b2,({} b1) = wayabove b2 ;

theorem Th18: :: WAYBEL31:18
for b1 being non empty Poset
for b2 being Subset of b1
for b3 being Element of b1 st b3 in uparrow b2 holds
Way_Up b3,b2 = {}
proof end;

theorem Th19: :: WAYBEL31:19
for b1 being non empty finite reflexive transitive RelStr holds Ids b1 is finite
proof end;

theorem Th20: :: WAYBEL31:20
for b1 being lower-bounded continuous sup-Semilattice st not b1 is finite holds
for b2 being with_bottom CLbasis of b1 holds not b2 is finite
proof end;

theorem Th21: :: WAYBEL31:21
canceled;

theorem Th22: :: WAYBEL31:22
canceled;

theorem Th23: :: WAYBEL31:23
for b1 being non empty complete Poset
for b2 being Element of b1 st b2 is compact holds
b2 = inf (wayabove b2)
proof end;

theorem Th24: :: WAYBEL31:24
for b1 being lower-bounded continuous sup-Semilattice st not b1 is finite holds
for b2 being with_bottom CLbasis of b1 holds Card { (Way_Up b3,b4) where B is Element of b1, B is finite Subset of b1 : ( b3 in b2 & b4 c= b2 ) } c= Card b2
proof end;

theorem Th25: :: WAYBEL31:25
for b1 being complete Lawson TopLattice
for b2 being finite Subset of b1 holds
( (uparrow b2) ` is open & (downarrow b2) ` is open )
proof end;

theorem Th26: :: WAYBEL31:26
for b1 being lower-bounded continuous sup-Semilattice
for b2 being correct Lawson TopAugmentation of b1
for b3 being with_bottom CLbasis of b1 holds { (Way_Up b4,b5) where B is Element of b1, B is finite Subset of b1 : ( b4 in b3 & b5 c= b3 ) } is Basis of b2
proof end;

Lemma22: for b1 being lower-bounded continuous sup-Semilattice
for b2 being correct Lawson TopAugmentation of b1 holds weight b2 c= CLweight b1
proof end;

theorem Th27: :: WAYBEL31:27
for b1 being lower-bounded continuous sup-Semilattice
for b2 being Scott TopAugmentation of b1
for b3 being Basis of b2 holds { (wayabove (inf b4)) where B is Subset of b2 : b4 in b3 } is Basis of b2
proof end;

theorem Th28: :: WAYBEL31:28
for b1 being lower-bounded continuous sup-Semilattice
for b2 being Scott TopAugmentation of b1
for b3 being Basis of b2 st not b3 is finite holds
not { (inf b4) where B is Subset of b2 : b4 in b3 } is finite
proof end;

Lemma25: for b1 being lower-bounded continuous sup-Semilattice
for b2 being Scott TopAugmentation of b1 holds CLweight b1 c= weight b2
proof end;

theorem Th29: :: WAYBEL31:29
for b1 being lower-bounded continuous sup-Semilattice
for b2 being Scott TopAugmentation of b1 holds CLweight b1 = weight b2
proof end;

theorem Th30: :: WAYBEL31:30
for b1 being lower-bounded continuous sup-Semilattice
for b2 being correct Lawson TopAugmentation of b1 holds CLweight b1 = weight b2
proof end;

theorem Th31: :: WAYBEL31:31
for b1, b2 being non empty RelStr st b1,b2 are_isomorphic holds
Card the carrier of b1 = Card the carrier of b2
proof end;

theorem Th32: :: WAYBEL31:32
for b1 being lower-bounded continuous sup-Semilattice
for b2 being with_bottom CLbasis of b1 st Card b2 = CLweight b1 holds
CLweight b1 = CLweight (InclPoset (Ids (subrelstr b2)))
proof end;

registration
let c1 be lower-bounded continuous sup-Semilattice;
cluster InclPoset (sigma a1) -> with_suprema continuous ;
coherence
( InclPoset (sigma c1) is with_suprema & InclPoset (sigma c1) is continuous )
proof end;
end;

theorem Th33: :: WAYBEL31:33
for b1 being lower-bounded continuous sup-Semilattice holds CLweight b1 c= CLweight (InclPoset (sigma b1))
proof end;

theorem Th34: :: WAYBEL31:34
for b1 being lower-bounded continuous sup-Semilattice st not b1 is finite holds
CLweight b1 = CLweight (InclPoset (sigma b1))
proof end;