Debian Codegraph @

src/Util/Tactics/ClearHead.v

raw
1 Require Export Crypto.Util.FixCoqMistakes.
2 Require Import Crypto.Util.Tactics.Head.
3
4 Ltac clear_one_head T :=
5 match goal with
6 | [ H : ?HT |- _ ]
7 => lazymatch head HT with
8 | T => clear H
9 end
10 end.
11 Ltac clear_head T := repeat clear_one_head T.