gr_norm 12 minutes ago

This website seems to be responding to a strawman pitch for formal verification: that it eliminates all bugs. This would be a preposterous thing to say, and I've never heard it.

Of course it's only as good as the specification you give it (and it's hard to write a good one!). And of course proof assistant kernels occasionally have bugs (so does the borrow checker, and yet it is enormously safer than writing C).

By the author's own admission, they were unable to find any issues in the specified parts of CompCert. Is the claim that massively reducing your attack surface isn't worthwhile?

dionnam 15 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 58 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 43 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 17 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.

    • mejutoco 7 minutes ago

      It can help you detect inconsistencies (for example, contradictions) in the former part as well.

erelong 23 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 51 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 43 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.