IUM lectures on Numbers

2.11. Variants of the induction principle

Now we know about \leq we can state and prove some variants of the principle of mathematical induction. The first is an easy one: you don't have to start at zero. What I mean by this is: if you have some fixed "base" natural number k, and true-false statements Q_k, Q_{k+1}, Q_{k+2}, \ldots, then to prove them all it suffices to prove the base case Q_k and the inductive step that for all n\geq k, Q_n implies Q_{n+1}. How do we prove that this is valid? Simple: just define P_n to be Q_{k+n} and apply the usual induction principle to the P_n.

A more subtle variant is strong induction. Again we have statements P_0, P_1, P_2, \ldots, and we want to prove all of them. Strong induction relies crucially on the concept of <, which we haven't talked about yet and which we develop the theory of in the first Numbers example sheet. So let's define x<y to mean S(x)\leq y, and then we can state the principle of strong induction.

Theorem 24 (The principle of strong induction)

Say P_0, P_1, P_2, \ldots are infinitely many true-false statements. To prove that all of them are true, it suffices to prove the following statement:

(*) For every n, you can deduce P_n if you assume P_t for all t<n.

Proof

Let's define infinitely many new true-false statements Q_n by Q_n=P_0\land P_1\land\ldots\land P_n. This definition is no good because we used \ldots, but we can define Q_n properly by recursion: we define Q_0 to be P_0, and if we've defined Q_n already then we define Q_{S(n)} to be Q_n\land P_{S(n)}.

Exercise: check that Q_2 is (P_0\land P_1)\land P_2.

We now prove Q_n by induction on n. To do the base case we use (*) with n=0; this says that you can deduce P_0 from no hypotheses at all, so in particular P_0 must be true, and hence Q_0 is true.

To do the inductive step, we assume Q_n and we need to deduce Q_{S(n)}. Now if Q_n=P_0\land P_1\land \ldots P_n is true then P_t is true for all t<S(n), so by (*) applied at S(n) we deduce that P_{S(n)} is true. Hence Q_{S(n)}=Q_n\land P_{S(n)} is true.

Hence Q_n is true for all n. But it is easy to check that Q_n\implies P_n for all n (check the 0 and successor cases separately), and hence P_n is true for all n.

Variants of induction have associated variants of recursion. For example, here is a strong recursion principle, analogous to strong induction in the same way that the recursion principle (Axiom 12) is analogous to induction. This statement is non-examinable, and we will also skip the proof.

Definition 25 (Strong recursion)

Say we have a set X. You can make a function F which sends a natural number n to an element of the set X by providing the following thing:

(*) For every n, a function p_n from X^{\{t\in\N\mid t<n\}} to X.

The resulting function F will have the property that F(n) is equal to p_n(\left.F\right\rvert_{\{t\in\N\mid t<n\}}).

This says that it is safe to define a function from \N to a set X by a recursive formula in which F(n) depends on any or all previous values of F.

Using strong induction we can deduce that the naturals are well-ordered, meaning that if a set of naturals has one or more elements, then it has a smallest element. Before we embark on this, you might want to think about the following exercise, which shows you "the point" of being well-ordered.

Exercise: This section is about the non-negative integers. But assume temporarily that we have already created the non-negative real numbers and all the usual properties we know about them are true. Show that the non-negative real numbers are not well-ordered, by proving that the set of positive real numbers is a nonempty set with no smallest element.

Theorem 26 (Well-ordering principle)

Every non-empty set A\subseteq\mathbb{N} of natural numbers has a least element, i.e., there exists a number a\in A, such that for every x\in A we have a\leq x.

Proof

We will prove this by contradiction. Let A\subseteq\mathbb{N} be a set, and assume that it has no least element; we'll show that A is empty. If n is a natural number, define P_n to be the true-false statement "n\not\in A". Let's prove that P_n is true for all n; this is enough, as it shows that A has no elements.

We prove P_n for all n, by strong induction. This means that for a fixed n, we have to check that if P_t is true for all t<n then P_n is also true. But if P_t is true for all t<n then this means (by definition of P_t) that every number less than n is not in A. So if n\in A then n would be the least element of A, a contradiction. We deduce that n can't be in A either, so P_n is true, and we are done.