Skip to content
Snippets Groups Projects
Commit a4fe5037 authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Fix breaking ee6df099.

case H; clear H would fail when H is dependent whereas destruct H
would succeed on that, but just not clear it.
parent a07364fc
No related branches found
No related tags found
No related merge requests found
......@@ -66,8 +66,7 @@ Ltac done :=
| discriminate
| contradiction
| split
| match goal with H : ¬_ |- _ => case H; clear H; fast_done end
]
| match goal with H : ¬_ |- _ => case H; clear H; fast_done end ]
].
Tactic Notation "by" tactic(tac) :=
tac; done.
......@@ -214,8 +213,8 @@ Tactic Notation "csimpl" "in" "*" :=
and injects equalities, and tries to contradict impossible inequalities. *)
Tactic Notation "simplify_eq" := repeat
match goal with
| H : _ _ |- _ => by case H; clear H
| H : _ = _ False |- _ => by case H; clear H
| H : _ _ |- _ => by case H; try clear H
| H : _ = _ False |- _ => by case H; try clear H
| H : ?x = _ |- _ => subst x
| H : _ = ?x |- _ => subst x
| H : _ = _ |- _ => discriminate H
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment