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

prove laterable_alt

parent 0dfb3b34
No related branches found
No related tags found
No related merge requests found
......@@ -90,7 +90,7 @@ Section instances.
(** A wrapper to obtain a weaker, laterable form of any assertion.
Alternatively: the modality corresponding to [Laterable].
The ◇ is required to make [make_laterable_intro'] hold.
TODO: Can we define [Laterable] in terms of this? *)
TODO: Define [Laterable] in terms of this (see [laterable_alt] below). *)
Definition make_laterable (Q : PROP) : PROP :=
P, P ( P -∗ Q).
......@@ -191,6 +191,14 @@ Section instances.
- iApply make_laterable_intro'.
Qed.
Lemma laterable_alt Q :
Laterable Q (Q -∗ make_laterable Q).
Proof.
split.
- intros ?. apply make_laterable_intro'. done.
- intros ?. done.
Qed.
(** * Proofmode integration *)
Global Instance into_laterable_laterable P :
Laterable P
......
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