Skip to content
Snippets Groups Projects
Commit b6d1946d authored by Ralf Jung's avatar Ralf Jung
Browse files

Add make_laterable_mono

parent 243bfbf7
No related branches found
No related tags found
No related merge requests found
...@@ -84,6 +84,12 @@ Section instances. ...@@ -84,6 +84,12 @@ Section instances.
iExists P. iFrame. iIntros "!> HP". iApply "HQ". iApply "HQ1". done. iExists P. iFrame. iIntros "!> HP". iApply "HQ". iApply "HQ1". done.
Qed. Qed.
Lemma make_laterable_mono Q1 Q2 :
(Q1 Q2) (make_laterable Q1 make_laterable Q2).
Proof.
intros HQ12. iApply make_laterable_wand. rewrite HQ12. by iIntros "!# ?".
Qed.
Global Instance make_laterable_laterable Q : Global Instance make_laterable_laterable Q :
Laterable (make_laterable Q). Laterable (make_laterable Q).
Proof. Proof.
...@@ -97,6 +103,8 @@ Section instances. ...@@ -97,6 +103,8 @@ Section instances.
iIntros "HQ". iDestruct "HQ" as (P) "[HP #HQ]". by iApply "HQ". iIntros "HQ". iDestruct "HQ" as (P) "[HP #HQ]". by iApply "HQ".
Qed. Qed.
(** Written internally (as an entailment of wands) to reflect
that persistent assertions can be kept unchanged. *)
Lemma make_laterable_intro P Q : Lemma make_laterable_intro P Q :
Laterable P Laterable P
( P -∗ Q) -∗ P -∗ make_laterable Q. ( P -∗ Q) -∗ P -∗ make_laterable Q.
......
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