The previous note compared sizes of sets using bijections and injections. This note begins with the first genuinely large-set theorem of the chapter: Cantor's theorem. It shows that every set is strictly smaller than its power set.
That result immediately gives a proof that the real numbers are uncountable. We then study two foundational statements: the continuum hypothesis and the axiom of choice. The course does not prove their deep metamathematical facts, but it states clearly how they enter the theory.
Power sets and Cantor's theorem
Definition
Power set notation
For a set , the notation denotes the set of all subsets of .
Thus
means exactly that .
The notation is suggestive: if has elements, then its power set has subsets. Cantor's theorem says that the power set is larger not only for finite sets, but for every set.
For the empty set this notation is already informative:
There is one subset of the empty set, namely the empty set itself. Thus the finite pattern starts with . The theorem below is stronger than this finite counting rule: it compares cardinalities even when there is no finite number that counts the elements.
Theorem
Cantor's theorem
Let be a set. Then
The proof has two parts.
First, there is an injection
So .
Second, there is no bijection from to . Suppose, for contradiction, that were a bijection. Define the diagonal set
Since is a subset of , we have . If were surjective, there would be some such that
Now ask whether .
- If , then by definition of , , a contradiction.
- If , then by definition of , , again a contradiction.
Both cases are impossible. Therefore no bijection exists, and hence .
The contradiction is driven by surjectivity. The singleton map already gives the injection needed for ; we do not need to show that every subset is a singleton. To rule out equality, assume a bijection and therefore the surjective statement that every subset of , including , must equal some . The two membership cases then exhaust all possibilities, including the case : in that case there is no function value that could be surjective onto the one-element set , so the assumed bijection fails immediately.
Proof X-Ray
What the Cantor proof has to establish
The proof has two independent obligations. The singleton map proves . The diagonal construction proves that equality is impossible by making a subset that disagrees with at the coordinate . In the contradiction, the equation comes from surjectivity, and the final case split uses only the definition of membership in .
Reading the diagonal as a membership table
The singleton injection proves the non-strict inequality. For example, when , it selects two of the four subsets . The diagonal construction explains why no proposed assignment can hit every subset, even for an infinite set.
Here is a finite illustration with . Each row records one proposed value of ; a means that the column element belongs to that subset, and a means that it does not. The bold entries in the first three rows lie on the diagonal.
| Subset | |||
|---|---|---|---|
| 1 | 0 | 1 | |
| 1 | 0 | 0 | |
| 0 | 1 | 1 | |
| Constructed | 0 | 1 | 0 |
Read the diagonal as and reverse each decision to obtain . Thus . It differs from at , from at , and from at . Agreement at other positions cannot repair even one of these differences.
For an arbitrary set, the same rule is exactly when . No numerical ordering of is needed. The table illustrates the mechanism; the proof above supplies the quantifiers for every set, including the empty set.
Explore diagonal disagreement
Use the table below to track which membership decision prevents each row from being the diagonal set. Keep the row index and column element distinct.
| f(k) | 0 | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|---|
| f(0) | 1 | 0 | 1 | 0 | 1 | 0 |
| f(1) | 1 | 1 | 0 | 1 | 0 | 1 |
| f(2) | 0 | 0 | 1 | 1 | 0 | 0 |
| f(3) | 1 | 0 | 0 | 0 | 1 | 0 |
| f(4) | 0 | 1 | 0 | 0 | 1 | 1 |
| f(5) | 0 | 0 | 0 | 0 | 0 | 0 |
| T | 0 | 0 | 0 | 1 | 0 | 1 |
, ; .
A 1 means membership and a 0 means non-membership. Define . For any row , its diagonal bit is opposite to the bit of at , hence . The six columns are only a finite illustration: the proof applies to every natural number, with no final row.
The real numbers are uncountable
Theorem
The reals are uncountable
The set of real numbers is uncountable. In particular,
The proof uses Cantor's theorem and an injection from into .
By Cantor's theorem,
So it is enough to show
Given a subset , encode it by a sequence of zeros and ones:
Then define
This sends each subset of to a real number.
Worked example
Encoding a subset of N
If
then the beginning of the sequence is
The corresponding real number begins as
The proof does not need to describe this number by a decimal expansion. It only needs the fact that the infinite series determines a real number.
Why use base rather than base ? Base is useful so that distinct zero-one sequences cannot be cancelled by the tail.
If , let be the first index where the two associated sequences differ. At index , the two sums differ by exactly
The total possible contribution from all later terms is at most
which is strictly smaller than the first differing contribution. Therefore the two real numbers are not equal. Hence is injective, and .
Combining this with Cantor's theorem gives
so is uncountable.
Common mistake
The proof only needs an injection into R
To prove , we do not need every real number to be hit by . We only need distinct subsets of to produce distinct real numbers.
Worked example
A finite version of the ternary separation
Take two binary sequences which first differ at index . The contribution at that index has size . Even if every later binary digit favours the other sequence, the total later contribution is
which is only half as large. Thus the first disagreement cannot be cancelled. The same geometric-series estimate works for any first differing index.
The continuum hypothesis
Hypothesis — Continuum hypothesis.
The continuum hypothesis says that there is no set such that
This is a natural guess after seeing that is larger than : perhaps there is no intermediate size between the countably infinite cardinality and the cardinality of the continuum.
This guess has a surprising formal status. The continuum hypothesis is independent of the usual axioms of set theory, ZFC. More precisely, if ZFC is consistent, then neither CH nor its negation is provable from ZFC: Godel's result gives the relative consistency of ZFC+CH, and Cohen's forcing result gives the relative consistency of . These are metamathematical consistency results, not proofs of CH or of its negation inside this course.
For this course, the point is not to prove those metamathematical results but to recognize where axioms matter. Cantor's theorem and real uncountability remain ZFC theorems; CH asks for a sharper comparison between them. In later proofs, record map directions and mark any use of choice or maximality.
Thus “independent” does not mean that CH is meaningless or that every cardinal statement is undecidable. It means that the usual ZFC axioms do not settle this particular intermediate-size question; CH itself is an additional hypothesis.
An established implication between additional axioms.
Research frontier
Consequences of additional set-theoretic axioms
An established implication between additional axioms.
Established result · Reviewed:
After independence results, set theorists can compare consequences of stronger axioms. Asperó and Schindler proved the established implication that Martin’s Maximum++ implies Woodin’s Pmax axiom . Both principles imply that the continuum has cardinal . This is a conditional relation between additional axioms; it is not an unconditional resolution of the Continuum Hypothesis inside ZFC. The axiom names belong to advanced set theory and are included here only to show how cardinal questions continue beyond the course’s diagonal and countability arguments. Asperó and Schindler (2021).
Choice functions and the axiom of choice
Before stating the axiom of choice, define how to take a union of a set whose elements are themselves sets:
Definition
Choice function
Let be a set whose elements are nonempty sets. A choice function for is a function
such that
for every .
A choice function chooses one element from each set in . For an indexed family , the same idea is a map
If contained the empty set, no choice function could exist, because there is no element to choose from the empty set. That is why the definition assumes that the members of are nonempty.
For a finite family, this selection can be justified by repeatedly applying the ordinary existence of an element in a nonempty set. The axiom of choice addresses an arbitrary family of nonempty sets, especially one with infinitely many members, when no single explicit rule for selecting an element has been provided. The empty family itself has the unique empty choice function; the obstruction is a family that contains an empty member.
Axiom — Axiom of choice.
Let be a set whose elements are nonempty sets. Then has a choice function.
This is an axiom, not a theorem proved from the other axioms in the course. The important logical distinction here is between a finite list of choices, which can be built step by step in ZF, and one simultaneous choice from an arbitrary indexed family.
At the metamathematical level, if ZF is consistent, then neither AC nor is provable from ZF. This relative-consistency statement is reported here, not proved here; the working content for this note is the exact choice-function statement and the point where later constructions invoke it.
Worked example
What a choice function does
Let
A choice function might choose
The function does not have to choose the smallest element. It only has to choose one member of each nonempty set.
The indexed notation makes the same example less ambiguous. Let and , , and . Then the displayed choices define a function with domain :
The condition is checked index by index: , , and . This is a finite family, so the choices can be written down one at a time. For an infinite family, the axiom of choice asserts that a function with the same membership condition exists even when the family does not come with a canonical “first” element in each set.
Surjections and cardinal inequalities
Theorem
Surjections give reverse cardinal inequalities with choice
Assuming the axiom of choice, let be a surjective function. Then
To prove this, we need an injection ; selecting one representative from every fiber is exactly where choice enters for an arbitrary family.
For each , the fiber
is nonempty because is surjective. Let
This is a set of nonempty subsets of . By the axiom of choice, choose one element from each fiber. Define
Then is injective. Indeed, if , then the same element of lies in both fibers, so
Since , it follows that .
This is the earlier warning in concrete form: the original surjection remains many-to-one; choice supplies only one selected preimage per target.
The fibers are pairwise disjoint: if an element belonged to both and , applying would give . Consequently the representatives selected for distinct targets cannot coincide, which is exactly the injectivity of ; it is not an inverse of .
Countable unions of countable sets
Theorem
A countable union of countable sets is countable
Assuming the axiom of choice, if is a countable family of countable sets, then
is countable.
The empty-union case is immediate: if , the empty function is an injection into . Now assume is nonempty. Since each is countable, for each index there exists an injection
When , the unique empty function is such an injection. We use the axiom of choice to choose the whole family of injections simultaneously, including those empty-member cases. This is a choice issue about the family of witnesses; it is not a claim that a countable union of arbitrary uncountable sets is countable.
Now define
where
The minimum exists because belongs to at least one member of the union and is well-ordered. The map is injective. If , equality of the first coordinates gives . Equality of the second coordinates then gives , and the injectivity of gives .
Finally, diagonal enumeration gives an injection , so composing it with makes countable. List , then the pairs whose coordinates sum to , then those whose coordinates sum to , and so on; each pair appears at a finite stage. The index set and every member must be countable: an uncountable index set of singletons, or one uncountable member, can make the union uncountable. Empty members contribute no element.
Common mistake
Countable union is not the same as arbitrary union
The theorem here is about a countable family . It does not say that an arbitrary union of countable sets must be countable.
Chains, maximal elements, and Zorn's lemma
Zorn's lemma expresses the axiom of choice through the existence of maximal elements.
Definition
Chain
Let be a partially ordered set. A chain is a totally ordered subset: for every , either
Definition
Maximal element
An element is called a maximal element if there is no with
A maximal element need not be greater than all other elements. This is different from a maximum, which must satisfy for every .
Worked example
Maximal is weaker than maximum
In a partially ordered set, two elements may be incomparable. If neither is above the other, both can be maximal in a small subset even though neither is a maximum.
So "maximal" means "cannot be extended upward from here," not "dominates every element."
Theorem
Zorn's lemma
The axiom of choice is equivalent to the following statement:
if is a nonempty partially ordered set in which every chain has an upper bound in , then has a maximal element.
The course states this as a foundational tool; its full proof belongs to a more advanced treatment. Its hypotheses concern partial orders, chains, their upper bounds, and maximal elements.
The quantifiers in Zorn's lemma are easy to reverse accidentally. It does not say that every subset has a maximum, and it does not require one element to bound the entire partially ordered set. It says that for each chain , there exists some with for every . Under that hypothesis, at least one element of cannot be extended strictly upward. The upper bound may depend on the chain.
For a finite illustration, order the proper subsets of by inclusion. A chain such as has upper bound inside the same poset, and is maximal there because adding the remaining element would leave the collection of proper subsets. The set is not a maximum: the incomparable subset is not contained in it. This small example separates the vocabulary that the general lemma uses.
Thus a later argument invoking a maximal object must identify its poset, describe its chains, and verify an upper bound for each chain; this is how the abstract choice principle connects to a concrete construction.
Common mistakes and subtle points
Common mistake
Do not treat Cantor's theorem as only finite arithmetic
For finite sets, is familiar. Cantor's theorem is stronger: it applies to every set, including infinite sets.
Common mistake
Do not confuse maximal with maximum
A maximum is above every element. A maximal element merely has no strictly larger element above it. In partial orders these are different ideas.
Common mistake
Do not hide the role of choice
Choosing one element from each of infinitely many nonempty sets is exactly the kind of step the axiom of choice is designed to justify.
Quick checks
Checkpoint
Why is base 3 used in the injection from to ?
Think about the first differing index and the possible tail contribution.
Solution · Answer
Base makes the first differing term larger than the total possible remaining tail. Therefore two different zero-one sequences cannot define the same real number by cancellation.
Checkpoint
What does a choice function choose?
Mention both the family of sets and the chosen element.
Solution · Answer
For each nonempty set in a family , a choice function chooses one element .
Checkpoint
Why does the diagonal contradiction need surjectivity?
Identify the step that produces an element with .
Solution · Answer
The diagonal set is a subset of , so it is an element of . Surjectivity says that every element of is for some ; without surjectivity, the constructed could simply be outside the image.
Exercises
Checkpoint
Show why the singleton map is injective.
Assume two singleton sets are equal.
Solution · Guided solution
If
then the unique element of the left singleton is the unique element of the right singleton. Hence . Therefore is injective.
Checkpoint
Explain why a surjective map gives nonempty fibers .
Use the definition of surjective.
Solution · Guided solution
Surjectivity says that for every , there exists such that . That means exactly that , so the fiber is nonempty.
Checkpoint
Give an indexed choice-function statement for a family .
State the domain, codomain, and membership condition.
Solution · Guided solution
A choice function is a map
such that for every , assuming every is nonempty.
Checkpoint
In Zorn's lemma, why is it not enough to talk only about maximum elements?
Recall that the order is partial, not necessarily total.
Solution · Guided solution
In a partial order, some elements may be incomparable. A maximum would need to be above every element, which may not exist. Zorn's lemma guarantees a maximal element under its hypotheses: an element with no strictly larger element above it.
Related notes
Read this after 6.1 Cardinality, countability, and cardinal inequalities and 2.2 Functions and relations. Continue to 6.3 Intervals, Cantor set, density, and well-ordering to compare cardinality with length, density, and order.