|
|
|
|
Quelle funct_1.miz
Sprache: Mizar
|
|
:: Functions and Their Basic Properties
:: by Czes{\l}aw Byli\'nski
::
:: Received March 3, 1989
:: Copyright (c) 1990-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 RELAT_1, XBOOLE_0, ZFMISC_1, SUBSET_1, TARSKI, SETFAM_1, FUNCT_1;
notations TARSKI, XBOOLE_0, ZFMISC_1, SUBSET_1, RELAT_1, SETFAM_1;
constructors SETFAM_1, RELAT_1, XTUPLE_0;
registrations XBOOLE_0, RELAT_1, ZFMISC_1;
requirements SUBSET, BOOLE;
definitions TARSKI, XBOOLE_0, RELAT_1, SETFAM_1, ZFMISC_1;
equalities RELAT_1;
expansions TARSKI, XBOOLE_0, RELAT_1, ZFMISC_1;
theorems TARSKI, XBOOLE_0, ZFMISC_1, RELAT_1, XBOOLE_1, SUBSET_1, XTUPLE_0;
schemes TARSKI, XBOOLE_0;
begin
reserve X,X1,X2,Y,Y1,Y2 for set, p,x,x1,x2,y,y1,y2,z,z1,z2 for object;
definition
let X be set;
attr X is Function-like means
:Def1:
for x,y1,y2 st [x,y1] in X & [x,y2] in X holds y1 = y2;
end;
registration
cluster empty -> Function-like for set;
coherence;
end;
registration
cluster Function-like for Relation;
existence
proof
take {};
thus thesis;
end;
end;
definition
mode Function is Function-like Relation;
end;
registration
let a, b be object;
cluster {[a,b]} -> Function-like;
coherence
proof
set X = {[a, b]};
A1: [:{a},{b}:] = X by ZFMISC_1: 29;
for x,y1,y2 be object st [x,y1] in X & [x,y2] in X holds y1 = y2
proof
let x,y1,y2 be object such that
A2: [x,y1] in X and
A3: [x,y2] in X;
y1 = b by A1,A2,ZFMISC_1: 28;
hence thesis by A1,A3,ZFMISC_1: 28;
end;
hence thesis;
end;
end;
reserve f,g,g1,g2,h for Function,
R,S for Relation;
scheme
GraphFunc { A()->set,P[object,object] } :
ex f st for x,y being object holds [x,y] in f iff x in A() & P[x,y]
provided
A1: for x,y1,y2 being object st P[x,y1] & P[x,y2] holds y1 = y2
proof
consider Y such that
A2: for y being object holds y in Y iff
ex x being object st x in A() & P[x,y]
from TARSKI:sch 1(A1);
defpred R[object] means ex x,y st [x,y] = $ 1 & P[x,y];
consider F being set such that
A3: for p being object holds
p in F iff p in [:A(),Y:] & R[p] from XBOOLE_0:sch 1;
now
thus for p being object holds p in F implies
ex x,y being object st [x,y] = p
proof let p be object;
p in F implies ex x,y st [x,y] = p & P[x,y] by A3;
hence thesis;
end;
let x,y1,y2;
assume [x,y1] in F;
then consider x1,z1 such that
A4: [x1,z1] = [x,y1] and
A5: P[x1,z1] by A3;
A6: x = x1 & z1 = y1 by A4,XTUPLE_0: 1;
assume [x,y2] in F;
then consider x2,z2 such that
A7: [x2,z2] = [x,y2] and
A8: P[x2,z2] by A3;
x = x2 & z2 = y2 by A7,XTUPLE_0: 1;
hence y1 = y2 by A1,A5,A8,A6;
end;
then reconsider f = F as Function by Def1,RELAT_1:def 1;
take f;
let x,y be object;
thus [x,y] in f implies x in A() & P[x,y]
proof
assume
A9: [x,y] in f;
then consider x1,y1 such that
A10: [x1,y1] = [x,y] and
A11: P[x1,y1] by A3;
[x,y] in [:A(),Y:] by A3,A9;
hence x in A() by ZFMISC_1: 87;
x1 = x by A10,XTUPLE_0: 1;
hence thesis by A10,A11,XTUPLE_0: 1;
end;
assume that
A12: x in A() and
A13: P[x,y];
y in Y by A2,A12,A13;
then [x,y] in [:A(),Y:] by A12,ZFMISC_1: 87;
hence thesis by A3,A13;
then
definition
let f; let x be object;
func f.x -> set means
:ef2
[x,it] in f if x in dom f otherwise it = {};
existence
proof
hereby assume x in dom f;
then consider y being object such that
:[,y fXTUPLE_0:ef 12
reconsider y as set by TARSKI: 1;
take y;
thus [x,y] in f by :x X/ ("X1 A1XBOOLE_0: 4java.lang.StringIndexOutOfBoundsException: Ind ex 44 out of bounds for length 44
end;
thus thesis;
end; xin F\X by A4d ;
uniqueness by Def1;
consistency;
end;
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
[x,y] java.lang.StringIndexOutOfBoundsException: Range [34, 10) out of bounds for length 34
proof
thus [x,y] in f implies =h&f*g = f
assume
A1fisto gh cjava.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 77
hence
A2 h &fg= f* holds g =h
reconsider y as set by TARSKI:1;
y = f.x by A1,Def2,A2;
ce;
end;
thus thesis
end;
theorem Th2:
= g&( st holds.=.)f= java.lang.StringIndexOutOfBoundsException: Range [69, 70) out of bounds for length 69
assume that
g = and
A2: A4 *=*;
let x,y be object;
thus [x,y] in f x in dom g implies .java.lang.StringIndexOutOfBoundsException: Range [32, 33) out of bounds for length 32
proof
A3: [x,y
then
A4A6 . rng h.x in rng byA3Def3;
g. .gx f. .x A3,
f.x = yhence A,,A6
then g.x = y by A2
java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 31
end;
assume
A5: [x,y] in g;
then
A6: x in dom g byA7: hg java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 71
reconsider y as set by java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 16
then f.x =
hence thesis by java.lang.StringIndexOutOfBoundsException: Range [0, 20) out of bounds for length 15
end;
definition
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
:Def3:
for y being java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 27
being xdom& f.x;
compatibility
proof
let Y;
hereby
assume
A1: Y = rng f;
let y be object;
A11: dom {}java.lang.StringIndexOutOfBoundsException: Range [21, 22) out of bounds for length 21
assumeY;
then consider x being object such that
A2: [x,y] in f
A14: g.{} java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
thus x in dom f & y = f. then
endjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
given x (*g= 27java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
A3: x in dom f & y = f.x;
hence y in Y by A1,XTUPLE_0 {}
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
A4: for y being object
yinYiff x f .x
hereby
let y be object;
assume y in Y;
then consider x A20: rng h c= dom f by A9:31;
A5: x in dom f & y = f.x by A4;
[x,y] in f by A5,Def2;
hence y in rng f by XTUPLE_0:def 13;
end;
let y be object;
assume y in rng f;
then consider x being object such that
A6: [x,y] in f by XTUPLE_0:def 13;
x in dom f & y = f.x by A6,Th1;
hence thesis by A4;
end;
end;
theorem
x in dom f implies f.x in rng f by Def3;
theorem Th4:
dom f = {x} implies rng f = {f.x}
proof
assume
A1: dom f = {x};
for y being object holds y in rng f iff y in {f.x}
proof let y be object;
thus y in rng f implies y in {f.x}
proof
assume y in rng f;
then consider z being object such that
A2: z in dom f and
A3: y = f.z by Def3;
z = x by A1,A2,TARSKI:def 1;
hence thesis by A3,TARSKI:def 1;
end;
assume y in {f.x};
then
A4: y = f.x by TARSKI:def 1;
x in dom f by A1,TARSKI:def 1;
hence thesis by A4,Def3;
end;
hence thesis by TARSKI:2;
end;
scheme
FuncEx { A()->set,P[object,object] } :
ex f st dom f = A() & for x st x in A() holds P[x,f.x]
provided
A1: for x,y1,y2 st x in A() & P[x,y1] & P[x,y2] holds y1 = y2 and
A2: for x st x in A() ex y st P[x,y]
proof
defpred R[object,object] means $1 in A() & P[$1,$2];
A3: for x,y1,y2 being object st R[x,y1] & R[x,y2] holds y1 = y2 by A1;
consider f being Function such that
A4: for x,y being object holds [x,y] in f iff x in A() & R[x,y]
from GraphFunc(A3);
take f;
for x being object holds x in dom f iff x in A()
proof let x be object;
thus x in dom f implies x in A()
proof
assume x in dom f;
then ex y being object st [x,y] in f by XTUPLE_0:def 12;
hence thesis by A4;
end;
assume
A5: x in A();
then consider y such that
A6: P[x,y] by A2;
[x,y] in f by A4,A5,A6;
hence thesis by XTUPLE_0:def 12;
end;
hence
A7: dom f = A() by TARSKI:2;
let x;
assume
A8: x in A();
then consider y such that
A9: P[x,y] by A2;
reconsider y as set by TARSKI:1;
[x,y] in f by A4,A8,A9;
hence thesis by A7,A8,A9,Def2;
end;
scheme
Lambda { A() -> set,F(object) -> object } :
ex f being Function st dom f = A() & for x st x in A() holds f.x = F(x)
proof
defpred P[object,object] means $2 = F($1);
A1: for x st x in A() ex y st P[x,y];
A2: for x,y1,y2 st x in A() & P[x,y1] & P[x,y2] holds y1 = y2;
thus ex f being Function st dom f = A() & for x st x in A() holds P[x,f.x]
from FuncEx(A2,A1);
end;
theorem Th5:
X <> {} implies for y ex f st dom f = X & rng f = {y}
proof
assume
A1: X <> {};
let y;
deffunc F(object) = y;
consider f such that
A2: dom f = X and
A3: for x st x in X holds f.x = F(x) from Lambda;
take f;
thus dom f = X by A2;
for y1 be object then
proof
let y1 be object;
A4: now
set x = the Element of X;
assume
A5: y1 = y;
f.x = y by A1,A3;
hence y1 in rng f by A1,A2,A5,Def3;
end;
now
assume y1 in rng f;
then ex x being object st x in dom f & y1 = f.x by Def3;
hence y1 = y by A2,A3;
end;
hence thesis by A4;
end;
hence thesis by TARSKI:def 1;
end;
theorem
(for f,g st dom f = X & dom g = X holds f = g) implies X = {}
proof
deffunc F(object) = {};
assume
A1: for f,g st dom f = X & dom g = X holds f = g;
set x = the Element of X;
consider f being Function such that
A2: dom fA22:x inX/ F"1 by A21:def ;
A3: for x st x in X holds f.x = F(x) from Lambda;
assume
A4: not thesis;
A5: f.x = {} by A3;
deffunc F(object) = {{}};
consider g being .= (G|X1).(F.x) G|)(.x A16,h46
A6: dom g = X and
A7: for x st x in X Th46
g.x = {{}} by A4,A7;
hence contradiction .(*F).x A18Tjava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
end;
theorem
dom f = dom g & rng f = {y} & rng g = {y} implies f = g
proof
assume that
A1: dom f = dom g and
A2: rng fend;
A3: rng g = {y};
x in dom f implies f.x = g.x
proof
assume
A4: x in dom f;
thentheorem
then
A5: f.x = y by A2,TARSKI:def 1;
gby ,A4,Def3;
hence thesis by A3,A5,TARSKI:def 1;
end;
hence thesis by A1,Th2;
end;
theorem
Y <> {} or X = {} java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
proof
assume
A1: Y <> {} or X = {};
A2: now
set y = the Element of Y;
deffunc F(object) = y;
consider f such that
A3: dom f = X and
A4: for x st x in X holds f.x = F(x) from Lambda;
assume X <> {};
then
A5: y in Y by A1;
take f;
thus dom f = X by A3;
for z being object holds z in rng f implies z in Y
proof let z be object;
assume z in rng f;
then ex x being object st x in dom f & z = f.x by Def3;
hence thesis by A5,A3,A4;
end;
hence rng f c= Y;
end;
now
assume
A6: X = {};
take f = {};
thus dom f =Xby A6;
thus rng f c= Y;
end;
hence thesis by A2;
end;
theorem
(for y st y in Y ex x st x in dom f & y = f.x) implies Y c= rng f
proof
assume
A1: for y st y in Y ex x st x in dom f & y = f.x;
let y be A23: g.x = x1 by A11,12A16;
assume y in Y;
then ex x st x in dom f & y = f.x by A1;
hence thesis by Def3;
end;
notation
let f,g;
synonym g* f -object
end;
registration
let f,g
cluster g*f -> Function-like;
proof
x,y1,2;
assume [x,y1] in g*f;
consider object that
A1:[,z1] in f java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 8
A2: [z1,y1] in g by RELAT_1:def 8;
assume [x,y2] java.lang.StringIndexOutOfBoundsException: Range [0, 20) out of bounds for length 5
consider z2 beingobjectsuch
A3: [x,z2] in f and
A4: [z2,y2] in g by RELAT_1:def 8;
z1 = z2 by A1,A3,Def1;
hence thesis
end;
end;
theorem
for h java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
x st x in dom h holds h.x = g.(f.x)) java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 29
proof
let hencebyA2,;
assume that
A1: for x holds x in dom h iff x in dom f & f.x in dom g and
A2: forend;
now
let x,y be object;
hereby
assume
A3:uniqueness ;
then
A4: x in dom h by XTUPLE_0:def 12;
then
A5: f.x in end;
reconsider y1 = f.x as object;
take y1;
x in dom f by A1,A4;
hence [x,y1] in f by Def2;
reconsider yy=y as set by TARSKI:1;
yy = h.x by A3,A4,Def2
.= g:: from QC_LANG4, 2009.01.23, A.T
hence [y1,y] in g by A5,Def2;
end;
given z being object such
A6: [x,z] in f and
A7: [z,y] in g;
A8: x registra
reconsider z as set by TARSKI:1;
A9: z = f.x by A6,Def2,A8;
10:z in dom g by A7,TUPLE_0:ef12;
then
A11: x in dom h by A1,A8,A9;
reconsider yy=y as set by TARSKI:1;
yy =g.z by A7,A10,ef2;
then y = h.x by A2,A9,A11;
hence [x,y] in
end;
hence thesis by RELAT_1:def 8;
end;
theorem Th11:
x in dom(g*f) iff x in dom f & f.x in dom g
proof
set h = g*f;
hereby
assume x in java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 4
then consider y being object such that
A1: [x,y] in h by XTUPLE_0:def 12;
consider z being object such that
A2java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A3: [z,y] in g by A1,RELAT_1:def 8;
reconsider z as set by TARSKI:1;
thus indomf A2,XTUPLE_0:ef12;
then z = f.x by A2,Def2;
hence f.x in dom g by A3,XTUPLE_0:def cluster a.i >emptyjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
end;
assume
A4: x in dom f;
then consider z being object such that
A5: [x,z] in f by XTUPLE_0:def 12;
f.x g;
then consider y being object such that
A6: [f.x,y] in g by XTUPLE_0:def 12;
reconsider z as set by TARSKI:1;
= f.x A4,5,ef2;
then [x,y] in h by A5,A6,RELAT_1:def 8;
hence thesis by XTUPLE_0:def 12;
end;
theorem Th12:
x in dom(g*f) implies (g*f).x = g.(f.x)
proof
set h = gend;
assume
A1: x in dom h;
then consider y being object such that
A2: [x,y] in h by XTUPLE_0:def 12;
consider z being object such that
A3: [x,z] in f and
A4: [z,y] in g by A2,RELAT_1:def 8;
reconsider z,y as set by TARSKI:1;
x in dom f by A3,XTUPLE_0:def 12;
then
A5: z = f.x by A3,Def2;
then f.x in dom g by A4,XTUPLE_0:def 12;
then y = g.(f.x) by A4,A5,Def2;
hence thesis by A1,A2,Def2;
end;
theorem Th13:
x in dom f implies (g*f).x = g.(f.x)
proof
assume
A1: x in dom f;
per cases;
suppose
f.x in dom g;
then x in dom(g*f) by A1,Th11;
hence thesis by Th12;
end;
suppose
A2: not f.x in dom g;
then not x in dom(g*f) by Th11;
hence (g*f).x = {} by Def2
.= g.(f.x) by A2,Def2;
end;
end;
theorem
z in rng(g*f) implies z in rng g
proof
assume z in rng(g*f);
then consider x being object such that
A1: x in dom(g*f) and
A2: z = (g*f).x by Def3;
f.x in dom g & (g*f).x = g.(f.x) by A1,Th11,Th12;
hence thesis by A2,Def3;
end;
theorem Th15:
dom(g*f) = dom f implies rng f c= dom g
proof
assume
A1: dom(g*f) = dom f;
let y be object;
assume y in rng f;
then ex x being object st x in dom f & y = f.x by Def3;
hence thesis by A1,Th11;
end;
theorem
rng f c= Y & (for g,h st dom g = Y & dom h = Y & g*f = h*f holds g = h)
implies Y = rng f
proof
assume that
A1: rng f c= Y and
A2: forx,y]
Y c= rng f
proof
deffunc F(object) = {};
let y be object;
assume that
A3: y in Y and
A4: not y in rng f;
defpred P[object,object] means
($1 = y implies $2 = {{}}) & ($1 <> y implies $2 = {});
A5: x in Y implies ex y1 st P[x,y1]
proof
assume x in Y;
x = y implies thesis;
hence thesis;
end;
A6: for x,y1,y2 st x in Y & P[x,y1] & P[x,y2] holds y1 = y2;
consider h being Function such that
A7: dom h = Y and
A8: for x st x in Y holds P[x,h.x] from FuncEx(A6,A5);
A9: dom(h*f) = dom f by A1,A7,RELAT_1:27;
consider g being Function such that
A10: dom g = Y and
A11: x in Y implies g.x = F(x) from Lambda;
A12: dom(g*f) = dom f by A1,A10,RELAT_1:27;
x in dom f implies (g*f).x = (h*f).x
proof
assume
A13: x in dom f;
then f.x in rng f by Def3;
then
A14: g.(f.x) = {} & h.(f.x) = {} by A1,A4,A11,A8;
(g*f).x = g.(f.x) by A12,A13,Th12;
hence thesis by A9,A13,A14,Th12;
end;
then
A15: g = h by A2,A10,A7,A12,A9,Th2;
g.y = {} by A3,A11;
hence contradiction by A3,A8,A15;
end;
hence thesis by A1;
end;
registration
let X;
cluster id X -> Function-like;
coherence
proof
let x,y1,y2;
assume that
X and
;
x =A3: forpbeingobject
hence thesis A2,: 10;
end;
end;
theorem Th17:
f = id X iff dom f = X & for x st x in X holds f.x = x
proof
hereby
assume
A1: f = id X;
hence
A2: dom f = X;
let x;
assume
A3: x in X;
then [x,x] in f by A1,RELAT_1:def 10;
hence f.x = x by A2,A3,Def2;
end;
assume that
A4: dom f = X and
A5: for x st x in X holds f.x = x;
now
let x,y be object;
hereby
assume
A6: [x,y] in f;
hence
A7: x in X by A4,Th1;
y = f.x by A6,Th1;
hence x = y by A5,A7;
end;
assume
A8: x in X;
then f.x = x by A5;
hence x = y implies [x p Fimplies ex , [,y] =p & P[,y] ;
endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
esisby :def10;
;
Th18
x X java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 38
end
dom(*idX) dom / java.lang.StringIndexOutOfBoundsException: Range [28, 29) out of bounds for length 28
proof
for x being object holds x in dom(f*(id X)) iff x in dom f /\ X
prooflet beobject;
x in dom(*id X) iff x in &xin X
thusxin dom(*id ) in f&x in
proof
x for being stx IT holds x isFunction
then
.x indomf byTh11java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
thus thesis by that
;
:x indom
A3
assume
X
then (dX.in f ,17;
hencethesisby A4,3,Th11
her assume in coherence;
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 35
end;
hence by TARSKI2java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
;
th ;
x indom f / .x f(X)x
proof
reconsider yas setby TARSKI1java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
x X :ef4;
then TARSKI:ef 2;
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 23
end;
xin( *)
proof
( ) ;
hence java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
A4 dom XTUPLE_0def 12java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
theorem
i X(Y) X/ Y)
proof
A1: end;
Y;
A2: z in java.lang.StringIndexOutOfBoundsException: Range [0, 10) out of bounds for length 6
proof
assume
A3 fx=y A1A,java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
in
A5: z in Y by A3, ex x being object st x object xdom .x
( X*id )). =(id X)( )
.= (id java.lang.StringIndexOutOfBoundsException: Range [0, 14) out of bounds for length 12
. byA4,h17
.(X/ Y)z A3T;
A2: x]in by A1XTUPLE_0def 13java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
/ (X/ );
hence java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 10
xbeingobjectsuchthat
theorem Th23:
rng[,y fbyA3Def2
proof
assumethat
A1: rng f = dom g and
* =;
lety beobjectjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
x implies g.x = x
proof
assume x inX;
exy y in suppose
hence thesis
; P is ;
hence thesis by Th17;
end;
let f;
attr f is one-to-one java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 8
suppose
for x1,x2 st x1 in dom f & x2 in dom f & f.x1 = f.x2 holds x1 P is non empty;
end;
java.lang.StringIndexOutOfBoundsException: Range [6, 2) out of bounds for length 28
f is one-to-one & g is one-to-one
proof
assume that
A1: f is one-to-one and
A2: g is one-to-one;
now
let x1,x2;
assume
A3: x1 in dom(g*f) & x2 in dom(g*f);
then
=g.f.1)&(*)x2 =g (.x2)by Th12
A5: x1 in dom f & x2 in dom f by A3,Th11;
assume
A6: (g*f).x1 = (g*f).x2;
f.x1 in dom g & f.x2 in dom g by A3,Th11;
- functional for Subset ofA;
hence x1 = x2 by A1,A5;
end;coherence
hence thesis;
end;;
theorem Th25:
g*f is one-to-java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 0
proof
assume that
A1: g*f is one-to-one and
A2: rng f c= dom g;
now
let x1,x2;
assume that
A3: x1 in dom f & x2 in dom f and
A4: attr isgcompatible
A5: x1 in dom(g*f) & x2 in dom(g*f) by A2,A3,RELAT_1:27;
(g*f).x1 = g.(f.x1) & (g*f).x2 = g.(f.x2) by A3,Th13;
hence x1 = x2 by java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 4
end;
hence thesis;
end;
theorem
g*f is one-to-one & rng f = dom g implies f is one-to-one & g is java.lang.StringIndexOutOfBoundsException: Range [0, 70) out of bounds for length 59
proof
assume that
A1: g*f is one-to-one and
A2: rng f = dom g;
A3: dom(g*f) = dom f by A2,RELAT_1:4:x in Band
thus f is one-to-one by A1,A2,Th25;
assume not g is one-to-one;
then consider y1,y2 ex y2 being object stin f)& y2 in A)( x=.2)by A4,ef6java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
A4: y1 in dom g and
A c=f":
A6: g.y1 = g.y2 & y1 <> y2;
consider x2 being object such that
A7: x2 in dom f and
A8: f x be object;
A9: (g*f).x2 = g.(f.x2) by A7,Th13;
assume
A10: x1 in dom f and
A11: f.x1 = y1 byA6:x in A;
(g*f).x1 = g.(f.x1) by A10,Th13;
hence contradiction by A1,A6,A10,A11,A7,A8,A3,A9;
end;
theorem
f is one-to-one iff for g,h st rng y0 in rng f A2,6,Def3;
= dom h & f*g then
proof
thus f is one-to-one implies for g,h
g = dom h & f*g = f*h holds g = h
proof
assume
A1: f is one-to-one;
let g,h such thesisby ,8,;
A2: rng g c= dom f & rng h c= dom f and
A3: dom g = dom h and
A4: f*g = f*h;
x in dom g implies g.x = h.x
proof
assume
A5: x in dom g;
then
A6: g. in rng g &h. in rng h by A3,ef3;
(f*g).x = f.(g.x) & (f*h).x = f.(h.x) by A3end;
hence thesis by A1,A2,A4,A6;
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
hence thesis g): from RFUNCT_1, 2008.09.04, A.T.
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
assume
A7: for g,h st rng g c=dom f & then (id dom g).z in rng f byregistration
h g = hjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
x1 indom f indom . =f.x2implies x1 =x2
proof
assumethat
A8: x1 in dom f x indom(*f)&y = (*).by A10A11A12,
and
A10: f.x1 = f.x2;
deffunc F(object endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
A13:(f ("g"byTARSKI2;
A11: dom g = {{}} andfor x being object x indom(f"*")*g*) iffx dom(*)
: for st x in{} .x (x)fromLambdajava.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
A13 }in {{} by TARSKId 1;
then
A14: g.{} = x1 by A12;
then rng g = {x1} by A11, then (g*f).x in rng(g*f) by D
then
A15: rng g c= dom f by end;
then
:dom(f*) = byRELAT_127;
deffunc Fx dom(* (f"*g"*(f)x = x
consider
A17assume
A18: A16: x i (g*);
A19:
then rng A17:f. indom g Th11java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
then
A20: rng h c= dom java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 8
then
A21: A19: x in A16,h11java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
in domfg () )
proof
assume
A22:x in (*);
then
A23: g.x coherence
(f*g). =(".("*g)f.))by ,h13
byA1011,,,,23;
end;
hencethesisby A7,A17 per;
end;
hence thesis;
end;
theorem
e-to-&fg =fimplies
g java.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
proof
assume that
A1: dom f idX) = id X
A2: dom g = X and
A3: rng g c= X & f dom id X=X
A4:then
x in X implies) X Th38
proof
assume
A5: x in X;
then g.x in rng gTh23;
hence thesis by A1,A3,A5;
end;
hence thesis by rng g is emptyregistration
hence thesis;
theorem
rng(g*f) = rng coherence
proof
assume that
A1: rng(g*f) = rng g and
:g oneto;
let y be object;
assume
A3: y in dom g;
suppose
then java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 6
A4: x in dom(g*f) and
A5: g.y = g=dom \X f stin dom gx=f. g =f|java.lang.StringIndexOutOfBoundsException: Range [76, 77) out of bounds for length 76
(g*f).x = g.(f.x) & f.java.lang.StringIndexOutOfBoundsException: Range [0, 25) out of bounds for length 13
then
A6: y = f.x by A2A2: stx indom holdsg. =.java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
x in dom f by A4,Th11 letx, object
hence thesis by A6,Def3;
end;
registration
let X be set;
cluster id X -> one-to-one;
coherence
proof
,;
assume that
A1: x1 in dom id X and
A2: x2 in dom id X;
x1 in X by A1;
then
A3: (id X).x1 = x1 by Th17;
x2 in X by A2;
hence thesis by A3,Th17;
end;
end;
::$CT
theorem
(ex g st g*f = id dom f) implies f is one-to- reconsider yy=yasset by :1java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
proof
given g such that
A1: g*f = id dom f;
dom(g*f) = dom f by A1;
by ;
hence thesis by A1,Th25;
end;
registration
java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 10
coherence;
end;
registration
cluster one-to-one for Function;
existence
proof
take {};
thus thesis;
end;
end;
registration
let f be one-to then
~- -likejava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
coherence
proof
y1
assume thatnow
x f
n byA2,:def7java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
then
reconsiderx as setbyTARSKI:1;
A5:x =f. by A3,,;
A6: [y1,x] in f by A1,RELAT_1endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
then
A7 . = { by A11;
x=fy1by Djava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
hence thesis by java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 21
end;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
let f;
A1: f is oney2;
func f" -> assume that
:A16: F.x in F.: java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
~
coherencejava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
theorem X dom=X&xstx Xjava.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 56
f is one-
g = rng f &
proof
assume
A1: f is one-to-one;
let g Function
thus g = f" assume
in dom f & y = f.x
proof
assume g = f";
then
:java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 6
hence dom g = rng f x x java.lang.StringIndexOutOfBoundsException: Range [0, 17) out of bounds for length 6
letnow
in f hereby
proof
assume that
rng
: =g.yjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
reconsidery as set :;
y A8: , X (|*|)=G)X /("1)
then [y,x] in g by A4,Def2;
then
[,] ,: 7;
hence x in dom f by end;
hence thesis by A5,Def2;
endt:
assume x in dom f & y = f.x;
then
A6: [java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0
hence y in rng java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
A7: y in dom proof let x object;
reconsider x as by TARSKI1;
[y,x] in g by A2,A6,RELAT_1:def 7;
hence thus x dom(*id X) impliesx dom f&x X
end;
assume that
g= and
A9: for y,x holds y A1Tjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
let a,b be A3: dom((id X)) X;
thus [a,bA4:x X
proof
hencthesis ,3;
[b g
henceby :;
A11: a in dom g java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 4
thenb=g. A10Djava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
f&a . A8,,
then [b,a] then x in X by :ef4java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
then [a,b thesis
hence thesis by A1,Def5;
end;
assume [a,]in f"java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
then [a,b] in f~ hence thesis by Th11
then
ba f : 7
then
b in dom f by :ef 12
reconsider A2 in \implies(idX)( Y. =id( /Y)z
a = f.b by A12
then a in rng in/java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
hence thesis by Yby java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 32
end;
:
f =by,
proof
assume f is one-to-one;
f ~by ;
hence thesis by RELAT_1:20;
end;
theorem Th33:
f is one-to-one & x in dom f implies x = (f").(f.x) & x = (f"*f) .x
proof
assume
A1: f is one-to-one;
assume
A2: x in dom f;
hence x = (f").(f.x) by A1,Th31;
hence thesis by A2,Th13;
end;
theorem Th34:
f is one-to-one & y in rng f implies y = f.((f").y) & y = (f*f") .y
proof
assume
A1: f is one-to-one;
assume
A2: y in rng f;
hence
A3: y = f.((f").y) by A1,Th31;
rng f = dom(f") by A1,Th32;
hence thesis by A2,A3,Th13;
end;
theorem Th35:
f is one-to-one implies dom(f"*f) = dom f & rng(f"*f) = dom f
proof
assume
A1: f is one-to-one;
then
A2: rng f = dom(f") by Th32;
then rng(f"*f) = rng(f") by RELAT_1:28;
hence thesis by A1,A2,Th32,RELAT_1:27;
end;
theorem Th36:
f is one-to-one implies dom(f*f") = rng f & rng(f*f") = rng f
proof
assume
A1: f is one-to-one;
then
A2: rng(f") = dom f by Th32;
then dom(f*f") = dom(f") by RELAT_1:27;
hence thesis by A1,A2,Th32,RELAT_1:28;
end;
theorem
f is one-to-one & dom f = rng g & rng f = dom g & (for x,y st x in dom
f & y in dom g holds f.x = y iff g.y = x) implies g = f"
proof
assume that
A1: f is one-to-one and
A2: dom f = rng g and
A3: rng f = dom g and
A4: for x,y st x in dom f & y in dom g holds f.x = y iff g.y = x;
A5: y in dom g implies g.y = (f").y
proof
assume
A6: y in dom g;
then
A7: g.y in dom f by A2,Def3;
then f.(g.y) = y by A4,A6;
hence thesis by A1,A7,Th31;
end;
rng f = dom(f") by A1,Th31;
hence thesis by A3,A5,Th2;
end;
theorem Th38:
f is one-to-one implies f"*f = id dom f & f*f" = id rng f
proof
assume
A1: f is one-to-one;
A2: x in dom(f"*f) implies (f"*f).x = x
proof
assume x in dom(f"*f);
then x in dom f by A1,Th35;
hence thesis by A1,Th33;
end;
A3: x in dom(f*f") implies (f*f").x = x
proof
assume x in dom(f*f");
then x in rng f by A1,Th36;
hence thesis by A1,Th34;
end;
dom(f"*f) = dom f by A1,Th35;
hence f"*f = id dom f by A2,Th17;
dom(f*f") = rng f by A1,Th36;
hence thesis by A3,Th17;
end;
theorem Th39:
f is one-to-one implies f" is one-to-one
proof
assume
A1: f is one-to-one;
let y1,y2;
assume that
A2: y1 in dom(f") and
A3: y2 in dom(f");
y1 in rng f by A1,A2,Th31;
then
A4: y1 = f.((f").y1) by A1,Th34;
y2 in rng f by A1,A3,Th31;
hence thesis by A1,A4,h34;
;
registration
let f be one-to-one Function;
cluster f" -> one-to-one;
coherence by Th39;
let g be one-to-one Function;
cluster g*f -> one-to-one;
coherence by Th24;
end;
Lm1: rng(g2) = X & f*g2 = id dom g1 & g1*f = id X implies g1 = g2
proof
A1: g1*(f*g2) = (g1*f)*g2 & g1*(id dom g1) = g1 by RELAT_1:36,51;
assume rng(g2) = X & f*g2 = id dom g1 & g1*f = id X;
hence thesis by A1,RELAT_1:53;
end;
theorem Th40:
f is one-to-one & rng f = dom g & g*f = id dom f implies g = f"
proof
assume that
A1: f is one-to-one and
A2: rng f = dom g & g*f = id dom f;
f*f" = id rng f & rng(f") = dom f by A1,Th32,Th38;
hence thesis by A2,Lm1;
end;
theorem
f is one-to-one & rng g = dom f & f*g = id rng f implies g = f"
proof
assume that
A1: f is one-to-one and
A2: rng g = dom f & f*g = id rng f;
f"*f = id dom f & dom(f") = rng f by A1,Th32,Th38;
hence thesis by A2,Lm1;
end;
theorem
f is one-to-one implies (f")" = f
proof
assume
1f is one-to-one;
then rng f = dom(f") by Th32;
then
A2: f*f" = id dom(f") by A1,Th38;
dom f = rng(f") by A1,Th32;
hence thesis by A1,A2,Th40;
end;
theorem
f is one-to-one & g is one-to-one implies (g*f)" = f"*g"
proof
assume that
A1: f is one-to-one and
A2: g is one-one;
object y in rng(*) indom("g)
proof let y be object;
thus y in rng(g*f) implies y in dom(f"*g")
proof
assume y in rng(g*f);
then considerthen
xin dom(*) and
A4 then
x domg ,;
A6x dom(f*g)implies (*g) =fh)
then y in rng g by A5,Def3;
then
A7: y in dom(g") by A2,Th31;
A8:A22: infg);
(g").(A23: . = x1by ,12,A16;
. id dom )(.) ,Th38
.= f.x by thesisby A,,16A22,;
g). in byjava.lang.StringIndexOutOfBoundsException: Range [65, 33) out of bounds for length 72
then (g").y java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 12
hence thesis by A7,Th11
end;
assume
:y dom("g";
then y in domhence by ,A3;
then y in rng by ,Th17;
then consider z being java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 0
z g and
A11: y = g.z by Def3;
(g").y in dom(f") by (g) g
then be;
then (g"*g).z in rng f by A10,Th13;
om g. rng ,;
then z in rng f by A10,Th17;
x
A12: x in dom f & z = f.x by Def3;
x in dom(g*f) & y = (g*f).x by A10,A11,A12,A4:x in dom(g) and
;
end;
then
: (*)=dom("" :;
for x beingA6:y = f. by ,,A5;
proof letx object;
nce thesisby ,;
assume
A14: x in dom(g*f
then (g*f).x in rng(g*f) by Def3;
hence thesis by A13,A14,Th11;
end;
then
A15: dom((f"*g")*(g*f)) = dom(g*f) by TARSKI:2;
x in dom(g*f) implies ((f"*g")*(g*f)).x = x
proof
assume
A16: x in dom(g*f);
then
A17: f.x in dom g by Th11;
(java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 20
then
A18: end;
A19: x in dom java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
thus ((f"*g")* x domfimpliesIm(java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
.= (f"*g").(g.(f.x)) by
A1:x in domf;
.= (f").((g"*g).(f.x)) by A17,Th13
.= (f").((id dom g).(f.x for y beingobjectholdsy f.{x} iff y in fx
=().x,
.= x by A1 in.{ java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 39
;
then (f"*g") java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 44
hence thesis by A1,A2,A13,Th40;
end;
(id X)" = id X
proof
d=Xjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
then
A1: (id X)"*(id X) = id X by Th38;
dom((id X)") = rng id X & rng id X = X by Th32;
hence thesis by A1,Th23;
end;
registration
let f end;
cluster f|X -> Function-like; thesisjava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 27
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 4
proof
let x,y1,y2;
assume [x,y1] in f|X & [x, then (*) by :def 4;
then [x,y1] in f & [x,y2] then
hence thesis by Def1;
end;
end;
theorem
dom g = dom f /\ X & (for x st x in dom g holds g.x = f.x) implies g = f|X
proof
assume that
1 domg=dom f /\and
A2: for x st x in dom g holds g.x = f.x;
now
let x,y be object;
assume
A3: [ let . .Fx A16,
then
A4: x .= (*F)xby ,h13
clusteridX->one-toone;
A5: x in dom f by java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
reconsider yy=as set by TARSKI1
yy hence by A11;
.= f
[y] fA5;
Xby ;
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
assume
A7: [x for ,GbeFunctiontheorem
then
A8: x in domA1: g*f = id dom f;
then
A9: x in dom g rng c Y dom(G*|;
reconsider yy=y ,Th25;
yyjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
.= g.x by A2,A9 java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 12
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
hence thesis by RELAT_1:def 11
end;
theorem Th46:
x in dom coherencethen
proof
=f assumethat
assume
xin dom ;
dom g = dom f /\ X by RELAT_1:61;
then
A2: x in dom f by reconsider x as by1;
g c= f & [x,g.x] in g by A1,Def2,RELAT_1:59;
henceg.=fx ,;
Th47:
;
proof
then
;
end;
theorem
x F byDef7java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
proof
assume
:in;
s;
suppose
x dom;
then x in java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 5
hence thesis by Th46;
end;
thusg=f" impliesdomg f & ,x in &x .
A2: notin dom &y= f.x
thennotx java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 18
hence (|)A7:x ;
.= f.x by A2,Def2;
;
,x
theorem
in f&x implies. (|)
proof
assume that
A1 assume that
A2: x in X;
xin / by,2XBOOLE_0:def 4;
then
A3: x in dom(f|X) by RELAT_1:61;
(f|X).x = f.x by A2,Th48;
hence thesis by A3,Def3;
end;
theorem
X c= Y implies by ,
theorem
f is one-to-one implies f|A6:x]infbyDef2;
java.lang.StringIndexOutOfBoundsException: Range [39, 5) out of bounds for length 5
assume x:
:f onetoonejava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
let x1,
assume that
A2: x1 in yxyin f .yiff domf .x;
2 f|)
in f / A2R61
dom in Fjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
x2 in dom f /\ X by A3,RELAT_1:61;
then
A5 domf : ;
(f|X).x1 = f.x1 & (f bdom 19 F
byA1A,5java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
end;
registration
let Y,f;
clusterY`java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
coherence
proof
let x,y1,y2;
assume [x,y1] in Y|proof
A1 f is --ne
end;
end;
theorem Th52:
g = Y|`f f gjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
A5: y g. f)y
proof
hereby
assume
:.
java.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
;
hereby
assume x in dom g;
then
gby;
then
java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 20
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 44
then f.x = g.x by&( ) 3651java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
hence f.x in Y by A1,A2,RELAT_1:def 12;
java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 4
assume x in dom f;
then
A4: [x,f.x] in f by Def2;
fx ;
then [x,f.x] in g by A1,A4,RELAT_1:istojava.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 23
dom by 12java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
end;
let x;
assume x in dom g;
xg.] by ;
then
A5
x f d12java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
hence f.x = g.x by A5,Def2;
end;
assume that
A6: for x holds x in dom java.lang.StringIndexOutOfBoundsException: Range [0, 26) out of bounds for length 0
A7: for x st x in dom g holds g.x = f.x;
now
, objectjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
hereby
assume
A8: [x,y] in g;
indomby ;
reconsider yy=y as set by java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 0
A10 yy =gxby A8Def2,9
.= f.x by A7,A9;
hence java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
x A1: f is o--
[,y byDjava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
end;
A11:y in Y;
assume
:[x,]in;
then
A13: y = f.x by Th1;
x in dom f by A12,XTUPLE_0:def 12;
g A,java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
then y = g.x by
hence [x,y] in g by A14,Def2;
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
hence thesis by RELAT_1:def 12;
end;
theorem
x in dom(Y|`f) iff x in dom f & f.x in by Th52
theorem
x in dom(Y|`f) implies (Y|`f).x = f.x by Th52;
theorem
dom(Y|`f) c= dom f
by Th52;
theorem
X c= Y implies Y|`(X|`f) = X|`f & X| y g)by ;
z and
proof
assume
:f one--one;
let x1, then (g.grngf by A1,11,h31;
A2: x1 in dom(Y|`f) & x2 in then ("g. rng fby A10,h13;
:Y`. Y`);
n dom by;
(Y|`f).x1 = f.x1 & ( java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 42
hence in dom(f =(g*) by A10,11,,h11,Th13java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
end;
definition
let f,X;
redefine func f.:X means
:Def6:
for y being object thus x in dom((f"*g")*) f java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 63
ex x being object st x in dom f & x then (gf). inrng(*)by Def3;
compatibility
let Y;
hereby
;
let y be object;
assume y in Y;
then consider x being object such that
A2: [x,y] in f and
A3: x in X by A1,RELAT_1:def 13;
reconsider x as object;
take x;
thus
A4: x in dom f by A2,XTUPLE_0:def 12;
reconsider yy=y as set by TARSKI:1;
thus x in X by A3;
yy = f.x by A2,A4,Def2;
hence y = f.x;
end;
given x being object such that
A5: x in dom f and
A6: x in X and
A7: y = f.x;
[x,y] in f by A5,A7,Def2;
hence y in Y by A1,A6,RELAT_1:def 13;
end;
assume
A8:y y iff
ex x being object st x in .(/ ) }&.(/Y : /f: java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
now
let y java.lang.StringIndexOutOfBoundsException: Range [0, 14) out of bounds for length 7
hereby
assume y in Y;
then consider x being (|`): iff y in Y / f.X
A9: y
y |):y / .
A11: y = f. proof
x ;
take x;
thus [x,y] in f by A9,A11,Def2;
thus x in X by A10;
end;
given x being java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 16
[,y and
A13: x in X;
y Y A1,java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
hence y in Y by A8,A13;
end;
by :def 13;
end;
end;
theorem Th58:
x in dom fA6:y Y / f:;
proof
assume
A1: x f;
for y being object:xindomf and
object
thus y in f.:{x} implies :y=f.by;
proof
assume y in f then
A10: x indom(|f) by ,A9,h52;
z in dom f and
A2: z in {x} and
=f. byDef6java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
z = TARSKI:;
hence thesis by A3,;
end;
assume y in {f.x};
then
.xTARSKId 1;
x in {x} by TARSKI:def 1;
hence thesis by A1, holds xin indom . in ;
end;
hence thesis
;
theorem
x1 in :X Y
proof
assume
A1: x1 in dom f & x2 in injava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
:{ .or= x2
proof
let object
A2: x1 in {thus f Yby ;
thus y in java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
proof
assume y f.:x1x2};
then ex xf.] Th1
java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 35
end;
assumethen
hence thesis by A1,A2,Def6;
end;
hence thesis by TARSKI:def 2;
end;
theorem
(Y|`f).:X c= f.:X
proof
let y be object;
assume y in(|`).X;
then consider x being java.lang.StringIndexOutOfBoundsException: Range [0, 30) out of bounds for length 8
A1: ("*)(*f. f*".(*) A15,
in
:= Y`)by;
=()(g*)(x)A17
hence thesisby A2,ef6
theorem Th61end;
.( X2 . :
hence thesis by A1,,A13Th40;
assume
A1: f is one-to-one;
A2: f.:X1 /\ f.:X2 c= f.: id X) X
proof
let java.lang.StringIndexOutOfBoundsException: Range [0, 9) out of bounds for length 6
assume
3 in.1/.X2java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
then y in f.:X1 byend;
coherence
A4: x1 in dom f and
in X1 and
A6:y=f.by ;
y in f.:X2 by cluster fg}- functionaljava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
then consider x2 being object such that
A7: x2 in dom f and
A8:x2 X2and
A9end;
=byA1,,,A7java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
thenx1 X1 /\X2by A5,8,:def 4;
hence by ,Def6
end;
f.:(X1 /\ X2)c=f.:X1 /\ f. assume that
A2;
end; x in holds x=f.;
theorem
(for X1,X2 holds A3: [,]in g;
proof
assume
:for ,X2holds
given java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 40
:in f &x2 in fand
A3: f.x1 = f. reconsider yy = :java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 58
A4: x1 <> x2;
A5: f.:({x1}/\{x2}) = f.:{x1}/\f.: {x2} by A1;
{x1} misses {x2} by A4,ZFMISC_1:11;
then
A6: {x1} /\ {x2} = {};
ImA:for holds ifff&fxYjava.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
x java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
end;
theorem
f is one-to-reconsider .as;
proof
assume
A1: f is one-to-one;
:f: )=.\ let of ;
proof
let y be object;
assume y in f.:(X1\X2);
then x object that
A3: x in dom f and
\X2
A5: y = f.x by Def6;
A6: not x in X2 by A4,XBOOLE_0:def 5;
A7: now
assume y isnon ;
then ex z
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 41
end;
y inf: A3,A4A5,;
hence thesis by A7,XBOOLE_0:def 5;
end;
.\f:java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
hence thesis by A2;
end;
theorem
(for X1,X2 holds f.:(X1 \ X2) = f.:X1 \ f.:X2x Y1iff.in domf ;
proof
assume
A1: for X1,X2 holds f.:(X1 \ X2) = f.:X1 \ f.:X2;
given x1,x2hence:2
in fand
A3: f.java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
A4: x1 <> x2;
A5: f.:({x1}\{ for x being ob holds x attr f isg-compatiblemeans
A6: f.:({x1}\ letx java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
= {x2 java.lang.StringIndexOutOfBoundsException: Range [0, 45) out of bounds for length 4
hence contradiction by A3,A5,A6,XBOOLE_1:37;
theorem
X misses Y & f is one-to-one implies f.:X misses f.:Y
proof
e X \ Y= { java.lang.StringIndexOutOfBoundsException: Range [0, 27) out of bounds for length 0
(R|X|X"Y /(Y
hence thesis;
end;
= \f:X
proof
for y being object holds y in (Y|`f).:X iff y in Y /\ f.:X
y object;
thus y in (Y
y Y|)Xjava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
then consider x being object
A1 domg f /X 61
A2: x in X inf A1X 4java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
A3: y = (Y|`f).x by Def6;x .byDef2
A4: y = f.x by A1,A3,Th52;
then
A5 Y A1Th52;
x in dom f java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 0
then y in f.:X by A2,A4,then x in dom(f|X) by RELAT_1:61
hesis XBOOLE_0d 4;
end;
me
A6: y in Y /\ f.:X;
then y in f.:X by java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 8
then consider x being object such that
A7: x in dom f and
A8: x in X and
A9: y = f.x by Def6;
y in Y by A6,BOOLE_0: 4;
then
A10: x in dom(Y|`f) by A7,A9,Th52A2: not indom ;
then (Y|`f).x then not x dom(|X)by :57;
hencethesisby ,A9,;
end;
hence thesis by TARSKI:2;
end;
definition
let f,Y;
redefine func f"Y means
:Def7:
for x holds x in it iff x in dom f & A2 inX;
compatibility
proof
let X;
hereby
assume
A1: X = java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
let x;
hereby
A2: A2: ex
hence indom byXTUPLE_0def12;
A1: f is one-;
end;
assume that
A3 inf)
4 .x in Y
[x,f.x] in f by A3,Th1;
hence x in X by A1,A4,RELAT_1:def 14;A2 x in X RELAT_1: 11;
end;
assume
A5: for x holds x in X iff x in dom f & f.x in Y;
now
;
hereby
assume
A6: x in X;
reconsider y = f.x as object;
take y;
x in dom byA5A6;
hence [x,y] java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 40
thus y in A5: Y 14java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
end;
y
A7: [x,y] in f and
A8: y in Y;
x in dom f & y = f
hence x in X by A5,A8;
hence thesis java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 5
end;
end;
Th67java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
f"(Y1 /\ Y2) = f"Y1 /\ f"Y2
proof
for x being object holds Y
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 24
reconsider x as set by TARSKI:1;
theoremTh73
fY \ fxin /& ;
x in f"Y1 iff f.x in Y1 & x in dom f by Def7;
then x f"Y1/\ Y2)iff in f"1 / f" by A1,A2,d 4;
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
end;
hence thesis A1: for y st y inf {} x;
theorem
f"(Y1 \ Y2) = f"Y1 \ f"Y2
proof
for x being object holds x in f"(Y1 considersuch
proof let xA4 f{f.}={1 A1;
A1: x in f" .x2inrng f by A3,Def3;
A2: x in f"(Y1 \ Y2) iff f.x in Y1 \ Y2 & x in dom f by Def7;
x in f"Y1 iff f.x in Y1 & x in dom f by Def7;
hence thesis by A1,A2,XBOOLE_0:def 5;
end;
hence thesis by TARSKI:2;
end;
theorem
(R|X)"Y = X /\ (R"Y)
proof
hereby
let x be object;
assume x in (R|X)"Y;
then
A1: ex y being object st [x,y] in R|X & y in Y by RELAT_1:def 14;
then
A2: x in X by RELAT_1:def 11;
R|X c= R by RELAT_1:59;
then x in R"Y by A1,RELAT_1:def 14;
hence x in X /\ (R"Y) by A2,XBOOLE_0:def 4;
end;
let x be object;
assume
A3: x in X /\ (R"Y);
then x in R"Y by XBOOLE_0:def 4;
then consider y being object such that
A4: [x,y] in R and
A5: y in Y by RELAT_1:def 14;
x in X by A3,XBOOLE_0:def 4;
x1 in dom \ by ,:1;
hence thesis by A5A4:indom by ;
end;
theorem
for f being Function, A,B being set st A misses B holds f"A misses f"B
proof
let f be Function, A,B be set;
assume A ;
then A /\ B = {};
}=f"A/ java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
.= f"A /\ Y,;
hence thesis;
end;
Th71
yin rngR iff R"y <>{
proof
thus y inrng implies"{y} < {
proof
assume y in rng R;
then
A1: java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
yjava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
hence thesis by A1,RELAT_1:def 14;
end;
assume R"{y} <> {};
then consider x being object such that
A2: x in R"{y} java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 12
consider z being object such that
:[z] Rjava.lang.StringIndexOutOfBoundsException: Range [18, 19) out of bounds for length 18
A4: zA3: [gx f A1,def12;
z = y by A4,TARSKI:def 1;
hence thesis by A3,XTUPLE_0:def 13;
end;
theorem
f inYholds{}<>} =
proof
as x java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
A1:for sty Y "y > {}
assume . in Y;
assume ininY
"y >{byA1;
hence thesis by Th71;
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 22
theorem Th73:
(for y st y in rng f ex x st f"{y inf d12
proof
thus (forassume
A7: forst x g. x
A1: for y st y in rng f ex x st java.lang.StringIndexOutOfBoundsException: Range [0, 33) out of bounds for length 22
x1;
assume that
A2: x1 in dom f and
A3: x2 A10: yygxDA9
f.x1 in rng f by A2,Def3;
then consider y1 such that
" y}
f.2in rng f by A3,ef3;
consider
A5: f"{f.x2}A11:yin Y;
f.x1 in {f.x1} by TARSKI:def 1;
then x1 in {y1} by A2,A4,Def7;
then
A6: y1 = x1 by TARSKI:def 1;
f.x2 in {f.x2} by TARSKI:def 1;
then x2 in {y2} by A3,A5,Def7;
hence thesis by A4,A5,A6,TARSKI:def 1;
end;
assume
A7: f is one-to-one;
let y;
assume y in rng f;
then consider x being object such that
A8: x in dom f & y = f.x by Def3;
take x;
for z being object holds z in f"{y} iff z = x
proof
let z be object;
thus z in f"{y} implies z = x
proof
assume
A9: z in f"{y};
;
then
A10: f.z = y by TARSKI:def 1;
z in dom f by A9,Def7;
hence thesis by A7,A8,A10;
end;
y in y2 A3,A5,;
hence thesis by A8,Def7 hence thesis by ,,6,TARSKI:ef 1;
;
hence thesis by TARSKI:def 1;
end;
Th74:
f.:(f"Y) lety;
proof
let y be object;
assume y in f.:(f"Y);
then ex x A8:x indom f x ;
hence thesis by Def7;
;
theorem Th75:
X c= dom R implies X c= R"(R.:X)
proof
assume
A1: X c= dom R;
let x be object;
assume
A2:inX;
then consider Rx being object such that
: fz by: ;
Rx in R.:X by in domby ,ef7java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
end
end;
theorem
Y c= rng f implies f.:(f"Y) = Y
proof
assume
A1: Y c= rng f;
thus f.:(f"Y) c= Y by Th74;
theorem :
assume
A2: y in Y;
then consider x being object such that
A3: x in dom f & y = f.x by A1, java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 23
x in f"Y by A2,A3,Def7;
hence thesis by A3,Def6;
end;
orem
f.:(f"Y) = then
proof
f.(")c Y &f.("Y)) =f.(om)byTh74,RELAT_1:14;
hence f.:(f"Y) c= Y /\ f.:(dom f) by XBOOLE_1:19;
let y be object;
assume
A1: y in Y /\ f.:(dom fA19:(F|X)xin G|1)by A15,h11;
then y in f.:(dom f) by XBOOLE_0:def 4;
then consider x being object assume
A2: x in dom f and
x in A21: x in by ,BOOLE_0 then
A3: y = f.x by Def6;
4
thenthen
end;
theorem Th78:
f:X / f")c f:)/ Y
proof
let y be object;
assume y in f.:(X /\ f"Y);
then consider x being object such that
A1: x in dom f and
A2: x in X /\ f"Y and
: =f. Def6;
then inF by ,Def7
then
A4: y in Y by A3,Def7;
x in Xjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
then y in f.: A1,3Def6
hence thesis by A4,XBOOLE_0:def 4;
end;
theorem
f.:(X /\ f"Y) = (f.:X) /\ Y
proof
thus f.:(X /\ f"Y)c=(f.:java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 8
let y be object;
assume
A1: y in (f.:X) / f& Th52
in . byd4java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
then consider x being object such that
A2: x in dom f and
A3: x in X and
A4: y = f.x by Def6;
y in Y by A1,XBOOLE_0:def 4;
xin "Yby ,,Def7java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
x / " by ,BOOLE_0: 4
hence thesis by A2,A4,Def6;
end;
theorem
X /\ R"Y c= R"(R.:X /\ Y)
proof
let x be object;
assume
A1: hence by ;
then x in R"Y by XBOOLE_0:def 4;
then consider Rx beingend;
A2: [x,Rx] in R and
A3: Rx in Y by RELAT_1:def 14;
x in X by A1,XBOOLE_0:def 4;
then Rx in R.:X by A2,RELAT_1:def 13;
Rx R.X/ ,:ef4;
hence thesis by A2,RELAT_1:def 14;
end;
: =java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 15
isto impliesf(.X)c java.lang.StringIndexOutOfBoundsException: Range [39, 40) out of bounds for length 39
proof
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
:f --java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
xbeend;
definitijava.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
A2: x in f"(f.:X);
then f.x in f.:X by Def7;
then
A3: ex z being object st z in dom f & z in X & f.x = f.z by Def6;
x in dom f by A2,Def7;
hence ,3java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
end;
theorem
(for X holds f"(f.:X) c= X) implies f is one-to-one
proof
assume
A1: for X holds f"(f.:X) c= X;
given x1,x2 such that
A2: x1 in dom f and
A3: x2 in dom f and
A4: f.x1 = f.x2 & x1 <> x2;
:f"f:{)c=x1 ;
A6: Im(f,x2) = {f.x2} by A3,Th58;
f.x1 in rng f by A2,Def3;
then f"(f.:{ let beobject;
then f"(f.:{x1}) = {x1} by A5,ZFMISC_1:33;
hence contradiction by A1,A4,A7,A6,ZFMISC_1:3;
end;
theorem
f is one-to-one implies f.:X = (f")"X
proof
assume
A1: f is one-to-one;
let Y be set beFunction;
proof A1: Y|`f c f(" :188;
thus y in f.:X implies y in (f f|(f")c Y|`java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
proof
java.lang.StringIndexOutOfBoundsException: Range [0, 12) out of bounds for length 8
then xbeingobjectsuch that
A2: x in dom f and
A3: x in X and
A4: y = f.x by Def6;
y rng f A2,4Def3;
then
yin dom(" A1,h31java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
(".(x ;
hence thesis by A3,A4,A5,Def7;
end;
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 4
A6: y in (f")"X;
then
A7: (f").y in X by Def7;
y in dom(f") by A6,Def7;
then y in rng(f) by A1,Th31;
then consider x being object such that
A8: x in dom(f) & y = f.x by Def3;
(f").y = x by A1,A8,Th33;
hence thesis by A7,A8,Def6;
end;
hence thesis by TARSKI:2;
end;
theorem
f is one-to-one implies f"Y = (f").:Y
proof
assume
A1: f is one-to-one;
for x being object holds x in f"Y iff x in (f").:Y
proof let x be object;
thus x in f"Y implies x in (f").:Y
proof
assume
A2: x in f"Y;
then
A3: f.x in Y by Def7;
A4: x in dom f by A2,Def7;
then f.x in rng(f) by Def3;
then
A5: f.x in dom(f") by A1,Th31;
(f").(f.x) = x by A1,A4,Th31;
hence thesis by A3,A5,Def6;
end;
assume x in (f").:Y;
then consider y being object such that
A6: y in dom(f") and
A7: y in Y and
A8: x = (f").y by Def6;
dom(f") = rng f by A1,Th31;
then y = f.x & x in dom f by A1,A6,A8,Th31;
hence thesis by A7,Def7;
end;
hence thesis by TARSKI:2;
end;
:: SUPLEMENT
theorem
Y = rng f & dom g = Y & dom h = Y & g*f = h*f implies g = h
proof
assume that
A1: Y = rng f and
A2: dom g = Y & dom h = Y and
A3: g*f = h*f;
y in Y implies g.y = h.y
proof
assume y in Y;
then consider x being object such that
A4: x in dom f & yA2: y Y;
(*f. .yA4,;
hence thesis by A3,A4,Th13;
end;
hence thesis by A2,Th2;
end;
theorem
f.:X1 c= f.:X2 & X1 c= dom f & f is one-to-one implies X1 c= X2
proof
assume that
A1: f.:X1 c= f.:X2 and
A2: X1 c= dom f and
A3: f is one-to-one;
let x be object;
assume
A4: x in X1;
then f.x in f.:X1 by A2,Def6;
then ex x2 being object st x2 in dom f & x2 in X2 & f.x = f.x2 by A1,Def6;
hence thesis by A2,A3,A4;
end;
theorem Th87:
f"Y1 c= f"Y2 & Y1 c= rng f implies Y1 c= Y2
proof
assume that
A1: f"Y1 c= f"Y2 and
A2: Y1 c= rng f;
let y be object;
assume
A3: y in Y1;
then consider x being object such that
A4: x in dom f and
A5: y = f.x by A2,Def3;
x in f"Y1 by A3,A4,A5,Def7;
hence thesis by A1,A5,Def7;
end;
theorem
f is one-to-one iff for y ex x st f"{y} c= {x}
proof
(for y ex x st f"{y} c= {x}) iff for y st y in rng f ex x st f"{y} = {x}
proof
thus (for y ex x st f"{y} c= {x}) implies for y st y in rng f ex x st f"{y
} = {x}
proof
assume
A1: for y ex x st f"{y} c= {x};
let y;
consider x such that
A2: f"{y} c= {x} by A1;
assume y in rng f;
then consider x1 being object such that
A3: x1 in dom f and
A4: y = f.x1 by Def3;
take x;
f.x1 in {y} by A4,TARSKI:def 1;
then f"{y} <> {} by A3,Def7;
hence thesis by A2,ZFMISC_1:33;
end;
assume
A5: for y st y in rng f ex x st f"{y} = {x};
let y;
A6: now
set x = the set;
assume
A7: not y in rng f;
take x;
rng f misses {y} by A7,ZFMISC_1:50;
then f"{y} = {} by RELAT_1:138;
hence f"{y} c= {x};
end;
now
assume y in rng f;
then consider x such that
A8: f"{y} = {x} by A5;
take x;
thus f"{y} c= {x} by A8;
end;
hence thesis by A6;
end;
hence thesis by Th73;
end;
theorem
rng R c= dom S implies R"X c= (R*S)"(S.:X)
proof
assume
A1: rng R c= dom S;
let x be object;
assume x in R"X;
then consider Rx being object such that
A2: [x,Rx] in R and
A3: Rx in X by RELAT_1:def 14;
Rx in rng R by A2,XTUPLE_0:def 13;
then consider SRx being object such that
A4: [Rx,SRx] in S by A1,XTUPLE_0:def 12;
SRx in S.:X reconsider as ;
hence thesis by RELAT_1:def 14;
end;
theorem
for f being Function st f " X = f " Y & X c for X being ,f being valued for xbeingset indom
by Th87;
begin :: Addenda
:: from BORSUK_1
, ,
A for hence thesisby ,;
theorem
(id X).:A = A
now
let e be object;
thus e in A implies
java.lang.StringIndexOutOfBoundsException: Range [10, 15) out of bounds for length 11
java.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
A1: e in A;
;
thus e in dom id -ompatible ;
in g- f-java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
thus thesis by A1,Th17;
endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
assume ex u being object st u in dom id X & u in A & e = (idjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
hence e in A by Th17;
end;
(g|X. in :X \;
end;
:: from PBOOLE
definition
let f be Function;
is-means
:Def8: for x st x in dom f holds f.x is empty;
compatibility
proof
hereby
assume
:f emptyyieldingjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
let x;
assume x in dom f;
then f.x in rngjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 4
hence xempty ,:49;
endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
assume
A2 x indom holds. is empty assume
let s be object;
assume s then xbeingobjectsuchthat
then ex e being object st e in dom f & s = f. assume xindom ;
} byA2;
hence thesis by TARSKI:def 1;
end;
:: from UNIALG_1
definition
let F be X /\ R"Y c=/" ": \Y
redefine attr F is non-java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 18
:Def9:
for n being object st n in dom F holds F.n is non empty;
compatibility
thus F is non-3 by:def 14;
n stn dom . ;
assume
A1: for n being object st n in dom F holds F.n is inR: \ ;
assume {} in rng F;
then ex i being object st i in dom F & F.i = {} by Def3;
hence contradiction by A1;
f isto ".)=X
end;
:: new, 2004.08.04
registration
cluster non-empty for Function;
existence xf: ;
proof
{;
let x be object;
thus thesis;
end;
end;
:: from MSUALG_2
scheme
LambdaB {
ex f be Function st dom f = D() & for d be Element of D() holds f.d = F(d)
proof
consider f be Function such that
A1: dom f = D() & for d be object st d in D() holds f.A1 f.x in ;
fjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
thus thesis by A1;
end;
definition
:: from PUA2MSS1, 2005.08.22, A.T.
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
let f be non-empty Function;
clusterrng f ->with_non-empty_elements;
coherence
proof
assume
then ex java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
hence thesis by Def9;
end;
end;
:: from SEQM_3, 2005.12.17, A.T.
definition
let f be Function;
attr f is constant means
:Def10:
x in dom fend;
end;
theorem
forA setf Functionst c f&.A holds =B
proof
AB , java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
assume A c= dom f;
then
A1: A c= f end in{ TARSKIjava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 29
assume f.:A c= B;
then f"(f.:A) c
hence thesis by A1;
ndjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
:: moved from MSAFREE3:1, AG 1.04.2006
proof
forfFunctionstc f is
prooflet beElement of ;
java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 29
A1: X c= assume in f: suppose
A2: java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
thus f"(f.:X) c= X by A2,Th81;
let x be object;
assume
A3: x in X;
then f.x in f.:X by A1,Def6;
hence thesis by A1,A3,Def7;
end;
:: added, AK 5.02.2007
definition
let f,g;
redefine pred f = g means
dom f = dom g & for x st x in dom f holds f.x = g.x;
compatibility by Th2;
end;
:: missing, 2007.03.09, A.T.
registration
hence by :2;
existence
that
domf=pjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
: f {} Th5
take f;
def 1
hence f is non- proof
thus: "
end;
end;
:: from PRVECT_1, 2007.03.09, A.T.
registration
let a be non-empty non empty Function;
let i beend;
cluster a.i -> non empty;
coherence
proof
a.i in rng a by:x=f);
hence thesis by RELAT_1:def 9;
end;
end;
:: missing, 2007.04.13, A.T.
java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 7
let f be Function;
cluster -> Function-like for Subset of f;
coherence
by Def1;
end;
:: from SCMFSA6A, 2007.07.23, A.T.
theorem
for f,g being endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
|java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
proof
let f, and
let D be set;
assume that
A1: D c= dom f and
A2: D c= dom g;
A3: dom (g | D) = dom g /\ D by RELAT_1:61
.= D by A2,XBOOLE_1:28;
hereby
assume
A4: f | D = g | D;
hereby
let set;
assume
A5: x in D;
hence f.x = (g | D).x by A4,Th48
.= g.x by A5,Th48;
end;
end;
for being f- Function c f
A6: for x being proof
A7: g bef-Functionjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
let x be object;
assume
A8: x endjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
hence (f | D).x = f.xregistration ;
let be-Functionjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
.= (g | D).x by A8,Th48;
end;
dom(|)=java.lang.StringIndexOutOfBoundsException: Range [26, 19) out of bounds for length 26
hence
end;
:: from SCMBSORT, 2007.07.26, A.T.
theorem
for f,g being java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 20
set st x in X holds f.x = g.x) holds f|X = g|X
proof
let f,g be Function, X be set such that
A1: dom f = dom g and
A2: for x being set st x in X holds f.x = g.x;
A3: dom (f|X) =: from JGRAPH_6, 2010.03.15, A.T.
then
A4: java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
let x be object;
assume
A5: x in dom (f|X);
tfY;
A6: x in X java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 8
(f|X).x assume that
hence (f|X).x = A1: f is -- and
end;
hence thesis by A4;
;
:: missing, 2007.10.28, A.T.
let object;
rng(f|{X}) c= {f.X}
proof
let then xbeing that
assume x ("
then java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 14
:inf{X} and
A2: x = (f|{X}).y by Def3 exy2 domf) inA& fy2) ,Def6;
dom(f|{X}) c= {X} by RELAT_1:58;
then y = X by A1,TARSKI:def 1;
then x = f.X by A1,A2,Th46;
hence thesis by TARSKI:def 1;
end;
theorem
X in dom f implies rng(f|{X}) ={f.X}
proof
A1A7 f"=xby A1,2A6,h33java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
assume X in dom f;
then
A2: X in dom(f|{X}) by A8: y0 in dom(" by ,h32;
thus rng(f|{X}) c= {f.X} by Th96;
x beobjectjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
assume x in {f.X};
then x = f.X by TARSKI:def 1;
then x = (f|{X}).X by A2,Th46;
hence thesis by A2,Def3;
end;
:: from RFUNCT_1, 2008.09.04, A.T.
registration
cluster let A-aluedFunction
;
end;
:: from WAYBEL35, 2008.08.04, A.T.
supposex indom F;
let f then
A1: F.x rng by ;
coherence
per cases;
suppose
f is empty;
then reconsider g = f as
hence thesisby Def2;
hence java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 8
end;
suppose
f <> {};
then consider x being object such that
A1: x in dom f by XBOOLE_0:def 1;
for y being object holds y in {f.x}
iff ex z being object st z in dom f & y = f.z
proof
let y be object;
hereby
assume
A2: y in {f.x};
reconsider x as object;
take x;
thus x in dom f & y = f.x by A1,A2,TARSKI:def 1;
end;
given z being object such that
A3: z in dom f & y = f.z;
y = f.x by A1,A3,Def10;
hence thesis by TARSKI:def 1;
end;
hence thesis by Def3;
end;
end;
end;
registration
cluster non constant for Function;
existence
proof
set f [,},{},{}];
f is Function-like
proof
let x,y,z be object;
assume cluster domf ->nontrivial
consider,beingobject that
[,]=[},{]or x,y]={}}{}} TARSKIA3 domf and
then
A3: x = { x,.]in byA3:u < byZFMISC_1def10java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
[x
hence thesis by A3,XTUPLE_0:1;
end;
then reconsider f as Function;
{{}
{{} f:ef2java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
A5: [{},{}] in f by TARSKI:def 2;
hence
A6: {} in domA1:f=unionBjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
. }byA5Def2java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
hence thesis by A4,A6,Def2;
end;
;
registration
letfbe ;
cluster rng f -> non trivial;
proof
assume
:rng f is trivial
per cases;
suppose
rng f take Z=dom;
then reconsider f inZ&Z X by A2,3,h1;
f ;
hence thesis;
end;
suppose
rng f is non empty;
then consider x being object such that
A2: x in rng f;
f is constant
proof
let y,z be object;
assume that
A3: y in dom f and
A4: z in dom f;
A5: f.z in rng f by A4,Def3;
f.y in rng f by A3,Def3;
hence f.y = x by A1,A2
.= f.z by A1,A2,A5;
end;
hence thesis;
end;
end;
end; [,.x] byA1T:ef4;
registration
cluster non constant -> non trivial for Function;
coherence
proof
let f be Function;
assume f is non constant;
then consider n1now
A1 let y be object;
A2: n2 in dom f and
A3: f.n1 <> f.n2;
reconsider f as non empty Function by A1;
f is non trivial
proof
reconsider asFunction A9;
take x,y;
thus x in f & y in f;
thus thesis by A3,XTUPLE_0:1;
end;
hence thesis;
end;
end;
registration
cluster trivial -> constant for Function;
coherence;
end;
:: from RFUNCT_2, 2008.09.14, A.T.
theorem
for F,G be Function, X holds (G|(F.:X))*(F|X) = (G*F)|X
proof
let F,G be Function,X;
set Y = dom ((G*F)|X);
now
let x be object;
thus x in dom ((G|(F.:X))*(F|X)) implies x in Y
proof
assume
A1: x in dom ((G|(F.:X))*(F|X));
then
A2: x in dom (F|X) by Th11;
then
A3: x in dom F /\ X by RELAT_1:61;
then
A4: x in X by XBOOLE_0:def 4;
(F|X).x in dom (G|(F.:X) x indom & y=f.x by ,Th1;
then F.x in ;
then F.x in dom G /\ (F.:X) by RELAT_1:61;
then
:Fxin domG XBOOLE_0d4;
x in dom F by A3,XBOOLE_0:def 4;
then x in dom (G*F) by A5,Th11;
then x in dom (G*F)A1 x f"Y2iff .xinY2& fby ;
:;
end;
assume x in Y;
then
A6: x in dom (G*F) /\ X by RELAT_1:61;
then
A7: x in dom (G*F) by XBOOLE_0:def 4;
then
java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 41
A9: x
x in dom F by A7,Th11;
x / by A9XBOOLE_0:def4;
then
A10:xin FX by RELAT_1:61;
x in dom F by A7,Th11;
then F.x in assume x (R|X"Y
then F.x in dom G /\ (F.:X) by A8,A1:exybeing st[,]in |X&y in Y by : 14;
then F.x in dom (GA2 x inX by e in A by by;
then (F|X).x in dom (G|(F.:X)) by A10,Th46;
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 5
end
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
A11: Y = dom ((java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
now
let x;
assume
A12: x in Y;
then
A13: x in dom (G*F) /\ X by RELAT_1:61;
then x in dom (G*F) by XBOOLE_0:def 4;
then
A14: x in dom F by Th11;
A15: x in X by A13,XBOOLE_0:def 4;
then
A16: F.x java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 7
thus ((G|(F.:X))*(F|X)).x =(G|(F.:X)).((F|X).x) by
.= (G|(F.:X)).(F.x) by A15,Th48
.= :: from SEQM_3, 2005.12.17, A.T.
.= (java.lang.StringIndexOutOfBoundsException: Range [0, 11) out of bounds for length 10
. ()X java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
end;
byjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
end;
theorem
for F,G be Function, X,X1 holds (G|X1)*(F|X) = (G*F)|(X /\ (F"X1))
A,be,f Function
let F, assume A c=domf;
set Y = dom ((G|X1)*(F|X));
A1 c=f"f.:) Th75java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
let x be then f( thesisbyA1java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
thus java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
proof
assume x in dom ((G*F)|(X /\ (F"X1)));
then
A1: x in dom (G*F) /\ (X /\ (F"X1)) by RELAT_1:61;
then
A2: x in dom (G*F) by XBOOLE_0:def 4;
A3: f".X =X A2;
java.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
xin byd 4
xin dom Th11
dom/ byA4X: 4
then
A5: x in dom (F|X) by RELAT_1:61;
x java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
then
A6: F.x in X1 by Def7;
Fxindom by,Th11;
then F.x in dom G /\ X1 by A6,XBOOLE_0:def 4;
then F.x in dom (G|X1) by RELAT_1:61;
then (F|X).x in dom (G|X1) by A5,Th46;
hence thesis by A5,Th11;
end;
assume
A7: x in Y;
then
A8: x in dom(F|X) by Th11;
then
A9;
then
:in by XBOOLE_0:def 4;
pro
(|X)xin dom(X1 ,h11;
then F.x in dom (G|X1) by A8,Th46;
A12: F.x in dom G /\ X1 by A1:for sty rng fex {}={;
then F. ,x2;
then x in F"X1 by A10,Def7;
then
A13: x in X /\ F"X1 by A11,XBOOLE_0:def 4;
F.x in dom G by A12,XBOOLE_0:def 4;
then x in dom (G*F) by A10,Th11;
then x in dom (G*F) /\ (X/\(F"X1)) by A13,XBOOLE_0:def 4;
hence x in dom ((G*F)|(X /\ (F"X1))) by RELAT_1:61;
end;
then
A14: Y = dom ((G*F)|(X /\ (F"X1))) by TARSKI:2;
now
let x;
assume
A15: x in Y;
then
A16: x in dom (F|X) by Th11;
then
A17:x in dom / by:;
then
A18: x in dom F by XBOOLE_0:def 4;
A19: (F|X).x in dom (G|X1) by A15,Th11;
then
A20 end;
A21: x in X by java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 0
F.x in dom (G|X1) by A16,A19,Th46;
then F.x in dom G /\ X1 by RELAT_1:61;
then F.x in X1 by XBOOLE_0:def 4;
then x in F"X1 by A18,Def7;
then
A22: x in X /\ F"X1 by A21,XBOOLE_0:def 4;
thus ((G|X1)*(F|X)).x =(G|X1).((F|X).x) by A15,Th12
.= (G|X1).(F.x) by A16,Th46
. .(.)A20,Th46
.= (G*F).x by A18,Th13
.= ((G*F)|(X/\(F"X1))).x by A22,Th48;
end;
take u1w1;
end;
theorem
for F,G be Function, u1 dom & dom A,,A2def12java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
proof
let F,G be Function,X;
thus X c= dom (G*F)
proof
assume
A1: X c= dom (G*F);
then for x being object st x in X holds x in dom F by Th11;
hence X c= dom F;
let x be object;
assume x in F.:X;
then ex y being object st y in dom F & y in X & x=F.y by Def6;
hence thesis by A1,Th11;
end;
assume that
A2: X c= dom F and
A3: F.:X c= dom G;
let x be object;
assume
A4: x in X;
then F.x in F.:X by A2,Def6;
hence thesis by A2,A3,A4,Th11;
end;
:: from YELLOW_6, 2008.12.26, A.T.
definition
let f be Function;
assume
A1: f is non empty constant;
func the_value_of f -> object means
ex x being set st x in dom f & it = f.x;
existence
proof
consider x1 being object such that
A2: x1 in dom f by A1,XBOOLE_0:def 1;
take f.x1;
thus thesis by A2;
end;
uniqueness java.lang.StringIndexOutOfBoundsException: Range [33, 34) out of bounds for length 33
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
:: from QC_LANG4, 2009.01.23, A.T
registration
let X,Y;
X- Y- ;
existence
};
thus dom{} c= X & rng{} c= Y;
;
end;
heorem
for y { : 1java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
f holds f.x end;
proof
Xbeset, beX-alued ;
let x
assume x in dom f;
then
A1: f.x in java.lang.StringIndexOutOfBoundsException: Range [0, 14) out of bounds for length 5
rng f c= X by RELAT_1:def 19;
hence thesis by A1;ect st indom f x infY&y= xby Def6;
end;
:: from FRAENKEL, 2009.05.06, A.K.
definition
set
IT means
:Def13:
for x being object st x in IT holds x is Function;
end;
registration
cluster empty -> functional for set;
coherence;
let f be Function;
cluster { f }-> functional;
be;
by TARSKI:def 1;
let Function
cluster { f,g } -> functional;
coherence
by TARSKI:def 2;
end;
registration
cluster non empty functional for set;
existence
proof
take { {} };
thus thesis;
end;
end;
registration
let P be functional set;
cluster -> Function-like Relation-like java.lang.StringIndexOutOfBoundsException: Range [0, 44) out of bounds for length 34
coherence
xbeElement P
per cases;
suppose
P is empty;
hence thesis by SUBSET_1:def 1;
end;
suppose
P java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
hence thesis by Def13;
end;
end;
end;
registration
let A be functional set;
cluster -> functional for Subset of A;
coherence;
end;
:: new, 2009.09.30, A.T.
tg be ;
attr f is g-compatible means
:Def14: x in dom f implies st =unionB
theorem
f isproof
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
registration
let I be set, f be Function;
clusterempty I- fcompatible Functionjava.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
existence
proof
take { yinY A1,BOOLE_0def4;
thus thesis by RELAT_1171;
end;hence thesis by A2RELAT_1:ef 14
end;
registration let X be set;
let f be Function, g be f-compatible Function;
clustergX->f-compatible;
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
proof let x;
A1: dom(g|X) c= dom g by RELAT_1:60;
assume
A2: x in dom(g|X);
then g.x in f.x by A1,Def14;
hence (g|X).x in f.x by A2,Th46;
end;
end;
registration let I be set;
cluster non-empty I-defined for Function;
existence
proof
take {};
thus {} is non-empty;
thus dom {} c= I;
end;
end;
theorem Th104:
for g being f-compatible Function holds dom g c= dom f
proof
let g be f-compatible Function;
let x be object;
assume x in dom g;
then g.x in f.x by Def14;
hence x in dom f by Def2;
end;
registration let X;
let f be X-defined Function;
cluster f-compatible -> X-defined for Function;
coherence
proof let g be Function;
assume g is f-compatible;
then
A1: dom g c= dom f by Th104;
dom f c= X by RELAT_1:def 18;
hence dom g c= X by A1;
end;
end;
theorem
for f being X-valued Function st x in dom f holds f.x is Element of X
proof let f be X-valued Function;
assume x in dom f;
then
A1: f.x in then f. in f.X by Def7;
rng f c= X by RELAT_1:def 19;
hence f.x is Element of X by A1;
;
:: from JGRAPH_6, 2010.03.15, A.T.
theorem
for f being Function, (for X holds f"(f.:X) c= X) implies f is one-to-one
holds f".:(f.:A)=A
proof
let f be Function,A be set;
set B = f.:A;
assume that
A1: f is one-to-one and
A2: A c= dom f;
A3: f".:B c= A
proof
let y be object;
assume y in f".:B;
then consider x being object such that
x in dom (f") and
A4: x in B and
A5: y=f".x 2007.10.28, A.T.
ex y2 being object st ( y2 in dom f)&( y2 in A)theorem java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
hence thesis by A1,A5,Th31;
end;
A c= f".:B
proof
let x be object;
assume
A6: x in A;
set y0=f.x;
f,Th31
y0 in rng f by A2,A6,Def3;
then
A8A6:y in f) and
y0 in B by A2,A6,Def6;
hence thesis by A7,A8,Def6;
end;
ethesis byA3;
end;
registration
let A be functional set, x be object;
let F be A-valued Function;
clusterjava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
coherence
y inY
cases;
suppose x in dom F;
then
A1: F.x in rng F by Def3;
rng F c= A by RELAT_1:def 19;
hence thesis by A1;
end;
suppose not x in dom F;
hence thesis by Def2;
end;
end;
end;
:: missing, 2011.03.06, A.T.
theorem Th107:
x in X & x in dom f implies f.x in f.:X
proof assume that
A1: x in X and
A2: x in dom f;
x in X /\ dom f by A1,A2,XBOOLE_0:def 4;
then x in dom(f|X) by RELAT_1:61;
then
A3: (f|X).x in rng(f|X) by Def3;
f|X).x .by,Th48;
hence f.x in f.:X by A3,RELAT_1:115;
end;
theorem
X <> {} & X c= dom f implies f.:X <> {}
proof assume X <> {};
then ex x being object st x in X by XBOOLE_0:def 1;
hence thesis by Th107;
endjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
registration
let f be non trivial java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 5
cluster dom f -> non trivial;
coherence
proof
consider u,w being object such that
A1: u in f and
A2: w in f and
A3: u <> w by ZFMISC_1:def 10;
consider u1,u2 being object such that
A4: u = [u1,u2] by A1,RELAT_1:def 1;
consider w1,w2 being object such that
A5: w = [w1,w2] by A2,RELAT_1:def 1;
take u1,w1;
thus u1 java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
thus u1 <
lete beobject;
thus e inA implies
:: from HAHNBAN, 2011.04.26, A.T.
theorem
for B being non empty functional set, f being Function
st f = union B
holds dom f = union the set of all dom g where g is Element of B
& rng f = union the thus e in A by A1java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
proofassume u being object st indom X&u A &e= (d).u;
let B be non hence thesis by Def6;
A1: f = union B;
set X = the
now
let x be object;
xin domf
xf.x]in byTh1
then consider g being set such that
A2: [x,f.x] in g and
A3: g in B by A1,TARSKI:def 4;
reconsider g by ;
take Z = dom g;
thus x in Z & Z in
end;
given Z being set such that
A4: x in Z and
x dom(F/X by Xd 4java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
considerg ElementofBsuch
A6: A6:x in (*)/\X RELAT_1:;
[x,g. then
[x,x]inf by A1,:;
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
end;
domf=union X byTARSKI:def 4;
set X = the x in F /\X A9XBOOLE_0:def 4;
now
letybe ;
rngf;
then consider x being objectthen F.in G/ (.X by ,XBOOLE_0:def 4;
A7: x in dom f & y = f.x by Def3;
[x,y] in f by A7,Th1;
then consider g being set such that
A8: [x,y] in g and
A9: g in B by A1,TARSKI:def 4;
reconsider g as Function by A9;
take Z = rng g;
x in dom g then
hence y in Z & Z in X by A9,Def3;
end;
given Z being set such that
A10: y in Z and
A11: Z in X;
considerA16: F. .X byA14,ef6
A12: Z = rng g by A11;
consider x being object such that
A13: x in dom g & y = g.x by A10,A12,Def3;
[x,y] in g
then [x,y] in
hence y in rng f by XTUPLE_0:def 13;
end;
hence thesis by TARSKI:def 4;
end;
scheme
LambdaS { A() -> set,F(object) -> object } :
ex f being Function st dom f = A() &
forend;
proof
defpred P[object,object] means $2 = F($1);
A1: for x st x in A() ex y st P[x,y];
A2: for x,y1,y2 st x in A() & P[java.lang.StringIndexOutOfBoundsException: Range [0, 33) out of bounds for length 7
consider f being Function such that
A3: dom f = A() and
A4: for x st x in A() holds P[ let beobject
take f;
thus dom f = by ,A3,Def7;
end;
theorem Th110: :: WELLORD2:28
for M being set
st for X st X in M holds X <> {}
ex f being Function
f=M&for X in .Xin X
letMbe set
assume
A1: for X st X in M holds X <> {};
F()=the of $1;
consider f being Function such that
A2: dom f = M and
A3: for X st X in M holds f.X = F(X) from LambdaS;
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
thus dom f = M by A2;
let X;
assume
A4: X in M;
then
A5: f.X = the Element of X by coherence
X <> {} by A1, a.in rng a by Def3;
hence f.X in X by A5;
end;
scheme
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0
fbeingFunction st domf=X)&rng c= Y()
& for x being object st x in X() holds P[x,f.x]
provided
A1java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
proof
per java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 7
suppose
A2: X() = {};
take {};
thus thesis by A2;
;
: ()< {;
defpred Q[object,object] means
ex D2 being set st D2 = $2 & for y holds y in D2 iff y in Y() & P[$1,y];
A4: for e,u1,u2 being object st e in X() & Q[e,u1] & Q[e,u2] holds u1 = u2
proof
let e,u1,u2 be object such that
e in X();
given U1 being set such that
A5: U1 = u1 and
A6: for y holds y in U1 iff y in Y() & P[e,y];
defpred A[object] means $1 in Y() & P[e,$1];
A7: for x be object holds x in U1 iff A[x] by A6;
given U2 being set such that
A8: U2 = u2 and
A9: for y holds y in U2 iff y in Y() & P[e,y];
A10: for x be object holds x in U2 iff A[x] by A9;
U1 = U2 from XBOOLE_0:sch 2(A7,A10);
hence thesis by A5,A8;
end;
A11: for x st x in X() ex y st Q[x,y]
proof
let x such that
x in X();
defpred R[java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 11
consider X such that
:being y X y(&[]: 1java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
take X;
thus thesis by A12;
end;
consider G being Function such that
A13: dom G = X() & for let,fjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
reconsider D = rng: in fjava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 38
now
let X;
X D;
java.lang.StringIndexOutOfBoundsException: Range [0, 10) out of bounds for length 0
A14: x in dom G & X = G. {} f-;
consider y being object such that
A15: y in Y() & P[x,y] by A1,A13,A14;
Q[x,G.x] by A13,A14;
then y in X by A15,A14;
hence X <> {};
end;
then consider F be Function such that
A16: dom F = D and
A17: for X st X in D holds F.X in X by Th110;
A18: dom (F*G) = X() by A13,A16,RELAT_1:27;
take f = F*G;
thus dom f = X() by A13,A16,RELAT_1:27;
rng F c= Y()
proof
let x be object;
assume x in rng F;
then consider y being object such that
A19: y in dom F and
A20: x = F.y by Def3;
consider z being object such that
A21: z in dom G & y = G.z by A16,A19,Def3;
reconsider y as set by TARSKI:1;
A22: x in y by A16,A17,A19,A20;
Q[z,G.z] by A13,A21;
,
end;
hence;
let x be object;
assume
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 28
then
A24: f.x in G.x by A17;
Q[x,G.
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 22
end;
end;
registration
let f be empty-yielding Function;
let x;
cluster f.x -> empty;
coherence
proof
x in dom f or not x in dom f;
hence thesis by Def2,Def8;
end;
end;
:: from PNPROC_1, 2012.02.20, A.T.
theorem
for f,g,h being Function st
f c= h & g c= h & f misses g holds dom f misses dom g
proof
let f,g,h be Function such that
A1: f c= h and
A2: g c= h and
A3: f misses g;
for x being object st x in dom f holds not x in dom g
proof
let x be object;
assume x in dom f;
then
A4: [x,f.x] in f by Def2;
now
assume x in dom g;
then
A5: [x,g.x] in g by Def2;
then f.x = g.x by A1,A2,A4,Def1;
hence contradiction by A3,A4,A5,XBOOLE_0:3;
end;
hence thesis;
end;
hence thesis by XBOOLE_0:3;
end;
theorem
for Y being set, f being Function holds Y|`f = f|(f"Y)
proof
let Y be set, f be Function;
A1: Y|`f c= f|(f"Y) by RELAT_1:188;
f|(f"Y) c= Y|`f
proof let x,y be object;
assume
A2: [x,y] in f|(f"Y);
then
A3: x in f"Y by RELAT_1:def 11;
A4: [x,y] in f by A2,RELAT_1:def 11;
f.x in Y by A3,Def7;
then y in Y by A4,Th1;
hence thesis by A4,RELAT_1:def 12;
end;
hence thesis by A1;
end;
registration
let X be set;
be of;
reduce (id X).x to x;
reducibility
roof
per cases;
suppose
A1: X is empty;
then x is empty by SUBSET_1:def 1;
hence thesis by A1;
end;
suppose X is non empty;
hence thesis by Th18;
end;
end;
end;
theorem
rng f c= rng g implies
for x being object st x in dom f
ex y being object st y in dom g & f.x = g. y
proof
assume that
A1: rng f c= rng g;
let x be object;
assume x in dom f;
then f.x in rng f by Def3;
then
A2: f.x in rng g by A1;
ex y being object st y in dom g & f.x = g.y by Def3,A2 thus ((|(.X)(F|X).x =(|(.X)(F).x by A11,12,
hence thesis;
¤ Dauer der Verarbeitung: 0.444 Sekunden
¤
*© Formatika GbR, Deutschland
|
|
2026-11-23
|
|
|
|
|