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

fix compilation with Coq 8.5

parent baa36cb3
No related branches found
No related tags found
No related merge requests found
......@@ -56,7 +56,7 @@ Qed.
Lemma wp_offset E l z Φ :
(|={E}=> Φ (LitV $ LitLoc $ shift_loc l z)) -∗
WP BinOp OffsetOp (Lit $ LitLoc l) (Lit $LitInt z) @ E {{ Φ }}.
WP BinOp OffsetOp (Lit $ LitLoc l) (Lit $ LitInt z) @ E {{ Φ }}.
Proof.
iIntros "HP". iApply wp_fupd. iApply wp_bin_op_pure; first by econstructor.
iNext. iIntros (?? Heval). inversion_clear Heval. done.
......@@ -64,7 +64,7 @@ Qed.
Lemma wp_plus E z1 z2 Φ :
(|={E}=> Φ (LitV $ LitInt $ z1 + z2)) -∗
WP BinOp PlusOp (Lit $ LitInt z1) (Lit $LitInt z2) @ E {{ Φ }}.
WP BinOp PlusOp (Lit $ LitInt z1) (Lit $ LitInt z2) @ E {{ Φ }}.
Proof.
iIntros "HP". iApply wp_fupd. iApply wp_bin_op_pure; first by econstructor.
iNext. iIntros (?? Heval). inversion_clear Heval. done.
......@@ -72,7 +72,7 @@ Qed.
Lemma wp_minus E z1 z2 Φ :
(|={E}=> Φ (LitV $ LitInt $ z1 - z2)) -∗
WP BinOp MinusOp (Lit $ LitInt z1) (Lit $LitInt z2) @ E {{ Φ }}.
WP BinOp MinusOp (Lit $ LitInt z1) (Lit $ LitInt z2) @ E {{ Φ }}.
Proof.
iIntros "HP". iApply wp_fupd. iApply wp_bin_op_pure; first by econstructor.
iNext. iIntros (?? Heval). inversion_clear Heval. done.
......
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