logoalt Hacker News

jkhdigital • last Saturday at 5:34 PM • 8 replies • view on HN

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.


Replies

remus • last Saturday at 8:00 PM

> ...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.

➕ show 2 replies
kriztw • last Saturday at 5:47 PM

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.

➕ show 1 reply
rithn • last Saturday at 5:51 PM

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.)

➕ show 3 replies
stingraycharles • yesterday at 12:12 AM

I can imagine that this is the equivalent of the Principia Mathematica of modern times.

sowbug • last Saturday at 5:35 PM

Anyone who has taken a coffee break during vibe coding will be familiar with the perils of unsupervised universe reinvention.

➕ show 1 reply
bawolff • yesterday at 5:39 AM

I guess its the same way a trivial statically compiled hello world gui app might take many megabytes after pulling in all the libraries.

hashmap • yesterday at 9:45 AM

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.

➕ show 1 reply
otabdeveloper4 • yesterday at 10:07 AM

> 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.

➕ show 1 reply