Exercise · Volume 1 · 1.2.1-4
Exercise 1.2.1-4
proved in Lean solution written
| Rating | 20 |
|---|---|
| Kind | K1, prove: show that a stated fact is true from the written solution |
| Section | Section 1.2.1 of Volume 1. Companion chapter: Mathematical induction |
The task
Show that for all , where .
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
Use the induction of eq. (3) in the text, with the inequality turned around.
Hint 2
The step uses the two previous values, so two starting cases are needed.
Hint 3
The identity finishes the step.
Solution
Show the solution
Let be the statement .
Base. , and . So and hold.
Step. Let and assume and . Then which is . Here because is a root of . By strong induction, holds for all .
Check
The values and satisfy the inequality. A python3 run for found no failure.
Remarks
Together with eq. (3) this gives . The exact formula is in Section 1.2.8, and it shows that .
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.Ex4.statementaxioms: Classical.choice, Quot.sound, propext - Solution:
TAOCP.S1_2_1.Ex4.solvedaxioms: Classical.choice, Quot.sound, propext
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.