Debian Codegraph @

test-suite/output/PrintInfos.v

raw
1 (* coq-prog-args: ("-top" "PrintInfos") *)
2 About existT.
3 Print existT.
4 Print Implicit existT.
5
6 Print eq_refl.
7 About eq_refl.
8 Print Implicit eq_refl.
9
10 Print Nat.add.
11 About Nat.add.
12 Print Implicit Nat.add.
13
14 About plus_n_O.
15
16 Arguments le_S {n} [m] _.
17 Print le_S.
18
19 About comparison.
20 Print comparison.
21
22 Definition foo := forall x, x = 0.
23 Parameter bar : foo.
24
25 Arguments bar {x}.
26 About bar.
27 Print bar.
28
29 About Peano. (* Module *)
30 About sym_eq. (* Notation *)
31
32 Arguments eq_refl {A} {x}, {A} x.
33 Print eq_refl.
34
35
36 Definition newdef := fun x:nat => x.
37
38 Goal forall n:nat, n <> newdef n -> newdef n <> n -> False.
39 intros n h h'.
40 About n. (* search hypothesis *)
41 About h. (* search hypothesis *)
42 Abort.
43
44 Goal forall n:nat, let g := newdef in n <> newdef n -> newdef n <> n -> False.
45 intros n g h h'.
46 About g. (* search hypothesis *)
47 About h. (* search hypothesis *)
48 Abort.
49
50 Module Alias := Logic.
51
52 About Alias.eq.
53 About Alias.eq_refl.
54 About Alias.eq_ind.
55
56 Module AboutProj.
57 Record prod A B := { fst:A ; snd:B }.
58 About fst.
59 End AboutProj.
60
61 Module AboutPrimProj.
62 Set Primitive Projections.
63 Record prod A B := { fst:A ; snd:B }.
64 About fst.
65 End AboutPrimProj.