Sam Gruetter’s Live Verification enables gradual C proof derivation

stng.substack.com10 min read

The author explores live verification, a framework developed by Sam Gruetter that combines the automation advantages of SMT-based solvers with the interactive feedback of proof assistants like Rocq. By interleaving C-like implementation code with Rocq proof annotations in Bedrock2, programmers can gradually derive formally verified C programs with immediate, human-readable feedback on logical states and loop invariants. The author argues that this stepwise, localized verification approach is well-suited to be driven by automated systems or AI agents exploring program design spaces. Open article →