The latest evidence of the Riemann assumption came alongside a figure attached: the evidence is 17 myriad lines of Lean. Beyond the philosophical questions of what it method to have a evidence longer than any individual could comprehend, I’m remaining alongside a simpler question: is that as ample as it sounds?
To investigate, I hunted for collections of Lean proofs online. I established two and charted the lengths of their proofs.
(All charts have a log x axis, which makes 17m lines appearance a lot nearer to 1m and 100k than it really is.)
Famous theorems in Mathlib
Mathlib maintains a gathering of celebrated proofs. There are complete 1k but lone 259 have Lean associated, which I diagram here.
These are all individual generated, and as we can see, they arrive nowhere near to 17m.
Every Lean bundle on Reservoir
Reservoir indexes all published Lean package, 938 of which have Lean code on GitHub. This one has a lot additional data, including AI assisted proofs. We equal have a few that are complete 16m!:
88m: Qiuzhen-CFSG/CFSG this appears to be an AI built evidence that is motionless a activity in progress.
36m: CBirkbeck/LeanBridge, a project linking the LMFDB repository of figure theory objects to Mathlib. This isn’t really a proof: concerning 98% of its Lean is records generated by scripts that inspect the database’s numbers one by one. The hand-written part is nearer to 500k lines.
27m: anthropics/fermats-last-theorem is another Anthropic special: a complete evidence of Fermat’s Last Theorem, published on GitHub in September. Its README says “the Lean sources were produced by AI agents construction on human-written open-source Lean”, including the human FLT project led by Kevin Buzzard, which is concerning 60k lines and motionless in progress. The AI type is approximately 450 times longer.
So yes, 17m lines is a lot.
