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
Iris
Iris
Commits
d7d3cacf
Commit
d7d3cacf
authored
Feb 12, 2016
by
Ralf Jung
Browse files
prove that 'deleting' in the exclusive CMRA is a local update
parent
c51a909a
Changes
1
Hide whitespace changes
Inline
Side-by-side
algebra/excl.v
View file @
d7d3cacf
...
...
@@ -143,6 +143,10 @@ Global Instance excl_local_update b :
LocalUpdate
(
λ
a
,
if
a
is
Excl
_
then
True
else
False
)
(
λ
_
,
Excl
b
).
Proof
.
split
.
by
intros
n
y1
y2
Hy
.
by
intros
n
[
a
|
|]
[
b'
|
|].
Qed
.
Global
Instance
excl_local_update_del
:
LocalUpdate
(
λ
a
,
if
a
is
Excl
_
then
True
else
False
)
(
λ
_
,
ExclUnit
).
Proof
.
split
.
by
intros
n
y1
y2
Hy
.
by
intros
n
[
a
|
|]
[
b'
|
|].
Qed
.
(** Updates *)
Lemma
excl_update
(
x
:
A
)
y
:
✓
y
→
Excl
x
~~>
y
.
Proof
.
by
destruct
y
;
intros
?
[?|
|].
Qed
.
...
...
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