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
7ae0b644
Commit
7ae0b644
authored
May 23, 2018
by
Robbert Krebbers
Browse files
Merge branch 'master' into gen_proofmode
parents
efd17201
497bd8a8
Changes
2
Hide whitespace changes
Inline
Side-by-side
opam
View file @
7ae0b644
...
...
@@ -11,5 +11,5 @@ install: [make "install"]
remove: ["rm" "-rf" "%{lib}%/coq/user-contrib/iris"]
depends: [
"coq" { (>= "8.7.1" & < "8.9~") | (= "dev") }
"coq-stdpp" { (= "dev.2018-05-
14
.0.8f
deb77f
") | (= "dev") }
"coq-stdpp" { (= "dev.2018-05-
23
.0.
a
8f
65af5
") | (= "dev") }
]
theories/algebra/local_updates.v
View file @
7ae0b644
...
...
@@ -52,6 +52,13 @@ Section updates.
apply
(
cancelableN
x
)
;
first
done
.
by
rewrite
-
cmra_op_opM_assoc
.
Qed
.
Lemma
replace_local_update
x
y
`
{!
IdFree
x
}
:
✓
y
→
(
x
,
x
)
~l
~>
(
y
,
y
).
Proof
.
intros
?
n
mz
?
Heq
;
simpl
in
*
;
split
;
first
by
apply
cmra_valid_validN
.
destruct
mz
as
[
z
|]
;
[|
done
].
by
destruct
(
id_freeN_r
n
n
x
z
).
Qed
.
Lemma
local_update_discrete
`
{!
CmraDiscrete
A
}
(
x
y
x'
y'
:
A
)
:
(
x
,
y
)
~l
~>
(
x'
,
y'
)
↔
∀
mz
,
✓
x
→
x
≡
y
⋅
?
mz
→
✓
x'
∧
x'
≡
y'
⋅
?
mz
.
Proof
.
...
...
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