I do not understand anything about Lean or Mathlib, or any particularly advanced mathematics. I'm excited when I see proofs drop of extremely difficult and long-standing mathematical problems, and I'm actively anticipating hearing P ≠ NP like the author.
However. Without being one of those results-denying raging doofus people he talks about, I am interested in his framing of these proofs compared to what I've seen on HN, and what he says in this very post. The sequence is something like this
1a. "I felt it in my bones, and..."
1b. "this was an incredibly surprising result, but..."
2. "... Now we have a proof! Amazing!"
3. "This proof will take us years to understand and verify."
If the proof will take us years to understand and verify... How do we know it's correct? I'm inclined to believe people who know a lot more about this than me trust that the result is correct. But I've seen Claude spit out hundreds of lines of bad code that I've had to correct it on - and these proofs are apparently millions of lines?
Again, not trying to deny the results, just wondering how we can be confident in proofs without understanding and verifying them.
It's written in a language (Lean) such that if the program compiles, it's "correct". So the only thing that needs to be human-checked is the statement of the problem at the beginning of the program.
There are some caveats to that, around bugs in the compiler implementation, but these proofs have been compiled across different implementations, including those that themselves have been verified.
It's encoded in a language (lean) and if the language's type checker is correct, and the code doesn't exploit any issues in the type checker, and the proof type checks, we know the proof is true. So you'll use multiple independent type checkers (lean kernels), some formally verified, check the code for exploits etc, and work towards confidence that the theorem prover is valid, which means (from math that's already understood) the proof encoded with the theorem prover is valid. You also check if the statement in lean of what the model proved is equivalent to the question you were actually asking (for stuff like Riemann there's commonly accepted/vetted definitions in lean).
So you can know that the proof is valid without knowing why it is valid.
Meaning, yeah, it's impossible to know a proof is correct without no understanding and no verification. But those two are not the same thing. The proofs are verified but we don't understand them