blob: 8c26af708bcfb32b8d3f930138308427e8db02b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
Definition Foo {T}{a : T} : T := a.
Module A.
Declare Implicit Tactic eauto.
Goal forall A (x : A), A.
intros.
apply Foo. (* Check defined evars are normalized *)
(* Qed. *)
Abort.
End A.
Module B.
Definition Foo {T}{a : T} : T := a.
Declare Implicit Tactic eassumption.
Goal forall A (x : A), A.
intros.
apply Foo.
(* Qed. *)
Abort.
End B.
Module C.
Declare Implicit Tactic first [exact True|assumption].
Goal forall (x : True), True.
intros.
apply (@Foo _ _).
Qed.
End C.
Module D.
Declare Implicit Tactic assumption.
Goal forall A (x : A), A.
intros.
exact _.
Qed.
End D.
|