Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Iris
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Matthieu Sozeau
Iris
Commits
abba5b45
Commit
abba5b45
authored
4 years ago
by
Matthieu Sozeau
Browse files
Options
Downloads
Patches
Plain Diff
Backward compatible fix for Coq PR#7916
parent
e1eaa456
Branches
coq-13969
No related tags found
No related merge requests found
Pipeline
#48003
passed
4 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
iris/algebra/ofe.v
+4
-2
4 additions, 2 deletions
iris/algebra/ofe.v
with
4 additions
and
2 deletions
iris/algebra/ofe.v
+
4
−
2
View file @
abba5b45
...
@@ -13,6 +13,8 @@ Set Primitive Projections.
...
@@ -13,6 +13,8 @@ Set Primitive Projections.
(** Unbundled version *)
(** Unbundled version *)
Class
Dist
A
:=
dist
:
nat
→
relation
A
.
Class
Dist
A
:=
dist
:
nat
→
relation
A
.
Global
Instance
dist_rewrite
{
A
}
(
d
:
Dist
A
)
x
:
RewriteRelation
(
dist
x
)
:=
{}
.
Global
Hint
Mode
RewriteRelation
-
-
:
typeclass_instances
.
Global
Instance
:
Params
(
@
dist
)
3
:=
{}
.
Global
Instance
:
Params
(
@
dist
)
3
:=
{}
.
Notation
"x ≡{ n }≡ y"
:=
(
dist
n
x
y
)
Notation
"x ≡{ n }≡ y"
:=
(
dist
n
x
y
)
(
at
level
70
,
n
at
next
level
,
format
"x ≡{ n }≡ y"
)
.
(
at
level
70
,
n
at
next
level
,
format
"x ≡{ n }≡ y"
)
.
...
@@ -653,9 +655,9 @@ End empty.
...
@@ -653,9 +655,9 @@ End empty.
Section
product
.
Section
product
.
Context
{
A
B
:
ofe
}
.
Context
{
A
B
:
ofe
}
.
Typeclasses
Transparent
dist
.
Local
Instance
prod_dist
:
Dist
(
A
*
B
)
:=
λ
n
,
prod_relation
(
dist
n
)
(
dist
n
)
.
Local
Instance
prod_dist
:
Dist
(
A
*
B
)
:=
λ
n
,
prod_relation
(
dist
n
)
(
dist
n
)
.
Global
Instance
pair_ne
:
Global
Instance
pair_ne
:
NonExpansive2
(
@
pair
A
B
)
:=
_
.
NonExpansive2
(
@
pair
A
B
)
:=
_
.
Global
Instance
fst_ne
:
NonExpansive
(
@
fst
A
B
)
:=
_
.
Global
Instance
fst_ne
:
NonExpansive
(
@
fst
A
B
)
:=
_
.
Global
Instance
snd_ne
:
NonExpansive
(
@
snd
A
B
)
:=
_
.
Global
Instance
snd_ne
:
NonExpansive
(
@
snd
A
B
)
:=
_
.
Definition
prod_ofe_mixin
:
OfeMixin
(
A
*
B
)
.
Definition
prod_ofe_mixin
:
OfeMixin
(
A
*
B
)
.
...
...
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