mirror of
https://github.com/achlipala/frap.git
synced 2024-11-10 00:07:51 +00:00
SeparationLogic_template
This commit is contained in:
parent
47fd9a8abf
commit
28bd2266bf
3 changed files with 1155 additions and 1 deletions
|
@ -115,7 +115,7 @@ Module Import S <: SEP.
|
|||
|
||||
(* Separating conjunction, one of the two big ideas of separation logic.
|
||||
* When does [star p q] apply to [h]? When [h] can be partitioned into two
|
||||
* subheaps [h1] and [h2], respectively compatible with [p] and [q]. See ook
|
||||
* subheaps [h1] and [h2], respectively compatible with [p] and [q]. See book
|
||||
* module [Map] for definitions of [split] and [disjoint]. *)
|
||||
Definition star (p q : hprop) : hprop :=
|
||||
fun h => exists h1 h2, split h h1 h2 /\ disjoint h1 h2 /\ p h1 /\ q h2.
|
||||
|
|
1153
SeparationLogic_template.v
Normal file
1153
SeparationLogic_template.v
Normal file
File diff suppressed because it is too large
Load diff
|
@ -25,4 +25,5 @@ TypesAndMutation.v
|
|||
DeepAndShallowEmbeddings_template.v
|
||||
DeepAndShallowEmbeddings.v
|
||||
SepCancel.v
|
||||
SeparationLogic_template.v
|
||||
SeparationLogic.v
|
||||
|
|
Loading…
Reference in a new issue