Clean up heap_lang and remove some FIXMEs.
Notable changes: * I am now using the same names for the fields of the language record and the instances in heap_lang. In order to deal with shadowing, I have put all definitions in heap_lang.v in a module. * Instead of defining evaluation contexts recursively, these are now defined using lists. This way we can easily reuse operations on lists. For example, composition of evaluation contexts is just appending lists. Also, it allowed me to simplify the rather complicated proof of step_by_val as induction on the shape of contexts no longer results in a blow-up of the number of cases. * Use better automation to prove all lemmas of heap_lang. * I have introduced tactics to invert steps and to do steps. These tactics greatly helped simplifying boring parts of lifting lemmas.
Showing
- _CoqProject 1 addition, 0 deletions_CoqProject
- barrier/heap_lang.v 251 additions, 397 deletionsbarrier/heap_lang.v
- barrier/heap_lang_tactics.v 72 additions, 0 deletionsbarrier/heap_lang_tactics.v
- barrier/lifting.v 112 additions, 237 deletionsbarrier/lifting.v
- barrier/sugar.v 24 additions, 38 deletionsbarrier/sugar.v
- barrier/tests.v 25 additions, 36 deletionsbarrier/tests.v
- iris/hoare_lifting.v 1 addition, 1 deletioniris/hoare_lifting.v
- iris/language.v 6 additions, 8 deletionsiris/language.v
- iris/weakestpre.v 4 additions, 4 deletionsiris/weakestpre.v
Loading
Please register or sign in to comment