Hacker News new | ask | show | jobs
by Dashadower 16 days ago
Its called formal verification. If you do try a refinement proof against a specification the proof architecture is just following the implementation's code and performing case anslysis for each branch possible.
1 comments

No. Formal verification is just one, extreme form of deterministic verification. Linting, compilation, automated tests are all deterministic.
Linting and static analysis all have imprecisions and overapproximations that limit the resolution on what semantic properties you can check.

If you're saying that we should utilize all the tools that we have at our disposal to write better code, then I agree. Every verification tool has its cons and not one single method can tick all the checkboxes.