Lably
Skip to content

Cantor's theorem

Every set is smaller than its power set

  • 10 min read
  • 5 chapters

Related on Lably

Through Set theory, Subset and Power set

For finite sets, Cantor's theorem can be seen to be true by simple enumeration of the number of subsets. Counting the empty set as a subset, a set with n elements has a total of 2n subsets, and the theorem holds because 2n>n for all non-negative integers.

Much more significant is Cantor's discovery of an argument that is applicable to any set, and shows that the theorem holds for infinite sets also. As a consequence, the cardinality of the real numbers, which is the same as that of the power set of the integers, is strictly larger than the cardinality of the integers; see Cardinality of the continuum for details.

The theorem is named for Georg Cantor, who first stated and proved it at the end of the 19th century. Cantor's theorem had immediate and important consequences for the philosophy of mathematics. For instance, by iteratively taking the power set of an infinite set and applying Cantor's theorem, we obtain an endless hierarchy of infinite cardinals, each strictly larger than the one before it. Consequently, the theorem implies that there is no largest cardinal number (colloquially, "there's no largest infinity").

Proof

Cantor's argument is elegant and remarkably simple. The complete proof is presented below, with detailed explanations to follow.

Theorem (Cantor)—Let f be a map from set A to its power set P(A). Then f:A→P(A) is not surjective. As a consequence, card⁡(A)<card⁡(P(A)) holds for any set A.

Proof

The set B={x∈A∣x∉f(x)} exists via the axiom schema of specification, and B∈P(A) because B⊆A. Suppose towards a contradiction that f is surjective. Then there exists a ξ∈A such that f(ξ)=B. By the definition of B, we have ξ∈B if and only if ξ∉f(ξ)=B. Having derived a contradiction by assuming an arbitrary map f is surjective, we conclude that no map from A to P(A) is surjective. However, there exist injections from A to P(A), for instance g:x↦{x}. Consequently, card⁡(A)<card⁡(P(A)). ◼

By definition of cardinality, we have card⁡(X)<card⁡(Y) for any two sets X and Y if and only if there is an injective function but no bijective function from X to Y. It suffices to show that there is no surjection from X to Y. This is the heart of Cantor's theorem: there is no surjective function from any set A to its power set. To establish this, it is enough to show that no function f (that maps elements in A to subsets of A) can reach every possible subset, i.e., we just need to demonstrate the existence of a subset of A that is not equal to f(x) for any x∈A. Recalling that each f(x) is a subset of A, such a subset is given by the following construction, sometimes called the Cantor diagonal set of f:

B={x∈A∣x∉f(x)}.

This means, by definition, that for all x∈A, x∈B if and only if x∉f(x). For all x the sets B and f(x) cannot be equal because B was constructed from elements of A whose images under f did not include themselves. For all x∈A either x∈f(x) or x∉f(x). If x∈f(x) then f(x) cannot equal B because x∈f(x) by assumption and x∉B by definition. If x∉f(x) then f(x) cannot equal B because x∉f(x) by assumption and x∈B by the definition of B.

Equivalently, and slightly more formally, we have just proved that the existence of ξ∈A such that f(ξ)=B implies the following contradiction:

ξ∈B⟺ξ∉f(ξ)(by definition of B);ξ∈B⟺ξ∈f(ξ)(by assumption that f(ξ)=B).

Therefore, by reductio ad absurdum, the assumption must be false. Thus there is no ξ∈A such that f(ξ)=B ; in other words, B is not in the image of f and f does not map onto every element of the power set of A, i.e., f is not surjective.

Finally, to complete the proof, we need to exhibit an injective function from A to its power set. Finding such a function is trivial: just map x to the singleton set {x}. The argument is now complete, and we have established the strict inequality for any set A that card⁡(A)<card⁡(P(A)).

Another way to think of the proof is that B, empty or non-empty, is always in the power set of A. For f to be onto, some element of A must map to B. But that leads to a contradiction: no element of B can map to B because that would contradict the criterion of membership in B, thus the element mapping to B must not be an element of B meaning that it satisfies the criterion for membership in B, another contradiction. So the assumption that an element of A maps to B must be false; and f cannot be onto.

Because of the double occurrence of x in the expression "x∈f(x)", this is a diagonal argument. For a countable (or finite) set, the argument of the proof given above can be illustrated by constructing a table in which

  1. each row is labelled by a unique x from A={x1,x2,…}, in this order. A is assumed to admit a linear order so that such table can be constructed.
  2. each column of the table is labelled by a unique y from the power set of A; the columns are ordered by the argument to f, i.e. the column labels are f(x1),f(x2), ..., in this order.
  3. the intersection of each row x and column y records a true/false bit whether x∈y.

Given the order chosen for the row and column labels, the main diagonal D of this table thus records whether x∈f(x) for each x∈A. One such table will be the following: f(x1)f(x2)f(x3)f(x4)⋯x1TTFT⋯x2TFFF⋯x3FFTT⋯x4FTTT⋯⋮⋮⋮⋮⋮⋱ The set B constructed in the previous paragraphs coincides with the row labels for the subset of entries on this main diagonal D (which in above example, coloured red) where the table records that x∈f(x) is false. Each row records the values of the indicator function of the set corresponding to the column. The indicator function of B coincides with the logically negated (swap "true" and "false") entries of the main diagonal. Thus the indicator function of B does not agree with any column in at least one entry. Consequently, no column represents B.

Despite the simplicity of the above proof, it is rather difficult for an automated theorem prover to produce it. The main difficulty lies in an automated discovery of the Cantor diagonal set. Lawrence Paulson noted in 1992 that Otter could not do it, whereas Isabelle could, albeit with a certain amount of direction in terms of tactics that might perhaps be considered cheating.

Sign in to keep reading

4 more chapters are free with a Lably account.

More in Foundations