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.
We work in the setting of Sets and Maps: Ordinary Notation. Fix , , , and as in the statement.
The two pieces. Let ; since is expressed by a predicative formula, 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 lies in if and only if and . Let , a set by Sets and Maps: Ordinary Notation Β§sets; by The Boolean Operations on Classes, Disjointness, and the Universal Class Β§operations a set lies in if and only if and , that is, if and only if and fails. Hence , , no set lies in both and , and every lies in (if ) or in (if not).
The two partial maps. Every is an element of with , and every is an element of without . Hence, by the hypotheses of the statement, for every the symbols in are used properly and , and for every the symbols in are used properly and . By Maps and Relations Given by Formulas Β§map, applied with the sets and and the expression , and again with , and , there are maps and with for and for . By Functions, Values of a Function, and Functions from One Class to Another Β§map, each is a function with and ; each is a set by Sets and Maps: Ordinary Notation Β§maps.
The glued map. Let , 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 or in . We check the requirements of Functions, Values of a Function, and Functions from One Class to Another Β§map for .
is a relation. Every element of lies in or in , 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 is a relation by Relations, Domain, Range, Inverse and Composition Β§relation.
A pair in has its first component in . If , then by Relations, Domain, Range, Inverse and Composition Β§domain and Class Abstraction: the Class of All Sets Satisfying a Predicative Formula Β§abstraction.
is a function. Let and . If one of these pairs lay in and the other in , then by the previous paragraph would lie in both and , which is impossible. So both pairs lie in the same , and because is a function (Functions, Values of a Function, and Functions from One Class to Another Β§function). Hence is a function.
. If , then by Relations, Domain, Range, Inverse and Composition Β§domain there is with , so for some , whence . Conversely, let . Then for some , so and there is with ; hence . 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.
. If , then by Relations, Domain, Range, Inverse and Composition Β§range there is with , so for some , whence (Subclasses and Subsets Β§subclass).
Thus is a map by Functions, Values of a Function, and Functions from One Class to Another Β§map.
Values. Let with , so . By Functions, Values of a Function, and Functions from One Class to Another Β§value, , and since is the unique set with (Functions, Values of a Function, and Functions from One Class to Another Β§value), . Likewise, for without we have and , so . This proves existence.
Uniqueness. Let be any map with for with and for without . Then and are functions with (Functions, Values of a Function, and Functions from One Class to Another Β§map), and for every either holds and , or it fails and . Hence by Basic Properties of Functions: Equality, Composition, Identity, Inverse and Restriction Β§equality.
Loadingβ¦