Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
George Pirlea
Iris
Commits
ca714fcf
Commit
ca714fcf
authored
Nov 19, 2016
by
Robbert Krebbers
Browse files
Show that the fraction of a mapsto is valid.
parent
44a220a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
heap_lang/heap.v
View file @
ca714fcf
...
...
@@ -79,6 +79,12 @@ Section heap.
Global
Instance
heap_mapsto_timeless
l
q
v
:
TimelessP
(
l
↦
{
q
}
v
).
Proof
.
rewrite
heap_mapsto_eq
/
heap_mapsto_def
.
apply
_
.
Qed
.
Lemma
heap_mapsto_valid
l
q
v
:
l
↦
{
q
}
v
⊢
✓
q
.
Proof
.
rewrite
heap_mapsto_eq
/
heap_mapsto_def
auth_own_valid
!
discrete_valid
.
by
apply
pure_mono
=>
/
singleton_valid
[??].
Qed
.
Lemma
heap_mapsto_op_eq
l
q1
q2
v
:
l
↦
{
q1
}
v
∗
l
↦
{
q2
}
v
⊣
⊢
l
↦
{
q1
+
q2
}
v
.
Proof
.
by
rewrite
heap_mapsto_eq
-
auth_own_op
op_singleton
pair_op
dec_agree_idemp
.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment