From f46551452aa73df46cc44179af171811c7a8328e Mon Sep 17 00:00:00 2001 From: Robbert Krebbers <mail@robbertkrebbers.nl> Date: Fri, 26 Apr 2019 22:16:05 +0200 Subject: [PATCH] A tweak suggested by @janno that may improve performance. --- theories/proofmode/reduction.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theories/proofmode/reduction.v b/theories/proofmode/reduction.v index 0db1e202a..173894c20 100644 --- a/theories/proofmode/reduction.v +++ b/theories/proofmode/reduction.v @@ -20,7 +20,7 @@ Declare Reduction pm_eval := cbv [ Ltac pm_eval t := eval pm_eval in t. Ltac pm_reduce := - match goal with |- ?u => let v := pm_eval u in change v end. + match goal with |- ?u => let v := pm_eval u in convert_concl_no_check v end. Ltac pm_reflexivity := pm_reduce; exact eq_refl. (** Called by many tactics for redexes that are created by instantiation. -- GitLab