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

Regression test for issue #55.

parent 037f7e3f
No related branches found
No related tags found
No related merge requests found
...@@ -303,6 +303,14 @@ Lemma test_iNext_plus_3 P Q n m k : ...@@ -303,6 +303,14 @@ Lemma test_iNext_plus_3 P Q n m k :
▷^m ▷^(2 + S n + k) P -∗ ▷^m ▷^(2 + S n) Q -∗ ▷^k ▷^(S (S n + S m)) (P Q). ▷^m ▷^(2 + S n + k) P -∗ ▷^m ▷^(2 + S n) Q -∗ ▷^k ▷^(S (S n + S m)) (P Q).
Proof. iIntros "H1 H2". iNext. iNext. iNext. iFrame. Qed. Proof. iIntros "H1 H2". iNext. iNext. iNext. iFrame. Qed.
Lemma test_iNext_unfold P Q n m (R := (▷^n P)%I) :
R ▷^m True.
Proof.
iIntros "HR". iNext.
match goal with |- context [ R ] => idtac | |- _ => fail end.
done.
Qed.
Lemma test_iEval x y : (y + x)%nat = 1 -∗ S (x + y) = 2%nat : uPred M. Lemma test_iEval x y : (y + x)%nat = 1 -∗ S (x + y) = 2%nat : uPred M.
Proof. Proof.
iIntros (H). iIntros (H).
......
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