Debian Codegraph @

apps/eltac/examples/usage_eltac.v

raw
1 From elpi.apps Require Import derive.
2 From elpi.apps Require Import eltac.tactics.
3
4 derive nat.
5
6 Lemma example : forall x y : nat, S x = S y -> 0 = 1 -> False.
7 Proof.
8 eltac.intro "x".
9 eltac.intro "y".
10 eltac.intro "I".
11 eltac.intro "D".
12 eltac.injection I.
13 eltac.intro "E".
14 eltac.clear E.
15 eltac.discriminate D.
16 Qed.