Deductively verifies a program using Hoare Logic & First Order Logic
Self-Verifying Prgrogramming Language made by Microsoft Dafny
{Pre-cond} program {Post-cond} for loops: {Pre-cond} {Invariant} {Invariant and cond} loop {Invariant} {Invariant and not cond} {Post-cond}
- Specs are the most important things!! (without specs, impossible to verify)
- Invariant is hard to find, but use your intuition :)