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
fdec4152
Commit
fdec4152
authored
9 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Missing cmra_preserving lemmas.
parent
ee3b01dd
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
algebra/cmra.v
+4
-0
4 additions, 0 deletions
algebra/cmra.v
with
4 additions
and
0 deletions
algebra/cmra.v
+
4
−
0
View file @
fdec4152
...
@@ -272,8 +272,12 @@ Lemma cmra_unit_preserving x y : x ≼ y → unit x ≼ unit y.
...
@@ -272,8 +272,12 @@ Lemma cmra_unit_preserving x y : x ≼ y → unit x ≼ unit y.
Proof
.
rewrite
!
cmra_included_includedN
;
eauto
using
cmra_unit_preservingN
.
Qed
.
Proof
.
rewrite
!
cmra_included_includedN
;
eauto
using
cmra_unit_preservingN
.
Qed
.
Lemma
cmra_included_unit
x
:
unit
x
≼
x
.
Lemma
cmra_included_unit
x
:
unit
x
≼
x
.
Proof
.
by
exists
x
;
rewrite
cmra_unit_l
.
Qed
.
Proof
.
by
exists
x
;
rewrite
cmra_unit_l
.
Qed
.
Lemma
cmra_preservingN_l
n
x
y
z
:
x
≼
{
n
}
y
→
z
⋅
x
≼
{
n
}
z
⋅
y
.
Proof
.
by
intros
[
z1
Hz1
];
exists
z1
;
rewrite
Hz1
(
associative
op
)
.
Qed
.
Lemma
cmra_preserving_l
x
y
z
:
x
≼
y
→
z
⋅
x
≼
z
⋅
y
.
Lemma
cmra_preserving_l
x
y
z
:
x
≼
y
→
z
⋅
x
≼
z
⋅
y
.
Proof
.
by
intros
[
z1
Hz1
];
exists
z1
;
rewrite
Hz1
(
associative
op
)
.
Qed
.
Proof
.
by
intros
[
z1
Hz1
];
exists
z1
;
rewrite
Hz1
(
associative
op
)
.
Qed
.
Lemma
cmra_preservingN_r
n
x
y
z
:
x
≼
{
n
}
y
→
x
⋅
z
≼
{
n
}
y
⋅
z
.
Proof
.
by
intros
;
rewrite
-!
(
commutative
_
z
);
apply
cmra_preservingN_l
.
Qed
.
Lemma
cmra_preserving_r
x
y
z
:
x
≼
y
→
x
⋅
z
≼
y
⋅
z
.
Lemma
cmra_preserving_r
x
y
z
:
x
≼
y
→
x
⋅
z
≼
y
⋅
z
.
Proof
.
by
intros
;
rewrite
-!
(
commutative
_
z
);
apply
cmra_preserving_l
.
Qed
.
Proof
.
by
intros
;
rewrite
-!
(
commutative
_
z
);
apply
cmra_preserving_l
.
Qed
.
...
...
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