We first derive from Gödel's class existence axioms classes that reverse ordered pairs and that test membership conditions on chosen entries of tuples, then rewrite the formula into a normal form whose only atomic parts are set-in-set and set-in-class memberships, and finally build the class by induction on the number of connectives and quantifiers. Uniqueness for one variable follows from extensionality.
The argument follows Mendelson's proof of the class existence theorem (Introduction to Mathematical Logic, Chapter 4, Proposition 4.4 and the propositions before it), reorganised. It is a proof scheme: for each fixed formula, and for each fixed metatheoretic number used below, the inductions below (which are inductions in the metatheory) produce a proof in the theory.
Throughout, letters in Step 0 denote sets. We use two facts about tuples that hold by their definition: every tuple and every ordered pair of sets is a set, and , in particular and . All equivalences below are obtained by instantiating the universally quantified conditions of the axioms at these sets; no injectivity of pairs is needed. We also use that some set exists, by the axiom of the empty set; call this fact (S). Each clause of the class existence axioms applies to arbitrary classes and .
Step 0. Derived class constructions.
Lemma A (reversing pairs). For every class there is a class such that if and only if , for all sets .
By (B5) applied to there is with if and only if , for all sets ; taking gives if and only if . By (B7) applied to there is with if and only if . By (B6) applied to there is with if and only if ; by the previous condition (instantiated at ) this holds if and only if , that is, if and only if . So the swap of the first two entries of a triple is the composite of one transposition and one rotation. Finally, by (B4) applied to there is with if and only if there is a set with . For we have , so if and only if there is a set with . The condition does not involve , and by (S) some set exists; hence if and only if .
Lemma R (testing one entry against a passenger). For every metatheoretic , every with and every class there is a class such that, for all sets , we have if and only if .
By induction on . For we have and , so works. Suppose the lemma holds for , and let . Write , a set; then .
Case . The induction hypothesis gives with if and only if . By (B5) applied to there is with if and only if . By (B7) applied to there is with if and only if . Then if and only if , if and only if , if and only if .
Case . By (B5) applied to there is with if and only if . By (B6) applied to there is with if and only if . Then if and only if , if and only if .
Lemma Q (one entry in a class). For every metatheoretic , every with and every class there is a class such that if and only if , for all sets .
By (B5) applied to there is with if and only if . Lemma R applied to , and gives with if and only if , that is, if and only if . By (B4) applied to there is with if and only if there is a set with . Taking : if and only if there is a set with , which by (S) holds if and only if .
Lemma P (two distinct entries as a pair in a class). For every metatheoretic , all distinct with and every class there is a class such that if and only if , for all sets .
By induction on . For there are no distinct and there is nothing to prove. Suppose the lemma holds for , let be in , and write .
Case . The induction hypothesis gives with if and only if . By (B5) applied to there is with if and only if ; with and this is the claim.
Case , so . Lemma R applied to , and gives with if and only if ; take .
Case , so . Lemma A applied to gives with if and only if . Lemma R applied to , and gives with if and only if , that is, if and only if ; take .
Reduction to class parameters. Let be as in the clause comprehension of the statement, and suppose some parameter is a set variable , assigned a set . By renaming bound variables (as in Stage (1a) below, with fresh set variables; equivalent under every assignment by elementary logic) we may assume that no quantifier of binds , so every occurrence of in is free. Choose a class variable occurring nowhere in and different from all parameters (the list of class variables is infinite by Formulas of the Language of Class Theory, Free Variables, Predicative Formulas and Abbreviations §symbols), and let result from by replacing every occurrence of by . An atomic part containing , such as , , or , becomes the same part with in place of , which is again an atomic formula by Formulas of the Language of Class Theory, Free Variables, Predicative Formulas and Abbreviations §formula, and no quantifier is added or changed. Hence is predicative, its free variables are those of with replaced by , and in particular its free set variables other than set-variable parameters are among . The set is a class, by Classes, Membership, Sets and Proper Classes §set; assign it to . Read as in Formulas of the Language of Class Theory, Free Variables, Predicative Formulas and Abbreviations §reading, each atomic part of then says about exactly what the corresponding part of says, and the quantifiers of both formulas range over sets through the same set variables, none of which is or ; so and express the same statement about , and the remaining parameters. Doing this for each set-variable parameter in turn yields a predicative formula whose parameters are all class variables, distinct from , and which, with each new class variable assigned the set assigned to the parameter it replaced, expresses the same statement as ; a class obtained for it at these classes therefore satisfies the conclusion of the clause comprehension of the statement for . So for the proof of the clause comprehension of the statement we may, and through the end of Step 2 do, assume that are all class variables, and we keep writing for the formula.
Step 1. Normal form.
Call a formula normal if it is predicative, is built by the rules of Formulas of the Language of Class Theory, Free Variables, Predicative Formulas and Abbreviations §formula using only , and over set variables, every atomic part has the form with a set variable and either a set variable different from or a class variable, and no two occurrences of in it bind the same variable. Its degree is the number of occurrences of , and in it. Abbreviations (, , ) are understood unfolded as in Formulas of the Language of Class Theory, Free Variables, Predicative Formulas and Abbreviations §formula.
Let be as in the clause comprehension of the statement, with the parameters all class variables as arranged above. Since is predicative, no class variable is quantified in it, so every class variable occurring in is free and hence among . We transform in three stages; in each, a fresh variable means a set variable occurring nowhere in the current formula, different from and from every variable introduced before (the list of set variables is infinite by Formulas of the Language of Class Theory, Free Variables, Predicative Formulas and Abbreviations §symbols).
Stage (1a). Replace each part , one at a time, by , where is fresh and results from by replacing the free occurrences of by . By elementary logic (renaming of bound variables, with no capture since is fresh) the result is equivalent to the original under every assignment. Afterwards no two quantifiers bind the same variable and none binds any of .
Stage (1b). Replace each atomic part in which is a class variable, or and are the same set variable, by with fresh. This is equivalent for every assignment of classes to and to (with if are the same variable), read as in Formulas of the Language of Class Theory, Free Variables, Predicative Formulas and Abbreviations §reading: if , then is a set by Elements Are Sets, and the Empty Set and the Pair of Two Sets Exist and Are Unique §elements, so the set witnesses and ; conversely, if some set satisfies and , then by substitutivity of equality (Formulas of the Language of Class Theory, Free Variables, Predicative Formulas and Abbreviations §symbols). The new part has a set variable on the left, different from .
Stage (1c). Replace each atomic part (with variables of any kind, including those created in (1b)) by with fresh. For classes assigned to : if then for every set , if and only if , by substitutivity of equality (Formulas of the Language of Class Theory, Free Variables, Predicative Formulas and Abbreviations §symbols); conversely, if this holds for every set then by the axiom of extensionality. The new atomic parts and have the set variable on the left, different from and . This stage creates no equality and no membership with a class variable on the left.
Each replacement substitutes for an atomic part a formula with the same free variables and with new quantifiers over fresh set variables only, so by the replacement property of elementary logic the whole formula stays equivalent to under every assignment, stays predicative, and keeps its free variables. The result is therefore a normal formula, equivalent to for all sets and classes , whose free set variables are among , whose free class variables are among , and none of whose quantifiers binds any of .
Step 2. Induction on the degree.
Fix classes . We prove, by strong induction on the metatheoretic number , the claim : for every normal formula of degree whose class variables are among , every and every list of distinct set variables that contains every free set variable of and no variable bound by a quantifier of , there is a class with if and only if , for all sets . The induction hypothesis is used for all such and lists, not only the given one.
Degree , is with distinct set variables. Both are free, so and with . By (B1) there is with if and only if . Lemma P applied to , , and gives with if and only if , that is, if and only if .
Degree , is with a set variable. Then for some , and Lemma Q applied to , and gives the class.
Degree , is . The formula is normal of degree with the same free and bound variables, so the induction hypothesis gives for and the same list. By (B3) applied to there is with if and only if for every set ; taking the set , this holds if and only if fails, that is, if and only if .
Degree , is . Both and are normal of degree less than , their free set variables are free in and their bound variables are bound in , so the same list serves for both; the induction hypothesis gives for and for . By (B2) applied to and there is with if and only if and ; at this holds if and only if and .
Degree , is with a set variable. Since is bound in , it is not in the list, so are distinct set variables. Every free set variable of is free in or equals , so it lies in the extended list. Since is normal, is not bound again inside , and the other bound variables of are bound in , so the extended list contains no bound variable of ; and is normal of degree . (If does not occur free in nothing changes.) The induction hypothesis, applied to with the list , gives with if and only if , for all sets . By (B4) applied to there is with if and only if there is a set with . Since , we get if and only if there is a set with , which by Formulas of the Language of Class Theory, Free Variables, Predicative Formulas and Abbreviations §reading is the reading of .
Conclusion of the clause comprehension of the statement. Given , the list and classes , Step 1 yields the normal formula for which the list satisfies the hypotheses of , with the degree of . Step 2 gives with if and only if , hence, by the equivalence of Step 1, if and only if , for all sets .
Step 3. Uniqueness, the clause unique of the statement. Let and let and both satisfy the condition. For every set , holds if and only if , if and only if . By the axiom of extensionality, which requires agreement on sets only, .
Loading…