diff --git a/iris/base_logic/lib/proph_map.v b/iris/base_logic/lib/proph_map.v index ba401e7db9fe6393f260a82afbc7d3bd8acf2b63..fbed2c8b515b2a9ef91d1a00d67e2af7fb6fee7e 100644 --- a/iris/base_logic/lib/proph_map.v +++ b/iris/base_logic/lib/proph_map.v @@ -8,8 +8,9 @@ Local Notation proph_map P V := (gmap P (list V)). Definition proph_val_list (P V : Type) := list (P * V). (** The CMRA we need. *) -Class proph_mapPreG (P V : Type) (Σ : gFunctors) `{Countable P} := - { proph_map_preG_inG :> inG Σ (gmap_viewR P (listO $ leibnizO V)) }. +Class proph_mapPreG (P V : Type) (Σ : gFunctors) `{Countable P} := { + proph_map_preG_inG :> inG Σ (gmap_viewR P (listO $ leibnizO V)) +}. Class proph_mapG (P V : Type) (Σ : gFunctors) `{Countable P} := ProphMapG { proph_map_inG :> proph_mapPreG P V Σ; diff --git a/iris/base_logic/lib/wsat.v b/iris/base_logic/lib/wsat.v index 77e391a49e58c3bde270504dfd229885188cf578..37ddb62df1b634f4524cabf1e10914a45409aae3 100644 --- a/iris/base_logic/lib/wsat.v +++ b/iris/base_logic/lib/wsat.v @@ -8,13 +8,13 @@ From iris.prelude Require Import options. exception of what's in the [invG] module. The module [invG] is thus exported in [fancy_updates], which [wsat] is only imported. *) Module invG. - Class invPreG (Σ : gFunctors) : Set := WsatPreG { + Class invPreG (Σ : gFunctors) : Set := InvPreG { inv_inPreG :> inG Σ (gmap_viewR positive (laterO (iPropO Σ))); enabled_inPreG :> inG Σ coPset_disjR; disabled_inPreG :> inG Σ (gset_disjR positive); }. - Class invG (Σ : gFunctors) : Set := WsatG { + Class invG (Σ : gFunctors) : Set := InvG { inv_inG :> invPreG Σ; invariant_name : gname; enabled_name : gname; @@ -190,7 +190,7 @@ Proof. first by apply gmap_view_auth_valid. iMod (own_alloc (CoPset ⊤)) as (γE) "HE"; first done. iMod (own_alloc (GSet ∅)) as (γD) "HD"; first done. - iModIntro; iExists (WsatG _ _ γI γE γD). + iModIntro; iExists (InvG _ _ γI γE γD). rewrite /wsat /ownE -lock; iFrame. iExists ∅. rewrite fmap_empty big_opM_empty. by iFrame. Qed.