logoalt Hacker News

alexey-salmin • today at 3:48 PM • 0 replies • view on HN

Depends on the goal. If you just want software to be generally safer, with less bugs and higher quality then this is sufficient, yes.

If you want actual guarantees that e.g. money won't disappear from your account some day or your messages won't be read by a third-party, then formal verification alone doesn't grant that.

Consider that Wifi WPA2 encryption was formally verified and yet broken. In simple terms the bug was in the protocol specification [1]. The "code is the law" crypto folks have even more fun stories to share.

[1] https://www.galois.com/articles/formal-methods-krack-vulnera...