News for hackers. Stuff that matters.
Re:Lean Verification of the Riemann Hypothesis by brooke2k on Saturday November 21, 2026 @01:42PM (#50592224)
The statement of RH that it proves is taken directly from Mathlib, so it's extremely well-vetted and longstanding (from my understanding).
Re:Lean Verification of the Riemann Hypothesis by jychang on Saturday November 21, 2026 @06:11PM (#50594571)
Correct.

They don't use some random definition of RiemannHypothesis, they use the version here: https://leanprover-community.github.io/mathlib4_docs/Mathlib...

Note that this definition is years old. It's very well vetted. It's not a case of "the proof works, it just doesn't actually prove what you think it proves".

If you read the blog post, it says they added a "Challenge.lean" file. What that means is that instead of taking for granted the proof is trying to prove Riemann, they added a small file which reads RiemannHypothesis from the Mathlib library mentioned above, and forces the proof to match that.

They also mention running comparator, which is important because it checks for all the ways a proof might "cheat". For example, if you are trying to prove 1+2=5, and you redefine 2 as 4, then your bad proof would actually compile in Lean at first, but then comparator checks would discover all the tricks like that and declare the proof invalid.

Additionally, they mention compiling the proof with different Lean kernels, not just the mainline one. This means the proof cannot just take advantage of a bug in the mainline Lean kernel. Importantly, they mention compiling the proof with con-leche, which uses a kernel that has been mathematically verified. Using con-leche is a lot slower, but the fact that the proof works on multiple kernels including con-leche means that it's not taking advantage of some bug in Lean.

At this point, I would say the proof is almost certainly true. The only obvious way it could be false is if ZFC itself is inconsistent or something wild like that, and the proof took advantage of it. But if ZFC is inconsistent, all of mathematics is in trouble.

Re:Lean Verification of the Riemann Hypothesis by xeonmc on Saturday November 21, 2026 @06:41PM (#50594763)
Given such a massive proof, is there any possibility of accidental tautology inadvertently hiding inside the mess to the effect of "Assume A is true. A million lines later: therefore A is true"?
Re:Lean Verification of the Riemann Hypothesis by johncolanduoni on Saturday November 21, 2026 @06:54PM (#50594829)
Lean keeps track of any such assumptions when constructing the proof term, and would not allow them to line up with an unconditional statement like RH.
Re:Lean Verification of the Riemann Hypothesis by runarberg on Sunday November 22, 2026 @03:23PM (#50603516)
[delayed]
Re:Lean Verification of the Riemann Hypothesis by acoustics on Sunday November 22, 2026 @03:34PM (#50603598)
This is addressed in TFA.

> The Lean proof is valid. The exported raw proof has been checked by several proof checkers, including Lean’s official kernel, the con-leche and con-ron checkers, and several independent checkers contributed by third parties and implemented in different programming languages. 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.

Re:Lean Verification of the Riemann Hypothesis by runarberg on Sunday November 22, 2026 @04:13PM (#50603967)
[delayed]
Re:Lean Verification of the Riemann Hypothesis by acoustics on Sunday November 22, 2026 @07:38PM (#50605835)
There is a non-zero chance of anything. But this proof is about as certain as mathematics has ever gotten. The evidence here is much stronger than we had for basically any result that has ever been accepted through human refereeing.

As a litmus test, whatever probability you held for the math-consensus proof of Fermat's Last Theorem being correct five years ago, you should be significantly more confident in this proof.

Re:Lean Verification of the Riemann Hypothesis by johncolanduoni on Monday November 23, 2026 @12:34AM (#50607853)
That doesn’t eliminate the possibility either, unless you’re positing that we can find a human which can infallibly check 17 million lines of proof tactics. Humans miss mistakes in proofs with some regularity, it has led to retracted results in peer reviewed work before.
Re:Lean Verification of the Riemann Hypothesis by jibalt on Saturday November 21, 2026 @08:07PM (#50595230)
Of course it's possible that the proof is flawed, in that or numerous other ways. That's why it's being formally verified in multiple independent ways.
Re:Lean Verification of the Riemann Hypothesis by gpm on Saturday November 21, 2026 @08:35PM (#50595366)
That there are tautology's in the billions of line? Yes, absolutely. There's every chance that the proof isn't efficient and includes lines that can be removed.

That the end result relies on those tautologies? No. All lean would derive from doing that is "a implies a" (which it would let you introduce directly) and not the statement "a". This is what computers are perfect at, keeping millions of different records straight and not accidentally forgetting the first half of the implication.

Re:Lean Verification of the Riemann Hypothesis by wging on Saturday November 21, 2026 @09:47PM (#50595727)
I think they intended to ask about whether the proof could effectively introduce unproven statements equivalent to RH as axioms (i.e. unintentionally proving "RH implies RH" rather than just "RH" by assuming RH at some point within the body of the proof; or the same, but instead of assuming RH, assuming some other statement necessary to the proof).

I believe the blog post does answer that question, though. They say in the article above that "The four criteria in https://xenaproject.wordpress.com/2026/11/12/and-the-proof-i... are all satisfied", and Question 3 in that linked post covers such cases. ("How do we know for sure that there is no trick hidden in the millions of lines of proof files which [some words omitted]... adds a new axiom to mathematics saying that the theorem is true?")

Re:Lean Verification of the Riemann Hypothesis by cyanite on Saturday November 21, 2026 @06:55PM (#50594842)
If ZFC is inconsistent, every well-formed closed formula is s theorem, and thus has a proof.
[dead]
Re:Lean Verification of the Riemann Hypothesis by mcherm on Sunday November 22, 2026 @04:48AM (#50597897)
I don't think that's precisely correct.

> the Lean proof of the Riemann Hypothesis depends on Lean's type theory, not ZFC's consistency.

I believe it depends on Lean's type theory which itself depends on ZFC and that if ZFC were inconsistent then Lean's type theory would also be inconsistent.

> It's an explicit machine-checked proof term, not a non-constructive consequence of logical explosion.

It is possible to make "constructive proofs" that make sure never to use an argument saying "not-foo is false, therefore foo must be true". Such a proof really would survive even if ZFC were inconsistent (at least inconsistent in certain ways). However, I don't believe this proof of the Reimann Hypothesis is constructive. (I haven't read the proof, but if it were, that would be remarkable and people would be discussing it: most proofs are not constructive.)

Re:Lean Verification of the Riemann Hypothesis by NonHyloMorph on Sunday November 22, 2026 @05:20AM (#50598158)
So what is the exact relation of zfc and leans type-theory? Are they proofably aequivalent or what does that depends on say?
Re:Lean Verification of the Riemann Hypothesis by gottheUIblues on Sunday November 22, 2026 @09:39AM (#50600135)
People seem to say that Lean's type theory is strictly stronger (in consistency strength) than ZFC and assuming the existence of any finite number of inaccessible cardinals and strictly weaker than ZFC and assuming the existence of a countably infinite number of inaccessible cardinals.
Re:Lean Verification of the Riemann Hypothesis by zajio1am on Sunday November 22, 2026 @02:05PM (#50602809)
If the theory is inconsistent, then proofs from it have no value, regardless whether they are proven directly from logical explosion or not. That is because such theory is semantically empty - has no mathematical model.

But in that case proofs could be recovered if you reformulate them in some restricted theory that is not inconsistent - most proofs in math does not need full power of ZFC. For example the mentioned Euclid's proof could be proven just in PA.

Re:Lean Verification of the Riemann Hypothesis by intuitionist on Saturday November 21, 2026 @09:01PM (#50595497)
Isn’t Lean stronger than ZFC? I thought you could prove Con(ZFC) within Lean. So it’s possible that the formal system encoded by Lean is inconsistent but ZFC is not. (I don’t consider this that likely, though.)
Re:Lean Verification of the Riemann Hypothesis by tkz1312 on Saturday November 21, 2026 @11:29PM (#50596244)
Yes, Lean is stronger than ZFC. lean has been shown to be consistent with ZFC + infinitely many inaccessible cardinals.
Re:Lean Verification of the Riemann Hypothesis by cowlevel on Sunday November 22, 2026 @10:26AM (#50600534)
isn't ZFC also consistent with ZFC + infinitely many inaccessible cardinals (I assume so or you wouldn't have even said it) which means by the same reasoning ZFC is stronger than ZFC?
Re:Lean Verification of the Riemann Hypothesis by tkz1312 on Sunday November 22, 2026 @12:45PM (#50601966)
no. if ZFC + infinitely many inaccessible cardinals is consistent, then so is ZFC (and lean), but the converse is not true: the consistency of ZFC implies nothing about the consistency of ZFC + infinitely many inaccessible cardinals.
Re:Lean Verification of the Riemann Hypothesis by btilly on Saturday November 21, 2026 @11:37PM (#50596292)
Yes, Lean is stronger than ZFC. But two of the checkers, con=leche and con-ron, don't just verify based on Lean. They come with a formal proof from set theory that they cannot wind up accepting an incorrect proof.

In other words you can ignore Lean. We have a proof from ZFC, of the Riemann Hypothesis. We have a proof, acceptable in ZFC, that this proof is correct.

In other words Lean's dependent type theory is used to arrange its understanding of the proof. But the actual reasoning that you wind up with for this proof does not need anything that doesn't follow from ZFC.

Re:Lean Verification of the Riemann Hypothesis by hazenut on Sunday November 22, 2026 @12:09AM (#50596488)
why is the verification is so fast this time while last time (a few weeks ago? and I can't remember name of that theorem) it took a few weeks and they finally found an error in Claude's proof?
Re:Lean Verification of the Riemann Hypothesis by mcherm on Sunday November 22, 2026 @04:36AM (#50597828)
I am not certain which "last time" you are thinking of, but I suspect that the answer IS the Lean verification.

If an AI writes a paper with an argument that X is true, it might be that X is true, or it might be that the argument in the paper is subtly flawed and X isn't true

On the other hand, if an AI generates a step-by-step proof in which each step can be mechanically verified, then people might have problems understanding the underlying ideas, but once it has been verified we know it won't have subtle errors. And that is basically what Lean is.

In this case, they not only have a Lean proof, they've verified it with more than one verification tool (so it's unlikely to be a bug in the verification tool) and double-checked whether the thing being proved really is what we intended to prove. That's rock solid.

Getting an UNDERSTANDING of the proof is another challenge, but at this point we can be quite certain it doesn't have errors.

Re:Lean Verification of the Riemann Hypothesis by hazenut on Sunday November 22, 2026 @11:44AM (#50601276)
Navier-Stokes that is. Claimed proof in September, found an error in October, mainly that the formal language proof does not correspond to the natural language description. But this time it took one day. that's 30x speedup not explained.
Re:Lean Verification of the Riemann Hypothesis by gus_massa on Sunday November 22, 2026 @04:40AM (#50597849)
The guy waited until he has the verification before anouncing it. I'll quote myself from the pararell universe were he announced it with a English only proof:

> Meh. Lean or it didn't happen.

Re:Lean Verification of the Riemann Hypothesis by BariumBlue on Sunday November 22, 2026 @08:56AM (#50599758)
This time the WHOLE proof formalized in lean, but iirc some recent AI generated proofs only had supplemental pieces lean that didn't cover the whole argument
Re:Lean Verification of the Riemann Hypothesis by meowface on Sunday November 22, 2026 @06:30AM (#50598645)
I wonder if in N years, when we (might) have crazy ASIs that make Fable 5.2 look like a nematode, maybe we'll see things like this as completely trivial and banal.

A machine intelligence might devise something as (seemingly) difficult as the Riemann hypothesis, but checking if what it posits is correct might be like a fast test command in a git repo, and so it can keep iterating on many ideas without being bottlenecked by waiting centuries or, perhaps even hours, to know if the ideas are true.

But then one could even imagine they'll one day be so powerful they could do this and more without ever using a formal system. They will just naturally be that comprehensive and rigorous internally, with something like Lean making them 100% instead of 99.99..% confident.

And eventually this would extend to almost everything, besides maybe biology where it may only be able to compress a human century into a day rather than into a second.

Re:Lean Verification of the Riemann Hypothesis by idiotsecant on Sunday November 22, 2026 @10:12AM (#50600406)
I think caring about things like the riemann hypothesis is something humans from the before times did. Once we have ASI, there is no incentive to push the bounds of knowledge, or even to try.

I think we're looking at the long dark teatime of the soul of biological human science, mathematics, and engineering.

I guess we will maybe be happier making art and being pets, best case scenario. Or maybe those of us with the most resources will be able to merge into a machine substrate and continue to contribute in some way.

Re:Lean Verification of the Riemann Hypothesis by thesmtsolver2 on Sunday November 22, 2026 @10:48AM (#50600731)
Why? With neural implants that these god like AIs can design worn we also become smart as the AIs?

Or do we believe that the AI will never get to a point where it can build implants that make humans that intelligent?

Re:Lean Verification of the Riemann Hypothesis by LoganDark on Sunday November 22, 2026 @10:54AM (#50600793)
I think it's because you no longer need to release knowledge if everyone can re-derive it independently. Work and learning lose its value because anyone can reproduce it without you, and they can do it more trivially even than searching for your version. We're starting to reach the point where certain types of projects are just pointless now, because anyone who wants it can make their own even better tailored to themselves. This isn't absolutely true of course, but the general discourse is heading in this direction.
Re:Lean Verification of the Riemann Hypothesis by mrandish on Sunday November 22, 2026 @02:14PM (#50602887)
> become smart as the AIs

Treating "intelligence" as a single trait that can be cranked up like an RPG stat bar is a category error built on an ill-defined term.

"Intelligence" is a broad umbrella label for a variety of different capabilities: working memory, pattern matching, sensory integration, long-term recall, and domain-specific knowledge. LLMs running on designed digital silicon are fundamentally different from human minds running on evolved analog biology. They operate on separate substrates with divergent architectures, trade-offs, constraints and failure modes.

LLMs are fantastically useful tools that already beat humans at specific tasks. We built them to simulate specific human intellectual output we find valuable, but they do so using mechanisms which have almost nothing in common with how a brain works. Scaling up the the number and depth of simulated tasks doesn't mean the underlying process is on a path to replace human cognition and reasoning.

Re:Lean Verification of the Riemann Hypothesis by axmebhe on Sunday November 22, 2026 @11:30AM (#50601102)
Mathematics could stall in some ways if the AIs continue to use brute force to prove these. Normally a mathematician would invent powerful new frameworks to solve a difficult problem (like Newton and calculus - there are many recent examples, as well).

As an outsider to the field, the strongest motivation for top mathematicians seems to be pride. I think the educational pipeline for top-level math will weaken if AIs are getting the credit for mathematical work.