Claude-assisted Lean rewrites cut Levent Alpöge’s proposed Riemann Hypothesis proof to two smaller editions. By November 27, 2026, MIT reported that checks of both editions had finished. Luke Sernau and colleagues at Anthropic published the rewrites on November 25, using Claude. The project repository describes the work and its two editions; MIT’s verification page records the counts and checks.

How much smaller are the Lean rewrites?

MIT counts 112,827 total source lines in the compact edition, including 76,149 code lines. Its readability-oriented edition has 477,124 total lines and 299,902 code lines. The original development has 17,374,215 total lines and 15,531,759 code lines.

EditionTotal Lean source linesCode lines
Original17,374,21515,531,759
Readability-oriented477,124299,902
Compact112,82776,149

Total source lines include blank lines and comments. MIT counts code lines as nonblank, noncomment lines in Lean files. Comparing like with like, the compact edition has about 99.51% fewer code lines than the original; by total source lines, the reduction is about 99.35%. Those are separate calculations using MIT’s counts, not interchangeable measures.

What did the machine checks cover?

MIT reports successful builds, axiom checks and kernel and checker runs for both editions. Its comparison also says the two rewrites prove the same five theorems as the original development. Lean is a proof assistant: it checks a formalized argument against explicit rules, rather than presenting the reasoning as ordinary mathematical prose.

Michael Rubinstein’s University of Waterloo check record reports that all 794 compact-edition modules were accepted, with none rejected. Its completed multi-kernel run was not sandboxed because the cluster could not use the bwrap sandbox. That condition applies to the Waterloo run; MIT separately records sandboxed checks.

A successful machine check is a result about the formal Lean development; understanding the argument remains a separate task.

What remains for human review?

The project repository says the work has passed machine checks only, that no mathematician has read the proof through, and that no paper accompanies it. The check results therefore concern the formal development, not completed human review of a readable mathematical argument.

Readers looking for context on the earlier claim can revisit NeoTeo’s explanation of what Lean and Mathlib verified.