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
Jonas Kastberg
iris
Commits
fcee7da0
Commit
fcee7da0
authored
Jul 23, 2016
by
Robbert Krebbers
Browse files
Local update on gset.
parent
a90a8e99
Changes
1
Hide whitespace changes
Inline
Side-by-side
algebra/gset.v
View file @
fcee7da0
...
...
@@ -74,4 +74,13 @@ Section gset.
Proof
.
eauto
using
updateP_alloc_strong
.
Qed
.
Lemma
updateP_alloc'
X
:
GSet
X
~~>
:
λ
Y
,
∃
i
,
Y
=
GSet
({[
i
]}
∪
X
)
∧
i
∉
X
.
Proof
.
eauto
using
updateP_alloc
.
Qed
.
Lemma
alloc_singleton_local_update
X
i
Xf
:
i
∉
X
→
i
∉
Xf
→
GSet
X
~l
~>
GSet
({[
i
]}
∪
X
)
@
Some
(
GSet
Xf
).
Proof
.
intros
??
;
apply
local_update_total
;
split
;
simpl
.
-
rewrite
!
gset_disj_valid_op
;
set_solver
.
-
intros
mZ
?%
gset_disj_valid_op
HXf
.
rewrite
-
gset_disj_union
-
?assoc
?HXf
?cmra_opM_assoc
;
set_solver
.
Qed
.
End
gset
.
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