What formal verification is in reality
6 points by lojikil
6 points by lojikil
Weirdly malicious title/framing for content that's otherwise quite interesting. This isn't what "formal verification is in reality", this is "sneaky and difficult bugs in complex software that were eventually caught and fixed".
I get that there's a lot of hype around the topic and a lot of people thinking it's a silver bullet when it's not, but then scoping the counter-argument to that (i.e. that it is not infallible) would seem a lot more serious and sensible, than implying that it's fundamentally and completely untrustable.
Well said, especially the last part of having a serious and sensible discussion about the shortcomings and ways to improve, than merely implying the entire foundation is not to be trusted.
Seems 100% AI-generated?
Nobody serious about formal verification would claim that it guarantees the absence of bugs. The proofs are built against a model of the system, which under-approximates it. So if formal verification finds a bug, the bug usually exists. If it doesn’t, you only know your model is sound, not necessarily the real system. That’s what all these bug reports are about. Bugs not covered by the verified models. Absolutely nothing new. Anybody serious about formal verification will tell you also that it should be used together with proper testing and a rigorous design and development process. It’s not a silver bullet, but a valuable tool when it’s worth the effort.
We've got a lot of very unserious people talking about formal verification right now. Some of them will get listened to by accident.
I've been speaking about this with friends & coworkers, Formal Methods (verification, specification, &c) aren't some magic wand that you can wave, esp if you're not the one writing the contracts, the specifications, understanding the search space, or what-have-you. Interesting to see a collection of such issues.
This is not FM as done by practitioners. Finding and discovering properties is the hard part. Correctness is never trivial. Translating to Lean or Haskell or whatever will catch bugs at the type system level - type errors - but getting the types to represent correct states of a system takes a lot of study about a specific domain.