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

add a test for TC resolution not happening too early

parent 676dd4ec
No related branches found
No related tags found
No related merge requests found
...@@ -166,6 +166,15 @@ Proof. ...@@ -166,6 +166,15 @@ Proof.
iSpecialize ("H" $! _ [#10]). done. iSpecialize ("H" $! _ [#10]). done.
Qed. Qed.
(* Check that typeclasses are not resolved too early *)
Lemma test_TC_resolution `{!BiAffine PROP} (Φ : nat PROP) l x :
x l ([ list] y l, Φ y) -∗ Φ x.
Proof.
iIntros (Hp) "HT".
iDestruct (bi.big_sepL_elem_of _ _ _ Hp with "HT") as "Hp".
done.
Qed.
Lemma test_eauto_iFrame P Q R `{!Persistent R} : Lemma test_eauto_iFrame P Q R `{!Persistent R} :
P -∗ Q -∗ R R Q P R False. P -∗ Q -∗ R R Q P R False.
Proof. eauto 10 with iFrame. Qed. Proof. eauto 10 with iFrame. Qed.
......
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