The proof of the Riemann hypothesis consists of 17 million lines of Lean code, raising questions about its length. An analysis of Lean proof collections shows that human-generated proofs are significantly shorter. For instance, while Mathlib has over 1,000 proofs, only 259 are associated with Lean, and AI-assisted proofs can reach much greater lengths, such as an 88 million line proof currently in progress.
Key facts
- The Riemann hypothesis proof is 17 million lines of Lean code.
- Mathlib contains over 1,000 proofs, with only 259 associated with Lean.
- Reservoir indexes 938 published Lean packages on GitHub.
- The AI-built proof Qiuzhen-CFSG/CFSG has 88 million lines.
- The AI version of Fermat’s Last Theorem proof is 450 times longer than the human-written version.
A short AI summary in our own words. The reporting belongs to Hacker News — Front Page; we don't reproduce it.