Sets and Functions, Chapter 3 ordered the
natural numbers by the order of the real line, and
proved from that order and induction that every
non-empty set of natural numbers has a least element (Sets and Functions, Theorem 3.1.3).
The natural numbers of Axiom 1.1.1 lie on
no line. They do have addition, though, and addition
already says when one number comes before another: comes before when we can count up
from to . This section takes
that as the definition of the order, ties it to the
arithmetic of the previous section, proves that it is a
total order and a well-ordering, and records the facts
about powers and parity that later sections cite.
Counting up
from m to n
The first idea is to copy Sets and
Functions: when . On
this says nothing yet. There is no subtraction, and
“” is the very
order we are trying to define. What we do have is the
sum. In school, because three more steps lead from to ; that statement uses
only .
when
is reached from
by adding a
natural number.
Definition
1.3.1 (Order on )
For , we write if for some , and if and . As usual, means , and means .
Two examples. First, , with : by the equations of Definition 1.2.1
(a), Second, for every , since by Theorem 1.2.3
(a).
The definition is short, and so it promises little.
Nothing in it says that fails, or that behaves like an order
at all. Antisymmetry will need the fact that a sum is
only when both
terms are, and totality, that any two numbers are
comparable, will need an induction. We first collect
what the definition says about sums and products, since
those facts are the tools for everything else.
Order and
arithmetic
Cancellation in sums, , needs no order at
all, and it is what makes the of the definition
unique. With it, the order clauses (c) and (e) follow
one pattern: translate into an equation with , compute with the
laws of Theorem 1.2.3, and
translate back; the rest are inductions or successor
arguments.
Proposition
1.3.1 (Order and Arithmetic on )
For all :
- (a) if and only if
for some
; this
is then unique,
and is written . Moreover if and only if for some .
- (b) If , then .
- (c) If , then .
- (d) If , then or .
- (e) If and , then .
- (f) If and , then .
- (g) (Induction
from .) Let
be a property
of natural numbers. If holds and, for every
with
, implies , then holds for every
with
.
Idea. Cancellation (b) needs no
order: induct on
and peel off one successor at a time with Corollary 1.2.2.
The equivalence in (a) is the definition, and uniqueness
is (b). Then (c) and (e) translate an inequality into an equation
with
, compute,
and translate back; (d) writes and as successors and uses
that a successor is never . Clause (f) is proved
by induction on ,
the first factor, using law (e) to open (step (4) of Example (Method: fix the others, induct on the recursion variable)).
Finally (g) shifts the start of an induction from to .
Proof. All inductions are by Theorem 1.1.2 (b),
and “Law (x)” refers to clause (x) of Theorem 1.2.3. We
prove (b) first, since (a) uses it.
(b) Induct on
for “for all
: ”. For , and . If the statement holds for and , then by Definition 1.2.1
(a), so by Corollary 1.2.2,
and by the
hypothesis.
(c) The
equivalence is Definition 1.3.1.
Uniqueness. If , then by Law
(b), so
by (b) of this proposition.
The strict case. If , then if and only if
: if , then ; if , then , so
by
uniqueness. Since holds exactly when and (by Definition 1.3.1),
holds if
and only if with .
(c) Let , so with by (a). Then
by Laws (c), (b) and (c). Since , (a) gives .
(d) Let and ; we show . By Proposition 1.1.3
(a), for some , so by Definition 1.2.1
(b). If ,
then likewise for some , and by Definition 1.2.1
(a), which contradicts Corollary 1.2.2.
So .
(e) Let and . By (a), with , so
by Law (d). By (d), , since and . By (a), .
(f) Fix , and induct on
for “for every
, ”. For : if , then by Law (e), so by (d), since . Suppose the statement holds for , and let . By Proposition 1.1.3
(a), for
some , so
by Law (e), Definition 1.2.1
(a) and Corollary 1.2.2.
So , hence
(as ), and for some
(Proposition 1.1.3
(a)). Then by Law (e), so by (b), and
by the
hypothesis. Hence .
(g) Let be “”, for . is . If holds, then by (a), so
the hypothesis gives ; and by Definition 1.2.1
(a), so
holds. By Theorem 1.1.2 (b),
holds for
every .
Finally, if , then for some by (a), and is .
Clause (a) is how subtraction appears on : is defined only
when , as
the unique with
. For
example ,
by the example after Definition 1.3.1,
and .
Clause (g) is the “induction from a base” that Sets
and Functions, Chapter 3 used as Sets and Functions, Theorem 3.2.1,
now proved on .
Quick check. Show that , naming the . Is ? Is ?
Solution. , so
with , and . Yes, , with . No: if , then
by Theorem 1.2.3 (c)
and (b), so by the uniqueness in (a), against Corollary 1.2.2.
A total
order
The definition of came from arithmetic,
so its properties as an order must come from arithmetic
too. The next theorem proves them, and then describes
the sets and that Sets and Functions used
everywhere, now as subsets of .
Theorem
1.3.2 (Order on )
- (a) is a strict total
order on : for
all , never ; if and , then ; and exactly one of , , holds.
- (b) For , if
and only if . Hence no satisfies .
- (c) For , the set satisfies
and , with .
- (d) for every ; if , then ; and .
- (e) For , the set satisfies and .
Idea. First is a partial order:
reflexive (),
transitive (associativity), antisymmetric (cancel, then
use that a sum is
only when both terms are). Then it is total, by
induction on with
“for every ” kept
inside the property. The three properties of in (a) follow from
these four facts, and the rest unwinds (b).
Proof. “Law (x)” refers to Theorem 1.2.3, and
“Order (x)” to Proposition 1.3.1.
Zero sums. If , then and . Indeed, if , then for some (Proposition 1.1.3
(a)), and by Definition 1.2.1
(a) and Corollary 1.2.2.
So , and .
is a
partial order (Sets and Functions, Definition 5.3.1).
(PO1) , so
. (PO3) If
and , then by Law
(c), so .
(PO2) If
and , then
by Law (c), so by the uniqueness in Order (a). By zero
sums , and
.
is
total. We induct on for “for every , or ”. For : , since by Law (a).
Suppose the property holds for , and let . If , say , then by Definition 1.2.1
(a), so . If , say , there are two cases. If , then , and gives . Otherwise
, so for some
(Proposition 1.1.3
(a)), and by Definition 1.2.1
(a) and Law (a), so .
(a)
Irreflexive: would need . Transitive: let and . Then by (PO3). If
, then and , so by (PO2), against
. So .
Trichotomy: at least one of the three holds,
since by totality or , and each of these is “ or ”. At most one: excludes by definition, and
together
with would
give by
(PO2).
(b) If , then , and , so by Order (a). If ,
then by Order (a) and Proposition 1.1.3
(a), for some , so by (P4), and
. Finally,
if , then , so or , and either
contradicts by trichotomy.
(c) If , then for some , and by zero sums; and
. So .
By (b), , that is, or
,
holds if and only if or ; this is the union. Since , (b) gives , so
fails by trichotomy.
(d) , since by Law (a). If
, then for some (Proposition 1.1.3
(a)), and by Law (b), so . Finally and (Corollary 1.2.2),
so by
Order (a).
(e) For , holds if and only
if : by (d)
if , and
fails by
(c), since .
So , and (c) gives and , as by
(P3). This proves the theorem.
So the notation and of Sets and Functions,
Chapter 3 keeps its meaning on : by (c) and (e) each
set grows by exactly one new element at each step, and
. In the “plus one” notation of Definition 1.2.1,
(b) says that
is the next number after .
Quick check. Is there a with ? List
using (c).
Solution. No: , and
(b) says that nothing lies strictly between and . By (c),
three times, .
Warning. Cancelling a
factor needs it to be non-zero. ,
yet : clause
(f) of Proposition 1.3.1
carries for
this reason. Clause (e) carries it too, since while
fails.
Well-ordering
In Sets and Functions, Chapter 3, Sets and Functions, Theorem 3.1.3
was derived from Logic and Proof, Axiom 4.2.1,
which there was an axiom, by way of strong induction. On
, induction is a
theorem (Theorem 1.1.2), so
well-ordering becomes one too. Here a direct induction
does it, on the sets of Theorem 1.3.2
(c).
Theorem
1.3.3 (Well-Ordering of )
Every non-empty subset has a
least element: an with for every . The least element is unique.
Idea. Suppose has no least element.
Walk up through : the first element of met on the way would be
least. So no element of lies in , and this is proved by
induction on .
Since every lies
in ,
is empty. Compare
Sets and Functions, Example (Method: the least element),
which uses a least element; here we produce
one.
Proof. Let be
non-empty, and suppose, for a contradiction, that has no least element.
We use Theorem 1.1.2 (b)
on , for the
property :
“”.
Base case. By Theorem 1.3.2 (c),
. If , then for every by Theorem 1.3.2 (d),
so is a least
element of ,
contrary to our supposition. So holds.
Inductive step. Suppose . By Theorem 1.3.2 (c),
Suppose , and
let . By
, fails, so
fails by Theorem 1.3.2 (b),
and by trichotomy (Theorem 1.3.2
(a)). Hence is a least
element of ,
contrary to our supposition. So ,
and
holds.
By induction, holds for every
. Since
is non-empty,
there is some . Then , so , against . This contradiction
shows, by RAA (Logic and Proof, Definition 2.5.1),
that has a least
element.
Uniqueness. If and are least
elements, then and . If , these give and , so by transitivity,
contradicting irreflexivity (Theorem 1.3.2
(a)). So .
The proof concludes an existence statement from a
contradiction, so its last step is RAA, not : what
is refuted is “
has no least element”. The statement is that of Sets and Functions, Theorem 3.1.3,
read on ; there
the proof went through strong induction on , here
through the property .
Both hypotheses are needed. The empty set is a subset
of with no
least element, since a least element must be an element
of the set. For sets of numbers that are not subsets of
, the warning
after Sets and Functions, Theorem 3.1.3
gives and the
positive rationals.
Quick check. What is the least
element of , and why?
Solution. It is . First, , , and , since
and
. So
lies in the set.
Any lies
in (Theorem 1.3.2 (b),
(c)), where is ,
, or , so
and is not in the
set. By trichotomy every element of the set has .
Powers and
parity
Sets and Functions, Chapter 4 counted with
powers and
with even and odd numbers, and took both from the real
numbers and the integers. Here are the facts it used,
proved on .
Section 1.4 cites them in its rule for reading Sets
and Functions on , and Chapter 4 of
this volume uses them again.
For ,
the powers
() are
defined by Theorem 1.2.1 with
, and :
These are the two equations of Sets and Functions, Definition 3.3.2,
now on ; so
by Theorem 1.2.3
(e).
Quick check. Compute from the two
equations.
Solution. , ,
, .
Proposition
1.3.4 (Powers and Parity on )
For all :
- (a) ;
- (b) if , then ;
- (c) if and , then ;
- (d) there is exactly
one pair
with ,
and
. In
particular, no is both of the form and of the form .
Idea.
- (a) and (b) are
inductions on
following the definition of , by the
recursion-variable method of Example (Method: fix the others, induct on the recursion variable).
For (c), first for , by induction from ; then write and use (a).
For (d), existence is an induction (a number is even or
odd, and adding one swaps the two), and uniqueness
reduces, after canceling, to “ with
”, which
makes .
↺Second readingProof
of the proposition
Proof. “Law (x)” refers to Theorem 1.2.3, and
“Order (x)” to Proposition 1.3.1.
(a) Fix and induct on (Theorem 1.1.2
(b)). For :
, by Law (e). If , then
by Definition 1.2.1
(a), the definition of powers, the hypothesis, Law (g),
and the definition again.
(b) Let ; induct on . by Corollary 1.2.2
(). If
, then
by Order (d).
(c) Let . Then , by (Theorem 1.3.2 (d))
and transitivity, so . First, for every , by Order (g) with base : ; and if
, then
by Order (e) (with ), Law (e) and
transitivity. Now let . By Order (a), with , so by Theorem 1.3.2 (d),
and . By
(b), .
Then, by Order (e), Law (e), Law (f) and (a),
(d)
Existence, by Theorem 1.1.2 (b).
For : .
Suppose
with . If , then and . If , then by Law (c) and (Definition 1.2.1
(c)), Law (e), and Law (d).
Uniqueness. Let
with . Suppose first that . By Order
(a),
with , so
by Laws (d) and (c), and canceling (Order (b), after Law
(b)) gives . Since (Theorem 1.3.2
(d)), Order (a) gives for some , and
by Laws (d), (e) and (c). So by Order (a). But or , and both are by
Theorem 1.3.2 (b);
this contradicts trichotomy. So is
impossible, and is impossible by the same argument with the
roles exchanged. By trichotomy , and then
by Order
(b) (after Law (b)). The pairs and are
therefore equal (Sets and Functions, Definition 1.4.1).
If and , the pairs and would both represent , and they differ since
; so no
is of both
forms.
Any other definition of powers on by the same two
equations,
and , gives these powers, by the uniqueness half
of Theorem 1.2.1.
Section 1.4 and Chapter 4 of this volume use the
proposition.
Exercises
A. Check your
understanding
Exercise
(A1)
- (a) True or false:
for ,
implies
.
Justify your answer.
- (b) Is ? Justify your
answer.
- (c) Which clause of
Theorem 1.3.2 says
that grows by one element at each step? List
and
.
- (d) Which clause of
Proposition 1.3.1
defines ?
Compute .
Solution.
(a) True. By Proposition 1.3.1
(a), with
. By Theorem 1.3.2 (d),
, so for some , by Proposition 1.3.1
(a) again. Then by Theorem 1.2.3 (c),
so .
(b) No. with (the example
after Definition 1.3.1),
so by Proposition 1.3.1
(a). By trichotomy (Theorem 1.3.2
(a)), neither nor , so fails.
(c) Clause (c).
, and by clause (e).
(d) Clause (a):
is the unique
with . Since , .
B. Practice
Exercise
(B1: Order as inclusion)
Prove that for all , if and only if , and that if and only if
this inclusion is proper.
Solution. Let , say , and let ,
say . Then
by
Theorem 1.2.3 (c),
so and
.
Since ,
, so .
The strict case. Let . The inclusion
holds by the first part, and
while , because would contradict by trichotomy
(Theorem 1.3.2
(a)). So the inclusion is proper. Conversely, if the
inclusion is proper, then by the first part, and , since would make the two
sets equal. So .
Exercise
(B2: A product is at least its factor)
Prove that for all with , . Show by an example that the hypothesis
is
needed.
C. Going deeper
Exercise
(C1: Strong induction on ℕ)
Let be a
property of natural numbers. Suppose that, for every
, if holds for every
with
, then
holds. Prove
that holds for
every .
Solution (Hint 1). Consider the set
of natural numbers at which fails.
Solution (Hint 2). If that set is
non-empty, Theorem 1.3.3
gives it a least element . What do you know about
for ?
Solution. Let , a set by Sets and Functions, Definition 1.2.3,
and suppose, for a contradiction, that . By Theorem 1.3.3,
has a least
element . Let
with
. If , then , and with this gives (by
transitivity, or directly if ), contradicting
irreflexivity (Theorem 1.3.2
(a)). So , that is, holds. This holds
for every ,
so the hypothesis gives , contradicting . Hence , and holds for every
.
This is the statement of Logic and Proof, Theorem 4.2.2,
read on . There
it was derived from Logic and Proof, Axiom 4.2.1
directly; here the route goes through well-ordering,
which was itself proved from Theorem 1.1.2. The
proof is the move of Sets and Functions, Example (Method: the smallest counterexample):
a least failure, below which everything holds. As in
Logic and Proof, the hypothesis at is vacuous (no
, since
forces
by Theorem 1.3.2
(c)), so it hands us outright.
Marking scheme. (10 points) - 2:
considers the set of failures (or argues by
contradiction from a failure) and makes it a set. - 3:
applies Theorem 1.3.3,
with the set non-empty, to obtain a least failure . - 3: shows for every , using that
is least and the
order facts. - 2: applies the hypothesis at and reaches the
contradiction. Fatal errors (0 for the step): citing Logic and Proof, Theorem 4.2.2
(a statement about the natural numbers of Logic and
Proof, Chapter 4, not proved from Axiom 1.1.1)
instead of proving the result; taking a least element of
a set not shown to be non-empty. A route by Theorem 1.1.2 (b)
on “ for every
” earns the
same points: 2 for the property : " for every "; 2 for the
vacuous base (no , by Theorem 1.3.2
(c)); 4 for the step ( from the hypothesis,
then
gives by Theorem 1.3.2 (b),
so or
); 2 for
deducing from
.
Exercise
(C2: Find the error)
Here is an attempted proof that any two natural
numbers are comparable. The proof is meant to replace
the totality step in the proof of Theorem 1.3.2, so
it may cite only results stated before that theorem. Is
the conclusion true? Is the proof correct? If not, give
the first line that fails, the error, and a
counterexample to the step.
Claim. For all : or .
- Fix ; we use
Theorem 1.1.2 (b)
on , for the
property “
or ”. (2)
For : , since . (3) Suppose
that or
. (4) If
, then
, so . (5) If , then , because and nothing lies strictly between and . (6) So or . (7) By
induction, the claim holds.
Solution. The conclusion is
true: it is the totality proved inside
Theorem 1.3.2, and
it follows from trichotomy, Theorem 1.3.2 (a).
The proof is not correct.
The failing line is (5), and it fails for
two independent reasons.
First,
includes the case , where the conclusion is false (the
Quick check after Proposition 1.3.1).
This is a missing case, entry (N7) of Logic and Proof, Example (What is not allowed).
Counterexample to the step: . The hypothesis
of line (3) holds, since , and so does ; but is false,
since (Theorem 1.3.2
(d)).
Second, even when , the stated reason does not give without
comparing with
: “nothing
lies strictly between and ” excludes , and
one still needs that , or . That is trichotomy, and Theorem 1.3.2 (b),
which the reason quotes, was itself proved from
trichotomy, that is, from the claim being proved. So the
line rests on a fact not available at that point of the
proof of Theorem 1.3.2:
entry (N9).
Repair. Replace (5) by two cases. If , then , since . If , then with (Proposition 1.3.1
(a)), so for some , and by
Definition 1.2.1
(a) and Theorem 1.2.3 (a);
this uses no comparison. Lines (1)–(4), (6) and (7) are
correct; fixing
is harmless, since the step never needs the property for
another .
Marking scheme. (10 points) - 2:
says that the conclusion is true and that the proof is
not correct. - 3: names line (5) as the failing line,
with either defect: the case , or the hidden
comparison of
with . - 2:
classifies the error as (N7), a missing case, or as
(N9), a line resting on an unavailable fact (the claim
itself). - 2: gives a counterexample to the step, such
as (a
case with ;
the (N9) defect alone has none, since the conclusion of
(5) is true when ). - 1: gives a repair through with . Fatal errors (0
for the step): declaring the conclusion false; blaming
line (1).