aboutsummaryrefslogtreecommitdiff
path: root/src/Util/Tactics/DestructHead.v
diff options
context:
space:
mode:
Diffstat (limited to 'src/Util/Tactics/DestructHead.v')
-rw-r--r--src/Util/Tactics/DestructHead.v8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Util/Tactics/DestructHead.v b/src/Util/Tactics/DestructHead.v
index c5c8a86bc..bfe615f10 100644
--- a/src/Util/Tactics/DestructHead.v
+++ b/src/Util/Tactics/DestructHead.v
@@ -15,6 +15,10 @@ Ltac inversion_head T := inversion_all_matches ltac:(destruct_head_matcher T).
Ltac inversion_one_head T := inversion_one_match ltac:(destruct_head_matcher T).
Ltac inversion_head' T := inversion_all_matches' ltac:(destruct_head_matcher T).
+Ltac inversion_clear_head T := inversion_clear_all_matches ltac:(destruct_head_matcher T).
+Ltac inversion_clear_one_head T := inversion_clear_one_match ltac:(destruct_head_matcher T).
+Ltac inversion_clear_head' T := inversion_clear_all_matches' ltac:(destruct_head_matcher T).
+
Ltac head_hnf_matcher T HT :=
match head_hnf HT with
@@ -28,6 +32,10 @@ Ltac inversion_head_hnf T := inversion_all_matches ltac:(head_hnf_matcher T).
Ltac inversion_one_head_hnf T := inversion_one_match ltac:(head_hnf_matcher T).
Ltac inversion_head_hnf' T := inversion_all_matches' ltac:(head_hnf_matcher T).
+Ltac inversion_clear_head_hnf T := inversion_clear_all_matches ltac:(head_hnf_matcher T).
+Ltac inversion_clear_one_head_hnf T := inversion_clear_one_match ltac:(head_hnf_matcher T).
+Ltac inversion_clear_head_hnf' T := inversion_clear_all_matches' ltac:(head_hnf_matcher T).
+
(** Faster versions for some common connectives *)
Ltac destruct_one_head'_ex := match goal with H : ex _ |- _ => destruct H end.
Ltac destruct_one_head_ex := destruct_one_head'_ex; simpl in *.