Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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*`).
* Move `BiAffine`, `BiPositive`, `BiLöb`, and `BiPureForall` from
`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`:**
......
......@@ -65,8 +65,8 @@ Section fractional.
Proof. intros. apply bi.wand_intro_r. by rewrite -(fractional_half P). Qed.
(** Fractional and logical connectives *)
Global Instance persistent_fractional P :
Persistent P Absorbing P Fractional (λ _, P).
Global Instance persistent_fractional (P : PROP) :
Persistent P TCOr (Affine P) (Absorbing P) Fractional (λ _, P).
Proof. intros ?? q q'. apply: bi.persistent_sep_dup. Qed.
Global Instance fractional_sep Φ Ψ :
......
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