Debian Codegraph @

test-suite/failure/autorewritein.v

raw
1 Parameter Ack : nat -> nat -> nat.
2
3 Axiom Ack0 : forall m : nat, Ack 0 m = S m.
4 Axiom Ack1 : forall n : nat, Ack (S n) 0 = Ack n 1.
5 Axiom Ack2 : forall n m : nat, Ack (S n) (S m) = Ack n (Ack (S n) m).
6
7 #[export] Hint Rewrite Ack0 Ack1 Ack2 : base0.
8
9 Lemma ResAck2 : forall H:(Ack 2 2 = 7 -> False), H=H -> False.
10 Proof.
11 intros.
12 Fail autorewrite with base0 in * using try (apply H1;reflexivity).
13 Abort.