diff --git a/prelude/tactics.v b/prelude/tactics.v
index 20006310255fae0abd6942310730d3d87fa34d52..bb13648f2a496a7d429e17607e47122ae535c351 100644
--- a/prelude/tactics.v
+++ b/prelude/tactics.v
@@ -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