Continued fractions — flashcards
Every card the map can derive about Continued fractions — definitions, statements, attribution, and the edges it sits on.
Theorems 4
State: Lamé's theorem.
The number of division steps in the Euclidean algorithm is at most five times the number of decimal digits of the smaller argument; the worst case is consecutive Fibonacci numbers.
derived from st/lame by the statement rule
State: √2 is irrational.
Anthyphairesis on a 1 by √2 rectangle never terminates, which is exactly the statement that √2 is not a ratio of integers.
derived from st/sqrt2-irrational by the statement rule
State: Convergents are best approximations.
Every convergent of the continued fraction of x is a best rational approximation of the second kind, and every such approximation is a convergent.
derived from st/cf-best-approx by the statement rule
State: 'What does an irrational f mean here' is two separate questions, with two separate classical answers.
Asking what an irrational f means for the Chord(f) construction splits into two genuinely different questions, not one. (1) The value: for algebraic irrational f, the Gelfond–Schneider theorem characterizes Chord(f)=2sin(fπ) as transcendental. (2) The configuration: N points at an irrational rotation α (rather than N-th roots of unity) obey the three-distance theorem (Steinhaus) — at most three distinct gap lengths between consecutive points on the circle at any N, collapsing to exactly two precisely at the continued-fraction convergents of α. Verified directly for the golden ratio (whose continued fraction is all 1s): exactly two gap lengths at each Fibonacci count N=3,5,8,13,21,34.
derived from st/chord-irrational-splits-into-two-theorems by the statement rule
Names and dates 3
Lamé's theorem — who, and when?
Gabriel Lamé, 1844.
derived from st/lame by the attribution rule
√2 is irrational — who, and when?
the Pythagorean school, c. 450 BC.
derived from st/sqrt2-irrational by the attribution rule
Convergents are best approximations — who, and when?
Joseph-Louis Lagrange, 1770.
derived from st/cf-best-approx by the attribution rule
Formalisation 2
What is √2 is irrational called in Mathlib?
irrational_sqrt_two — Mathlib.NumberTheory.Real.Irrational
derived from st/sqrt2-irrational by the binding rule
What is Convergents are best approximations called in Mathlib?
GenContFract.convs — Mathlib.Algebra.ContinuedFractions.Basic
derived from st/cf-best-approx by the binding rule
Connections 8
Under the Information cost lens, how do Euclidean algorithm and Continued fractions relate? [Information cost]
The continued fraction of x is the quotient sequence of the Euclidean algorithm run on x. Identical work; the CF keeps only the quotients and discards the remainders, which is exactly where the magnitude information lived.
derived from information-cost:euclidean-algorithm→continued-fractions by the connection rule
Under the Information cost lens, how do Continued fractions and p-adic numbers relate? [Information cost]
Two representations that each throw away the same thing. Neither lets you read off how big a number is from a prefix of its expansion — the ordering information is simply not in the encoding.
derived from information-cost:continued-fractions→p-adic-numbers by the connection rule
Nested radicals and Continued fractions look like one thing. What separates them? [Forks]
An apparent fork that collapsed. Letting the root vary at each stage looks like a new family, but every canonical version is continued fractions conjugated by a logarithm — and the base of that logarithm turns out to be irrelevant, even numerically. Testing whether a fork is real is half the work of this lens.
Recorded as apparent: the resemblance is real, the mechanism is not shared.
derived from forks:nested-radicals→continued-fractions by the connection rule
Between Continued fractions and Orbits & itineraries, which way does the reasoning actually run? [Direction]
A continued fraction is the run-length encoding of a geodesic — the forward itinerary of the Gauss map. The digits stop being digits and become a record of where a point went.
derived from direction:continued-fractions→dynamical-systems by the connection rule
Between Euclidean algorithm and Continued fractions, which way does the reasoning actually run? [Direction]
Euclid's algorithm consumes a pair and reduces it; the continued fraction it produces generates approximations outward. The same recursion read as destruction or as construction depending on which end you stand at.
derived from direction:euclidean-algorithm→continued-fractions by the connection rule
What breaks on the way from Continued fractions to Distance information? [What breaks]
Proposed cost that was not one. Both discard something about distance, but not the same something: p-adic expansions are positional and linear, continued fractions relative and recursive. The refutation forced a distinction worth more than the conjecture.
Recorded as refuted: this edge was drawn and then withdrawn.
derived from what-breaks:continued-fractions→prop/distance by the connection rule
Under the Correspondence test lens, how do Nested radicals and Continued fractions relate? [Correspondence test]
Tested directly: nested radicals do have a series dual, via difference-of-squares telescoping, echoing continued fractions' own series representation. The pairing is real, but it isn't the same shape — it comes out all-positive rather than alternating, which is exactly what breaks optimality for nested radicals. A confirmed analogy that differs in a load-bearing way from the thing it was tested against.
derived from correspondence-test:nested-radicals→continued-fractions by the connection rule
In Mathlib, what is the import relation between Continued fractions and Rings & fields? [Dependency (Mathlib)]
`Mathlib.Algebra.ContinuedFractions.Basic` imports `Mathlib.Algebra.Field.Defs`. Read off Mathlib/Algebra/ContinuedFractions/Basic.html. No human asserted this edge.
derived from dependency:continued-fractions→rings-fields by the connection rule
Concepts 1
What is Continued fractions, in one sentence?
Write a number as an integer plus one over an integer plus one over… Unlike decimal it has no fixed alphabet, which is what buys it base-independence and best-approximation.
derived from continued-fractions by the concept rule