test-suite/bugs/bug_2732.v
raw| 1 | (* Check correct behavior of add_primitive_tactic in TACEXTEND *) |
| 2 | |
| 3 | (* Added also the case of eauto and congruence *) |
| 4 | |
| 5 | Ltac thus H := solve [H]. |
| 6 | |
| 7 | Lemma test: forall n : nat, n <= n. |
| 8 | Proof. |
| 9 | intro. |
| 10 | thus firstorder. |
| 11 | Undo. |
| 12 | thus eauto. |
| 13 | Qed. |
| 14 | |
| 15 | Lemma test2: false = true -> False. |
| 16 | Proof. |
| 17 | intro. |
| 18 | thus congruence. |
| 19 | Qed. |