Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Janno
iris-coq
Commits
42ecd0a6
Commit
42ecd0a6
authored
Aug 06, 2017
by
Jacques-Henri Jourdan
Browse files
Stronger delete_option_local_update
parent
36f74ae4
Changes
1
Hide whitespace changes
Inline
Side-by-side
theories/algebra/local_updates.v
View file @
42ecd0a6
...
...
@@ -166,9 +166,8 @@ Proof.
destruct
z
as
[
z
|]
;
last
done
.
destruct
y
;
inversion
Heq
.
Qed
.
Lemma
delete_option_local_update
{
A
:
cmraT
}
(
x
y
:
A
)
:
Exclusive
y
→
(
Some
x
,
Some
y
)
~l
~>
(
None
,
None
).
Lemma
delete_option_local_update
{
A
:
cmraT
}
(
x
:
option
A
)
(
y
:
A
)
:
Exclusive
y
→
(
x
,
Some
y
)
~l
~>
(
None
,
None
).
Proof
.
move
=>
Hex
.
apply
local_update_unital
=>
n
z
/=
Hy
Heq
.
split
;
first
done
.
destruct
z
as
[
z
|]
;
last
done
.
exfalso
.
...
...
Write
Preview
Supports
Markdown
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