CleanDuplicatedHypothesis

root edited this page Oct 11, 2017 · 6 revisions
Ltac exist_hyp t := match goal with
  | H1:t |- _ => idtac
 end.
Ltac clean_duplicated_hyps :=
  repeat match goal with
      | H:?X1 |- _ => clear H; exist_hyp X1
end.
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.