diff --git a/theories/program_logic/ownp.v b/theories/program_logic/ownp.v index 9e20b1a11c7a888695767c8e4f021644333065de..17530e77ec0fe2a4721d7177c33c80c7bbc361c8 100644 --- a/theories/program_logic/ownp.v +++ b/theories/program_logic/ownp.v @@ -5,6 +5,15 @@ From iris.algebra Require Import auth. From iris.proofmode Require Import tactics classes. Set Default Proof Using "Type". +(** +This module provides an interface to handling ownership of the global state that +works more like Iris 2.0 did. The state interpretation (in WP) is fixed to be +authoritative ownership of the entire state (using the [excl] RA). Users can +then put the corresponding fragment into an invariant on their own to establish +a more interesting notion of ownership, such as the standard heap with disjoint +union. +*) + Class ownPG (Λ : language) (Σ : gFunctors) := OwnPG { ownP_invG : invG Σ; ownP_inG :> inG Σ (authR (optionUR (exclR (stateC Λ))));