Hacker News new | ask | show | jobs
by xeonmc 12 days ago
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"?
3 comments

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.
The proof is 17 million lines of code. There may be a bug in Lean which erroneously allows tautological statements under certain conditions. In 17 million lines of code the chances of such unknown bug being exploited are greater then 0.

There are two ways that I can think of to eliminate that possibility:

a) Somebody has read and understand all 17 million lines of code in the proof.

b) Somebody has to understand the proof and replicate the results with their own code which is independent of the original code.

Preferably both (a) and (b) should happen before we believe this is a proof of the Riemann hypothesis.

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.

A false proof fooling multiple checkers has happened before[1]. In 17 million lines of code any number of weird things can happen. Perhaps not tautology, but perhaps some unknown unknown.

Or maybe this proof is correct. However there is still a non-zero chance it is not, and that leaves us exactly where we were before, that the we have extremely strong suspicions that the Riemann hypothesis is correct.

1: https://leodemoura.github.io/blog/2026-8-1-postmortem-for-ke...

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.

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

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?")

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.