Your argument misunderstands how Lean works. We know that the theorem statement is correct because we wrote it. Lean only accepts correct proofs of that theorem statement. So we are certain that it proves what it was asked to prove. If there was a hallucination in the code that broke the proof, Lean would find it.
It's not implausible a priori. But the Lean community has doubled down on this lately, independently reimplementing Lean (so that it's unlikely both kernels have the same bug) and developing proofs that their kernels are bug-free.
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.
Replies (1)
Which, is not implausible, is it? That’s what manual verification will seek to uncover.
Replies (3)
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.
https://leanprover-community.github.io/blog/posts/riemann-hy...