In mathematics, **Zermelo–Fraenkel set theory**, named after mathematicians Ernst Zermelo and Abraham Fraenkel, is one of several axiomatic systems that were proposed in the early twentieth century to formulate a theory of sets free of paradoxes such as Russell's paradox. Zermelo–Fraenkel set theory with the historically controversial axiom of choice included is commonly abbreviated **ZFC**, where C stands for choice. Many authors use **ZF** to refer to the axioms of Zermelo–Fraenkel set theory with the axiom of choice excluded. Today ZFC is the standard form of axiomatic set theory and as such is the most common foundation of mathematics.

## Contents

- History
- Axioms
- 1 Axiom of extensionality
- 2 Axiom of regularity also called the Axiom of foundation
- 3 Axiom schema of specification also called the axiom schema of separation or of restricted comprehension
- 4 Axiom of pairing
- 5 Axiom of union
- 6 Axiom schema of replacement
- 7 Axiom of infinity
- 8 Axiom of power set
- 9 Well ordering theorem
- Motivation via the cumulative hierarchy
- Metamathematics
- Independence
- Criticisms
- References

ZFC is intended to formalize a single primitive notion, that of a hereditary well-founded set, so that all entities in the universe of discourse are such sets. Thus the axioms of ZFC refer only to pure sets and prevent its models from containing urelements (elements of sets that are not themselves sets). Furthermore, proper classes (collections of mathematical objects defined by a property shared by their members which are too big to be sets) can only be treated indirectly. Specifically, ZFC does not allow for the existence of a universal set (a set containing all sets) nor for unrestricted comprehension, thereby avoiding Russell's paradox. Von Neumann–Bernays–Gödel set theory (NBG) is a commonly used conservative extension of ZFC that does allow explicit treatment of proper classes.

Formally, ZFC is a one-sorted theory in first-order logic. The signature has equality and a single primitive binary relation, set membership, which is usually denoted ∈. The formula *a* ∈ *b* means that the set *a* is a member of the set *b* (which is also read, "*a* is an element of *b*" or "*a* is in *b*").

There are many equivalent formulations of the ZFC axioms. Most of the ZFC axioms state the existence of particular sets defined from other sets. For example, the axiom of pairing says that given any two sets *a* and *b* there is a new set {*a*, *b*} containing exactly *a* and *b*. Other axioms describe properties of set membership. A goal of the ZFC axioms is that each axiom should be true if interpreted as a statement about the collection of all sets in the von Neumann universe (also known as the cumulative hierarchy).

The metamathematics of ZFC has been extensively studied. Landmark results in this area established the independence of the continuum hypothesis from ZFC, and of the axiom of choice from the remaining ZFC axioms. The consistency of a theory such as ZFC cannot be proved within the theory itself.

## History

In 1908, Ernst Zermelo proposed the first axiomatic set theory, Zermelo set theory. However, as first pointed out by Abraham Fraenkel in a 1921 letter to Zermelo, this theory was incapable of proving the existence of certain sets and cardinal numbers whose existence was taken for granted by most set theorists of the time, notably the cardinal number ℵ_{ω} and the set {Z_{0}, ℘(Z_{0}), ℘(℘(Z_{0})),...}, where Z_{0} is any infinite set and ℘ is the power set operation. Moreover, one of Zermelo's axioms invoked a concept, that of a "definite" property, whose operational meaning was not clear. In 1922, Fraenkel and Thoralf Skolem independently proposed operationalizing a "definite" property as one that could be formulated as a first order theory whose atomic formulas were limited to set membership and identity. They also independently proposed replacing the axiom schema of specification with the axiom schema of replacement. Appending this schema, as well as the axiom of regularity (first proposed by Dimitry Mirimanoff in 1917), to Zermelo set theory yields the theory denoted by **ZF**. Adding to ZF either the axiom of choice (AC) or a statement that is equivalent to it yields ZFC.

## Axioms

There are many equivalent formulations of the ZFC axioms; for a discussion of this see Fraenkel, Bar-Hillel & Lévy 1973. The following particular axiom set is from Kunen (1980). The axioms per se are expressed in the symbolism of first order logic. The associated English prose is only intended to aid the intuition.

All formulations of ZFC imply that at least one set exists. Kunen includes an axiom that directly asserts the existence of a set, in addition to the axioms given below (although he notes that he does so only “for emphasis”). Its omission here can be justified in two ways. First, in the standard semantics of first-order logic in which ZFC is typically formalized, the domain of discourse must be nonempty. Hence, it is a logical theorem of first-order logic that something exists — usually expressed as the assertion that something is identical to itself, ∃x(x=x). Consequently, it is a theorem of every first-order theory that something exists. However, as noted above, because in the intended semantics of ZFC there are only sets, the interpretation of this logical theorem in the context of ZFC is that some *set* exists. Hence, there is no need for a separate axiom asserting that a set exists. Second, however, even if ZFC is formulated in so-called free logic, in which it is not provable from logic alone that something exists, the axiom of infinity (below) asserts that an *infinite* set exists. This implies that *a* set exists and so, once again, it is superfluous to include an axiom asserting as much.

## 1. Axiom of extensionality

Two sets are equal (are the same set) if they have the same elements.

The converse of this axiom follows from the substitution property of equality. If the background logic does not include equality "=", *x*=*y* may be defined as an abbreviation for the following formula:

In this case, the axiom of extensionality can be reformulated as

which says that if *x* and *y* have the same elements, then they belong to the same sets.

## 2. Axiom of regularity (also called the Axiom of foundation)

Every non-empty set *x* contains a member *y* such that *x* and *y* are disjoint sets.

This implies, for example, that no set is an element of itself and that every set has an ordinal rank.

## 3. Axiom schema of specification (also called the axiom schema of separation or of restricted comprehension)

Subsets are commonly constructed using set builder notation. For example, the even integers can be constructed as the subset of the integers

In general, the subset of a set *z* obeying a formula
*x*) with one free variable *x* may be written as:

The axiom schema of specification states that this subset always exists (it is an axiom *schema* because there is one axiom for each
*y* is *not* free in

Note that the axiom schema of specification can only construct subsets, and does not allow the construction of sets of the more general form:

This restriction is necessary to avoid Russell's paradox and its variants that accompany naive set theory with unrestricted comprehension.

In some other axiomatizations of ZF, this axiom is redundant in that it follows from the axiom schema of replacement and the axiom of the empty set.

On the other hand, the axiom of specification can be used to prove the existence of the empty set, denoted
*w* is any existing set, the empty set can be constructed as

Thus the axiom of the empty set is implied by the nine axioms presented here. The axiom of extensionality implies the empty set is unique (does not depend on *w*). It is common to make a definitional extension that adds the symbol

## 4. Axiom of pairing

If *x* and *y* are sets, then there exists a set which contains *x* and *y* as elements.

The axiom schema of specification must be used to reduce this to a set with exactly these two elements. The axiom of pairing is part of Z, but is redundant in ZF because it follows from the axiom schema of replacement, if we are given a set with at least two elements. The existence of a set with at least two elements is assured by either the axiom of infinity, or by the axiom schema of specification and the axiom of the power set applied twice to any set.

## 5. Axiom of union

The union over the elements of a set exists. For example, the union over the elements of the set

Formally, the axiom of union states that for any set of sets

While this doesn't directly assert the existence of

## 6. Axiom schema of replacement

The axiom schema of replacement asserts that the image of a set under any definable function will also fall inside a set.

Formally, let

In other words, if the relation

## 7. Axiom of infinity

Let
*X* such that the empty set
*X* and, whenever a set *y* is a member of *X*, then
*X*.

More colloquially, there exists a set *X* having infinitely many members. (It must be established, however, that these members are all different, because if two elements are same, the sequence will loop around in a finite cycle of sets. The axiom of regularity prevents this from happening.) The minimal set *X* satisfying the axiom of infinity is the von Neumann ordinal ω, which can also be thought of as the set of natural numbers

## 8. Axiom of power set

By definition a set *z* is a subset of a set *x* if and only if every element of *z* is also an element of *x*:

The Axiom of Power Set states that for any set *x*, there is a set *y* that contains every subset of *x*:

The axiom schema of specification is then used to define the power set *P(x)* as the subset of such a *y* containing the subsets of *x* exactly:

Axioms **1–8** define ZF. Alternative forms of these axioms are often encountered, some of which are listed in Jech (2003). Some ZF axiomatizations include an axiom asserting that the empty set exists. The axioms of pairing, union, replacement, and power set are often stated so that the members of the set *x* whose existence is being asserted are just those sets which the axiom asserts *x* must contain.

The following axiom is added to turn ZF into ZFC:

## 9. Well-ordering theorem

For any set *X*, there is a binary relation *R* which well-orders *X*. This means *R* is a linear order on *X* such that every nonempty subset of *X* has a member which is minimal under *R*.

Given axioms **1–8**, there are many statements provably equivalent to axiom **9**, the best known of which is the axiom of choice (AC), which goes as follows. Let *X* be a set whose members are all non-empty. Then there exists a function *f* from *X* to the union of the members of *X*, called a "choice function", such that for all *Y* ∈ *X* one has *f*(*Y*) ∈ *Y*. Since the existence of a choice function when *X* is a finite set is easily proved from axioms **1–8**, AC only matters for certain infinite sets. AC is characterized as nonconstructive because it asserts the existence of a choice set but says nothing about how the choice set is to be "constructed." Much research has sought to characterize the definability (or lack thereof) of certain sets whose existence AC asserts.

## Motivation via the cumulative hierarchy

One motivation for the ZFC axioms is the cumulative hierarchy of sets introduced by John von Neumann. In this viewpoint, the universe of set theory is built up in stages, with one stage for each ordinal number. At stage 0 there are no sets yet. At each following stage, a set is added to the universe if all of its elements have been added at previous stages. Thus the empty set is added at stage 1, and the set containing the empty set is added at stage 2. The collection of all sets that are obtained in this way, over all the stages, is known as V. The sets in V can be arranged into a hierarchy by assigning to each set the first stage at which that set was added to V.

It is provable that a set is in V if and only if the set is pure and well-founded; and provable that V satisfies all the axioms of ZFC, if the class of ordinals has appropriate reflection properties. For example, suppose that a set *x* is added at stage α, which means that every element of *x* was added at a stage earlier than α. Then every subset of *x* is also added at stage α, because all elements of any subset of *x* were also added before stage α. This means that any subset of *x* which the axiom of separation can construct is added at stage α, and that the powerset of *x* will be added at the next stage after α. For a complete argument that V satisfies ZFC see Shoenfield (1977).

The picture of the universe of sets stratified into the cumulative hierarchy is characteristic of ZFC and related axiomatic set theories such as Von Neumann–Bernays–Gödel set theory (often called NBG) and Morse–Kelley set theory. The cumulative hierarchy is not compatible with other set theories such as New Foundations.

It is possible to change the definition of *V* so that at each stage, instead of adding all the subsets of the union of the previous stages, subsets are only added if they are definable in a certain sense. This results in a more "narrow" hierarchy which gives the constructible universe *L*, which also satisfies all the axioms of ZFC, including the axiom of choice. It is independent from the ZFC axioms whether *V* = *L*. Although the structure of *L* is more regular and well behaved than that of *V*, few mathematicians argue that *V* = *L* should be added to ZFC as an additional axiom.

## Metamathematics

The axiom schemata of replacement and separation each contain infinitely many instances. Montague (1961) included a result first proved in his 1957 Ph.D. thesis: if ZFC is consistent, it is impossible to axiomatize ZFC using only finitely many axioms. On the other hand, Von Neumann–Bernays–Gödel set theory (NBG) can be finitely axiomatized. The ontology of NBG includes proper classes as well as sets; a set is any class that can be a member of another class. NBG and ZFC are equivalent set theories in the sense that any theorem not mentioning classes and provable in one theory can be proved in the other.

Gödel's second incompleteness theorem says that a recursively axiomatizable system that can interpret Robinson arithmetic can prove its own consistency only if it is inconsistent. Moreover, Robinson arithmetic can be interpreted in general set theory, a small fragment of ZFC. Hence the consistency of ZFC cannot be proved within ZFC itself (unless it is actually inconsistent). Thus, to the extent that ZFC is identified with ordinary mathematics, the consistency of ZFC cannot be demonstrated in ordinary mathematics. The consistency of ZFC does follow from the existence of a weakly inaccessible cardinal, which is unprovable in ZFC if ZFC is consistent. Nevertheless, it is deemed unlikely that ZFC harbors an unsuspected contradiction; it is widely believed that if ZFC were inconsistent, that fact would have been uncovered by now. This much is certain — ZFC is immune to the classic paradoxes of naive set theory: Russell's paradox, the Burali-Forti paradox, and Cantor's paradox.

Abian & LaMacchia (1978) studied a subtheory of ZFC consisting of the axioms of extensionality, union, powerset, replacement, and choice. Using models, they proved this subtheory consistent, and proved that each of the axioms of extensionality, replacement, and power set is independent of the four remaining axioms of this subtheory. If this subtheory is augmented with the axiom of infinity, each of the axioms of union, choice, and infinity is independent of the five remaining axioms. Because there are non-well-founded models that satisfy each axiom of ZFC except the axiom of regularity, that axiom is independent of the other ZFC axioms.

If consistent, ZFC cannot prove the existence of the inaccessible cardinals that category theory requires. Huge sets of this nature are possible if ZF is augmented with Tarski's axiom. Assuming that axiom turns the axioms of infinity, power set, and choice (**7** − **9** above) into theorems.

## Independence

Many important statements are independent of ZFC (see list of statements undecidable in ZFC). The independence is usually proved by forcing, whereby it is shown that every countable transitive model of ZFC (sometimes augmented with large cardinal axioms) can be expanded to satisfy the statement in question. A different expansion is then shown to satisfy the negation of the statement. An independence proof by forcing automatically proves independence from arithmetical statements, other concrete statements, and large cardinal axioms. Some statements independent of ZFC can be proven to hold in particular inner models, such as in the constructible universe. However, some statements that are true about constructible sets are not consistent with hypothesized large cardinal axioms.

Forcing proves that the following statements are independent of ZFC:

Remarks:

A variation on the method of forcing can also be used to demonstrate the consistency and unprovability of the axiom of choice, i.e., that the axiom of choice is independent of ZF. The consistency of choice can be (relatively) easily verified by proving that the inner model L satisfies choice. (Thus every model of ZF contains a submodel of ZFC, so that Con(ZF) implies Con(ZFC).) Since forcing preserves choice, we cannot directly produce a model contradicting choice from a model satisfying choice. However, we can use forcing to create a model which contains a suitable submodel, namely one satisfying ZF but not C.

Another method of proving independence results, one owing nothing to forcing, is based on Gödel's second incompleteness theorem. This approach employs the statement whose independence is being examined, to prove the existence of a set model of ZFC, in which case Con(ZFC) is true. Since ZFC satisfies the conditions of Gödel's second theorem, the consistency of ZFC is unprovable in ZFC (provided that ZFC is, in fact, consistent). Hence no statement allowing such a proof can be proved in ZFC. This method can prove that the existence of large cardinals is not provable in ZFC, but cannot prove that assuming such cardinals, given ZFC, is free of contradiction.

## Criticisms

*For criticism of set theory in general, see Objections to set theory*

ZFC has been criticized both for being excessively strong and for being excessively weak, as well as for its failure to capture objects such as proper classes and the universal set.

Many mathematical theorems can be proven in much weaker systems than ZFC, such as Peano arithmetic and second order arithmetic (as explored by the program of reverse mathematics). Saunders Mac Lane and Solomon Feferman have both made this point. Some of "mainstream mathematics" (mathematics not directly connected with axiomatic set theory) is beyond Peano arithmetic and second order arithmetic, but still, all such mathematics can be carried out in ZC (Zermelo set theory with choice), another theory weaker than ZFC. Much of the power of ZFC, including the axiom of regularity and the axiom schema of replacement, is included primarily to facilitate the study of the set theory itself.

On the other hand, among axiomatic set theories, ZFC is comparatively weak. Unlike New Foundations, ZFC does not admit the existence of a universal set. Hence the universe of sets under ZFC is not closed under the elementary operations of the algebra of sets. Unlike von Neumann–Bernays–Gödel set theory (NBG) and Morse–Kelley set theory (MK), ZFC does not admit the existence of proper classes. A further comparative weakness of ZFC is that the axiom of choice included in ZFC is weaker than the axiom of global choice included in NBG and MK.

There are numerous mathematical statements undecidable in ZFC. These include the continuum hypothesis, the Whitehead problem, and the Normal Moore space conjecture. Some of these conjectures are provable with the addition of axioms such as Martin's axiom, large cardinal axioms to ZFC. Some others are decided in ZF+AD where AD is the axiom of determinacy, a strong supposition incompatible with choice. One attraction of large cardinal axioms is that they enable many results from ZF+AD to be established in ZFC adjoined by some large cardinal axiom (see projective determinacy). The Mizar system and Metamath have adopted Tarski–Grothendieck set theory, an extension of ZFC, so that proofs involving Grothendieck universes (encountered in category theory and algebraic geometry) can be formalized.