theorem
principle_of_induction
(P : ℕ → Prop)
(h₁ : P 1)
(hstep : ∀ (n : ℕ), P n → P (n + 1))
(n : ℕ)
:
P (n + 1)
Theorem 0.3.6 (principle of induction). Let P : ℕ → Prop. If (i) the basis
statement P 1 holds and (ii) the induction step says P n → P (n + 1) for each n,
then P (n + 1) holds for every natural number n.
theorem
principle_of_strong_induction
(P : ℕ → Prop)
(h₁ : P 1)
(hstep : ∀ (n : ℕ), (∀ (k : ℕ), 1 ≤ k → k ≤ n → P k) → P (n + 1))
(n : ℕ)
:
P (n + 1)
Theorem 0.3.9 (principle of strong induction). Let P : ℕ → Prop. (i) The basis
statem/ent P 1 is true. (ii) If P k holds for all k = 1, 2, …, n, then P (n + 1)
is true. Then P n holds for all natural numbers n.