Debian Codegraph @

test-suite/output/SearchRewrite.v

raw
1 (* Some tests of the SearchRewrite command *)
2
3 SearchRewrite (_+0). (* left *)
4 SearchRewrite (0+_). (* right *)
5
6 Definition newdef := fun x:nat => x.
7
8 Goal forall n:nat, n = newdef n -> False.
9 intros n h.
10 SearchRewrite (newdef _).
11 SearchRewrite n. (* use hypothesis for patterns *)
12 SearchRewrite (newdef n). (* use hypothesis for patterns *)
13 Abort.