From 8b1973689cd080daf09695d9d8a1c2187b847b13 Mon Sep 17 00:00:00 2001 From: Robbert Krebbers <mail@robbertkrebbers.nl> Date: Mon, 11 Apr 2016 16:52:51 +0200 Subject: [PATCH] Use (more primitive) case instead of destruct in done tactic. --- theories/tactics.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theories/tactics.v b/theories/tactics.v index 67045a6d..0e0adb0e 100644 --- a/theories/tactics.v +++ b/theories/tactics.v @@ -56,7 +56,7 @@ Ltac done := | contradiction | solve [apply not_symmetry; trivial] | split ] - | match goal with H : ¬_ |- _ => solve [destruct H; trivial] end ]. + | match goal with H : ¬_ |- _ => solve [case H; trivial] end ]. Tactic Notation "by" tactic(tac) := tac; done. -- GitLab