Loading…
Use Cantor's theorem to prove that the reals are uncountable, state the continuum hypothesis, and introduce choice functions, the axiom of choice, and Zorn's lemma.
The integers and rationals can both be listed by the natural numbers. Those constructions leave a question open: can every infinite set be listed in this way? A power set supplies an obstruction. From any proposed list of subsets, membership decisions can be used to construct a subset that the list misses.
Definition 6.2.1
(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.
Suppose a function assigns one subset to each element of . To find a subset omitted by , it is enough to make it differ from at one element for each . The index itself supplies that element: include precisely when excludes it. Each row of the proposed list then has a specific reason to disagree with the constructed subset.
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 . It makes one membership decision for each element of , without requiring a numerical ordering of or an infinite scanning procedure.
Theorem 6.2.2
(Cantor's theorem)
Let be a set. Then
The proof has two parts.
First, there is an injection
So . For example, when , this map selects two of the four subsets ; it need not hit every subset.
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 .
Both cases are impossible. Therefore no bijection exists, and hence .
When , the power set has one element and no function from can hit it. Thus the same conclusion includes the empty-set case.
Proof X-ray
The equation is the decisive use of surjectivity. The diagonal argument does not use injectivity: it rules out every surjection from onto . The singleton injection supplies the other part of the strict cardinal inequality.
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.
Change the diagonal entry in every row
Step through the rows. In row k, T takes the opposite of the diagonal entry, so T and f(k) differ at k.
| 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 |
1entries compared in this row0diagonal entry n = k
, ; .
NoticeA 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.
Theorem 6.2.3
(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 6.2.4
(Encoding a subset of N)
If
then the beginning of the sequence is
The corresponding real number begins as
The partial sums are nondecreasing and bounded above by , so completeness gives a real limit. This is the same passage from finite approximations to a real number used in 4.6 Decimal expansions and irrational numbers; no conversion to decimal notation is needed.
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 6.2.5
(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.
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
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).
A surjection reaches every element of , but it does not specify which preimage to use when several are available. To construct an injection in the reverse direction, we would like to assign each one element of its fiber . Each fiber is nonempty. The additional issue is whether these individual existence statements supply a single function making all the selections at once.
For a family of sets, all possible selected elements lie in its union:
Definition 6.2.6
(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 6.2.7
(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.
Theorem 6.2.8
(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 .
The original surjection may be many-to-one; choice supplies one selected preimage per target. The fibers are pairwise disjoint: an element belonging to both and would give on applying . Thus the selected representatives for distinct targets cannot coincide.
The identity makes a right inverse of . It need not be a two-sided inverse, because is not guaranteed. If is bijective, each fiber has exactly one element and is its ordinary inverse.
Theorem 6.2.9
(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 index set is nonempty because belongs to the union, and the well-ordering of gives its least element. This consequence of induction is proved in 6.3 Intervals, Cantor set, density, and well-ordering. 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.
Zorn's lemma expresses the axiom of choice through the existence of maximal elements.
Definition 6.2.10
(Chain)
Let be a partially ordered set. A chain is a totally ordered subset: for every , either
Definition 6.2.11
(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 6.2.12
(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 6.2.13
(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 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 check
(Why is base 3 used in the injection from to ?)
Think about the first differing index and the possible tail contribution.
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.
Quick check
(What does a choice function choose?)
Mention both the family of sets and the chosen element.
For each nonempty set in a family , a choice function chooses one element .
Quick check
(Why does the diagonal contradiction need surjectivity?)
Identify the step that produces an element with .
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.
Quick check
(Show why the singleton map is injective.)
Assume two singleton sets are equal.
If
then the unique element of the left singleton is the unique element of the right singleton. Hence . Therefore is injective.
Quick check
(Explain why a surjective map gives nonempty fibers .)
Use the definition of surjective.
Surjectivity says that for every , there exists such that . That means exactly that , so the fiber is nonempty.
Quick check
(Give an indexed choice-function statement for a family .)
State the domain, codomain, and membership condition.
A choice function is a map
such that for every , assuming every is nonempty.
Quick check
(In Zorn's lemma, why is it not enough to talk only about maximum elements?)
Recall that the order is partial, not necessarily total.
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.
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.
Work out your answer, then check it. You can revise and try again.
Loading…