Lecture 03
Continuing Exercise 02
Compositional VCG (for loop-free code)
Hoare Logic Basics - Hoare Triple, Strongest Postcondition, Weakest Precondition
Forward VCG - Based on strongest postcondition rules
Backward VCG - Based on weakest preconditions rules
Syntactic Rules for Hoare Logic - We derive syntactic rules that do not directly refer to semantics of commands as relations.
Continued in Exercise 03