Note that this definition is years old. It's very well vetted. It's not a case of "the proof works, it just doesn't actually prove what you think it proves".
If you read the blog post, it says they added a "Challenge.lean" file. What that means is that instead of taking for granted the proof is trying to prove Riemann, they added a small file which reads RiemannHypothesis from the Mathlib library mentioned above, and forces the proof to match that.
They also mention running comparator, which is important because it checks for all the ways a proof might mathematically "cheat". For example, if you are trying to prove 1+2=5, and you redefine 2 as 4, then your bad proof would actually compile in Lean at first, but then comparator checks would discover all the tricks like that and declare the proof invalid.
Additionally, they mention compiling the proof with different Lean kernels, not just the mainline one. This rules out a way a proof This means the proof cannot just take advantage of a bug in the mainline Lean kernel. Importantly, they mention compiling the proof with con-leche, which uses a kernel that has been mathematically verified. Using con-leche is a lot slower, but the fact that the proof works on multiple kernels including con-leche means that it's not taking advantage of some bug in Lean.
At this point, I would say the proof is almost certainly true. The only obvious way it could be false is if ZFC itself is inconsistent or something wild like that, and the proof took advantage of it. But if ZFC is inconsistent, all of mathematics is in trouble.
Correct.
They don't use some random definition of RiemannHypothesis, they use the version here: https://leanprover-community.github.io/mathlib4_docs/Mathlib...
Note that this definition is years old. It's very well vetted. It's not a case of "the proof works, it just doesn't actually prove what you think it proves".
If you read the blog post, it says they added a "Challenge.lean" file. What that means is that instead of taking for granted the proof is trying to prove Riemann, they added a small file which reads RiemannHypothesis from the Mathlib library mentioned above, and forces the proof to match that.
They also mention running comparator, which is important because it checks for all the ways a proof might mathematically "cheat". For example, if you are trying to prove 1+2=5, and you redefine 2 as 4, then your bad proof would actually compile in Lean at first, but then comparator checks would discover all the tricks like that and declare the proof invalid.
Additionally, they mention compiling the proof with different Lean kernels, not just the mainline one. This rules out a way a proof This means the proof cannot just take advantage of a bug in the mainline Lean kernel. Importantly, they mention compiling the proof with con-leche, which uses a kernel that has been mathematically verified. Using con-leche is a lot slower, but the fact that the proof works on multiple kernels including con-leche means that it's not taking advantage of some bug in Lean.
At this point, I would say the proof is almost certainly true. The only obvious way it could be false is if ZFC itself is inconsistent or something wild like that, and the proof took advantage of it. But if ZFC is inconsistent, all of mathematics is in trouble.