What formal verification is in reality

(formalverification.fail)

18 points | by encyclopedism 1 hour ago

5 comments

  • dionnam 0 minutes ago
    hashicorp was never verified tho. only the protocol has a TLA+ spec. antithesis even says the spec "doesn't speak to details like installSnapshot, or replica replacement", and the bug was go handling heartbeats concurrently when the model assumes every op is atomic https://antithesis.com/blog/2026/finding-bugs-in-raft-implem...
  • utopiah 44 minutes ago
    Not my domain but I'm speculating that a lot of "solutions" to complex problems at the moment exist because nobody cared enough to verify. I'm speculating even further than now that they are finally being verified it's mostly due to the landscape of problems, namely are genuinely complex and thus were ignored as too hard for a too low pay off, but when you have a LOT of resources that is perishable and constantly looking for more trust, this set of problems suddenly appear very interesting.
  • charles_f 28 minutes ago
    > errors in the proofs themselves

    That's the problem in the nutshell. Formal verification stems more or less from a formal language for requirements, and if I learned something across 20y of being paid for code is that no-one knows how to write requirements, can predict these requirements in an exhaustive way (myself included).

    • cmrdporcupine 2 minutes ago
      Software has two forms of complexity (which can then yield bugs); intrinsic complexity arising from the complexity of the business domain... and "accidental" complexity arising from the faults or complexity of the tools and implementation.

      Formal verification can help flush out some of the mess from the latter.

      Unfortunately the the former -- the complexity of the actual business case / problem / real world domain -- has always been much harder than people ever seem to think. Also the reason why "rewrite from scratch" is often a total failure.

      Thinking clearly is hard. I'm gonna go watch TV.

  • erelong 9 minutes ago
    formal verification sounds like a nice idea, but in practice there's a lot of problems with it (I assume this site intends to highlight that reality?)
  • TZubiri 36 minutes ago
    Built lean yesterday. Repo is 7GB, contains compiled compilers for bootstrapping, build itself took multiple hours, left overnight. It’s literally C++ which compiled to C! I’m having a hard time believing that we are as certain that this thing has no bugs as we are of the bhaskara binomial root, let alone whether there actually is a bug or not
    • gaogao 28 minutes ago
      Typical practice is to double check with the C++ / Lean / or Rust kernels now these days to guard against an implementation specific bug. And yet, yeah there's still some chance of a bug, but there's also a chance of any computation model running in the physical world having issues.