:: Inverse Limits of Many Sorted Algebras
:: by Adam Grabowski
::
:: Received June
11,
1996
:: Copyright (c)
1996-
2026 Association of Mizar Users
:: (Stowarzyszenie Uzytkownikow Mizara, Bialystok, Poland).
:: This code can be distributed under the GNU General Public Licence
:: version
3.
0 or later, or the Creative Commons Attribution-ShareAlike
:: License version
3.
0 or later, subject to the binding interpretation
:: detailed in file COPYING.interpretation.
:: See COPYING.GPL and COPYING.CC-BY-SA for the full text of these
:: licenses, or see
http://www.gnu.org/licenses/gpl.html and
::
http://creativecommons.org/licenses/by-sa/3.
0/.
environ
vocabularies XBOOLE_0, ORDERS_2, SUBSET_1, STRUCT_0, MSUALG_1, PRALG_2,
FUNCT_1, RELAT_1, CARD_3, RLVECT_2, PBOOLE, XXREAL_0, MEMBER_1, MSUALG_3,
FUNCOP_1, RELAT_2, MCART_1, MSUALG_2, TARSKI, UNIALG_2, MARGREL1,
FUNCT_6, FINSEQ_1, FUNCT_2, COMPLEX1, PARTFUN1, FINSEQ_4, NAT_1, FUNCT_5,
NATTRA_1, PUA2MSS1, ZFMISC_1, MSALIMIT;
notations TARSKI, XBOOLE_0, ZFMISC_1, SUBSET_1, ORDINAL1, XTUPLE_0, MCART_1,
RELAT_1, FUNCT_1, STRUCT_0, RELAT_2, FUNCT_2, FINSEQ_1, FINSEQ_2,
ORDERS_2, FUNCOP_1, RELSET_1, PARTFUN1, CARD_3, BINOP_1, FUNCT_5,
FUNCT_6, PBOOLE, PRALG_1, MSUALG_1, MSUALG_2, MSUALG_3, PRALG_2,
PUA2MSS1, ORDERS_3;
constructors PRALG_1, PRALG_2, MSUALG_3, PUA2MSS1, ORDERS_3, RELSET_1,
FUNCT_5, XTUPLE_0;
registrations XBOOLE_0, SUBSET_1, RELAT_1, FUNCT_1, FUNCT_2, FUNCOP_1, PBOOLE,
STRUCT_0, ORDERS_2, MSUALG_1, MSUALG_2, PRALG_2, MSUALG_3, ORDERS_3,
PRALG_3, ORDINAL1, CARD_3, RELSET_1, FINSEQ_1;
requirements SUBSET, BOOLE;
definitions TARSKI, XBOOLE_0;
equalities TARSKI, BINOP_1, XTUPLE_0;
expansions TARSKI, XBOOLE_0;
theorems CARD_3, FUNCOP_1, FINSEQ_1, FUNCT_1, FUNCT_2, FUNCT_5, FUNCT_7,
MCART_1, MSUALG_1, MSUALG_2, MSUALG_3, MSUHOM_1, ORDERS_2, ORDERS_3,
PARTFUN1, PBOOLE, PRALG_1, PRALG_2, PUA2MSS1, RELAT_1, RELAT_2, TARSKI,
ZFMISC_1, RELSET_1, XBOOLE_0, ORDERS_1, FUNCT_6, FINSEQ_2, XTUPLE_0;
schemes FRAENKEL, PBOOLE, TARSKI, XBOOLE_0;
begin :: Inverse Limits of Many Sorted Algebras
reserve P for non empty Poset,
i, j, k for Element of P;
reserve S for non void non empty ManySortedSign;
registration
let I be non empty set, S;
let AF be MSAlgebra-Family of I,S;
let i be Element of I;
let o be OperSymbol of S;
cluster ((OPER AF).i).o -> Function-like Relation-like;
coherence
proof
ex U0 being MSAlgebra over S st U0 = AF.i & (OPER AF).i = the Charact
of U0 by PRALG_2:def
11;
hence thesis;
end;
end;
registration
let I be non empty set, S;
let AF be MSAlgebra-Family of I,S;
let s be SortSymbol of S;
cluster (SORTS AF).s -> functional;
coherence
proof
(SORTS AF).s = product Carrier (AF,s) by PRALG_2:def
10;
hence thesis;
end;
end;
definition
let P, S;
mode OrderedAlgFam of P,S -> MSAlgebra-Family of the carrier of P,S means
:
Def1: ex
F be ManySortedFunction of the InternalRel of P st for i,j,k st i >= j
& j >= k ex f1 be ManySortedFunction of it.i, it.j, f2 be ManySortedFunction of
it.j, it.k st f1 = F.(j,i) & f2 = F.(k,j) & F.(k,i) = f2 ** f1 & f1
is_homomorphism it.i, it.j;
existence
proof
reconsider T1 = the InternalRel of P as Relation of the carrier of P;
set A = the non-empty MSAlgebra over S;
reconsider Z = (the carrier of P) --> A as ManySortedSet of the carrier of
P;
for i be object st i in the carrier of P holds Z.i is non-empty MSAlgebra
over S by FUNCOP_1:
7;
then reconsider Z as MSAlgebra-Family of the carrier of P, S by
PRALG_2:def
5;
take Z;
set G = (the InternalRel of P) --> id (the Sorts of A);
reconsider G as ManySortedFunction of the InternalRel of P;
take G;
let i, j, k;
consider F2 be ManySortedFunction of Z.j, Z.k such that
A2: F2 = id (the Sorts of A);
assume i >= j & j >= k;
then
A3: [j,i] in the InternalRel of P & [k,j] in the InternalRel of P by
ORDERS_2:def
5;
field T1 = the carrier of P by ORDERS_1:
12;
then T1 is_transitive_in the carrier of P by RELAT_2:def
16;
then
A4: [k,i] in T1 by A3,RELAT_2:def
8;
consider F1 be ManySortedFunction of Z.i, Z.j such that
A6: F1 = id (the Sorts of A);
take F1;
take F2;
F2 ** F1 = id (the Sorts of A) by A6,A2,MSUALG_3:
3;
hence thesis by A3,A6,A2,A4,FUNCOP_1:
7,MSUALG_3:
9;
end;
end;
reserve OAF for OrderedAlgFam of P, S;
definition
let P, S, OAF;
mode Binding of OAF -> ManySortedFunction of the InternalRel of P means
:
Def2: for
i,j,k st i >= j & j >= k ex f1 be ManySortedFunction of OAF.i, OAF.j,
f2 be ManySortedFunction of OAF.j, OAF.k st f1 = it.(j,i) & f2 = it.(k,j) & it.
(k,i) = f2 ** f1 & f1 is_homomorphism OAF.i, OAF.j;
existence by Def1;
end;
definition
let P, S, OAF;
let B be Binding of OAF, i,j;
assume
A1: i >= j;
func bind (B,i,j) -> ManySortedFunction of OAF.i, OAF.j equals
:Def3:
B.(j,i
);
coherence
proof
j >= j by ORDERS_2:
1;
then ex f1 be ManySortedFunction of OAF.i, OAF.j, f2 be ManySortedFunction
of OAF.j, OAF.j st f1 = B.(j,i) & f2 = B.(j,j) & B.(j,i) = f2 ** f1 & f1
is_homomorphism OAF.i, OAF.j by A1,Def2;
hence thesis;
end;
end;
reserve B for Binding of OAF;
theorem Th1:
i >= j & j >= k implies bind (B,j,k) ** bind (B,i,j) = bind (B,i, k)
proof
assume
A1: i >= j & j >= k;
then
A2: ex f1 be ManySortedFunction of OAF.i, OAF.j, f2 be ManySortedFunction of
OAF.j, OAF.k st f1 = B.(j,i) & f2 = B.(k,j) & B.(k,i) = f2 ** f1 & f1
is_homomorphism OAF.i, OAF.j by Def2;
bind (B,j,k) = B.(k,j) & bind (B,i,j) = B.(j,i) by A1,Def3;
hence thesis by A1,A2,Def3,ORDERS_2:
3;
end;
definition
let P, S, OAF;
let IT be Binding of OAF;
attr IT is normalized means
:Def4:
for i holds IT.(i,i) = id (the Sorts of OAF.i);
end;
theorem Th2:
for P,S,OAF,B,i,j st i >= j for f be ManySortedFunction of OAF.i,
OAF.j st f = bind (B,i,j) holds f is_homomorphism OAF.i,OAF.j
proof
let P,S,OAF,B,i,j;
assume
A1: i >= j;
let f be ManySortedFunction of OAF.i,OAF.j;
assume
A2: f = bind (B,i,j);
j >= j by ORDERS_2:
1;
then
ex f1 be ManySortedFunction of OAF.i, OAF.j, f2 be ManySortedFunction of
OAF.j, OAF.j st f1 = B.(j,i) & f2 = B.(j,j) & B.(j,i) = f2 ** f1 & f1
is_homomorphism OAF.i, OAF.j by A1,Def2;
hence thesis by A1,A2,Def3;
end;
definition
let P, S, OAF, B;
func Normalized B -> Binding of OAF means
:Def5:
for i, j st i >= j holds it
.(j,i) = IFEQ (j, i, id (the Sorts of OAF.i), bind (B,i,j) ** id (the Sorts of
OAF.i) );
existence
proof
defpred P[object,object] means
ex i,j st $
1 = [j,i] & $
2 = IFEQ (j, i, id (the
Sorts of OAF.i), bind (B,i,j) ** id (the Sorts of OAF.i) );
A1: now
let ij be object;
assume
A2: ij in the InternalRel of P;
then reconsider i2 = ij`
1, i1 = ij`
2 as Element of P by MCART_1:
10;
reconsider i1, i2 as Element of P;
deffunc Z(object)=
IFEQ (i2, i1, id (the Sorts of OAF.i1), bind (B,i1,i2)
** id (the Sorts of OAF.i1) );
consider A be ManySortedSet of the InternalRel of P such that
A3: for ij be object st ij in the InternalRel of P holds A.ij = Z(ij)
from PBOOLE:sch
4;
take x = A.ij;
take i1,i2;
thus ij = [i2,i1] & x = IFEQ (i2, i1, id (the Sorts of OAF.i1), bind (B,
i1,i2) ** id (the Sorts of OAF.i1) ) by A2,A3,MCART_1:
21;
end;
A4: for z being object st z in the InternalRel of P
ex y being object st P[z,y]
proof let z be object;
assume z in the InternalRel of P;
then ex y being set st P[z,y] by A1;
hence thesis;
end;
consider A be ManySortedSet of the InternalRel of P such that
A5: for ij being object st ij in the InternalRel of P holds P[ij,A.ij]
from PBOOLE:sch
3(A4);
for z be object st z in dom A holds A.z is Function
proof
let z be object;
assume z in dom A;
then z in the InternalRel of P;
then consider i1,i2 be Element of P such that
z = [i2,i1] and
A6: A.z = IFEQ (i2, i1, id (the Sorts of OAF.i1), bind (B,i1,i2) **
id (the Sorts of OAF.i1) ) by A5;
per cases;
suppose
i1 = i2;
hence thesis by A6,FUNCOP_1:def
8;
end;
suppose
i1 <> i2;
hence thesis by A6,FUNCOP_1:def
8;
end;
end;
then reconsider A as ManySortedFunction of the InternalRel of P by
FUNCOP_1:def
6;
now
let i,j,k;
assume that
A7: i >= j and
A8: j >= k;
consider kl be set such that
A9: kl = [j,i];
kl in the InternalRel of P by A7,A9,ORDERS_2:def
5;
then consider i1,j1 be Element of P such that
A10: [j1,i1] = kl and
A11: A.kl = IFEQ (j1, i1, id (the Sorts of OAF.i1), bind (B,i1,j1)
** id (the Sorts of OAF.i1) ) by A5;
A12: i1 = i & j1 = j by A9,A10,XTUPLE_0:
1;
A.(j,i) is ManySortedFunction of OAF.i,OAF.j
proof
per cases;
suppose
i = j;
hence thesis by A10,A11,A12,FUNCOP_1:def
8;
end;
suppose
i <> j;
hence thesis by A10,A11,A12,FUNCOP_1:def
8;
end;
end;
then reconsider f1 = A.(j,i) as ManySortedFunction of OAF.i,OAF.j;
consider lm be set such that
A13: lm = [k,j];
lm in the InternalRel of P by A8,A13,ORDERS_2:def
5;
then consider i2,j2 be Element of P such that
A14: [j2,i2] = lm and
A15: A.lm = IFEQ (j2, i2, id (the Sorts of OAF.i2), bind (B,i2,j2)
** id (the Sorts of OAF.i2) ) by A5;
A16: j2 = k & i2 = j by A13,A14,XTUPLE_0:
1;
A.(k,j) is ManySortedFunction of OAF.j,OAF.k
proof
per cases;
suppose
j = k;
hence thesis by A14,A15,A16,FUNCOP_1:def
8;
end;
suppose
j <> k;
hence thesis by A14,A15,A16,FUNCOP_1:def
8;
end;
end;
then reconsider f2 = A.(k,j) as ManySortedFunction of OAF.j,OAF.k;
A17: for i,j st i >= j & i <> j holds A.(j,i) = bind (B,i,j)
proof
let i,j;
assume that
A18: i >= j and
A19: i <> j;
consider lm be set such that
A20: lm = [j,i];
lm in the InternalRel of P by A18,A20,ORDERS_2:def
5;
then consider i2,j2 be Element of P such that
A21: [j2,i2] = lm and
A22: A.lm = IFEQ (j2, i2, id (the Sorts of OAF.i2), bind (B,i2,j2)
** id (the Sorts of OAF.i2) ) by A5;
i2 = i & j2 = j by A20,A21,XTUPLE_0:
1;
then
A.(j,i) = bind (B,i,j) ** id (the Sorts of OAF.i) by A19,A21,A22,
FUNCOP_1:def
8;
hence thesis by MSUALG_3:
3;
end;
A23: A.(k,i) = f2 ** f1
proof
per cases;
suppose
A24: i = j & j = k;
then f2 = id (the Sorts of OAF.j) by A14,A15,A16,FUNCOP_1:def
8;
hence thesis by A24,MSUALG_3:
3;
end;
suppose
A25: i = j & j <> k;
then f1 = id (the Sorts of OAF.i) by A10,A11,A12,FUNCOP_1:def
8;
hence thesis by A25,MSUALG_3:
3;
end;
suppose
A26: i <> j & j = k;
then f2 = id (the Sorts of OAF.j) by A14,A15,A16,FUNCOP_1:def
8;
hence thesis by A26,MSUALG_3:
4;
end;
suppose
A27: i <> j & j <> k;
then i > j & j > k by A7,A8,ORDERS_2:def
6;
then
A28: i <> k by ORDERS_2:
5;
f2 = bind (B,j,k) ** id (the Sorts of OAF.j) by A14,A15,A16,A27,
FUNCOP_1:def
8;
then
A29: f2 = bind (B,j,k) by MSUALG_3:
3;
f1 = bind (B,i,j) ** id (the Sorts of OAF.i) by A10,A11,A12,A27,
FUNCOP_1:def
8;
then f1 = bind (B,i,j) by MSUALG_3:
3;
then f2 ** f1 = bind (B,i,k) by A7,A8,A29,Th1;
hence thesis by A7,A8,A17,A28,ORDERS_2:
3;
end;
end;
A30: for i,j st i = j holds A.(j,i) = id (the Sorts of OAF.i)
proof
let i,j;
consider lm be set such that
A31: lm = [j,i];
assume
A32: i = j;
then i >= j by ORDERS_2:
1;
then lm in the InternalRel of P by A31,ORDERS_2:def
5;
then consider i2,j2 be Element of P such that
A33: [j2,i2] = lm and
A34: A.lm = IFEQ (j2, i2, id (the Sorts of OAF.i2), bind (B,i2,j2)
** id (the Sorts of OAF.i2) ) by A5;
i2 = i & j2 = j by A31,A33,XTUPLE_0:
1;
hence thesis by A32,A33,A34,FUNCOP_1:def
8;
end;
f1 is_homomorphism OAF.i, OAF.j
proof
per cases;
suppose
A35: i = j;
then A.(i,j) = id (the Sorts of OAF.i) by A30;
hence thesis by A35,MSUALG_3:
9;
end;
suppose
i <> j;
then A.(j,i) = bind (B,i,j) by A7,A17;
hence thesis by A7,Th2;
end;
end;
hence ex f1 be ManySortedFunction of OAF.i, OAF.j, f2 be
ManySortedFunction of OAF.j, OAF.k st f1 = A.(j,i) & f2 = A.(k,j) & A.(k,i) =
f2 ** f1 & f1 is_homomorphism OAF.i, OAF.j by A23;
end;
then reconsider A as Binding of OAF by Def2;
take A;
let i, j;
consider kl be set such that
A36: kl = [j,i];
assume i >= j;
then kl in the InternalRel of P by A36,ORDERS_2:def
5;
then consider i1,j1 be Element of P such that
A37: [j1,i1] = kl and
A38: A.kl = IFEQ (j1, i1, id (the Sorts of OAF.i1), bind (B,i1,j1) **
id (the Sorts of OAF.i1) ) by A5;
i1 = i & j1 = j by A36,A37,XTUPLE_0:
1;
hence thesis by A37,A38;
end;
uniqueness
proof
let N1, N2 be Binding of OAF such that
A39: for i,j st i >= j holds N1.(j,i) = IFEQ (j, i, id (the Sorts of
OAF.i), bind (B,i,j) ** id (the Sorts of OAF.i) ) and
A40: for i,j st i >= j holds N2.(j,i) = IFEQ (j, i, id (the Sorts of
OAF.i), bind (B,i,j) ** id (the Sorts of OAF.i) );
now
let ij be object;
assume
A41: ij in the InternalRel of P;
then reconsider i2 = ij`
1 , i1 = ij`
2 as Element of P by MCART_1:
10;
reconsider i1, i2 as Element of P;
A42: N2.ij = N2.(i2,i1) by A41,MCART_1:
21;
ij = [ij`
1,ij`
2] by A41,MCART_1:
21;
then
A43: i2 <= i1 by A41,ORDERS_2:def
5;
N1.ij = N1.(i2,i1) by A41,MCART_1:
21;
then N1.ij = IFEQ (i2, i1, id (the Sorts of OAF.i1), bind (B,i1,i2) **
id (the Sorts of OAF.i1) ) by A39,A43;
hence N1.ij = N2.ij by A40,A43,A42;
end;
hence N1 = N2 by PBOOLE:
3;
end;
end;
theorem Th3:
for i, j st i >= j & i <> j holds B.(j,i) = (Normalized B).(j,i)
proof
let i, j;
assume that
A1: i >= j and
A2: i <> j;
(Normalized B).(j,i) = IFEQ (j, i, id (the Sorts of OAF.i), bind (B,i,j)
** id (the Sorts of OAF.i) ) & IFEQ (j, i, id (the Sorts of OAF.i), bind (B,i,j
) ** id (the Sorts of OAF.i) ) = bind (B,i,j) ** id (the Sorts of OAF.i) by A1
,A2,Def5,FUNCOP_1:def
8;
then (Normalized B).(j,i) = bind (B,i,j) by MSUALG_3:
3;
hence thesis by A1,Def3;
end;
registration
let P, S, OAF, B;
cluster Normalized B -> normalized;
coherence
proof
let i be Element of P;
i >= i by ORDERS_2:
1;
then
(Normalized B).(i,i) = IFEQ (i, i, id (the Sorts of OAF.i), bind (B,i,
i) ** id (the Sorts of OAF.i) ) by Def5;
hence thesis by FUNCOP_1:def
8;
end;
end;
registration
let P, S, OAF;
cluster normalized for Binding of OAF;
existence
proof
set B = the Binding of OAF;
take Normalized B;
thus thesis;
end;
end;
theorem
for NB be normalized Binding of OAF for i, j st i >= j holds (
Normalized NB).(j,i) = NB.(j,i)
proof
let NB be normalized Binding of OAF;
let i, j;
assume
A1: i >= j;
per cases;
suppose
i <> j;
hence thesis by A1,Th3;
end;
suppose
A2: i = j;
(Normalized NB).(j,i) = IFEQ (j, i, id (the Sorts of OAF.i), bind (NB,
i,j) ** id (the Sorts of OAF.i) ) by A1,Def5;
then (Normalized NB).(j,i) = id (the Sorts of OAF.i) by A2,FUNCOP_1:def
8;
hence thesis by A2,Def4;
end;
end;
definition
let P, S, OAF;
let B be Binding of OAF;
func InvLim B -> strict MSSubAlgebra of product OAF means
:Def6:
for s be
SortSymbol of S for f be Element of (SORTS OAF).s holds f in (the Sorts of it).
s iff for i,j st i >= j holds (bind (B,i,j).s).(f.i) = f.j;
existence
proof
reconsider L = product OAF as non-empty MSAlgebra over S;
deffunc F(SortSymbol of S) = { f where f is Element of product Carrier (
OAF,$
1) : for i,j st i >= j holds (bind (B,i,j).$
1).(f.i) = f.j };
consider C be ManySortedSet of the carrier of S such that
A1: for s be SortSymbol of S holds C.s = F(s) from PBOOLE:sch
5;
for i be object st i in the carrier of S holds C.i c= (SORTS OAF).i
proof
let i be object;
assume i in the carrier of S;
then reconsider s = i as SortSymbol of S;
defpred P[Element of product Carrier (OAF,s)] means for i,j st i >= j
holds (bind (B,i,j).s).($
1.i) = $
1.j;
A2: { f where f is Element of product Carrier (OAF,s) : P[f] } c=
product Carrier (OAF,s) from FRAENKEL:sch
10;
(SORTS OAF).s = product Carrier (OAF,s) by PRALG_2:def
10;
hence thesis by A1,A2;
end;
then C c= SORTS OAF by PBOOLE:def
2;
then reconsider C as ManySortedSubset of SORTS OAF by PBOOLE:def
18;
reconsider C as MSSubset of product OAF by PRALG_2:
12;
for o be OperSymbol of S holds C is_closed_on o
proof
let o be OperSymbol of S;
rng ( (Den(o,product OAF)) | ((C# * the Arity of S).o) ) c= (C * the
ResultSort of S).o
proof
reconsider MS = C as ManySortedSet of (the carrier of S);
reconsider K = ( (Den(o,product OAF)) | ((C# * the Arity of S).o) ) as
Function;
let x be object;
A3: dom (the Arity of S) = the carrier' of S by FUNCT_2:def
1;
assume
A4: x in rng ( (Den(o,product OAF)) | ((C# * the Arity of S).o) );
then consider y be object such that
A5: y in dom K and
A6: x = K.y by FUNCT_1:def
3;
A7: dom K = (dom (Den (o,product OAF))) /\ ((C# * the Arity of S).o)
by RELAT_1:
61;
then y in ((C# * the Arity of S).o) by A5,XBOOLE_0:def
4;
then y in C# . ((the Arity of S).o) by A3,FUNCT_1:
13;
then y in C# . the_arity_of o by MSUALG_1:def
1;
then
A8: y in product (MS * the_arity_of o) by FINSEQ_2:def
5;
x in Result (o,product OAF) by A4;
then dom (the ResultSort of S) = the carrier' of S & x in ((the Sorts
of product OAF) * the ResultSort of S).o by FUNCT_2:def
1,MSUALG_1:def
5;
then x in (the Sorts of product OAF).((the ResultSort of S).o) by
FUNCT_1:
13;
then
A9: x in (SORTS OAF).((the ResultSort of S).o) by PRALG_2:
12;
then reconsider x1 = x as Function;
x in (SORTS OAF).(the_result_sort_of o) by A9,MSUALG_1:def
2;
then
A10: x
is Element of product Carrier (OAF,the_result_sort_of o) by PRALG_2:def
10;
A11: y in (dom (Den (o,product OAF))) by A5,A7,XBOOLE_0:def
4;
now
let s be SortSymbol of S;
for i,j st i >= j holds (bind (B,i,j).the_result_sort_of o). (
x1.i) = x1.j
proof
reconsider OPE = (OPS OAF).o as Function;
A12: Den (o,product OAF) = (the Charact of product OAF).o by
MSUALG_1:def
6
.= (OPS OAF).o by PRALG_2:
12;
reconsider y as Function by A8;
let i,j;
assume
A13: i >= j;
reconsider Co = commute y as Function;
set y1 = (commute y).i;
A14: dom y = dom (MS*the_arity_of o) by A8,CARD_3:
9;
A15: rng (the_arity_of o) c= dom MS
proof
let i be object;
assume i in rng (the_arity_of o);
then i in the carrier of S;
hence thesis by PARTFUN1:def
2;
end;
then
A16: dom y = dom the_arity_of o by A14,RELAT_1:
27;
then
A17: dom y = Seg len (the_arity_of o) by FINSEQ_1:def
3;
rng y c= Funcs(the carrier of P,|.OAF.|)
proof
let z be object;
assume z in rng y;
then consider n be object such that
A18: n in dom y and
A19: z = y.n by FUNCT_1:def
3;
A20: n in dom (MS*the_arity_of o) by A8,A18,CARD_3:
9;
then n in dom (the_arity_of o) by A15,RELAT_1:
27;
then (the_arity_of o).n = (the_arity_of o)/.n by PARTFUN1:def
6;
then reconsider Pa = ((the_arity_of o).n) as SortSymbol of S;
z in (MS*the_arity_of o).n by A8,A19,A20,CARD_3:
9;
then z in MS.((the_arity_of o).n) by A20,FUNCT_1:
12;
then z in { f where f is Element of product Carrier (OAF,Pa) :
for i,j st i >= j holds (bind (B,i,j).Pa).(f.i) = f.j } by A1;
then
A21: ex z9 be Element of product Carrier(OAF,Pa) st z9 = z & for
i,j st i >= j holds (bind (B,i,j).Pa).(z9.i) = z9.j;
then reconsider z as Function;
A22: dom z = dom Carrier (OAF,Pa) by A21,CARD_3:
9
.= the carrier of P by PARTFUN1:def
2;
rng z c= |.OAF.|
proof
let p be object;
assume p in rng z;
then consider r be object such that
A23: r in dom z and
A24: z.r = p by FUNCT_1:def
3;
reconsider r9 = r as Element of P by A22,A23;
reconsider r9 as Element of P;
r9 in the carrier of P;
then
A25: ex U0 be MSAlgebra over S st U0 = OAF.r & (Carrier (OAF,
Pa)).r = (the Sorts of U0).Pa by PRALG_2:def
9;
|.OAF.r9.| in the set of all |.OAF.k.| where k is Element of P;
then |.OAF.r9.| c= union the set of all |.OAF.k.| where
k is Element of P by ZFMISC_1:
74; then
A26: |.OAF.r9.| c= |.OAF.| by PRALG_2:def
7;
dom (the Sorts of (OAF.r9)) = the carrier of S
by PARTFUN1:def
2; then
A27: (the Sorts of (OAF.r9)).Pa in rng (the Sorts of (OAF.r9))
by FUNCT_1:def
3;
dom z = dom Carrier (OAF,Pa) by A21,CARD_3:
9;
then p in (Carrier (OAF,Pa)).r by A21,A23,A24,CARD_3:
9;
then p in union (rng the Sorts of OAF.r9)
by A25,A27,TARSKI:def
4;
then p in |.OAF.r9.| by PRALG_2:def
6;
hence thesis by A26;
end;
hence thesis by A22,FUNCT_2:def
2;
end;
then
A28: y in Funcs(Seg len (the_arity_of o),Funcs(the carrier of P,|.
OAF.|)) by A17,FUNCT_2:def
2;
per cases;
suppose
A29: the_arity_of o <> {};
A30: for t be object st t in dom doms(OAF?.o) holds Co.t in (doms(
OAF?.o)).t
proof
let t be object;
assume t in dom doms(OAF?.o);
then reconsider t as Element of P by PRALG_2:
11;
reconsider yt = Co.t as Function;
dom the_arity_of o <> {} by A29;
then
WW: Seg len (the_arity_of o) <> {} by FINSEQ_1:def
3;
then Co in Funcs(the carrier of P,Funcs (Seg len(the_arity_of
o), |.OAF.|)) by A28,FUNCT_6:
55;
then
A31: ex ss be Function st ss = Co & dom ss = the carrier of P &
rng ss c= Funcs (Seg len(the_arity_of o),|.OAF.|) by FUNCT_2:def
2;
A32: Co.t in product ((the Sorts of OAF.t)*(the_arity_of o))
proof
A33: dom ((the Sorts of OAF.t)*(the_arity_of o)) = dom (
the_arity_of o) by PRALG_2:
3
.= Seg len (the_arity_of o) by FINSEQ_1:def
3;
A34: dom y = Seg len (the_arity_of o) by A16,FINSEQ_1:def
3;
A35: for w be object st w in dom ((the Sorts of OAF.t)*(
the_arity_of o)) holds yt.w in ((the Sorts of OAF.t)*(the_arity_of o)).w
proof
A36: y = commute commute y by WW,A28,FUNCT_6:
57;
let w be object;
reconsider Pi = (the_arity_of o)/.w as SortSymbol of S;
A37: dom (Carrier (OAF,(the_arity_of o)/.w)) = the
carrier of P by PARTFUN1:def
2;
assume
A38: w in dom ((the Sorts of OAF.t)*(the_arity_of o));
then
A39: w in dom (the_arity_of o) by A33,FINSEQ_1:def
3;
y.w in (MS*the_arity_of o).w by A8,A14,A33,A34,A38,CARD_3:
9
;
then
A40: y.w in MS.((the_arity_of o).w) by A39,FUNCT_1:
13;
reconsider y as Function-yielding Function by A36;
reconsider yw = y.w as Function;
y.w in MS.((the_arity_of o)/.w) by A39,A40,PARTFUN1:def
6;
then yw in { ff where ff is Element of product Carrier (
OAF,Pi) : for i,j st i >= j holds (bind (B,i,j).Pi).(ff.i) = ff.j } by A1;
then ex jg be Element of product Carrier(OAF,Pi) st jg =
yw & for i,j st i >= j holds (bind (B,i,j).Pi).(jg.i) = jg.j;
then
A41: yw .t in (Carrier (OAF,(the_arity_of o)/.w)).t by A37,
CARD_3:
9;
ex U0 be MSAlgebra over S st U0 = OAF.t & (Carrier (
OAF,( the_arity_of o)/.w)).t = (the Sorts of U0).(( the_arity_of o)/.w) by
PRALG_2:def
9;
then (Carrier (OAF,(the_arity_of o)/.w)).t = (the Sorts
of (OAF.t)) . ((the_arity_of o).w) by A39,PARTFUN1:def
6
.= ((the Sorts of (OAF.t)) * (the_arity_of o)).w by A39,
FUNCT_1:
13;
hence thesis by A28,A33,A38,A41,FUNCT_6:
56;
end;
Co.t
in rng Co
by A31,FUNCT_1:def
3;
then ex ts
be Function st ts = Co.t & dom ts = Seg len (
the_arity_of o) & rng ts c= |.OAF.|
by A31,FUNCT_2:def
2;
hence thesis by A33,A35,CARD_3:
9;
end;
(doms(OAF?.o)).t =: Inverse Limits
of Many::::
:: Received June 11, 1996:: Copyright (c) 1996-2026 Association of Mizar Users
hence :: version 3.0 or later, or the Creative Commons Attribution-
:: License version 3.0 or later, subject to the binding interpretation
end;
dom ::
http://creativecommons.org/licenses/by
thenSeg ) >{
byFINSEQ_1:ef
3;
then Co
in Funcs ,RELAT_1 , ,MSUALG_3
the_arity_of FUNCT_6 ,PARTFUN1 ,,FUNCT_5
such that
notations,, ,
(the_arity_of o)|..)
by FUNCT_2:def
2;
dom Co = dom doms (OAF?.o)
by AA,PRALG_2:
11;
then
A42: Co
in product doms (OAF?.o)
by A30,CARD_3:
9;
A43: OPE = IFEQ(the_arity_of o,ORDERS_2 FUNCOP_1 , java.lang.StringIndexOutOfBoundsExce
ption: Index 71 out of bounds for length 71
(OAF?.o)) by PRALG_2:def 13;
yin Commute (OAF?o by A11,12A29,:def 8java.lang.StringIndexOutOfBoundsException: Range [75, 76) out of bounds for length 75
reconsider y1 as Function;
A45 (AF?.o) = the ofP PARTFUN1def 2;
java.lang.StringIndexOutOfBoundsException: Range [34, 1) out of bounds for length 51
i in dom java.lang.StringIndexOutOfBoundsException: Range [74, 73) out of bounds for length 74
:idom(?..commutey y d 19;
j in dom (OAF?.o) /\ reserveSfor voidempty;
.).commuteyby:ef ;
A46: x1 = OPE.y by A5,A6,A12,FUNCT_1:47
.= (Commute Frege ibe ofjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
.=c
o.commutey)byA42PRALG_2 ;
then
A47: x1.i = ((OAF?.o).i).( of byPRALG_2:def java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
=(Deno,OAF.i))y1 PRALG_2:7;
dom (the_arity_of o) <> {} by A29;
rity_of )<> { by FINSEQ_1def3;
java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
Coin Funcsthecarrierof ,FuncsSeg lenthe_arity_of o
, |OAF|)by A28,:55;
then
ss be Functionst =Co& dom ss = carrier &
ngss = (Seg the_arity_of),|OAF.) byFUNCT_2d 2java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
in (theSortsof .)*(he_arity_ofo)java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
roof
A49: dom ((the Sorts ofOAF.i)*(the_arity_of o)) = dom (
the_arity_of =F.(kj .ki) * f1& f1
. existence
A50: forproof
the_arity_ofo))holdsy1 in(Sorts OAFi)(the_arity_ofo)w
proof
dom P-
thenlenthe_arity_ofo)>{ FINSEQ_1def3;
then
:y y A28F:57;
let w be object;
reconsider asFamilyof of P,S by
A52: dom (java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 14
of by PARTFUN1:def 2;
assume
A53 G of of P;
take G
w indom(he_arity_ofo by,FINSEQ_1:def 3;
w in dom y by A16,A49,A53,FINSEQ_1A2: F2=id (he Sorts A;
then . in (S*o. A8,A14,CARD_39;
then
:y. .((java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 67
reconsiderfield T1 thecarrierP 12java.lang.StringIndexOutOfBoundsException: Range [47, 48) out of bounds for length 47
reconsider yw =then
y.w in MS java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 59
then
ffis roduct (,
Pi) : for i,j st i >= j holds (bind (B,i,j).Pi).(ff.i) = ff.j } by A1 java.lang.StringIndexOutOfBoundsException: Range [21, 17) out of bounds for length 40
then
:ef4java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
then
iin OAF ).) ,
9;
be S i& C(java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
(/w)i ofU0.( java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 70
PRALG_2then
then
(Carrier ( . jf1 .j,)&f2 =(,j .ji f2 *f1&f1
OAFi) (o.)by A54:ef
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
:;
hencefori,jsti> it
Co
ex i,j st $1 = ,j$=[,]& 2=IFEQ(,i the
rngts c .. : ;
hence java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 8
end;
then reconsider y19 = y1 as Element of Args(o,OAF.i) by PRALG_2:3
;
A57: bind (B,i,j) is_homomorphism OAF.i,OAF.j by A13,Th2;
(bind (B,i,j))#y19 = (commute y).j
proof
A58: dom ((bind (B,i,j))#y19) = dom (the_arity_of o) by MSUALG_3:6
.= Seg len (the_arity_of o) by FINSEQ_1:def 3;
then reconsider One = ((bind (B,i,j))#y19) as FinSequence by
FINSEQ_1:def 2;
dom (the_arity_of o) <> {} by A29; then
A59: Seg len the_arity_of o <> {} by FINSEQ_1:def 3;
then y = commute commute y by A28,FUNCT_6:57;
then reconsider y as Function-yielding Function;
reconsider y2 = ((commute y).j) as Function;
Co in Funcs(the carrier of P,Funcs (Seg len(the_arity_of
o), |.OAF.|)) by A28,A59,FUNCT_6:55;
then
A60: ex ss be Function st ss = Co & dom ss = the carrier of P
& rng ss c= Funcs (Seg len(the_arity_of o),|.OAF.|) by FUNCT_2:def 2;
then Co.j in rng Co by FUNCT_1:def 3;
then
A61: ex ts be Function st ts = Co.j & dom ts = Seg len (
the_arity_of o) & rng ts c= |.OAF.| by A60,FUNCT_2:def 2;
then reconsider Two = y2 as FinSequence by FINSEQ_1:def 2;
A62: Co.i in rng Co by A60,FUNCT_1:def 3;
now
let n be Nat;
reconsider yn = y.n as Function;
reconsider Pi = (the_arity_of o)/.n as SortSymbol of S;
A63: ex ts9 be Function st ts9 = Co.i & dom ts9 = Seg len (
the_arity_of o) & rng ts9 c= |.OAF.| by A60,A62,FUNCT_2:def 2;
assume
A64: n in dom y2;
then
A65: y.n in (MS*the_arity_of o).n by A8,A14,A17,A61,CARD_3:9;
A66: n in dom (the_arity_of o) by A61,A64,FINSEQ_1:def 3;
then (the_arity_of o)/.n = (the_arity_of o).n by
PARTFUN1:def 6;
then yn in MS.Pi by A66,A65,FUNCT_1:13;
then yn in { f where f is Element of product Carrier (OAF,
Pi) : for i,j st i >= j holds (bind (B,i,j).Pi).(f.i) = f.j } by A1;
then
A67: ex yn9 be Element of product Carrier(OAF,Pi) st yn9 =
yn & for i,j st i >= j holds (bind (B,i,j).Pi).(yn9.i) = yn9.j;
(y19.n) = yn.i by A28,A61,A64,FUNCT_6:56;
then ((bind (B,i,j))#y19).n = ((bind (B,i,j)).((
the_arity_of o)/.n)).(yn.i) by A61,A64,A63,MSUALG_3:def 6
.= yn.j by A13,A67;
hence ((bind (B,i,j))#y19).n = y2.n by A28,A61,A64,FUNCT_6:56
;
end;
then for n be Nat st n in Seg len (the_arity_of o) holds One.
n = Twodeffunc object=
byA58:13;
end;
then((,.j)(bind(,,)y ((...(
commute y).j) by PRALG_2 A InternalRelofP that
.= . A46,: 19,b45;
hence thesis by A57,A47,MSUALG_3:def 7;
end;
suppose
the_arity_of o= {;
reconsider co = ((commute (OAF?.o)) i1i2 *id( Sorts .))by A2,,MCART_1:21;
A69: end;
A70: co = ((curry' uncurry (OAFproof
A71 dom(AF?. thecarrierof def2java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
A72: i by,:
by:
=( )obyPRALG_2
.= IFEQ(the_arity_of
.= (commute (java.lang.StringIndexOutOfBoundsException: Range [0, 32) out of bounds for length 24
java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
proof
reconsider co9 byMjava.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 41
A70;
thenf2 =id the .) A14A15,d 8
g=(AF.. ;
A74: x1 = (commute (OAF?.o)).y by A5,A6,A72,FUNCT_1:47;
g = Den(o,OAF.d) by PRALG_2:7;
A27: >& >k
. { P4
A75: y in dom g by A8,A68,CARD_3:10; then
A76: [d,y] in dom (uncurry (OAF?.o) = Bjk * id ( jA14A,A16A,
co .by def 10
.= (uncurry :;
.= g.y by A71f1=bind(,,)* (the of.iby,,A27java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
then x1.d = (Den then * f1 bind (,,k by ,A8A29,h1;
.= (Den (o,OAF.d)).{} by A8,A68,A69,CARD_3:10 end;
hencethesis;
end; then
A77: .i =Den oOAF.){;
Args(o,OAF. consider lm eset suchthat
then reconsider assume
by TARSKI:def1;
set F = bind rnalRelof P by A31,ORDERS_2:def 5;
:Args(,OAF.)={} A68,RALG_2:4java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
bind A:Alm=IFEQ j2,i2 id the of .2),bind Bi2j2java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
then
A79:(.the_result_sort_of).(1i) = Den o,AF.)(FEjava.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
7;
x1.j = Den (o,OAF.j).{} by A73;
thesis byA79,,TARSKI:def 1
;
end;
thenx f f is Element Carrier (OAF,
the_result_sort_of o) : for i,j st iA35: = j;
the_result_sort_of)).(f.i) =fj}by A10;
hence x in C.the_result_sort_of o by A1;
end;
then x in C.the_result_sort_of o;
then
A80: x in C.((the ResultSort of S).o) by MSUALG_1:def 2;
dom (the ResultSort of S) = the carrier' of S by FUNCT_2:def 1;
hence thesis by A80,FUNCT_1:13;
end;
hence thesis by MSUALG_2:def 5;
end;
then
MSUALG_2: 6;
reconsider C as MSSubset of L;
L|Cjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
A82: MSA = MSAlgebra (#C, Opersend
now
let s be SortSymbol of S;
f be of( OAF)s;
A83:fisElement of CarrierOAF,s) by PRALG_2:def 10;
thusconsider kl be set such that
.s).(f assume i >= j;
proof
hereby
assume f in consider,j1 beElement of P
then f in {38 .l j1 i1,id (heS of OAFi1,bind (,1,j1 *
,j sti>= j (ind (B,i,j).s).(g.i) = g.j } by A1,A82;
then i & j A36,A37,XTUPLE_0:1;
st i >=j ( (B,,j.)(.) .;
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 12
end
assume for i,j st i >=A39 for , sti >=holds N1(, (,i the Sorts of
then f in{hwhereh is Element ofproductCarrier (s):for ,j
st i >= j holds (bind (B,i,j).s).(h.i) = h.j } by A83;
hencethesisbyA1A82;
end;
OAFi) (,j * id ( Sorts of OAFi );
hence thesis;
let be object;
proof
java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 40
A84: for s be ij = [ij`1,ij`2] b,java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 41
in the Sorts of A1).s ff for ,j st i>j bind(ij))f. java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
.j and
sbe forfbe of( )sholds
f in (the Sorts of A2).s iff for of .))byA;
.j;
sin carrier Sholds the A1. java.lang.StringIndexOutOfBoundsException: Range [74, 75) out of bounds for length 74
the ofA2)s
let ;
theorem Th3:
then reconsider s = a fori jsti>j >jjava.lang.StringIndexOutOfBoundsException: Range [35, 30) out of bounds for length 66
(he ofA1)ac=(the A2)a
proof
assume that
assume
A86(B)(,i j , id (he of OAF.),bind(B,,j)
(the Sorts of A1) is MSSubset of product OAF by MSUALG_2:def 9;
the ) =the Sorts product byPBOOLEdef 18;
then (the Sorts of A1) c= SORTS OAF by PRALG_2:12;
then(the Sorts A1). c=(SORTS ).s by PBOOLE:def 2;
then reconsider f = e as Element of (SORTS OAF).s by A86;
then ( B).j,) =bind (i,)b MSUALG_3:java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
hence thesis
end;
let e be object;
assume
A87: clusterNormalizedB -> ;
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
then (the Sorts of A2) c i>= i by ORDERS_21;
then
then (he Sorts of A2)s c (SORTS OAF)s byPBOOLE:def 2;
then reconsider f = ei)**id( Sorts OAF.i Def5;
for i,j st i >= j holds (bind (B,i,j) ;
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
tP S,OAF;
hence thesis by MSUALG_2:9,PBOOLE:3;
end;
end;
theorem
DPbediscrete empty Poset,Sfor OAF be OrderedAlgFam of DP,S
for B be normalized Binding of OAF holds InvLim B thusthesis;
proof
let discrete Sjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
let OAF be let NB be normalized Bindingof OAF;
let B be normalized java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 11
s object st s n carrier S (the Sorts InvLim).=
(the Sorts of product OAF).s
proof
let a be object;
a a in carrier of ;
then = a of S
thus t Sortsof (Sortsof OAFa
proof
(Normalized)(, j i .i) )by ,Def5;
(the Sorts of InvLim B) is then (Normalized NB).(j,i) = id SortsofOAF.)byA2,def ;
then (the Sorts of
;
A2: (the Sorts of InvLim B).s c= (the Sorts of product OAF).s by PBOOLE:def 2
;
assume e in (the Sorts of InvLim B).a;
hence thesis by A2;
end;
let e be object;
assume e in (the Sorts of product OAF).a;
then reconsider f = e as Element of (- strictMSSubAlgebra of product OAF means
for i,j be Element of DP st i >= j holds (bind (B,i,j).s).(f.i) = f.j
proof
:ef6:
assume i >= j;
then
A3: i = j java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 10
f in (SORTS OAF).s;
dom (arrier(AF)) the carrier of DP&fin product Carrier (
OAF,s) by PARTFUN1:def 2,PRALG_2:def 10;
then
A4: f.i in (Carrier (OAF,s)).i by CARD_3:9;
bind (B,i,i) = B.(i,i) by Def3,A1: for s be SortSymbol of S holds C.s = Fs from :sch 5;
.= id (the Sortss)fromFRAENKEL:sch java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
A5: (bind (B,i then c=SORTSOAFbyPBOOLE:def 2;
S st U0=OAFjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
t Sorts ofU0).)by :def;
hence thesis by Function;
end;
hence let x be object;
end;
product OAF is MSSubAlgebra of product OAF by MSUALG_2:5;
hence thesis by A1,MSUALG_2:9,PBOOLEA4: x in rng (Den(,product OAF) ((#*the Arity of )o )java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
d
begin :: Sets and Morphisms of Many Sorted Signatures
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 18
A8:yin product (MS* the_arity_ofo by FINSEQ_2:def 5;
definition
let X be set;
attr X is MSS-membered means
:Def7:
xA9 (SORTSOAF.(t ResultSortof.o)byPRALG_212java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
end;
registration
cluster non OPS. byPRALG_212;
existence
proof
setS thestrict empty non ManySortedSignjava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
=(commutey.;
for then
TARSKIdefjava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
then A is MSS- let z be obje;
hence thesis;
endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
end;
registration
cluster strict empty void for ManySortedSign;
existence
proof
dom ({} --> {}) then reconsider Pa = ((the_arity_of o).n) as SortSymbol of S;
then reconsider g = {} --> {} as Function of {},{} by RELSET_1: z in (Sthe_arity_of o).n by A8,A19,A20,CARD_3:9;
{} thenzinMS(the_arity_of .)byA20FUNCT_112
hen zin{ where fis Element ofproduct Carrier (OAF,Pa) :
take ManySortedSign(#{},{},f,g#);
thus thesis;
end;
end;
Lm1: for S be empty void ManySortedSign holds id the carrier of S, id the
carrier' of S form_morphism_between S,S
proof
let S be empty void ManySortedSign;
set f = id the carrier of S;
{}*the ResultSort of S = (the ResultSort of S)*{} & for o be set, p be
Function st o in the carrier' of S & p = (the Arity of S).o holds f*p = (the
Arity of S).(f.o);
hence thesis by PUA2MSS1:def 12,RELAT_1:38;
end;
Lm2: for S be non empty void ManySortedSign holds id the carrier of S, id the
carrier' of S form_morphism_between S,S
proof
let S be non empty void ManySortedSign;
set f = id the carrier of S, g = id the carrier' of S;
A1: rng f c= the carrier of S & rng g c= the carrier' of S;
A2: f*the ResultSort of S = {} & (the ResultSort of S)*g = {};
A3: for o be set, p be Function st o in the carrier' of S & p = (the Arity
of S).o holds f*p = (the Arity of S).(g.o);
dom f = the carrier of S & dom g = the carrier' of S;
hence thesis by A1,A2,A3,PUA2MSS1:def 12;
end;
theorem
for S be void ManySortedSign holds id the carrier of S, id the
carrier' of S form_morphism_between S,S
proof
let S be void ManySortedSign;
per cases;
suppose
S is empty;
hence thesis by Lm1;
end;
suppose
S is non empty;
hence thesis by Lm2;
end;
end;
definition
::$CD
let A;
func MSS_set A -> set means
:Def8:
for x being object holds x in it iff ex S be strict non empty non void
ManySortedSign st x = S & the carrier of S c= A & the carrier' of S c= A;
existence
proof
defpred P[object,object] means
ex S be strict non empty non void ManySortedSign
st S = $2 & $1 = [the carrier of S, the carrier' of S, the Arity of S, the
ResultSort of S];
A1: for x,y,z be object st P[x,y] & P[x,z] holds y = z
proof
let x,y,z be object;
assume ( P[x,y])& P[x,z];
then consider
S1, S2 be strict non empty non void ManySortedSign such that
A2: S1 = y and
A3: x = [the carrier of S1, the carrier' of S1, the Arity of S1, the
ResultSort of S1] and
A4: S2 = z and
A5: x = [the carrier of S2, the carrier' of S2, the Arity of S2, the
ResultSort of S2] and
for ,j st i>= j holds (bind B,,)Pa.(.i) = fj}by ;
A6: the Arity of S1 = the Arity of S2 by A3A21 exz9 be lement of product Carrier(OAF,Pa) st z9 = z & for
the carrier of S1 = the carrier of S2 & the carrier' of S1 = the
carrier' of S2 by A3,A5,XTUPLE_0:5;
hence thesis by A2,A3,A4,A5,A6,XTUPLE_0:5;
end;
consider X be set such that
A7: for x being object holds x in X iff
ex y be object st y in [:bool A, bool A,
PFuncs(A,A*), PFuncs(A,A):] & P[y,x] from TARSKI:sch 1 (A1);
take X;
let x be object;
thus x in X iff ex S be strict non empty non void ManySortedSign st x = S
& the carrier of S c= A & the carrier' of S c= A
proof
thus x in X implies ex S be strict non empty non void ManySortedSign st
x = S & the carrier of S c= A & the carrier' of S c= A
proof
assume x in X;
then consider y be object such that
A8: y in [:bool A, bool A, PFuncs(A,A*), PFuncs(A,A):] and
A9: P[y,x] by A7;
consider S be strict non empty non void ManySortedSign such that
A10: S = x and
y = [the carrier of S, the carrier' of S, the Arity of S, the
ResultSort S by A9;
take S;
the carrier of S in bool A & the carrier' of S in bool A by A8,A9 reconsider ;
MCART_1:80;
hence A10;
end;
given S be strict non empty non void ManySortedSign such that
A11: x = S and
A12: the carrier of S c= A and
A13: the carrier' of S c= A;
dom the ResultSort of S = the carrier' of S & rng the ResultSort of
S c= A by A12,FUNCT_2:def 1;
then
A14: the ResultSort of S in PFuncs (A,A) by A13,PARTFUN1:def 3;
reconsider C = the carrier of S as Subset of A by A12;
consider y be set such that
A15: y = [the carrier of S,the carrier' of S,the Arity of S, the
ResultSort of S];
C* c= A* by MSUHOM_1:2;
then
A16: rng the Arity of S c= A*;
dom the Arity of S c= A by A13;
then the Arity of S in PFuncs (A,A*) by A16,PARTFUN1:def 3;
then y in [:bool A, bool A, PFuncs(A,A*), PFuncs(A,A):] by A12,A13,A15
,A14,MCART_1:80;
hence thesis by A7,A11,A15;
end;
end;
uniqueness
proof
let A1, A2 be set such that
A17: for x being object holds
x in A1 iff ex S be strict non empty non void ManySortedSign st x
= S & the carrier of S c= A & the carrier' of S c= A and
A18: for x being object holds
x in A2 iff ex S be strict non empty non void ManySortedSign st x
= S & the carrier of S c= A & the carrier' of S c= A;
thus A1 c= A2
proof
let x be object;
assume x in A1;
then ex S be strict non empty non void ManySortedSign st x = S & the
carrier of S c= A & the carrier' of S c= A by A17;
hence thesis by A18;
end;
thus A2 c= A1
proof
let x be object;
assume x in A2;
then ex S be strict non empty non void ManySortedSign st x = S & the
carrier of S c= A & the carrier' of S c= A by A18;
hence thesis by A17;
end;
end;
end;
registration
let A;
cluster MSS_set A -> non empty MSS-membered;
coherence
proof
set X = MSS_set A;
set a = the Element of A;
dom ({a} --> a) = {a} & rng ({a} --> a) c= {a} by FUNCOP_1:13;
then reconsider g = {a} --> a as Function of {a},{a} by FUNCT_2:2;
a in {a} by TARSKI:def 1;
then <*a*> in {a}* by FUNCT_7:18;
then reconsider f = {a}--><*a*> as Function of {a},{a let p ;
A1: {a} c= A by ZFMISC_1:31;
ManySortedSign({a,{}fg) in
proof
set SI = ManySortedSign(#{a},{a},
SI isnonvoidnonemptyjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
hence thesis by A1,Def8;
end;
thus is MSS-
proof
let |OAF.. ElementP
assume x in X;
java.lang.StringIndexOutOfBoundsException: Range [39, 6) out of bounds for length 74
carrier of S kElement ofP yZFMISC_174;
hesis
end;
end;
end;
definition
letA27: (theSorts (AF)).Pa in (the Sorts of (OAF.r9))
redefine mode Element of A -> strict non empty non java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 33
coherence by Def7;
end;
definition
let S1,S2 be ManySortedSign;
func MSS_morph (S1,S2) -> set means
xin iff exfgjava.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 49
,g form_morphism_between S1,S2;
proof
eFunction st $1 = [f,] & f,
form_morphism_between S1,S2;
o, |.OAF.)) by A28,FUNCT_6:55;
A1: for x being object holds
x in X iff x in [:PFuncs (the then
PFuncs (the carrier'ofS1, the S2):]&Px from XBOOLE_0 1java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
take X;
thus x in X iff ex f,g be Function st x = [f,g: ot product ( Sorts .*(the_arity_ofo))
form_morphism_between,S2
proof
thus x in X implies ex f,g be Function st x = [f,.=Seglen (the_arity_of )byFINSEQ_1: 3;
form_morphism_betweenA34: y=Seg (he_arity_of o)by A16FINSEQ_1def 3;
given f,g be Function such that
A2: x = [f,g] and
A3: f,g form_morphism_between proof
g c= thecarrier of by A3,
PUA2MSS1:def 12;
then
A4: g reconsider (the_arity_ofo).as SortSymbolof ;
dom f = the carrier of S1 A37 (Carrier(,(the_arity_of o).)
PUA2MSS1:def 12;
then assume
;
x : (he carrierofS1,the carrierof S2,PFuncs(the
reconsider y -ielding Function byA36
hence thesis by A1,A2,A3;
end;
y.inMS((the_arity_of).)by A40PARTFUN1:ef 6java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
uniqueness
proof
java.lang.StringIndexOutOfBoundsException: Range [13, 4) out of bounds for length 21
assume that
A5: x in A1 iff ex f,g be Function st x = [f,g] & f,g
form_morphism_between S1,S2 and
A6: x in A2 iff ex f,g be Function st x = [f,g] & f,g
form_morphism_between S1,S2;
A7: A2 c= A1
proof
let x be object;
assume x in A2;
then ex f,g be Function st x = [f,g] & f,g form_morphism_between S1,S2
by A6;
hence thesis by A5;
end;
A1 c= A2
proof
let x be object;
assume x in A1;
then ex f,g be Function st x = [f,g] & f,g form_morphism_between S1,S2
by A5;
hencethesis by A6;
end;
hence A1 = A2 by A7;
end;
end;