Skip to content
Snippets Groups Projects
Commit eb3117bd authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Fix compilation with Coq master.

parent 12129d3f
No related branches found
No related tags found
No related merge requests found
From iris.base_logic.lib Require Import invariants. From iris.base_logic.lib Require Import invariants.
Instance test_cofe: Cofe (iPreProp Σ) := _. Instance test_cofe {Σ} : Cofe (iPreProp Σ) := _.
Section tests. Section tests.
Context `{!invG Σ}. Context `{!invG Σ}.
......
...@@ -122,7 +122,7 @@ Module Type iProp_solution_sig. ...@@ -122,7 +122,7 @@ Module Type iProp_solution_sig.
Notation iPropI Σ := (uPredI (iResUR Σ)). Notation iPropI Σ := (uPredI (iResUR Σ)).
Notation iPropSI Σ := (uPredSI (iResUR Σ)). Notation iPropSI Σ := (uPredSI (iResUR Σ)).
Global Declare Instance iPreProp_cofe: Cofe (iPreProp Σ). Global Declare Instance iPreProp_cofe {Σ} : Cofe (iPreProp Σ).
Parameter iProp_unfold: {Σ}, iProp Σ -n> iPreProp Σ. Parameter iProp_unfold: {Σ}, iProp Σ -n> iPreProp Σ.
Parameter iProp_fold: {Σ}, iPreProp Σ -n> iProp Σ. Parameter iProp_fold: {Σ}, iPreProp Σ -n> iProp Σ.
Parameter iProp_fold_unfold: {Σ} (P : iProp Σ), Parameter iProp_fold_unfold: {Σ} (P : iProp Σ),
...@@ -141,7 +141,7 @@ Module Export iProp_solution : iProp_solution_sig. ...@@ -141,7 +141,7 @@ Module Export iProp_solution : iProp_solution_sig.
ofe_funUR (λ i, gmapUR gname (Σ i (iPreProp Σ))). ofe_funUR (λ i, gmapUR gname (Σ i (iPreProp Σ))).
Notation iProp Σ := (uPredC (iResUR Σ)). Notation iProp Σ := (uPredC (iResUR Σ)).
Global Instance iPreProp_cofe: Cofe (iPreProp Σ) := _. Global Instance iPreProp_cofe {Σ} : Cofe (iPreProp Σ) := _.
Definition iProp_unfold {Σ} : iProp Σ -n> iPreProp Σ := Definition iProp_unfold {Σ} : iProp Σ -n> iPreProp Σ :=
solution_fold (iProp_result Σ). solution_fold (iProp_result Σ).
Definition iProp_fold {Σ} : iPreProp Σ -n> iProp Σ := solution_unfold _. Definition iProp_fold {Σ} : iPreProp Σ -n> iProp Σ := solution_unfold _.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment