diff --git a/theories/tests/heap_lang.v b/theories/tests/heap_lang.v index 0d6d2c8d9ea3afbab492c3f0c1075947635b5a30..1e71aaba0c4cb639e4fbf81adf7cceee7b094286 100644 --- a/theories/tests/heap_lang.v +++ b/theories/tests/heap_lang.v @@ -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.