|
|
|
|
|
by agentultra
3214 days ago
|
|
Given a formal model or proof of a system and the two teams will either succeed or fail. Give them a specification in prose and they will have a little too much wiggle room. Such specifications are useful to a degree but I look at them like sketches on a napkin. If you use a more formal method of mathematics as your specification then you can be more precise about the invariants that matter and model your system more faithfully. And with a good proof assistant or model checker the computer can even help you catch flaws in your design that you would never have been able to think of on your own. It's true that the source code is a proof of something. It often helps to know whether you've built the right thing. And that it does what you think it does. |
|
Getting your model right is as hard, if not harder, than getting the software right in the first place. The problem hasn't changed you've just added more layers (and more cost) in the hopes that doing it twice, differently, eliminates most of the problems.