Exercise · Volume 1 · 1.2.7-4
Exercise 1.2.7-4
proved in Lean solution written
| Rating | 10 |
|---|---|
| Kind | K2, decide: say whether a claim holds from the written solution |
| Section | Section 1.2.7 of Volume 1. Companion chapter: Harmonic numbers |
The task
Decide which of the claims , and hold for all positive 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
Compare with the area under on the interval from to .
Hint 2
For the third claim, study the difference and show that it decreases with .
Solution
Show the solution
Answer: the first claim is false, the second and third are true.
First claim. For , and , so fails.
Second claim. For , . So . Add this for : . Since , .
Third claim. Let , so that . Then . The inequality for , with , says that . So , and the sequence strictly decreases. A strictly decreasing sequence is larger than its limit, so for all .
Check
Python gives for . The values decrease and stay above . For : , , and .
Remarks
Eq. (3) shows that is about , which is positive. So the third claim is a weak form of this fact.
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. Lean states the parts one by one.
- Problem (a):
TAOCP.S1_2_7.Ex4.a.statementaxioms: Classical.choice, Quot.sound, propext - Solution (a):
TAOCP.S1_2_7.Ex4.a.solvedaxioms: Classical.choice, Quot.sound, propext - Problem (b):
TAOCP.S1_2_7.Ex4.b.statementaxioms: Classical.choice, Quot.sound, propext - Solution (b):
TAOCP.S1_2_7.Ex4.b.solvedaxioms: Classical.choice, Quot.sound, propext - Problem (c):
TAOCP.S1_2_7.Ex4.c.statementaxioms: Classical.choice, Quot.sound, propext - Solution (c):
TAOCP.S1_2_7.Ex4.c.solvedaxioms: Classical.choice, Quot.sound, propext
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.