aboutsummaryrefslogtreecommitdiff
path: root/src/Util/Tactics.v
diff options
context:
space:
mode:
authorGravatar jadep <jade.philipoom@gmail.com>2016-08-24 17:09:28 -0400
committerGravatar jadep <jade.philipoom@gmail.com>2016-08-24 17:09:28 -0400
commit5de065df4799cb43aba9195bcd88a5f0479884ff (patch)
tree6a53cf8421f23b94f17cdb2440cb104ff91aeb5a /src/Util/Tactics.v
parentfb6fd35b9cfc454b622c8bfa1364efdbf048e0df (diff)
Moved a tactic to Util/Tactics.v
Diffstat (limited to 'src/Util/Tactics.v')
-rw-r--r--src/Util/Tactics.v2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Util/Tactics.v b/src/Util/Tactics.v
index be777512c..cee2fc2a1 100644
--- a/src/Util/Tactics.v
+++ b/src/Util/Tactics.v
@@ -61,6 +61,8 @@ Ltac subst_evars :=
| [ e := ?E |- _ ] => is_evar E; subst e
end.
+Ltac subst_let := repeat match goal with | x := _ |- _ => subst x end.
+
(** destruct discriminees of [match]es in the goal *)
(* Prioritize breaking apart things in the context, then things which
don't need equations, then simple matches (which can be displayed