Debian Codegraph @

test-suite/output/Search_headconcl.v

raw
1 (* Some tests of the Search command *)
2
3 Search headconcl: le. (* app nodes *)
4 Search headconcl: bool. (* no apps *)
5 Search headconcl: (@eq nat). (* complex pattern *)
6
7 Definition newdef := fun x:nat => x = x.
8
9 Goal forall n:nat, newdef n -> False.
10 intros n h.
11 Search headconcl: newdef. (* search hypothesis *)
12 Abort.
13
14
15 Goal forall n (P:nat -> Prop), P n -> False.
16 intros n P h.
17 Search headconcl: P. (* search hypothesis also for patterns *)
18 Abort.