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
- _CoqProject 3 additions, 3 deletions_CoqProject
- base_logic/lib/cancelable_invariants.v 10 additions, 7 deletionsbase_logic/lib/cancelable_invariants.v
- heap_lang/adequacy.v 13 additions, 14 deletionsheap_lang/adequacy.v
- heap_lang/derived.v 0 additions, 77 deletionsheap_lang/derived.v
- heap_lang/heap.v 0 additions, 194 deletionsheap_lang/heap.v
- heap_lang/lang.v 10 additions, 0 deletionsheap_lang/lang.v
- heap_lang/lib/assert.v 1 addition, 1 deletionheap_lang/lib/assert.v
- heap_lang/lib/barrier/proof.v 12 additions, 14 deletionsheap_lang/lib/barrier/proof.v
- heap_lang/lib/barrier/specification.v 3 additions, 5 deletionsheap_lang/lib/barrier/specification.v
- heap_lang/lib/counter.v 12 additions, 14 deletionsheap_lang/lib/counter.v
- heap_lang/lib/lock.v 4 additions, 4 deletionsheap_lang/lib/lock.v
- heap_lang/lib/par.v 10 additions, 10 deletionsheap_lang/lib/par.v
- heap_lang/lib/spawn.v 6 additions, 7 deletionsheap_lang/lib/spawn.v
- heap_lang/lib/spin_lock.v 7 additions, 8 deletionsheap_lang/lib/spin_lock.v
- heap_lang/lib/ticket_lock.v 10 additions, 14 deletionsheap_lang/lib/ticket_lock.v
- heap_lang/notation.v 7 additions, 7 deletionsheap_lang/notation.v
- heap_lang/proofmode.v 8 additions, 28 deletionsheap_lang/proofmode.v
- heap_lang/rules.v 276 additions, 0 deletionsheap_lang/rules.v
- heap_lang/wp_tactics.v 1 addition, 1 deletionheap_lang/wp_tactics.v
- program_logic/adequacy.v 37 additions, 57 deletionsprogram_logic/adequacy.v
Loading
Please register or sign in to comment