aboutsummaryrefslogtreecommitdiff
path: root/src/Util/Tactics/GlobalTacticals.v
blob: 8efc56a5129fc1267c5a7c07603dc1869acfa9e2 (plain)
1
2
3
4
5
6
7
8
Ltac gprogress tac :=
  [ > progress tac | tac.. ]
  + (let n := numgoals in guard n > 1; [ > | gprogress tac.. ]).
Tactic Notation "gprogress" tactic3(tac) := gprogress tac.
Ltac gtry tac := tac + idtac.
Tactic Notation "gtry" tactic3(tac) := gtry tac.
Ltac grepeat tac := gtry (gprogress (gtry tac); grepeat tac).
Tactic Notation "grepeat" tactic3(tac) := grepeat tac.