summaryrefslogtreecommitdiff
path: root/test-suite/output/Search.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/output/Search.v')
-rw-r--r--test-suite/output/Search.v10
1 files changed, 9 insertions, 1 deletions
diff --git a/test-suite/output/Search.v b/test-suite/output/Search.v
index 2a0f0b40..82096f29 100644
--- a/test-suite/output/Search.v
+++ b/test-suite/output/Search.v
@@ -10,11 +10,19 @@ Search (@eq _ _ _) true -false "prop" -"intro". (* andb_prop *)
Definition newdef := fun x:nat => x.
Goal forall n:nat, n <> newdef n -> newdef n <> n -> False.
- intros n h h'.
+ cut False.
+ intros _ n h h'.
Search n. (* search hypothesis *)
Search newdef. (* search hypothesis *)
Search ( _ <> newdef _). (* search hypothesis, pattern *)
Search ( _ <> newdef _) -"h'". (* search hypothesis, pattern *)
+
+ 1:Search newdef.
+ 2:Search newdef.
+
+ Fail 3:Search newdef.
+ Fail 1-2:Search newdef.
+ Fail all:Search newdef.
Abort.
Goal forall n (P:nat -> Prop), P n -> ~P n -> False.