:: YELLOW21 semantic presentation
:: deftheorem Def1 defines as_1-sorted YELLOW21:def 1 :
:: deftheorem Def2 defines POSETS YELLOW21:def 2 :
:: deftheorem Def3 defines carrier-underlaid YELLOW21:def 3 :
:: deftheorem Def4 defines lattice-wise YELLOW21:def 4 :
:: deftheorem Def5 defines with_complete_lattices YELLOW21:def 5 :
scheme :: YELLOW21:sch 1
s1{
F1()
-> non
empty set ,
P1[
set ,
set ,
set ] } :
provided
E6:
for
b1 being
Element of
F1() holds
b1 is
LATTICE
and E7:
for
b1,
b2,
b3 being
LATTICE st
b1 in F1() &
b2 in F1() &
b3 in F1() holds
for
b4 being
Function of
b1,
b2 for
b5 being
Function of
b2,
b3 st
P1[
b1,
b2,
b4] &
P1[
b2,
b3,
b5] holds
P1[
b1,
b3,
b5 * b4]
and E8:
for
b1 being
LATTICE st
b1 in F1() holds
P1[
b1,
b1,
id b1]
theorem Th1: :: YELLOW21:1
theorem Th2: :: YELLOW21:2
:: deftheorem Def6 defines latt YELLOW21:def 6 :
:: deftheorem Def7 defines @ YELLOW21:def 7 :
theorem Th3: :: YELLOW21:3
scheme :: YELLOW21:sch 2
s2{
F1()
-> non
empty set ,
P1[
set ,
set ,
set ] } :
provided
E9:
for
b1 being
Element of
F1() holds
b1 is
LATTICE
and E10:
for
b1,
b2,
b3 being
LATTICE st
b1 in F1() &
b2 in F1() &
b3 in F1() holds
for
b4 being
Function of
b1,
b2 for
b5 being
Function of
b2,
b3 st
P1[
b1,
b2,
b4] &
P1[
b2,
b3,
b5] holds
P1[
b1,
b3,
b5 * b4]
and E11:
for
b1 being
LATTICE st
b1 in F1() holds
P1[
b1,
b1,
id b1]
scheme :: YELLOW21:sch 3
s3{
F1()
-> non
empty set ,
P1[
set ],
P2[
set ,
set ,
set ] } :
provided
E9:
ex
b1 being
strict LATTICE st
(
P1[
b1] & the
carrier of
b1 in F1() )
and E10:
for
b1,
b2,
b3 being
LATTICE st
P1[
b1] &
P1[
b2] &
P1[
b3] holds
for
b4 being
Function of
b1,
b2 for
b5 being
Function of
b2,
b3 st
P2[
b1,
b2,
b4] &
P2[
b2,
b3,
b5] holds
P2[
b1,
b3,
b5 * b4]
and E11:
for
b1 being
LATTICE st
P1[
b1] holds
P2[
b1,
b1,
id b1]
scheme :: YELLOW21:sch 4
s4{
F1()
-> non
empty set ,
P1[
set ,
set ,
set ] } :
for
b1,
b2 being
lattice-wise category st the
carrier of
b1 = F1() & ( for
b3,
b4 being
object of
b1 for
b5 being
monotone Function of
(latt b3),
(latt b4) holds
(
b5 in <^b3,b4^> iff
P1[
b3,
b4,
b5] ) ) & the
carrier of
b2 = F1() & ( for
b3,
b4 being
object of
b2 for
b5 being
monotone Function of
(latt b3),
(latt b4) holds
(
b5 in <^b3,b4^> iff
P1[
b3,
b4,
b5] ) ) holds
AltCatStr(# the
carrier of
b1,the
Arrows of
b1,the
Comp of
b1 #)
= AltCatStr(# the
carrier of
b2,the
Arrows of
b2,the
Comp of
b2 #)
scheme :: YELLOW21:sch 5
s5{
F1()
-> non
empty set ,
P1[
set ],
P2[
set ,
set ,
set ] } :
for
b1,
b2 being
lattice-wise category st ( for
b3 being
LATTICE holds
(
b3 is
object of
b1 iff (
b3 is
strict &
P1[
b3] & the
carrier of
b3 in F1() ) ) ) & ( for
b3,
b4 being
object of
b1 for
b5 being
monotone Function of
(latt b3),
(latt b4) holds
(
b5 in <^b3,b4^> iff
P2[
b3,
b4,
b5] ) ) & ( for
b3 being
LATTICE holds
(
b3 is
object of
b2 iff (
b3 is
strict &
P1[
b3] & the
carrier of
b3 in F1() ) ) ) & ( for
b3,
b4 being
object of
b2 for
b5 being
monotone Function of
(latt b3),
(latt b4) holds
(
b5 in <^b3,b4^> iff
P2[
b3,
b4,
b5] ) ) holds
AltCatStr(# the
carrier of
b1,the
Arrows of
b1,the
Comp of
b1 #)
= AltCatStr(# the
carrier of
b2,the
Arrows of
b2,the
Comp of
b2 #)
scheme :: YELLOW21:sch 6
s6{
P1[
set ,
set ,
set ],
P2[
set ,
set ,
set ],
F1()
-> lattice-wise category,
F2()
-> lattice-wise category,
F3(
set )
-> LATTICE,
F4(
set ,
set ,
set )
-> Function } :
provided
E9:
for
b1,
b2 being
LATTICE for
b3 being
Function of
b1,
b2 holds
(
b3 in the
Arrows of
F1()
. b1,
b2 iff (
b1 in the
carrier of
F1() &
b2 in the
carrier of
F1() &
P1[
b1,
b2,
b3] ) )
and E10:
for
b1,
b2 being
LATTICE for
b3 being
Function of
b1,
b2 holds
(
b3 in the
Arrows of
F2()
. b1,
b2 iff (
b1 in the
carrier of
F2() &
b2 in the
carrier of
F2() &
P2[
b1,
b2,
b3] ) )
and E11:
for
b1 being
LATTICE st
b1 in the
carrier of
F1() holds
F3(
b1)
in the
carrier of
F2()
and E12:
for
b1,
b2 being
LATTICE for
b3 being
Function of
b1,
b2 st
P1[
b1,
b2,
b3] holds
(
F4(
b1,
b2,
b3) is
Function of
F3(
b1),
F3(
b2) &
P2[
F3(
b1),
F3(
b2),
F4(
b1,
b2,
b3)] )
and E13:
for
b1 being
LATTICE st
b1 in the
carrier of
F1() holds
F4(
b1,
b1,
(id b1))
= id F3(
b1)
and E14:
for
b1,
b2,
b3 being
LATTICE for
b4 being
Function of
b1,
b2 for
b5 being
Function of
b2,
b3 st
P1[
b1,
b2,
b4] &
P1[
b2,
b3,
b5] holds
F4(
b1,
b3,
(b5 * b4))
= F4(
b2,
b3,
b5)
* F4(
b1,
b2,
b4)
scheme :: YELLOW21:sch 7
s7{
P1[
set ,
set ,
set ],
P2[
set ,
set ,
set ],
F1()
-> lattice-wise category,
F2()
-> lattice-wise category,
F3(
set )
-> LATTICE,
F4(
set ,
set ,
set )
-> Function } :
provided
E9:
for
b1,
b2 being
LATTICE for
b3 being
Function of
b1,
b2 holds
(
b3 in the
Arrows of
F1()
. b1,
b2 iff (
b1 in the
carrier of
F1() &
b2 in the
carrier of
F1() &
P1[
b1,
b2,
b3] ) )
and E10:
for
b1,
b2 being
LATTICE for
b3 being
Function of
b1,
b2 holds
(
b3 in the
Arrows of
F2()
. b1,
b2 iff (
b1 in the
carrier of
F2() &
b2 in the
carrier of
F2() &
P2[
b1,
b2,
b3] ) )
and E11:
for
b1 being
LATTICE st
b1 in the
carrier of
F1() holds
F3(
b1)
in the
carrier of
F2()
and E12:
for
b1,
b2 being
LATTICE for
b3 being
Function of
b1,
b2 st
P1[
b1,
b2,
b3] holds
(
F4(
b1,
b2,
b3) is
Function of
F3(
b2),
F3(
b1) &
P2[
F3(
b2),
F3(
b1),
F4(
b1,
b2,
b3)] )
and E13:
for
b1 being
LATTICE st
b1 in the
carrier of
F1() holds
F4(
b1,
b1,
(id b1))
= id F3(
b1)
and E14:
for
b1,
b2,
b3 being
LATTICE for
b4 being
Function of
b1,
b2 for
b5 being
Function of
b2,
b3 st
P1[
b1,
b2,
b4] &
P1[
b2,
b3,
b5] holds
F4(
b1,
b3,
(b5 * b4))
= F4(
b1,
b2,
b4)
* F4(
b2,
b3,
b5)
scheme :: YELLOW21:sch 8
s8{
P1[
set ,
set ,
set ],
P2[
set ,
set ,
set ],
F1()
-> lattice-wise category,
F2()
-> lattice-wise category,
F3(
set )
-> LATTICE,
F4(
set ,
set ,
set )
-> Function } :
provided
E9:
for
b1,
b2 being
LATTICE for
b3 being
Function of
b1,
b2 holds
(
b3 in the
Arrows of
F1()
. b1,
b2 iff (
b1 in the
carrier of
F1() &
b2 in the
carrier of
F1() &
P1[
b1,
b2,
b3] ) )
and E10:
for
b1,
b2 being
LATTICE for
b3 being
Function of
b1,
b2 holds
(
b3 in the
Arrows of
F2()
. b1,
b2 iff (
b1 in the
carrier of
F2() &
b2 in the
carrier of
F2() &
P2[
b1,
b2,
b3] ) )
and E11:
ex
b1 being
covariant Functor of
F1(),
F2() st
( ( for
b2 being
object of
F1() holds
b1 . b2 = F3(
b2) ) & ( for
b2,
b3 being
object of
F1() st
<^b2,b3^> <> {} holds
for
b4 being
Morphism of
b2,
b3 holds
b1 . b4 = F4(
b2,
b3,
b4) ) )
and E12:
for
b1,
b2 being
LATTICE st
b1 in the
carrier of
F1() &
b2 in the
carrier of
F1() &
F3(
b1)
= F3(
b2) holds
b1 = b2
and E13:
for
b1,
b2 being
LATTICE for
b3,
b4 being
Function of
b1,
b2 st
P1[
b1,
b2,
b3] &
P1[
b1,
b2,
b4] &
F4(
b1,
b2,
b3)
= F4(
b1,
b2,
b4) holds
b3 = b4
and E14:
for
b1,
b2 being
LATTICE for
b3 being
Function of
b1,
b2 st
P2[
b1,
b2,
b3] holds
ex
b4,
b5 being
LATTICEex
b6 being
Function of
b4,
b5 st
(
b4 in the
carrier of
F1() &
b5 in the
carrier of
F1() &
P1[
b4,
b5,
b6] &
b1 = F3(
b4) &
b2 = F3(
b5) &
b3 = F4(
b4,
b5,
b6) )
scheme :: YELLOW21:sch 9
s9{
P1[
set ,
set ,
set ],
P2[
set ,
set ,
set ],
F1()
-> lattice-wise category,
F2()
-> lattice-wise category,
F3(
set )
-> LATTICE,
F4(
set ,
set ,
set )
-> Function } :
provided
E9:
for
b1,
b2 being
LATTICE for
b3 being
Function of
b1,
b2 holds
(
b3 in the
Arrows of
F1()
. b1,
b2 iff (
b1 in the
carrier of
F1() &
b2 in the
carrier of
F1() &
P1[
b1,
b2,
b3] ) )
and E10:
for
b1,
b2 being
LATTICE for
b3 being
Function of
b1,
b2 holds
(
b3 in the
Arrows of
F2()
. b1,
b2 iff (
b1 in the
carrier of
F2() &
b2 in the
carrier of
F2() &
P2[
b1,
b2,
b3] ) )
and E11:
ex
b1 being
contravariant Functor of
F1(),
F2() st
( ( for
b2 being
object of
F1() holds
b1 . b2 = F3(
b2) ) & ( for
b2,
b3 being
object of
F1() st
<^b2,b3^> <> {} holds
for
b4 being
Morphism of
b2,
b3 holds
b1 . b4 = F4(
b2,
b3,
b4) ) )
and E12:
for
b1,
b2 being
LATTICE st
b1 in the
carrier of
F1() &
b2 in the
carrier of
F1() &
F3(
b1)
= F3(
b2) holds
b1 = b2
and E13:
for
b1,
b2 being
LATTICE for
b3,
b4 being
Function of
b1,
b2 st
F4(
b1,
b2,
b3)
= F4(
b1,
b2,
b4) holds
b3 = b4
and E14:
for
b1,
b2 being
LATTICE for
b3 being
Function of
b1,
b2 st
P2[
b1,
b2,
b3] holds
ex
b4,
b5 being
LATTICEex
b6 being
Function of
b4,
b5 st
(
b4 in the
carrier of
F1() &
b5 in the
carrier of
F1() &
P1[
b4,
b5,
b6] &
b2 = F3(
b4) &
b1 = F3(
b5) &
b3 = F4(
b4,
b5,
b6) )
:: deftheorem Def8 defines with_all_isomorphisms YELLOW21:def 8 :
theorem Th4: :: YELLOW21:4
theorem Th5: :: YELLOW21:5
scheme :: YELLOW21:sch 10
s10{
P1[
set ,
set ,
set ],
P2[
set ,
set ,
set ],
F1()
-> lattice-wise category,
F2()
-> lattice-wise category,
F3(
set )
-> LATTICE,
F4(
set )
-> LATTICE,
F5(
set ,
set ,
set )
-> Function,
F6(
set ,
set ,
set )
-> Function,
F7(
set )
-> Function,
F8(
set )
-> Function } :
provided
E10:
for
b1,
b2 being
object of
F1()
for
b3 being
monotone Function of
(latt b1),
(latt b2) holds
(
b3 in <^b1,b2^> iff
P1[
latt b1,
latt b2,
b3] )
and E11:
for
b1,
b2 being
object of
F2()
for
b3 being
monotone Function of
(latt b1),
(latt b2) holds
(
b3 in <^b1,b2^> iff
P2[
latt b1,
latt b2,
b3] )
and E12:
ex
b1 being
covariant Functor of
F1(),
F2() st
( ( for
b2 being
object of
F1() holds
b1 . b2 = F3(
b2) ) & ( for
b2,
b3 being
object of
F1() st
<^b2,b3^> <> {} holds
for
b4 being
Morphism of
b2,
b3 holds
b1 . b4 = F5(
b2,
b3,
b4) ) )
and E13:
ex
b1 being
covariant Functor of
F2(),
F1() st
( ( for
b2 being
object of
F2() holds
b1 . b2 = F4(
b2) ) & ( for
b2,
b3 being
object of
F2() st
<^b2,b3^> <> {} holds
for
b4 being
Morphism of
b2,
b3 holds
b1 . b4 = F6(
b2,
b3,
b4) ) )
and E14:
for
b1 being
LATTICE st
b1 in the
carrier of
F1() holds
ex
b2 being
monotone Function of
F4(
F3(
b1)),
b1 st
(
b2 = F7(
b1) &
b2 is
isomorphic &
P1[
F4(
F3(
b1)),
b1,
b2] &
P1[
b1,
F4(
F3(
b1)),
b2 " ] )
and E15:
for
b1 being
LATTICE st
b1 in the
carrier of
F2() holds
ex
b2 being
monotone Function of
b1,
F3(
F4(
b1)) st
(
b2 = F8(
b1) &
b2 is
isomorphic &
P2[
b1,
F3(
F4(
b1)),
b2] &
P2[
F3(
F4(
b1)),
b1,
b2 " ] )
and E16:
for
b1,
b2 being
object of
F1() st
<^b1,b2^> <> {} holds
for
b3 being
Morphism of
b1,
b2 holds
F7(
b2)
* F6(
F3(
b1),
F3(
b2),
F5(
b1,
b2,
b3))
= (@ b3) * F7(
b1)
and E17:
for
b1,
b2 being
object of
F2() st
<^b1,b2^> <> {} holds
for
b3 being
Morphism of
b1,
b2 holds
F5(
F4(
b1),
F4(
b2),
F6(
b1,
b2,
b3))
* F8(
b1)
= F8(
b2)
* (@ b3)
:: deftheorem Def9 defines upper-bounded YELLOW21:def 9 :
Lemma11:
for b1, b2 being set holds
( b1 in b2 iff b2 = (b2 \ {b1}) \/ {b1} )
theorem Th6: :: YELLOW21:6
theorem Th7: :: YELLOW21:7
theorem Th8: :: YELLOW21:8
theorem Th9: :: YELLOW21:9
theorem Th10: :: YELLOW21:10
theorem Th11: :: YELLOW21:11
definition
let c1 be non
empty set ;
given c2 being
Element of
c1 such that E18:
not
c2 is
empty
;
defpred S1[
LATTICE]
means a1 is
complete;
defpred S2[
LATTICE,
LATTICE,
Function of
a1,
a2]
means a3 is
directed-sups-preserving;
func c1 -UPS_category -> strict lattice-wise category means :
Def10:
:: YELLOW21:def 10
( ( for
b1 being
LATTICE holds
(
b1 is
object of
a2 iff (
b1 is
strict &
b1 is
complete & the
carrier of
b1 in a1 ) ) ) & ( for
b1,
b2 being
object of
a2 for
b3 being
monotone Function of
(latt b1),
(latt b2) holds
(
b3 in <^b1,b2^> iff
b3 is
directed-sups-preserving ) ) );
existence
ex b1 being strict lattice-wise category st
( ( for b2 being LATTICE holds
( b2 is object of b1 iff ( b2 is strict & b2 is complete & the carrier of b2 in c1 ) ) ) & ( for b2, b3 being object of b1
for b4 being monotone Function of (latt b2),(latt b3) holds
( b4 in <^b2,b3^> iff b4 is directed-sups-preserving ) ) )
correctness
uniqueness
for b1, b2 being strict lattice-wise category st ( for b3 being LATTICE holds
( b3 is object of b1 iff ( b3 is strict & b3 is complete & the carrier of b3 in c1 ) ) ) & ( for b3, b4 being object of b1
for b5 being monotone Function of (latt b3),(latt b4) holds
( b5 in <^b3,b4^> iff b5 is directed-sups-preserving ) ) & ( for b3 being LATTICE holds
( b3 is object of b2 iff ( b3 is strict & b3 is complete & the carrier of b3 in c1 ) ) ) & ( for b3, b4 being object of b2
for b5 being monotone Function of (latt b3),(latt b4) holds
( b5 in <^b3,b4^> iff b5 is directed-sups-preserving ) ) holds
b1 = b2;
end;
:: deftheorem Def10 defines -UPS_category YELLOW21:def 10 :
theorem Th12: :: YELLOW21:12
theorem Th13: :: YELLOW21:13
theorem Th14: :: YELLOW21:14
theorem Th15: :: YELLOW21:15
theorem Th16: :: YELLOW21:16
:: deftheorem Def11 defines -CONT_category YELLOW21:def 11 :
:: deftheorem Def12 defines -ALG_category YELLOW21:def 12 :
theorem Th17: :: YELLOW21:17
theorem Th18: :: YELLOW21:18
theorem Th19: :: YELLOW21:19
theorem Th20: :: YELLOW21:20