Section 6.1 turned Zorn’s lemma into a four-step
template. This section uses it twice. The first use
finishes the matching that opened Section 6.1 and
answers the question Section 3.4 left open: any two sets
are comparable in size. The second extends any partial
order to a total one, the infinite form of putting tasks
in an order that respects their prerequisites. An
optional last subsection shows the same template in
linear algebra.
Back to
comparing sizes
Section 3.4 defined as
the existence of an injection (Definition 3.4.1)
and proved that injections both ways give a bijection
(Theorem 3.4.3).
It left open whether at least one of the two injections
always exists. Section 6.1 tried to build one by
matching elements pair by pair, and the attempt got two
things right: an unfinished matching can be enlarged by
one pair, and a growing family of matchings, put
together, is again a matching. Those are steps (4) and
(2) of the maximality template (Example (Method: the maximality template)),
and Zorn’s lemma supplies the rest.
Theorem
6.2.1 (Any Two Sets Are Comparable)
For all sets
and , or
.
Idea. By the method of Example (Method: the maximality template).
The partial objects are the partial matchings: relations
in which each element of and each element of
occurs in at most
one pair. The union of a chain of them is one, since
each condition mentions two pairs at a time. A maximal
matching uses up
or , since
otherwise one more pair fits; read in the right
direction, it is an injection.
Proof. Let be the set of relations
such that
- (M1) if , then ;
- (M2) if , then ;
ordered by . It is a set of
subsets of , so is a partial
order on it.
Partial objects. , since
(M1) and (M2) hold vacuously; so .
Chains. Let be a non-empty chain and . Any two pairs of lie in a single member
(Lemma 6.1.1 (b), with
). So if , then by (M1) for ; and (M2) for follows in the same
way. Hence ,
and
for every : is
an upper bound of in .
Zorn. By Theorem 6.1.2, has a maximal element
.
uses up a
side. Suppose some occurs in no pair of , and some occurs in no
pair of . Then
satisfies (M1) and (M2), because
the new pair shares no coordinate with a pair of . So , , and
, since
. This contradicts the maximality of . Hence every occurs in a pair
of , or every
does.
Case 1: every occurs. By (M1) it occurs in exactly one
pair, so is the
graph of a function (Definition 1.5.1).
If , then , so by (M2): is injective, and .
Case 2: every occurs. Consider the inverse relation
(Definition 1.4.3).
Every
occurs as a first coordinate of , and by (M2) in
exactly one pair; so is the graph of a
function . By (M1), gives : is injective, and .
Section 6.1’s “continue until one side is used up”
has become step (4): a maximal matching cannot be
continued, and so a side is used up. The words “and so
on” never appear.
Corollary
6.2.2 (Trichotomy for Sizes)
For all sets
and , exactly one
of , ,
holds.
Proof. At least one. By Theorem 6.2.1, or
. In the first case, either , or
not, and then by Definition 3.4.1.
The second case gives ,
hence (Proposition 2.5.1
(b)), or .
At most one.
excludes by Definition 3.4.1.
excludes , and
therefore , by symmetry (Proposition 2.5.1
(b)). Finally, and
together give injections and , so by Theorem 3.4.3,
contradicting .
Comparability is itself equivalent to the axiom of
choice, a fact proved in Axiomatic Set Theory,
Chapter 4: this book needed choice for it, and no proof
can avoid it.
Quick check. Run the proof of Theorem 6.2.1 on and : describe
the maximal elements of , and say which case of
the proof occurs.
Solution. A partial matching has at
most two pairs, since each of , occurs at most once.
The maximal elements are the six two-pair matchings
with in (three choices of , then two of ). A matching with
fewer pairs is not maximal: it leaves some element of
and some element
of unpaired, and
one more pair fits. No maximal pairs every element of
: that would be an
injection ,
impossible by Corollary 2.5.3
(a). So Case 2 occurs every time: is an injection
. This is
the finite example of Section 6.1, where the matching
, ran out of .
A maximal matching tells us which side is used up,
not that the sizes differ. For , the identity
is a maximal matching that uses up both
sides. So is : it pairs every element of , and although is unpaired, no
element of is
left to pair it with. That matching is an injection and
not a bijection, although .
The proof only promises an injection, and that is all it
delivers.
Extending a
partial order
Suppose a project consists of tasks, and some tasks
must be done before others. Write when task
must come no
later than task :
either , or
must be finished
before can start,
directly or through a sequence of prerequisites.
Counting each task as coming no later than itself makes
reflexive;
passing prerequisites along makes it transitive; and no
two different tasks can each be required before the
other, or nothing could ever start. So is a partial
order. A schedule puts the tasks in one
line, and it respects the prerequisites when its order,
a total order, contains .
For finitely many tasks there is a procedure: pick a
task with no unfinished prerequisite, do it, and repeat.
Here is a small case. Five tasks, survey , financing , design , permit and building , with four
prerequisites: The order they generate consists of the five
pairs , the
four given pairs, and the two pairs and that the
prerequisites pass along through : eleven pairs in all.
At the start, and
have no
prerequisites. Picking , then , leaves and free; picking , then , frees . That gives the
schedule Picking
first instead, then , then , then , then , gives a second
schedule Each contains all eleven pairs: in both lists
and come before , before , before , and hence and before . So schedules are not
unique (there are seven in all), and the procedure needs
the tasks in hand, one free task at a time, until none
is left. For an infinite set with no list there is no
last step, and the maximality template does the work
instead. Its engine is a single move: two incomparable
elements can be made comparable without breaking
anything.
A partial order on is a relation on , a subset of (Definition 1.4.3),
so it makes sense to say that one partial order is
contained in another.
Lemma
6.2.3 (Adding One Comparison)
Let be a
partial order on a set , and let be
incomparable. Let Then is
a partial order on , ,
and .
Idea. puts everything below
below everything
above . A new pair
can break antisymmetry or transitivity only by producing
, and
incomparability forbids that.
Proof. Call a pair
new if and , and old if . Every pair
of is old or new.
The pair is
new, since and by (PO1), and it is not old, since and are incomparable. By
the definition of , .
(PO1): for every , and .
(PO2): let and . If both pairs are old, by (PO2) for . If is new and old, then , so by (PO3), which incomparability excludes. If
is old and
new, then
, excluded in the same way. If both
are new, then (from ) and (from ), so again . Only the first case can occur, and
it gives .
(PO3): let and . If both pairs are old, by (PO3). If
is old and
new, then
and , so is new. If is new and old, then and , so is new. If both
are new, and directly. In every case .
Quick check. Apply Lemma 6.2.3 to on with
and . Which pairs
does add to ?
Solution. A new pair needs and
:
and . Of these four pairs, all
but
already belong to . So adds exactly one pair,
and it is the total order .
The lemma adds one comparison. The template adds them
all at once.
Theorem
6.2.4 (Every Partial Order Extends to a Total
Order)
Let be a
partial order on a set . Then there is a total
order on with .
This book’s word is “total” (Definition 4.3.1);
“linear order” is a common synonym, and is then called a linear
extension of .
Idea. By the method of Example (Method: the maximality template).
The partial objects are the partial orders on containing . The union of a
chain of them is one, since (PO2) and (PO3) each mention
two pairs. A maximal one is total, because Lemma 6.2.3 enlarges
any partial order that has an incomparable pair.
Proof. Let be the set of partial
orders on with , a
set of subsets of , ordered by . Then , so .
Let be a non-empty chain and . Since has a member, and
that member contains , so does ; in particular (PO1)
holds for . If
, some single contains both (Lemma 6.1.1 (b)), so
by (PO2) for
. If ,
some
contains both, so by (PO3) for . Hence , and it is an
upper bound of .
By Theorem 6.1.2, has a maximal element
. Suppose is not total, and let
be
incomparable for .
By Lemma 6.2.3, applied
to , there is a
partial order on
with and . Since , , contradicting the maximality of . So is total.
Warning. One comparison at
a time. It is tempting to skip Zorn’s lemma and
settle every incomparable pair at once, each in some
direction. That can fail. Take equality on , where no
two different elements are comparable, and decide the
three pairs as
before , before , before . Each decision alone is
harmless, but together they break transitivity, and
adding the pairs that transitivity demands puts before and before , against (PO2). Lemma 6.2.3 adds one
comparison and then passes the consequences along; the
next comparison is made in the new order, where the
earlier ones are already visible. The template is what
turns this one-step move into a total order when the
pairs cannot be listed.
Sometimes no Zorn is needed, because a formula gives
the extension.
Example
(A total order containing divisibility)
On , let
mean: , or
and . Show that is a total
order on
containing ,
and that does
not contain .
Solution. In words, is the usual
order on the positive integers with moved to the top.
(PO1): if ,
then by the first alternative; otherwise .
Total: let . If , then ; if , then ; if both are non-zero, or , by totality of
.
(PO2): let and . If , then cannot hold by the second
alternative, which needs ; so . The case is the same with the roles exchanged. If both
are non-zero, , so .
(PO3): let and . If , then . Otherwise the second alternative
holds for :
and . Then with
also holds
by the second alternative: and . So , and .
Contains : let with , say with (Definition 1.1.2).
If , then
. If
, then , since would mean . With
, , so and : .
does not
contain :
, since
, but
fails.
Where a formula exists, it is the better proof. Theorem 6.2.4 matters
for orders such as on , for which
no formula for a total extension is known.
Quick check. Put in -order. Which
two of them are comparable under but not under
?
Solution. . Every pair is
comparable under , which is
total. Under :
divides all of
them, all of them divide , and . The remaining
pair is , : , but
neither divides the other. So and are the only such
pair.
The four uses of the template on the main line of
this chapter, side by side:
| choice function (Theorem 6.1.3) |
graphs defined on part of |
(C1), (C2) mention at most two pairs |
a missed index can be added |
| representatives (Example (A set of representatives)) |
sets meeting each class at most once |
the condition mentions two elements |
a missed class can be added |
| injection (Theorem 6.2.1) |
partial matchings |
(M1), (M2) mention two pairs |
if both sides have an unpaired element, they can be
paired |
| total order (Theorem 6.2.4) |
partial orders containing |
(PO2), (PO3) mention two pairs |
an incomparable pair can be compared (Lemma 6.2.3) |
Optional:
every vector space has a basis
Nothing later in the book depends on this subsection.
For a reader who has met vector spaces, it sketches,
without proving here, how Linear Algebra,
Section 1.8 uses the same template.
A basis of a vector space is a linearly
independent set of vectors that spans . The theorem there is
that every linearly independent set lies in a
basis. In the language of Example (Method: the maximality template),
the partial objects are the linearly independent sets
containing ,
ordered by ; itself is one.
Independence is a condition on finitely many vectors at
a time: a set is independent when no finite non-trivial
combination of its vectors is . So a dependence among
vectors of the union of a chain involves finitely many
vectors, which lie in one member of the chain (Lemma 6.1.1 (b)), and
that member is independent: the union is a partial
object. Zorn’s lemma gives a maximal independent set
. It spans , since a vector outside
its span could be added to without creating a
dependence, giving a strictly larger partial object.
With ,
every vector space has a basis, including as a vector space
over , where no
basis can be written down.
Exercises
A. Check your
understanding
Exercise
(A1)
These questions are about the proof of Theorem 6.2.1.
- (a) Where does the
proof use (M1), and where (M2)?
- (b) Why can “some
is
unpaired” and “some is unpaired” not both hold for a maximal
?
- (c) If , what is
, and which case
occurs?
- (d) In two
sentences, give the proof’s idea.
Solution.
(a) The chain
step uses both, to show that the union of a chain lies
in . The step
“ uses up a side”
uses both for , to
see that still satisfies them. Case 1 uses (M1)
to get a function and (M2) for its injectivity; Case 2 uses
(M2) to get a function and (M1) for its injectivity.
(b) Then the pair
can be
added: satisfies (M1) and (M2) and is strictly
larger, so is not
maximal.
(c) ,
so and . Case 1 occurs: every element of
occurs in
, vacuously, and
is the graph of
the empty function , which is injective. If also , Case 2
holds as well.
(d) A maximal
partial matching between and cannot be extended, so
it uses up or
. Read in the
right direction, it is an injection.
B. Practice
Exercise
(B1: Name the move, then complete it)
Let be a
relation from to
whose domain is
(Definition 1.4.3).
Prove that there is a function whose
graph is contained in .
Below, the proof is started; the second half is
blank. Name the move, then complete it.
Let be the set
of
such that each occurs in at most one pair of , ordered by . Then .
Hence the graph of is contained in .
Solution. The move is the
maximality template, Example (Method: the maximality template);
steps (2) to (4) remain.
Completion. Let be a
non-empty chain. Its union lies in , and two pairs of the
union lie in one member of (Lemma 6.1.1 (b)), so
an element of
occurs in at most one pair of the union. The union is in
and is an upper
bound of . By Theorem 6.1.2, has a maximal element
. Suppose some
occurs in
no pair of . Since
is in the
domain of , there
is with (one use
of ). Then , occurs in it once,
and it is strictly larger than : a contradiction with
maximality. So each occurs in exactly one pair of , and is the graph of a
function (Definition 1.5.1),
with .
Exercise
(B2: A total order on the subsets of a three-element
set)
- (a) Write the eight
subsets of in a list such that always
puts before , and prove that it
does.
- (b) How many total
orders on contain ?
Solution.
(a) . The
list is arranged by the number of elements. If , then
has fewer
elements than (Proposition 2.5.6),
so comes in an
earlier block of the list.
(b) Two. The
empty set must come first, since for
every , and last, since
every . The sets and are incomparable
under , so
they may come in either order, and both orders
work.
Exercise
(B3: A total order on the plane)
On , let
mean and ; and let mean , or and .
- (a) Show that is a partial order
and not total.
- (b) Show that is a total order
containing .
Solution.
(a) (PO1), (PO2)
and (PO3) for
hold coordinate by coordinate, from the same properties
of on ; for (PO2), and give equal
pairs. The points and are incomparable: but in the second
coordinate, and the reverse in the first.
(b) That is a total order is
the argument of Section 4.3, Exercises A1 (d) and C1
(a), with in
place of : it
uses only trichotomy and transitivity of . Containment: if
and
, then
either , or and ; in both cases .
C. Going deeper
Exercise
(C1: Exit check: an order is the intersection of its
total extensions)
Let be a
partial order on a set , and let be the set of total
orders on that
contain .
Prove that .
Solution (Hint 1). For a pair not in , you need one
without
it. If and are incomparable, find
a partial order containing and the pair
.
Solution. By Theorem 6.2.4, , so the
intersection is defined, and since every contains .
Let with . Then by (PO1). Since
fails,
either
or and are incomparable.
Case . Every contains . If it also contained , then by (PO2) for . So no contains , and since , .
Case ,
incomparable. Lemma 6.2.3, with
, in place of , , gives a partial order
with . Theorem 6.2.4 applied
to gives a total
order . Then and , so by (PO2), as . Hence .
In both cases , so .
Marking scheme. (10 points) - 1:
,
cited from Theorem 6.2.4. - 1:
. - 2: the two cases are exhaustive, because
fails.
- 2: the case , with (PO2) and . - 2: a partial order containing and (for example, the
lemma with and
exchanged). - 2:
the extension of
to a total order and the conclusion. Fatal error (0 for
the case concerned): applying the lemma to unexchanged, which
puts into
the extension instead of keeping it out.
Exercise
(C2: Find the error)
Claim: any two sets are comparable. “Proof”: If or is empty, the empty
function is an injection. Otherwise choose and and pair them.
Choose and , and so on. When one set
runs out, the pairs so far are an injection from it into
the other.
Is the conclusion true? Does the argument prove
it?
Solution. The conclusion is true:
it is Theorem 6.2.1. The
argument does not prove it. It fails at “and so on …
when one set runs out”, the gap that (N13) of Logic and Proof, Example (What is not allowed)
flags: an “and so on” needs its step, and here the
process has no last step in general. Indexed by , it uses a countable
set of elements of each side (Proposition 3.1.4),
and for
neither side runs out, since is uncountable (Theorem 3.3.4).
That is a counterexample to the step “the process ends”.
The argument also makes infinitely many choices with no
rule (Section 3.2). The repair is the proof by the
template, in which “cannot be continued” replaces “runs
out”.
Marking scheme. (10 points) - 2: the
conclusion is true, with a citation. - 3: the failing
line (“and so on runs out”)
identified, with the reason that it has no step. - 3: a
counterexample to the step “the process ends” (for
example ), with the countability reason. - 2: the
repair by the maximality template.
R. Review
Exercise
(R1: Surjections one way or the other)
Let and be non-empty sets.
Prove that there is a surjection or a surjection
.
Solution. By Theorem 6.2.1, or
. In the first case, since , Proposition 3.4.2
gives a surjection . In the second, since , the same
proposition with the roles exchanged gives a surjection
.
Marking scheme. (10 points) - 3:
comparability cited, with the two cases. - 4: in the
first case, a surjection from Proposition 3.4.2,
with used and the direction correct. - 3:
the second case, with the roles exchanged and used.
Exercise
(R2: Maximal chains give Zorn’s lemma)
- (a) Let be a maximal chain of a
partially ordered set : a chain contained properly in no
chain. Let be an
upper bound of in
. Show that , that is the greatest element
of , and that
is a maximal
element of .
- (b) Deduce Theorem 6.1.2 from the
statement that every chain lies in a maximal chain.
Solution.
(a) Every element
of is below , so is a chain
containing ; by
maximality it is not larger, so . Then is above every
element of : it is
the greatest element of . Suppose for some . For every , , so
is a
chain, and maximality gives . Then , and with
, (PO2)
gives ,
contradicting . So is
maximal in .
(b) Let be a non-empty
partially ordered set in which every non-empty chain has
an upper bound. The empty set is a chain, so by Section
6.1, Exercise B1 (Exercise (B1: Maximal chains))
with , has a maximal chain
. It is not empty:
for , is a chain properly
containing . So has an upper bound
, and is a maximal element of
by (a). Since
Exercise B1 was proved from Zorn’s lemma, the two
statements are equivalent.
Marking scheme. (10 points) - 1:
in (a). -
1: is the
greatest element of . - 3: is maximal in , using (PO2). - 2: a
maximal chain
from Exercise B1 with . - 1: . - 2: an upper bound of , and the
conclusion.
Exercise
(R3: The basis theorem, read as a template)
This item is optional and goes with the optional
subsection. A set of vectors is linearly independent
when no finite non-trivial combination of its vectors is
.
- (a) Which of the
template’s four steps uses that independence is tested
on finitely many vectors at a time?
- (b) Why would the
template fail for the property “ is a finite independent
set”?
- (c) A maximal
element of a partial order need not be greatest. What
does this say about bases?
Solution.
(a) Step (2), the
chains: a dependence among vectors of the union of a
chain involves finitely many vectors, all in one member
(Lemma 6.1.1 (b)), and
that member is independent.
(b) The union of
a chain of finite sets need not be finite (the second
warning of Section 6.1), so step (2) fails: the union
need not be a partial object.
(c) This is the
point of Example (Maximal elements that are not greatest).
Maximal independent sets need not contain one another,
so a vector space can have many bases, none of them
greatest. In ,
and are both bases, and neither contains
the other.