Induction, Contradiction, and Finite Sets
Logic and Proof, Chapter 4 took one fact
about the natural numbers on trust: induction.
Everything else we have used about them came from
school: that
The second half of the chapter is about size. Section
1.1 left a puzzle waiting for a principle: five objects
in four boxes put two in one box. What does “finite”
mean, so that this can be proved? The answer is a
pairing: two sets have the same size when a bijection
joins them, a set is finite when it pairs with
What you need. Logic and
Proof, Chapters 1–8, and Sets and
Functions, Chapter 1. From Logic and
Proof, Chapters 1 and 2: the
Time. About 30 hours on the core track (all of A, one B and one C per section, the exit checks); about 40 hours for everything.
Roadmap
- The natural numbers and
well-ordering. From induction alone, the
arithmetic of
and , the proof that every non-empty set of natural numbers has a least element, and the theorem that induction and well-ordering are equivalent, with a witness for each hypothesis it needs, and the least element as a tool of proof. - Induction, strong induction and divisibility. Induction from any integer, finding the inductive hypothesis inside the step and choosing the base, the division algorithm, lowest terms and prime factors, and a gallery of broken inductions, each located at one step.
- Definition by recursion. The theorem that a starting value and a rule define exactly one sequence, its variants from another base and with two previous values, sums, products and powers defined by it, and inductions that follow a definition’s clauses or prove more than was asked.
- Contrapositive and contradiction in practice. Choosing among a direct proof, the contrapositive and a contradiction; infinitely many primes; an irrational cube root by lowest terms; the smallest counterexample as a method; existence without a witness.
- Equinumerous sets and finite sets.
“The same size” defined by a bijection, finite sets and
their number of elements, the pigeonhole principle,
which settles the five lattice points of Section 1.1,
and the uniqueness of that number, subsets, disjoint
unions and the
subsets of an -element set, and the theorem that no finite set is equinumerous with a proper subset, which Hilbert’s hotel turns into a proof that is infinite.
Named moves
The first five are method boxes; each section that introduces one cites it from then on.
- The least element (Example (Method: the least element)). Name a set whose least element would help, show it is a non-empty set of natural numbers, take its least element, and use leastness: an element below it is a contradiction, or leastness says what it must be. (Section 2.1)
- Finding
inside (Example (Method: finding inside )). Write out, split off the part that is , apply the induction hypothesis to it, close the rest by computation, and choose the base as the first from which this works. (Section 2.2) - Choosing direct, contrapositive or
contradiction (Example (Method: choosing direct, contrapositive or contradiction)).
Unwind
, and their negations: go direct when gives something to compute with, prove the contrapositive when is the richer hypothesis, and assume the positive statement when the claim is a negation. (Section 2.4) - Smallest counterexample (Example (Method: the smallest counterexample)).
Suppose the claim fails; well-ordering gives a least
failure
; below the claim holds, and from that produce a failure smaller than , or the claim at itself. (Section 2.4) - Pigeonhole (Example (Method: the pigeonhole principle)). Choose pigeons and fewer holes, define “the hole of a pigeon”, conclude that two pigeons share a hole, and translate “same hole” back into the property you want. (Section 2.5)
- Prove more (strengthen the hypothesis). When the inductive step will not go through, ask what the induction hypothesis would need to say, and prove that stronger statement instead.
- Recursion, then induction. Define an object by a recursion, and prove facts about it by an induction that follows the same clauses: the base case uses the starting value, and the step uses the rule.
Threads
- The halving. Section 2.1 opens its
subsection on well-ordering with the halving question of
Logic and Proof, Chapter 2, and answers it with
the first use of the least element (Example (No endless descent in the natural numbers)).
Section 2.2 writes the argument out as the existence of
lowest terms (Lemma 2.2.4),
and Section 2.4 uses lowest terms to prove that
is irrational (Proposition 2.4.2). - The lattice points. Section 1.1 asks why, among any five points with integer coordinates, two have a midpoint with integer coordinates, and leaves the principle it needs unproved. Section 2.5 opens on the puzzle, proves the pigeonhole principle (Theorem 2.5.2) under the heading “Back to the pigeons”, and finishes the five points (Example (Back to the five lattice points)).
- Same size. The bijections of Section 1.6 are how the book says that two sets have the same size; Section 2.5 makes this a definition (Definition 2.5.1), and Section 4.2 meets it again as an example of an equivalence-like relation.
- Infinitely many primes. Section 2.4 proves that above every natural number there is a prime (Theorem 2.4.1), before “infinite” has a definition; Section 2.5 defines infinite sets, and a Quick check there concludes that the set of primes is one.
Summary
Induction and well-ordering are one principle (Theorem 2.1.4).
Every integer can be divided by a positive integer with
a unique quotient and remainder (Theorem 2.2.3).
Every integer at least
What is open: are
Terms
- equinumerous: there is a bijection between the two sets (Definition 2.5.1).
- factorial:
, with (Definition 2.3.1). - finite, has
elements: equinumerous with for some (Definition 2.5.2). - greatest element: an element
with for every (Section 2.1, before Theorem 2.1.3). - infinite: not finite (Definition 2.5.3).
- least element: an element
with for every (Section 2.1, before Theorem 2.1.3). - maximum, minimum: the greatest and the least element of a set (Section 2.3, before Proposition 2.3.8).
- power:
, (Definition 2.3.2). - prime factor: a prime that divides
the integer (Definition 1.1.3,
Section 1.1); every integer
has one (Theorem 2.2.5). - quotient, remainder: the
and of , (Theorem 2.2.3). - smallest counterexample: the least integer at which a claim fails, given by well-ordering (Example (Method: the smallest counterexample)).
- sum, product:
and , defined by recursion, empty sum , empty product (Definition 2.3.1).