Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
iris-coq
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Janno
iris-coq
Commits
7298dd39
Commit
7298dd39
authored
Nov 29, 2017
by
Robbert Krebbers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prove `x ⋅ y ~~> x`.
parent
623adc39
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
theories/algebra/updates.v
theories/algebra/updates.v
+6
-0
No files found.
theories/algebra/updates.v
View file @
7298dd39
...
...
@@ -77,6 +77,12 @@ Lemma cmra_update_op x1 x2 y1 y2 : x1 ~~> y1 → x2 ~~> y2 → x1 ⋅ x2 ~~> y1
Proof
.
rewrite
!
cmra_update_updateP
;
eauto
using
cmra_updateP_op
with
congruence
.
Qed
.
Lemma
cmra_update_op_l
x
y
:
x
⋅
y
~~>
x
.
Proof
.
intros
n
mz
.
rewrite
comm
cmra_opM_assoc
.
apply
cmra_validN_op_r
.
Qed
.
Lemma
cmra_update_op_r
x
y
:
x
⋅
y
~~>
y
.
Proof
.
rewrite
comm
.
apply
cmra_update_op_l
.
Qed
.
Lemma
cmra_update_valid0
x
y
:
(
✓
{
0
}
x
→
x
~~>
y
)
→
x
~~>
y
.
Proof
.
intros
H
n
mz
Hmz
.
apply
H
,
Hmz
.
...
...
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