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 (3)

  1. I think this review is unfair given he doesn't compare those observations to:

    1. The number of bugs in unverified programs of similat complexity. By average and good coders. Think CompCert's middle end having no bugs in the evaluation against other compilers.

    2. The number of bugs in those vs verification tools in general. If proof and simplicity works, we should see a huge drop vs larger provers or solvers.

    3. How much the proof helped prevent bugs in verified software and their severity vs the number and severity of bugs in the provers.

    4. An empirical argument where common, coding strategies in battle-tested compilers normally run withiut errors. Therefore, a verified checker implemented with those patterns in a simple, coding style will probably run correctly or with few bugs. But, he just says a large binary checking a large binary which makes both programs sound equally reliable.

    So, I support developing and using these tools. We should have them tested on many, small programs and properties like we do static analyzers. Then, use David A. Wheeler's diverse, double compilation on their checkers with GCC and LLVM. Run other verified tools through that.

    Replies (1)
    1. Aside: AI now being used to beef up CompCert (while maintaining proof of correctness) to improve efficiency of its generated code.

      https://news.ycombinator.com/item?id=50539947

      Replies (1)
      1. That's amazing! Thanks for the link.

        Because CompCert is proprietary, I wonder if we could ask that team to do the same for CakeML. They could move MLton-style optimizations into the higher passes while moving Rust- or C-like optimizations into the lower passes.