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

  1. Would it be possible to formally verify lean and friends? If SeL4 can be formally verified, it should be possible, right?
    Replies (2)
    1. I believe there is a version of the Lean kernel that is itself formalized in Lean.
    2. Not just possible, it's already done with the con-leche lean kernel.

      Of course, it's turtles all the way down. There could be CPU exploits exploiting a broad range of CPUs but also so obfuscated that humans and LLMs cannot spot it in the thousands of lines of lean. Exploits that survive multiple lean kernels and lean kernels that verify each other.

      In practice: I had fun this year figuring out some lean exploits. But they were all immediately and obviously detectable. These million line lean proofs just don't contain anything remotely to the nonsense of an exploit.

      Replies (1)
      1. Wasn't there a very complex bug found in raft? What is the upper bound on bug complexity? Shouldn't big proofs be suspicious? The bigger they are the more likely they are to exploit the verifier in increasingly complex ways.