1.3  Order and Well-Ordering of the Natural Numbers

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: m comes before n when we can count up from m to n. 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.

1.3.1. Counting up from m to n

The first idea is to copy Sets and Functions: m≤n when n−m≥0. On N this says nothing yet. There is no subtraction, and “≥0” is the very order we are trying to define. What we do have is the sum. In school, 2≤5 because three more steps lead from 2 to 5; that statement uses only +.

m≤n when n is reached from m by adding a natural number.

Definition 1.3.1 (Order on N)

For m,n∈N, we write m≤n if n=m+j for some j∈N, and m<n if m≤n and m≠n. As usual, n≥m means m≤n, and n>m means m<n.

Two examples. First, 2≤5, with j=3: by the equations of Definition 1.2.1 (a), 2+3=S(2+2)=S(S(2+1))=S(S(S(2+0)))=S(S(3))=5. Second, 0≤n for every n∈N, since n=0+n by Theorem 1.2.3 (a).

The definition is short, and so it promises little. Nothing in it says that 5≤2 fails, or that ≤ behaves like an order at all. Antisymmetry will need the fact that a sum is 0 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.

1.3.2. Order and arithmetic

Cancellation in sums, m+k=n+k⇒m=n, needs no order at all, and it is what makes the j of the definition unique. With it, the order clauses (c) and (e) follow one pattern: translate m<n into an equation n=m+j with j≠0, 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 N)

For all k,m,n,b∈N:

  • (a) m≤n if and only if n=m+j for some j∈N; this j is then unique, and is written n−m. Moreover m<n if and only if n=m+j for some j≠0.
  • (b) If m+k=n+k, then m=n.
  • (c) If m<n, then m+k<n+k.
  • (d) If mn=0, then m=0 or n=0.
  • (e) If m<n and k≠0, then mk<nk.
  • (f) If mk=nk and k≠0, then m=n.
  • (g) (Induction from b.) Let P(n) be a property of natural numbers. If P(b) holds and, for every n∈N with n≥b, P(n) implies P(n+1), then P(n) holds for every n∈N with n≥b.

Idea. Cancellation (b) needs no order: induct on k 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 m<n into an equation n=m+j with j≠0, compute, and translate back; (d) writes m and n as successors and uses that a successor is never 0. Clause (f) is proved by induction on m, the first factor, using law (e) to open (m+1)k (step (4) of Example (Method: fix the others, induct on the recursion variable)). Finally (g) shifts the start of an induction from 0 to b.

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 k for “for all m,n: m+k=n+k⇒m=n”. For k=0, m+0=m and n+0=n. If the statement holds for k and m+(k+1)=n+(k+1), then (m+k)+1=(n+k)+1 by Definition 1.2.1 (a), so m+k=n+k by Corollary 1.2.2, and m=n by the hypothesis.

  • (c) The equivalence is Definition 1.3.1.

Uniqueness. If m+j=m+j′, then j+m=j′+m by Law (b), so j=j′ by (b) of this proposition.

The strict case. If n=m+j, then j=0 if and only if n=m: if j=0, then n=m+0=m; if n=m, then m+j=m=m+0, so j=0 by uniqueness. Since m<n holds exactly when m≤n and m≠n (by Definition 1.3.1), m<n holds if and only if n=m+j with j≠0.

  • (c) Let m<n, so n=m+j with j≠0 by (a). Then n+k=(m+j)+k=m+(k+j)=(m+k)+j by Laws (c), (b) and (c). Since j≠0, (a) gives m+k<n+k.

  • (d) Let mn=0 and n≠0; we show m=0. By Proposition 1.1.3 (a), n=S(j)=j+1 for some j∈N, so 0=mn=mj+m by Definition 1.2.1 (b). If m≠0, then likewise m=i+1 for some i∈N, and 0=mj+(i+1)=(mj+i)+1, by Definition 1.2.1 (a), which contradicts Corollary 1.2.2. So m=0.

  • (e) Let m<n and k≠0. By (a), n=m+j with j≠0, so nk=(m+j)k=mk+jk by Law (d). By (d), jk≠0, since j≠0 and k≠0. By (a), mk<nk.

  • (f) Fix k≠0, and induct on m for “for every n∈N, mk=nk⇒m=n”. For m=0: if 0⋅k=nk, then nk=0 by Law (e), so n=0 by (d), since k≠0. Suppose the statement holds for m, and let (m+1)k=nk. By Proposition 1.1.3 (a), k=i+1 for some i∈N, so (m+1)k=mk+k=mk+(i+1)=(mk+i)+1≠0 by Law (e), Definition 1.2.1 (a) and Corollary 1.2.2. So nk≠0, hence n≠0 (as 0⋅k=0), and n=n′+1 for some n′∈N (Proposition 1.1.3 (a)). Then mk+k=(m+1)k=nk=n′k+k by Law (e), so mk=n′k by (b), and m=n′ by the hypothesis. Hence m+1=n.

  • (g) Let Q(i) be “P(b+i)”, for i∈N. Q(0) is P(b+0)=P(b). If Q(i) holds, then b+i≥b by (a), so the hypothesis gives P((b+i)+1); and (b+i)+1=b+(i+1) by Definition 1.2.1 (a), so Q(i+1) holds. By Theorem 1.1.2 (b), Q(i) holds for every i∈N. Finally, if n≥b, then n=b+i for some i by (a), and P(n) is Q(i).

Clause (a) is how subtraction appears on N: n−m is defined only when m≤n, as the unique j with m+j=n. For example 5−2=3, by the example after Definition 1.3.1, and n−0=n. 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 N.

Quick check. Show that 3≤5, naming the j. Is n≤n+1? Is n+1≤n?

Solution. 3+2=S(3+1)=S(S(3+0))=S(S(3))=5, so 3≤5 with j=2, and 5−3=2. Yes, n≤n+1, with j=1. No: if n=(n+1)+j, then n+0=n+(j+1) by Theorem 1.2.3 (c) and (b), so j+1=0 by the uniqueness in (a), against Corollary 1.2.2.

1.3.3. 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 {0,…,n} and {1,…,n} that Sets and Functions used everywhere, now as subsets of N.

Theorem 1.3.2 (Order on N)
  • (a) < is a strict total order on N: for all k,m,n∈N, never n<n; if k<m and m<n, then k<n; and exactly one of m<n, m=n, n<m holds.
  • (b) For m,n∈N, m<S(n) if and only if m≤n. Hence no k∈N satisfies n<k<S(n).
  • (c) For n∈N, the set {0,…,n}:={k∈N:k≤n} satisfies {0,…,0}={0} and {0,…,S(n)}={0,…,n}∪{S(n)}, with S(n)∉{0,…,n}.
  • (d) 0≤n for every n∈N; if n≠0, then 1≤n; and 0<1.
  • (e) For n∈N, the set {1,…,n}:={k∈N:1≤k≤n} satisfies {1,…,0}=∅ and {1,…,S(n)}={1,…,n}∪{S(n)}.

Idea. First ≤ is a partial order: reflexive (j=0), transitive (associativity), antisymmetric (cancel, then use that a sum is 0 only when both terms are). Then it is total, by induction on n with “for every m” 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 j+i=0, then i=0 and j=0. Indeed, if i≠0, then i=i′+1 for some i′ (Proposition 1.1.3 (a)), and j+i=(j+i′)+1≠0 by Definition 1.2.1 (a) and Corollary 1.2.2. So i=0, and j=j+0=0.

≤ is a partial order (Sets and Functions, Definition 5.3.1). (PO1) n=n+0, so n≤n. (PO3) If m=k+i and n=m+j, then n=k+(i+j) by Law (c), so k≤n. (PO2) If n=m+j and m=n+i, then m+0=m=m+(j+i) by Law (c), so j+i=0 by the uniqueness in Order (a). By zero sums i=0, and m=n+0=n.

≤ is total. We induct on n for “for every m∈N, m≤n or n≤m”. For n=0: 0≤m, since m=0+m by Law (a). Suppose the property holds for n, and let m∈N. If m≤n, say n=m+j, then n+1=m+(j+1) by Definition 1.2.1 (a), so m≤n+1. If n≤m, say m=n+j, there are two cases. If j=0, then m=n, and n+1=m+1 gives m≤n+1. Otherwise j≠0, so j=j′+1 for some j′∈N (Proposition 1.1.3 (a)), and m=n+(j′+1)=(n+j′)+1=(n+1)+j′ by Definition 1.2.1 (a) and Law (a), so n+1≤m.

  • (a) Irreflexive: n<n would need n≠n. Transitive: let k<m and m<n. Then k≤n by (PO3). If k=n, then k≤m and m≤k, so k=m by (PO2), against k<m. So k<n. Trichotomy: at least one of the three holds, since by totality m≤n or n≤m, and each of these is “< or =”. At most one: m<n excludes m=n by definition, and m<n together with n<m would give m=n by (PO2).

  • (b) (⇐) If n=m+j, then S(n)=n+1=m+(j+1), and j+1≠0, so m<S(n) by Order (a). (⇒) If m<S(n), then by Order (a) and Proposition 1.1.3 (a), S(n)=m+(i+1)=S(m+i) for some i, so n=m+i by (P4), and m≤n. Finally, if n<k<S(n), then k≤n, so k<n or k=n, and either contradicts n<k by trichotomy.

  • (c) If k≤0, then 0=k+j for some j, and k=0 by zero sums; and 0≤0. So {0,…,0}={0}. By (b), k≤S(n), that is, k<S(n) or k=S(n), holds if and only if k≤n or k=S(n); this is the union. Since n≤n, (b) gives n<S(n), so S(n)≤n fails by trichotomy.

  • (d) 0≤n, since n=0+n by Law (a). If n≠0, then n=k+1 for some k (Proposition 1.1.3 (a)), and k+1=1+k by Law (b), so 1≤n. Finally 1=0+1 and 1≠0 (Corollary 1.2.2), so 0<1 by Order (a).

  • (e) For k∈N, 1≤k holds if and only if k≠0: by (d) if k≠0, and 1≤0 fails by (c), since 1≠0. So {1,…,n}={0,…,n}∖{0}, and (c) gives {1,…,0}=∅ and {1,…,S(n)}={1,…,n}∪{S(n)}, as S(n)≠0 by (P3). This proves the theorem.

So the notation {0,…,n} and {1,…,n} of Sets and Functions, Chapter 3 keeps its meaning on N: by (c) and (e) each set grows by exactly one new element at each step, and {1,…,0}=∅. In the “plus one” notation of Definition 1.2.1, (b) says that n+1 is the next number after n.

Quick check. Is there a k∈N with 4<k<5? List {0,…,3} using (c).

Solution. No: 5=S(4), and (b) says that nothing lies strictly between 4 and S(4). By (c), three times, {0,…,3}={0}∪{1}∪{2}∪{3}={0,1,2,3}.

Warning. Cancelling a factor needs it to be non-zero. 5⋅0=2⋅0, yet 5≠2: clause (f) of Proposition 1.3.1 carries k≠0 for this reason. Clause (e) carries it too, since 2<5 while 2⋅0<5⋅0 fails.

1.3.4. 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 N, induction is a theorem (Theorem 1.1.2), so well-ordering becomes one too. Here a direct induction does it, on the sets {0,…,n} of Theorem 1.3.2 (c).

Theorem 1.3.3 (Well-Ordering of N)

Every non-empty subset A⊆N has a least element: an a∈A with a≤x for every x∈A. The least element is unique.

Idea. Suppose A has no least element. Walk up through 0,1,2,…: the first element of A met on the way would be least. So no element of {0,…,n} lies in A, and this is proved by induction on n. Since every a lies in {0,…,a}, A is empty. Compare Sets and Functions, Example (Method: the least element), which uses a least element; here we produce one.

Proof. Let A⊆N be non-empty, and suppose, for a contradiction, that A has no least element. We use Theorem 1.1.2 (b) on n, for the property B(n): “{0,…,n}∩A=∅”.

Base case. By Theorem 1.3.2 (c), {0,…,0}∩A={0}∩A. If 0∈A, then 0≤x for every x∈A by Theorem 1.3.2 (d), so 0 is a least element of A, contrary to our supposition. So B(0) holds.

Inductive step. Suppose B(n). By Theorem 1.3.2 (c), {0,…,S(n)}∩A=({0,…,n}∩A)∪({S(n)}∩A)={S(n)}∩A. Suppose S(n)∈A, and let x∈A. By B(n), x≤n fails, so x<S(n) fails by Theorem 1.3.2 (b), and S(n)≤x by trichotomy (Theorem 1.3.2 (a)). Hence S(n) is a least element of A, contrary to our supposition. So S(n)∉A, and B(S(n)) holds.

By induction, B(n) holds for every n∈N. Since A is non-empty, there is some a∈A. Then a≤a, so a∈{0,…,a}∩A, against B(a). This contradiction shows, by RAA (Logic and Proof, Definition 2.5.1), that A has a least element.

Uniqueness. If a and a′ are least elements, then a≤a′ and a′≤a. If a≠a′, these give a<a′ and a′<a, so a<a by transitivity, contradicting irreflexivity (Theorem 1.3.2 (a)). So a=a′.

The proof concludes an existence statement from a contradiction, so its last step is RAA, not ¬I: what is refuted is “A has no least element”. The statement is that of Sets and Functions, Theorem 3.1.3, read on N; there the proof went through strong induction on N⊆R, here through the property B(n).

Both hypotheses are needed. The empty set is a subset of N with no least element, since a least element must be an element of the set. For sets of numbers that are not subsets of N, the warning after Sets and Functions, Theorem 3.1.3 gives Z and the positive rationals.

Quick check. What is the least element of {n∈N:n⋅n>10}, and why?

Solution. It is 4. First, 3⋅3=9, 4⋅4=16, and 9<10<16, since 10=9+1 and 16=10+6. So 4 lies in the set. Any x<4 lies in {0,…,3}={0,1,2,3} (Theorem 1.3.2 (b), (c)), where x⋅x is 0, 1, 4 or 9, so x⋅x≤9<10 and x is not in the set. By trichotomy every element x of the set has 4≤x.

1.3.5. Powers and parity

Sets and Functions, Chapter 4 counted with powers 2m3n and with even and odd numbers, and took both from the real numbers and the integers. Here are the facts it used, proved on N. Section 1.4 cites them in its rule for reading Sets and Functions on N, and Chapter 4 of this volume uses them again.

For b∈N, the powers bn (n∈N) are defined by Theorem 1.2.1 with X=N, a=1 and g(n,x)=x⋅b: b0:=1,bn+1:=bn⋅b. These are the two equations of Sets and Functions, Definition 3.3.2, now on N; so b1=1⋅b=b by Theorem 1.2.3 (e).

Quick check. Compute 23 from the two equations.

Solution. 20=1, 21=1⋅2=2, 22=2⋅2=4, 23=4⋅2=8.

Proposition 1.3.4 (Powers and Parity on N)

For all b,m,n∈N:

  • (a) bm+n=bm⋅bn;
  • (b) if b≠0, then bn≠0;
  • (c) if b>1 and m<n, then bm<bn;
  • (d) there is exactly one pair (q,r) with q∈N, r∈{0,1} and n=2q+r. In particular, no n∈N is both of the form 2q and of the form 2q′+1.

Idea.

  • (a) and (b) are inductions on n following the definition of bn, by the recursion-variable method of Example (Method: fix the others, induct on the recursion variable). For (c), first bj>1 for j≥1, by induction from 1; then write n=m+j 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 “r=2j+r′ with j≥1”, which makes r≥2.
Second readingProof of the proposition

Proof. “Law (x)” refers to Theorem 1.2.3, and “Order (x)” to Proposition 1.3.1.

  • (a) Fix m and induct on n (Theorem 1.1.2 (b)). For n=0: bm+0=bm=bm⋅1=bmb0, by Law (e). If bm+n=bmbn, then bm+(n+1)=b(m+n)+1=bm+nb=(bmbn)b=bm(bnb)=bmbn+1, by Definition 1.2.1 (a), the definition of powers, the hypothesis, Law (g), and the definition again.

  • (b) Let b≠0; induct on n. b0=1≠0 by Corollary 1.2.2 (1=0+1). If bn≠0, then bn+1=bnb≠0 by Order (d).

  • (c) Let b>1. Then b>0, by 0<1 (Theorem 1.3.2 (d)) and transitivity, so b≠0. First, bj>1 for every j≥1, by Order (g) with base 1: b1=b>1; and if bj>1, then bj+1=bjb>1⋅b=b>1 by Order (e) (with b≠0), Law (e) and transitivity. Now let m<n. By Order (a), n=m+j with j≠0, so j≥1 by Theorem 1.3.2 (d), and bj>1. By (b), bm≠0. Then, by Order (e), Law (e), Law (f) and (a), bm=1⋅bm<bjbm=bmbj=bm+j=bn.

  • (d) Existence, by Theorem 1.1.2 (b). For n=0: 0=2⋅0+0. Suppose n=2q+r with r∈{0,1}. If r=0, then n=2q and n+1=2q+1. If r=1, then n+1=(2q+1)+1=2q+2=2q+2⋅1=2(q+1)=2(q+1)+0, by Law (c) and 1+1=2 (Definition 1.2.1 (c)), Law (e), and Law (d).

Uniqueness. Let 2q+r=2q′+r′ with r,r′∈{0,1}. Suppose first that q<q′. By Order (a), q′=q+j with j≠0, so 2q+r=2(q+j)+r′=2q+(2j+r′) by Laws (d) and (c), and canceling 2q (Order (b), after Law (b)) gives r=2j+r′. Since j≥1 (Theorem 1.3.2 (d)), Order (a) gives j=1+i for some i∈N, and 2j+r′=(2+2i)+r′=2+(2i+r′) by Laws (d), (e) and (c). So r=2+(2i+r′)≥2 by Order (a). But r=0 or r=1, and both are <2=S(1) by Theorem 1.3.2 (b); this contradicts trichotomy. So q<q′ is impossible, and q′<q is impossible by the same argument with the roles exchanged. By trichotomy q=q′, and then r=r′ by Order (b) (after Law (b)). The pairs (q,r) and (q′,r′) are therefore equal (Sets and Functions, Definition 1.4.1).

If n=2q=2q+0 and n=2q′+1, the pairs (q,0) and (q′,1) would both represent n, and they differ since 0≠1; so no n is of both forms.

Any other definition of powers on N by the same two equations, c(0)=1 and c(n+1)=c(n)⋅b, gives these powers, by the uniqueness half of Theorem 1.2.1. Section 1.4 and Chapter 4 of this volume use the proposition.

1.3.6. Exercises

A. Check your understanding

Exercise (A1)
  • (a) True or false: for m,n∈N, m<n implies m+1≤n. Justify your answer.
  • (b) Is 5≤2? Justify your answer.
  • (c) Which clause of Theorem 1.3.2 says that {0,…,n} grows by one element at each step? List {0,…,2} and {1,…,2}.
  • (d) Which clause of Proposition 1.3.1 defines n−m? Compute 5−2.

Solution.

B. Practice

Exercise (B1: Order as inclusion)

Prove that for all m,n∈N, m≤n if and only if {0,…,m}⊆{0,…,n}, and that m<n if and only if this inclusion is proper.

Solution. (⇒) Let m≤n, say n=m+j, and let k∈{0,…,m}, say m=k+i. Then n=k+(i+j) by Theorem 1.2.3 (c), so k≤n and k∈{0,…,n}.

(⇐) Since m=m+0, m∈{0,…,m}⊆{0,…,n}, so m≤n.

The strict case. Let m<n. The inclusion holds by the first part, and n∈{0,…,n} while n∉{0,…,m}, because n≤m would contradict m<n by trichotomy (Theorem 1.3.2 (a)). So the inclusion is proper. Conversely, if the inclusion is proper, then m≤n by the first part, and m≠n, since m=n would make the two sets equal. So m<n.

Exercise (B2: A product is at least its factor)

Prove that for all m,n∈N with n≥1, m≤mn. Show by an example that the hypothesis n≥1 is needed.

Solution. Since 1≤n, Proposition 1.3.1 (a) gives n=1+j for some j∈N. Then mn=m(1+j)=m⋅1+mj=m+mj, by Theorem 1.2.3 (d) and (e). By Proposition 1.3.1 (a) again, m≤m+mj=mn.

The hypothesis is needed: for m=1 and n=0, mn=0, and 1≤0 is false, since 0<1 (Theorem 1.3.2 (d)) and trichotomy.

C. Going deeper

Exercise (C1: Strong induction on ℕ)

Let P(n) be a property of natural numbers. Suppose that, for every n∈N, if P(k) holds for every k∈N with k<n, then P(n) holds. Prove that P(n) holds for every n∈N.

Solution (Hint 1). Consider the set of natural numbers at which P fails.

Solution (Hint 2). If that set is non-empty, Theorem 1.3.3 gives it a least element a. What do you know about P(k) for k<a?

Solution. Let A:={n∈N:P(n) fails}, a set by Sets and Functions, Definition 1.2.3, and suppose, for a contradiction, that A≠∅. By Theorem 1.3.3, A has a least element a. Let k∈N with k<a. If k∈A, then a≤k, and with k<a this gives k<k (by transitivity, or directly if a=k), contradicting irreflexivity (Theorem 1.3.2 (a)). So k∉A, that is, P(k) holds. This holds for every k<a, so the hypothesis gives P(a), contradicting a∈A. Hence A=∅, and P(n) holds for every n∈N.

This is the statement of Logic and Proof, Theorem 4.2.2, read on N. 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 n=0 is vacuous (no k<0, since k≤0 forces k=0 by Theorem 1.3.2 (c)), so it hands us P(0) 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 a. - 3: shows P(k) for every k<a, using that a is least and the order facts. - 2: applies the hypothesis at a 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 “P(k) for every k<n” earns the same points: 2 for the property Q(n): "P(k) for every k<n"; 2 for the vacuous base (no k<0, by Theorem 1.3.2 (c)); 4 for the step (P(n) from the hypothesis, then k<n+1 gives k≤n by Theorem 1.3.2 (b), so k<n or k=n); 2 for deducing P(n) from Q(n+1).

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 m,n∈N: m≤n or n≤m.

  1. Fix m; we use Theorem 1.1.2 (b) on n, for the property “m≤n or n≤m”. (2) For n=0: 0≤m, since m=0+m. (3) Suppose that m≤n or n≤m. (4) If n=m+j, then n+1=m+(j+1), so m≤n+1. (5) If n≤m, then n+1≤m, because n<n+1 and nothing lies strictly between n and n+1. (6) So m≤n+1 or n+1≤m. (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, n≤m includes the case n=m, where the conclusion n+1≤n 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: m=n=0. The hypothesis of line (3) holds, since 0≤0, and so does n≤m; but n+1=1≤0 is false, since 0<1 (Theorem 1.3.2 (d)).

Second, even when n<m, the stated reason does not give n+1≤m without comparing m with n+1: “nothing lies strictly between n and n+1” excludes n<m<n+1, and one still needs that m<n+1, m=n+1 or n+1<m. 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 n=m, then m≤n+1, since n+1=m+1. If n<m, then m=n+j with j≠0 (Proposition 1.3.1 (a)), so j=j′+1 for some j′, and m=(n+1)+j′ 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 m is harmless, since the step never needs the property for another m.

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 n=m, or the hidden comparison of m with n+1. - 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 m=n=0 (a case with n=m; the (N9) defect alone has none, since the conclusion of (5) is true when n<m). - 1: gives a repair through m=n+j with j≠0. Fatal errors (0 for the step): declaring the conclusion false; blaming line (1).