Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Iris
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Yixuan Chen
Iris
Commits
9d629ec8
Commit
9d629ec8
authored
9 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Frame preserving updates for op.
parent
de82a00c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modures/cmra.v
+14
-0
14 additions, 0 deletions
modures/cmra.v
with
14 additions
and
0 deletions
modures/cmra.v
+
14
−
0
View file @
9d629ec8
...
...
@@ -327,6 +327,20 @@ Proof.
Qed
.
Lemma
ra_updateP_weaken
(
P
Q
:
A
→
Prop
)
x
:
x
⇝:
P
→
(
∀
y
,
P
y
→
Q
y
)
→
x
⇝:
Q
.
Proof
.
eauto
using
ra_updateP_compose
,
ra_updateP_id
.
Qed
.
Lemma
ra_updateP_op
(
P1
P2
Q
:
A
→
Prop
)
x1
x2
:
x1
⇝:
P1
→
x2
⇝:
P2
→
(
∀
y1
y2
,
P1
y1
→
P2
y2
→
Q
(
y1
⋅
y2
))
→
x1
⋅
x2
⇝:
Q
.
Proof
.
intros
Hx1
Hx2
Hy
z
n
?
.
destruct
(
Hx1
(
x2
⋅
z
)
n
)
as
(
y1
&
?
&
?);
first
by
rewrite
associative
.
destruct
(
Hx2
(
y1
⋅
z
)
n
)
as
(
y2
&
?
&
?);
first
by
rewrite
associative
(
commutative
_
x2
)
-
associative
.
exists
(
y1
⋅
y2
);
split
;
last
rewrite
(
commutative
_
y1
)
-
associative
;
auto
.
Qed
.
Lemma
ra_update_op
x1
x2
y1
y2
:
x1
⇝
y1
→
x2
⇝
y2
→
x1
⋅
x2
⇝
y1
⋅
y2
.
Proof
.
rewrite
!
cmra_update_updateP
;
eauto
using
ra_updateP_op
with
congruence
.
Qed
.
End
cmra
.
Hint
Extern
0
(_
≼
{
0
}
_)
=>
apply
cmra_includedN_0
.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment