begin
:: deftheorem Def1 defines disjoint_with_NAT FREEALG:def 1 :
Lm1:
( not 0 in rng <*1*> & 0 in rng <*0 *> )
:: deftheorem Def2 defines with_zero FREEALG:def 2 :
begin
:: deftheorem FREEALG:def 3 :
canceled;
:: deftheorem Def4 defines oper FREEALG:def 4 :
:: deftheorem defines GeneratorSet FREEALG:def 5 :
Lm2:
for A being Universal_Algebra
for B being Subset of A st B is opers_closed holds
Constants A c= B
Lm3:
for A being Universal_Algebra
for B being Subset of A st ( B <> {} or Constants A <> {} ) holds
( B is GeneratorSet of A iff the carrier of (GenUnivAlg B) = the carrier of A )
:: deftheorem Def6 defines free FREEALG:def 6 :
:: deftheorem Def7 defines free FREEALG:def 7 :
theorem
begin
:: deftheorem Def8 defines REL FREEALG:def 8 :
:: deftheorem defines DTConUA FREEALG:def 9 :
theorem Th2:
theorem Th3:
:: deftheorem Def10 defines Sym FREEALG:def 10 :
begin
definition
let f be non
empty FinSequence of
NAT ;
let D be non
empty disjoint_with_NAT set ;
let n be
Nat;
assume A1:
n in dom f
;
func FreeOpNSG n,
f,
D -> non
empty homogeneous quasi_total PartFunc of
((TS (DTConUA f,D)) * ),
(TS (DTConUA f,D)) means :
Def11:
(
dom it = (f /. n) -tuples_on (TS (DTConUA f,D)) & ( for
p being
FinSequence of
TS (DTConUA f,D) st
p in dom it holds
it . p = (Sym n,f,D) -tree p ) );
existence
ex b1 being non empty homogeneous quasi_total PartFunc of ((TS (DTConUA f,D)) * ),(TS (DTConUA f,D)) st
( dom b1 = (f /. n) -tuples_on (TS (DTConUA f,D)) & ( for p being FinSequence of TS (DTConUA f,D) st p in dom b1 holds
b1 . p = (Sym n,f,D) -tree p ) )
uniqueness
for b1, b2 being non empty homogeneous quasi_total PartFunc of ((TS (DTConUA f,D)) * ),(TS (DTConUA f,D)) st dom b1 = (f /. n) -tuples_on (TS (DTConUA f,D)) & ( for p being FinSequence of TS (DTConUA f,D) st p in dom b1 holds
b1 . p = (Sym n,f,D) -tree p ) & dom b2 = (f /. n) -tuples_on (TS (DTConUA f,D)) & ( for p being FinSequence of TS (DTConUA f,D) st p in dom b2 holds
b2 . p = (Sym n,f,D) -tree p ) holds
b1 = b2
end;
:: deftheorem Def11 defines FreeOpNSG FREEALG:def 11 :
definition
let f be non
empty FinSequence of
NAT ;
let D be non
empty disjoint_with_NAT set ;
func FreeOpSeqNSG f,
D -> PFuncFinSequence of
(TS (DTConUA f,D)) means :
Def12:
(
len it = len f & ( for
n being
Element of
NAT st
n in dom it holds
it . n = FreeOpNSG n,
f,
D ) );
existence
ex b1 being PFuncFinSequence of (TS (DTConUA f,D)) st
( len b1 = len f & ( for n being Element of NAT st n in dom b1 holds
b1 . n = FreeOpNSG n,f,D ) )
uniqueness
for b1, b2 being PFuncFinSequence of (TS (DTConUA f,D)) st len b1 = len f & ( for n being Element of NAT st n in dom b1 holds
b1 . n = FreeOpNSG n,f,D ) & len b2 = len f & ( for n being Element of NAT st n in dom b2 holds
b2 . n = FreeOpNSG n,f,D ) holds
b1 = b2
end;
:: deftheorem Def12 defines FreeOpSeqNSG FREEALG:def 12 :
:: deftheorem defines FreeUnivAlgNSG FREEALG:def 13 :
theorem Th4:
:: deftheorem defines FreeGenSetNSG FREEALG:def 14 :
theorem Th5:
:: deftheorem Def15 defines pi FREEALG:def 15 :
:: deftheorem Def16 defines @ FREEALG:def 16 :
theorem Th6:
begin
definition
let f be non
empty with_zero FinSequence of
NAT ;
let D be
disjoint_with_NAT set ;
let n be
Nat;
assume A1:
n in dom f
;
func FreeOpZAO n,
f,
D -> non
empty homogeneous quasi_total PartFunc of
((TS (DTConUA f,D)) * ),
(TS (DTConUA f,D)) means :
Def17:
(
dom it = (f /. n) -tuples_on (TS (DTConUA f,D)) & ( for
p being
FinSequence of
TS (DTConUA f,D) st
p in dom it holds
it . p = (Sym n,f,D) -tree p ) );
existence
ex b1 being non empty homogeneous quasi_total PartFunc of ((TS (DTConUA f,D)) * ),(TS (DTConUA f,D)) st
( dom b1 = (f /. n) -tuples_on (TS (DTConUA f,D)) & ( for p being FinSequence of TS (DTConUA f,D) st p in dom b1 holds
b1 . p = (Sym n,f,D) -tree p ) )
uniqueness
for b1, b2 being non empty homogeneous quasi_total PartFunc of ((TS (DTConUA f,D)) * ),(TS (DTConUA f,D)) st dom b1 = (f /. n) -tuples_on (TS (DTConUA f,D)) & ( for p being FinSequence of TS (DTConUA f,D) st p in dom b1 holds
b1 . p = (Sym n,f,D) -tree p ) & dom b2 = (f /. n) -tuples_on (TS (DTConUA f,D)) & ( for p being FinSequence of TS (DTConUA f,D) st p in dom b2 holds
b2 . p = (Sym n,f,D) -tree p ) holds
b1 = b2
end;
:: deftheorem Def17 defines FreeOpZAO FREEALG:def 17 :
definition
let f be non
empty with_zero FinSequence of
NAT ;
let D be
disjoint_with_NAT set ;
func FreeOpSeqZAO f,
D -> PFuncFinSequence of
(TS (DTConUA f,D)) means :
Def18:
(
len it = len f & ( for
n being
Element of
NAT st
n in dom it holds
it . n = FreeOpZAO n,
f,
D ) );
existence
ex b1 being PFuncFinSequence of (TS (DTConUA f,D)) st
( len b1 = len f & ( for n being Element of NAT st n in dom b1 holds
b1 . n = FreeOpZAO n,f,D ) )
uniqueness
for b1, b2 being PFuncFinSequence of (TS (DTConUA f,D)) st len b1 = len f & ( for n being Element of NAT st n in dom b1 holds
b1 . n = FreeOpZAO n,f,D ) & len b2 = len f & ( for n being Element of NAT st n in dom b2 holds
b2 . n = FreeOpZAO n,f,D ) holds
b1 = b2
end;
:: deftheorem Def18 defines FreeOpSeqZAO FREEALG:def 18 :
:: deftheorem defines FreeUnivAlgZAO FREEALG:def 19 :
theorem Th7:
theorem Th8:
theorem Th9:
:: deftheorem defines FreeGenSetZAO FREEALG:def 20 :
:: deftheorem Def21 defines pi FREEALG:def 21 :
theorem Th10: