Unofficial Hacker News client - receive Push Notifications on replies.

False computer-checked proofs (opens external site)

250 points by _tk_ 3 days ago | cr.yp.to | 123 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (6)

  1. Pardon my ignorance but why are these proof checkers so large? Can't they be bootstrapped from a very small set of rules, which are easy to check?
    Replies (2)
    1. of course it can:

      us.metamath.org

      Replies (1)
      1. Then why aren't they using it?
        Replies (2)
        1. Because until up to about 6 months ago, the main difficulty in a machine-checked proof was not checking it, but getting one in the first place. So proof assistants are not "checkers" first, but programs that help you to create the machine-checked proof in the first place, and they are correspondingly large. Many of them, like Isabelle/HOL, are based on a small kernel in principle.
        2. its not up to me to defend Anthropic & Lean decision makers.

          Kevin Buzzard was working on formalizing (partially modernized) version of Wiles' purported proof.

          Independently Anthropic finds a purported proof for Fermat's last theorem.

          Anthropic invites Kevin Buzzard to verify it. Kevin is compute poor: it appears running the Lean proof requires a 500 GB RAM machine. So they gave Kevin access to the compute. 13 million lines.

          sign up to the metamath mailing list and you should soon see a succinct human-discovered human-readable and essentially highschool-level proof of FLT in metamath

          It's not my task to justify the poor decisions of others.

    2. Yes. Proof checkers have a “kernel” which is small and has the rules. All proofs are verified by the kernel. Lean’s kernel is about 6,000 lines of code. HOL Light’s is 400 lines.

      There are other parts of the code that matter for correctness, such as parsers, memory allocators, OS code, etc.. But the mathematical faults are restricted to the kernel. The math in the kernel is complex, since it needs to be able to encode all of math and deal with concepts like infinity.

      It would be nice to see this webpage update with what soundness failures were mathematical errors about the kernel, mistakes writing the kernel, or bugs in other code.