In the
foundations of mathematics
Foundations of mathematics are the mathematical logic, logical and mathematics, mathematical framework that allows the development of mathematics without generating consistency, self-contradictory theories, and to have reliable concepts of theo ...
, von Neumann–Bernays–Gödel set theory (NBG) is an
axiomatic set theory
Set theory is the branch of mathematical logic that studies Set (mathematics), sets, which can be informally described as collections of objects. Although objects of any kind can be collected into a set, set theory – as a branch of mathema ...
that is a
conservative extension
In mathematical logic, a conservative extension is a supertheory of a theory which is often convenient for proving theorems, but proves no new theorems about the language of the original theory. Similarly, a non-conservative extension is a superth ...
of
Zermelo–Fraenkel–choice set theory (ZFC). NBG introduces the
notion of
class
Class, Classes, or The Class may refer to:
Common uses not otherwise categorized
* Class (biology), a taxonomic rank
* Class (knowledge representation), a collection of individuals or objects
* Class (philosophy), an analytical concept used d ...
, which is a collection of
sets defined by a
formula
In science, a formula is a concise way of expressing information symbolically, as in a mathematical formula or a ''chemical formula''. The informal use of the term ''formula'' in science refers to the general construct of a relationship betwe ...
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 formula
In mathematical logic, an atomic formula (also known as an atom or a prime formula) is a formula with no deeper propositional structure, that is, a formula that contains no logical connectives or equivalently a formula that has no strict subformu ...
s (
membership
Member may refer to:
* Military jury, referred to as "Members" in military jargon
* Element (mathematics), an object that belongs to a mathematical set
* In object-oriented programming, a member of a class
** Field (computer science), entries in ...
and
equality) and finitely many
logical symbols, only finitely many
axiom
An axiom, postulate, or assumption is a statement that is taken to be true, to serve as a premise or starting point for further reasoning and arguments. The word comes from the Ancient Greek word (), meaning 'that which is thought worthy or ...
s 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
In mathematics, the axiom of choice, abbreviated AC or AoC, is an axiom of set theory. Informally put, the axiom of choice says that given any collection of non-empty sets, it is possible to construct a new set by choosing one element from e ...
.
John von Neumann
John von Neumann ( ; ; December 28, 1903 – February 8, 1957) was a Hungarian and American mathematician, physicist, computer scientist and engineer. Von Neumann had perhaps the widest coverage of any mathematician of his time, in ...
introduced classes into set theory in 1925. The
primitive notion
In mathematics, logic, philosophy, and formal systems, a primitive notion is a concept that is not defined in terms of previously-defined concepts. It is often motivated informally, usually by an appeal to Intuition (knowledge), intuition or taken ...
s of his theory were
function and
argument
An argument is a series of sentences, statements, or propositions some of which are called premises and one is the conclusion. The purpose of an argument is to give reasons for one's conclusion via justification, explanation, and/or persu ...
. Using these notions, he defined class and set.
[; English translation: .] Paul Bernays
Paul Isaac Bernays ( ; ; 17 October 1888 – 18 September 1977) was a Swiss mathematician who made significant contributions to mathematical logic, axiomatic set theory, and the philosophy of mathematics. He was an assistant and close collaborator ...
reformulated von Neumann's theory by taking class and set as primitive notions.
[, pp. 66–67.] Kurt Gödel
Kurt Friedrich Gödel ( ; ; April 28, 1906 – January 14, 1978) was a logician, mathematician, and philosopher. Considered along with Aristotle and Gottlob Frege to be one of the most significant logicians in history, Gödel profoundly ...
simplified Bernays' theory for his
relative consistency proof of the
axiom of choice
In mathematics, the axiom of choice, abbreviated AC or AoC, is an axiom of set theory. Informally put, the axiom of choice says that given any collection of non-empty sets, it is possible to construct a new set by choosing one element from e ...
and the
generalized continuum hypothesis
In mathematics, specifically set theory, the continuum hypothesis (abbreviated CH) is a hypothesis about the possible sizes of infinite sets. It states:
Or equivalently:
In Zermelo–Fraenkel set theory with the axiom of choice (ZFC), this ...
.
[.]
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
In mathematics, the axiom of choice, abbreviated AC or AoC, is an axiom of set theory. Informally put, the axiom of choice says that given any collection of non-empty sets, it is possible to construct a new set by choosing one element from e ...
"
[.]—namely, the
axiom of global choice: There exists a global choice function
defined on the class of all nonempty sets such that
for every nonempty set
This is stronger than ZFC's axiom of choice: For every set
of nonempty sets, there exists a
choice function
Let ''X'' be a set of sets none of which are empty. Then a choice function (selector, selection) on ''X'' is a mathematical function ''f'' that is defined on ''X'' such that ''f'' is a mapping that assigns each element of ''X'' to one of its ele ...
defined on
such that
for all
* The
set-theoretic paradoxes are handled by recognizing that some classes cannot be sets. For example, assume that the class
of all
ordinals is a set. Then
is a
transitive set
well-order
In mathematics, a well-order (or well-ordering or well-order relation) on a set is a total ordering on with the property that every non-empty subset of has a least element in this ordering. The set together with the ordering is then calle ...
ed by
. So, by definition,
is an ordinal. Hence,
, which contradicts
being a well-ordering of
Therefore,
is not a set. A class that is not a set is called a
proper class
Proper may refer to:
Mathematics
* Proper map, in topology, a property of continuous function between topological spaces, if inverse images of compact subsets are compact
* Proper morphism, in algebraic geometry, an analogue of a proper map f ...
;
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
In mathematics, specifically set theory, the continuum hypothesis (abbreviated CH) is a hypothesis about the possible sizes of infinite sets. It states:
Or equivalently:
In Zermelo–Fraenkel set theory with the axiom of choice (ZFC), this ...
, Gödel used proper classes to build the
constructible universe
In mathematics, in set theory, the constructible universe (or Gödel's constructible universe), denoted by L, is a particular Class (set theory), class of Set (mathematics), sets that can be described entirely in terms of simpler sets. L is the un ...
. 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
An image or picture is a visual representation. An image can be Two-dimensional space, two-dimensional, such as a drawing, painting, or photograph, or Three-dimensional space, three-dimensional, such as a carving or sculpture. Images may be di ...
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
In mathematical logic, an axiom schema (plural: axiom schemata or axiom schemas) generalizes the notion of axiom.
Formal definition
An axiom schema is a formula in the metalanguage of an axiomatic system, in which one or more schematic variabl ...
of class comprehension is added. This axiom schema states: For every formula
that quantifies only over sets, there exists a class
consisting of the satisfying the formula—that is,
Then the
axiom schema of replacement
In set theory, the axiom schema of replacement is a Axiom schema, schema of axioms in Zermelo–Fraenkel set theory (ZF) that asserts that the image (mathematics), image of any Set (mathematics), set under any definable functional predicate, mappi ...
is replaced by a
single axiom that uses a class. Finally, ZFC's
axiom of extensionality
The axiom of extensionality, also called the axiom of extent, is an axiom used in many forms of axiomatic set theory, such as Zermelo–Fraenkel set theory. The axiom defines what a Set (mathematics), set is. Informally, the axiom means that the ...
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
Many-sorted logic can reflect formally our intention not to handle the universe as a homogeneous collection of objects, but to partition it in a way that is similar to types in typeful programming. Both functional and assertive " parts of speech ...
with two sorts: classes and sets.
Gödel avoided sorts by introducing primitive predicates:
for "
is a class" and
for "
is a set" (in German, "set" is ''Menge''). He also introduced axioms stating that every set is a class and that if class
is a member of a class, then
is a set.
[.] Using predicates is the standard way to eliminate sorts.
Elliott Mendelson
Elliott Mendelson (May 24, 1931 – May 7, 2020) was an American logician. He was a professor of mathematics at Queens College of the City University of New York, and the Graduate Center, CUNY. He was Jr. Fellow, Society of Fellows, Harvard U ...
modified Gödel's approach by having everything be a class and defining the set predicate
as
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
In the formal sciences, the domain of discourse or universe of discourse (borrowing from the mathematical concept of ''universe'') is the set of entities over which certain variables of interest in some formal treatment may range.
It is also ...
.
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,
where
and
are classes is a valid statement. In Bernays' approach this statement has no meaning. However, if
is a set, there is an equivalent statement: Define "set
represents class
" if they have the same sets as members—that is,
The statement
where set
represents class
is equivalent to Gödel's
The approach adopted in this article is that of Gödel with Mendelson's modification. This means that NBG is an
axiomatic system
In mathematics and logic, an axiomatic system is a set of formal statements (i.e. axioms) used to logically derive other statements such as lemmas or theorems. A proof within an axiom system is a sequence of deductive steps that establishes ...
in
first-order predicate logic with
equality, and its only
primitive notion
In mathematics, logic, philosophy, and formal systems, a primitive notion is a concept that is not defined in terms of previously-defined concepts. It is often motivated informally, usually by an appeal to Intuition (knowledge), intuition or taken ...
s 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:
is a set if and only if
.
A class that is not a set is called a proper class:
is a proper class if and only if
.
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:
*
instead of
*
instead of
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.
: