aboutsummaryrefslogtreecommitdiff
path: root/src/Util/Tactics.v
diff options
context:
space:
mode:
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