Math 2.0

Mathematical logic and foundations Proof

Proof of Cantor's theorem by the diagonal argument

Builds on Power setSurjective functionInjective functionBijective functionOrder of cardinalsCardinalityEquinumerous setsCantor's diagonal argument

Proof

We use the diagonal argument.

  1. Let AA be a set and let f ⁣:A→𝒫(A)f \colon A \to \mathcal{P}(A) be a function to the power set.
  2. Let D={a∈A:a∉f(a)}D = \{a \in A : a \notin f(a)\}. Then D⊆AD \subseteq A, so D∈𝒫(A)D \in \mathcal{P}(A).
  3. Suppose that D=f(d)D = f(d) for some d∈Ad \in A.
  4. If d∈Dd \in D, then d∉f(d)d \notin f(d) by the definition of DD. Since f(d)=Df(d) = D, this says d∉Dd \notin D, a contradiction.
  5. If d∉Dd \notin D, then d∉f(d)d \notin f(d), since f(d)=Df(d) = D. By the definition of DD, this means d∈Dd \in D, a contradiction.
  6. So no d∈Ad \in A has f(d)=Df(d) = D. Hence ff is not surjective.
  7. The map s ⁣:A→𝒫(A)s \colon A \to \mathcal{P}(A), s(a)={a}s(a) = \{a\}, is injective, since {a}={a′}\{a\} = \{a'\} implies a=a′a = a'. So ∣A∣≤∣𝒫(A)∣|A| \le |\mathcal{P}(A)| in the order of cardinals.
  8. Suppose that ∣A∣=∣𝒫(A)∣|A| = |\mathcal{P}(A)|. By the definition of cardinality, AA and 𝒫(A)\mathcal{P}(A) are equinumerous, so there is a bijection A→𝒫(A)A \to \mathcal{P}(A).
  9. A bijection is surjective, which contradicts step 6. So ∣A∣≠∣𝒫(A)∣|A| \neq |\mathcal{P}(A)|.
  10. By steps 7 and 9, ∣A∣<∣𝒫(A)∣|A| < |\mathcal{P}(A)|.

Idea

The set DD is built to differ from each f(a)f(a) at the element aa itself. So DD cannot be any of the sets f(a)f(a). This is the same diagonal trick that shows the real numbers are uncountable.

Reading path

To understand this page from the ground up, read these 25 pages in order. The foundations come first.

Show the path as a graph
Element, definition, no evidence levelElementdefinitionProposition, concept, no evidence levelPropositionconceptSet, definition, no evidence levelSetdefinitionImplication, definition, no evidence levelImplicationdefinitionPredicate, definition, no evidence levelPredicatedefinitionOrdered pair, definition, no evidence levelOrdered pairdefinitionExistential quantifier, definition, no evidence levelExistential quantifierdefinitionUniversal quantifier, definition, no evidence levelUniversal quantifierdefinitionCartesian product, definition, no evidence levelCartesian productdefinitionSubset, definition, no evidence levelSubsetdefinitionUniqueness quantifier, definition, no evidence levelUniqueness quantifierdefinitionBinary relation, definition, no evidence levelBinary relationdefinitionPower set, definition, no evidence levelPower setdefinitionFunction, definition, no evidence levelFunctiondefinitionCodomain, definition, no evidence levelCodomaindefinitionInjective function, definition, no evidence levelInjective functiondefinitionSurjective function, definition, no evidence levelSurjective functiondefinitionCountable set, definition, no evidence levelCountable setdefinitionBijective function, definition, no evidence levelBijective functiondefinitionUncountable set, definition, no evidence levelUncountable setdefinitionEquinumerous sets, definition, no evidence levelEquinumerous setsdefinitionCantor's diagonal argument, concept, no evidence levelCantor's diagonal arg…conceptCardinality, definition, no evidence levelCardinalitydefinitionOrder of cardinals, definition, no evidence levelOrder of cardinalsdefinitionProof of Cantor's theorem by the diagonal argument, proof, no evidence levelProof of Cantor's the…proof
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Element definition
  2. Proposition concept
  3. Set definition
  4. Implication definition
  5. Predicate definition
  6. Ordered pair definition
  7. Existential quantifier definition
  8. Universal quantifier definition
  9. Cartesian product definition
  10. Subset definition
  11. Uniqueness quantifier definition
  12. Binary relation definition
  13. Power set definition
  14. Function definition
  15. Codomain definition
  16. Injective function definition
  17. Surjective function definition
  18. Countable set definition
  19. Bijective function definition
  20. Uncountable set definition
  21. Equinumerous sets definition
  22. Cantor's diagonal argument concept
  23. Cardinality definition
  24. Order of cardinals definition
  25. Proof of Cantor's theorem by the diagonal argument proof

Where this leads

3 pages build on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/Cantor's_theorem, Proof
About this page
TagXC0E0G8PQ6
URIm2://XC0E0G8PQ6
Kindproof
WritingW0 stub
MSC03E10
ProvesCantor's theorem
UsesPower set, Surjective function, Injective function, Bijective function, Order of cardinals, Cardinality, Equinumerous sets, Cantor's diagonal argument
Changed4 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.