Remix.run Logo
▲ c7b a day ago

As in the OP, don't fall into the trap of dismissing those results. The statement of the Riemann hypothesis that was proven was taken from Mathlib, a very simple, standard and well-vetted formulation of the problem. Barring compiler bugs, there's no way the statement would have compiled without supplying an actual proof. And the probability of compiler bugs is vanishingly small in that case, as the proof compiles in multiple different compiler versions, including formally verified and deliberately 'slow-but-reliable' ones. The probability of mistakes physically cannot go to exactly zero, but you're quickly approaching crackpot territory if you don't update your prior of it being true to within a rounding error of 1.

▲rightbyte 18 hours ago | parent [-]

How does that work. Is it not possible to write malicious Lean code?

▲c7b 6 hours ago | parent [-]

It's Turing-complete, so you should be able to write anything. But it's fully functional, so you can't hide side effects in what by its signature should be a proof of A. More practically, there's tooling to check whether a proof does anything it shouldn't (like assuming the conclusion somewhere, which in itself wouldn't work as it'd only give A-> A instead of A, but along those lines). So with those tools, checking a Lean proof really isn't much more than checking the statement and compiling.

Again, no tool is 100% reliable, but the community really has gone the extra mile to get as much certainty as possible. If you believe that the Higgs Boson exists, or the HI Virus, or that the Roman Empire existed, or Dinosaurs, then you should believe that the Riemann hypothesis is true (and that's factoring in that math has a different standard of evidence than empirical disciplines).