taocp

This site has no text of the book. Keep your own copy of TAOCP next to it. See what is checked.

Exercise · Volume 1 · 1.2.2-1

Exercise 1.2.2-1

proved in Lean solution written

Rating00
KindK2, decide: say whether a claim holds from the written solution
SectionSection 1.2.2 of Volume 1. Companion chapter: Numbers, powers and logarithms

The task

Decide whether the positive rational numbers have a smallest element.

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

Pick a positive rational number rr and try to build a smaller positive one from it.

Hint 2

Halving is an operation that stays inside the rationals.

Solution

Show the solution

There is none. Let r=p/qr = p/q be any positive rational number, with p,q>0p, q > 0. The number r/2=p/(2q)r/2 = p/(2q) is a ratio of two integers with positive denominator, so it is rational, and r/2>0r/2 > 0 and r/2<rr/2 < r. Hence no positive rational number is the smallest. □\square

Check

Take r=1/1000r = 1/1000. Then r/2=1/2000r/2 = 1/2000, which is positive and smaller. Repeating the step gives 1/4000,1/8000,…1/4000, 1/8000, \ldots and the list never stops.

Remarks

The same argument works for the positive reals. The set of positive integers is different: it has the least element 11, and Section 1.2.1 uses this fact in the well-ordering principle.

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.

The status is computed from the Lean build. The node of the map.

Something is wrong? Report it.