logoalt Hacker News

less_less • today at 8:15 AM • 1 reply • view on HN

Isn't it more like:

    Verification: code does what the specifications say

    Validation: specifications describe something we wanted to build
where with formal verification, the specifications are lower-level, so validation is extra-important.

Replies

eru • today at 8:24 AM

> where with formal verification, the specifications are lower-level, so validation is extra-important.

Specifications don't need to be lower-level. They also compose nicely. Ie you can figure out how to formally specify a 'this doesn't crash' requirement once, and then re-use it on all your projects.