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
13117f43
Commit
13117f43
authored
Jul 01, 2016
by
Jacques-Henri Jourdan
Browse files
Local update for nat
parent
add800d8
Pipeline
#1873
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
algebra/updates.v
View file @
13117f43
...
...
@@ -239,3 +239,13 @@ Section option.
Lemma
option_update
x
y
:
x
~~>
y
→
Some
x
~~>
Some
y
.
Proof
.
rewrite
!
cmra_update_updateP
;
eauto
using
option_updateP
with
subst
.
Qed
.
End
option
.
(** * Natural numbers *)
Lemma
nat_local_update
(
x
y
:
nat
)
mz
:
x
~l
~>
y
@
mz
.
Proof
.
split
.
done
.
unfold
opM
,
op
,
dist
,
cofe_dist
,
cmra_cofeC
,
cmra_op
,
cmra_dist
,
natR
,
nat_op
,
discrete_dist
,
equiv
,
equivL
.
destruct
mz
as
[
z
|]
;
intros
n
[
z'
|]
;
lia
.
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