Homework 7: Floyd-Hoare Logic
Due Wednesday, March 16, at 2:00 PM
Complete the following exercises from Hoare.v:
Hoare.v: hoare_pre_false
(modified as in class), hoare_asgn_wrong
(see lecture 3/3 if you’re having trouble thinking of an example), hoare_asgn_examples_2
, hoare_asgn_example4
, swap_exercise
, if_minus_plus
If you’re taking the course for 4 credits, also do hoare_asgn_fwd
, if1_ceval
, and hoare_if1
.