Debian Codegraph @

test-suite/success/rewrite_in.v

raw
1 Require Import Setoid.
2
3 Goal forall (P Q : Prop) (f:P->Prop) (p:P), (P<->Q) -> f p -> True.
4 intros P Q f p H.
5 rewrite H in p || trivial.
6 Qed.
7
8 Goal 1 = 0 -> 0 = 1.
9 intro H.
10 Fail rewrite H at 1 2 3. (* bug #13566 *)
11 Fail rewrite H at 0.
12 rewrite H at 1.
13 reflexivity.
14 Qed.