Exercise · Volume 1 · 1.2.1-2
Exercise 1.2.1-2
proved in Lean solution written
| Rating | 15 |
|---|---|
| Markers | recommended |
| Kind | K3, find a value: compute a number, a set or a closed form from the written solution |
| Section | Section 1.2.1 of Volume 1. Companion chapter: Mathematical induction |
The task
Find the step where the "proof" that for all positive integers fails.
The exact wording is in your copy of the book.
Hints
Open one hint at a time. Try the exercise again after each.
Hint 1
Test the claim with and .
Hint 2
In the induction step, list the earlier cases that the formula uses, and check that they are all inside the range .
Solution
Show the solution
The claim is false for : for and it says . So the proof must fail somewhere.
The step computes as . This identity is correct for each . The step then replaces by and by , using the hypothesis for the values and . The hypothesis covers the cases . For both and are in this range, so the step is correct for . For the exponent is , and is not a positive integer, so the case "" was never proved. The step needs , that is , and the proof does not show this. The proof shows only that is true and that and imply and so on, but it never proves .
In short, the step from to is missing. Indeed the claim holds for all exactly when : if it is trivial, and if then gives .
Check
For : and . In the step from , the expression is for . It is not , because and the hypothesis says nothing about . For the same expression is , so the identity is right but the values of the factors are not .
Remarks
The pattern is common: a strong induction hypothesis that is used for a case outside its range at the first steps. Exercise 1.2.1-3 is another false proof, where the base case is wrong.
This solution is checked, and a person has not reviewed it yet. The source.
In Lean
proved The statement and its proof are in Lean. The kernel accepts the proof, and it uses the standard axioms only.
- Problem:
TAOCP.S1_2_1.Ex2.statementaxioms: Classical.choice, Quot.sound, propext - Solution:
TAOCP.S1_2_1.Ex2.solvedaxioms: Classical.choice, Quot.sound, propext
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.