Debian Codegraph @

test-suite/failure/rewrite_in_hyp2.v

raw
1 (* Until revision 10221, rewriting in hypotheses of the form
2 "(fun x => phi(x)) t" with "t" not rewritable used to behave as a
3 beta-normalization tactic instead of raising the expected message
4 "nothing to rewrite" *)
5
6 Goal forall b, S b = O -> (fun a => 0 = (S a)) b -> True.
7 intros b H H0.
8 Fail rewrite H in H0.
9 Abort.