Exercise · Volume 1 · 1.2.2-2
Exercise 1.2.2-2
proved in Lean solution written
| Rating | 00 |
|---|---|
| Kind | K2, decide: say whether a claim holds from the written solution |
| Section | Section 1.2.2 of Volume 1. Companion chapter: Numbers, powers and logarithms |
The task
Decide whether , with nines forever after the digit 3, counts as a decimal expansion in the sense of Eq. (1) of the section.
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
Read again what Eq. (1) forbids about the digits.
Hint 2
Find the real number that the string stands for, using Eq. (2).
Solution
Show the solution
No. A decimal expansion must not end in an infinite run of nines. The string has this form, so it is not an expansion. It names the real number , because the nines after the digit add up to , and . The legal expansion of this number is . Eq. (2) also decides it: for each the number is at least and is less than the same string plus , which matches the digits and never the digits .
Check
For the digits give the bounds . The number is not below , so it fails this test. The digits give and passes.
Remarks
The rule on nines makes the expansion of each real number unique. It is the reason why Exercise 1.2.2-6 can compare numbers digit by digit.
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_2.Ex2.statementaxioms: none - Solution:
TAOCP.S1_2_2.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.