An unofficial, read-only Hacker News reader.

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

570 points by nb-t 3 days ago | github.com | 371 comments on HN

View full thread · View on Hacker News

Comment thread (2)

  1. Lean has I/O and you can modify files. It's only a problem if you run it naively, but it is something to keep in mind when running random Lean code.
    Replies (1)
    1. To be precise,

      0. Lean source does I/O because they are not so much proofs as proof-generating programs requiring "elaboration." The 240MB of compressed Lean that Alpöge uploaded expands to 8GB of compressed .ndjson fully elaborated proofs via lake build.

      1. Given .ndjson, the actual proof checking performed by a kernel can take place I/O-free. The attack surface shrinks to (a) resource depletion, e.g. oom, and (2) kernel errors including those akin to malformed input segfaulting a C compiler.

      The elephant in the room begs to be noticed: why does proof elaboration need to open such a huge security hole?