ZFC Set Theory
BasisPrerequisites
You have been using sets as if they were unproblematic ever since the introduction to sets: write some elements inside curly braces, form subsets, take unions. For everyday mathematics, this works fine. But it breaks down the moment you ask a deceptively simple question: can a set be an element of itself?
Answering that question with unrestricted set-formation leads directly to a contradiction — not a subtle one, but a one-line logical explosion. Zermelo–Fraenkel set theory with the Axiom of Choice, universally abbreviated ZFC, is the response mathematics settled on. Today ZFC is the standard foundation on which virtually all of mathematics rests.
The trouble with naïve set theory
In naïve set theory, a set is any collection you can describe by a property. For any predicate , you can freely form
This unlimited freedom is called the unrestricted comprehension principle. It is inconsistent.
Russell’s paradox (1901) is the simplest proof of this. Define
is supposed to collect every set that is not a member of itself. Now ask: is ?
- If , then satisfies the defining condition , so . Contradiction.
- If , then does not satisfy , which means . Contradiction.
There is no consistent answer. cannot exist, which means unrestricted comprehension is broken.
The axiomatic approach
The fix is to replace unlimited freedom with a small, carefully chosen list of axioms — basic statements declared true — and derive everything else from them. Axioms must be:
- Consistent: they must not lead to contradictions (ZFC is believed to be consistent, though this cannot be proved inside ZFC itself — Gödel’s incompleteness theorems forbid it).
- Strong enough: sufficient to reconstruct all of ordinary mathematics.
ZFC consists of nine axioms from Zermelo and Fraenkel — two of which are axiom schemas, meaning each stands for an infinite family of axioms, one per predicate — plus the Axiom of Choice.
The nine ZF axioms
Extensionality
Two sets are equal when they have exactly the same elements.
You already know this principle from the set introduction: because both contain exactly , , and , regardless of order. Extensionality makes this the definition of equality — a set is fully determined by its members, and by nothing else.
Empty set
There exists a set with no elements.
Extensionality guarantees there is exactly one such set, which you denote . Without this axiom, you could not even prove any set exists at all.
Pairing
For any two sets and , there exists a set whose only elements are and .
This justifies writing unordered pairs . As a special case, taking gives singletons .
Pairing also lets you define ordered pairs without any new primitive. The Kuratowski encoding is:
You can verify that if and only if and , so the encoding correctly captures the notion of order. From ordered pairs you can build relations, functions, and Cartesian products — all inside ZFC.
Union
For any set of sets, there exists a set containing exactly the elements of the elements of .
The resulting set is the union . When , this recovers the familiar . The general form handles infinite families: .
Power set
For any set , there exists the set of all subsets of .
This is precisely the power set . The power set axiom is what allows you to keep climbing to larger infinite sets: starting from , you can form , then , and so on — each strictly larger than the last by Cantor’s theorem.
Separation (schema)
Given any set and any predicate , the subset of whose elements satisfy exists.
This is a schema: there is one axiom for every predicate in the language of set theory, giving infinitely many axioms at once.
Separation is the safe replacement for unrestricted comprehension. You can form , but you must start from an already-existing set . This blocks Russell’s paradox: you can form for any fixed set , but there is no “set of all sets” to use as the starting point. The contradiction evaporates.
Set-builder notation from the introduction to sets is justified precisely by this axiom.
Infinity
There exists a set containing and closed under the operation .
This is the axiom that guarantees infinite sets exist. The set must contain the following chain of sets:
These are the von Neumann natural numbers: identify
so that every natural number is the set of all smaller natural numbers. The axiom of infinity is what lets you prove exists as a completed set inside ZFC, rather than just as an informal notion.
Replacement (schema)
If defines a function on a set (each corresponds to a unique ), then the image of under is a set.
Like Separation, Replacement is a schema — one instance per predicate .
Replacement says: the image of any set under a definable function is itself a set. This lets you build sets like (where is the first infinite ordinal) that lie beyond the reach of the earlier axioms. Separation can only cut sets down; Replacement can map them to entirely new objects.
Regularity (Foundation)
Every non-empty set contains an element disjoint from it.
Regularity rules out circular membership. If a set contained itself — — then the singleton would violate regularity: its only element is , but . More generally, there can be no infinite chain descending forever.
In practice, you will almost never encounter sets that would violate regularity. Its main purpose is to tame the set-theoretic universe, making it amenable to proofs by well-founded induction on the membership relation .
The Axiom of Choice
The nine ZF axioms above form the system ZF. Adding the Axiom of Choice (AC) gives the full system ZFC.
For any family of non-empty sets, there exists a function that picks one element from each member of .
The function is called a choice function for .
For finite families, choosing one element from each set is trivial — you just do it one by one in finitely many steps. The axiom is needed for infinite families, where you cannot carry out infinitely many choices without a systematic rule. AC asserts such a function exists even when no explicit rule is available.
Why AC stands apart
Kurt Gödel proved in 1938 that AC is consistent with ZF: you cannot derive a contradiction from ZF + AC as long as ZF itself is consistent. Paul Cohen proved in 1963 that AC is independent of ZF: you cannot prove AC from ZF alone either. Together, these results show that AC is a genuine additional assumption, not a consequence of the other nine axioms.
This independence is why mathematics texts sometimes mark theorems that require AC with a special symbol, and why some mathematicians deliberately work in ZF without AC to see how much breaks.
Equivalents of AC
Within ZF, many principles turn out to be exactly as strong as AC — each implies and is implied by AC:
| Principle | Informal statement |
|---|---|
| Well-ordering theorem | Every set can be well-ordered |
| Zorn’s lemma | A partial order in which every chain has an upper bound has a maximal element |
| Tychonoff’s theorem | Any product of compact topological spaces is compact |
| Every vector space has a basis | Every vector space (including infinite-dimensional ones) admits a Hamel basis |
You already saw the well-ordering theorem in the well-order checkpoint. Of these equivalents, Zorn’s lemma is the one you will encounter most often in algebra and analysis, even though its connection to “making choices” is less immediate on the surface.
What ZFC constructs
Starting from the ten axioms and , you can build all of standard mathematics in a systematic sequence:
- Natural numbers — via the von Neumann encoding from the Axiom of Infinity.
- Integers — as equivalence classes of pairs representing .
- Rationals — as equivalence classes of pairs representing .
- Reals — via Dedekind cuts (subsets of ) or equivalence classes of Cauchy sequences.
- Complex numbers — as pairs of reals with the appropriate operations.
- Functions and relations — as sets of ordered Kuratowski pairs.
- Ordinals — as canonical well-ordered sets representing every possible order type.
- Cardinals — measuring the “size” of infinite sets, forming the hierarchy
Every mathematical object you are likely to encounter in analysis, algebra, topology, or computer science can be reduced — in principle — to a pure set built from using the ZFC axioms.
Summary
- Naïve set theory is inconsistent: unrestricted comprehension leads to Russell’s paradox ( yields ).
- ZFC replaces unlimited freedom with ten explicit axioms: nine from Zermelo–Fraenkel plus the Axiom of Choice.
- Extensionality defines set equality by membership; Empty Set guarantees exists; Pairing builds and Kuratowski ordered pairs.
- Union collects elements of a family of sets; Power Set produces and enables climbing to larger infinities.
- Separation (schema) is the safe replacement for unrestricted comprehension — you can only carve subsets out of an existing set, blocking Russell’s paradox.
- Infinity constructs inside set theory via the von Neumann encoding .
- Replacement (schema) maps sets to new sets under definable functions, reaching beyond what Separation alone can build.
- Regularity forbids circular membership chains and supports well-founded induction on .
- The Axiom of Choice asserts that choice functions exist for arbitrary families of non-empty sets. It is independent of ZF and equivalent to the well-ordering theorem and Zorn’s lemma.
- From these ten axioms and , all of standard mathematics — , , , , , functions, ordinals, cardinals — can be constructed.