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
Iris
Iris
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
Hide whitespace changes
Inline
Side-by-side
iris/parameter.v
View file @
094150fb
...
...
@@ -22,4 +22,6 @@ Lemma icmra_map_ext (Σ : iParam) {A B} (f g : A -n> B) m :
(
∀
x
,
f
x
≡
g
x
)
→
icmra_map
Σ
f
m
≡
icmra_map
Σ
g
m
.
Proof
.
by
intros
?
;
apply
equiv_dist
=>
n
;
apply
icmra_map_ne
=>
?
;
apply
equiv_dist
.
Qed
.
\ No newline at end of file
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
Supports
Markdown
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