|
|
|
|
|
by gr_norm
2 days 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? |
|
My undergrad course on formal methods pitched literally that. "Testing can only prove that there are bugs. Verification can prove there are no bugs." It is easy to mistake the "there are no bugs" to mean "eliminates all bugs" since they are equivalent statements. Of course, if you know a little more, it's clear that this only applies with a bunch of caveats. But if you knew that then you would not be taking the course in the fjrst place. This has left generations of students insufficiently informed.