GPT-5.6 Sol autonomously derives and Lean-formalizes a theory of attention-head complexity

Human researchers invested substantial effort in specifying the mathematical model and acceptance criteria, but the theorem-generation run was then autonomous. The paper distinguishes this core run from a later author-initiated counterexample search.

What happened?

Viswanathan, Dimitrov, Rocca and Sirikonda define the head complexity H*(f) of a Boolean function in a one-layer attention-only transformer. They prove an exact linear-fractional normal form, the lower bound deg±(f) <= H*(f), exact values including H*(parity_n)=n, and a symmetric-function characterization. The paper reports that a single GPT-5.6 Sol agent derived the main Section 2 theorems in an approximately 9.5-hour one-shot run without web access or human intervention after the initial goal; the main results and an explicit strict-separation example are machine-checked in Lean.

Human researchers invested substantial effort in specifying the mathematical model and acceptance criteria, but the theorem-generation run was then autonomous. The paper distinguishes this core run from a later author-initiated counterexample search. The public repository formalizes twelve foundational results plus the separation counterexample, with no sorry/admit and only Lean's three standard axioms reported. Concurrent work establishes overlapping symmetric-function results in a different model.

Why it matters

The project exposes prompts, traces, theorem ledgers and formal proofs rather than only a polished final paper. It therefore provides unusually inspectable evidence for a long-horizon autonomous mathematical research workflow and connects AI4Math directly to the theoretical analysis of transformer architectures.

Significance rationale: This work is a field milestone because a single frontier-model research run autonomously developed several nontrivial theorems about transformer expressivity, including an exact linear-fractional normal form, a threshold-degree lower bound and an exact characterization for symmetric Boolean functions, and the resulting theory was subsequently formalized in Lean. The result is narrow in architectural scope but provides an unusually transparent example of autonomous theorem discovery about modern AI itself.

Historical context

Earlier developments

—

Later developments

—

Related milestones

—

Primary evidence

Evidence & status at a glance

Significance
H2 · Field milestone
Verification
Paper released
Evidence level
E3 · Inspectable artifact
AI role
Autonomous primary role
Formal assurance
Machine-checked

How should these labels be read? →

Contribution & verification

Mathematical novelty
New result
Interface
Informal, Formal, Symbolic, Hybrid
AI contribution
GPT-5.6 Sol generated the main theorem statements, derivations and constructions during a one-shot research run and later generated the Lean formalizations. A separate author-initiated search produced the strict-separation example.
Human contribution
The human authors chose the high-level research question, precisely specified the attention model and acceptance criteria, reviewed the generated mathematics, refined Lean code for readability and reuse, and curated the final paper.
Verification
Paper released · E3 · Inspectable artifact · Machine-checked
Last reviewed
2026-10-25

Technical details

Systems
gpt-5-6-sol, codex-desktop, lean
Organizations
—
Problems
attention-head-complexity
Methods
autonomous-theorem-discovery, threshold-degree, boolean-function-complexity, formal-verification

Sources & artifacts

Verification history

  • 2026-10-18 · Paper released · E3 · Inspectable artifact

    The arXiv paper documents the autonomous run and the public repository exposes the formalization. The repository reports twelve formalized theorems plus one counterexample, no sorry/admit and only standard Lean axioms. Chronicle has not independently replayed the project.

Corrections

No corrections recorded.