From 1560d1688e3594ddd37e182ab0f70ae42a37a422 Mon Sep 17 00:00:00 2001 From: Jacques-Henri Jourdan <jacques-henri.jourdan@normalesup.org> Date: Thu, 15 Feb 2018 15:49:53 +0100 Subject: [PATCH] Do not call [eval hnf] in iIntoValid. --- theories/proofmode/tactics.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theories/proofmode/tactics.v b/theories/proofmode/tactics.v index c3be4ca67..186a92944 100644 --- a/theories/proofmode/tactics.v +++ b/theories/proofmode/tactics.v @@ -620,7 +620,7 @@ a goal [P] for non-dependent arguments [x_i : P]. *) Tactic Notation "iIntoValid" open_constr(t) := let rec go t := let tT := type of t in - lazymatch eval hnf in tT with + lazymatch tT with | ?P → ?Q => let H := fresh in assert P as H; [|go uconstr:(t H); clear H] | ∀ _ : ?T, _ => (* Put [T] inside an [id] to avoid TC inference from being invoked. *) -- GitLab