Mercurial > cpdt > repo
diff src/Tactics.v @ 65:21bb59c56b98
Remove [done] markers after enhancement phase finishes
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Wed, 01 Oct 2008 09:32:36 -0400 |
parents | 739c2818d6e2 |
children | b52204928c7d |
line wrap: on
line diff
--- a/src/Tactics.v Tue Sep 30 17:47:59 2008 -0400 +++ b/src/Tactics.v Wed Oct 01 09:32:36 2008 -0400 @@ -102,11 +102,16 @@ end end. +Ltac un_done := + repeat match goal with + | [ H : done _ |- _ ] => clear H + end. + Ltac crush' lemmas invOne := let sintuition := simpl in *; intuition; subst; repeat (simplHyp invOne; intuition; subst); try congruence in (sintuition; rewriter; repeat ((app ltac:(fun L => inster L L) lemmas || appHyps ltac:(fun L => inster L L)); repeat (simplHyp invOne; intuition)); - sintuition; try omega). + un_done; sintuition; try omega). Ltac crush := crush' tt fail.