TheoremBase

The map is glued as the union of the two maps given by the expressions on the set where the property holds and on its complement, and uniqueness follows from equality of functions with equal domains and values.

Proof

We work in the setting of Sets and Maps: Ordinary Notation. Fix AA, BB, PP, t1t_{1} and t2t_{2} as in the statement.

The two pieces. Let A1={x∈A:P(x)}A_{1}=\{x\in A:P(x)\}; since PP is expressed by a predicative formula, A1A_{1} is a set by Sets and Maps: Ordinary Notation Β§set-builder, and by Class Abstraction: the Class of All Sets Satisfying a Predicative Formula Β§restricted and Class Abstraction: the Class of All Sets Satisfying a Predicative Formula Β§abstraction a set xx lies in A1A_{1} if and only if x∈Ax\in A and P(x)P(x). Let A2=Aβˆ–A1A_{2}=A\setminus A_{1}, a set by Sets and Maps: Ordinary Notation Β§sets; by The Boolean Operations on Classes, Disjointness, and the Universal Class Β§operations a set xx lies in A2A_{2} if and only if x∈Ax\in A and xβˆ‰A1x\notin A_{1}, that is, if and only if x∈Ax\in A and P(x)P(x) fails. Hence A1βŠ†AA_{1}\subseteq A, A2βŠ†AA_{2}\subseteq A, no set lies in both A1A_{1} and A2A_{2}, and every x∈Ax\in A lies in A1A_{1} (if P(x)P(x)) or in A2A_{2} (if not).

The two partial maps. Every x∈A1x\in A_{1} is an element of AA with P(x)P(x), and every x∈A2x\in A_{2} is an element of AA without P(x)P(x). Hence, by the hypotheses of the statement, for every x∈A1x\in A_{1} the symbols in t1(x)t_{1}(x) are used properly and t1(x)∈Bt_{1}(x)\in B, and for every x∈A2x\in A_{2} the symbols in t2(x)t_{2}(x) are used properly and t2(x)∈Bt_{2}(x)\in B. By Maps and Relations Given by Formulas Β§map, applied with the sets A1A_{1} and BB and the expression t1t_{1}, and again with A2A_{2}, BB and t2t_{2}, there are maps f1:A1β†’Bf_{1}:A_{1}\to B and f2:A2β†’Bf_{2}:A_{2}\to B with f1(x)=t1(x)f_{1}(x)=t_{1}(x) for x∈A1x\in A_{1} and f2(x)=t2(x)f_{2}(x)=t_{2}(x) for x∈A2x\in A_{2}. By Functions, Values of a Function, and Functions from One Class to Another Β§map, each fif_{i} is a function with dom⁑fi=Ai\operatorname{dom}f_{i}=A_{i} and ran⁑fiβŠ†B\operatorname{ran}f_{i}\subseteq B; each fif_{i} is a set by Sets and Maps: Ordinary Notation Β§maps.

The glued map. Let f=f1βˆͺf2f=f_{1}\cup f_{2}, a set by Subclasses of Sets Are Sets, the Union and Power Set of a Set Exist Uniquely, Binary Unions of Sets Are Sets, and the Universal Class Is Proper Β§binary-union; by The Boolean Operations on Classes, Disjointness, and the Universal Class Β§operations its elements are the sets lying in f1f_{1} or in f2f_{2}. We check the requirements of Functions, Values of a Function, and Functions from One Class to Another Β§map for f:Aβ†’Bf:A\to B.

ff is a relation. Every element of ff lies in f1f_{1} or in f2f_{2}, both of which are relations by Functions, Values of a Function, and Functions from One Class to Another Β§function, so it is an ordered pair; thus ff is a relation by Relations, Domain, Range, Inverse and Composition Β§relation.

A pair in fif_{i} has its first component in AiA_{i}. If (u,v)∈fi(u,v)\in f_{i}, then u∈dom⁑fi=Aiu\in\operatorname{dom}f_{i}=A_{i} by Relations, Domain, Range, Inverse and Composition §domain and Class Abstraction: the Class of All Sets Satisfying a Predicative Formula §abstraction.

ff is a function. Let (u,v)∈f(u,v)\in f and (u,vβ€²)∈f(u,v')\in f. If one of these pairs lay in f1f_{1} and the other in f2f_{2}, then by the previous paragraph uu would lie in both A1A_{1} and A2A_{2}, which is impossible. So both pairs lie in the same fif_{i}, and v=vβ€²v=v' because fif_{i} is a function (Functions, Values of a Function, and Functions from One Class to Another Β§function). Hence ff is a function.

dom⁑f=A\operatorname{dom}f=A. If u∈dom⁑fu\in\operatorname{dom}f, then by Relations, Domain, Range, Inverse and Composition Β§domain there is vv with (u,v)∈f(u,v)\in f, so (u,v)∈fi(u,v)\in f_{i} for some ii, whence u∈AiβŠ†Au\in A_{i}\subseteq A. Conversely, let u∈Au\in A. Then u∈Aiu\in A_{i} for some ii, so u∈dom⁑fiu\in\operatorname{dom}f_{i} and there is vv with (u,v)∈fiβŠ†f(u,v)\in f_{i}\subseteq f; hence u∈dom⁑fu\in\operatorname{dom}f. The two classes have the same elements, so they are equal by Class Theory NBG: the Axioms, Standing Conventions and Basic Notation Β§extensionality, in force by Sets and Maps: Ordinary Notation Β§base.

ran⁑fβŠ†B\operatorname{ran}f\subseteq B. If v∈ran⁑fv\in\operatorname{ran}f, then by Relations, Domain, Range, Inverse and Composition Β§range there is uu with (u,v)∈f(u,v)\in f, so (u,v)∈fi(u,v)\in f_{i} for some ii, whence v∈ran⁑fiβŠ†Bv\in\operatorname{ran}f_{i}\subseteq B (Subclasses and Subsets Β§subclass).

Thus f:A→Bf:A\to B is a map by Functions, Values of a Function, and Functions from One Class to Another §map.

Values. Let x∈Ax\in A with P(x)P(x), so x∈A1x\in A_{1}. By Functions, Values of a Function, and Functions from One Class to Another Β§value, (x,f1(x))∈f1βŠ†f(x,f_{1}(x))\in f_{1}\subseteq f, and since f(x)f(x) is the unique set zz with (x,z)∈f(x,z)\in f (Functions, Values of a Function, and Functions from One Class to Another Β§value), f(x)=f1(x)=t1(x)f(x)=f_{1}(x)=t_{1}(x). Likewise, for x∈Ax\in A without P(x)P(x) we have x∈A2x\in A_{2} and (x,f2(x))∈f2βŠ†f(x,f_{2}(x))\in f_{2}\subseteq f, so f(x)=f2(x)=t2(x)f(x)=f_{2}(x)=t_{2}(x). This proves existence.

Uniqueness. Let g:Aβ†’Bg:A\to B be any map with g(x)=t1(x)g(x)=t_{1}(x) for x∈Ax\in A with P(x)P(x) and g(x)=t2(x)g(x)=t_{2}(x) for x∈Ax\in A without P(x)P(x). Then ff and gg are functions with dom⁑f=A=dom⁑g\operatorname{dom}f=A=\operatorname{dom}g (Functions, Values of a Function, and Functions from One Class to Another Β§map), and for every x∈Ax\in A either P(x)P(x) holds and g(x)=t1(x)=f(x)g(x)=t_{1}(x)=f(x), or it fails and g(x)=t2(x)=f(x)g(x)=t_{2}(x)=f(x). Hence g=fg=f by Basic Properties of Functions: Equality, Composition, Identity, Inverse and Restriction Β§equality. β– \blacksquare

Citations

Loading…

Dependencies

Uses0

Loading…

Comments

Log in to comment.

Loading…