Debian Codegraph @

test-suite/interactive/proof_block.v

raw
1 Goal False /\ True.
2 Proof.
3 split.
4 idtac.
5 idtac.
6 exact I.
7 idtac.
8 idtac.
9 exact I.
10 Qed.
11
12 Lemma baz : (exists n, n = 3 /\ n = 3) /\ True.
13 Proof.
14 split. { eexists. split. par: trivial. }
15 trivial.
16 Qed.
17
18 Lemma baz1 : (True /\ False) /\ True.
19 Proof.
20 split. { split. par: trivial. }
21 trivial.
22 Qed.
23
24 Lemma foo : (exists n, n = 3 /\ n = 3) /\ True.
25 Proof.
26 split.
27 { idtac.
28 unshelve eexists.
29 { apply 3. }
30 { split.
31 { idtac. trivialx. }
32 { reflexivity. } } }
33 trivial.
34 Qed.
35
36 Lemma foo1 : False /\ True.
37 Proof.
38 split.
39 { exact I. }
40 { exact I. }
41 Qed.
42
43 Definition banana := true + 4.
44
45 Check banana.
46
47 Lemma bar : (exists n, n = 3 /\ n = 3) /\ True.
48 Proof.
49 split.
50 - idtac.
51 unshelve eexists.
52 + apply 3.
53 + split.
54 * idtacx. trivial.
55 * reflexivity.
56 - trivial.
57 Qed.
58
59 Lemma baz2 : ((1=0 /\ False) /\ True) /\ False.
60 Proof.
61 split. split. split.
62 - solve [ auto ].
63 - solve [ trivial ].
64 - solve [ trivial ].
65 - exact 6.
66 Qed.