Commit 8fc099dc authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Add conditional `done` tactic.

parent 046dfe31
Pipeline #4010 passed with stage
in 2 minutes and 17 seconds
......@@ -72,6 +72,12 @@ Ltac done :=
Tactic Notation "by" tactic(tac) :=
tac; done.
Ltac done_if b :=
match b with
| true => done
| false => idtac
(** Aliases for trans and etrans that are easier to type *)
Tactic Notation "trans" constr(A) := transitivity A.
Tactic Notation "etrans" := etransitivity.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment