Lean verification of the Riemann Hypothesis

g-b-r 931 points 791 comments November 21, 2026
leanprover-community.github.io · View on Hacker News

Discussion Highlights (20 comments)

g-b-r

I don't think this is 100% definitive yet, though edit: guys that was just my impression when I posted it, it seemed best to state it; do trust the (much more) more qualified people.

gxd

This sounded pretty definitive to me. I'd like to hear from professional mathematicians about what's left for humanity to consider this proven.

dathinab

but is it useful?? because a million+ lives of code without any understanding how the proof works or any methodic to advance the field of mathematics seems to be rather not so useful

est

Now next step is what can we actually learn from these. Any interesting new theorem developed as by-product?

feverzsj

They only verify Lean proof itself, though it's the same formalization as Mathlib. Still, only human readable proof can actually prove it.

tomaskafka

We are slowly approaching the Iain Banks Culture universe, with spaceships, societal structures or physics that people no longer understand or command.

iandanforth

IMO the really interesting bits here are going to be the simplifications that will come from combining ideas from Alpoge and Masullo.

alexey-salmin

Would be funny if lean has bugs (it's a program after all) and Claude tasked with a hard problem brute forced a vulnerability that allows proving wrong statements.

baggy_trough

> These checks ran on an inert export of the proof, out of reach of hypothetical malicious code in the Lean proof sources. I’d like to know more about this part.

meisel

Do huge results like this open up even larger questions? Is there some question even more important that mathematicians dared not approach without doing big problems like Riemann first?

1970-01-01

Isn't this the equivalent of aliens coming to Earth and saying "Hello, human, your Riemann question is true, here's a book on it's proof, we didn't bother with translation, so you must understand our Vargalian clicks to understand our proof. In two weeks our sister civilization the Kikuviar will come by and drop how they've untangled your Collatz question in their base-30 logic! Thanks for the fish, have a nice day!"

pera

> The checkers con-leche and con-ron come with a formal proof, relative to set theory, that they cannot accept a false proof, thus addressing concerns that Lean’s logic itself might have flaws that the proof could exploit. Could someone expand on this point? I still don't understand how con-leche (or con-ron) can be absolutely free of bugs/guaranteed to be consistent.

snowstormsun

Do P vs NP next please

dfelix

There are still a few ways that the proof might be incorrect. Of these, the most likely is that the proof was generated by a misaligned AI system that found and intentionally exploited a lean bug in order to fool its human evaluators (i.e. shades of the HuggingFace attack). I personally don't think this is very likely, but you'd have to understand a bit more about the agent systems used in generating the proof to come up with a more informed estimate. Another possibility is that an aligned system came up with a plausible but incorrect idea along the way, and simultaneously stumbled across a lean bug that led to an incorrect verification of this idea. I'd put the likelihood here as vanishingly small due to the requirement of serendipitous factors, but it's nonzero. You could also ask whether an aligned AI system could "p-hack" its way into finding a serendipitous lean bug by trying a large number of approaches. I think this is also vanishingly unlikely because the AI system is trained on and therefore "thinking in" natural language, and presumably only translating results into lean after it believes them to be correct. And of course there's the possibility that the lean proof isn't faithful to the natural language description we've been given, but that is ruled out in this case due to the use of the canonical problem statement in mathlib. Otherwise, this would certainly seem like the most likely way the proof could be incorrect.

schleck8

If you have a physics background and want to contribute to breakthroughs like this, check Physlib (counterpart to Lean's Mathlib). It's making quick progress and is part of the Lean community. https://physlib.io

runtime_terror

Any mathematicians care to explain what the ramifications are in regards to its impact on the broader world? From my very basic understanding, RH was generally already assumed to be true?

Bengalilol

In 4 years, the proof will be 2 pages long. GG @ AI

bwnkl

As somebody who has no idea about any of this but speaks Spanish, I was amused and bewildered by con-leche and con-ron. Could somebody explain what those are and where those names come from?

thejokeisonme

A fake refutation of the Collatz conjecture already got through one of these independent checkers in the past. What's harder, proving GRH or finding a way to get through every checker (which aren't as independent as they are sometimes touted to be)? In this case there was a human expert in the loop so it's much less likely the model hacked its way through the problem without the expert noticing. But the statement as written has 4 points, none of which rests on the human involvement. So I don't like that they claim full confidence based on those points.

trio8453

This is amazing. It's fascinating to watch the skepticism in some of the reactions - "what if there's a bug", "it doesn't mean anything without human understanding" - just anything possible to undermine, dismiss and move the goalposts.

Semantic search powered by Rivestack pgvector
13,334 stories · 126,150 chunks indexed