Luke Sernau and Anthropic colleagues released two shorter Lean editions of the Claude-assisted formalization on November 25, 2026. Andrew Sutherland reports that the compact edition has 112,827 total lines and the readable edition 477,124; both passed the full comparator on a high-memory machine. A separate 128-GB run of the readable edition ended before one check finished and received no verdict.
A successful formal check answers whether encoded steps pass the proof system; a mathematician’s read-through answers a different question.
What changed in the Claude-assisted formalization
Sernau’s work rewrites Levent Alpöge’s formalization rather than announcing a separate result. It retains the same five theorem statements, covering the Riemann hypothesis and the Generalized Riemann Hypothesis for Dirichlet L-functions, according to Andrew Sutherland’s account of the checks. The release date and relationship to Alpöge’s work are recorded by Michael Rubinstein.
Lean is a proof assistant: it lets mathematicians encode a statement and its proof so software can check the formal steps. For background on the earlier formalization, see our coverage of what Lean and Mathlib checked.
HexaValuation’s video essay traces the shortened code’s structure with dependency maps and an eight-part walkthrough.
How the three editions compare
Sutherland reports the following counts. Total lines include comments and blank lines; code-only counts exclude them.
| Edition | Total Lean lines, including comments and blank lines | Code-only Lean lines |
| Original | 17,374,215 | 15,531,759 |
| Readable | 477,124 | 299,902 |
| Compact | 112,827 | 76,149 |
Keeping the two measures separate makes the comparison clearer: the total describes the full files, while the code-only figure counts nonblank, noncomment Lean source lines. The readable edition has substantially more room in its total count than in its code-only count because those totals include comments and blank lines.
What the computer checks established
Sutherland reports that both editions compiled, every module was replayed through Lean’s kernel, and additional checkers accepted both exports. The full lake comparator --paranoid run also passed for both editions on a high-memory machine.
The readable edition’s lean4lean stage required 332 GB of memory in Sutherland’s account. A separate run on a 128-GB machine stopped before that stage finished, so it produced no verdict; the full readable-edition check passed on the high-memory machine.
Computer verification and human review
Computer checkers tested the encoded proofs against formal rules. Sernau’s repository says no mathematician has read the proof through and that no accompanying paper exists. The machine-check results and the project’s stated human-review status therefore describe different parts of the work.