logoalt Hacker News

NatKarmios • today at 2:03 AM • 0 replies • view on HN

Interestingly, for the kinds of proofs on programs I'm familiar with (as someone who works in the separation logic world), the notion of proving a program backwards and forwards are two different things; we generally use a forward proof (hoare logic / separation logic) for correctness (this program doesn't deviate from the spec / has no bugs) and a backward proof (incorrectness logic) for incorrectness (this program can exhibit a certain bug)