johnwickerson.wordpress.com
Loop invariants – where should we put them?
Many verification-oriented programming languages have built-in support for attaching loop invariants to loops. A loop invariant is a condition that holds in four different places: immediately befor…