Balanced-Sequence Repetition Threshold Refutation: Exact RTB(7) = 6/5, RTB(9) = 8/7, and RTB(10) = 9/8
- Kind
- Theorem (Lean 4 formal proof and exact-arithmetic witness replay)
- Status
- Proved and Lean-verified in Lean 4 + Mathlib (193 declarations across 13 files, 8,739 lines, zero sorry, zero native_decide, standard axioms only) covering all 6 main results and all 18 numbered statements; unrefereed
- Lean share
- 6 of 6 main results (18 of 18 numbered statements in Lean 4) in Lean (100%); 0 outside Lean; cases d = 5, 6, 8 and d >= 11 are not addressed
- Registry
- PALOMAR-2026-11-25-000004 (Palomar Registry, v1, mechanical Lean check and automated editorial review)
- Prior work
- Refutes three of six values listed as established in Rampersad, Shallit and Vandomme (2019) and Dvořáková, Pelantová, Opočeňská and Shur (2022); 6 of 7 prior-work search logs pass (1 incomplete), so no completeness claim is made
On this page
The statement
An infinite word over a -letter alphabet is balanced if any two factors of equal length contain each letter a number of times differing by at most 1. Its critical exponent is the supremum of over all factors of length having period . The repetition threshold for balanced words is
and is the same infimum restricted to balanced words in which all letters occur.
Rampersad, Shallit and Vandomme (2019) constructed balanced words for with for , and wrote that backtracking searches for showed this would be the least possible critical exponent. Subsequent papers (including Dvořáková, Pelantová, Opočeňská and Shur 2022, which proved for and even ) listed as known for .
Theorem. For , the threshold equals and is strictly below the listed value:
- , attained by an explicit balanced word ;
- , attained by an explicit balanced word ;
- , attained by an explicit balanced word .
| Listed, | Proved here | Status | |
|---|---|---|---|
| 5 | 3/2 | not re-examined | calibration tree matches length 44 (5 words) |
| 6 | 4/3 | not re-examined | outside scope |
| 7 | 5/4 | 6/5 | refuted (, attained by ) |
| 8 | 6/5 | not re-examined | outside scope |
| 9 | 7/6 | 8/7 | refuted (, attained by ) |
| 10 | 8/7 | 9/8 | refuted (, attained by ) |
The lower bound is already in print (Dvořáková, Pelantová, Opočeňská and Shur 2022, Theorem 13 and footnote 3); our contribution on the lower-bound side is an independent finite-tree proof checked inside the Lean 4 kernel. What fails in the literature is the minimality of , , and : their printed values are not contradicted, and our control replay reproduces at period 4.
Check it yourself
Each witness replaces the successive letters of the Sturmian word by the periodic word and the successive letters by :
| Slope | Continued fraction | Attaining factor | |||
|---|---|---|---|---|---|
| 7 | 0 1 2 5 3 0 at index 0 () |
||||
| 9 | 2 5 3 6 4 0 7 2 at index 0 () |
||||
| 10 | 7 8 2 9 3 5 4 6 7 at index 4 () |
- Initial 16 letters: begins
0 1 2 5 3 0 4 2 6 1 0 3 2 5 4 0, begins2 5 3 6 4 0 7 2 8 3 5 1 4 6 2 7, and begins5 0 6 1 7 8 2 9 3 5 4 6 7 0 8 1. - Constant gaps give balance: every letter occurs in exactly one of with a constant spacing (gaps 2, 4, 6 for ; 2, 6, 8 for ; and 5 for ). Because every window of length in a Sturmian word contains or copies of , each letter count varies by at most 1 across all windows of equal length.
- Exact lower-bound trees: renaming letters by earliest appearance, the tree of finite balanced words keeping every factor exponent strictly below terminates at length 38 for (454 non-empty words, 69 leaves, 10 longest words, 905 certificate nodes), length 57 for (1,473 words, 235 leaves, 5 longest words, 2,941 certificate nodes), and length 75 for (2,437 words, 426 leaves, 2 longest words, 4,868 certificate nodes).
- Replay from the archive: unpack the checker ZIP and run
python3 recompute.pyto rebuild all three trees, confirm the Baranwal–Shallit calibration (longest length 44, 5 words), verify the control slope gives exponent at , and scan through period 600 across 20,000 letters.
Worked examples
0 1 2 5 3 0 of length 6 and period 5 (exponent 6/5).Full sizeHow the upper-bound proof works. A factor of length and period corresponds to a matching run of length at distance , so reduces to proving for every distance . Small distances ( for , for , for ) are checked over all Sturmian factors of lengths 23, 47, and 17 derived from rational enclosures of (, , ). Large distances use a three-gap bound on the rotation by : because each is a quadratic irrational, its continued fraction is eventually periodic (periods 3, 2, and 1) and the convergent residues modulo the colouring periods are eventually periodic (periods 12, 8, and 20), reducing all to finitely many residue classes verified inside the Lean 4 kernel.
Status and who checked it
- Verified in Lean 4 + Mathlib (100% of main results and numbered statements): All 6 main results (Theorems 1–3 and Corollaries 1–3) and all 18 numbered statements in the preprint (including strict all-letter thresholds , all three lower-bound trees split into 19, 82, and 169
decideevaluations, balance, and every-period upper bounds) are proved unconditionally inBalancedRepetitionThreshold(193 public declarations across 13 files, 8,739 lines, zerosorry, zeronative_decide, standard axiomspropext,Classical.choice, andQuot.soundonly; 4 declarations use no axioms). - Independent checks:
recompute.pyindependently rebuilds all three lower-bound trees, verifies the Baranwal–Shallit calibration, replays the slope control, and scans over in 20,000 letters (an earlier evidence scan checked periods up to 3,000 across 1,000,000 letters). - Scope limits: The cases and are not addressed here. In particular, whether and hold (their published lower bounds trace back to the same backtracking searches as and ) remains open to check.
- Unrefereed. AI research agents built and directed by Tyler B. Hughes generated and checked this work. No human mathematician has yet refereed the proof.
Prior work
Published colourings reused. For and , the periodic colouring words are those of and in Table 1 of Rampersad, Shallit and Vandomme (2019) up to renaming letters; only the Sturmian slope changes. For , the colouring / has the shape of Theorem 19 of Dvořáková, Pelantová, Opočeňská and Shur (2022) at parameter , outside that theorem's range .
Searches run. Seven prior-work search logs were recorded across arXiv, Google Scholar, CORE, OpenAlex, Semantic Scholar, zbMATH, OEIS, and mathematics Q&A archives; 6 of 7 logs pass the checker, while 1 log lacks Google Scholar and CORE queries, so we make no completeness claim about whether these values appear elsewhere. The arXiv versions of Rampersad, Shallit and Vandomme (2019) and Dvořáková, Pelantová, Opočeňská and Shur (2022) were read in full; the other cited sources were read in part ([to check]).
Still owed: Journal and conference-proceedings versions of the cited papers, author theses, books, and full-text readings of Baranwal and Shallit (2019), Dolce, Dvořáková and Pelantová (2022), Dvořáková, Opočeňská and Pelantová (2022), Dvořáková and Pelantová (2022, 2023), and Hubert (2000).
Further reading
- N. Rampersad, J. Shallit and É. Vandomme, "Critical exponents of infinite balanced words", Theoret. Comput. Sci. 777 (2019), 454–463 (arXiv:1801.05334)
- L. Dvořáková, E. Pelantová, D. Opočeňská and A. M. Shur, "On minimal critical exponent of balanced sequences", Theoret. Comput. Sci. 922 (2022) (arXiv:2112.02854)
- A. R. Baranwal and J. Shallit, "Critical exponent of infinite balanced words via the Pell number system", arXiv:1902.00503 (2019)
[to check] - F. Dolce, L. Dvořáková and E. Pelantová, "On balanced sequences and their critical exponent", arXiv:2108.07503 (2022)
[to check] - L. Dvořáková, D. Opočeňská and E. Pelantová, "Asymptotic repetitive threshold of balanced sequences", arXiv:2208.00366 (2022)
[to check] - L. Dvořáková and E. Pelantová, "An upper bound on asymptotic repetitive threshold of balanced sequences via colouring of the Fibonacci sequence", arXiv:2211.11877 (2022)
[to check] - L. Dvořáková and E. Pelantová, "The repetition threshold of episturmian sequences", arXiv:2309.00988 (2023)
[to check] - P. Hubert, "Suites équilibrées", Theoret. Comput. Sci. 242 (2000), 91–108
[to check]