l4v
l4v copied to clipboard
Add `hoare_from_abs` rule
I didn't put much thought into the names of the new lemmas. Maybe valid_cross
or hoare_cross
might be slightly better than hoare_from_abs
. But I imagine that someone would have to search for a theorem with valid
and corres_underlying
to find it, anyway. These lemmas are visible in AInvs, Refine, and CRefine, at least
I'm fine with the names. Small comments, but nothing semantic.
I have responded to the comments, and also added a type signature for ex_abs_underlying
This looks ready to merge now. @michaelmcinerney can you please squash that one commit?
I tried to squash that one commit, but I'm not sure what's happened, with all the other merge stuff
hm, yes, that looks not good :-) Let me check.
Ok, I think I fixed it. (Basically started a new branch from master, cherry-picked your two commits and squashed them)
Thanks!