Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Iris
Iris
Commits
d7d3cacf
Commit
d7d3cacf
authored
Feb 12, 2016
by
Ralf Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
prove that 'deleting' in the exclusive CMRA is a local update
parent
c51a909a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
algebra/excl.v
algebra/excl.v
+4
-0
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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