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
4adb71a8
Verified
Commit
4adb71a8
authored
3 years ago
by
Paolo G. Giarrusso
Browse files
Options
Downloads
Patches
Plain Diff
Add remaining modes in cmra.v
parent
1d7cb415
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
iris/algebra/cmra.v
+3
-0
3 additions, 0 deletions
iris/algebra/cmra.v
iris/algebra/ofe.v
+1
-0
1 addition, 0 deletions
iris/algebra/ofe.v
with
4 additions
and
0 deletions
iris/algebra/cmra.v
+
3
−
0
View file @
4adb71a8
...
...
@@ -251,6 +251,7 @@ Class CmraMorphism {A B : cmra} (f : A → B) := {
cmra_morphism_pcore
x
:
f
<$>
pcore
x
≡
pcore
(
f
x
);
cmra_morphism_op
x
y
:
f
(
x
⋅
y
)
≡
f
x
⋅
f
y
}
.
Global
Hint
Mode
CmraMorphism
-
-
!
:
typeclass_instances
.
Global
Arguments
cmra_morphism_validN
{_
_}
_
{_}
_
_
_
.
Global
Arguments
cmra_morphism_pcore
{_
_}
_
{_}
_
.
Global
Arguments
cmra_morphism_op
{_
_}
_
{_}
_
_
.
...
...
@@ -808,6 +809,7 @@ Bind Scope rFunctor_scope with rFunctor.
Class
rFunctorContractive
(
F
:
rFunctor
)
:=
rFunctor_map_contractive
`{
!
Cofe
A1
,
!
Cofe
A2
,
!
Cofe
B1
,
!
Cofe
B2
}
:>
Contractive
(
@
rFunctor_map
F
A1
_
A2
_
B1
_
B2
_)
.
Global
Hint
Mode
rFunctorContractive
!
:
typeclass_instances
.
Definition
rFunctor_apply
(
F
:
rFunctor
)
(
A
:
ofe
)
`{
!
Cofe
A
}
:
cmra
:=
rFunctor_car
F
A
A
.
...
...
@@ -899,6 +901,7 @@ Bind Scope urFunctor_scope with urFunctor.
Class
urFunctorContractive
(
F
:
urFunctor
)
:=
urFunctor_map_contractive
`{
!
Cofe
A1
,
!
Cofe
A2
,
!
Cofe
B1
,
!
Cofe
B2
}
:>
Contractive
(
@
urFunctor_map
F
A1
_
A2
_
B1
_
B2
_)
.
Global
Hint
Mode
urFunctorContractive
!
:
typeclass_instances
.
Definition
urFunctor_apply
(
F
:
urFunctor
)
(
A
:
ofe
)
`{
!
Cofe
A
}
:
ucmra
:=
urFunctor_car
F
A
A
.
...
...
This diff is collapsed.
Click to expand it.
iris/algebra/ofe.v
+
1
−
0
View file @
4adb71a8
...
...
@@ -110,6 +110,7 @@ Global Hint Mode Discrete + ! : typeclass_instances.
Global
Instance
:
Params
(
@
Discrete
)
1
:=
{}
.
Class
OfeDiscrete
(
A
:
ofe
)
:=
ofe_discrete_discrete
(
x
:
A
)
:>
Discrete
x
.
Global
Hint
Mode
OfeDiscrete
!
:
typeclass_instances
.
(** OFEs with a completion *)
Record
chain
(
A
:
ofe
)
:=
{
...
...
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