Codex reports all three Thue–Morse first-occurrence formulas

For Thue–Morse digit-sum parity t, maximum monochromatic progression length A(d)A(d), and earliest maximizing start i(d)i(d): i(2n+1)=3⋅22n−2n−1i(2^n+1)=3\cdot2^{2n}-2^n-1 for n≥2n\ge 2; i(22n−1)=3⋅24n−22n+1i(2^{2n}-1)=3\cdot2^{4n}-2^{2n}+1 for n≥1n\ge 1; and i(22n+1−1)=22n+1−1i(2^{2n+1}-1)=2^{2n+1}-1 for n≥0n\ge 0.

With step three, the first longest constant run starts at forty-five and has length eight. Step five starts at forty-three and step seven starts at seven.
The Thue–Morse digit at nonnegative index jj is the parity of the number of ones in its binary expansion. For fixed step dd, the length is the largest size of a progression whose selected digits are equal, and the start is the smallest index attaining it. The three rows specialize the general formulas to d=22−1d=2^2-1, 22+12^2+1, and 23−12^3-1, respectively. The source gives Lean statements for all three families.

What was already known

Joshi and Rust posed these three first-occurrence identities as Conjecture 3.8. Earlier work by Parshina and Aedo–Grimm–Nagai–Staynova established maximal-length results and block-recognition methods, but not the three earliest-start formulas.

How the result developed

  1. 4 Oct 2026 · Result reported [1]

    The original report reported the AI-assisted result.

Follow new evidence and revisions to this result.

Get email updates

Download contribution history

Contribution Assessment

AI involvementAI-led
ImportanceNotable
Technical verificationFormal (Lean 4)
Human understandingFew

AI involvement

The submitting account, ZestyDingo473, credits dot with proving all three first-occurrence formulas for the conjecture posed by Gandhar Joshi and Dan Rust. dot (OpenAI) developed the uniform all-start carry/desubstitution argument.

Importance

Resolves the three stated first-occurrence families of Joshi–Rust Conjecture 3.8 and supplies all-start classifications for two families.

Technical verification

The pinned package reports fresh compilation of seven Lean modules and a full audit of 323 source-owned declarations. The completed Headline.lean theorems state all three earliest-start formulas with their exact small-index ranges and global maximum definitions. This is a source-reported Lean check; AIProofWatch did not rebuild it, and no public CI or outside expert endorsement is claimed.

Checking evidence

The pinned package reports a fresh compilation of seven Lean modules and an audit of 323 source-owned declarations. Headline.lean states all three formulas with exact index ranges and completed proofs.

Checker
Lean 4 kernel, as reported by the source package
Scope
For Thue–Morse digit-sum parity t, maximum monochromatic progression length A(d)A(d), and earliest maximizing start i(d)i(d): i(2n+1)=3⋅22n−2n−1i(2^n+1)=3\cdot2^{2n}-2^n-1 for n≥2n\ge 2; i(22n−1)=3⋅24n−22n+1i(2^{2n}-1)=3\cdot2^{4n}-2^{2n}+1 for n≥1n\ge 1; and i(22n+1−1)=22n+1−1i(2^{2n+1}-1)=2^{2n+1}-1 for n≥0n\ge 0.
Basis
Source-reported

Human understanding

No named person is documented explaining the central argument. Editorial reading or a separate AI review does not establish human understanding. Few is the default from missing evidence, not a finding that people cannot explain it.

View revision history
· addition

Added the research timeline.

· addition

Added a source excerpt documenting AI involvement.

· publication

Pinned primary claim, prior baseline, AI attribution and checking scope reviewed.

Where the longest run first starts

Open SVG

With step three, the first longest constant run starts at forty-five and has length eight. Step five starts at forty-three and step seven starts at seven.
The Thue–Morse digit at nonnegative index jj is the parity of the number of ones in its binary expansion. For fixed step dd, the length is the largest size of a progression whose selected digits are equal, and the start is the smallest index attaining it. The three rows specialize the general formulas to d=22−1d=2^2-1, 22+12^2+1, and 23−12^3-1, respectively. The source gives Lean statements for all three families.The pinned package credits dot, an OpenAI agent, with the all-start argument, Lean formalization and proof audit. Joshi and Rust posed the three conjectured formulas.