Blog post on 17-million-line Lean artifact sparks LLM proof debate
A blog post at micjm.com argues that a 17-million-line Lean proof is unusually large and examines the implications for review and correctness. The post sparked a Hacker News discussion in which commenters debated whether LLM-assisted proofs of that size can be trusted, with some warning that errors could hide in converted sub-proofs or in the sheer volume of code. Commenters also said the artifact had been shrunk to 13 million lines, a claim that was not independently verified in the available reporting.
Verified and unconfirmed
- Verified: A blog post at micjm.com argues that a 17-million-line Lean proof is large enough to raise review concerns, and Hacker News commenters discussed the implications for LLM-assisted proof generation.
- Not yet confirmed: That the proof is LLM-generated, that it concerns the Generalized Riemann Hypothesis, and that it has been reduced to 13 million lines all rest on community comments and were not established by the available source material.
Background
Lean is a proof assistant in which proofs are written as code and checked by a small trusted kernel, so a formalization can in principle be verified mechanically instead of read line by line — which is why the size of a Lean development matters as a practical review problem. This artifact traces to a November 20, 2026 note by mathematician Levent Alpöge, who said that working with Claude he believed he had found a proof of the Riemann Hypothesis and of the Generalized Riemann Hypothesis for Dirichlet L-functions, and released it as a Lean development of 175,187 files and roughly 17 million lines, with no accompanying paper, according to a University of Waterloo page that collects checks of the proof.
Community discussion
Commenters questioned whether LLM-generated proofs of millions of lines can be trusted, with one arguing that a large proof has a larger attack surface and another suggesting an incorrect converted sub-proof could be the failure point rather than a Lean bug. A further commenter noted the artifact had reportedly shrunk from 17 million to 13 million lines, while others worried that no human will ever review code of that size.
Comments
Comments use a GitHub account and are moderated. Comment rules