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

dont quantify over empty telescopes

parent 64c16f99
No related branches found
No related tags found
No related merge requests found
...@@ -112,8 +112,8 @@ Section lemmas. ...@@ -112,8 +112,8 @@ Section lemmas.
(* Sequential triples with a persistent precondition and no initial quantifier (* Sequential triples with a persistent precondition and no initial quantifier
are atomic. *) are atomic. *)
Lemma seq_wp_atomic e Eo (α : [tele] iProp) (β : [tele] TB iProp) Lemma seq_wp_atomic e Eo (α : [tele] iProp) (β : [tele] TB iProp)
(f : [tele] TB val Λ) {HP : .. x, Persistent (α x)} : (f : [tele] TB val Λ) {HP : Persistent (α [tele_arg])} :
( Φ, .. x, α x -∗ (.. y, β x y -∗ Φ (f x y)) -∗ WP e {{ Φ }}) -∗ ( Φ, α [tele_arg] -∗ (.. y, β [tele_arg] y -∗ Φ (f [tele_arg] y)) -∗ WP e {{ Φ }}) -∗
atomic_wp e Eo α β f. atomic_wp e Eo α β f.
Proof. Proof.
simpl in HP. iIntros "Hwp" (Φ) "HΦ". iApply fupd_wp. simpl in HP. iIntros "Hwp" (Φ) "HΦ". iApply fupd_wp.
......
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