Badkobeh and Ochem's word b5: coding, complexity 4n + 1, and critical exponent

Visual overview from the paper. Full size
Edition 3 · On this site since · last revised · Verify & co-author
Kind
Theorem (Lean 4 proofs and exact verification archive)
Status
Proved and verified in Lean 4 (514 audited declarations, zero sorry, zero native_decide, standard axioms only), covering coding, 4n + 1 complexity, Fibonacci and Rote-Fibonacci projections, and exact unattained critical exponent (5 + sqrt(5))/4; unrefereed
Lean share
4 of 4 headline questions and observations in Lean (100%)
Registry
PALOMAR-2026-11-24-000006 (Palomar Registry, v1, mechanical Lean check and automated editorial review)
Archive
10.5281/zenodo.24490746 (Zenodo / CERN, v1.0.0: 10.5281/zenodo.24490747)
Prior work
Not found in the searches logged; answers both explicit requests and both observations in Badkobeh and Ochem (2015)
On this page
  1. The statement
  2. Check it yourself
  3. Worked examples
  4. Status and who checked it
  5. Prior work
  6. Further reading

The statement

In 2015, Golnaz Badkobeh and Pascal Ochem (Theoret. Comput. Sci. 588) introduced the 5-letter infinite word b5=f5∞(0)=01234210423010421…b_5 = f_5^\infty(0) = 01234210423010421\dots, fixed point of the morphism

0↦01,1↦23,2↦4,3↦21,4↦0.0 \mapsto 01,\quad 1 \mapsto 23,\quad 2 \mapsto 4,\quad 3 \mapsto 21,\quad 4 \mapsto 0.

In their Concluding Remarks they asked for proofs that b5b_5 has factor complexity 4n+14n + 1 and critical exponent (5+5)/4(5 + \sqrt{5})/4, and observed that gfib(b5)g_{\mathrm{fib}}(b_5) (where gfib:0↦01,1↦0,2↦1,3↦0,4↦0g_{\mathrm{fib}}: 0 \mapsto 01,\allowbreak 1 \mapsto 0,\allowbreak 2 \mapsto 1,\allowbreak 3 \mapsto 0,\allowbreak 4 \mapsto 0) appears to have the same factors as the Fibonacci word.

Theorem. Let φ=(1+5)/2\varphi = (1 + \sqrt{5})/2 be the golden ratio. 1. (3-interval exchange coding.) Assigning letter weights gives a partition of J=(−φ2/2,φ3/2)J = (-\varphi^2/2,\allowbreak \varphi^3/2) into five open subintervals P2,P0,P4,P1,P3P_2,\allowbreak P_0,\allowbreak P_4,\allowbreak P_1,\allowbreak P_3 such that b5b_5 is the exact symbolic itinerary of 00 under the 3-interval exchange TT translating P2P_2 by +φ2+\varphi^2, P0P_0 by +1+1, and P4∪P1∪P3P_4 \cup P_1 \cup P_3 by −φ-\varphi. 2. (Complexity and Fibonacci link.) For every n≥1n \ge 1, b5b_5 has exactly 4n+14n + 1 distinct factors of length nn, and gfib(b5)g_{\mathrm{fib}}(b_5) has the exact same set of factors as the Fibonacci word. 3. (Critical exponent.) Every factor ww of b5b_5 with period pp satisfies ∣w∣/p<(5+5)/4=1+φ/2≈1.80901699|w|/p < (5 + \sqrt{5})/4 = 1 + \varphi/2 \approx 1.80901699, and factors approach this ceiling arbitrarily closely. Thus the critical exponent of b5b_5 is exactly (5+5)/4(5 + \sqrt{5})/4 and is never attained.

Check it yourself

  • Orbit of 00 under TT: x0=0∈P0x_0 = 0 \in P_0 (letter 00), x1=1∈P1x_1 = 1 \in P_1 (11), x2=1−φ≈−0.618∈P2x_2 = 1 - \varphi \approx -0.618 \in P_2 (22), x3=2∈P3x_3 = 2 \in P_3 (33), x4=2−φ≈0.382∈P4x_4 = 2 - \varphi \approx 0.382 \in P_4 (44), x5=2−2φ≈−1.236∈P2x_5 = 2 - 2\varphi \approx -1.236 \in P_2 (22). The first 17 orbit points spell 01234210423010421, matching b5b_5 letter for letter (checked exactly in Q(5)\mathbb{Q}(\sqrt{5}) across 294,627 letters).
  • Near-record repetitions approaching (5+5)/4≈1.80901699(5 + \sqrt{5})/4 \approx 1.80901699:

| period pp | length ∣w∣|w| | exponent ∣w∣/p|w|/p | gap φp−2m\varphi p - 2m | |---:|---:|---:|---:| | 2 | 3 | 1.500000000 | 1.236068 | | 11 | 19 | 1.727272727 | 1.798374 | | 44 | 79 | 1.795454545 | 1.193496 | | 116 | 209 | 1.801724138 | 1.691943 | | 305 | 551 | 1.806557377 | 1.500367 | | 798 | 1443 | 1.808270677 | 1.191123 | | 2090 | 3780 | 1.808612440 | 1.691036 | | 3383 | 6119 | 1.808749631 | 1.808984 | | 14328 | 25919 | 1.808975433 | 1.190991 |

  • Replay from the archive: unpack the downloaded checker ZIP and run python3 by_hand.py and python3 repetitions.py.

Worked examples

Figure 1. Iterating f5f_5 from 00: 0↦010 \mapsto 01, 1↦231 \mapsto 23, 2↦42 \mapsto 4, 3↦213 \mapsto 21, 4↦04 \mapsto 0.Full size
Figure 2. Exact factor counts confirming p(n)=4n+1p(n) = 4n + 1 for b5b_5 and Fibonacci complexity n+1n + 1 for gfib(b5)g_{\mathrm{fib}}(b_5).Full size

Status and who checked it

  • Verified in Lean 4 (pure kernel): all four headline questions and observations (5-interval exchange coding, factor complexity 4n+14n + 1, Fibonacci projection gfib(b5)g_{\mathrm{fib}}(b_5), Rote-Fibonacci projection grf(b5)g_{\mathrm{rf}}(b_5), and exact unattained critical exponent (5+5)/4(5 + \sqrt{5})/4 across all 338 seed buckets) are proved unconditionally in lean/BadkobehOchemB5/ (514 audited declarations, zero sorry, zero native_decide, standard axioms only), shipped in the downloadable archive.
  • Additional numerical checks: p(n)=4n+1p(n) = 4n + 1 checked to n=1,000,000n = 1,\allowbreak 000,\allowbreak 000; no repetition at or above (5+5)/4(5 + \sqrt{5})/4 up to period 1,500,0001,\allowbreak 500,\allowbreak 000 across 8,388,6088,\allowbreak 388,\allowbreak 608 letters (and across 16,777,21616,\allowbreak 777,\allowbreak 216 letters in review).
  • Unrefereed. No human referee has read the proofs.

Prior work

Searches run. Logged searches read Badkobeh and Ochem (2015) and their sequel (arXiv:2312.10757v2, August 2025; author copy of Theoret. Comput. Sci. 1072, 2026, #115875), which restates b5b_5 without proving its complexity, gfib(b5)g_{\mathrm{fib}}(b_5) equivalence, or critical exponent. These proofs were not found in the searches logged.

Still owed. The publisher's typeset Elsevier copy of Theoret. Comput. Sci. 1072 (2026) #115875 returned HTTP 403 (agents read the author's copy linked from Ochem's page).

Further reading