Posting any number of automated proofs, even huge and unintelligible yet, cannot be otherwise than useful.
My concern is different. Some of these LLM proofs may in fact be incorrect, due to subtle bugs, either in Lean or in the formulation of the problem or in the LLM reasoning.
Because very few people are competent enough to verify the validity of these proofs and even those who are competent may be reluctant to do the long and tedious work required for this, we might have a situation when some problems are confidently claimed as solved, but years will pass until it will be discovered that the claims are false.
So for now, I think the more such proofs are published, the better, but most of these proofs should not be believed as certainly correct for now, until they will be really understood by humans or by other independent automatic verification methods.
I think I trust the Matlib and Lean creators to have a pretty solid approach to validating and they're confident there's no bugs in the lean. They confirmed it across multiple kernels too. Not a silver bullet of course but the tippity-top experts in proof-checking seem confident.
> Some of these LLM proofs may in fact be incorrect, due to subtle bugs [...] in the LLM reasoning.
What do you mean by this? With a Lean proof, there is no LLM reasoning involved in the proof verification. The proof is carried out by the Lean kernel itself, which is a good old classical program, no LLMs involved. If the LLM-produced proof is wrong, the Lean kernel will fail to validate it (assuming no bugs in the Lean implementation itself, or in the formalized problem statement).
The Lean code is the proof. The Lean compilers verify that code. If the compilation is successful, it means that the LLM produced a valid proof. If the compilation fails, it means the LLM produced an invalid proof.
The 17 million lines of Lean code that Alpoge produced with Claude have successfully compiled (with multiple very different Lean compilers), so we now know with absolute certainty they are a correct proof of the Riemann Hypothesis, unless Lean itself is much more fundamentally flawed than anyone believes possible.
If the LLM had made a mathematical error in judgment anywhere in those 17M lines of Lean proof, Lean guarantees that this code would not have compiled - regardless of how small that mistake would have been.
>Lean itself is much more fundamentally flawed than anyone believes possible.
Why "fundamentally" though? Couldn't take advantage of some obscure bug in Lean so that it shortcircuits some crucial check allows the proof to work, which it then obscures with millions of lines of plausible looking code?
It just need to keep the world hyped and math guys looking until some "financial situation" plays out in favor for them..
After that, it would be "oops, our LLMs are so smart that it took advantage of this obscure bug in LEAN"...
Because there are multiple different implementations of Lean that have verified this proof. And because one of them, con-leche, is formally verified itself to ensure the actual binary implements the Lean logic, so it can only have bugs if
- there is a problem in its model of the x86_64 processor and its semantics
- there is some deep flaw in the formal Lean logic making it inconsistent
Basically this is like having a C program exhibit some behavior if compiled with both clang and gcc and CompCert (the formally verified C compiler).
The Lean code is the proof of a theorem also expressed in Lean.
If you're asking if we're sure the Lean statement of this theorem is indeed the Riemann Hypothesis, this is a valid question, and in this case the answer is yes. The Riemann Hypothesis had been formalized in Lean for a long time, with many mathematicians verifying that the Lean statement is exactly equivalent to the RH. And it is this known statement that is proven by the 17M and the 300k lines proofs we got from Anthropic.
Posting any number of automated proofs, even huge and unintelligible yet, cannot be otherwise than useful.
My concern is different. Some of these LLM proofs may in fact be incorrect, due to subtle bugs, either in Lean or in the formulation of the problem or in the LLM reasoning.
Because very few people are competent enough to verify the validity of these proofs and even those who are competent may be reluctant to do the long and tedious work required for this, we might have a situation when some problems are confidently claimed as solved, but years will pass until it will be discovered that the claims are false.
So for now, I think the more such proofs are published, the better, but most of these proofs should not be believed as certainly correct for now, until they will be really understood by humans or by other independent automatic verification methods.
Replies (4)
https://leanprover-community.github.io/blog/posts/riemann-hy...
What do you mean by this? With a Lean proof, there is no LLM reasoning involved in the proof verification. The proof is carried out by the Lean kernel itself, which is a good old classical program, no LLMs involved. If the LLM-produced proof is wrong, the Lean kernel will fail to validate it (assuming no bugs in the Lean implementation itself, or in the formalized problem statement).
Replies (1)
Replies (1)
The 17 million lines of Lean code that Alpoge produced with Claude have successfully compiled (with multiple very different Lean compilers), so we now know with absolute certainty they are a correct proof of the Riemann Hypothesis, unless Lean itself is much more fundamentally flawed than anyone believes possible.
If the LLM had made a mathematical error in judgment anywhere in those 17M lines of Lean proof, Lean guarantees that this code would not have compiled - regardless of how small that mistake would have been.
Replies (2)
Why "fundamentally" though? Couldn't take advantage of some obscure bug in Lean so that it shortcircuits some crucial check allows the proof to work, which it then obscures with millions of lines of plausible looking code?
It just need to keep the world hyped and math guys looking until some "financial situation" plays out in favor for them..
After that, it would be "oops, our LLMs are so smart that it took advantage of this obscure bug in LEAN"...
Replies (1)
- there is a problem in its model of the x86_64 processor and its semantics
- there is some deep flaw in the formal Lean logic making it inconsistent
Basically this is like having a C program exhibit some behavior if compiled with both clang and gcc and CompCert (the formally verified C compiler).
Continue this thread (1 replies) →
Replies (1)
If you're asking if we're sure the Lean statement of this theorem is indeed the Riemann Hypothesis, this is a valid question, and in this case the answer is yes. The Riemann Hypothesis had been formalized in Lean for a long time, with many mathematicians verifying that the Lean statement is exactly equivalent to the RH. And it is this known statement that is proven by the 17M and the 300k lines proofs we got from Anthropic.
If there are no relevant bugs in Lean, it impossible to force an incorrect proof through Lean.
“The dose makes the poison” Paracelsus 16th century
go into your email inbox, and tell me with a straight face that every email can only make your inbox better?