Commit 094150fb authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Declare COFE on state as a canonical structure.

parent 1da4e710
......@@ -23,3 +23,5 @@ Lemma icmra_map_ext (Σ : iParam) {A B} (f g : A -n> B) m :
by intros ?; apply equiv_dist=> n; apply icmra_map_ne=> ?; apply equiv_dist.
Canonical Structure istateC Σ := leibnizC (istate Σ).
\ No newline at end of file
......@@ -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 (istateC Σ);
gst : icmra Σ (laterC A);
Add Printing Constructor res.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment