Zaremba Five Finite Front
Abstract
A fuelled Euclidean checker and a kernel-decided witness table certify the bound five for every denominator from two through 1024.
The quotient trace records the Euclidean quotient and recurses on the strictly smaller remainder. The Boolean checker separately tests coprimality, numerator range, and the digit bound.
Definition 1.1 (Fuelled Euclidean quotient trace).
Formalization. D5/S1/Depth/ContinuedFractions/ZarembaFiveFiniteFront.cfDigitsAux (✓ std3).
Source. Repository-derived.
Commentary.
The zero-fuel trace is empty. At positive fuel, a zero divisor again gives the empty trace; otherwise the next digit is the natural-number quotient and recursion continues with the divisor and remainder.
Definition 1.2 (Continued-fraction digits).
Formalization. D5/S1/Depth/ContinuedFractions/ZarembaFiveFiniteFront.cfDigits (✓ std3).
Source. Repository-derived.
Commentary.
The public quotient trace starts the fuelled recursion with q plus one steps.
Definition 1.3 (Zaremba witness).
Formalization. D5/S1/Depth/ContinuedFractions/ZarembaFiveFiniteFront.ZarembaWitness (✓ std3).
Source. Repository-derived.
Commentary.
A witness is coprime to the denominator, lies strictly between zero and the denominator, and has every continued-fraction digit at most A.
Definition 1.4 (Zaremba Boolean checker).
Formalization. D5/S1/Depth/ContinuedFractions/ZarembaFiveFiniteFront.zarembaCheck (✓ std3).
Source. Repository-derived.
Commentary.
The checker is the Boolean conjunction of the three arithmetic tests and the bounded-digits test.
Definition 1.5 (Explicit Zaremba-five witness table).
Formalization. D5/S1/Depth/ContinuedFractions/ZarembaFiveFiniteFront.zarembaFiveWitnessTable (✓ std3).
Source. Repository-derived.
Commentary.
This is the explicit kernel-decided list of numerator witnesses indexed by q from zero through 1024. Its concrete Lean value has length 1025.
Definition 1.6 (Zaremba-five numerator lookup).
Formalization. D5/S1/Depth/ContinuedFractions/ZarembaFiveFiniteFront.zarembaFiveNumerator (✓ std3).
Source. Repository-derived.
Commentary.
The numerator for q is the q-th table entry, with zero as the out-of-range default.
Theorem 1.7 (Euclidean checker soundness).
Proof. Machine-checked in Lean as D5/S1/Depth/ContinuedFractions/ZarembaFiveFiniteFront.cfDigits_checker_sound (✓ std3). ∎
Source. Repository-derived.
Commentary.
These three clauses expose the quotient-remainder recursion, strict remainder descent, and Boolean-to-propositional soundness.
Theorem 1.8 (Public finite Zaremba certificate).
Proof. Machine-checked in Lean as D5/S1/Depth/ContinuedFractions/ZarembaFiveFiniteFront.zarembaFiveCertificate (✓ std3). ∎
Source. Repository-derived.
Commentary.
This publicly addressable theorem is the named finite escape witness. Lean’s kernel evaluates all 1025 rows of the witness table.
Theorem 1.9 (Zaremba five through 1024).
Proof. Machine-checked in Lean as D5/S1/Depth/ContinuedFractions/ZarembaFiveFiniteFront.zaremba_five_upto_certified (✓ std3). ∎
Source. Repository-derived.
Commentary.
The embedded 1025-row table is checked by Lean’s kernel decision procedure. Each admissible denominator selects its table row and checker soundness converts that row into a witness.
The remaining conjuncts pin the smallest denominator, the minimal numerator at 54, two exact quotient traces, and rejection when the digit six exceeds the bound five.
References
- Truth anchor:
D5/S1/Depth/ContinuedFractions/ZarembaFiveFiniteFront.ZarembaWitness - Truth anchor:
D5/S1/Depth/ContinuedFractions/ZarembaFiveFiniteFront.cfDigits - Truth anchor:
D5/S1/Depth/ContinuedFractions/ZarembaFiveFiniteFront.cfDigitsAux - Truth anchor:
D5/S1/Depth/ContinuedFractions/ZarembaFiveFiniteFront.cfDigits_checker_sound - Truth anchor:
D5/S1/Depth/ContinuedFractions/ZarembaFiveFiniteFront.zarembaCheck - Truth anchor:
D5/S1/Depth/ContinuedFractions/ZarembaFiveFiniteFront.zarembaFiveCertificate - Truth anchor:
D5/S1/Depth/ContinuedFractions/ZarembaFiveFiniteFront.zarembaFiveNumerator - Truth anchor:
D5/S1/Depth/ContinuedFractions/ZarembaFiveFiniteFront.zarembaFiveWitnessTable - Truth anchor:
D5/S1/Depth/ContinuedFractions/ZarembaFiveFiniteFront.zaremba_five_upto_certified