Lurker News
Related: Hurried Announcement: Alessandro Masullo GRH - https://news.ycombinator.com/item?id=50579568

Comments (2,121) 275 threads

djoldman17 replies#
These proofs really are quite huge. The proof is 1.3GB, ~15M lines of code:

  mkdir -p riemann_proof && cd riemann_proof

  # fetch parts 01–14
  for i in {01..14}; do
    curl -fSL -o lean.tar.gz.part$i https://alpo.ge/lean.tar.gz.part$i || { echo "failed: part$i"; break; }
  done

  # join and decompress (creates ./lean)
  cat lean.tar.gz.part{01..14} > lean.tar.gz
  tar xzf lean.tar.gz

  # size, file count, line counts
  du -sh lean | cut -f1 | xargs printf '%s on disk (lean folder)\n'
  find lean -name '*.lean' | wc -l | xargs printf '%s .lean files\n'
  find lean -name '*.lean' -print0 | xargs -0 cat | wc -l | xargs printf '%s lines total\n'
  find lean -name '*.lean' -print0 | xargs -0 cat | grep -cv '^[[:space:]]*$' | xargs printf '%s non-blank lines\n'
stabbles3 replies#
And presumably you need hundreds of GBs of RAM to compile it. Would be nice if someone with a beefy machine could confirm?
igleria#
some randos on twitter I've seen are on it as we speak, but the real deal would be other mathematicians confirming the proof is written correctly.
sva_#
You could run it with limited RAM, just not many Lean processes in parallel. Just need some disk space for the compiled files.
pama1 reply#
About 1 1/2 hour in, my estimate is it takes about one day on a single DGX spark. We will see.
pama#
Proof verified. Less than a day on one spark.
itsthecourier4 replies#
why a lean proof is so big? it needs to be compiled and tested with a lot of cases or what may it be?
ht-syseng#
judging by claudes review because it actually rebuilds and proves a bunch of stuff in mathlib that wasn't sufficiently formalized, but were required dependencies.
killerstorm1 reply#
Five years ago very few proofs (outside of logic) were formalized.

Proof assistants existed for 50 years - they are not new. But it's REALLY hard to formalize something which is not just logic.
Even just logic is not trivial. Russel's Principia Mathematica needed 360 pages before it can prove 1+1=2.

cowlevel#
prove that (Russell's definition of 1 as a set) (Russell's definition of + in terms of set operations) (Russell's definition of 1 as a set) = (Russell's definition of 2 as a set), that is

He did not prove one apple and one apple make two apples, he proved that his complicated definitions of arithmetic using sets were not completely broken.

wasabi991011#
I suspect it includes a lot of formalization of existing, peer-reviewed mathematics. Including these bloats the code but makes the verification more self-contained (less AI-written unverified inputs to lean).
pretzellogician2 replies#
For whatever reason, the LLMs currently generate very long proofs of results. For example, they often rephrase earlier arguments rather than citing them, or repeat their own arguments. (I've experienced these myself.)

It'll just take some work to simplify this.
From Alpoge himself: "My intuition insists it will be massively simplified, likely immediately.”

coffeebeqn#
Sounds like a massively parallel search of all possible paths since they have so much compute now
VirusNewbie#
This is true for code, even frontier models, they will often not use a library, or not modify the library but rewrite an almost identical function(s), etc. It's very interesting and needs constant vigilance
causal6 replies#
Whoa.

One real problem with depending on Lean is that if there are any real bugs, then sufficiently-large swarms of agents are guaranteed to eventually come up with proofs that depend on the bug.

red75prime#
...if it's tasked to find proofs of False assuming that there are still bugs left.
striking3 replies#
This comes up frequently in threads but it's actually a much less impactful issue than you might think. There are actually several entirely disjoint implementations of Lean, each with different bugs; it is incredibly unlikely an agent would be able to exercise the same bug in every single implementation.
tomjakubowski13 replies#
Does a malicious proof need to exercise the same bug in all the engines necessarily? Why couldn't it exercise a different bug in each engine?

Continue this thread — 13 replies

javra#
Some of the reimplementations are actually verified, so guaranteed to be free from the sort of bugs found in the main kernel recently.
TZubiri#
All implementations built upon the same spec no?
empath75#
I found a bug in Lean a couple of weeks ago with an LLM, in fact, but it was in its 'macro' system that expands code into statements, not the actual proof system. It wouldn't have proven anything false, but it could have produced statements that aren't what you intended.
causal2 replies#
Yeah maybe even more important point

Continue this thread — 2 replies

thomasahle#
It would have to also be really sneaky about it. A proof that's trying to invoke some bug will look very different from a proof that's the real thing.
gpvos#
Yes, this is starting to look like the infinite monkey theorem.

Continue this thread — 14 more replies

amai3 replies#
„Dijkstra described a fictional company of which he served as chairman. The company was called Mathematics, Inc., a company that he imagined having commercialized the production of mathematical theorems in the same way that software companies had commercialized the production of computer programs. He invented a number of activities and challenges of Mathematics Inc. and documented them in several papers in the EWD series. The imaginary company had produced a proof of the Riemann Hypothesis but then had great difficulties collecting royalties from mathematicians who had proved results assuming the Riemann Hypothesis. The proof itself was a trade secret.“

https://en.wikipedia.org/wiki/Edsger_W._Dijkstra#Recurring_t...

zurfer2 replies#
Dijkstra described Mathematics Inc. as "the most exciting and most miserable business ever conceived".

In another part of the simulation: anthropic stock is down 10 perc the day they find the proof for RH.

vividfrier#
The choice to go for RH is an interesting one to analyse imo. Proving RH is definitely a proof of intelligence and possibly a strong argument that models now can solve problems humankind have failed so far?

But as an investor - you probably care more about how much this translates to hard evidence that Ant's models can replace knowledge workers? So you throw $X million dollars at compute to solve a complex mathematical problem - now where's the shareholder value in that? Does it proof that if you spend $100k/y on compute - you'll get more and better output than a software engineer? Maybe the jump to that conclusion isn't as close as Anthropic hope it is?

setopt2 replies#
> anthropic stock is down 10 perc the day they find the proof for RH

Wait, really? Why? Shouldn’t this be good for their image?

toxik#
The stock's market value is less to do with absolutes and more to do with relatives and perceptions. You could say that Anthropic's ability to do great things has perhaps been "priced in" already, ie, the price already reflects the value brought by a company that is able to prove a (well, the) long-standing mathematical theorem. Meanwhile other things can be tanking the price, such as dumping. I'd say that's what you're seeing.

The long-term value, though, is clearly there. So I would consider it a valuable stock. But at what price?

amai#
Good for their image, but bad for their profits. One cannot sell the Riemann hypothesis. So from an economic point of view, solving it is a loss.
boomskats1 reply#
So this whole thing was Ed's idea all along, but they went and took it all literally?

Guess I'd rather Mathematics, Inc. than War, Inc.... oh wait

catchnear4321#
Aren’t they both just subsidiaries of Greed, Inc?
hardbass2 replies#
Interesting story certainly. I don't see however why random stories are being posted that don't have anything to do with the news. The LEAN proof has been made available for all to read.
amai2 replies#
The story is about a company that has proven the Riemann Hypothesis. That alone is pretty close to the news nowadays. The proof by Alpöge might be open-source, but the technology used to generate that proof (Claude) is definitely a trade secret of Anthropic. So for me this story from the 1970s shows surprising parallels to our reality of 2026.

But there is more on the Wikipedia page. Dijkstra also used to quip: "The question of whether Machines Can Think is about as relevant as the question of whether Submarines Can Swim."
Some people are simply ahead of their times.

hardbass6 replies#
> That alone is pretty close to the news nowadays. The proof by Alpöge might be open-source, but the technology used to generate that proof (Claude) is definitely a trade secret of Anthropic.

The four color theorem took about 1000 hours of time on a the mainframe. Was the proof of the four color theorem suspect in this manner when it was released, and only became okay when everyday computers could run through the program?

Continue this thread — 6 replies

mpalmer#
Oh. I thought it was a joke by Dijkstra about the folly of math-for-profit. You can't very well lock down and "license" your proof for external use if mathematicians can simply take the proof as given in their own work.
idiotsecant#
You could have just stopped after the first sentence and had the same amount of content
synapsomorphy87 replies#
That was fast. I thought we’d have more time.

I wonder if we’ll have room temp superconductors and fusion this time next year.
If this holds up it seems as good a day as any to call the end of one time and beginning of another.
I wish I could be fully happy about this new era instead of worrying if I’ll be alive in 5 years or not. If there was any time for Anthropic to try to coordinate a pause, it feels like now or never, they seem to have a pretty strong lead at the moment. But probably they won’t and can’t, and we will just put the fate of our species to a coin flip.

Continue this thread — 87 replies

huseyinkeles19 replies#
Shared it in the other thread too.

Here’s a link to an interview with Levent Alpöge (in Turkish) from 2014, when he just graduated from Harvard at the top of his class.
He mentions solving the Riemann hypothesis is his life goal and he wants to work on it, but he’s not sure if it can be done in his lifetime. Way to go :)
https://videonuz.ensonhaber.com/izle/harvard-birincisi-leven...

Continue this thread — 19 replies

Load more comments