|
|
|
|
Impressum coh_sp.miz
Interaktion und PortierbarkeitMizar
|
|
:: Coherent Space
:: by Jaros{\l}aw Kotowicz and Konrad Raczkowski
::
:: Received December 29, 1992
:: Copyright (c) 1992-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 TARSKI, XBOOLE_0, CLASSES1, ZFMISC_1, EQREL_1, TOLER_1, SETFAM_1,
SUBSET_1, FUNCT_2, FUNCT_1, RELAT_1, MCART_1, GRAPH_1, ENS_1, PARTFUN1,
CAT_1, COH_SP, STRUCT_0, MONOID_0, RELAT_2, BINOP_1;
notations TARSKI, XBOOLE_0, ZFMISC_1, XTUPLE_0, XFAMILY, SUBSET_1, SETFAM_1,
RELAT_1, RELSET_1, MCART_1, FUNCT_1, PARTFUN1, CLASSES1, FUNCT_2,
BINOP_1, EQREL_1, TOLER_1, STRUCT_0, GRAPH_1, CAT_1;
constructors BINOP_1, EQREL_1, CLASSES1, TOLER_1, CAT_1, RELSET_1, XTUPLE_0,
XFAMILY;
registrations XBOOLE_0, SUBSET_1, FUNCT_1, RELSET_1, PARTFUN1, FUNCT_2,
EQREL_1, CAT_2, CAT_1, XTUPLE_0;
requirements SUBSET, BOOLE;
definitions TARSKI, CLASSES1, XBOOLE_0, RELAT_1, CAT_1;
equalities BINOP_1, CAT_1, GRAPH_1;
expansions TARSKI, RELAT_1, CAT_1;
theorems TARSKI, ZFMISC_1, TOLER_1, ENUMSET1, RELAT_1, FUNCT_2, CLASSES1,
PARTFUN1, FUNCT_1, DOMAIN_1, CAT_1, XBOOLE_0, XBOOLE_1, EQREL_1,
XTUPLE_0;
schemes TOLER_1, TARSKI, FUNCT_2, BINOP_1, XBOOLE_0, XFAMILY;
begin
reserve x,y,z,a,b,c,X,A for set;
:: Coherent Space and Web of Coherent Space
definition
let IT be set;
attr IT is binary_complete means
:Def1:
for A st A c= IT & ( for a,b st a in
A & b in A holds a \/ b in IT) holds union A in IT;
end;
registration
cluster subset-closed binary_complete non empty for set;
existence
proof
take X={{}};
thus for a,b st a in X & b c= a holds b in X
proof
let a,b;
assume that
A1: a in X and
A2: b c= a;
a = {} by A1,TARSKI:def 1;
hence thesis by A1,A2;
end;
thus for A st A c= X & ( for a,b st a in A & b in A holds a \/ b in X)
holds union A in X
proof
let A such that
A3: A c= X and
for a,b st a in A & b in A holds a \/ b in X;
now
per cases by A3,ZFMISC_1: 33;
suppose
A = {};
hence thesis by TARSKI:def 1,ZFMISC_1: 2;
end;
suppose
A = {{}};
then union A = {} by ZFMISC_1: 25;
hence thesis by TARSKI:def 1;
end;
end;
hence thesis;
end;
thus thesis;
end;
end;
definition
mode Coherence_Space is subset-closed binary_complete non empty set;
end;
reserve C,D for Coherence_Space;
theorem
{} in C
proof
{} c= C & for a,b st a in {} & b in {} holds a \/ b in C;
hence thesis by Def1,ZFMISC_1: 2;
end;
theorem Th2:
bool X is Coherence_Space
proof
A1: for A st A c= bool X & ( for a,b st a in A & b in A holds a \/ b in bool
X) holds union A in bool X
proof
let A;
assume that
A2: A c= bool X and
for a,b st a in A & b in A holds a \/ b in bool X;
for a st a in A holds a c= X by A2;
then union A c= X by ZFMISC_1: 76;
hence thesis;
end;
for a, b st a in bool X & b c= a holds b in bool X
proof
let a,b;
a bool X bc=a;
then b c= X by XBOOLE_1: 1;
thesis;
end;
hence thesis by
end
theorem
{{}}CohSp() java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
theorem assum [y WebCohSpE);
x union C implies {x} in C
proof
A1: {,}in CohSp()by
in {,}& in {xy TARSKI: 2;
A1: x in A1,Def3;
A2: X in ;
{x} c= X by A1,ZFMISC_1:31;
hence thesis by A2,CLASSES1:def 1;
end;
definition
be;
func Web(A2 xy E;
: then
for x,yA3:x in X &yin X byZFMISC_187;
for u, be set st u in & v in {,}holds [,]in E
existence
proof
defpred P[set,set] means ex X st X in C & $1 in X & $2 in X;
A1:for x st x in union C holds P[,]
proof
let x such A4: uin xy
A2: x inunionC
take {x};
thus thesis by ,h4,ARSKI:ef 1;
end;
A3: for x,y st x in union C & y in union C & P[java.lang.StringIndexOutOfBoundsException: Range [0, 48) out of bounds for length 40
beTolerance union C
A4: for x,y st x in union C java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
from TOLER_1:sch 1(A1 hence [,]in Web(CohSp() by Th5;
take T;
let x,y be object;
thus [x,y] in T java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 4
proof
assume
,y]in T;
then x in union C & y in union C by ZFMISC_1:87;
hence thesis thus CohSp(Web(C)) C
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
Xjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
A6:
x in unionproof
reconsider A = bool X as Subset-Family of X;
end;
uniqueness by TOLER_1:25;
end;
reserve T for Tolerance of union java.lang.StringIndexOutOfBoundsException: Range [0, 34) out of bounds for length 32
theorem Th5java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
object holds [,]in T iff {,}in C
proof
thus T = Web(C) implies
orxy being object holds [,]inT {,}inC
proof
assume
A1: T = Web(C);
let x, (nion T,nion TT)where T is Element of CSp() TT is
Elementof ()
proof
id union A in Funcs(nion A,nion A) &Funcs(nion A, )in F
then java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 10
A2: X in C and
A3: x in X & y in X by A1,Def2;
{,}c=X by A3,FMISC_1:32;
hence thesis by A2 finUFjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
end;
A4: x A1: f and
A2: C Fby TARSKI:ef 4;
hence ex A,B be ofCSpX st C =(union A,nion B) ;
end;
assume
A5: for x,y being hencef Function byA1java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
xybeing object holds[,] iffex X st X in C &x inX&y in X
proof
let x,y be object;
thus [x,y] java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 4
assume
A6: [x,y]
take {x,y};theorem Th17:
xin (X) iff ex C1,2 st (nion C2C1=
end;
given X such that
A7: X in C and
A8:x in X &y in X;
{x,y} c= X by A8,ZFMISC_1:32;
proof
hence thesis by set F = the set of al
end;
hence thesis by Def2;
end;
theorem Element of CSp();
a in C iff for x,y st x in a & y in a holds {x,y} in C
proof
defpred P[object,object] means {$1} = )&x is Function C1,union C2
thus a in C implies for x,y st x in a & y in a holds {x,y} in C
proof
assume
A1: a in C;
let x,y;
assume x in a & y in a;
then {x,y} c= a by ZFMISC_1:32;
hence thesis by A1,CLASSES1:def 1;
end;
A2: for x,y,z being object st P[x,y] & P[x,z] holds y = z;
consider X such that
A3: for x being object holds x in X iff
ex y being object st y in a & P[y,x] from TARSKI:sch 1(A2);
assume
A4: for x,y st x in a & y in a holds {x,y} in C;
A5: for b,c st b in X & c in X holds b \/ c in C
proof
let java.lang.StringIndexOutOfBoundsException: Range [0, 9) out of bounds for length 7
assumethat
A6: b in A6: b in X : 4;
A7: c consider A,B be Element of CSp()suchthat
consider zbeing object such
A8: z in a and
A9:{}=c by A3,7;
consider y being object such that
A10:y in a and
A11: {y} = b by A3,A6;
;
hence thesis by A11,A9,ENUMSET1:1;
end;
A12: union X = a
proof
thus given A, be of CSp( that
proof
x be object;
assume A5:Funcs(nion A,nion B)in F;
then consider Z be
A13: x hence th by ,ARSKI: 4;
A14: Z;
ex y being object st y in a & Z = {y} by A3,A14;
hence thesis by A13,java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 8
end;
;
assume x in a;
then
A15:Element of CSp(),f is Element of FuncsC(X):(nion CC ={impliesunionC=
x in {{}) & f is of union C,union CC & forx st {,}in f.,yjava.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
hence thesis by end;
end;
proof
let X;
assume x in XclusterMapsCX > empty;
thencoherence
A16: y
A17: {y} = x by set FV [T,]f where T is Elementof CSp() TTis ofCSpX
{,}in
hence thesis by A17,ENUMSET1Function of union T,nion TT &for x, {,y T holds {.,.}inTT}
end;
A =bool X as Subset-amily of X;
end;
theorem Th7:
a in C iff for x,y st x ina&y in a holds [,]in Web()
proof
thus a in C implies for x,y st x in a & y in a holds [x,y] reconsider f as Element of FuncsC()by ;
proof
A1: a in C;
let x,;
assume x in a & y nA by Th16;
then {,}in C by A1,h6;
hence thesis by Th5;
end;
assume
A2: for x,y st x in a & y in a holds [x,y] in Web(C);
now
let hence {.x,.y}in A by A2,3,UNCT_1:8;
assume
then [x, m in FV by A1;
henceend;
end;hence thesis;
end;
end;
theorem
(or x,st in a &y in a holds {x,}in C)implies a c
proof
assume
A1: for x,theorem Th18:
exgC1,2 st l=[C1,2],g]& union C2 ={}
assume x in a={) &g is of union C1,nion for x, st holds{.,
.y in C2
then
A2: {x l in {[C1,2]g]:(nion C2=}implies union C1=} &g is Function of
unionC1 C2 &for x, st {,y} inC1 {.xg.} }
hence thesis by A2,TARSKI:def
end;
theorem Function of union C1,nion C2 & for x,y st {,} holds{.x,.y} java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
Web(C :
proof
assume
A1: Web(C) = Web(D);
thus C c=D
proof
object;
C1,C2],f] in()
assume
then f be Function of union C1,java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 41
hence thesis by ;
end;
let x object;
reconsider xx= reconsider xx=x as set by TARSKI()by A1,h17;
assume in D;
then for z,y hence thesis by A1;
hence thesis by Th7;
end;
theorem
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
proof
assume
A1: union C in C;
C c=bool union C ZFMISC_182;
let x be object;
assume x in bool
hence thesis by A1,LASSES1:ef 1;
end;
theorem
C=bool union C implies Web()= Total union C
proof
&for x, st {,y}in holds {g.,.y} by Th18;
assume
A1: C = bool union C;
now
let x,y be object;
thus [x,y] in t implies {x,y} in C
proof
assume [x,y] in t;
then
A2: x in union C & y in union C by ZFMISC_1:87;
{x,y} c= union C
by A2,TARSKI:def 2;
hence thesis by A1;
end;
assume {x,y} in C;
then x in union C & y in union C by A1,ZFMISC_1:32;
hence [x,y] in t by TOLER_1:2;
end;
hence thesis by Th5;
end;
definition
let X be set;
let E be Tolerance of X;
func CohSp(E) -> Coherence_Space means
:Def3:
for a holds a in it iff for x, y st x in a & y in a holds [x,y] in E;
existence
proof
defpred P[set] means for x,y st x in $1 & y in $1 holds [x,y] in E;
consider Z be set such that
A1: for x holds x in Z iff x in bool X & P[x] from XFAMILY:sch 1;
A2: for A st A c= Z & (for a,b st a in A & b in A holds a \/ b in Z) holds
union A in Z
proof
let A such that
A3: A c= Z and
A4: for a,b st a in A & b in A holds a \/ b in Z;
A5: now
let x,y;
assume that
A6: x in union A and
A7: y in union A;
consider Y1 be set such that
A8: y in Y1 and
A9: Y1 in A by A7,TARSKI:def 4;
consider X1 be set such that
A10: x in X1 and
A11: X1 in A by A6,TARSKI:def 4;
A12: x in X1 \/ Y1 by A10,XBOOLE_0:def 3;
A13: y in X1 \/ Y1 by A8,XBOOLE_0:def 3;
X1 \/ Y1 in Z by A4,A11,A9;
hence [x,y] in E by A1,A12,A13;
end;
now
let a;
assume a in A;
then a in bool X by A1,A3;
hence a c= X;
end;
then union A c= X by ZFMISC_1:76;
hence thesis by A1,A5;
end;
A14: for a,b st a in Z & b c= a holds b in Z
proof
let a,b;
assume that
A15: a in Z and
A16: b c= a;
a in bool X by A1,A15;
then
A17: b c= X by A16,XBOOLE_1:1;
for x,y st x in b & y in b holds [x,y] in E by A1,A15,A16;
hence thesis by A1,A17;
end;
( P[{}])& {} c= X;
then reconsider Z as Coherence_Space by A1,A14,A2,Def1,CLASSES1:def 1;
take Z;
let a;
thus a in Z implies for x,y st x in java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
assumefunc dom l - Element of CSp(
l`1java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
then consider g,1,2 such that
A1: [,2]g]and
;
uniqueness
proof
let C,D;
assume that
A19: for a holds , holds {.,.} in C2 by Th18;
:for a holds a inDiff for x,y st x in a &y in a holds [,]in E;
thus C ;
proof
letx be object;
reconsider xx=xl`2;
assume x in C;
then for z,y st z in xx A2:l =[C1,2]g]and
thesis by A20
end;
let x be object;
reconsider xxy holds {.,.}in ;
assume x in D;
then for z,y st z in xx & y thesis byA2;
hence thesis by A19;
end;
end;
reserve:
theorem
Web(CohSp(E)) = E
proof
let x, ,C1 such that
A1: l = C1,2]g]and
={ implies union C1 ={and
assume [,]in Web(CohSp(E)java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
then
:{java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
x in { [dom l,od l],`]by
hence by A1,ef3;
end;
assume
A2: [x,y] in E;
then
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
forlet XC;
prooffunc $C ->Element of MapsC()
let u,v C]
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
A4set f =idjava.lang.StringIndexOutOfBoundsException: Range [22, 20) out of bounds for length 23
A5:vin{,}java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
A6: v = x or v = y by A5A1: {,}inC
u=x or u =yby ,ARSKI:ef 2;
hence thesis by A2,A3then
end;
then {x,y} in CohSp(E y in union C by A1,h16;
hence[,y]in Web(ohSp())by Th5;
end;
hence thesis;end;
end;
theorem
CohSp(Web(C)) = C
proof
thus CohSp(Web(C)) c= C
proof
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 6
reconsider xx=x as set by TARSKI:1java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
assume x in CohSp(eb();
then for y,z st y in y1&x2 =
hence thesis by proof
end;
let beobject
reconsider xx=x as set by TARSKI [,2]x3 [y1,y2],y3];
assume x in C;
then for y,z st then [x1,2] =[1,y2] by XTUPLE_0:;
hence thesis Def3
end;
theorem Th14
theorem Th21:
proof
thus a inCohSpE) implies a isTolSetof java.lang.StringIndexOutOfBoundsException: Range [45, 46) out of bounds for length 45
proof
assume a in CohSp
then for x,y st x consider g,1,2suchthat
hence thesis by
end;
assume a is TolSet of E;
then C2 and
hence thesis by Def3;
end;
theorem
CohSp(E) = TolSets E
proof
thusCohSpE)c TolSets java.lang.StringIndexOutOfBoundsException: Range [28, 29) out of bounds for length 28
proof
let x be object; xyjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
assume x in CohSp(E);
then x is TolSet of E by Th14;
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0
end;
let x be
e x in TolSets ;
then x is func l2*1 - Element of MapsC()equals
by Th14java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
end;
begin :: Category of Coherence Spaces
definition
let X;
func CSp(X) -> set equals
{ x where x is Subset-Family of X : x is
Coherence_Space };
coherence;
end;
registration
let X;
cluster CSp(X) -> non empty;
coherence
proof
reconsider b = bool X as Subset-Family of X;
set F = { x where x is Subset-Family of X: x is Coherence_Space };
b is Coherence_Space by Th2;
then b in F;
hence thesis;
end;
end;
registration
let X be set;
cluster -> subset-closed binary_complete non empty for Element of CSp(X);
coherence
proof
let C be Element of CSp(X);
C in { x where x is Subset-Family of X : x is Coherence_Space };
then ex x be Subset-Family of X st C = x & x is Coherence_Space;
hence thesis;
end;
end;
reserve C,C1,C2 for Element of CSp(X);
theorem Th16:
{x,y} in C implies x in union C & y in union C
proof
A1: {x} c= {x,y} & {y} c= {x,y} by ZFMISC_1:7;
A2: x in {x} & y in {y} by TARSKI:def 1;
assume {x,y} in C;
hence thesis by A1,A2,TARSKI:def 4;
end;
definition
let X;
func FuncsC(X) -> set equals
union the set of all Funcs(union x,union y) where x is
Element of CSp(X), y is Element of CSp(X);
coherence;
end;
registration
let X;
cluster FuncsC(X) -> non empty functional;
coherence
proof
reconsider A = bool X as Subset-Family of X;
A is Coherence_Space by Th2;
then A in { x where x is Subset-Family of X: x is Coherence_Space};
then reconsider A as Element of CSp(X);
set F = the set of all
Funcs(union T,union TT) where T is Element of CSp(X), TT is
Element of CSp(X);
id union A in Funcs(union A,union A) & Funcs(union A,union A) in F by
FUNCT_2:9;
A8: cod(3*2)l1)=cod l3 by A1,5,h22;
now
t fbeobject;
assume f
then consider C being A9:(l3*2)l1)2 =(3`l2`)*1`by ,,;
((l1) =cod ,3Th22
in TARSKIdef 4;
ex A,B
hence:dom l2 = by ,UNCT_2def1java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
end;
hence thesis by FUNCT_1:ef13;
end;
end;
reserve g for Element of FuncsC(X);
theorem Th17:
x in FuncsC(X) iff ex C1,C2 st (union C2 = {}
{)&x is Function of union C1,nion C2
proof
set F = the set of all
Funcs(union xx,union y) i2*)2 = `*` &dom(2l)=doml A6T;
Element of CSp(X);
thusxin FuncsC() implies ex C1,2 st (nion C2 = { union C1 ={
) & x is java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 4
proof
assume x FuncsC()
then consider C :ef11:
in
A2: existence
consider java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 7
A3: C = Funcs(union A,union B) thus ex f being Function of MapsC()CSp()st for x being Element of
take A MapsC()holds f. =F(x)from FUNCT_2:ch 4;
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 6
end;
given A let h1,2 beFunctionofjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 7
x is ofunion A, ;
A5: Funcs(union A,union B) in F;
java.lang.StringIndexOutOfBoundsException: Range [12, 3) out of bounds for length 46
thesis4java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
end;
definition
let ;
func MapsC(X) -> set equals ()java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
{[C,C]f]where C is Element of CSp() CC is
Element of A7: P[yz2]
{ *1 ;
in CC};
coherence;
end;
registration
let X;
cluster MapsC(X) -> non empty;
coherence
proof
set FV = { [[T,TT],f] where T is java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 9
), f is Element of FuncsC(X) : (union x in MapsC()&y in MapsC()
unionT, &for x, st{,y}in T holds {.,.y}in java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
now
thenz=l2*1;
Ahencethesisjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
then A in { xx consider h being PartFunc[MapsC()MapsC(X)]()such
then reconsider A:for xybeing object
set f = id union A;
m =[A,]f];
A1: union A = {} implies union A = {};
reconsiderf as Element of FuncsC()by Th17;
now
let x,y;
assume
: {,}in A;
then x in union A by Th16;
then
A3: f.x = x by FUNCT_1:18;
y in union A by A2,Th16;
hence {f.,.y}in A by A2,3,UNCT_1:8;
end;
hence m in FV by A1;
end;
hence thesis;
end;
end;
reserve l,l1,l2,l3 for Element of MapsC(X);
theorem Th18:
ex g,C1,C2 st l = [[C1,C2],g] & (union C2 = {} implies union C1
= {}) & g is Function of union C1,union C2 & for x,y st {x,y} in C1 holds {g.x,
g.y} in C2
proof
l in {,1
union C1,union C2thus [2,1]in dom h implies dom l2 =cod l1
then
ex C1assume l2,l1]in dom h;
Function of union C1,union C2 & for x,y st {x,y} in C1 holds {g.x,g.y} in C2;
hence thesis;
end;
theorem Th19:
for f being Function of union C1,union C2 st ( ex z being object st P[2,1,]by A9;
implies union C1={}) & (for x,implies union C1={}) & (for x,y
C1,C2]f]in MapsC()
proof
Functionof union ,nion ;
assume that
A1: union C2={} implies union C1={} end;
: for x, st {x,}in holds {.,.} C2;
reconsider f9 = fassumedoml2=cod l1;
for x, st xy C1holds f9.,f9.}inC2 by A2;
hence hence thesis by A1;
end;
registration
let X be set, l be Element uniqueness
cluster l`2 -> Function-like MapsC()MapsC()]MapsCX
erence
proof
consider g be Element of FuncsC(X) C1,2 be Elementof CSp such that
A1: l = [[C1,C2],g] &
(union C2 ={ implies union = {) g is Function of union ,nion
C2 & for x,y st {x,y} in C1 holds A15: ,1 st dom =cod l1holdsh2[,1]=l2*1java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
thus thesis by A1;
end;
end;
definition
let X,l;
func dom l - letX;
l`1`1;
coherence
proof
consider g,C1,C2 such that
A1: l = [[C1,C2],g] and
={ implies C1 ={}and
g is Function CatStr( (),apsC()CDom X,CCod X,Comp X #;
coherence;
thus thesis by
end
func cod l - letX
l` cluster CohCat X ->Category-ike transitive associative reflexive;
coherence
proof
consider ,C1C2 that
A2: l = [ set M = MapsC() d =CDom X,c = X,p= CComp X;
union C2 Xjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
g is Function of union C1,
C is associative
thus thesis by java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 8
end;
end;
heorem :
l = [[dom l,cod l],l`2]
proof
consider g,C1,C2 such that
A1: l = [[C1,C2],g] and
union C2 = {} implies union =d.h &cod g =c. by Def11,ef12;
ction ,nion C2and
for x,y st {x,y} A11: dom(*)=dom g by A8,h22
thesis ;
end;
Lm1: l`2 = l1`2 & java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 10
proof
l = [[dom l,cod h,g] Comp of C byA1,;
hence thesis by Th20;
end;
definition
let X,C;
func id$C - Element of MapsC(X) equals
[[C,C],id union C];
coherence
proof
set f = id union C;
now
let x,y;
assume
A1: {x,y} in C;
then x in union C by Th16;
then
A2: (id union C).x = x by FUNCT_1:18;
y in union C by A1,Th16;
hence {f.x,f.y} in C by A1,A2,FUNCT_1:18;
end;
hence thesis by Th19;
end;
end;
Lm2: for x1,y1,x2,y2,x3,y3 being set st [[x1,x2],x3] = [[y1,y2],y3] holds x1 =
y1 & x2 = y2
proof
let x1,y1,x2,y2,x3,y3 be set;
assume [[x1,x2],x3] = [[y1,y2],y3];
then [x1,x2] = [y1,y2] by XTUPLE_0:1;
hence thesis by XTUPLE_0:1;
end;
theorem Th21:
(union cod l <> {} or union dom l = {}) & l`2 is Function of
union dom l,union cod l &
for x,y st {x,y} in dom l holds {(l`2).x,(l`2).y} in cod
l
proof
consider g,C1,C2 such that
A1: l = [[C1,C2],g] and
A2: ( union C2={} implies union C1 = {})& g is Function of union C1,
union C2 and
A3: for x,y st {x,y} in C1 holds {g.x,g.y} in C2 by Th18;
A4: C2 = cod l by A1;
A5: g = l`2 & C1 = dom l by A1;
thus (union cod l <> {} or union dom l = {}) & l`2 is Function of union dom
l,union cod l by A1,A2;
let x,y;
assume {x,y} in dom l;
hence thesis by A3,A5,A4;
end;
definition
let X,l1,l2;
assume
A1: cod l1 = dom l2;
func l2*l1 -> Element of MapsC(X) equals
:Def10:
[[dom l1,cod l2],l2`2*l1`2];
coherence
proof
A2: union cod l2 <> {} or union dom l2 = {} by Th21;
A3: union cod l1 <> {} or union dom l1 = {} by Th21;
A4: l1`2 is Function of union dom l1,union cod l1 by Th21;
A5: now
let x,y;
assume
A6: {x,y} in dom l1;
then x in union dom l1 by Th16;
then
A7: x in dom l1`2 by A3,A4,FUNCT_2:def 1;
y in union dom l1 by A6,Th16;
then
A8: y in dom l1`2 by A3,A4,FUNCT_2:def 1;
{l1`2.x,l1`2.y} in cod l1 by A6,Th21;
then {l2`2.(l1`2.x),l2`2.(l1`2.y)} in cod l2 by A1,Th21;
then {(l2`2*l1`2).x,l2`2.(l1`2.y)} in cod l2 by A7,FUNCT_1:13;
hence {(l2`2*l1`2).x,(l2`2*l1`2).y} in cod l2 by A8,FUNCT_1:13;
end;
l2`2 is Function of union dom l2,union cod l2 by Th21;
then l2`2*l1`2 is Function of union dom l1,union cod l2 by A1,A3,A4,
FUNCT_2:13;
hence thesis by A1,A3,A2,A5,Th19;
end;
end;
theorem Th22:
dom l2 = cod l1 implies (l2*l1)`2 = l2`2*l1`2 & dom(l2*l1) = dom
l1 & cod(l2*l1) = cod l2
proof
assume dom l2 = cod l1;
then [[dom l1,cod l2],l2`2*l1`2] = l2*l1 by Def10
.= [[dom(l2*l1),cod(l2*l1)],(l2*l1)`2] by Th20;
hence thesis by Lm2,XTUPLE_0:1;
end;
theorem Th23:
dom l2 = cod l1 & dom l3 = cod l2 implies l3*(l2*l1) = (l3*l2)* l1
proof
assume that
A1: dom l2 = cod l1 and
A2: dom l3 = cod l2;
A3: cod(l2*l1) = cod l2 by A1,Th22;
(l2*l1)`2 = l2`2*l1`2 by A1,Th22;
then
A4: (l3*(l2*l1))`2 = l3`2*(l2`2*l1`2) by A2,A3,Th22;
A5: dom(l3*l2) = dom l2 by A2,Th22;
then
A6: dom((l3*l2)*java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 22
dom(l2*l1) = dom l1 by A1,Th22;
then
A7: dom(l3*(l2*l1)) = dom l1 by A2,A3,Th22;
cod(l3*l2) = cod l3 by A2,Th22;
then
A8: cod((l3*l2)*l1) = cod l3 by A1,A5,Th22;
(l3*l2)`2 = l3`2*l2`2 by A2,Th22;
then
A9: ((l3*l2)*l1)`2 = (l3`2*l2`2)*l1`2 by A1,A5,Th22;
cod(l3*(l2*l1)) = cod l3 by A2,A3,Th22;
hence thesis by A4,A7,A9,A6,A8,Lm1,RELAT_1:36;
end;
theorem
(id$ C)`2 = id union C & dom id$ C = C & cod id$ C = C;
theorem Th25:
l*(id$ dom l) = l & (id$ cod l)*l = l
proof
set i1 = id$ dom l, i2 = id$ cod l;
A1: l`2 is Function of union dom l,union cod l by Th21;
then
A2: rng l`2 c= union cod l by RELAT_1:def 19;
union cod l <> {} or union dom l = {} by Th21;
then
A3: dom l`2 = union dom l by A1,FUNCT_2:def 1;
A4: cod i1 = dom l;
then
A5: cod(l*i1) = cod l by Th22;
(l*i1)`2 = l`2*i1`2 & dom(l*i1) = dom i1 by A4,Th22;
hence l*i1 = l by A3,A5,Lm1,RELAT_1:52;
then x is Tolerance Xby A2;
then hence x inb A3;
A7: cod(i2*l) = cod i2 by ;
(i2*l)`2 = i2`2*l`2 & dom(i2*l) = dom l by A6,Th22;
hence thesis by A2,A7,Lm1,RELAT_1:53;
definition
let X;
func CDom X -> Function of MapsC(X),CSp(X) means
:Def11:
for l holds it
existence
proof X be set;
deffunc F( cluster Toler()- non empty;
exfbeingFunctionof MapsC()CSp()st for x being Element of
MapsCX)holds f. =F() from FUNCT_2:ch 4;
end;
proof
let h1h be Function of MapsC()CSp()such that
A1: for l holds h1. thesis;
A2: ;
now
let l;
thus h1.l = dom l by
. h2. by A2;
end;
hence thesis by FUNCT_2:3;
end;
func CCod X - Function ofMapsC()CSp()means
:ef12:
for l holds it. coherence;
istence
proof
deffunc F(Element of MapsC(X)) =java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
set F = the set of all Toler(Y) where Y is Subset of X;
MapsC(X { c=;
end;
uniqueness
proof
let h1 {in (})byDef15,TOLER_1:4;
A3: for holds. cod l
A4:forl h2. cod l;
now
let l;
thus h1.l = cod l by A3
.= h2.l by A4;
end;
hence thesis by FUNCT_2:63;
end;
func CComp X -> PartFunc of [:MapsC(X),MapsC in Toler_on_subsets()iff st A c=X &x is Tolerance of A
:Def13:
(for l2 f =the set of all Toler() where YSubsetof X;
for l2,l1 st dom x in ex A st A =X &x is Tolerance of A
existence
proof
defpred P[object,object,object] means
for l2,l1 st l2=$1 & l1=$2 holds dom l2 = cod
l1 & $3 = l2*A2: a in f by TARSKdef 4;
,y,1,2 being object inMapsC()& MapsC() &P[,,1]
& P[x,y,z2] holds z1A3:a =Toler() A2;
Y;
let x,thus thesis A1,3,ef15;
assume x in MapsC ;
then reconsider l2= x,l1 =y as Element of MapsCX)
assume that
A6: P[x,y,z1] and
A7 [x,2];
z1 = l2*l1 reconsider A as S of by;
hence thesis by A7;
end;
A8: for x,y,z being object st x in MapsC(X) & y in
z in MapsC()
proof
assume x in MapsC(X) end;
then reconsider l2 = x, l1 = y as theorem
assume P[,,]
then z = l2*l1;
hence thesis;
end;
consider h being PartFunc of [:MapsCp
A9: for x,y being object
holds [x,y] in dom h iff x in MapsC( c=;
ex z being object st P[x,y,z] and
A10:for ,y
st [x,y] {} in Toler({by Def15,OLER_1:4;
(8,A5)
take h;
thus
A11: for l2,l1 holds [theoremTh29java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
proof
let l2,l1;
l1
proof
l2,1]in dom h;
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 6
hence thesis;
end;
hencethesis by A1,ARSKI: 4;
then
hence thesis java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 0
;
let l2,l1;proof
assume dom F =the of ()where Y is Subsetof Xjava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
then [l2,
then P[A1:() Fjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
hence thesis;
henc thesis by A1,ARSKI: 4;
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 4
proof
let h1,h2 be PartFunc of [: Total X in Toler_on_subsets(X) by
A12: for l2,l1 holds [l2,l1] in dom h1 iff dom l2 = cod l1 and
A13: for l2,l1 st dom l2 = cod l1 holds h1.[l2,l1] = l2*l1 and
A14: for l2,l1 holds [l2,l1] in dom h2 iff dom l2 = cod l1 and
A15: for l2,l1 st dom l2 = cod l1 holds h2.[l2,l1] = l2*l1;
A16: dom h1 = dom h2
proof
let x,y be object;
thus [x,y] in dom h1 implies [x,y] in dom h2
proof
assume
A17: [x,y] in dom h1;
then reconsider l2 = x, l1 = y as Element of MapsC(X) by ZFMISC_1:87;
dom l2 = cod l1 by A12,A17;
hence thesis by A14;
end;
assume
A18: [x,y] in dom h2;
then reconsider l2 = x, l1 = y as Element of MapsC(X) by ZFMISC_1:87;
dom l2 = cod l1 by A14,A18;
hence thesis by A12;
end;
now
let l be Element of [:MapsC(X),MapsC(X):] such that
A19: l in dom h1;
consider l2,l1 be Element of MapsC(X) such that
A20: l = [l2,l1] by DOMAIN_1:1;
A21: dom l2 = cod l1 by A12,A19,A20;
then h1.[l2,l1] = l2*l1 by A13;
hence h1.l = h2.l by A15,A20,A21;
end;
hence thesis by A16,PARTFUN1:5;
end;
end;
::$CT
definition
::$CD
let X;
func CohCat(X) -> non empty non void strict CatStr equals
CatStr(# CSp(X),MapsC(X),CDom X,CCod X,CComp X #);
coherence;
end;
registration let X;
cluster CohCat X -> Category-like transitive associative reflexive;
coherence
proof
set M = MapsC(X), d = CDom X, c = CCod X, p = CComp X;
set C = CohCat X;
thus
A1: C is Category-like
proof
let ff,gg be Morphism of C;
reconsider f=ff, g=gg as Element of M;
d.gg = dom g & c.ff = cod f by Def11,Def12;
hence thesis by Def13;
end;
thus
A2: C is transitive
proof
let ff,gg be Morphism of C such that
A3: dom gg=cod ff;
[gg,ff] in dom the Comp of C by A3,A1;
then
A4: (the Comp of C).(gg,ff) = gg(*)ff by CAT_1:def 1;
reconsider f=ff, g=gg as Element of M;
A5: d.g =dom g &c.f=cod f by Def11,Def12;
then
A6: p.[g, {[T,]f]where T is of TOL() TT is
A7: Element of TOL() is Element of () :(TT` ={ implies T2={)&f
dom( is of T`,T` & for x, st [,]in T` holds [.x,.]in TT`}
hencethesisby ,7,ef11,ef12,4;
end;
thus
C is associative
proof
let ff,gg,hh be Morphism of C such that
A8: dom hh = cod gg and
A9: dom gg = cod ff;
reconsider f=ff, g=gg, h=hh as Element of M;
A10: dom h =d. &cod g =c.g by Def11,Def12;
then
A11: dom(h*g) = dom g by A8,Th22;
A12: dom g = d.g & cod f = c.f by Def11,Def12;
then
A13: cod(g*f) = dom h by A8,A9,A10,Th22;
[hh,gg] in dom the Comp of C by A1,A8;
then
A14: hh `,TT`& for x, [,]in T1holds [.,f.]in TT`1}
dom(hh(*)java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 7
then
A15: [hh(*)gg,ff] in dom the then reconsider f as Element ofX Th38;
[g,f]in dom theCompofCby A1,A9;
then
A16: gg(*)ff =(the Comp of C).(gg,ff) by CAT_1:def 1;
cod(gg(*)ff) = cod gg by A2,A9; ;
then [hh,gg(*)ff] in dom the Comp of C by A1,A8;
hence hh(*)(gg(*)ff)
= (the Comp of C).(hh,(the Comp of C).(gg,ff)) by A16,CAT_1:def 1
.= p.[h,g*f] by A9,A12,Def13
.= h*(
.= ,1,2,3 for Element of MapsT(;
.= p.[h*g,f] by A9,A12,A11,heorem Th39:
.= 2 st =[T1,2],] &(2` ={ implies T1`2 ={)&
.= hh of T1`,2` for x, st [,]in ` holds [f.,.]in T2`
end;
in{[T1,2]f] (T2`=}implies T1`2=} &f is Function of T1`,2
reconsider aa = a as Element of CSp X;
reconsider Morphism of C;
17:cod ii =cod id$aa by Def12 . aa;
dom ii = dom id$ aaFunction of T1`,2`2 & for x, st [,] java.lang.StringIndexOutOfBoundsException: Range [62, 61) out of bounds for length 75
then id$ aa in Hom(a,a) by A17;
hence Hom(a,a)<>{};
end;
end;
Lm3:
for a being( x, st [,y] T1`1 holds [.,.]in `)holds [T1,T2]f] MapsT(X
for i being Morphism of a,a st i = id$ aa
for b being Element of CohCat X holds
(Hom(a,b)<>{} implies for g being Morphism of a,b holds g(*)i = g) &
(Hom(b,a)<>{} implies for f being Morphism of b,a holds i(*)f = f)
proof let a be Element of CohCat X, aa be Element of CSp X such that
A1: a = aa;
let i be Morphism of a,a such that
A2: i = id$ aa;
let b be Element of CohCat X;
thus Hom(a,b)<>{} implies for g being Morphism of a,b holds g(*)i = g
proof assume
A3: Hom(a,b)<>{};
let g be Morphism of a,b;
reconsider gg = g as Element of MapsC X;
Hom(a,a)<>{};
then
A4: cod i = a by CAT_1:5 .= dom g by A3,CAT_1:5;
A5: dom gg = dom g by Def11 .= aa by A1,A3,CAT_1:5;
then
A6: cod id$ aa = dom gg;
[g,i] in dom the Comp of CohCat X by A4,CAT_1:def 6;
hence g(*)i = (the Comp of CohCat X).(g,i) by CAT_1:def 1
.= gg*id$ aa by A6,A2,Def13
.= g by A5,Th25;
end;
thus Hom(b,a)<>{} implies for f being Morphism of b,a holds i(*)f = f
proof assume
A7: Hom(b,a)<>{};
let g be Morphism of b,a;
reconsider gg = g as Element of MapsC X;
Hom(a,a)<>{};
then
A8: dom i = a by CAT_1:5 .= cod g by A7,CAT_1:5;
A9: cod gg = cod g by Def12 .= aa by A1,A7,CAT_1:5;
then
A10: dom id$ aa = cod gg;
[i,g] in dom the Comp of CohCat X by A8,CAT_1:def 6;
hence i(*)g = (the Comp of CohCat X).(i,g) by CAT_1:def 1
.= (id$ aa)*gg by A2,A10,Def13
.= g by A9,Th25;
end;
end;
registration let X;
cluster CohCat X -> with_identities;
coherence
proof let a being Element of CohCat X;
reconsider aa = a as Element of CSp X;
reconsider ii = id$ aa as Morphism of CohCat X;
A1: cod ii = cod id$ aa by Def12 .= aa;
dom ii = dom id$ aa by Def11 .= aa;
then ii in Hom(a,a) by A1;
then reconsider ii as Morphism of a,a by CAT_1:def 5;
take ii;
thus thesis by Lm3;
end;
end;
begin :: Category of Tolerances
definition
let X be set;
func Toler(X) -> set means
:Def15:
x in it iff x is Tolerance of X;
existence
proof
defpred P[object] means $1 is Tolerance of X;
consider a such that
A1: for x being object
holds x in a iff x in bool [:X,X:] & P[x] from XBOOLE_0:sch
1;
take a;
let x;
thus x in a implies x is Tolerance of X by A1;
assume x is Tolerance of X;
hence thesis by A1;
end;
uniqueness
proof
let a,b be set;
assume that
A2: x in a iff x is Tolerance of X and
A3: x in b iff x is Tolerance of X;
now
let x be object;
A4: now
assume x in b;
then x is Tolerance of X by A3;
hence x in a by A2;
end;
now
assume x in a;
then x is Tolerance of X by A2;
hence x in b by A3;
end;
hence x in a iff x in b by A4;
end;
hence thesis by TARSKI:2;
end;
end;
registration
let X be set;
cluster Toler(X) -> non empty;
coherence
proof
set T = the Tolerance of X;
inTolerX by Def15;
hence thesis;
end;
end;
definition
let X be set;
func Toler_on_subsets(X) -> set equals
union the set of all Toler(Y) where Y is Subset of
X;
coherence;
end;
registration
let Xbeset;
cluster Toler_on_subsets(X) -endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
coherence
proof
set F = the set of all Toler(Y) whereT2`2 ={ implies T1`2 = {} and
{ =X;
then
A1: Toler({}) in F;
{} in Toler({}) by Def15,TOLER_1:14;
hence thesis A1,TARSKI:ef4;
end;
end;
theorem
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
proof
set f = the set of all Toler(Y) where Y is Subset of X;
thus x in Toler_on_subsets(X) implies ex A st A c= X & x is Tolerance of A
proof
assume x in Toler_on_subsets(X);
then consider a such that
A1: x in a and
A2: a in f by TARSKI:def 4;
consider Y be Subset of X such that
A3: a = Toler(Y) by A2;
take Y;
thus thesis by A1,A3,Def15;
end;
given A such that
A4: A c= X and
A5: x is Tolerance of A;
reconsider A as Subset of X by A4;
A6: Toler(A) in f;
x in Toler(A) by A5,Def15;
hence thesis by A6,TARSKI:def 4;
end;
theorem
Total a in Toler(a) by Def15;
theorem Th28:
{} in Toler_on_subsets(X)
proof
set F = the set of all Toler(Y) where Y is Subset of X;
{} c= X;
then
A1: Toler({}) in F;
{} in Toler({}) by Def15,TOLER_1:14;
hence thesis by A1,TARSKI:def 4;
end;
theorem Th29:
a c= X implies Total a in Toler_on_subsets(X)
proof
set F = the set of all Toler(Y) where Y is Subset of X;
assume a c= X;
then
A1: Toler(a) in F;
Total a in Toler(a) by Def15;
hence thesis by A1,TARSKI:def 4;
end;
theorem Th30:
a c= X implies id a in Toler_on_subsets(X)
proof
set F = the set of all Toler(Y) where Y is Subset of X;
assume a c= X;
then
A1: Toler(a) in F;
id a in Toler(a) by Def15;
hence thesis by A1,TARSKI:def 4;
end;
theorem
Total X in Toler_on_subsets(X) by Th29;
theorem
;
definition
let X;
func TOL(X) -> set equals
{ [t,Y] where t is Element of Toler_on_subsets(X),
Y is Subset of X : t is Tolerance of Y};
coherence;
end;
registration
let X;
cluster TOL()- non empty;
coherence
proof
set FV = { ;
X: t is Tolerance of Y};
now
reconsider o = {} as Subset of X by XBOOLE_1:2;
reconsider e ={ as Element of Toler_on_subsets() by Th28;
take m m1 &cod(2*1)=cod m2
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
end;
hence thesis;
;
end;
reserve Tend;
theorem
[{},{}] in TOL(X)
proof
{} in Toler_on_subsets(X) & {} c= X by Th28;
hence thesis by TOLER_1:14;
end;
theorem Th34:
a c= X implies [id a,a] in TOL(X)
proof
assume
A1: a c= X;
then id a in Toler_on_subsets(X) by Th30;
hence thesis by A1;
end;
theorem Th35:
a c= X implies [Total a,a] in TOL(X)
proof
assume
A1: a c= X;
then Total a in Toler_on_subsets(X) by Th29;
hence thesis by A1;
end;
theorem
[id X,X] in TOL(X) by Th34;
theorem
[Total X,X] in TOL(X) by Th35;
definition
let X,T;
redefine func T`2 -> Subset of X;
coherence
proof
T in { [t,Y] where t is Element of Toler_on_subsets(X), Y is Subset of
X: t is Tolerance of Y};
then consider t be Element of Toler_on_subsets(X),Y be Subset of X
such that
A1: T = [t,Y] & t is Tolerance of Y;
thus thesis by A1;
end;
redefine func T`1 -> Tolerance of T`2;
coherence
proof
T in { [t,Y] where t is Element of Toler_on_subsets(X), Y is Subset of
X: t is Tolerance of Y};
then consider
t be Element of Toler_on_subsets(X),Y be Subset of X such that
A2: T = [t,Y] and
A3: t is Tolerance of Y;
thus thesis by A2,A3;
end;
end;
definition
let m2=cod &domm3 m2 implies m3*m2*1) =(3*2) m1
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
Funcs`2,T`)where T is Element of
TOL(X), TT A2 dom m3 =cod m2;
coherence;
end;
registration
let X
cluster FuncsT(X)A4: (3*m2*m1)` = m3`2* A3,h43;
coherence
proof
set F = the set of all
here T is Element of TOL(),TT is of
TOL( (2*m1) = dom *)=dom m1 by A1,h43;
then
A1:: dom(3*m2*1)) =dom by ,3,h43;
Funcs(codm3m2)=cod m3byA2T;
then reconsider
now
let f be object;
assume f in UF;
then consider C being set such that
A2: f in C and
A3: C in F by TARSKI:def 4;
ex A,B be Element of TOL(X) st C = Funcs(A`2,B`2) by A3;
hence f is Function by A2;
end;
hence thesis by FUNCT_1:def 13;
end;
end;
reserve f for Element of FuncsT(X);
theorem Th38:
x in FuncsT(X) iff ex T1,T2 st (T2`2 = {} implies T1`2 = {}) & x
is Function of T1`2,T2`2
proof
set F = the set of all
Funcs(T`2,TT`2) where T is Element of TOL(X), TT is Element of TOL
(X);
thus x in FuncsT(X) implies ex A,B be Element of TOL(X) st (B`2={} implies A
`2={}) & x is Function of A`2,B`2
proof
assume x in FuncsT(X);
then consider C being set such that
A1: x in C and
A2: C in F by TARSKI:def 4;
consider A,B be Element of TOL(X) such that
A3: C = Funcs(A`2,B`2) by A2;
take A,B;
thus thesis by A1,A3,FUNCT_2:66;
end;
given A,B be Element of TOL(X) such that
A4: ( B`2={} implies A`2={})& x is Function of A`2,B`2;
A5: Funcs(A`2,B`2) in F;
x in Funcs(A`2,B`2) by A4,FUNCT_2:8;
hence thesis by A5,TARSKI:def 4;
end;
definition
let X;
func MapsT(X) -> set equals
{ [[T,TT],f] where T is Element of TOL(X), TT is
Element of TOL(X), f is Element of FuncsT(X) : (TT`2 = {} implies T`2 = {}) & f
is Function of T`2,TT`2 & for x,y st [x,y] in T`1 holds [f.x,f.y] in TT`1};
coherence;
end;
registration
let X;
cluster MapsT(X) -> non empty;
coherence
proof
set FV = { [[T,TT],f] where T is Element of TOL(X), TT is Element of TOL(X
), f is Element of FuncsT(X) : (TT`2 = {} implies T`2 = {}) & f is Function of
T`2,TT`2 & for x,y st [x,y] in T`1 holds [f.x,f.y] in TT`1};
now
set a = [Total {}X,{}X], f = id a`2;
take m = [[a,a],f];
reconsider a as Element of TOL(X) by Th35;
a`2 = {} implies a`2 = {};
then reconsider f as Element of FuncsT(X) by Th38;
for x,y st [x,y] in a`1 holds [f.x,f.y] in a`1;
hence m in FV;
end;
hence thesis;
end;
end;
reserve m,m1,m2,m3 for Element of MapsT(X);
theorem Th39:
ex f,T1,T2 st m = [[T1,T2],f] & (T2`2 = {} implies T1`2 = {}) &
f is Function of T1`2,T2`2 & for x,y st [x,y] in T1`1 holds [f.x,f.y] in T2`1
proof
m in {[[T1,T2],f]: (T2`2={} implies T1`2={}) & f is Function of T1`2,T2
`2 & for x,y st [x,y] in T1`1 holds [f.x,f.y] in T2`1};
then ex T1,T2,f st m = [[T1,T2],f] & (T2`2={} implies T1`2={}) & f is
Function of T1`2,T2`2 & for x,y st [x,y] in T1`1 holds [f.x,f.y] in T2`1;
hence thesis;
end;
theorem Th40:
for f being Function of T1`2,T2`2 st (T2`2={} implies T1`2={}) &
(for x,y st [x,y] in T1`1 holds [f.x,f.y] in T2`1) holds [[T1,T2],f] in MapsT(X
)
proof
let f be Function of T1`2,T2`2;
assume that
A1: T2`2={} implies T1`2={} and
A2: for x,y st [x,y] in T1`1 holds [f.x,f.y] in T2`1;
reconsider f9 = f as Element of FuncsT(X) by A1,Th38;
for x,y st [x,y] in T1`1 holds [f9.x,f9.y] in T2`1 by A2;
hence thesis by A1;
end;
registration
let X be set,m be Element of MapsT(X);
cluster m`2 -> Function-like Relation-like for set;
coherence
proof
consider f be Element of FuncsT(X), T1,T2 be Element of TOL(X) such that
A1: m = [[T1,T2],f] &
( T2`2 = {} implies T1`2 = {})& f is Function of T1`2,T2`2 & for x,y st [
x,y] in T1`1 holds [f.x,f.y] in T2`1 by Th39;
thus thesis by A1;
end;
end;
definition
let X,m;
func dom m -> Element of TOL(X) equals
m`1`1;
coherence
proof
consider f,T1,T2 such that
A1: m = [[T1,T2],f] and
T2`2 = {} implies T1`2 = {} and
f is Function of T1`2,T2`2 and
for x,y st [x,y] in T1`1 holds [f.x,f.y] in T2`1 by Th39;
thus thesis by A1;
end;
func cod m -> Element of TOL(X) equals
m`1`2;
coherence
proof
consider f be Element of FuncsT(X),T1,T2 such that
A2: m = [[T1,T2],f] and
T2`2 = {} implies T1`2 = {} and
f is Function of T1`2,T2`2 and
for x,y st [x,y] in T1`1 holds [f.x,f.y] in T2`1 by Th39;
thus thesis by A2;
end;
end;
theorem Th41:
m = [[dom m,cod m],m`2]
proof
consider f,T1,T2 such that
A1: m = [[T1,T2],f] and
T2`2 = {} implies T1`2 = {} and
f is Function of T1`2,T2`2 and
for x,y st [x,y] in T1`1 holds [f.x,f.y] in T2`1 by Th39;
thus thesis by A1;
end;
Lm4: m`2 = m1`2 & dom m = dom m1 & cod m = cod m1 implies m = m1
proof
m = [[dom m,cod m],m`2] by Th41;
hence thesis by Th41;
end;
definition
let X,T;
func id$ T -> Element of MapsT(X) equals
[[T,T],id T`2];
coherence
proof
set f = id T`2;
now
let x,y;
assume
A1: [x,y] in T`1;
then x in T`2 by ZFMISC_1:87;
then
A2:( T`)x =x by FUNCT_1:18;
z in MapsT()
hence [.xf.] in T` by A1,A2,UNCT_1:8;
let x,y,beobject;
thesis by Th40;
reconsider m2 =x,m1 as Element of MapsTX;
end;
theorem Th42:
((cod m)`2 <> {} or (dom m)`2 = {}) & m`2 is Function of (dom m)
assume P[,,];
proof
consider f,T1,T2 such that
A1: m = [[T1,T2],f] ;
A2: consider h being PartFuncof [MapsT()MapsT(),()suchthat
A9:for x,being
A4:T2 =cod m by A1;
ex z being object st P[,z
A10: f x, being object st [x,] dom h holds P[,y,.x,)
from BINOP_1:ch 5
` by A1,A2;
let ;
assume [x,y] in (dom m)`1;
hence thesis by A3,A5,A4;
end;
definition
let X,m1,m2;
assume
A1: cod m1 = dom m2;
func m2*m1 -> Element of MapsT(X) equals
:Def23:
[[dom m1,cod m2],m2`2*m1`2];
coherence
proof
A2: (cod m2)`2 <> {} or (dom m2)`2 = {} by Th42;
A3: (cod m1)`2 <> {} or (dom m1)`2 = {} by Th42;
A4: m1`2 is Function of (dom m1)`2,(cod m1)`2 by Th42;
A5: now
let x,y;
assume
A6: [x,y] in (dom m1)`1;
then x in (dom m1)`2 by ZFMISC_1:87;
then
A7: x in dom m1`2 by A3,A4,FUNCT_2:def 1;
y in (dom m1)`2 by A6,ZFMISC_1:87;
then
A8: y in dom m1`2 by A3,A4,FUNCT_2:def 1;
[m1`2.x,m1`2.y] in (cod m1)`1 by A6,Th42;
then [m2`2.(m1`2.x),m2`2.(m1`2.y)] in (cod m2)`1 by A1,Th42;
then [(m2`2*m1`2).x,m2`2.(m1`2.y)] in (cod m2)`1 by A7,FUNCT_1:13;
hence [(m2`2*m1`2).x,(m2`2*m1`2).y] in (cod m2)`1 by A8,FUNCT_1:13;
end;
m2`2 is Function of (dom m2)`2,(cod m2)`2 by Th42;
then m2`2*m1`2 is Function of (dom m1)`2,(cod m2)`2 by A1,A3,A4,FUNCT_2:13;
hence thesis by A1,A3,A2,A5,Th40;
end;
end;
theorem Th43:
dom m2 = cod m1 implies (m2*m1)`2 = m2`2*m1`2 & dom(m2*m1) = dom
m1 & cod(m2*m1) = cod m2
proof
assume dom m2 = cod m1;
then [[dom m1,cod m2],m2`2*m1`2] = m2*m1 by Def23
.= [[dom(m2*m1),cod(m2*m1)],(m2*m1)`2] by Th41;
hence thesis by Lm2,XTUPLE_0:1;
end;
theorem Th44:
dom m2 = cod m1 & dom m3 = cod m2 implies m3*(m2*m1) = (m3*m2)* m1
proof
assume that
A1: dom m2 = cod m1 and
A2: dom m3 = cod m2;
A3: cod(m2*m1) = cod m2 by A1,Th43;
(m2*m1)`2 = m2`2*m1`2 by A1,Th43;
then
A4: (m3*(m2*m1))`2 = m3`2*(m2`2*m1`2) by A2,A3,Th43;
A5: dom(m3*m2) = dom m2 by A2,Th43;
then
A6: dom((m3*m2)*m1) = dom m1 by A1,Th43;
dom(m2*m1) = dom m1 by A1,Th43;
then
A7: dom(m3*(m2*m1)) = dom m1 by A2,A3,Th43;
cod(m3*m2) = cod m3 by A2,Th43;
then
A8: cod((m3*m2)*m1) = cod m3 by A1,A5,Th43;
(m3*m2)`2 = m3`2*m2`2 by A2,Th43;
then
A9: ((m3*m2)*m1)`2 = (m3`2*m2`2)*m1`2 by A1,A5,Th43;
cod(m3*(m2*m1)) = cod m3 by A2,A3,Th43;
hence thesis by A4,A7,A9,A6,A8,Lm4,RELAT_1:36;
end;
theorem
(id$ T)`2 = id T`2 & dom id$ T = T & cod id$ T = T;
theorem Th46:
m*(id$ dom m) = m & (id$ cod m)*m = m
proof
set A14:for ,1 holds [2m1 in dom m2 = cod m1
A1:m`2 is Function of (om m)2( )2 Th42;
A16 domh1=dom java.lang.StringIndexOutOfBoundsException: Range [20, 21) out of bounds for length 20
A2: rng m`2 c= (cod m)`2 by RELAT_1:def 19;
(cod m)`2 <> {} or (dom m)`2 = {} by Th42;
then
A3: dom m`2 = (dom m)`2 by A1,FUNCT_2:def 1;
:i1 =domm;
end;
A5hence thesis ,:5;
(mend;
java.lang.StringIndexOutOfBoundsException: Range [0, 7) out of bounds for length 4
A6: dom i2 = cod m;
then
A7: coherence;
(i2*java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
hence thesis by A2,A7,Lm4,RELAT_1:53;
end;
definition
let X;
func fDom X -> Function of MapsT(X),TOL(X) means
:Def24:
for m thus :C is Category-ike
existence
proof
deffunc F(Element of MapsT(X) =dom $;
thus ex f being Function of MapsT(X),TOL(X) st for x being Element of
MapsT()holds f. = F()from FUNCT_2sch4
end thesis by ;
uniqueness
proof
let h1,h2 be Function of MapsT(X),TOL(X) such that
A1: for m holds h1.m = dom m and
A2: for m holds h2.m = dom m;
now
let m;
thus h1.m = dom m by A1
.= h2.m by A2;
end;
hence thesis by FUNCT_2:63;
end;
func fCod X -> Function of MapsT(X),TOL( end;
:Def25:
for
,g be Morphism of C such that
proof
of MapsT() =cod $;
thus ex f being Function of MapsT(),OL()st for x being Element of
()holds f. =F()from FUNCT_2:ch 4;
end reconsider f=f,=gg as Element ;
uniqueness: d. =dom g &. cod f by Def24,ef25;
proof
let h1,: .[g,f]=g* by A3,ef26;
A3:for m holds h1.m =cod m and
dom(*)=dom f &()= by A3A5,h43;
now
let m;
thus h1.m = cod m by A3
.= h2.m by A4;
end;
hence thesis by FUNCT_2:63;
end;
func fComp X -> [MapsT()MapsTX)]MapsT()means
:Def26:
(
for m2,m1 holds [m2,m1] in dom it iff dom m2 = cod m1) & for m2,m1 st dom m2 =
cod m1 holds it.[m2,m1] = m2*m1;
existence
proof
defpred P[object,object,object] means
for m2,m1 st m2=$1 & m1=$2 holds dom m2 = cod
m1 & $3 = m2*m1;
A5: for x,y,z1,z2 being object st x in MapsT(X) & y in MapsT(X) & P[x,y,z1]
& P[x,y,z2] holds z1 = z2
proof
let x,y,z1,z2 be object;
assume x in MapsT(X) & y in MapsT(X);
then reconsider m2 = x, m1 = y as Element of MapsT(X);
assume that
A6: P[x,y,z1] and
A7: P[x,y,z2];
z1 = m2*m1 by A6;
hence thesis by A7;
end;
A8: for x,y,z being object st x in MapsT(X) & y in MapsT(X) & P[x,y,z] holds
z in MapsT(X)
proof
let x,y,z be object;
assume x in MapsT(X) & y in MapsT(X);
id Homa,byA17;
assume P[x,y,z];
then z = m2*m1;
hence thesis;
endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
considerhbeing of[MapsT()()]MapsTX that
A9: for x,y being object
holds [x,y] in dom h iff x in MapsT(X) & y in MapsT(X) &
ex z being object st P[x,y,z] and
A10: for x,y being object st [x,y] in dom h holds P[x,y,h.(x,y)]
from BINOP_1:sch 5
(A8, A5);
take h;
thus
A11: for m2,m1 holds [m2,m1] in dom h iff dom m2 = cod m1
proof
let m2,m1;
thus [m2,m1] in dom h implies dom m2 = cod m1
proof
assume [m2,m1] in dom h;
then ex z being object st P[m2,m1,z] by A9;
hence thesis;
end;
assume dom m2 = cod m1;
then P[m2,m1,m2*m1];
hence thesis by A9;
end;
let m2,m1;
assume dom m2 = cod m1;
then [m2,m1] in dom h by A11;
then P[m2,m1,h.(m2,m1)] by A10;
hence thesis;
end;
uniqueness
proof
let h1,h2 be PartFunc of [:MapsT(X),MapsT(X):],MapsT(X) such that
A12: for m2,m1 holds [m2,m1] in dom h1 iff dom m2 = cod m1 and
A13: for m2,m1 st dom m2 = cod m1 holds h1.[m2,m1] = m2*m1 and
A14: for m2,m1 holds [m2,m1] in dom h2 iff dom m2 = cod m1 and
A15: for m2,m1 st dom m2 = cod m1 holds h2.[m2,m1] = m2*m1;
A16: dom h1 = dom h2
proof
let x,y be object;
thus [x,y] in dom h1 implies [x,y] in dom h2
proof
assume
A17: [x,y] in dom h1;
then reconsider m2 = x, m1 = y as Element of MapsT(X) by ZFMISC_1:87;
dom m2 = cod m1 by A12,A17;
hence thesis by A14;
end;
assume
A18: [x,y] in dom h2;
then reconsider m2 = x, m1 = y as Element of MapsT(X) by ZFMISC_1:87;
dom m2 = cod m1 by A14,A18;
hence thesis by A12;
end;
now
let m be Element of [:MapsT(X),MapsT(X):] such that
A19: m in dom h1;
consider m2,m1 be Element of MapsT(X) such that
A20: m = [m2,m1] by DOMAIN_1:1;
A21: dom m2 =codm1 ,19,;
then h1.[m2,m1] = m2*m1 by A13;
hence h1.m = h2.m by A15,A20,A21;
end;
hence thesis by A16,PARTFUN1:5;
end;
end;
java.lang.StringIndexOutOfBoundsException: Range [5, 1) out of bounds for length 57
::$CD
let X;
func TolCat(X) -> non empty non void strict CatStr equals
thusHom(b,)<{ implies for f being Morphism of b, holds i() =f
cejava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
end;
registration
let X;
cluster TolCat() - Category-ike transitive associative reflexive;
java.lang.StringIndexOutOfBoundsException: Range [0, 11) out of bounds for length 9
proof set C = TolCat X;
set M = MapsT(X), d = fDom X, c = fCod X, p = fComp X;
thus A1: C is Category-like
proof
let ff,gg be Morphism of C;
reconsider f=ff, g=gg as Element of M;
d.g = dom g & c.f = cod f by Def24,Def25;
hence thesis by Def26;
end;
thus A2: C is transitive
proof
let ff,gg be Morphism of C such that
A3: dom gg=cod ff;
[gg,ff] in dom the Comp of C by A3,A1;
then
A4: (the Comp of C).(gg,ff) = gg(*)ff by CAT_1:def 1;
reconsider f=ff, g=gg as Element of M;
A5: d.g = dom g & c.f = cod f by Def24,Def25;
then
A6: p.[g,f] = g*f by A3,Def26;
A7: d.f = dom f & c.g = cod g by Def24,Def25;
dom(g*f) = dom f & cod(g*f) = cod g by A3,A5,Th43;
hence thesis by A6,A7,Def24,Def25,A4;
end;
thus C is associative
proof
let ff,gg,hh be Morphism of C such that
A8: dom hh = cod gg and
A9: dom gg = cod ff;
reconsider f=ff, g=gg, h=hh as Element of M;
A10: dom h = d.h & cod g = c.g by Def24,Def25;
then
A11: dom(h*g) = dom g by A8,Th43;
A12: dom g = d.g & cod f = c.f by Def24,Def25;
then
A13: cod(g*f) = dom h by A8,A9,A10,Th43;
[hh,gg] in dom the Comp of C by A8,A1;
then
A14: hh(*)gg = (the Comp of C).(hh,gg) by CAT_1:def 1;
[gg,ff] in dom the Comp of C by A9,A1;
then
A15: gg(*)ff = (the Comp of C).(gg,ff) by CAT_1:def 1;
dom(hh(*)gg) = dom gg by A2,A8;
then
A16: [hh(*)gg,ff] in dom the Comp of C by A1,A9;
cod(gg(*)ff) = cod gg by A2,A9;
then [hh,gg(*)ff] in dom the Comp of C by A1,A8;
hence hh(*)(gg(*)ff)
= (the Comp of C).(hh,(the Comp of C).(gg,ff)) by A15,CAT_1:def 1
.= p.[h,g*f] by A9,A12,Def26
.= h*(g*f) by A13,Def26
.= (h*g)*f by A8,A9,A10,A12,Th44
.= p.[h*g,f] by A9,A12,A11,Def26
.= (the Comp of C).((the Comp of C).(hh,gg),ff) by A8,A10,Def26
.= hh(*)gg(*)ff by A14,A16,CAT_1:def 1;
end;
let a be Object of C;
reconsider aa = a as Element of TOL X;
reconsider ii = id$ aa as Morphism of C;
A17: cod ii = cod id$ aa by Def25 .= aa;
dom ii = dom id$ aa by Def24 .= aa;
then id$ aa in Hom(a,a) by A17;
hence Hom(a,a)<>{};
end;
end;
Lm5:
for a being Element of TolCat X, aa being Element of TOL X st a = aa
for i being Morphism of a,a st i = id$ aa
for b being Element of TolCat X holds
(Hom(a,b)<>{} implies for g being Morphism of a,b holds g(*)i = g) &
(Hom(b,a)<>{} implies for f being Morphism of b,a holds i(*)f = f)
proof let a be Element of TolCat X, aa be Element of TOL X such that
A1: a = aa;
let i be Morphism of a,a such that
A2: i = id$ aa;
let b be Element of TolCat X;
thus Hom(a,b)<>{} implies for g being Morphism of a,b holds g(*)i = g
proof assume
A3: Hom(a,b)<>{};
let g be Morphism of a,b;
reconsider gg = g as Element of MapsT X;
Hom(a,a)<>{};
then
A4: cod i = a by CAT_1:5 .= dom g by A3,CAT_1:5;
A5: dom gg = dom g by Def24 .= aa by A1,A3,CAT_1:5;
then
A6: cod id$ aa = dom gg;
[g,i] in dom the Comp of TolCat X by A4,CAT_1:def 6;
hence g(*)i = (the Comp of TolCat X).(g,i) by CAT_1:def 1
.= gg*id$ aa by A6,A2,Def26
.= g by A5,Th46;
end;
thus Hom(b,a)<>{} implies for f being Morphism of b,a holds i(*)f = f
proof assume
A7: Hom(b,a)<>{};
let g be Morphism of b,a;
reconsider gg = g as Element of MapsT X;
Hom(a,a)<>{};
then
A8: dom i = a by CAT_1:5 .= cod g by A7,CAT_1:5;
A9: cod gg = cod g by Def25 .= aa by A1,A7,CAT_1:5;
then
A10: dom id$ aa = cod gg;
[i,g] in dom the Comp of TolCat X by A8,CAT_1:def 6;
hence i(*)g = (the Comp of TolCat X).(i,g) by CAT_1:def 1
.= (id$ aa)*gg by A2,A10,Def26
.= g by A9,Th46;
end;
end;
registration
let X;
cluster TolCat(X) -> with_identities;
coherence
proof let a being Element of TolCat X;
reconsider aa = a as Element of TOL X;
reconsider ii = id$ aa as Morphism of TolCat X;
A1: cod ii = cod id$ aa by Def25 .= aa;
dom ii = dom id$ aa by Def24 .= aa;
then ii in Hom(a,a) by A1;
then reconsider ii as Morphism of a,a by CAT_1:def 5;
take ii;
thus thesis by Lm5;
end;
end;
¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.135Angebot
¤
*Bot Zugriff
|
|
2026-11-23
|
|
|
|
|