What formal verification is in reality

encyclopedism 31 points 19 comments December 03, 2026
formalverification.fail · View on Hacker News

Discussion Highlights (7 comments)

utopiah

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.

TZubiri

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

charles_f

> errors in the proofs themselves That's the problem in a 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).

erelong

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?)

dionnam

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...

gr_norm

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?

monitorronco

I dont have background so my question may sound stupid to many, but arent unit tests enough (for professional/enterprise)? Why bother with formal verification?

Semantic search powered by Rivestack pgvector
4,908 stories · 45,036 chunks indexed