Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Marianna Rapoport
iris-coq
Commits
094150fb
Commit
094150fb
authored
Jan 16, 2016
by
Robbert Krebbers
Browse files
Declare COFE on state as a canonical structure.
parent
1da4e710
Changes
2
Show whitespace changes
Inline
Side-by-side
iris/parameter.v
View file @
094150fb
...
...
@@ -23,3 +23,5 @@ Lemma icmra_map_ext (Σ : iParam) {A B} (f g : A -n> B) m :
Proof
.
by
intros
?
;
apply
equiv_dist
=>
n
;
apply
icmra_map_ne
=>
?
;
apply
equiv_dist
.
Qed
.
Canonical
Structure
istateC
Σ
:
=
leibnizC
(
istate
Σ
).
\ No newline at end of file
iris/resources.v
View file @
094150fb
...
...
@@ -2,7 +2,7 @@ Require Export modures.fin_maps modures.agree modures.excl iris.parameter.
Record
res
(
Σ
:
iParam
)
(
A
:
cofeT
)
:
=
Res
{
wld
:
mapRA
positive
(
agreeRA
(
laterC
A
))
;
pst
:
exclRA
(
leibnizC
(
istate
Σ
)
)
;
pst
:
exclRA
(
istate
C
Σ
)
;
gst
:
icmra
Σ
(
laterC
A
)
;
}.
Add
Printing
Constructor
res
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment