← News

ResearchSources: arXiv · 2 Dec 2026

Study traces how a 17-million-line Lean Riemann Hypothesis proof shrank to 2.8%

A new arXiv paper analyses three versions of a massive machine-checked Riemann Hypothesis proof and finds the condensed version was rewritten rather than pruned.

In plain words

A Lean proof is a formal, machine-checkable argument written in the Lean programming language. Researchers released a huge one for the Riemann Hypothesis, then volunteers produced a much shorter version. The paper's authors traced individual declarations across versions and found the shrinkage came from rewriting the text, not from deleting unused parts.

What was announced

The paper, posted on arXiv, examines a Lean 4 proof of the Riemann Hypothesis released on 20 November 2026 with 175,187 files and 17.4 million lines. Within a week, three versions existed: the original, a volunteer-consolidated branch of 47,885 modules and 14.6 million lines, and a condensed rewriting of 802 files and 0.48 million lines, about 2.8% of the original, which became the community's main line. Using compiled indexes and declaration-level dependency graphs, the authors traced declarations across versions to determine whether the reduction came from pruning or rewriting.

The findings point firmly to rewriting. Consolidation kept names: 92% of the consolidated branch's real declarations have a same-named counterpart in the original. But the condensed version shares almost nothing with the consolidated branch, with only 47 of its 26,018 real declarations in the dependency graph matching by name and statement, and just nine full names common to all three versions, the fixed statements of the challenge. Dropped declarations were not unused ones, and their use profile resembles the whole branch. Removing every consolidated-branch declaration unreachable from the five main theorems would cut declaration lines by only 2.8%, while the condensed version has 2.7% of the reachable lines. The condensed version is also organised differently, separating a library with no counted use of the proof-specific part. The authors discuss implications for checking and maintaining very large AI-written formal artifacts.

What it does not show

  • The source is only the paper's abstract, so the full article's methods, data and caveats are not available for verification.
  • The paper analyses one specific proof artifact; no independent confirmation of the measurements is implied.
  • The abstract does not state who wrote the original proof or how the condensed version was produced, so authorship and provenance remain unestablished here.

For security and IT teams

Scope
The paper's discussion of checking and maintaining very large AI-written formal artifacts is framed as relevant to those maintaining such codebases.
Status
The condensed version had become the community's main line within a week of the original release, according to the paper.

Sources

Source-support review completed 2 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.

Coverage: arXiv: abstract.

Updates and corrections

No corrections so far.

First published 2 Dec 2026

New to the subject? AI from the Ground Up starts from the beginning.