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

Turn stuff like iRes Definitions instead of Notations.

With Set Printing All, these notations make me loose overview entirely.
parent 3fdd636a
No related branches found
No related tags found
No related merge requests found
...@@ -31,11 +31,11 @@ End iProp. ...@@ -31,11 +31,11 @@ End iProp.
(* Solution *) (* Solution *)
Definition iPreProp (Λ : language) (Σ : iFunctor) : cofeT := iProp.result Λ Σ. Definition iPreProp (Λ : language) (Σ : iFunctor) : cofeT := iProp.result Λ Σ.
Notation iRes Λ Σ := (res Λ Σ (laterC (iPreProp Λ Σ))). Definition iRes Λ Σ := res Λ Σ (laterC (iPreProp Λ Σ)).
Notation iResRA Λ Σ := (resRA Λ Σ (laterC (iPreProp Λ Σ))). Definition iResRA Λ Σ := resRA Λ Σ (laterC (iPreProp Λ Σ)).
Notation iWld Λ Σ := (mapRA positive (agreeRA (laterC (iPreProp Λ Σ)))). Definition iWld Λ Σ := mapRA positive (agreeRA (laterC (iPreProp Λ Σ))).
Notation iPst Λ := (exclRA (istateC Λ)). Definition iPst Λ := exclRA (istateC Λ).
Notation iGst Λ Σ := (ifunctor_car Σ (laterC (iPreProp Λ Σ))). Definition iGst Λ Σ := ifunctor_car Σ (laterC (iPreProp Λ Σ)).
Definition iProp (Λ : language) (Σ : iFunctor) : cofeT := uPredC (iResRA Λ Σ). Definition iProp (Λ : language) (Σ : iFunctor) : cofeT := uPredC (iResRA Λ Σ).
Definition iProp_unfold {Λ Σ} : iProp Λ Σ -n> iPreProp Λ Σ := solution_fold _. Definition iProp_unfold {Λ Σ} : iProp Λ Σ -n> iPreProp Λ Σ := solution_fold _.
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