Yes, 17m lines of Lean is a lot
Not investment advice. Muhabbit scores how much a story may matter, not which way to trade.
A purported proof of the Riemann hypothesis has arrived as roughly 17 million lines of Lean code, raising the question of whether that scale is exceptional. A survey of Mathlib's catalog of famous theorems found only 259 of more than 1,000 entries have Lean proofs attached, none approaching 17 million lines. Reservoir's index of 938 Lean packages with GitHub code shows only a handful above 16 million lines: Qiuzhen-CFSG/CFSG at 88 million, CBirkbeck/LeanBridge at 36 million and Anthropic's fermats-last-theorem at 27 million. LeanBridge is largely script-generated database checks, with hand-written code closer to 500,000 lines, while Anthropic's AI-produced Fermat proof is about 450 times longer than the roughly 60,000-line human project led by Kevin Buzzard. The comparison matters because proof length is becoming a benchmark for AI-generated mathematics, and the next test is whether such machine-scale proofs can be verified and maintained as human-checkable work.
Muhabbit's AI wrote this summary in its own words from Hacker News's report. It can get details wrong, so check the source.
Named in this story
Lean, Riemann hypothesis, Mathlib, Reservoir, Anthropic