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

improve wp_apply evar test

parent 515ba099
No related branches found
No related tags found
No related merge requests found
......@@ -105,9 +105,9 @@ Section LiftingTests.
WP let: "x" := Pred #42 in Pred "x" @ E [{ v, v = #40 }]%I.
Proof. iIntros "". wp_apply Pred_spec. wp_let. by wp_apply Pred_spec. Qed.
Lemma wp_apply_evar e :
( Q Φ, Q -∗ WP e {{ Φ }}) -∗ WP e {{ _, True }}.
Proof. iIntros "H". wp_apply "H". done. Qed.
Lemma wp_apply_evar e P :
P -∗ ( Q Φ, Q -∗ WP e {{ Φ }}) -∗ WP e {{ _, True }}.
Proof. iIntros "HP HW". wp_apply "HW". iExact "HP". Qed.
End LiftingTests.
......
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