An unofficial, read-only Hacker News reader. Join the beta →

Much shorter version of GRH Lean verification from Anthropic (opens external site)

565 points by nb-t 2 days ago | github.com | 366 comments on HN

View full thread · View on Hacker News

Comment thread (4)

  1. This is cope at this point. The early Lean-bug-exploting proofs are done. This proof, and most coming out in the last few days, have been verified with too many different Lean compilers to have any real chance of being exploits.

    And with this, we are now in an era where LLMs are much better at math than they are at finding exploits. No LLM has found an exploit yet that is of any complexity remotely similar to proving the Riemann Hypothesis.

    Replies (1)
    1. > have been verified with too many different Lean compilers to have any real chance of being exploits

      Maybe, but "compiles and runs with several implementations" is not a mathematical proof.

      We already knew the Riemann hypothesis is true because we checked it numerically. If all we want is a reasonable practical demonstration of it then we don't need formal math at all, it would be a waste of time and resources.

      Replies (2)
      1. We checked it numerically bout only to 10^13 IIUC in the imaginary direction. We still didn't know it was true between 10^3 and +infinity.

        Lean is designed to write mathematical proof. It only compiles successfully if the steps on the mathematical proof are correct. So you only have to verify that the final statement is the one you want, and the compiler will check that all the crap you wrote before is a correct mathematical proof.

        In this case, the final statement is copied from Mathlib and has been used for years, so it has a lot of review by the community. Before it was used as a initial step to prove followup like "If GRH is true than $something is true." Now it is used as the final step to prove "GRH is true".

        There are some escape hatch to avoid writing missing steps using the magical "sorry" instruction. They are useful to write the high level structure of the proof and later fix the holes. But the compiler at the end complains that you used "sorry", so it's not possible to hide it.

        So in this case "compiles IS a mathematical proof".

        There are a few implementations. It's possible that they have bugs, but highly unlikely that all of them have the same bug. Also if the AI finds a bug, I expect it to abuse it to prove all king of results. So it's very unlikely.

      2. > Maybe, but "compiles and runs with several implementations" is not a mathematical proof.

        That's not how to read that statement. That statement says "the proof has been independently verified multiple times by different methods". There is nothing here different from human verification: you wouldn't trust a proof just because one person said "I checked it, it's legit" - you know that person can make mistakes, or lie. You wouldn't even trust it if a group of 5 friends all said that they had verified it by hand. But if 5 different experts from 5 different universities claimed that they verified it, you'd have a much better reason to trust it.

        It's the exact same with different Lean compilers - except that Lean compilers make MUCH fewer mistakes than human mathematicians.