Skip to content
Field Atlas

Atlas / Mathematics / The Foundations Thread

Field · Emerged 1874 – 1908

Set Theory

What is infinity, and can all of mathematics be built out of collections?

5 chapters4 min read5 turning points1 open problem

Branched from
Mathematical Logic + Real Analysis
Branched into
Metamathematics
Figures
Georg Cantor, Bertrand Russell, Ernst Zermelo, Kurt Gödel, Paul Cohen

In brief

Set theory studies collections, or sets, and above all infinite ones. Its founding discovery is that infinities come in different sizes: there are exactly as many even numbers as whole numbers, but strictly more real numbers than either. Building on that, set theory became the common material from which all of modern mathematics is constructed, with numbers, functions and spaces all defined as sets.

Its history is one of crises. Naive reasoning about sets produced paradoxes, the axiom meant to repair them provoked a feud, and the most natural question about infinity, the continuum hypothesis, turned out to be impossible to settle from the standard axioms at all.

Key ideas

CardinalityEnters 1891

Two sets have the same size if their elements can be paired off one-to-one. By this measure the even numbers and the whole numbers are the same size, even though one is part of the other.

Countable and uncountableEnters 1891

A set is countable if it can be listed 1,2,3,…1, 2, 3, \ldots. The rational numbers are countable; Cantor's diagonal argument shows the real numbers are not.

Power set and Cantor's theoremEnters 1891

The set of all subsets of any set is strictly larger than the set itself. So there is no largest infinity: every infinity is followed by a bigger one.

Axiom of choiceEnters 1904 – 1908

From any collection of non-empty sets, one element can be chosen from each, even when there is no rule for choosing. Indispensable in modern mathematics, and it implies strange results such as the Banach–Tarski paradox.

IndependenceEnters 1938 – 1963

A statement is independent of a set of axioms if neither it nor its negation can be proved from them. The continuum hypothesis is independent of the standard axioms of set theory, ZFC.

Chapter I

Sizes of Infinity

Set theory grew out of real analysis. Studying where a Fourier series could misbehave, Georg Cantor was led in the 1870s to think about infinite sets of points as objects in their own right, and to ask how big they are. His answer was to compare sets by pairing their elements. The even numbers pair perfectly with all whole numbers (1↔21 \leftrightarrow 2, 2↔42 \leftrightarrow 4, …), so they are the same size, even though one is a part of the other. So are the fractions, which can be listed cleverly.

But the real numbers cannot. In 1891 Cantor gave the diagonal argument. Take any list of real numbers and build a new one that differs from the first in its first digit, from the second in its second, and so on. It cannot be on the list. There are strictly more real numbers than whole numbers, and the same idea shows there is no largest infinity at all. Leopold Kronecker is said to have called Cantor a "corrupter of youth", while Hilbert declared that "no one shall expel us from the paradise that Cantor has created."

Chapter II

Paradise Lost

Cantor asked the natural next question: is there any infinity between the whole numbers and the real numbers? He conjectured not, the continuum hypothesis, and could not prove it.

Worse was coming. Frege and others had assumed that any property defines a set, the set of things having it. In 1902 Bertrand Russell wrote to Frege about the set of all sets that do not contain themselves. If it contains itself, it does not, and if it does not, it does. Frege, whose second volume was at the printer, added an appendix admitting that the foundation of his work had collapsed. Ernst Zermelo had found the same paradox in Göttingen and not published it.

Chapter III

Axioms and a Feud

Zermelo's response was to replace "any property defines a set" with careful axioms saying which sets exist. In 1904 he made explicit a principle mathematicians had used without noticing: the axiom of choice, that one can always pick an element from each of any collection of non-empty sets. The French analysts Borel, Baire and Lebesgue attacked it for asserting the existence of objects nobody could construct, and when Banach and Tarski later used it to cut a ball into finitely many pieces and reassemble them into two balls of the same size, the objection seemed vindicated. The axiom stayed because too much of mathematics needs it. With Abraham Fraenkel's refinements, Zermelo's system became ZFC, the standard foundation of mathematics today.

Chapter IV

A Closer Look: Listing the Fractions, and Failing to List the Reals

It seems obvious that there are more fractions than whole numbers: between any two whole numbers lie infinitely many fractions. Cantor showed it is false. Arrange all positive fractions pq\frac{p}{q} in a grid, numerator along the rows and denominator along the columns, and walk it diagonal by diagonal:

11, 12, 21, 31, 22, 13, 14, 23, 32, 41, …\tfrac11,\ \tfrac12,\ \tfrac21,\ \tfrac31,\ \tfrac22,\ \tfrac13,\ \tfrac14,\ \tfrac23,\ \tfrac32,\ \tfrac41,\ \ldots

Skip any fraction already seen in lower terms (like 22=11\frac22 = \frac11), and every positive fraction receives a position in one list. So the fractions are countable: exactly as numerous as the whole numbers.

The real numbers are different. Suppose someone claims to list every infinite sequence of 0s and 1s (each real number between 0 and 1 has a binary expansion):

positionsequence
10 1 1 0 1 …
21 1 0 0 1 …
30 0 0 1 1 …
41 0 1 1 0 …

Read down the diagonal (0, 1, 0, 1, …) and flip every digit to get 1,0,1,0,…1, 0, 1, 0, \ldots. This new sequence differs from the first entry in position 1, from the second in position 2, from the nnth in position nn. It is on no line of the list. Every attempted list misses something, so the reals are uncountable, a strictly larger infinity.

The same diagonal trick, turned on sets and their subsets, proves there is no largest infinity. Turned on formulas and proofs, it gives Gödel's incompleteness theorem. Turned on programs, it gives the unsolvability of the halting problem. Few arguments in mathematics have travelled further.

Chapter V

A Question Without an Answer

Hilbert put the continuum hypothesis first on his 1900 list of problems. The answer came in two halves. In 1938 Kurt Gödel showed it cannot be disproved from ZFC. In 1963 Paul Cohen, an analyst new to logic, invented forcing, a method for building new models of set theory, and showed it cannot be proved either. The most natural question about infinity is independent of the axioms, just as the parallel postulate was independent of Euclid's others. Whether it nonetheless has a true answer is argued to this day. Meanwhile the effort to secure mathematics from paradox led to metamathematics, and to Gödel's discovery of limits no foundation can escape.

Open problems

Where the map runs out

Open

Is the continuum hypothesis true?

Independent of ZFC. Whether new axioms should, or can, settle it is disputed as of 2026.

Independence means ZFC cannot decide the question. Many set theorists think it still has a definite answer, to be found by adopting new, well-motivated axioms. Others argue there is no single universe of sets, only many, some where the hypothesis holds and some where it fails.

Why it is hard

Candidate new axioms, such as large-cardinal axioms, settle many independent questions but provably leave the continuum hypothesis open. Hugh Woodin has pursued a programme ("Ultimate L") in which it would be true, having earlier argued for its failure. Joel David Hamkins and others defend a "multiverse" view in which the question has no single answer. The disagreement is partly mathematical and partly philosophical.

What resolving it unlocks

It would shape what mathematicians take the foundations of their subject to be: one definite world of sets, or many.

› Sources (2)
  • Woodin, W. H. (2001). The continuum hypothesis, Part I. Notices of the AMS 48(6): 567–576.
  • Hamkins, J. D. (2012). The set-theoretic multiverse. Review of Symbolic Logic 5(3): 416–449.

Further reading

  1. Dauben, J. W. (1979). Georg Cantor: His Mathematics and Philosophy of the Infinite. Harvard University Press.

    The definitive study of Cantor's work and the resistance it met.

  2. Halmos, P. R. (1960). Naive Set Theory. Van Nostrand.

    A slim classic, the gentlest rigorous introduction.

  3. Kunen, K. (1980). Set Theory: An Introduction to Independence Proofs. North-Holland.

    The standard graduate text on forcing and independence.