Skip to content
Snippets Groups Projects
Commit 83d1632e authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Add test case for `iPoseProof` in embedded logics.

This test case arose in Iron.
parent d5d02af5
No related branches found
No related tags found
No related merge requests found
...@@ -193,4 +193,12 @@ Section tests_iprop. ...@@ -193,4 +193,12 @@ Section tests_iprop.
iMod ("Hclose" with "H2"). iMod ("Hclose" with "H2").
iModIntro. iModIntro. by iNext. iModIntro. iModIntro. by iNext.
Qed. Qed.
Lemma test_iPoseProof `{inG Σ A} P γ (x y : A) :
x ~~> y P own γ x ==∗ own γ y⎤.
Proof.
iIntros (?) "[_ Hγ]".
iPoseProof (own_update with "Hγ") as "H"; first done.
by iMod "H".
Qed.
End tests_iprop. End tests_iprop.
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