blob: 93a9ef11619fa63f4e9a3315a7550844d9c5497b (
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
51
52
53
54
55
56
57
58
59
60
61
|
Section Foo.
Variable a : nat.
Lemma l1 : True.
Fail Proof using non_existing.
Proof using a.
exact I.
Qed.
Lemma l2 : True.
Proof using a.
Admitted.
Lemma l3 : True.
Proof using a.
admit.
Qed.
End Foo.
Check (l1 3).
Check (l2 3).
Check (l3 3).
Section Bar.
Variable T : Type.
Variable a b : T.
Variable H : a = b.
Lemma l4 : a = b.
Proof using H.
exact H.
Qed.
End Bar.
Check (l4 _ 1 1 _ : 1 = 1).
Section S1.
Variable v1 : nat.
Section S2.
Variable v2 : nat.
Lemma deep : v1 = v2.
Proof using v1 v2.
admit.
Qed.
End S2.
Check (deep 3 : v1 = 3).
End S1.
Check (deep 3 4 : 3 = 4).
|