Codex project gives exact Thue–Morse matching heights

For the Thue–Morse target in Alexander’s binary avoiding population, the project gives an attained exact maximum matching-path length L(v)L(v) for every natural starting vertex v, including zero, through a seven-case formula based on the factorization of ⌊v/2⌋+1\lfloor v/2\rfloor +1 and adjacent digit-parity bits. It also proves a finite digit recurrence.

What was already known

Alexander’s population model and an earlier Codex classification showed that every start has finite matching height for non-eventually-periodic targets. They did not give this exact all-start Thue–Morse formula.

How the result developed

  1. 25 Sept 2026 · Result reported [1]

    The original report describes the AI-assisted result.

  2. 25 Sept 2026 · Formal checking [2]

    The proof project reported that CI passed for the Lean development proving the attained matching heights and upper bounds.

Follow new evidence and revisions to this result.

Get email updates

Download contribution history

Contribution Assessment

AI involvementAI-centered
ImportanceModest
Human understandingFew

AI involvement

A human collaborator selected the earlier Thue–Morse paper and directed the research. The project credits Codex with the extension to exact matching heights. developed the new construction, arguments, formalization, exact checks and exposition.

Importance

The formula adds a sharp quantitative description for one target in the established avoiding population.

Technical verification

The source reports a Lean proof of attained maxima and upper bounds at every starting vertex, with no added axioms and an explicit selected axiom report. The September 25 CI run passed. Finite experiments were discovery aids, not the verification basis.

Machine checking

Compile selected Lean declarations with cited imports; inspect reported axiom footprint and passing CI run

Checker
Lean compiler/kernel in the project's September 25 GitHub Actions run
Scope
FullHeight.height_formula, height_closed_form and height_isMaximum for actual Thue–Morse population paths at every start
Basis
Source-reported

Human understanding

Default for undocumented human understanding: the detailed trajectory explanation is in the AI-developed project, and no independent human account is identified.

View revision history
· addition

Added the research timeline.

· addition

Added a source excerpt documenting AI involvement.

· publication

The formula adds a sharp quantitative description for one target in the established avoiding population.