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

Add comment about lazy TC to `iPoseProofCore`.

parent dc71a8c3
No related branches found
No related tags found
No related merge requests found
...@@ -570,7 +570,12 @@ Tactic Notation "iIntoValid" open_constr(t) := ...@@ -570,7 +570,12 @@ Tactic Notation "iIntoValid" open_constr(t) :=
(* The tactic [tac] is called with a temporary fresh name [H]. The argument (* The tactic [tac] is called with a temporary fresh name [H]. The argument
[lazy_tc] denotes whether type class inference on the premises of [lem] should [lazy_tc] denotes whether type class inference on the premises of [lem] should
be performed before (if false) or after (if true) [tac H] is called. *) be performed before (if false) or after (if true) [tac H] is called.
The tactic [iApply] uses laxy type class inference, so that evars can first be
instantiated by matching with the goal, whereas [iDestruct] does not, because
eliminations may not be performed when type classes have not been resolved.
*)
Tactic Notation "iPoseProofCore" open_constr(lem) Tactic Notation "iPoseProofCore" open_constr(lem)
"as" constr(p) constr(lazy_tc) tactic(tac) := "as" constr(p) constr(lazy_tc) tactic(tac) :=
try iStartProof; try iStartProof;
......
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