From b0bbd306083ca502255e6fde01679dc7b8d4f9a2 Mon Sep 17 00:00:00 2001 From: Jason Gross Date: Thu, 6 Apr 2017 01:24:55 -0400 Subject: More vigorous clearing in unify_transformed_rhs_abstract_tac It makes more evars go away, which were giving [abstract] trouble --- src/Util/Tactics/UnifyAbstractReflexivity.v | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Util/Tactics') diff --git a/src/Util/Tactics/UnifyAbstractReflexivity.v b/src/Util/Tactics/UnifyAbstractReflexivity.v index e3e7fc77b..28dc942ef 100644 --- a/src/Util/Tactics/UnifyAbstractReflexivity.v +++ b/src/Util/Tactics/UnifyAbstractReflexivity.v @@ -1,4 +1,5 @@ (** * Various variants on [reflexivity] and [abstract reflexivity] for evars *) +Require Import Crypto.Util.Tactics.ClearAll. (** This file defines a number of different ways to solve goals of the form [LHS = RHS] where [LHS] may contain evars and [RHS] must not contain evars. Most tactics use [abstract] to reduce the load on @@ -11,7 +12,7 @@ new_rhs]. If there is no evar in the [LHS], don't run transformation nor unification. *) Ltac unify_transformed_rhs_abstract_tac transform_rhs unify exact_no_check := - intros; clear; + intros; clear_all; lazymatch goal with | [ |- ?LHS = ?RHS ] => tryif has_evar LHS -- cgit v1.2.3