:: ALTCAT_1 semantic presentation
theorem Th1: :: ALTCAT_1:1
canceled;
theorem Th2: :: ALTCAT_1:2
theorem Th3: :: ALTCAT_1:3
theorem Th4: :: ALTCAT_1:4
theorem Th5: :: ALTCAT_1:5
theorem Th6: :: ALTCAT_1:6
canceled;
theorem Th7: :: ALTCAT_1:7
scheme :: ALTCAT_1:sch 3
s3{
F1()
-> set ,
F2()
-> set ,
F3()
-> set ,
F4(
set ,
set ,
set )
-> set } :
ex
b1 being
ManySortedSet of
[:F1(),F2(),F3():] st
for
b2,
b3,
b4 being
set st
b2 in F1() &
b3 in F2() &
b4 in F3() holds
b1 . b2,
b3,
b4 = F4(
b2,
b3,
b4)
theorem Th8: :: ALTCAT_1:8
for
b1,
b2 being
set for
b3,
b4 being
ManySortedSet of
[:b1,b2:] st ( for
b5,
b6 being
set st
b5 in b1 &
b6 in b2 holds
b3 . b5,
b6 = b4 . b5,
b6 ) holds
b4 = b3
theorem Th9: :: ALTCAT_1:9
theorem Th10: :: ALTCAT_1:10
for
b1 being
set for
b2,
b3 being
ManySortedSet of
[:b1,b1,b1:] st ( for
b4,
b5,
b6 being
set st
b4 in b1 &
b5 in b1 &
b6 in b1 holds
b2 . b4,
b5,
b6 = b3 . b4,
b5,
b6 ) holds
b3 = b2
theorem Th11: :: ALTCAT_1:11
theorem Th12: :: ALTCAT_1:12
for
b1,
b2,
b3 being
set holds
(b1,b2 :-> b3) . b1,
b2 = b3
:: deftheorem Def1 ALTCAT_1:def 1 :
canceled;
:: deftheorem Def2 defines <^ ALTCAT_1:def 2 :
:: deftheorem Def3 ALTCAT_1:def 3 :
canceled;
:: deftheorem Def4 defines transitive ALTCAT_1:def 4 :
definition
let c1 be
set ;
let c2 be
ManySortedSet of
[:c1,c1:];
func {|c2|} -> ManySortedSet of
[:a1,a1,a1:] means :
Def5:
:: ALTCAT_1:def 5
for
b1,
b2,
b3 being
set st
b1 in a1 &
b2 in a1 &
b3 in a1 holds
a3 . b1,
b2,
b3 = a2 . b1,
b3;
existence
ex b1 being ManySortedSet of [:c1,c1,c1:] st
for b2, b3, b4 being set st b2 in c1 & b3 in c1 & b4 in c1 holds
b1 . b2,b3,b4 = c2 . b2,b4
uniqueness
for b1, b2 being ManySortedSet of [:c1,c1,c1:] st ( for b3, b4, b5 being set st b3 in c1 & b4 in c1 & b5 in c1 holds
b1 . b3,b4,b5 = c2 . b3,b5 ) & ( for b3, b4, b5 being set st b3 in c1 & b4 in c1 & b5 in c1 holds
b2 . b3,b4,b5 = c2 . b3,b5 ) holds
b1 = b2
let c3 be
ManySortedSet of
[:c1,c1:];
func {|c2,c3|} -> ManySortedSet of
[:a1,a1,a1:] means :
Def6:
:: ALTCAT_1:def 6
for
b1,
b2,
b3 being
set st
b1 in a1 &
b2 in a1 &
b3 in a1 holds
a4 . b1,
b2,
b3 = [:(a3 . b2,b3),(a2 . b1,b2):];
existence
ex b1 being ManySortedSet of [:c1,c1,c1:] st
for b2, b3, b4 being set st b2 in c1 & b3 in c1 & b4 in c1 holds
b1 . b2,b3,b4 = [:(c3 . b3,b4),(c2 . b2,b3):]
uniqueness
for b1, b2 being ManySortedSet of [:c1,c1,c1:] st ( for b3, b4, b5 being set st b3 in c1 & b4 in c1 & b5 in c1 holds
b1 . b3,b4,b5 = [:(c3 . b4,b5),(c2 . b3,b4):] ) & ( for b3, b4, b5 being set st b3 in c1 & b4 in c1 & b5 in c1 holds
b2 . b3,b4,b5 = [:(c3 . b4,b5),(c2 . b3,b4):] ) holds
b1 = b2
end;
:: deftheorem Def5 defines {| ALTCAT_1:def 5 :
:: deftheorem Def6 defines {| ALTCAT_1:def 6 :
for
b1 being
set for
b2,
b3 being
ManySortedSet of
[:b1,b1:] for
b4 being
ManySortedSet of
[:b1,b1,b1:] holds
(
b4 = {|b2,b3|} iff for
b5,
b6,
b7 being
set st
b5 in b1 &
b6 in b1 &
b7 in b1 holds
b4 . b5,
b6,
b7 = [:(b3 . b6,b7),(b2 . b5,b6):] );
definition
let c1 be non
empty set ;
let c2 be
ManySortedSet of
[:c1,c1:];
let c3 be
BinComp of
c2;
let c4,
c5,
c6 be
Element of
c1;
redefine func . as
c3 . c4,
c5,
c6 -> Function of
[:(a2 . a5,a6),(a2 . a4,a5):],
a2 . a4,
a6;
coherence
c3 . c4,c5,c6 is Function of [:(c2 . c5,c6),(c2 . c4,c5):],c2 . c4,c6
end;
definition
let c1 be non
empty set ;
let c2 be
ManySortedSet of
[:c1,c1:];
let c3 be
BinComp of
c2;
attr a3 is
associative means :
Def7:
:: ALTCAT_1:def 7
for
b1,
b2,
b3,
b4 being
Element of
a1 for
b5,
b6,
b7 being
set st
b5 in a2 . b1,
b2 &
b6 in a2 . b2,
b3 &
b7 in a2 . b3,
b4 holds
(a3 . b1,b3,b4) . b7,
((a3 . b1,b2,b3) . b6,b5) = (a3 . b1,b2,b4) . ((a3 . b2,b3,b4) . b7,b6),
b5;
attr a3 is
with_right_units means :
Def8:
:: ALTCAT_1:def 8
for
b1 being
Element of
a1 ex
b2 being
set st
(
b2 in a2 . b1,
b1 & ( for
b3 being
Element of
a1 for
b4 being
set st
b4 in a2 . b1,
b3 holds
(a3 . b1,b1,b3) . b4,
b2 = b4 ) );
attr a3 is
with_left_units means :
Def9:
:: ALTCAT_1:def 9
for
b1 being
Element of
a1 ex
b2 being
set st
(
b2 in a2 . b1,
b1 & ( for
b3 being
Element of
a1 for
b4 being
set st
b4 in a2 . b3,
b1 holds
(a3 . b3,b1,b1) . b2,
b4 = b4 ) );
end;
:: deftheorem Def7 defines associative ALTCAT_1:def 7 :
for
b1 being non
empty set for
b2 being
ManySortedSet of
[:b1,b1:] for
b3 being
BinComp of
b2 holds
(
b3 is
associative iff for
b4,
b5,
b6,
b7 being
Element of
b1 for
b8,
b9,
b10 being
set st
b8 in b2 . b4,
b5 &
b9 in b2 . b5,
b6 &
b10 in b2 . b6,
b7 holds
(b3 . b4,b6,b7) . b10,
((b3 . b4,b5,b6) . b9,b8) = (b3 . b4,b5,b7) . ((b3 . b5,b6,b7) . b10,b9),
b8 );
:: deftheorem Def8 defines with_right_units ALTCAT_1:def 8 :
:: deftheorem Def9 defines with_left_units ALTCAT_1:def 9 :
definition
let c1 be non
empty AltCatStr ;
let c2,
c3,
c4 be
object of
c1;
assume E16:
(
<^c2,c3^> <> {} &
<^c3,c4^> <> {} )
;
let c5 be
Morphism of
c2,
c3;
let c6 be
Morphism of
c3,
c4;
func c6 * c5 -> Morphism of
a2,
a4 equals :
Def10:
:: ALTCAT_1:def 10
(the Comp of a1 . a2,a3,a4) . a6,
a5;
coherence
(the Comp of c1 . c2,c3,c4) . c6,c5 is Morphism of c2,c4
correctness
;
end;
:: deftheorem Def10 defines * ALTCAT_1:def 10 :
:: deftheorem Def11 defines compositional ALTCAT_1:def 11 :
theorem Th13: :: ALTCAT_1:13
:: deftheorem Def12 defines FuncComp ALTCAT_1:def 12 :
theorem Th14: :: ALTCAT_1:14
theorem Th15: :: ALTCAT_1:15
theorem Th16: :: ALTCAT_1:16
definition
let c1 be non
empty AltCatStr ;
attr a1 is
quasi-functional means :
Def13:
:: ALTCAT_1:def 13
for
b1,
b2 being
object of
a1 holds
<^b1,b2^> c= Funcs b1,
b2;
attr a1 is
semi-functional means :
Def14:
:: ALTCAT_1:def 14
for
b1,
b2,
b3 being
object of
a1 st
<^b1,b2^> <> {} &
<^b2,b3^> <> {} &
<^b1,b3^> <> {} holds
for
b4 being
Morphism of
b1,
b2 for
b5 being
Morphism of
b2,
b3 for
b6,
b7 being
Function st
b4 = b6 &
b5 = b7 holds
b5 * b4 = b7 * b6;
attr a1 is
pseudo-functional means :
Def15:
:: ALTCAT_1:def 15
for
b1,
b2,
b3 being
object of
a1 holds the
Comp of
a1 . b1,
b2,
b3 = (FuncComp (Funcs b1,b2),(Funcs b2,b3)) | [:<^b2,b3^>,<^b1,b2^>:];
end;
:: deftheorem Def13 defines quasi-functional ALTCAT_1:def 13 :
:: deftheorem Def14 defines semi-functional ALTCAT_1:def 14 :
:: deftheorem Def15 defines pseudo-functional ALTCAT_1:def 15 :
for
b1 being non
empty AltCatStr holds
(
b1 is
pseudo-functional iff for
b2,
b3,
b4 being
object of
b1 holds the
Comp of
b1 . b2,
b3,
b4 = (FuncComp (Funcs b2,b3),(Funcs b3,b4)) | [:<^b3,b4^>,<^b2,b3^>:] );
theorem Th17: :: ALTCAT_1:17
theorem Th18: :: ALTCAT_1:18
definition
let c1 be non
empty set ;
func EnsCat c1 -> non
empty strict pseudo-functional AltCatStr means :
Def16:
:: ALTCAT_1:def 16
( the
carrier of
a2 = a1 & ( for
b1,
b2 being
object of
a2 holds
<^b1,b2^> = Funcs b1,
b2 ) );
existence
ex b1 being non empty strict pseudo-functional AltCatStr st
( the carrier of b1 = c1 & ( for b2, b3 being object of b1 holds <^b2,b3^> = Funcs b2,b3 ) )
uniqueness
for b1, b2 being non empty strict pseudo-functional AltCatStr st the carrier of b1 = c1 & ( for b3, b4 being object of b1 holds <^b3,b4^> = Funcs b3,b4 ) & the carrier of b2 = c1 & ( for b3, b4 being object of b2 holds <^b3,b4^> = Funcs b3,b4 ) holds
b1 = b2
end;
:: deftheorem Def16 defines EnsCat ALTCAT_1:def 16 :
:: deftheorem Def17 defines associative ALTCAT_1:def 17 :
:: deftheorem Def18 defines with_units ALTCAT_1:def 18 :
Lemma30:
for b1 being non empty set holds
( EnsCat b1 is transitive & EnsCat b1 is associative & EnsCat b1 is with_units )
theorem Th19: :: ALTCAT_1:19
canceled;
theorem Th20: :: ALTCAT_1:20
for
b1 being non
empty transitive AltCatStr for
b2,
b3,
b4 being
object of
b1 holds
(
dom (the Comp of b1 . b2,b3,b4) = [:<^b3,b4^>,<^b2,b3^>:] &
rng (the Comp of b1 . b2,b3,b4) c= <^b2,b4^> )
theorem Th21: :: ALTCAT_1:21
definition
let c1 be non
empty with_units AltCatStr ;
let c2 be
object of
c1;
func idm c2 -> Morphism of
a2,
a2 means :
Def19:
:: ALTCAT_1:def 19
for
b1 being
object of
a1 st
<^a2,b1^> <> {} holds
for
b2 being
Morphism of
a2,
b1 holds
b2 * a3 = b2;
existence
ex b1 being Morphism of c2,c2 st
for b2 being object of c1 st <^c2,b2^> <> {} holds
for b3 being Morphism of c2,b2 holds b3 * b1 = b3
uniqueness
for b1, b2 being Morphism of c2,c2 st ( for b3 being object of c1 st <^c2,b3^> <> {} holds
for b4 being Morphism of c2,b3 holds b4 * b1 = b4 ) & ( for b3 being object of c1 st <^c2,b3^> <> {} holds
for b4 being Morphism of c2,b3 holds b4 * b2 = b4 ) holds
b1 = b2
end;
:: deftheorem Def19 defines idm ALTCAT_1:def 19 :
theorem Th22: :: ALTCAT_1:22
canceled;
theorem Th23: :: ALTCAT_1:23
theorem Th24: :: ALTCAT_1:24
theorem Th25: :: ALTCAT_1:25
:: deftheorem Def20 defines quasi-discrete ALTCAT_1:def 20 :
:: deftheorem Def21 defines pseudo-discrete ALTCAT_1:def 21 :
theorem Th26: :: ALTCAT_1:26
theorem Th27: :: ALTCAT_1:27
:: deftheorem Def22 defines DiscrCat ALTCAT_1:def 22 :
theorem Th28: :: ALTCAT_1:28
theorem Th29: :: ALTCAT_1:29