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
Pierre Roux
Iris
Commits
8ebf6025
Commit
8ebf6025
authored
2 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Paolo's suggestion
parent
c332a0d9
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
iris/algebra/ofe.v
+7
-3
7 additions, 3 deletions
iris/algebra/ofe.v
with
7 additions
and
3 deletions
iris/algebra/ofe.v
+
7
−
3
View file @
8ebf6025
...
@@ -1016,10 +1016,14 @@ When building abstractions (point 2, above), make sure that [leibnizO] does not
...
@@ -1016,10 +1016,14 @@ When building abstractions (point 2, above), make sure that [leibnizO] does not
leak into the API boundary. Otherwise client code can end up with overlapping
leak into the API boundary. Otherwise client code can end up with overlapping
instances, and thus experience odd unification failures. *)
instances, and thus experience odd unification failures. *)
(** The combinator [discreteO A] lifts an existing [Equiv A] instance into a
discrete OFE. *)
Notation
discreteO
A
:=
(
Ofe
A
(
discrete_ofe_mixin
_))
.
Notation
discreteO
A
:=
(
Ofe
A
(
discrete_ofe_mixin
_))
.
(** Force the [Equivalence] proof to be [eq_equivalence] so that it does not
find another one, like [ofe_equivalence], in the case of aliases. See also
(** The combinator [leibnizO A] lifts Leibniz equality [=] into a discrete OFE.
https://gitlab.mpi-sws.org/iris/iris/issues/299 *)
The implementation forces the [Equivalence] proof to be [eq_equivalence] so that
Coq does not accidentally use another one, like [ofe_equivalence], in the case of
aliases. See also https://gitlab.mpi-sws.org/iris/iris/issues/299 *)
Notation
leibnizO
A
:=
(
Ofe
A
(
@
discrete_ofe_mixin
_
equivL
eq_equivalence
))
.
Notation
leibnizO
A
:=
(
Ofe
A
(
@
discrete_ofe_mixin
_
equivL
eq_equivalence
))
.
(** In order to define a discrete CMRA with carrier [A] (in the file [cmra.v])
(** In order to define a discrete CMRA with carrier [A] (in the file [cmra.v])
...
...
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