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

Merge branch 'ralf/notypeclasses' into 'master'

avoid (e)apply in wp_expr_eval

See merge request iris/iris!582
parents 832a63d6 3e8220fc
No related branches found
No related tags found
No related merge requests found
......@@ -19,11 +19,11 @@ Tactic Notation "wp_expr_eval" tactic3(t) :=
iStartProof;
lazymatch goal with
| |- envs_entails _ (wp ?s ?E ?e ?Q) =>
eapply tac_wp_expr_eval;
[let x := fresh in intros x; t; unfold x; reflexivity|]
notypeclasses refine (tac_wp_expr_eval _ _ _ _ e _ _ _);
[let x := fresh in intros x; t; unfold x; notypeclasses refine eq_refl|]
| |- envs_entails _ (twp ?s ?E ?e ?Q) =>
eapply tac_twp_expr_eval;
[let x := fresh in intros x; t; unfold x; reflexivity|]
notypeclasses refine (tac_twp_expr_eval _ _ _ _ e _ _ _);
[let x := fresh in intros x; t; unfold x; notypeclasses refine eq_refl|]
| _ => fail "wp_expr_eval: not a 'wp'"
end.
......
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