| 1 |
.TH COQTOP 1 |
| 2 |
. |
| 3 |
.SH NAME |
| 4 |
coqtop \- toplevel Coq system |
| 5 |
. |
| 6 |
. |
| 7 |
.SH SYNOPSIS |
| 8 |
.B coqtop |
| 9 |
[ |
| 10 |
options |
| 11 |
] |
| 12 |
. |
| 13 |
.SH DESCRIPTION |
| 14 |
. |
| 15 |
.B coqtop |
| 16 |
is the toplevel system of Coq, for interactive use. |
| 17 |
It reads phrases on the standard input, and prints results on the |
| 18 |
standard output. |
| 19 |
. |
| 20 |
For batch-oriented use of Coq, see |
| 21 |
.BR coqc (1). |
| 22 |
. |
| 23 |
. |
| 24 |
.SH OPTIONS |
| 25 |
. |
| 26 |
.TP |
| 27 |
.BR \-h , \ \-\-help |
| 28 |
Help. |
| 29 |
Will give you the complete list of options accepted by coqtop. |
| 30 |
. |
| 31 |
.TP |
| 32 |
.BI \-I \ dir, \ \-\-include \ dir |
| 33 |
Add directory |
| 34 |
.I dir |
| 35 |
in the include path. |
| 36 |
. |
| 37 |
.TP |
| 38 |
.BI \-R \ dir\ coqdir |
| 39 |
Recursively map physical |
| 40 |
.I dir |
| 41 |
to logical |
| 42 |
.I coqdir. |
| 43 |
. |
| 44 |
.TP |
| 45 |
.BI \-top \ coqdir |
| 46 |
Set the toplevel name to be |
| 47 |
.I coqdir |
| 48 |
instead of Top. |
| 49 |
. |
| 50 |
.TP |
| 51 |
.B \-nois |
| 52 |
Start with an empty initial state. |
| 53 |
. |
| 54 |
.TP |
| 55 |
.BI \-load\-ml\-source \ filename |
| 56 |
Load ML file |
| 57 |
.I filename. |
| 58 |
. |
| 59 |
.TP |
| 60 |
.BI \-load\-ml\-object \ filename |
| 61 |
Load ML object file |
| 62 |
.I filenname. |
| 63 |
. |
| 64 |
.TP |
| 65 |
.BI \-load\-vernac\-source \ filename, \ \-l \ filename |
| 66 |
Load Coq file |
| 67 |
.I filename.v. |
| 68 |
(Load filename.) |
| 69 |
. |
| 70 |
.TP |
| 71 |
.BI \-load\-vernac\-source\-verbose \ filename, \ \-lv \ filename |
| 72 |
Load verbosely Coq file |
| 73 |
.I filename.v. |
| 74 |
(Load Verbose filename.) |
| 75 |
. |
| 76 |
.TP |
| 77 |
.BI \-require \ lib |
| 78 |
Load Coq library |
| 79 |
.I lib. |
| 80 |
(Require lib.) |
| 81 |
. |
| 82 |
.TP |
| 83 |
.BI \-require-import \ lib, \ \-ri \ lib |
| 84 |
Load Coq library |
| 85 |
.I lib |
| 86 |
and import it. |
| 87 |
(Require Import lib.) |
| 88 |
. |
| 89 |
.TP |
| 90 |
.BI \-require-export \ lib, \ \-re \ lib |
| 91 |
Load Coq library |
| 92 |
.I lib |
| 93 |
and transitively import it. |
| 94 |
(Require Export lib.) |
| 95 |
. |
| 96 |
.TP |
| 97 |
.BI \-require-from \ root\ lib, \ \-rfrom \ root\ lib |
| 98 |
Load Coq library |
| 99 |
.I lib. |
| 100 |
(From root Require lib.) |
| 101 |
. |
| 102 |
.TP |
| 103 |
.BI \-require-import-from \ root\ lib, \ \-rifrom \ root\ lib |
| 104 |
Load Coq library |
| 105 |
.I lib |
| 106 |
and import it. |
| 107 |
(From root Require Import lib.) |
| 108 |
. |
| 109 |
.TP |
| 110 |
.BI \-require-export-from \ root\ lib, \ \-refrom \ root\ lib |
| 111 |
Load Coq library |
| 112 |
.I lib |
| 113 |
and transitively import it. |
| 114 |
(From root Require Export lib.) |
| 115 |
. |
| 116 |
.TP |
| 117 |
.BI \-load\-vernac\-object \ lib |
| 118 |
Obsolete synonym of |
| 119 |
.BR \-require . |
| 120 |
. |
| 121 |
.TP |
| 122 |
.B \-where |
| 123 |
Print Coq's standard library location and exit. |
| 124 |
. |
| 125 |
.TP |
| 126 |
.B \-v |
| 127 |
Print Coq version and exit. |
| 128 |
. |
| 129 |
.TP |
| 130 |
.B \-q |
| 131 |
Skip loading of rcfile (resource file) if any. |
| 132 |
. |
| 133 |
.TP |
| 134 |
.BI \-init\-file \ filename |
| 135 |
Set the rcfile to |
| 136 |
.I filename. |
| 137 |
. |
| 138 |
.TP |
| 139 |
.B \-batch |
| 140 |
Batch mode (exits just after arguments parsing). |
| 141 |
. |
| 142 |
.TP |
| 143 |
.B \-emacs |
| 144 |
Tells Coq it is executed under Emacs. |
| 145 |
. |
| 146 |
.TP |
| 147 |
.BI \-dump\-glob \ filename |
| 148 |
Dump globalizations in file |
| 149 |
.I filename |
| 150 |
(to be used by |
| 151 |
.BR coqdoc (1)). |
| 152 |
. |
| 153 |
.TP |
| 154 |
.B \-impredicative\-set |
| 155 |
Set sort Set impredicative. |
| 156 |
. |
| 157 |
.TP |
| 158 |
.B \-dont\-load\-proofs |
| 159 |
Don't load opaque proofs in memory. |
| 160 |
. |
| 161 |
.SH SEE ALSO |
| 162 |
. |
| 163 |
.BR coqc (1), |
| 164 |
.BR coq-tex (1), |
| 165 |
.BR coqdep (1) |
| 166 |
.PP |
| 167 |
.I |
| 168 |
The Rocq Prover Reference Manual. |
| 169 |
.PP |
| 170 |
The Rocq Prover website: https://rocq-prover.org |