diff options
author | Jason Gross <jgross@mit.edu> | 2018-12-04 15:43:49 -0500 |
---|---|---|
committer | Jason Gross <jgross@mit.edu> | 2018-12-04 15:43:49 -0500 |
commit | abed3aa12aa0e754f453b1fd5c4ab59c75137df5 (patch) | |
tree | 92b5afd11d8a4dcbdc0df1b89e6a67d2b5464141 /src/Util/Tactics/DestructHyps.v | |
parent | e6044c2fe0cc7b5662076bb1f26342a4d590132e (diff) |
Revert "Add inversion_clear tactics"
This reverts commit e6044c2fe0cc7b5662076bb1f26342a4d590132e.
Actually not needed; the tactics already clear the relevant hypotheses.
Diffstat (limited to 'src/Util/Tactics/DestructHyps.v')
-rw-r--r-- | src/Util/Tactics/DestructHyps.v | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/Util/Tactics/DestructHyps.v b/src/Util/Tactics/DestructHyps.v index 43f578291..8ab6215c2 100644 --- a/src/Util/Tactics/DestructHyps.v +++ b/src/Util/Tactics/DestructHyps.v @@ -30,11 +30,6 @@ Ltac inversion_all_matches_then matcher tac := Ltac inversion_one_match_then matcher tac := do_one_match_then matcher ltac:(fun H => inversion H; subst) tac. -Ltac inversion_clear_all_matches_then matcher tac := - do_all_matches_then matcher ltac:(fun H => inversion H; clear H; subst) tac. -Ltac inversion_clear_one_match_then matcher tac := - do_one_match_then matcher ltac:(fun H => inversion H; clear H; subst) tac. - Ltac destruct_all_matches matcher := destruct_all_matches_then matcher ltac:( simpl in * ). Ltac destruct_one_match matcher := destruct_one_match_then matcher ltac:( simpl in * ). @@ -44,10 +39,6 @@ Ltac inversion_all_matches matcher := inversion_all_matches_then matcher ltac:( Ltac inversion_one_match matcher := inversion_one_match_then matcher ltac:( simpl in * ). Ltac inversion_all_matches' matcher := inversion_all_matches_then matcher idtac. -Ltac inversion_clear_all_matches matcher := inversion_clear_all_matches_then matcher ltac:( simpl in * ). -Ltac inversion_clear_one_match matcher := inversion_clear_one_match_then matcher ltac:( simpl in * ). -Ltac inversion_clear_all_matches' matcher := inversion_clear_all_matches_then matcher idtac. - (* matches anything whose type has a [T] in it *) Ltac destruct_type_matcher T HT := match HT with |