Exercise · Volume 1 · 1.2.1-3
Exercise 1.2.1-3
proved in Lean solution written
| Rating | 18 |
|---|---|
| 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 mistake in the proof of the formula for the sum of , and find the correct value of the sum.
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
Check the formula for and by adding the terms.
Hint 2
Read the base case with care: how many terms does the sum have for ?
Solution
Show the solution
Let , the sum with terms. The step of the proof is correct: if , then The base case is wrong. For the sum has terms, so and . The proof compares with the single term , but that term belongs to and not to .
The step is correct, so is the same for all . At it is . So . Direct proof by induction: , and .
Check
For : , which agrees with the correct value and not with . For the sums are .
Remarks
The telescoping in the step is the idea of , treated in the C1 chapter of Section 1.2.3. See also Exercise 1.2.1-2 for another false proof.
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.Ex3.statementaxioms: Classical.choice, Quot.sound, propext - Solution:
TAOCP.S1_2_1.Ex3.solvedaxioms: Classical.choice, Quot.sound, propext
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.