-
- Downloads
Merge branch 'state_inv' into 'master'
State invariants in WP and the dead of heap_ctx. This merge request changes the WP construction so that it takes _state interpretation_ as its parameter (part of the `irisG` type class), instead of building in the authoritative ownership of the entire state. When instantiating WP with a concrete language, one can choose the state interpretation. For example, for `heap_lang` we directly use `auth (gmap loc (frac * dec_agree val))`, and avoid the indirection through an invariant managing ownership of the entire state. As a result, we no longer have to carry around `heap_ctx`. See merge request !25
Showing
- program_logic/ectx_lifting.v 35 additions, 32 deletionsprogram_logic/ectx_lifting.v
- program_logic/gen_heap.v 145 additions, 0 deletionsprogram_logic/gen_heap.v
- program_logic/lifting.v 22 additions, 41 deletionsprogram_logic/lifting.v
- program_logic/ownp.v 231 additions, 0 deletionsprogram_logic/ownp.v
- program_logic/weakestpre.v 4 additions, 33 deletionsprogram_logic/weakestpre.v
- tests/barrier_client.v 12 additions, 14 deletionstests/barrier_client.v
- tests/counter.v 12 additions, 11 deletionstests/counter.v
- tests/heap_lang.v 9 additions, 9 deletionstests/heap_lang.v
- tests/joining_existentials.v 21 additions, 25 deletionstests/joining_existentials.v
- tests/list_reverse.v 9 additions, 9 deletionstests/list_reverse.v
- tests/one_shot.v 5 additions, 6 deletionstests/one_shot.v
- tests/proofmode.v 12 additions, 11 deletionstests/proofmode.v
- tests/tree_sum.v 6 additions, 8 deletionstests/tree_sum.v
Loading
Please register or sign in to comment