:: WAYBEL22 semantic presentation

Lemma1: for b1 being complete LATTICE
for b2 being set st b2 c= bool the carrier of b1 holds
"/\" (union b2),b1 = "/\" { (inf b3) where B is Subset of b1 : b3 in b2 } ,b1
proof end;

Lemma2: for b1 being complete LATTICE
for b2 being set st b2 c= bool the carrier of b1 holds
"\/" (union b2),b1 = "\/" { (sup b3) where B is Subset of b1 : b3 in b2 } ,b1
proof end;

theorem Th1: :: WAYBEL22:1
for b1 being upper-bounded Semilattice
for b2 being non empty directed Subset of (InclPoset (Filt b1)) holds sup b2 = union b2
proof end;

theorem Th2: :: WAYBEL22:2
for b1, b2, b3 being non empty complete Poset
for b4 being CLHomomorphism of b1,b2
for b5 being CLHomomorphism of b2,b3 holds b5 * b4 is CLHomomorphism of b1,b3
proof end;

theorem Th3: :: WAYBEL22:3
for b1 being non empty RelStr holds id b1 is infs-preserving
proof end;

theorem Th4: :: WAYBEL22:4
for b1 being non empty RelStr holds id b1 is directed-sups-preserving
proof end;

theorem Th5: :: WAYBEL22:5
for b1 being non empty complete Poset holds id b1 is CLHomomorphism of b1,b1
proof end;

theorem Th6: :: WAYBEL22:6
for b1 being non empty upper-bounded with_infima Poset holds InclPoset (Filt b1) is CLSubFrame of BoolePoset the carrier of b1
proof end;

registration
let c1 be non empty upper-bounded with_infima Poset;
cluster InclPoset (Filt a1) -> continuous ;
coherence
InclPoset (Filt c1) is continuous
proof end;
end;

registration
let c1 be non empty upper-bounded Poset;
cluster -> non empty Element of the carrier of (InclPoset (Filt a1));
coherence
for b1 being Element of (InclPoset (Filt c1)) holds not b1 is empty
proof end;
end;

definition
let c1 be non empty complete continuous Poset;
let c2 be set ;
pred c2 is_FreeGen_set_of c1 means :Def1: :: WAYBEL22:def 1
for b1 being non empty complete continuous Poset
for b2 being Function of a2,the carrier of b1 ex b3 being CLHomomorphism of a1,b1 st
( b3 | a2 = b2 & ( for b4 being CLHomomorphism of a1,b1 st b4 | a2 = b2 holds
b4 = b3 ) );
end;

:: deftheorem Def1 defines is_FreeGen_set_of WAYBEL22:def 1 :
for b1 being non empty complete continuous Poset
for b2 being set holds
( b2 is_FreeGen_set_of b1 iff for b3 being non empty complete continuous Poset
for b4 being Function of b2,the carrier of b3 ex b5 being CLHomomorphism of b1,b3 st
( b5 | b2 = b4 & ( for b6 being CLHomomorphism of b1,b3 st b6 | b2 = b4 holds
b6 = b5 ) ) );

theorem Th7: :: WAYBEL22:7
for b1 being non empty complete continuous Poset
for b2 being set st b2 is_FreeGen_set_of b1 holds
b2 is Subset of b1
proof end;

theorem Th8: :: WAYBEL22:8
for b1 being non empty complete continuous Poset
for b2 being set st b2 is_FreeGen_set_of b1 holds
for b3 being CLHomomorphism of b1,b1 st b3 | b2 = id b2 holds
b3 = id b1
proof end;

definition
let c1 be set ;
func FixedUltraFilters c1 -> Subset-Family of (BoolePoset a1) equals :: WAYBEL22:def 2
{ (uparrow b1) where B is Element of (BoolePoset a1) : ex b1 being Element of a1 st b1 = {b2} } ;
coherence
{ (uparrow b1) where B is Element of (BoolePoset c1) : ex b1 being Element of c1 st b1 = {b2} } is Subset-Family of (BoolePoset c1)
proof end;
end;

:: deftheorem Def2 defines FixedUltraFilters WAYBEL22:def 2 :
for b1 being set holds FixedUltraFilters b1 = { (uparrow b2) where B is Element of (BoolePoset b1) : ex b1 being Element of b1 st b2 = {b3} } ;

theorem Th9: :: WAYBEL22:9
for b1 being set holds FixedUltraFilters b1 c= Filt (BoolePoset b1)
proof end;

theorem Th10: :: WAYBEL22:10
for b1 being set holds Card (FixedUltraFilters b1) = Card b1
proof end;

theorem Th11: :: WAYBEL22:11
for b1 being set
for b2 being Filter of (BoolePoset b1) holds b2 = "\/" { ("/\" { (uparrow b4) where B is Element of (BoolePoset b1) : ex b1 being Element of b1 st
( b4 = {b5} & b5 in b3 )
}
,(InclPoset (Filt (BoolePoset b1)))
)
where B is Subset of b1 : b3 in b2
}
,(InclPoset (Filt (BoolePoset b1)))
proof end;

definition
let c1 be set ;
let c2 be non empty complete continuous Poset;
let c3 be Function of FixedUltraFilters c1,the carrier of c2;
func c3 -extension_to_hom -> Function of (InclPoset (Filt (BoolePoset a1))),a2 means :Def3: :: WAYBEL22:def 3
for b1 being Element of (InclPoset (Filt (BoolePoset a1))) holds a4 . b1 = "\/" { ("/\" { (a3 . (uparrow b3)) where B is Element of (BoolePoset a1) : ex b1 being Element of a1 st
( b3 = {b4} & b4 in b2 )
}
,a2
)
where B is Subset of a1 : b2 in b1
}
,a2;
existence
ex b1 being Function of (InclPoset (Filt (BoolePoset c1))),c2 st
for b2 being Element of (InclPoset (Filt (BoolePoset c1))) holds b1 . b2 = "\/" { ("/\" { (c3 . (uparrow b4)) where B is Element of (BoolePoset c1) : ex b1 being Element of c1 st
( b4 = {b5} & b5 in b3 )
}
,c2
)
where B is Subset of c1 : b3 in b2
}
,c2
proof end;
uniqueness
for b1, b2 being Function of (InclPoset (Filt (BoolePoset c1))),c2 st ( for b3 being Element of (InclPoset (Filt (BoolePoset c1))) holds b1 . b3 = "\/" { ("/\" { (c3 . (uparrow b5)) where B is Element of (BoolePoset c1) : ex b1 being Element of c1 st
( b5 = {b6} & b6 in b4 )
}
,c2
)
where B is Subset of c1 : b4 in b3
}
,c2 ) & ( for b3 being Element of (InclPoset (Filt (BoolePoset c1))) holds b2 . b3 = "\/" { ("/\" { (c3 . (uparrow b5)) where B is Element of (BoolePoset c1) : ex b1 being Element of c1 st
( b5 = {b6} & b6 in b4 )
}
,c2
)
where B is Subset of c1 : b4 in b3
}
,c2 ) holds
b1 = b2
proof end;
end;

:: deftheorem Def3 defines -extension_to_hom WAYBEL22:def 3 :
for b1 being set
for b2 being non empty complete continuous Poset
for b3 being Function of FixedUltraFilters b1,the carrier of b2
for b4 being Function of (InclPoset (Filt (BoolePoset b1))),b2 holds
( b4 = b3 -extension_to_hom iff for b5 being Element of (InclPoset (Filt (BoolePoset b1))) holds b4 . b5 = "\/" { ("/\" { (b3 . (uparrow b7)) where B is Element of (BoolePoset b1) : ex b1 being Element of b1 st
( b7 = {b8} & b8 in b6 )
}
,b2
)
where B is Subset of b1 : b6 in b5
}
,b2 );

theorem Th12: :: WAYBEL22:12
for b1 being set
for b2 being non empty complete continuous Poset
for b3 being Function of FixedUltraFilters b1,the carrier of b2 holds b3 -extension_to_hom is monotone
proof end;

theorem Th13: :: WAYBEL22:13
for b1 being set
for b2 being non empty complete continuous Poset
for b3 being Function of FixedUltraFilters b1,the carrier of b2 holds (b3 -extension_to_hom ) . (Top (InclPoset (Filt (BoolePoset b1)))) = Top b2
proof end;

registration
let c1 be set ;
let c2 be non empty complete continuous Poset;
let c3 be Function of FixedUltraFilters c1,the carrier of c2;
cluster a3 -extension_to_hom -> directed-sups-preserving ;
coherence
c3 -extension_to_hom is directed-sups-preserving
proof end;
end;

Lemma17: for b1 being with_non-empty_elements set holds id b1 is V2 ManySortedSet of b1
;

registration
let c1 be set ;
let c2 be non empty complete continuous Poset;
let c3 be Function of FixedUltraFilters c1,the carrier of c2;
cluster a3 -extension_to_hom -> infs-preserving directed-sups-preserving ;
coherence
c3 -extension_to_hom is infs-preserving
proof end;
end;

theorem Th14: :: WAYBEL22:14
for b1 being set
for b2 being non empty complete continuous Poset
for b3 being Function of FixedUltraFilters b1,the carrier of b2 holds (b3 -extension_to_hom ) | (FixedUltraFilters b1) = b3
proof end;

theorem Th15: :: WAYBEL22:15
for b1 being set
for b2 being non empty complete continuous Poset
for b3 being Function of FixedUltraFilters b1,the carrier of b2
for b4 being CLHomomorphism of InclPoset (Filt (BoolePoset b1)),b2 st b4 | (FixedUltraFilters b1) = b3 holds
b4 = b3 -extension_to_hom
proof end;

theorem Th16: :: WAYBEL22:16
for b1 being set holds FixedUltraFilters b1 is_FreeGen_set_of InclPoset (Filt (BoolePoset b1))
proof end;

theorem Th17: :: WAYBEL22:17
for b1, b2 being complete continuous LATTICE
for b3, b4 being set st b3 is_FreeGen_set_of b1 & b4 is_FreeGen_set_of b2 & Card b3 = Card b4 holds
b1,b2 are_isomorphic
proof end;

theorem Th18: :: WAYBEL22:18
for b1 being set
for b2 being complete continuous LATTICE
for b3 being set st b3 is_FreeGen_set_of b2 & Card b3 = Card b1 holds
b2, InclPoset (Filt (BoolePoset b1)) are_isomorphic
proof end;