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
Gaëtan Gilbert
Iris
Commits
eff76775
Commit
eff76775
authored
1 year ago
by
Ike Mulder
Browse files
Options
Downloads
Patches
Plain Diff
Motivate agree lemma in comment
parent
4ea5f3e2
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
iris/base_logic/algebra.v
+7
-2
7 additions, 2 deletions
iris/base_logic/algebra.v
with
7 additions
and
2 deletions
iris/base_logic/algebra.v
+
7
−
2
View file @
eff76775
...
...
@@ -121,8 +121,13 @@ Section upred.
Lemma
to_agree_uninjI
x
:
✓
x
⊢
∃
a
,
to_agree
a
≡
x
.
Proof
.
uPred
.
unseal
.
split
=>
n
y
_
.
exact
:
to_agree_uninjN
.
Qed
.
(** Derived lemma: If two [x y : agree O] compose to a [to_agree o],
they are internally equal, and also equal to the [to_agree o]. *)
(** Derived lemma: If two [x y : agree O] compose to some [to_agree a],
they are internally equal, and also equal to the [to_agree a].
Empirically, [x ⋅ y ≡ to_agree a] appears often when agreement comes up
in CMRA validity terms, especially when [view]s are involved. The desired
simplification [x ≡ y ∧ y ≡ to_agree a] is also not straightforward to
derive, so we have a special lemma to handle this common case. *)
Lemma
agree_op_equiv_to_agreeI
x
y
a
:
x
⋅
y
≡
to_agree
a
⊢
x
≡
y
∧
y
≡
to_agree
a
.
Proof
.
...
...
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