Merge branch 'auto-lock' into 'master'
Add locking to value-scope notation for lambdas This attempts to hide all our locking machinery so that users don't have to care. To this end, `locked` is added to the value-scope notation for lambdas and recursive functions, and the tactics wp_rec and wp_lam are enhanced to unlock properly. The main open question is: How can we figure out automatically what to unfold? The heuristic I cam up with fails in barrier_client because there, we have a value parameterized by something on the Coq level. Maybe a more viable alternative would be to add locking to the coercion that embeds values into expressions? Cc @robbertkrebbers @jjourdan See merge request !34
No related branches found
No related tags found
Showing
- heap_lang/derived.v 6 additions, 4 deletionsheap_lang/derived.v
- heap_lang/lib/assert.v 2 additions, 2 deletionsheap_lang/lib/assert.v
- heap_lang/lib/barrier/barrier.v 3 additions, 3 deletionsheap_lang/lib/barrier/barrier.v
- heap_lang/lib/barrier/proof.v 2 additions, 2 deletionsheap_lang/lib/barrier/proof.v
- heap_lang/lib/counter.v 9 additions, 10 deletionsheap_lang/lib/counter.v
- heap_lang/lib/par.v 3 additions, 5 deletionsheap_lang/lib/par.v
- heap_lang/lib/spawn.v 5 additions, 5 deletionsheap_lang/lib/spawn.v
- heap_lang/lib/spin_lock.v 6 additions, 6 deletionsheap_lang/lib/spin_lock.v
- heap_lang/lib/ticket_lock.v 8 additions, 8 deletionsheap_lang/lib/ticket_lock.v
- heap_lang/lifting.v 0 additions, 6 deletionsheap_lang/lifting.v
- heap_lang/notation.v 5 additions, 5 deletionsheap_lang/notation.v
- heap_lang/wp_tactics.v 11 additions, 2 deletionsheap_lang/wp_tactics.v
- tests/barrier_client.v 0 additions, 2 deletionstests/barrier_client.v
- tests/counter.v 0 additions, 2 deletionstests/counter.v
- tests/heap_lang.v 0 additions, 1 deletiontests/heap_lang.v
- tests/joining_existentials.v 0 additions, 2 deletionstests/joining_existentials.v
- tests/list_reverse.v 0 additions, 1 deletiontests/list_reverse.v
- tests/one_shot.v 0 additions, 2 deletionstests/one_shot.v
- tests/tree_sum.v 0 additions, 3 deletionstests/tree_sum.v
Loading
Please register or sign in to comment