diff options
author | 2016-06-21 17:09:25 +0200 | |
---|---|---|
committer | 2016-06-24 15:16:03 +0200 | |
commit | bd170eb3937aa55f665a671fe9d2916a26af2a09 (patch) | |
tree | d8632d499fca2bf425722c531b346b281968d57e /tactics/tacticals.ml | |
parent | 86da26360d2136e9579beeb59b192ccfb0e67c18 (diff) |
Optimize the subst tactic.
Do not evar-normalize the argument provided by afterHyp.
Diffstat (limited to 'tactics/tacticals.ml')
-rw-r--r-- | tactics/tacticals.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tactics/tacticals.ml b/tactics/tacticals.ml index 3d51623ea..46145d111 100644 --- a/tactics/tacticals.ml +++ b/tactics/tacticals.ml @@ -590,8 +590,8 @@ module New = struct let onHyps find tac = Proofview.Goal.nf_enter { enter = begin fun gl -> tac (find.enter gl) end } let afterHyp id tac = - Proofview.Goal.nf_enter { enter = begin fun gl -> - let hyps = Proofview.Goal.hyps gl in + Proofview.Goal.enter { enter = begin fun gl -> + let hyps = Proofview.Goal.hyps (Proofview.Goal.assume gl) in let rem, _ = List.split_when (Id.equal id % get_id) hyps in tac rem end } |