Yeah I’m wondering how on Earth a single conjecture can require 17 million lines of code to prove, but if it involved building up an entire ecosystem of theorems that had not yet been formalized then I suppose it makes sense.
The proof has also been built in parallel, so it's possible to mechanically shrink it a lot. Some equivalent lemmas have been proven more than a hundred times independently because different agents needed them.
I mapped the 175k files by imports into 2,647 clusters in 63 themes: https://riemannhypothesissolved.com
The main theorem's cluster directly imports only three others: a zero-free region, primes in progressions and Mertens-type zero sums. Most of the code sits 3–5 import steps below those, and no theme is more than about 4% of the code.
(I made the map. Cluster names are written by Claude from code samples, so they can be wrong.)
I can imagine that this is the equivalent of the Principia Mathematica of modern times.
Anyone who has taken a coffee break during vibe coding will be familiar with the perils of unsupervised universe reinvention.
I guess its the same way a trivial statically compiled hello world gui app might take many megabytes after pulling in all the libraries.
it doesnt. a cursory pass suggests 3-9 million of these LOC are duplicate or dead on the low end. it'll probably be faster to remove the dead code than to run it end to end in its current state against everything.
> Yeah I’m wondering how on Earth a single conjecture can require 17 million lines of code to prove,
It's 100% slop and bullshit.
If you've ever done simpler math with an AI you know what I mean.
> ...if it involved building up an entire ecosystem of theorems that had not yet been formalized then I suppose it makes sense.
This is pretty much it. Pre LLMs very little maths had been formally verified and a lot of it relied on proofs from humans convincing other humans, and issues did arise which would occasionally mean chunks of maths we previously thought were true had to be reconsidered.
Proving something in lean probably involves writing a lot of proofs for new areas, and the formal proofs are usually significantly more verbose than a human proof where a lot is often left for the reader.