tests/test_ltac4.v
raw| 1 | From elpi Require Export elpi. |
| 2 | |
| 3 | Elpi Tactic test. |
| 4 | Elpi Accumulate lp:{{ |
| 5 | solve G Gs :- |
| 6 | refine {{id _}} G Gs. |
| 7 | }}. |
| 8 | |
| 9 | (* #805 *) |
| 10 | Theorem test' : True. |
| 11 | Proof. |
| 12 | elpi test. (* I get one (expected) goal of type True, corresponding to the hole in term (id _), but also a shelved goal of type True...*) |
| 13 | Unshelve. (* I get two goals here, of type True. *) |
| 14 | Fail 2: exact I. |
| 15 | exact I. |
| 16 | Qed. |