Exercise · Volume 1 · 1.2.1-10
Exercise 1.2.1-10
proved in Lean solution written
| Rating | M22 |
|---|---|
| Markers | M (mathematical) |
| 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 by induction that for all integers .
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 by hand.
Hint 2
In the step, . Compare with .
Solution
Show the solution
Base. .
Step. Let and assume . Then . It remains to show that , that is . Since , . So .
Check
, and . The start value is the least: , and the inequality is false for (python3 found exactly for these ).
Remarks
The step needs a lower bound on : the inequality holds exactly for (at the value is ). So the step is valid from on. The statement itself is false for , so the first base case that works is .
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.Ex10.statementaxioms: propext - Solution:
TAOCP.S1_2_1.Ex10.solvedaxioms: Classical.choice, Quot.sound, propext
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.