Misplaced Pages

Von Neumann–Bernays–Gödel set theory

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
(Redirected from Von Neumann–Bernays–Gödel Set Theory) System of mathematical set theory

In the foundations of mathematics, von Neumann–Bernays–Gödel set theory (NBG) is an axiomatic set theory that is a conservative extension of Zermelo–Fraenkel–choice set theory (ZFC). NBG introduces the notion of class, which is a collection of sets defined by a formula whose quantifiers range only over sets. NBG can define classes that are larger than sets, such as the class of all sets and the class of all ordinals. Morse–Kelley set theory (MK) allows classes to be defined by formulas whose quantifiers range over classes. NBG is finitely axiomatizable, while ZFC and MK are not.

A key theorem of NBG is the class existence theorem, which states that for every formula whose quantifiers range only over sets, there is a class consisting of the sets satisfying the formula. This class is built by mirroring the step-by-step construction of the formula with classes. Since all set-theoretic formulas are constructed from two kinds of atomic formulas (membership and equality) and finitely many logical symbols, only finitely many axioms are needed to build the classes satisfying them. This is why NBG is finitely axiomatizable. Classes are also used for other constructions, for handling the set-theoretic paradoxes, and for stating the axiom of global choice, which is stronger than ZFC's axiom of choice.

John von Neumann introduced classes into set theory in 1925. The primitive notions of his theory were function and argument. Using these notions, he defined class and set. Paul Bernays reformulated von Neumann's theory by taking class and set as primitive notions. Kurt Gödel simplified Bernays' theory for his relative consistency proof of the axiom of choice and the generalized continuum hypothesis.

Classes in set theory

The uses of classes

Classes have several uses in NBG:

  • They produce a finite axiomatization of set theory.
  • They are used to state a "very strong form of the axiom of choice"—namely, the axiom of global choice: There exists a global choice function G {\displaystyle G} defined on the class of all nonempty sets such that G ( x ) x {\displaystyle G(x)\in x} for every nonempty set x . {\displaystyle x.} This is stronger than ZFC's axiom of choice: For every set s {\displaystyle s} of nonempty sets, there exists a choice function f {\displaystyle f} defined on s {\displaystyle s} such that f ( x ) x {\displaystyle f(x)\in x} for all x s . {\displaystyle x\in s.}
  • The set-theoretic paradoxes are handled by recognizing that some classes cannot be sets. For example, assume that the class O r d {\displaystyle Ord} of all ordinals is a set. Then O r d {\displaystyle Ord} is a transitive set well-ordered by {\displaystyle \in } . So, by definition, O r d {\displaystyle Ord} is an ordinal. Hence, O r d O r d {\displaystyle Ord\in Ord} , which contradicts {\displaystyle \in } being a well-ordering of O r d . {\displaystyle Ord.} Therefore, O r d {\displaystyle Ord} is not a set. A class that is not a set is called a proper class; O r d {\displaystyle Ord} is a proper class.
  • Proper classes are useful in constructions. In his proof of the relative consistency of the axiom of global choice and the generalized continuum hypothesis, Gödel used proper classes to build the constructible universe. He constructed a function on the class of all ordinals that, for each ordinal, builds a constructible set by applying a set-building operation to previously constructed sets. The constructible universe is the image of this function.

Axiom schema versus class existence theorem

Once classes are added to the language of ZFC, it is easy to transform ZFC into a set theory with classes. First, the axiom schema of class comprehension is added. This axiom schema states: For every formula ϕ ( x 1 , , x n ) {\displaystyle \phi (x_{1},\ldots ,x_{n})} that quantifies only over sets, there exists a class A {\displaystyle A} consisting of the n {\displaystyle n} -tuples satisfying the formula—that is, x 1 x n [ ( x 1 , , x n ) A ϕ ( x 1 , , x n ) ] . {\displaystyle \forall x_{1}\cdots \,\forall x_{n}.} Then the axiom schema of replacement is replaced by a single axiom that uses a class. Finally, ZFC's axiom of extensionality is modified to handle classes: If two classes have the same elements, then they are identical. The other axioms of ZFC are not modified.

This theory is not finitely axiomatized. ZFC's replacement schema has been replaced by a single axiom, but the axiom schema of class comprehension has been introduced.

To produce a theory with finitely many axioms, the axiom schema of class comprehension is first replaced with finitely many class existence axioms. Then these axioms are used to prove the class existence theorem, which implies every instance of the axiom schema. The proof of this theorem requires only seven class existence axioms, which are used to convert the construction of a formula into the construction of a class satisfying the formula.

Axiomatization of NBG

Classes and sets

NBG has two types of objects: classes and sets. Intuitively, every set is also a class. There are two ways to axiomatize this. Bernays used many-sorted logic with two sorts: classes and sets. Gödel avoided sorts by introducing primitive predicates: C l s ( A ) {\displaystyle {\mathfrak {Cls}}(A)} for " A {\displaystyle A} is a class" and M ( A ) {\displaystyle {\mathfrak {M}}(A)} for " A {\displaystyle A} is a set" (in German, "set" is Menge). He also introduced axioms stating that every set is a class and that if class A {\displaystyle A} is a member of a class, then A {\displaystyle A} is a set. Using predicates is the standard way to eliminate sorts. Elliott Mendelson modified Gödel's approach by having everything be a class and defining the set predicate M ( A ) {\displaystyle M(A)} as C ( A C ) . {\displaystyle \exists C(A\in C).} This modification eliminates Gödel's class predicate and his two axioms.

Bernays' two-sorted approach may appear more natural at first, but it creates a more complex theory. In Bernays' theory, every set has two representations: one as a set and the other as a class. Also, there are two membership relations: the first, denoted by "∈", is between two sets; the second, denoted by "η", is between a set and a class. This redundancy is required by many-sorted logic because variables of different sorts range over disjoint subdomains of the domain of discourse.

The differences between these two approaches do not affect what can be proved, but they do affect how statements are written. In Gödel's approach, A C {\displaystyle A\in C} where A {\displaystyle A} and C {\displaystyle C} are classes is a valid statement. In Bernays' approach this statement has no meaning. However, if A {\displaystyle A} is a set, there is an equivalent statement: Define "set a {\displaystyle a} represents class A {\displaystyle A} " if they have the same sets as members—that is, x ( x a x η A ) . {\displaystyle \forall x(x\in a\iff x\;\eta \;A).} The statement a η C {\displaystyle a\;\eta \;C} where set a {\displaystyle a} represents class A {\displaystyle A} is equivalent to Gödel's A C . {\displaystyle A\in C.}

The approach adopted in this article is that of Gödel with Mendelson's modification. This means that NBG is an axiomatic system in first-order predicate logic with equality, and its only primitive notions are class and the membership relation.

Definitions and axioms of extensionality and pairing

A set is a class that belongs to at least one class: A {\displaystyle A} is a set if and only if C ( A C ) {\displaystyle \exists C(A\in C)} . A class that is not a set is called a proper class: A {\displaystyle A} is a proper class if and only if C ( A C ) {\displaystyle \forall C(A\notin C)} . Therefore, every class is either a set or a proper class, and no class is both.

Gödel introduced the convention that uppercase variables range over classes, while lowercase variables range over sets. Gödel also used names that begin with an uppercase letter to denote particular classes, including functions and relations defined on the class of all sets. Gödel's convention is used in this article. It allows us to write:

  • x ϕ ( x ) {\displaystyle \exists x\,\phi (x)} instead of x ( C ( x C ) ϕ ( x ) ) {\displaystyle \exists x{\bigl (}\exists C(x\in C)\land \phi (x){\bigr )}}
  • x ϕ ( x ) {\displaystyle \forall x\,\phi (x)} instead of x ( C ( x C ) ϕ ( x ) ) {\displaystyle \forall x{\bigl (}\exists C(x\in C)\implies \phi (x){\bigr )}}

The following axioms and definitions are needed for the proof of the class existence theorem.

Axiom of extensionality.  If two classes have the same elements, then they are identical.

A B [ x ( x A x B ) A = B ] {\displaystyle \forall A\,\forall B\,}

This axiom generalizes ZFC's axiom of extensionality to classes.

Axiom of pairing.  If x {\displaystyle x} and y {\displaystyle y} are sets, then there exists a set p {\displaystyle p} whose only members are x {\displaystyle x} and y {\displaystyle y} .

x y p z [ z p ( z = x z = y ) ] {\displaystyle \forall x\,\forall y\,\exists p\,\forall z\,}

As in ZFC, the axiom of extensionality implies the uniqueness of the set p {\displaystyle p} , which allows us to introduce the notation { x , y } . {\displaystyle \{x,y\}.}

Ordered pairs are defined by:

( x , y ) = { { x } , { x , y } } {\displaystyle (x,y)=\{\{x\},\{x,y\}\}}

Tuples are defined inductively using ordered pairs:

( x 1 ) = x 1 , {\displaystyle (x_{1})=x_{1},}
For  n > 1 : ( x 1 , , x n 1 , x n ) = ( ( x 1 , , x n 1 ) , x n ) . {\displaystyle {\text{For }}n>1\!:(x_{1},\ldots ,x_{n-1},x_{n})=((x_{1},\ldots ,x_{n-1}),x_{n}).}

Class existence axioms and axiom of regularity

Class existence axioms will be used to prove the class existence theorem: For every formula in n {\displaystyle n} free set variables that quantifies only over sets, there exists a class of n {\displaystyle n} -tuples that satisfy it. The following example starts with two classes that are functions and builds a composite function. This example illustrates the techniques that are needed to prove the class existence theorem, which lead to the class existence axioms that are needed.

Example 1:  If the classes F {\displaystyle F} and G {\displaystyle G} are functions, then the composite function G F {\displaystyle G\circ F} is defined by the formula: t [ ( x , t ) F ( t , y ) G ] . {\displaystyle \exists t.} Since this formula has two free set variables, x {\displaystyle x} and y , {\displaystyle y,} the class existence theorem constructs the class of ordered pairs: G F = { ( x , y ) : t [ ( x , t ) F ( t , y ) G ] } . {\displaystyle G\circ F\,=\,\{(x,y):\exists t\}.}

Because this formula is built from simpler formulas using conjunction {\displaystyle \land } and existential quantification {\displaystyle \exists } , class operations are needed that take classes representing the simpler formulas and produce classes representing the formulas with {\displaystyle \land } and {\displaystyle \exists } . To produce a class representing a formula with {\displaystyle \land } , intersection used since x A B x A x B . {\displaystyle x\in A\cap B\iff x\in A\land x\in B.} To produce a class representing a formula with {\displaystyle \exists } , the domain is used since x D o m ( A ) t [ ( x , t ) A ] . {\displaystyle x\in Dom(A)\iff \exists t.}

Before taking the intersection, the tuples in F {\displaystyle F} and G {\displaystyle G} need an extra component so they have the same variables. The component y {\displaystyle y} is added to the tuples of F {\displaystyle F} and x {\displaystyle x} is added to the tuples of G {\displaystyle G} : F = { ( x , t , y ) : ( x , t ) F } {\displaystyle F'=\{(x,t,y):(x,t)\in F\}\,} and G = { ( t , y , x ) : ( t , y ) G } {\displaystyle \,G'=\{(t,y,x):(t,y)\in G\}} In the definition of F , {\displaystyle F',} the variable y {\displaystyle y} is not restricted by the statement ( x , t ) F , {\displaystyle (x,t)\in F,} so y {\displaystyle y} ranges over the class V {\displaystyle V} of all sets. Similarly, in the definition of G , {\displaystyle G',} the variable x {\displaystyle x} ranges over V . {\displaystyle V.} So an axiom is needed that adds an extra component (whose values range over V {\displaystyle V} ) to the tuples of a given class.

Next, the variables are put in the same order to prepare for the intersection: F = { ( x , y , t ) : ( x , t ) F } {\displaystyle F''=\{(x,y,t):(x,t)\in F\}\,} and G = { ( x , y , t ) : ( t , y ) G } {\displaystyle \,G''=\{(x,y,t):(t,y)\in G\}} To go from F {\displaystyle F'} to F {\displaystyle F''} and from G {\displaystyle G'} to G {\displaystyle G''} requires two different permutations, so axioms that support permutations of tuple components are needed.

The intersection of F {\displaystyle F''} and G {\displaystyle G''} handles {\displaystyle \land } : F G = { ( x , y , t ) : ( x , t ) F ( t , y ) G } {\displaystyle F''\cap G''=\{(x,y,t):(x,t)\in F\,\land \,(t,y)\in G\}}

Since ( x , y , t ) {\displaystyle (x,y,t)} is defined as ( ( x , y ) , t ) {\displaystyle ((x,y),t)} , taking the domain of F G {\displaystyle F''\cap G''} handles t {\displaystyle \exists t} and produces the composite function: G F = D o m ( F G ) = { ( x , y ) : t ( ( x , t ) F ( t , y ) G ) } {\displaystyle G\circ F=Dom(F''\cap G'')=\{(x,y):\exists t((x,t)\in F\,\land \,(t,y)\in G)\}} So axioms of intersection and domain are needed.

The class existence axioms are divided into two groups: axioms handling language primitives and axioms handling tuples. There are four axioms in the first group and three axioms in the second group.

Axioms for handling language primitives:

Membership.  There exists a class E {\displaystyle E} containing all the ordered pairs whose first component is a member of the second component.

E x y [ ( x , y ) E x y ] {\displaystyle \exists E\,\forall x\,\forall y\,\!}

Intersection (conjunction).  For any two classes A {\displaystyle A} and B {\displaystyle B} , there is a class C {\displaystyle C} consisting precisely of the sets that belong to both A {\displaystyle A} and B {\displaystyle B} .

A B C x [ x C ( x A x B ) ] {\displaystyle \forall A\,\forall B\,\exists C\,\forall x\,}

Complement (negation).  For any class A {\displaystyle A} , there is a class B {\displaystyle B} consisting precisely of the sets not belonging to A {\displaystyle A} .

A B x [ x B ¬ ( x A ) ] {\displaystyle \forall A\,\exists B\,\forall x\,}

Domain (existential quantifier).  For any class A {\displaystyle A} , there is a class B {\displaystyle B} consisting precisely of the first components of the ordered pairs of A {\displaystyle A} .

A B x [ x B y ( ( x , y ) A ) ] {\displaystyle \forall A\,\exists B\,\forall x\,}

By the axiom of extensionality, class C {\displaystyle C} in the intersection axiom and class B {\displaystyle B} in the complement and domain axioms are unique. They will be denoted by: A B , {\displaystyle A\cap B,} A , {\displaystyle \complement A,} and D o m ( A ) , {\displaystyle Dom(A),} respectively.

The first three axioms imply the existence of the empty class and the class of all sets: The membership axiom implies the existence of a class E . {\displaystyle E.} The intersection and complement axioms imply the existence of E E {\displaystyle E\cap \complement E} , which is empty. By the axiom of extensionality, this class is unique; it is denoted by . {\displaystyle \emptyset .} The complement of {\displaystyle \emptyset } is the class V {\displaystyle V} of all sets, which is also unique by extensionality. The set predicate M ( A ) {\displaystyle M(A)} , which was defined as C ( A C ) {\displaystyle \exists C(A\in C)} , is now redefined as A V {\displaystyle A\in V} to avoid quantifying over classes.

Axioms for handling tuples:

Product by V {\displaystyle V} .  For any class A {\displaystyle A} , there is a class B {\displaystyle B} consisting of the ordered pairs whose first component belongs to A {\displaystyle A} .

A B u [ u B x y ( u = ( x , y ) x A ) ] {\displaystyle \forall A\,\exists B\,\forall u\,}

Circular permutation.  For any class A {\displaystyle A} , there is a class B {\displaystyle B} whose 3‑tuples are obtained by applying the circular permutation ( y , z , x ) ( x , y , z ) {\displaystyle (y,z,x)\mapsto (x,y,z)} to the 3‑tuples of A {\displaystyle A} .

A B x y z [ ( x , y , z ) B ( y , z , x ) A ] {\displaystyle \forall A\,\exists B\,\forall x\,\forall y\,\forall z\,}

Transposition.  For any class A {\displaystyle A} , there is a class B {\displaystyle B} whose 3‑tuples are obtained by transposing the last two components of the 3‑tuples of A {\displaystyle A} .

A B x y z [ ( x , y , z ) B ( x , z , y ) A ] {\displaystyle \forall A\,\exists B\,\forall x\,\forall y\,\forall z\,}

By extensionality, the product by V {\displaystyle V} axiom implies the existence of a unique class, which is denoted by A × V . {\displaystyle A\times V.} This axiom is used to define the class V n {\displaystyle V^{n}} of all n {\displaystyle n} -tuples: V 1 = V {\displaystyle V^{1}=V} and V n + 1 = V n × V . {\displaystyle V^{n+1}=V^{n}\times V.\,} If A {\displaystyle A} is a class, extensionality implies that A V n {\displaystyle A\cap V^{n}} is the unique class consisting of the n {\displaystyle n} -tuples of A . {\displaystyle A.} For example, the membership axiom produces a class E {\displaystyle E} that may contain elements that are not ordered pairs, while the intersection E V 2 {\displaystyle E\cap V^{2}} contains only the ordered pairs of E {\displaystyle E} .

The circular permutation and transposition axioms do not imply the existence of unique classes because they specify only the 3‑tuples of class B . {\displaystyle B.} By specifying the 3‑tuples, these axioms also specify the n {\displaystyle n} -tuples for n 4 {\displaystyle n\geq 4} since: ( x 1 , , x n 2 , x n 1 , x n ) = ( ( x 1 , , x n 2 ) , x n 1 , x n ) . {\displaystyle (x_{1},\ldots ,x_{n-2},x_{n-1},x_{n})=((x_{1},\ldots ,x_{n-2}),x_{n-1},x_{n}).} The axioms for handling tuples and the domain axiom imply the following lemma, which is used in the proof of the class existence theorem.

Tuple lemma — 

  1. A B 1 x y z [ ( z , x , y ) B 1 ( x , y ) A ] {\displaystyle \forall A\,\exists B_{1}\,\forall x\,\forall y\,\forall z\,}
  2. A B 2 x y z [ ( x , z , y ) B 2 ( x , y ) A ] {\displaystyle \forall A\,\exists B_{2}\,\forall x\,\forall y\,\forall z\,}
  3. A B 3 x y z [ ( x , y , z ) B 3 ( x , y ) A ] {\displaystyle \forall A\,\exists B_{3}\,\forall x\,\forall y\,\forall z\,}
  4. A B 4 x y z [ ( y , x ) B 4 ( x , y ) A ] {\displaystyle \forall A\,\exists B_{4}\,\forall x\,\forall y\,\forall z\,}
Proof
  • Class B 3 {\displaystyle B_{3}} : Apply product by V {\displaystyle V} to A {\displaystyle A} to produce B 3 . {\displaystyle B_{3}.}
  • Class B 2 {\displaystyle B_{2}} : Apply transposition to B 3 {\displaystyle B_{3}} to produce B 2 . {\displaystyle B_{2}.}
  • Class B 1 {\displaystyle B_{1}} : Apply circular permutation to B 3 {\displaystyle B_{3}} to produce B 1 . {\displaystyle B_{1}.}
  • Class B 4 {\displaystyle B_{4}} : Apply circular permutation to B 2 {\displaystyle B_{2}} , then apply domain to produce B 4 . {\displaystyle B_{4}.}

One more axiom is needed to prove the class existence theorem: the axiom of regularity. Since the existence of the empty class has been proved, the usual statement of this axiom is given.

Axiom of regularity.  Every nonempty set has at least one element with which it has no element in common. a [ a u ( u a u a = ) ] . {\displaystyle \forall a\,.}

This axiom implies that a set cannot belong to itself: Assume that x x {\displaystyle x\in x} and let a = { x } . {\displaystyle a=\{x\}.} Then x a {\displaystyle x\cap a\neq \emptyset } since x x a . {\displaystyle x\in x\cap a.} This contradicts the axiom of regularity because x {\displaystyle x} is the only element in a . {\displaystyle a.} Therefore, x x . {\displaystyle x\notin x.} The axiom of regularity also prohibits infinite descending membership sequences of sets: x n + 1 x n x 1 x 0 . {\displaystyle \cdots \in x_{n+1}\in x_{n}\in \cdots \in x_{1}\in x_{0}.}

Gödel stated regularity for classes rather than for sets in his 1940 monograph, which was based on lectures given in 1938. In 1939, he proved that regularity for sets implies regularity for classes.

Class existence theorem

Class existence theorem — Let ϕ ( x 1 , , x n , Y 1 , , Y m ) {\displaystyle \phi (x_{1},\dots ,x_{n},Y_{1},\dots ,Y_{m})} be a formula that quantifies only over sets and contains no free variables other than x 1 , , x n , Y 1 , , Y m {\displaystyle x_{1},\dots ,x_{n},Y_{1},\dots ,Y_{m}} (not necessarily all of these). Then for all Y 1 , , Y m {\displaystyle Y_{1},\dots ,Y_{m}} , there exists a unique class A {\displaystyle A} of n {\displaystyle n} -tuples such that: x 1 x n [ ( x 1 , , x n ) A ϕ ( x 1 , , x n , Y 1 , , Y m ) ] . {\displaystyle \forall x_{1}\cdots \,\forall x_{n}.} The class A {\displaystyle A} is denoted by { ( x 1 , , x n ) : ϕ ( x 1 , , x n , Y 1 , , Y m ) } . {\displaystyle \{(x_{1},\dots ,x_{n}):\phi (x_{1},\dots ,x_{n},Y_{1},\dots ,Y_{m})\}.}

The theorem's proof will be done in two steps:

  1. Transformation rules are used to transform the given formula ϕ {\displaystyle \phi } into an equivalent formula that simplifies the inductive part of the proof. For example, the only logical symbols in the transformed formula are ¬ {\displaystyle \neg } , {\displaystyle \land } , and {\displaystyle \exists } , so the induction handles logical symbols with just three cases.
  2. The class existence theorem is proved inductively for transformed formulas. Guided by the structure of the transformed formula, the class existence axioms are used to produce the unique class of n {\displaystyle n} -tuples satisfying the formula.

Transformation rules.  In rules 1 and 2 below, Δ {\displaystyle \Delta } and Γ {\displaystyle \Gamma } denote set or class variables. These two rules eliminate all occurrences of class variables before an {\displaystyle \in } and all occurrences of equality. Each time rule 1 or 2 is applied to a subformula, i {\displaystyle i} is chosen so that z i {\displaystyle z_{i}} differs from the other variables in the current formula. The three rules are repeated until there are no subformulas to which they can be applied. This produces a formula that is built only with ¬ {\displaystyle \neg } , {\displaystyle \land } , {\displaystyle \exists } , {\displaystyle \in } , set variables, and class variables Y k {\displaystyle Y_{k}} where Y k {\displaystyle Y_{k}} does not appear before an {\displaystyle \in } .

  1. Y k Γ {\displaystyle \,Y_{k}\in \Gamma } is transformed into z i ( z i = Y k z i Γ ) . {\displaystyle \exists z_{i}(z_{i}=Y_{k}\,\land \,z_{i}\in \Gamma ).}
  2. Extensionality is used to transform Δ = Γ {\displaystyle \Delta =\Gamma } into z i ( z i Δ z i Γ ) . {\displaystyle \forall z_{i}(z_{i}\in \Delta \iff z_{i}\in \Gamma ).}
  3. Logical identities are used to transform subformulas containing , , , {\displaystyle \lor ,\implies ,\iff ,} and {\displaystyle \forall } to subformulas that only use ¬ , , {\displaystyle \neg ,\land ,} and . {\displaystyle \exists .}

Transformation rules: bound variables.  Consider the composite function formula of example 1 with its free set variables replaced by x 1 {\displaystyle x_{1}} and x 2 {\displaystyle x_{2}} : t [ ( x 1 , t ) F ( t , x 2 ) G ] . {\displaystyle \exists t.} The inductive proof will remove t {\displaystyle \exists t} , which produces the formula ( x 1 , t ) F ( t , x 2 ) G . {\displaystyle (x_{1},t)\in F\land (t,x_{2})\in G.} However, since the class existence theorem is stated for subscripted variables, this formula does not have the form expected by the induction hypothesis. This problem is solved by replacing the variable t {\displaystyle t} with x 3 . {\displaystyle x_{3}.} Bound variables within nested quantifiers are handled by increasing the subscript by one for each successive quantifier. This leads to rule 4, which must be applied after the other rules since rules 1 and 2 produce quantified variables.

  1. If a formula contains no free set variables other than x 1 , , x n , {\displaystyle x_{1},\dots ,x_{n},} then bound variables that are nested within q {\displaystyle q} quantifiers are replaced with x n + q {\displaystyle x_{n+q}} . These variables have (quantifier) nesting depth q {\displaystyle q} .

Example 2:  Rule 4 is applied to the formula ϕ ( x 1 ) {\displaystyle \phi (x_{1})} that defines the class consisting of all sets of the form { , { , } , } . {\displaystyle \{\emptyset ,\{\emptyset ,\dots \},\dots \}.} That is, sets that contain at least {\displaystyle \emptyset } and a set containing {\displaystyle \emptyset } — for example, { , { , a , b , c } , d , e } {\displaystyle \{\emptyset ,\{\emptyset ,a,b,c\},d,e\}} where a , b , c , d , {\displaystyle a,b,c,d,} and e {\displaystyle e} are sets.

ϕ ( x 1 ) = u [ u x 1 ¬ v ( v u ) ] w ( w x 1 y [ ( y w ¬ z ( z y ) ] ) ϕ r ( x 1 ) = x 2 [ x 2 x 1 ¬ x 3 ( x 3 x 2 ) ] x 2 ( x 2 x 1 x 3 [ ( x 3 x 2 ¬ x 4 ( x 4 x 3 ) ] ) {\displaystyle {\begin{aligned}\phi (x_{1})\,&=\,\exists u\;\,\,\land \,\,\exists w\;{\bigl (}w\in x_{1}\,\land \,\exists y\;\,{\bigr )}\\\phi _{r}(x_{1})\,&=\,\exists x_{2}\,\land \,\,\exists x_{2}{\bigl (}x_{2}\!\in \!x_{1}\,\land \,\exists x_{3}{\bigr )}\end{aligned}}}

Since x 1 {\displaystyle x_{1}} is the only free variable, n = 1. {\displaystyle n=1.} The quantified variable x 3 {\displaystyle x_{3}} appears twice in x 3 x 2 {\displaystyle x_{3}\in x_{2}} at nesting depth 2. Its subscript is 3 because n + q = 1 + 2 = 3. {\displaystyle n+q=1+2=3.} If two quantifier scopes are at the same nesting depth, they are either identical or disjoint. The two occurrences of x 3 {\displaystyle x_{3}} are in disjoint quantifier scopes, so they do not interact with each other.

Proof of the class existence theorem.  The proof starts by applying the transformation rules to the given formula to produce a transformed formula. Since this formula is equivalent to the given formula, the proof is completed by proving the class existence theorem for transformed formulas.

Proof of the class existence theorem for transformed formulas

The following lemma is used in the proof.

Expansion lemma — Let 1 i < j n , {\displaystyle 1\leq i<j\leq n,} and let P {\displaystyle P} be a class containing all the ordered pairs ( x i , x j ) {\displaystyle (x_{i},x_{j})} satisfying R ( x i , x j ) . {\displaystyle R(x_{i},x_{j}).} That is, P { ( x i , x j ) : R ( x i , x j ) } . {\displaystyle P\supseteq \{(x_{i},x_{j}):R(x_{i},x_{j})\}.} Then P {\displaystyle P} can be expanded into the unique class Q {\displaystyle Q} of n {\displaystyle n} -tuples satisfying R ( x i , x j ) {\displaystyle R(x_{i},x_{j})} . That is, Q = { ( x 1 , , x n ) : R ( x i , x j ) } . {\displaystyle Q=\{(x_{1},\ldots ,x_{n}):R(x_{i},x_{j})\}.}

Proof:

  1. If i = 1 , {\displaystyle i=1,} let P 1 = P . {\displaystyle P_{1}=P.} Otherwise, i > 1 , {\displaystyle i>1,} so components are added in front of x i : {\displaystyle x_{i}{\text{:}}} apply the tuple lemma's statement 1 to P {\displaystyle P} with z = ( x 1 , , x i 1 ) . {\displaystyle z=(x_{1},\dots ,x_{i-1}).} This produces a class P 1 {\displaystyle P_{1}} containing all the ( i + 1 ) {\displaystyle (i+1)} -tuples ( ( x 1 , , x i 1 ) , x i , x j ) = ( x 1 , , x i 1 , x i , x j ) {\displaystyle ((x_{1},\dots ,x_{i-1}),x_{i},x_{j})=(x_{1},\dots ,x_{i-1},x_{i},x_{j})} satisfying R ( x i , x j ) . {\displaystyle R(x_{i},x_{j}).}
  2. If j = i + 1 , {\displaystyle j=i+1,} let P 2 = P 1 . {\displaystyle P_{2}=P_{1}.} Otherwise, j > i + 1 , {\displaystyle j>i+1,} so components are added between x i {\displaystyle x_{i}} and x j : {\displaystyle x_{j}{\text{:}}} add the components x i + 1 , , x j 1 {\displaystyle x_{i+1},\dots ,x_{j-1}} one by one using the tuple lemma's statement 2. This produces a class P 2 {\displaystyle P_{2}} containing all the j {\displaystyle j} -tuples ( ( ( ( ( x 1 , , x i ) , x i + 1 ) , ) , x j 1 ) , x j ) = ( x 1 , , x j ) {\displaystyle (((\cdots ((x_{1},\dots ,x_{i}),x_{i+1}),\cdots ),x_{j-1}),x_{j})=(x_{1},\dots ,x_{j})} satisfying R ( x i , x j ) . {\displaystyle R(x_{i},x_{j}).}
  3. If j = n , {\displaystyle j=n,} let P 3 = P 2 . {\displaystyle P_{3}=P_{2}.} Otherwise, j < n , {\displaystyle j<n,} so components are added after x j : {\displaystyle x_{j}{\text{:}}} add the components x j + 1 , , x n {\displaystyle x_{j+1},\dots ,x_{n}} one by one using the tuple lemma's statement 3. This produces a class P 3 {\displaystyle P_{3}} containing all the n {\displaystyle n} -tuples ( ( ( ( x 1 , , x j ) , x j + 1 ) , ) , x n ) = ( x 1 , , x n ) {\displaystyle ((\cdots ((x_{1},\dots ,x_{j}),x_{j+1}),\cdots ),x_{n})=(x_{1},\dots ,x_{n})} satisfying R ( x i , x j ) . {\displaystyle R(x_{i},x_{j}).}
  4. Let Q = P 3 V n . {\displaystyle Q=P_{3}\cap V^{n}.} Extensionality implies that Q {\displaystyle Q} is the unique class of n {\displaystyle n} -tuples satisfying R ( x i , x j ) . {\displaystyle R(x_{i},x_{j}).}

Class existence theorem for transformed formulas — Let ϕ ( x 1 , , x n , Y 1 , , Y m ) {\displaystyle \phi (x_{1},\ldots ,x_{n},Y_{1},\ldots ,Y_{m})} be a formula that:

  1. contains no free variables other than x 1 , , x n , Y 1 , , Y m {\displaystyle x_{1},\ldots ,x_{n},Y_{1},\ldots ,Y_{m}} ;
  2. contains only {\displaystyle \in } , ¬ {\displaystyle \neg } , {\displaystyle \land } , {\displaystyle \exists } , set variables, and the class variables Y k {\displaystyle Y_{k}} where Y k {\displaystyle Y_{k}} does not appear before an {\displaystyle \in }  ;
  3. only quantifies set variables x n + q {\displaystyle x_{n+q}} where q {\displaystyle q} is the quantifier nesting depth of the variable.

Then for all Y 1 , , Y m {\displaystyle Y_{1},\dots ,Y_{m}} , there exists a unique class A {\displaystyle A} of n {\displaystyle n} -tuples such that: x 1 x n [ ( x 1 , , x n ) A ϕ ( x 1 , , x n , Y 1 , , Y m ) ] . {\displaystyle \forall x_{1}\cdots \,\forall x_{n}.}

Proof: Basis step: ϕ {\displaystyle \phi } has 0 logical symbols. The theorem's hypothesis implies that ϕ {\displaystyle \phi } is an atomic formula of the form x i x j {\displaystyle x_{i}\in x_{j}} or x i Y k . {\displaystyle x_{i}\in Y_{k}.}

Case 1: If ϕ {\displaystyle \phi } is x i x j {\displaystyle x_{i}\in x_{j}} , we build the class E i , j , n = { ( x 1 , , x n ) : x i x j } , {\displaystyle E_{i,j,n}=\{(x_{1},\ldots ,x_{n}):x_{i}\in x_{j}\},} the unique class of n {\displaystyle n} -tuples satisfying x i x j . {\displaystyle x_{i}\in x_{j}.}

Case a: ϕ {\displaystyle \phi } is x i x j {\displaystyle x_{i}\in x_{j}} where i < j . {\displaystyle i<j.} The axiom of membership produces a class P {\displaystyle P} containing all the ordered pairs ( x i , x j ) {\displaystyle (x_{i},x_{j})} satisfying x i x j . {\displaystyle x_{i}\in x_{j}.} Apply the expansion lemma to P {\displaystyle P} to obtain E i , j , n = { ( x 1 , , x n ) : x i x j } . {\displaystyle E_{i,j,n}=\{(x_{1},\ldots ,x_{n}):x_{i}\in x_{j}\}.}

Case b: ϕ {\displaystyle \phi } is x i x j {\displaystyle x_{i}\in x_{j}} where i > j . {\displaystyle i>j.} The axiom of membership produces a class P {\displaystyle P} containing all the ordered pairs ( x i , x j ) {\displaystyle (x_{i},x_{j})} satisfying x i x j . {\displaystyle x_{i}\in x_{j}.} Apply the tuple lemma's statement 4 to P {\displaystyle P} to obtain P {\displaystyle P'} containing all the ordered pairs ( x j , x i ) {\displaystyle (x_{j},x_{i})} satisfying x i x j . {\displaystyle x_{i}\in x_{j}.} Apply the expansion lemma to P {\displaystyle P'} to obtain E i , j , n = { ( x 1 , , x n ) : x i x j } . {\displaystyle E_{i,j,n}=\{(x_{1},\ldots ,x_{n}):x_{i}\in x_{j}\}.}

Case c: ϕ {\displaystyle \phi } is x i x j {\displaystyle x_{i}\in x_{j}} where i = j . {\displaystyle i=j.} Since this formula is false by the axiom of regularity, no n {\displaystyle n} -tuples satisfy it, so E i , j , n = . {\displaystyle E_{i,j,n}=\emptyset .}

Case 2: If ϕ {\displaystyle \phi } is x i Y k {\displaystyle x_{i}\in Y_{k}} , we build the class E i , Y k , n = { ( x 1 , , x n ) : x i Y k } , {\displaystyle E_{i,Y_{k},n}=\{(x_{1},\ldots ,x_{n}):x_{i}\in Y_{k}\},} the unique class of n {\displaystyle n} -tuples satisfying x i Y k . {\displaystyle x_{i}\in Y_{k}.}

Case a: ϕ {\displaystyle \phi } is x i Y k {\displaystyle x_{i}\in Y_{k}} where i < n . {\displaystyle i<n.} Apply the axiom of product by V {\displaystyle V} to Y k {\displaystyle Y_{k}} to produce the class P = Y k × V = { ( x i , x i + 1 ) : x i Y k } . {\displaystyle P=Y_{k}\times V=\{(x_{i},x_{i+1}):x_{i}\in Y_{k}\}.} Apply the expansion lemma to P {\displaystyle P} to obtain E i , Y k , n = { ( x 1 , , x n ) : x i Y k } . {\displaystyle E_{i,Y_{k},n}=\{(x_{1},\ldots ,x_{n}):x_{i}\in Y_{k}\}.}

Case b: ϕ {\displaystyle \phi } is x i Y k {\displaystyle x_{i}\in Y_{k}} where i = n > 1. {\displaystyle i=n>1.} Apply the axiom of product by V {\displaystyle V} to Y k {\displaystyle Y_{k}} to produce the class P = Y k × V = { ( x i , x i 1 ) : x i Y k } . {\displaystyle P=Y_{k}\times V=\{(x_{i},x_{i-1}):x_{i}\in Y_{k}\}.} Apply the tuple lemma's statement 4 to P {\displaystyle P} to obtain P = V × Y k = { ( x i 1 , x i ) : x i Y k } . {\displaystyle P'=V\times Y_{k}=\{(x_{i-1},x_{i}):x_{i}\in Y_{k}\}.} Apply the expansion lemma to P {\displaystyle P'} to obtain E i , Y k , n = { ( x 1 , , x n ) : x i Y k } . {\displaystyle E_{i,Y_{k},n}=\{(x_{1},\ldots ,x_{n}):x_{i}\in Y_{k}\}.}

Case c: ϕ {\displaystyle \phi } is x i Y k {\displaystyle x_{i}\in Y_{k}} where i = n = 1. {\displaystyle i=n=1.} Then E i , Y k , n = Y k . {\displaystyle E_{i,Y_{k},n}=Y_{k}.}

Inductive step: ϕ {\displaystyle \phi } has k {\displaystyle k} logical symbols where k > 0 {\displaystyle k>0} . Assume the induction hypothesis that the theorem is true for all ψ {\displaystyle \psi } with less than k {\displaystyle k} logical symbols. We now prove the theorem for ϕ {\displaystyle \phi } with k {\displaystyle k} logical symbols. In this proof, the list of class variables Y 1 , , Y m {\displaystyle Y_{1},\dots ,Y_{m}} is abbreviated by Y {\displaystyle {\vec {Y}}} , so a formula—such as ϕ ( x 1 , , x n , Y 1 , , Y m ) {\displaystyle \phi (x_{1},\dots ,x_{n},Y_{1},\dots ,Y_{m})} —can be written as ϕ ( x 1 , , x n , Y ) . {\displaystyle \phi (x_{1},\dots ,x_{n},{\vec {Y}}).}

Case 1: ϕ ( x 1 , , x n , Y ) = ¬ ψ ( x 1 , , x n , Y ) . {\displaystyle \phi (x_{1},\ldots ,x_{n},{\vec {Y}})=\neg \psi (x_{1},\ldots ,x_{n},{\vec {Y}}).} Since ψ {\displaystyle \psi } has k 1 {\displaystyle k-1} logical symbols, the induction hypothesis implies that there is a unique class A {\displaystyle A} of n {\displaystyle n} -tuples such that: ( x 1 , , x n ) A ψ ( x 1 , , x n , Y ) . {\displaystyle \quad (x_{1},\ldots ,x_{n})\in A\iff \psi (x_{1},\ldots ,x_{n},{\vec {Y}}).} By the complement axiom, there is a class A {\displaystyle \complement A} such that u [ u A ¬ ( u A ) ] . {\displaystyle \forall u\,.} However, A {\displaystyle \complement A} contains elements other than n {\displaystyle n} -tuples if n > 1. {\displaystyle n>1.} To eliminate these elements, use V n A = {\displaystyle \complement _{V^{n}}A=\,} A V n = {\displaystyle \complement A\cap V^{n}=\,} V n A , {\displaystyle V^{n}\setminus A,} which is the complement relative to the class V n {\displaystyle V^{n}} of all n {\displaystyle n} -tuples. Then, by extensionality, V n A {\displaystyle \complement _{V^{n}}A} is the unique class of n {\displaystyle n} -tuples such that: ( x 1 , , x n ) V n A ¬ [ ( x 1 , , x n ) A ] ¬ ψ ( x 1 , , x n , Y ) ϕ ( x 1 , , x n , Y ) . {\displaystyle {\begin{alignedat}{2}\quad &(x_{1},\ldots ,x_{n})\in \complement _{V^{n}}A&&\iff \neg \\&&&\iff \neg \psi (x_{1},\ldots ,x_{n},{\vec {Y}})\\&&&\iff \phi (x_{1},\ldots ,x_{n},{\vec {Y}}).\end{alignedat}}}

Case 2: ϕ ( x 1 , , x n , Y ) = ψ 1 ( x 1 , , x n , Y ) ψ 2 ( x 1 , , x n , Y ) . {\displaystyle \phi (x_{1},\ldots ,x_{n},{\vec {Y}})=\psi _{1}(x_{1},\ldots ,x_{n},{\vec {Y}})\land \psi _{2}(x_{1},\ldots ,x_{n},{\vec {Y}}).} Since both ψ 1 {\displaystyle \psi _{1}} and ψ 2 {\displaystyle \psi _{2}} have less than k {\displaystyle k} logical symbols, the induction hypothesis implies that there are unique classes of n {\displaystyle n} -tuples, A 1 {\displaystyle A_{1}} and A 2 {\displaystyle A_{2}} , such that:

( x 1 , , x n ) A 1 ψ 1 ( x 1 , , x n , Y ) . ( x 1 , , x n ) A 2 ψ 2 ( x 1 , , x n , Y ) . {\displaystyle {\begin{aligned}\quad &(x_{1},\ldots ,x_{n})\in A_{1}\iff \psi _{1}(x_{1},\ldots ,x_{n},{\vec {Y}}).\\&(x_{1},\ldots ,x_{n})\in A_{2}\iff \psi _{2}(x_{1},\ldots ,x_{n},{\vec {Y}}).\end{aligned}}}

By the axioms of intersection and extensionality, A 1 A 2 {\displaystyle A_{1}\cap A_{2}} is the unique class of n {\displaystyle n} -tuples such that: ( x 1 , , x n ) A 1 A 2 ( x 1 , , x n ) A 1 ( x 1 , , x n ) A 2 ψ 1 ( x 1 , , x n , Y ) ψ 2 ( x 1 , , x n , Y ) ϕ ( x 1 , , x n , Y ) . {\displaystyle {\begin{alignedat}{2}\quad &(x_{1},\ldots ,x_{n})\in A_{1}\cap A_{2}&&\iff (x_{1},\ldots ,x_{n})\in A_{1}\land (x_{1},\ldots ,x_{n})\in A_{2}\\&&&\iff \psi _{1}(x_{1},\ldots ,x_{n},{\vec {Y}})\land \psi _{2}(x_{1},\ldots ,x_{n},{\vec {Y}})\\&&&\iff \phi (x_{1},\ldots ,x_{n},{\vec {Y}}).\end{alignedat}}}

Case 3: ϕ ( x 1 , , x n , Y ) = x n + 1 ψ ( x 1 , , x n , x n + 1 , Y ) . {\displaystyle \phi (x_{1},\ldots ,x_{n},{\vec {Y}})=\exists x_{n+1}\psi (x_{1},\ldots ,x_{n},x_{n+1},{\vec {Y}}).} The quantifier nesting depth of ψ {\displaystyle \psi } is one more than that of ϕ {\displaystyle \phi } and the additional free variable is x n + 1 . {\displaystyle x_{n+1}.} Since ψ {\displaystyle \psi } has k 1 {\displaystyle k-1} logical symbols, the induction hypothesis implies that there is a unique class A {\displaystyle A} of ( n + 1 ) {\displaystyle (n+1)} -tuples such that: ( x 1 , , x n , x n + 1 ) A ψ ( x 1 , , x n , x n + 1 , Y ) . {\displaystyle \quad (x_{1},\ldots ,x_{n},x_{n+1})\in A\iff \psi (x_{1},\ldots ,x_{n},x_{n+1},{\vec {Y}}).} By the axioms of domain and extensionality, D o m ( A ) {\displaystyle Dom(A)} is the unique class of n {\displaystyle n} -tuples such that: ( x 1 , , x n ) D o m ( A ) x n + 1 [ ( ( x 1 , , x n ) , x n + 1 ) A ] x n + 1 [ ( x 1 , , x n , x n + 1 ) A ] x n + 1 ψ ( x 1 , , x n , x n + 1 , Y ) ϕ ( x 1 , , x n , Y ) . {\displaystyle {\begin{alignedat}{2}\quad &(x_{1},\ldots ,x_{n})\in Dom(A)&&\iff \exists x_{n+1}\\&&&\iff \exists x_{n+1}\\&&&\iff \exists x_{n+1}\,\psi (x_{1},\ldots ,x_{n},x_{n+1},{\vec {Y}})\\&&&\iff \phi (x_{1},\ldots ,x_{n},{\vec {Y}}).\end{alignedat}}}

Gödel pointed out that the class existence theorem "is a metatheorem, that is, a theorem about the system , not in the system …" It is a theorem about NBG because it is proved in the metatheory by induction on NBG formulas. Also, its proof—instead of invoking finitely many NBG axioms—inductively describes how to use NBG axioms to construct a class satisfying a given formula. For every formula, this description can be turned into a constructive existence proof that is in NBG. Therefore, this metatheorem can generate the NBG proofs that replace uses of NBG's class existence theorem.

A recursive computer program succinctly captures the construction of a class from a given formula. The definition of this program does not depend on the proof of the class existence theorem. However, the proof is needed to prove that the class constructed by the program satisfies the given formula and is built using the axioms. This program is written in pseudocode that uses a Pascal-style case statement. f u n c t i o n Class ( ϕ , n ) i n p u t : ϕ  is a transformed formula of the form  ϕ ( x 1 , , x n , Y 1 , , Y m ) ; n  specifies that a class of  n -tuples is returned. o u t p u t : class  A  of  n -tuples satisfying  x 1 x n [ ( x 1 , , x n ) A ϕ ( x 1 , , x n , Y 1 , , Y m ) ] . b e g i n c a s e ϕ o f x i x j : r e t u r n E i , j , n ; //  E i , j , n = { ( x 1 , , x n ) : x i x j } x i Y k : r e t u r n E i , Y k , n ; //  E i , Y k , n = { ( x 1 , , x n ) : x i Y k } ¬ ψ : r e t u r n V n Class ( ψ , n ) ; //  V n Class ( ψ , n ) = V n Class ( ψ , n ) ψ 1 ψ 2 : r e t u r n Class ( ψ 1 , n ) Class ( ψ 2 , n ) ; x n + 1 ( ψ ) : r e t u r n D o m ( Class ( ψ , n + 1 ) ) ; //  x n + 1  is free in  ψ ;  Class ( ψ , n + 1 )   // returns a class of  ( n + 1 ) -tuples e n d e n d {\displaystyle {\begin{array}{l}\mathbf {function} \;{\text{Class}}(\phi ,\,n)\\\quad {\begin{array}{rl}\mathbf {input} \!:\;\,&\phi {\text{ is a transformed formula of the form }}\phi (x_{1},\ldots ,x_{n},Y_{1},\ldots ,Y_{m});\\&n{\text{ specifies that a class of }}n{\text{-tuples is returned.}}\\\;\;\;\;\mathbf {output} \!:\;\,&{\text{class }}A{\text{ of }}n{\text{-tuples satisfying }}\\&\,\forall x_{1}\cdots \,\forall x_{n}.\end{array}}\\\mathbf {begin} \\\quad \mathbf {case} \;\phi \;\mathbf {of} \\\qquad {\begin{alignedat}{2}x_{i}\in x_{j}:\;\;&\mathbf {return} \;\,E_{i,j,n};&&{\text{// }}E_{i,j,n}\;\,=\{(x_{1},\dots ,x_{n}):x_{i}\in x_{j}\}\\x_{i}\in Y_{k}:\;\;&\mathbf {return} \;\,E_{i,Y_{k},n};&&{\text{// }}E_{i,Y_{k},n}=\{(x_{1},\dots ,x_{n}):x_{i}\in Y_{k}\}\\\neg \psi :\;\;&\mathbf {return} \;\,\complement _{V^{n}}{\text{Class}}(\psi ,\,n);&&{\text{// }}\complement _{V^{n}}{\text{Class}}(\psi ,\,n)=V^{n}\setminus {\text{Class}}(\psi ,\,n)\\\psi _{1}\land \psi _{2}:\;\;&\mathbf {return} \;\,{\text{Class}}(\psi _{1},\,n)\cap {\text{Class}}(\psi _{2},\,n);&&\\\;\;\;\;\,\exists x_{n+1}(\psi ):\;\;&\mathbf {return} \;\,Dom({\text{Class}}(\psi ,\,n+1));&&{\text{// }}x_{n+1}{\text{ is free in }}\psi ;{\text{ Class}}(\psi ,\,n+1)\\&\ &&{\text{// returns a class of }}(n+1){\text{-tuples}}\end{alignedat}}\\\quad \mathbf {end} \\\mathbf {end} \end{array}}}

Let ϕ {\displaystyle \phi } be the formula of example 2. The function call A = C l a s s ( ϕ , 1 ) {\displaystyle A=Class(\phi ,1)} generates the class A , {\displaystyle A,} which is compared below with ϕ . {\displaystyle \phi .} This shows that the construction of the class A {\displaystyle A} mirrors the construction of its defining formula ϕ . {\displaystyle \phi .}

ϕ = x 2 ( x 2 x 1 ¬ x 3 ( x 3 x 2 ) ) x 2 ( x 2 x 1 x 3 ( x 3 x 2 ¬ x 4 ( x 4 x 3 ) ) ) A = D o m ( E 2 , 1 , 2 V 2 D o m ( E 3 , 2 , 3 ) ) D o m ( E 2 , 1 , 2 D o m ( E 3 , 2 , 3 V 3 D o m ( E 4 , 3 , 4 ) ) ) {\displaystyle {\begin{alignedat}{2}&\phi \;&&=\;\;\exists x_{2}\,(x_{2}\!\in \!x_{1}\land \;\;\neg \;\;\;\;\exists x_{3}\;(x_{3}\!\in \!x_{2}))\,\land \;\;\,\exists x_{2}\,(x_{2}\!\in \!x_{1}\land \;\;\,\exists x_{3}\,(x_{3}\!\in \!x_{2}\,\land \;\;\neg \;\;\;\;\exists x_{4}\;(x_{4}\!\in \!x_{3})))\\&A\;&&=Dom\,(\;E_{2,1,2}\;\cap \;\complement _{V^{2}}\,Dom\,(\;E_{3,2,3}\;))\,\cap \,Dom\,(\;E_{2,1,2}\;\cap \,Dom\,(\;\,E_{3,2,3}\;\cap \;\complement _{V^{3}}\,Dom\,(\;E_{4,3,4}\;)))\end{alignedat}}}

Extending the class existence theorem

Gödel extended the class existence theorem to formulas ϕ {\displaystyle \phi } containing relations over classes (such as Y 1 Y 2 {\displaystyle Y_{1}\subseteq Y_{2}} and the unary relation M ( Y 1 ) {\displaystyle M(Y_{1})} ), special classes (such as O r d {\displaystyle Ord}  ), and operations (such as ( x 1 , x 2 ) {\displaystyle (x_{1},x_{2})} and x 1 Y 1 {\displaystyle x_{1}\cap Y_{1}} ). To extend the class existence theorem, the formulas defining relations, special classes, and operations must quantify only over sets. Then ϕ {\displaystyle \phi } can be transformed into an equivalent formula satisfying the hypothesis of the class existence theorem.

The following definitions specify how formulas define relations, special classes, and operations:

  1. A relation R {\displaystyle R} is defined by: R ( Z 1 , , Z k ) ψ R ( Z 1 , , Z k ) . {\displaystyle R(Z_{1},\dots ,Z_{k})\iff \psi _{R}(Z_{1},\dots ,Z_{k}).}
  2. A special class C {\displaystyle C} is defined by: u C ψ C ( u ) . {\displaystyle u\in C\iff \psi _{C}(u).}
  3. An operation P {\displaystyle P} is defined by: u P ( Z 1 , , Z k ) ψ P ( u , Z 1 , , Z k ) . {\displaystyle u\in P(Z_{1},\dots ,Z_{k})\iff \psi _{P}(u,Z_{1},\dots ,Z_{k}).}

A term is defined by:

  1. Variables and special classes are terms.
  2. If P {\displaystyle P} is an operation with k {\displaystyle k} arguments and Γ 1 , , Γ k {\displaystyle \Gamma _{1},\dots ,\Gamma _{k}} are terms, then P ( Γ 1 , , Γ k ) {\displaystyle P(\Gamma _{1},\dots ,\Gamma _{k})} is a term.

The following transformation rules eliminate relations, special classes, and operations. Each time rule 2b, 3b, or 4 is applied to a subformula, i {\displaystyle i} is chosen so that z i {\displaystyle z_{i}} differs from the other variables in the current formula. The rules are repeated until there are no subformulas to which they can be applied. Γ 1 , , Γ k , Γ , {\displaystyle \,\Gamma _{1},\dots ,\Gamma _{k},\Gamma ,} and Δ {\displaystyle \Delta } denote terms.

  1. A relation R ( Z 1 , , Z k ) {\displaystyle R(Z_{1},\dots ,Z_{k})} is replaced by its defining formula ψ R ( Z 1 , , Z k ) . {\displaystyle \psi _{R}(Z_{1},\dots ,Z_{k}).}
  2. Let ψ C ( u ) {\displaystyle \psi _{C}(u)} be the defining formula for the special class C . {\displaystyle C.}
    1. Δ C {\displaystyle \Delta \in C} is replaced by ψ C ( Δ ) . {\displaystyle \psi _{C}(\Delta ).}
    2. C Δ {\displaystyle C\in \Delta } is replaced by z i [ z i = C z i Δ ] . {\displaystyle \exists z_{i}.}
  3. Let ψ P ( u , Z 1 , , Z k ) {\displaystyle \psi _{P}(u,Z_{1},\dots ,Z_{k})} be the defining formula for the operation P ( Z 1 , , Z k ) . {\displaystyle P(Z_{1},\dots ,Z_{k}).}
    1. Δ P ( Γ 1 , , Γ k ) {\displaystyle \Delta \in P(\Gamma _{1},\dots ,\Gamma _{k})} is replaced by ψ P ( Δ , Γ 1 , , Γ k ) . {\displaystyle \psi _{P}(\Delta ,\Gamma _{1},\dots ,\Gamma _{k}).}
    2. P ( Γ 1 , , Γ k ) Δ {\displaystyle P(\Gamma _{1},\dots ,\Gamma _{k})\in \Delta } is replaced by z i [ z i = P ( Γ 1 , , Γ k ) z i Δ ] . {\displaystyle \exists z_{i}.}
  4. Extensionality is used to transform Δ = Γ {\displaystyle \Delta =\Gamma } into z i ( z i Δ z i Γ ) . {\displaystyle \forall z_{i}(z_{i}\in \Delta \iff z_{i}\in \Gamma ).}
Example 3:  Transforming Y 1 Y 2 . {\displaystyle Y_{1}\subseteq Y_{2}.}

Y 1 Y 2 z 1 ( z 1 Y 1 z 1 Y 2 ) (rule 1) {\displaystyle Y_{1}\subseteq Y_{2}\iff \forall z_{1}(z_{1}\in Y_{1}\implies z_{1}\in Y_{2})\quad {\text{(rule 1)}}}

Example 4:  Transforming x 1 Y 1 x 2 . {\displaystyle x_{1}\cap Y_{1}\in x_{2}.}

x 1 Y 1 x 2 z 1 [ z 1 = x 1 Y 1 z 1 x 2 ] (rule 3b) z 1 [ z 2 ( z 2 z 1 z 2 x 1 Y 1 ) z 1 x 2 ] (rule 4) z 1 [ z 2 ( z 2 z 1 z 2 x 1 z 2 Y 1 ) z 1 x 2 ] (rule 3a) {\displaystyle {\begin{alignedat}{2}x_{1}\cap Y_{1}\in x_{2}&\iff \exists z_{1}&&{\text{(rule 3b)}}\\&\iff \exists z_{1}&&{\text{(rule 4)}}\\&\iff \exists z_{1}\quad &&{\text{(rule 3a)}}\\\end{alignedat}}}

This example illustrates how the transformation rules work together to eliminate an operation.

Class existence theorem (extended version) — Let ϕ ( x 1 , , x n , Y 1 , , Y m ) {\displaystyle \phi (x_{1},\dots ,x_{n},Y_{1},\dots ,Y_{m})} be a formula that quantifies only over sets, contains no free variables other than x 1 , , x n , Y 1 , , Y m {\displaystyle x_{1},\dots ,x_{n},Y_{1},\dots ,Y_{m}} , and may contain relations, special classes, and operations defined by formulas that quantify only over sets. Then for all Y 1 , , Y m , {\displaystyle Y_{1},\dots ,Y_{m},} there exists a unique class A {\displaystyle A} of n {\displaystyle n} -tuples such that x 1 x n [ ( x 1 , , x n ) A ϕ ( x 1 , , x n , Y 1 , , Y m ) ] . {\displaystyle \forall x_{1}\cdots \,\forall x_{n}.}

Proof

Apply the transformation rules to ϕ {\displaystyle \phi } to produce an equivalent formula containing no relations, special classes, or operations. This formula satisfies the hypothesis of the class existence theorem. Therefore, for all Y 1 , , Y m , {\displaystyle Y_{1},\dots ,Y_{m},} there is a unique class A {\displaystyle A} of n {\displaystyle n} -tuples satisfying x 1 x n [ ( x 1 , , x n ) A ϕ ( x 1 , , x n , Y 1 , , Y m ) ] . {\displaystyle \forall x_{1}\cdots \,\forall x_{n}.}

Set axioms

The axioms of pairing and regularity, which were needed for the proof of the class existence theorem, have been given above. NBG contains four other set axioms. Three of these axioms deal with class operations being applied to sets.

Definition.  F {\displaystyle F} is a function if F V 2 x y z [ ( x , y ) F ( x , z ) F y = z ] . {\displaystyle F\subseteq V^{2}\land \forall x\,\forall y\,\forall z\,.}

In set theory, the definition of a function does not require specifying the domain or codomain of the function (see Function (set theory)). NBG's definition of function generalizes ZFC's definition from a set of ordered pairs to a class of ordered pairs.

ZFC's definitions of the set operations of image, union, and power set are also generalized to class operations. The image of class A {\displaystyle A} under the function F {\displaystyle F} is F [ A ] = { y : x ( x A ( x , y ) F ) } . {\displaystyle F=\{y:\exists x(x\in A\,\land \,(x,y)\in F)\}.} This definition does not require that A D o m ( F ) . {\displaystyle A\subseteq Dom(F).} The union of class A {\displaystyle A} is A = { x : y ( x y y A ) } . {\displaystyle \cup A=\{x:\exists y(x\in y\,\,\land \,y\in A)\}.} The power class of A {\displaystyle A} is P ( A ) = { x : x A } . {\displaystyle {\mathcal {P}}(A)=\{x:x\subseteq A\}.} The extended version of the class existence theorem implies the existence of these classes. The axioms of replacement, union, and power set imply that when these operations are applied to sets, they produce sets.

Axiom of replacement.  If F {\displaystyle F} is a function and a {\displaystyle a} is a set, then F [ a ] {\displaystyle F} , the image of a {\displaystyle a} under F {\displaystyle F} , is a set. F a [ F  is a function b y ( y b x ( x a ( x , y ) F ) ) ] . {\displaystyle \forall F\,\forall a\,.}

Not having the requirement A D o m ( F ) {\displaystyle A\subseteq Dom(F)} in the definition of F [ A ] {\displaystyle F} produces a stronger axiom of replacement, which is used in the following proof.

Theorem (NBG's axiom of separation) — If a {\displaystyle a} is a set and B {\displaystyle B} is a subclass of a , {\displaystyle a,} then B {\displaystyle B} is a set.

Proof

The class existence theorem constructs the restriction of the identity function to B {\displaystyle B} : I B = { ( x 1 , x 2 ) : x 1 B x 2 = x 1 } . {\displaystyle I{\upharpoonright _{B}}=\{(x_{1},x_{2}):x_{1}\in B\land x_{2}=x_{1}\}.} Since the image of a {\displaystyle a} under I B {\displaystyle I{\upharpoonright _{B}}} is B {\displaystyle B} , the axiom of replacement implies that B {\displaystyle B} is a set. This proof depends on the definition of image not having the requirement a D o m ( F ) {\displaystyle a\subseteq Dom(F)} since D o m ( I B ) = B a {\displaystyle Dom(I{\upharpoonright _{B}})=B\subseteq a} rather than a D o m ( I B ) . {\displaystyle a\subseteq Dom(I{\upharpoonright _{B}}).}

Axiom of union.  If a {\displaystyle a} is a set, then there is a set containing a . {\displaystyle \cup a.} a b x [ y ( x y y a ) x b ] . {\displaystyle \forall a\,\exists b\,\forall x\,.}

Axiom of power set.  If a {\displaystyle a} is a set, then there is a set containing P ( a ) . {\displaystyle {\mathcal {P}}(a).}

a b x ( x a x b ) . {\displaystyle \forall a\,\exists b\,\forall x\,(x\subseteq a\implies x\in b).}

Theorem —  If a {\displaystyle a} is a set, then a {\displaystyle \cup a} and P ( a ) {\displaystyle {\mathcal {P}}(a)} are sets.

Proof

The axiom of union states that a {\displaystyle \cup a} is a subclass of a set b {\displaystyle b} , so the axiom of separation implies a {\displaystyle \cup a} is a set. Likewise, the axiom of power set states that P ( a ) {\displaystyle {\mathcal {P}}(a)} is a subclass of a set b {\displaystyle b} , so the axiom of separation implies that P ( a ) {\displaystyle {\mathcal {P}}(a)} is a set.

Axiom of infinity.  There exists a nonempty set a {\displaystyle a} such that for all x {\displaystyle x} in a {\displaystyle a} , there exists a y {\displaystyle y} in a {\displaystyle a} such that x {\displaystyle x} is a proper subset of y {\displaystyle y} . a [ u ( u a ) x ( x a y ( y a x y ) ) ] . {\displaystyle \exists a\,.}

The axioms of infinity and replacement prove the existence of the empty set. In the discussion of the class existence axioms, the existence of the empty class {\displaystyle \emptyset } was proved. We now prove that {\displaystyle \emptyset } is a set. Let function F = {\displaystyle F=\emptyset } and let a {\displaystyle a} be the set given by the axiom of infinity. By replacement, the image of a {\displaystyle a} under F {\displaystyle F} , which equals {\displaystyle \emptyset } , is a set.

NBG's axiom of infinity is implied by ZFC's axiom of infinity: a [ a x ( x a x { x } a ) ] . {\displaystyle \,\exists a\,.\,} The first conjunct of ZFC's axiom, a {\displaystyle \emptyset \in a} , implies the first conjunct of NBG's axiom. The second conjunct of ZFC's axiom, x ( x a x { x } a ) {\displaystyle \forall x(x\in a\implies x\cup \{x\}\in a)} , implies the second conjunct of NBG's axiom since x x { x } . {\displaystyle x\subset x\cup \{x\}.} To prove ZFC's axiom of infinity from NBG's axiom of infinity requires some of the other NBG axioms (see Weak axiom of infinity).

Axiom of global choice

The class concept allows NBG to have a stronger axiom of choice than ZFC. A choice function is a function f {\displaystyle f} defined on a set s {\displaystyle s} of nonempty sets such that f ( x ) x {\displaystyle f(x)\in x} for all x s . {\displaystyle x\in s.} ZFC's axiom of choice states that there exists a choice function for every set of nonempty sets. A global choice function is a function G {\displaystyle G} defined on the class of all nonempty sets such that G ( x ) x {\displaystyle G(x)\in x} for every nonempty set x . {\displaystyle x.} The axiom of global choice states that there exists a global choice function. This axiom implies ZFC's axiom of choice since for every set s {\displaystyle s} of nonempty sets, G | s {\displaystyle G\vert _{s}} (the restriction of G {\displaystyle G} to s {\displaystyle s} ) is a choice function for s . {\displaystyle s.} In 1964, William B. Easton proved that global choice is stronger than the axiom of choice by using forcing to construct a model that satisfies the axiom of choice and all the axioms of NBG except the axiom of global choice. The axiom of global choice is equivalent to every class having a well-ordering, while ZFC's axiom of choice is equivalent to every set having a well-ordering.

Axiom of global choice.  There exists a function that chooses an element from every nonempty set.

G [ G  is a function x ( x y ( y x ( x , y ) G ) ) ] . {\displaystyle \exists G\,.}

History

refer to caption
History of approaches that led to NBG set theory

Von Neumann's 1925 axiom system

Von Neumann published an introductory article on his axiom system in 1925. In 1928, he provided a detailed treatment of his system. Von Neumann based his axiom system on two domains of primitive objects: functions and arguments. These domains overlap—objects that are in both domains are called argument-functions. Functions correspond to classes in NBG, and argument-functions correspond to sets. Von Neumann's primitive operation is function application, denoted by rather than a(x) where a is a function and x is an argument. This operation produces an argument. Von Neumann defined classes and sets using functions and argument-functions that take only two values, A and B. He defined x ∈ a if  ≠ A.

Von Neumann's work in set theory was influenced by Georg Cantor's articles, Ernst Zermelo's 1908 axioms for set theory, and the 1922 critiques of Zermelo's set theory that were given independently by Abraham Fraenkel and Thoralf Skolem. Both Fraenkel and Skolem pointed out that Zermelo's axioms cannot prove the existence of the set {Z0Z1Z2, ...} where Z0 is the set of natural numbers and Zn+1 is the power set of Zn. They then introduced the axiom of replacement, which would guarantee the existence of such sets. However, they were reluctant to adopt this axiom: Fraenkel stated "that Replacement was too strong an axiom for 'general set theory'", while "Skolem only wrote that 'we could introduce' Replacement".

Von Neumann worked on the problems of Zermelo set theory and provided solutions for some of them:

  • A theory of ordinals
    • Problem: Cantor's theory of ordinal numbers cannot be developed in Zermelo set theory because it lacks the axiom of replacement.
    • Solution: Von Neumann recovered Cantor's theory by defining the ordinals using sets that are well-ordered by the ∈-relation, and by using the axiom of replacement to prove key theorems about the ordinals, such as every well-ordered set is order-isomorphic with an ordinal. In contrast to Fraenkel and Skolem, von Neumann emphasized how important the replacement axiom is for set theory: "In fact, I believe that no theory of ordinals is possible at all without this axiom."
  • A criterion identifying classes that are too large to be sets
    • Problem: Zermelo did not provide such a criterion. His set theory avoids the large classes that lead to the paradoxes, but it leaves out many sets, such as the one mentioned by Fraenkel and Skolem.
    • Solution: Von Neumann introduced the criterion: A class is too large to be a set if and only if it can be mapped onto the class V of all sets. Von Neumann realized that the set-theoretic paradoxes could be avoided by not allowing such large classes to be members of any class. Combining this restriction with his criterion, he obtained his axiom of limitation of size: A class C is not a member of any class if and only if C can be mapped onto V.
  • Finite axiomatization
    • Problem: Zermelo had used the imprecise concept of "definite propositional function" in his axiom of separation.
    • Solutions: Skolem introduced the axiom schema of separation that was later used in ZFC, and Fraenkel introduced an equivalent solution. However, Zermelo rejected both approaches "particularly because they implicitly involve the concept of natural number which, in Zermelo's view, should be based upon set theory." Von Neumann avoided axiom schemas by formalizing the concept of "definite propositional function" with his functions, whose construction requires only finitely many axioms. This led to his set theory having finitely many axioms. In 1961, Richard Montague proved that ZFC cannot be finitely axiomatized.
  • The axiom of regularity
    • Problem: Zermelo set theory starts with the empty set and an infinite set, and iterates the axioms of pairing, union, power set, separation, and choice to generate new sets. However, it does not restrict sets to these. For example, it allows sets that are not well-founded, such as a set x satisfying x ∈ x.
    • Solutions: Fraenkel introduced an axiom to exclude these sets. Von Neumann analyzed Fraenkel's axiom and stated that it was not "precisely formulated", but it would approximately say: "Besides the sets ... whose existence is absolutely required by the axioms, there are no further sets." Von Neumann proposed the axiom of regularity as a way to exclude non-well-founded sets, but did not include it in his axiom system. In 1930, Zermelo became the first to publish an axiom system that included regularity.

Von Neumann's 1929 axiom system

refer to caption
John von Neumann

In 1929, von Neumann published an article containing the axioms that would lead to NBG. This article was motivated by his concern about the consistency of the axiom of limitation of size. He stated that this axiom "does a lot, actually too much." Besides implying the axioms of separation and replacement, and the well-ordering theorem, it also implies that any class whose cardinality is less than that of V is a set. Von Neumann thought that this last implication went beyond Cantorian set theory and concluded: "We must therefore discuss whether its consistency is not even more problematic than an axiomatization of set theory that does not go beyond the necessary Cantorian framework."

Von Neumann started his consistency investigation by introducing his 1929 axiom system, which contains all the axioms of his 1925 axiom system except the axiom of limitation of size. He replaced this axiom with two of its consequences, the axiom of replacement and a choice axiom. Von Neumann's choice axiom states: "Every relation R has a subclass that is a function with the same domain as R."

Let S be von Neumann's 1929 axiom system. Von Neumann introduced the axiom system S + Regularity (which consists of S and the axiom of regularity) to demonstrate that his 1925 system is consistent relative to S. He proved:

  1. If S is consistent, then S + Regularity is consistent.
  2. S + Regularity implies the axiom of limitation of size. Since this is the only axiom of his 1925 axiom system that S + Regularity does not have, S + Regularity implies all the axioms of his 1925 system.

These results imply: If S is consistent, then von Neumann's 1925 axiom system is consistent. Proof: If S is consistent, then S + Regularity is consistent (result 1). Using proof by contradiction, assume that the 1925 axiom system is inconsistent, or equivalently: the 1925 axiom system implies a contradiction. Since S + Regularity implies the axioms of the 1925 system (result 2), S + Regularity also implies a contradiction. However, this contradicts the consistency of S + Regularity. Therefore, if S is consistent, then von Neumann's 1925 axiom system is consistent.

Since S is his 1929 axiom system, von Neumann's 1925 axiom system is consistent relative to his 1929 axiom system, which is closer to Cantorian set theory. The major differences between Cantorian set theory and the 1929 axiom system are classes and von Neumann's choice axiom. The axiom system S + Regularity was modified by Bernays and Gödel to produce the equivalent NBG axiom system.

Bernays' axiom system

Paul Bernays

In 1929, Paul Bernays started modifying von Neumann's new axiom system by taking classes and sets as primitives. He published his work in a series of articles appearing from 1937 to 1954. Bernays stated that:

The purpose of modifying the von Neumann system is to remain nearer to the structure of the original Zermelo system and to utilize at the same time some of the set-theoretic concepts of the Schröder logic and of Principia Mathematica which have become familiar to logicians. As will be seen, a considerable simplification results from this arrangement.

Bernays handled sets and classes in a two-sorted logic and introduced two membership primitives: one for membership in sets and one for membership in classes. With these primitives, he rewrote and simplified von Neumann's 1929 axioms. Bernays also included the axiom of regularity in his axiom system.

Gödel's axiom system (NBG)

refer to caption
Kurt Gödel,     c. 1926

In 1931, Bernays sent a letter containing his set theory to Kurt Gödel. Gödel simplified Bernays' theory by making every set a class, which allowed him to use just one sort and one membership primitive. He also weakened some of Bernays' axioms and replaced von Neumann's choice axiom with the equivalent axiom of global choice. Gödel used his axioms in his 1940 monograph on the relative consistency of global choice and the generalized continuum hypothesis.

Several reasons have been given for Gödel choosing NBG for his monograph:

  • Gödel gave a mathematical reason—NBG's global choice produces a stronger consistency theorem: "This stronger form of the axiom , if consistent with the other axioms, implies, of course, that a weaker form is also consistent."
  • Robert Solovay conjectured: "My guess is that he wished to avoid a discussion of the technicalities involved in developing the rudiments of model theory within axiomatic set theory."
  • Kenneth Kunen gave a reason for Gödel avoiding this discussion: "There is also a much more combinatorial approach to L , developed by ... in an attempt to explain his work to non-logicians. ... This approach has the merit of removing all vestiges of logic from the treatment of L."
  • Charles Parsons provided a philosophical reason for Gödel's choice: "This view may be reflected in Gödel's choice of a theory with class variables as the framework for ... ."

Gödel's achievement together with the details of his presentation led to the prominence that NBG would enjoy for the next two decades. In 1963, Paul Cohen proved his independence proofs for ZF with the help of some tools that Gödel had developed for his relative consistency proofs for NBG. Later, ZFC became more popular than NBG. This was caused by several factors, including the extra work required to handle forcing in NBG, Cohen's 1966 presentation of forcing, which used ZF, and the proof that NBG is a conservative extension of ZFC.

NBG, ZFC, and MK

NBG is not logically equivalent to ZFC because its language is more expressive: it can make statements about classes, which cannot be made in ZFC. However, NBG and ZFC imply the same statements about sets. Therefore, NBG is a conservative extension of ZFC. NBG implies theorems that ZFC does not imply, but since NBG is a conservative extension, these theorems must involve proper classes. For example, it is a theorem of NBG that the global axiom of choice implies that the proper class V can be well-ordered and that every proper class can be put into one-to-one correspondence with V.

One consequence of conservative extension is that ZFC and NBG are equiconsistent. Proving this uses the principle of explosion: from a contradiction, everything is provable. Assume that either ZFC or NBG is inconsistent. Then the inconsistent theory implies the contradictory statements ∅ = ∅ and ∅ ≠ ∅, which are statements about sets. By the conservative extension property, the other theory also implies these statements. Therefore, it is also inconsistent. So although NBG is more expressive, it is equiconsistent with ZFC. This result together with von Neumann's 1929 relative consistency proof implies that his 1925 axiom system with the axiom of limitation of size is equiconsistent with ZFC. This completely resolves von Neumann's concern about the relative consistency of this powerful axiom since ZFC is within the Cantorian framework.

Even though NBG is a conservative extension of ZFC, a theorem may have a shorter and more elegant proof in NBG than in ZFC (or vice versa). For a survey of known results of this nature, see Pudlák 1998.

Morse–Kelley set theory has an axiom schema of class comprehension that includes formulas whose quantifiers range over classes. MK is a stronger theory than NBG because MK proves the consistency of NBG, while Gödel's second incompleteness theorem implies that NBG cannot prove the consistency of NBG.

For a discussion of some ontological and other philosophical issues posed by NBG, especially when contrasted with ZFC and MK, see Appendix C of Potter 2004.

Models

ZFC, NBG, and MK have models describable in terms of the cumulative hierarchy Vα  and the constructible hierarchy Lα . Let V include an inaccessible cardinal κ, let XVκ, and let Def(X) denote the class of first-order definable subsets of X with parameters. In symbols where " ( X , ) {\displaystyle (X,\in )} " denotes the model with domain X {\displaystyle X} and relation {\displaystyle \in } , and " {\displaystyle \models } " denotes the satisfaction relation: Def ( X ) := { { x x X  and  ( X , ) ϕ ( x , y 1 , , y n ) } : ϕ  is a first-order formula and  y 1 , , y n X } . {\displaystyle \operatorname {Def} (X):={\Bigl \{}\{x\mid x\in X{\text{ and }}(X,\in )\models \phi (x,y_{1},\ldots ,y_{n})\}:\phi {\text{ is a first-order formula and }}y_{1},\ldots ,y_{n}\in X{\Bigr \}}.}

Then:

  • ( V κ , ) {\displaystyle (V_{\kappa },\in )} and ( L κ , ) {\displaystyle (L_{\kappa },\in )} are models of ZFC.
  • (VκVκ+1, ∈) is a model of MK where Vκ consists of the sets of the model and Vκ+1 consists of the classes of the model. Since a model of MK is a model of NBG, this model is also a model of NBG.
  • (Vκ, Def(Vκ), ∈) is a model of Mendelson's version of NBG, which replaces NBG's axiom of global choice with ZFC's axiom of choice. The axioms of ZFC are true in this model because (Vκ, ∈) is a model of ZFC. In particular, ZFC's axiom of choice holds, but NBG's global choice may fail. NBG's class existence axioms are true in this model because the classes whose existence they assert can be defined by first-order definitions. For example, the membership axiom holds since the class E {\displaystyle E} is defined by: E = { x V κ : ( V κ , ) u   v [ x = ( u , v ) u v ] } . {\displaystyle E=\{x\in V_{\kappa }:(V_{\kappa },\in )\models \exists u\ \exists v\}.}
  • (Lκ, Lκ, ∈), where κ is the successor cardinal of κ, is a model of NBG. NBG's class existence axioms are true in (LκLκ, ∈). For example, the membership axiom holds since the class E {\displaystyle E} is defined by: E = { x L κ : ( L κ , ) u   v [ x = ( u , v ) u v ] } . {\displaystyle E=\{x\in L_{\kappa }:(L_{\kappa },\in )\models \exists u\ \exists v\}.} So E ∈ 𝒫(Lκ). In his proof that GCH is true in L, Gödel proved that 𝒫(Lκ) ⊆ Lκ. Therefore, E ∈ Lκ, so the membership axiom is true in (LκLκ, ∈). Likewise, the other class existence axioms are true. The axiom of global choice is true because Lκ is well-ordered by the restriction of Gödel's function (which maps the class of ordinals to the constructible sets) to the ordinals less than κ. Therefore, (LκLκ, ∈) is a model of NBG.
  • If M {\displaystyle M} is a nonstandard model of Z F C {\displaystyle \mathrm {ZFC} } , then ( M , D e f ( M ) ) G B + Δ 1 1 -CA {\displaystyle (M,\mathrm {Def} (M))\vDash \mathrm {GB} +\Delta _{1}^{1}{\text{-CA}}} is equivalent to "there exists an X {\displaystyle X} such that ( M , X ) G B + Δ 1 1 -CA {\displaystyle (M,X)\vDash \mathrm {GB} +\Delta _{1}^{1}{\text{-CA}}} ", where D e f ( M ) {\displaystyle \mathrm {Def} (M)} is the set of subsets of M {\displaystyle M} that are definable over M {\displaystyle M} . This provides a second-order part for extending a given first-order nonstandard model of Z F C {\displaystyle \mathrm {ZFC} } to a nonstandard model of G B {\displaystyle \mathrm {GB} } , if there is such an extension at all.

Category theory

The ontology of NBG provides scaffolding for speaking about "large objects" without risking paradox. For instance, in some developments of category theory, a "large category" is defined as one whose objects and morphisms make up a proper class. On the other hand, a "small category" is one whose objects and morphisms are members of a set. Thus, we can speak of the "category of all sets" or "category of all small categories" without risking paradox since NBG supports large categories.

However, NBG does not support a "category of all categories" since large categories would be members of it and NBG does not allow proper classes to be members of anything. An ontological extension that enables us to talk formally about such a "category" is the conglomerate, which is a collection of classes. Then the "category of all categories" is defined by its objects: the conglomerate of all categories; and its morphisms: the conglomerate of all morphisms from A to B where A and B are objects. On whether an ontology including classes as well as sets is adequate for category theory, see Muller 2001.

Notes

  1. Axiom of global choice explains why it is provably stronger.
  2. The historical development suggests that the two-sorted approach does appear more natural at first. In introducing his theory, Bernays stated: "According to the leading idea of von Neumann set theory we have to deal with two kinds of individuals, which we may distinguish as sets and classes."
  3. Gödel defined ( x 1 , x 2 , , x n ) = ( x 1 , ( x 2 , , x n ) ) {\displaystyle (x_{1},x_{2},\ldots ,x_{n})=(x_{1},(x_{2},\ldots ,x_{n}))}  . This affects the statements of some of his definitions, axioms, and theorems. This article uses Mendelson's definition.
  4. Bernays' class existence axioms specify unique classes. Gödel weakened all but three of Bernays' axioms (intersection, complement, domain) by replacing biconditionals with implications, which means they specify only the ordered pairs or the 3-tuples of the class. The axioms in this section are Gödel's except for Bernays' stronger product by V axiom, which specifies a unique class of ordered pairs. Bernays' axiom simplifies the proof of the class existence theorem. Gödel's axiom B6 appears as the fourth statement of the tuple lemma. Bernays later realized that one of his axioms is redundant, which implies that one of Gödel's axioms is redundant. Using the other axioms, axiom B6 can be proved from axiom B8, and B8 can be proved from B6, so either axiom can be considered the redundant axiom. The names for the tuple-handling axioms are from the French Wikipédia article: Théorie des ensembles de von Neumann.
  5. ^ This article uses Bourbaki's complement notation A {\displaystyle \complement A} and relative complement notation X A = A X {\displaystyle \complement _{X}A=\complement A\cap X} . This prefix relative complement notation is used by the class existence theorem to mirror the prefix logical not ( ¬ {\displaystyle \neg } ).
  6. Since Gödel states this axiom before he proves the existence of the empty class, he states it without using the empty class.
  7. The proofs in this and the next section come from Gödel's proofs, which he gave at the Institute for Advanced Study where he "could count upon an audience well versed in mathematical logic". To make Gödel's proofs more accessible to Misplaced Pages readers, a few modifications have been made. The goal in this and the next section is to prove Gödel's M4, his fourth class existence theorem. The proof in this section mostly follows the M1 proof, but it also uses techniques from the M3 and M4 proofs. The theorem is stated with class variables rather than M1's symbols for special classes (universal quantification over the class variables is equivalent to being true for any instantiation of the class variables). The major differences from the M1 proof are: unique classes of n {\displaystyle n} -tuples are generated at the end of the basis and inductive steps (which require Bernays' stronger product by V {\displaystyle V} axiom), and bound variables are replaced by subscripted variables that continue the numbering of the free set variables. Since bound variables are free for part of the induction, this guarantees that, when they are free, they are treated the same as the original free variables. One of the benefits of this proof is the example output of the function Class, which shows that a class's construction mirrors its defining formula's construction.
  8. One detail has been left out of this proof. Gödel's convention is being used, so x ϕ ( x ) {\displaystyle \exists x\,\phi (x)} is defined to be x [ C ( x C ) ϕ ( x ) ] . {\displaystyle \exists x.} Since this formula quantifies over classes, it must be replaced with the equivalent x [ x V ϕ ( x ) ] . {\displaystyle \exists x.} Then the three formulas in the proof having the form x n + 1 [ x n + 1 ] {\displaystyle \exists x_{n+1}} become x n + 1 [ x n + 1 V ] , {\displaystyle \exists x_{n+1},} which produces a valid proof.
  9. Recursive computer programs written in pseudocode have been used elsewhere in pure mathematics. For example, they have been used to prove the Heine-Borel theorem and other theorems of analysis.
  10. This theorem is Gödel's theorem M4. He proved it by first proving M1, a class existence theorem that uses symbols for special classes rather than free class variables. M1 produces a class containing all the n {\displaystyle n} -tuples satisfying ϕ {\displaystyle \phi } , but which may contain elements that are not n {\displaystyle n} -tuples. Theorem M2 extends this theorem to formulas containing relations, special classes, and operations. Theorem M3 is obtained from M2 by replacing the symbols for special classes with free variables. Gödel used M3 to define A × B = { x : y z [ x = ( y , z ) y A z B ] } , {\displaystyle A\times B=\{x:\exists y\exists z\},} which is unique by extensionality. He used A × B {\displaystyle A\times B} to define V n . {\displaystyle V^{n}.} Theorem M4 is obtained from M3 by intersecting the class produced by M3 with V n {\displaystyle V^{n}} to produce the unique class of n {\displaystyle n} -tuples satisfying the given formula. Gödel's approach, especially his use of M3 to define A × B {\displaystyle A\times B} , eliminates the need for Bernays' stronger form of the product by V {\displaystyle V} axiom.
  11. Gödel weakened Bernays' axioms of union and power set, which state the existence of these sets, to the above axioms that state there is a set containing the union and a set containing the power set. Bernays published his axioms after Gödel, but had sent them to Gödel in 1931.
  12. Since ZFC's axiom requires the existence of the empty set, an advantage of NBG's axiom is that the axiom of the empty set is not needed. Mendelson's axiom system uses the ZFC's axiom of infinity and also has the axiom of the empty set.
  13. For V {\displaystyle V} having a well-ordering implying global choice, see Implications of the axiom of limitation of size. For global choice implying the well-ordering of any class, see Kanamori 2009, p. 53.
  14. In 1917, Dmitry Mirimanoff published a form of replacement based on cardinal equivalence.
  15. ^ In 1928, von Neumann stated: "A treatment of ordinal number closely related to mine was known to Zermelo in 1916, as I learned subsequently from a personal communication. Nevertheless, the fundamental theorem, according to which to each well-ordered set there is a similar ordinal, could not be rigorously proved because the replacement axiom was unknown."
  16. von Neumann 1923. Von Neumann's definition also used the theory of well-ordered sets. Later, his definition was simplified to the current one: An ordinal is a transitive set that is well-ordered by ∈.
  17. After introducing the cumulative hierarchy, von Neumann could show that Zermelo's axioms do not prove the existence of ordinals α ≥ ω + ω, which include uncountably many hereditarily countable sets. This follows from Skolem's result that Vω+ω satisfies Zermelo's axioms and from α ∈ Vβ implying α < β.
  18. Von Neumann stated his axiom in an equivalent functional form.
  19. Skolem's approach implicitly involves natural numbers because the formulas of an axiom schema are built using structural recursion, which is a generalization of mathematical recursion over the natural numbers.
  20. Mirimanoff defined well-founded sets in 1917.
  21. Akihiro Kanamori points out that Bernays lectured on his axiom system in 1929-1930 and states that "… he and Zermelo must have arrived at the idea of incorporating Foundation almost at the same time." However, Bernays did not publish the part of his axiom system containing regularity until 1941.
  22. Proof that von Neumann's axiom implies global choice: Let R = { ( x , y ) : x y x } . {\displaystyle R=\{(x,y):x\neq \emptyset \land y\in x\}.} Von Neumann's axiom implies there is a function G R {\displaystyle G\subseteq R} such that D o m ( G ) = D o m ( R ) . {\displaystyle Dom(G)=Dom(R).} The function G {\displaystyle G} is a global choice function since for all nonempty sets x , {\displaystyle x,} G ( x ) x . {\displaystyle G(x)\in x.}
    Proof that global choice implies von Neumann's axiom: Let G {\displaystyle G} be a global choice function, and let R {\displaystyle R} be a relation. For x D o m ( R ) , {\displaystyle x\in Dom(R),} let α ( x ) = least { α : y [ ( x , y ) R V α ] } {\displaystyle \alpha (x)={\text{least}}\,\{\alpha :\exists y\}} where V α {\displaystyle V_{\alpha }} is the set of all sets having rank less than α . {\displaystyle \alpha .} Let z x = { y : ( x , y ) R V α ( x ) } . {\displaystyle z_{x}=\{y:(x,y)\in R\cap V_{\alpha (x)}\}.} Then F = { ( x , G ( z x ) ) : x D o m ( R ) } {\displaystyle F=\{(x,G(z_{x})):x\in Dom(R)\}} is a function that satisfies von Neumann's axiom since F R {\displaystyle F\subseteq R} and D o m ( F ) = D o m ( R ) . {\displaystyle Dom(F)=Dom(R).}
  23. Gödel used von Neumann's 1929 axioms in his 1938 announcement of his relative consistency theorem and stated "A corresponding theorem holds if T denotes the system of Principia mathematica". His 1939 sketch of his proof is for Zermelo set theory and ZF. Proving a theorem in multiple formal systems was not unusual for Gödel. For example, he proved his incompleteness theorem for the system of Principia mathematica, but pointed out that it "holds for a wide class of formal systems ...".
  24. Gödel's consistency proof builds the constructible universe. To build this in ZF requires some model theory. Gödel built it in NBG without model theory. For Gödel's construction, see Gödel 1940, pp. 35–46 or Cohen 1966, pp. 99–103.
  25. Cohen also gave a detailed proof of Gödel's relative consistency theorems using ZF.
  26. In the 1960s, this conservative extension theorem was proved independently by Paul Cohen, Saul Kripke, and Robert Solovay. In his 1966 book, Cohen mentioned this theorem and stated that its proof requires forcing. It was also proved independently by Ronald Jensen and Ulrich Felgner, who published his proof in 1971.
  27. Both conclusions follow from the conclusion that every proper class can be put into one-to-one correspondence with the class of all ordinals. A proof of this is outlined in Kanamori 2009, p. 53.
  28. Easton built a model of Mendelson's version of NBG in which ZFC's axiom of choice holds but global choice fails.
  29. In the cumulative hierarchy Vκ, the subsets of Vκ are in Vκ+1. The constructible hierarchy Lκ produces subsets more slowly, which is why the subsets of Lκ are in Lκ rather than Lκ+1.

References

  1. ^ von Neumann 1925, pp. 221–224, 226, 229; English translation: van Heijenoort 2002b, pp. 396–398, 400, 403.
  2. ^ Bernays 1937, pp. 66–67.
  3. Gödel 1940.
  4. Gödel 1940, pp. 3–7.
  5. ^ Gödel 1940, p. 6.
  6. Gödel 1940, p. 25.
  7. Gödel 1940, pp. 35–38.
  8. ^ "The Neumann-Bernays-Gödel axioms". Encyclopædia Britannica. Retrieved 17 January 2019.
  9. ^ Gödel 1940, p. 3.
  10. Mendelson 1997, pp. 225–226.
  11. Bernays 1937, p. 66.
  12. Mendelson 1997, p. 226.
  13. Gödel's axiom A3 (Gödel 1940, p. 3).
  14. Gödel's axiom A4 (Gödel 1940, p. 3).
  15. Gödel 1940, p. 4).
  16. Mendelson 1997, p. 230.
  17. Kanamori 2009, p. 56; Bernays 1937, p. 69; Gödel 1940, pp. 5, 9; Mendelson 1997, p. 231.
  18. Gödel's axiom B1 (Gödel 1940, p. 5).
  19. Gödel's axiom B2 (Gödel 1940, p. 5).
  20. Gödel's axiom B3 (Gödel 1940, p. 5).
  21. Gödel's axiom B4 (Gödel 1940, p. 5).
  22. Bourbaki 2004, p. 71.
  23. Bernays' axiom b(3) (Bernays 1937, p. 5).
  24. Gödel's axiom B7 (Gödel 1940, p. 5).
  25. Gödel's axiom B8 (Gödel 1940, p. 5).
  26. Gödel 1940, p. 6; Kanamori 2012, p. 70.
  27. Kanamori 2009, p. 57; Gödel 2003, p. 121. Both references contain Gödel's proof but Kanamori's is easier to follow since he uses modern terminology.
  28. Dawson 1997, p. 134.
  29. Gödel 1940, pp. 8–11
  30. Gödel 1940, p. 11.
  31. Gray 1991.
  32. Gödel 1940, pp. 11–13.
  33. Gödel 1940, pp. 8–15.
  34. Gödel 1940, pp. 16–18.
  35. Bernays 1941, p. 2; Gödel 1940, p. 5).
  36. ^ Kanamori 2009, p. 48; Gödel 2003, pp. 104–115.
  37. Mendelson 1997, pp. 228, 239.
  38. Easton 1964, pp. 56a–64.
  39. von Neumann 1925, von Neumann 1928.
  40. Ferreirós 2007, p. 369.
  41. Mirimanoff 1917, p. 49.
  42. Kanamori 2012, p. 62.
  43. Hallett 1984, p. 280.
  44. Kunen 1980, p. 16.
  45. von Neumann 1925, p. 223 (footnote); English translation: van Heijenoort 2002b, p. 398 (footnote).
  46. Kanamori 2012, p. 61
  47. Kunen 1980, pp. 95–96. Uses the notation R(β) instead of Vβ.
  48. Hallett 1984, pp. 288–290.
  49. von Neumann 1925, p. 225; English translation: van Heijenoort 2002b, p. 400.
  50. Fraenkel, Historical Introduction in Bernays 1991, p. 13.
  51. von Neumann 1925, pp. 224–226; English translation: van Heijenoort 2002b, pp. 399–401.
  52. Montague 1961.
  53. Mirimanoff 1917, p. 41.
  54. von Neumann 1925, pp. 230–232; English translation: van Heijenoort 2002b, pp. 404–405.
  55. Kanamori 2009, pp. 53–54.
  56. Bernays 1941, p. 6.
  57. von Neumann 1929, p. 229; Ferreirós 2007, pp. 379–380.
  58. Kanamori 2009, pp. 49, 53.
  59. Kanamori 2009, pp. 48, 58. Bernays' articles are reprinted in Müller 1976, pp. 1–117.
  60. Bernays 1937, p. 65.
  61. Kanamori 2009, pp. 48–54.
  62. Kanamori 2009, p. 56.
  63. Kanamori 2009, pp. 56–58; Gödel 1940, Chapter I: The axioms of abstract set theory, pp. 3–7.
  64. Gödel 1990, p. 26.
  65. Gödel 1990, pp. 28–32.
  66. Gödel 1986, p. 145.
  67. Solovay 1990, p. 13.
  68. Kunen 1980, p. 176.
  69. Gödel 1990, p. 108, footnote i. The paragraph containing this footnote discusses why Gödel considered "property of set" a primitive of set theory and how it fit into his ontology. "Property of set" corresponds to the "class" primitive in NBG.
  70. Kanamori 2009, p. 57.
  71. Cohen 1963.
  72. Kanamori 2009, p. 65: "Forcing itself went a considerable distance in downgrading any formal theory of classes because of the added encumbrance of having to specify the classes of generic extensions."
  73. Cohen 1966, pp. 107–147.
  74. Cohen 1966, pp. 85–99.
  75. Ferreirós 2007, pp. 381–382; Cohen 1966, p. 77; Felgner 1971.
  76. Mostowski 1950, p. 113, footnote 11. Footnote references Wang's NQ set theory, which later evolved into MK.
  77. Kanamori 2009b, pp. 18, 29.
  78. Chuaqui 1981, p. 313 proves that (VκVκ+1, ∈) is a model of MKTR + AxC. MKT is Tarski's axioms for MK without Choice or Replacement. MKTR + AxC is MKT with Replacement and Choice (Chuaqui 1981, pp. 4, 125), which is equivalent to MK.
  79. Mendelson 1997, p. 275.
  80. Gödel 1940, p. 54; Solovay 1990, pp. 9–11.
  81. Gödel 1940, p. 54.
  82. A. Enayat, "Set theoretical analogues of the Barwise-Schlipf theorem". Annals of Pure and Applied Logic vol. 173 (2022).
  83. Adámek, Herrlich & Strecker 2004, pp. 15–16, 40.

Bibliography

External links

Set theory
Overview Venn diagram of set intersection
Axioms
Operations
  • Concepts
  • Methods
Set types
Theories
Set theorists
Mathematical logic
General
Theorems (list)
 and paradoxes
Logics
Traditional
Propositional
Predicate
Set theory
Types of sets
Maps and cardinality
Set theories
Formal systems (list),
language and syntax
Example axiomatic
systems
 (list)
Proof theory
Model theory
Computability theory
Related
icon Mathematics portal
Categories: