| > 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). |
| |
| ▲ | tsimionescu a day ago | parent [-] | | 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. | | |
| ▲ | soon_to_be_sb a day ago | parent | next [-] | | >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"... | | |
| ▲ | tsimionescu 21 hours ago | parent [-] | | 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). | | |
| ▲ | soon_to_be_sb 14 hours ago | parent [-] | | Only part of Lean is formally verified. An LLM can take advantage of potential bugs in other parts. | | |
| ▲ | tsimionescu 10 hours ago | parent [-] | | My understanding was that con-leche is fully formally verified, and that whileit only implements a part of Lean, the RH proof didn't need anything outside it so it could be compiled by con-leche. Now, it's still possible that the proof of con-leche's validity contains a mistake, or that the processor on which it was run works in some way which was not part of the model used in the con-leche formalization and thus produces results that the proof says are impossible *, or that ZFC itself is actually an inconsistent system and so it can prove true => false so no proof that assumes ZFC is safe. * For an absurd example, the processor could contain logic that detects that it is executing con-leche on a proof generated by Anthropic and ignore the actual calculations, stall for an appropriate amount of time, and return true at the end. |
|
|
| |
| ▲ | AnimalMuppet a day ago | parent | prev [-] | | But do you know that the Lean code actually corresponds to the proof that the LLM is trying to prove? | | |
| ▲ | tsimionescu 21 hours ago | parent [-] | | 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. |
|
|
|