Verified Commit 448ece34 authored by Paolo G. Giarrusso's avatar Paolo G. Giarrusso
Browse files

persistent_fractional: strengthen like bi.persistent_sep_dup

In 13c5c1ad I strengthened bi.persistent_sep_dup
to support propositions that are persistent and either affine or absorbing; do
the same for `persistent_fractional`.
parent ebce5b7c
Pipeline #50595 passed with stage
in 11 minutes and 37 seconds
...@@ -77,6 +77,8 @@ Coq 8.11 is no longer supported in this version of Iris. ...@@ -77,6 +77,8 @@ Coq 8.11 is no longer supported in this version of Iris.
* Add lemmas characterizing big-ops over pure predicates (`big_sep*_pure*`). * Add lemmas characterizing big-ops over pure predicates (`big_sep*_pure*`).
* Move `BiAffine`, `BiPositive`, `BiLöb`, and `BiPureForall` from * Move `BiAffine`, `BiPositive`, `BiLöb`, and `BiPureForall` from
`bi.derived_connectives` to `bi.extensions`. `bi.derived_connectives` to `bi.extensions`.
* Strengthen `persistent_fractional` to support propositions that are persistent
and either affine or absorbing (by Paolo G. Giarrusso, BedRock Systems).
**Changes in `base_logic`:** **Changes in `base_logic`:**
......
...@@ -65,8 +65,8 @@ Section fractional. ...@@ -65,8 +65,8 @@ Section fractional.
Proof. intros. apply bi.wand_intro_r. by rewrite -(fractional_half P). Qed. Proof. intros. apply bi.wand_intro_r. by rewrite -(fractional_half P). Qed.
(** Fractional and logical connectives *) (** Fractional and logical connectives *)
Global Instance persistent_fractional P : Global Instance persistent_fractional (P : PROP) :
Persistent P Absorbing P Fractional (λ _, P). Persistent P TCOr (Affine P) (Absorbing P) Fractional (λ _, P).
Proof. intros ?? q q'. apply: bi.persistent_sep_dup. Qed. Proof. intros ?? q q'. apply: bi.persistent_sep_dup. Qed.
Global Instance fractional_sep Φ Ψ : Global Instance fractional_sep Φ Ψ :
......
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