| 1 |
From elpi.apps Require Import eltac.apply. |
| 2 |
Goal (forall (x y : nat), x + y = y + x) -> (forall y, 3 + y = y + 3). |
| 3 |
Proof. |
| 4 |
intro H. |
| 5 |
eltac.apply H. |
| 6 |
Qed. |
| 7 |
|
| 8 |
Axiom add_comm : forall x y, x + y = y + x. |
| 9 |
|
| 10 |
Goal (3 + 4 = 4 + 3). |
| 11 |
Proof. |
| 12 |
eltac.apply add_comm. |
| 13 |
Qed. |