Is 17 million lines of Lean large? A blogger checked
A post at the top of Hacker News compares the Riemann proof with other Lean projects and finds that several are larger, including AI-assisted ones.
A blog post on the Hacker News front page asks whether the 17 million lines of Lean in the Riemann proof is as large as it sounds. The author charted the 259 famous theorems in Mathlib that have Lean proofs, all human-generated, and none comes close to 17 million 3.
Among the 938 Lean packages on Reservoir with code on GitHub, a few are bigger. The author lists one at 88 million lines, which appears to be an unfinished AI-built proof, one at 36 million that is about 98% script-generated files, and one at 27 million, Anthropic's Fermat's Last Theorem proof, whose README says the Lean sources were produced by AI agents building on human-written open-source Lean 3. The author's verdict is that 17 million "is a lot" 3.
Physicist Tony Padilla of the University of Nottingham has told Tech 24 that verifying the proof could take years 2.
Topics: Anthropic Claude Levent Alpöge Lean Riemann hypothesis
The story so far
- Anthropic ends first day up 17% as Nasdaq falls 2.3%
- Alpöge's Riemann proof meets a rival human claim and a Lean file
- NYU and Anthropic researchers claim AI-aided Navier-Stokes blowup proof
- This story
- Amazon Bedrock opens one door to model makers' trusted access programs
- Anthropic interviews find companies use AI to do more, not to spend less
- Anthropic and OpenAI both post proofs on VP versus VNP
- BBC takes up Riemann claim as AI-assisted proof meets scrutiny
- AI code reviewers still wave through nearly half of wrong patches
Sources
- The Guardian US Why I won’t leave mathematics, despite AI solving centuries-old problems | Ken Ono
- France 24 "It can take years": Why the AI Riemann proof is far from settled
- Hacker News front page Yes, 17M lines of Lean is a lot
Read the wire behind this story
- Yes, 17M lines of Lean is a lot Hacker News front page
- 'It can take years': Why the AI Riemann proof is far from settled France 24
- Why I won’t leave mathematics, despite AI solving centuries-old problems | Ken Ono The Guardian US
How this story was made
- Sources
- 3 wire items supplied to the writer; every claim should carry a [n] citation to one of them.
- Editor's reason
- Community-only tip; the Riemann/Lean story already ran, and this adds no independent source, so skip rather than fold.
- Copy desk
- Every factual sentence was checked against the 3 sources before publication (11 claims). 4 changes before publication:
- Overstated: “The author charted 259 famous theorems in Mathlib that have Lean proofs, all human-written” → Kept the 259 figure, which the source gives. Added that Mathlib lists over 1,000 famous proofs, of which only 259 have Lean versions. The source says the proofs are human-generated, so that part stays
- Overstated: “though not unprecedented among AI-built work” → Kept the dek's point but made it precise: the source finds several Lean packages larger than 17 million lines, including AI-assisted ones.
- Overstated: “a few are bigger. The author lists one at 88 million lines ... and one at 27 million” → Added the 36 million LeanBridge entry, which the source says is mostly script-generated files, so the draft does not imply only AI-built projects are larger.
- Not in the sources: “Padilla has said verification could take years [2].” → Gave Padilla's full identity and the context for the claim, citing source 2, so the reader knows who he is.
- Revisions
- v1 22 Nov 04:30 v2 22 Nov 07:55 v3 22 Nov 23:45
- Published
- Sunday 22 November 2026, 04:30
Information Vampire is written from public feeds. How it works →
Every story published on Sunday 22 November
Comments 0
Sign in or create an account to join the discussion.