aboutsummaryrefslogtreecommitdiffhomepage
path: root/man/coqtop.1
blob: a3b3aac40e0a8cb076af2c7d81eeedf4409ba4aa (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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
.TH COQ 1 "October 11, 2006"

.SH NAME
coqtop \- The Coq Proof Assistant toplevel system


.SH SYNOPSIS
.B coqtop
[
.B options
]

.SH DESCRIPTION

.B coqtop
is the toplevel system of Coq, for interactive use.
It reads phrases on the standard input, and prints results on the
standard output.

For batch-oriented use of Coq, see 
.BR coqc(1).


.SH OPTIONS

.TP
.B \-h, \-\-help
Help. Will give you the complete list of options accepted by coqtop.

.TP
.BI \-I \ dir, \ \-\-include \ dir
add directory 
.I dir
in the include path

.TP
.BI \-R \ dir\ coqdir          
recursively map physical
.I dir
to logical
.I coqdir

.TP
.BI \-top \ coqdir
set the toplevel name to be
.I coqdir
instead of Top

.TP
.BI \-inputstate \ filename, \ \-is \ filename 
read state from file
.I filename.coq

.TP
.B \-nois
start with an empty intial state

.TP
.BI \-outputstate filename
write state in file
.I filename.coq

.TP
.BI \-load\-ml\-object \ filename
load ML object file
.I filenname

.TP
.BI \-load\-ml\-source \ filename
load ML file
.I filename

.TP
.BI \-load\-vernac\-source \ filename, \ \-l \ filename
load Coq file
.I filename.v
(Load filename.)

.TP
.BI \-load\-vernac\-source\-verbose \ filename, \ \-lv \ filename 
load verbosely Coq file
.I filename.v
(Load Verbose filename.)

.TP
.BI \-load\-vernac\-object \ filename
load Coq object file
.I filename.vo

.TP
.BI \-require \ filename
load Coq object file
.I filename.vo
and import it (Require Import filename.)

.TP
.BI \-compile \ filename
compile Coq file
.I filename.v 
(implies 
.B \-batch
)

.TP
.BI \-compile\-verbose \ filename
verbosely compile Coq file
.I filename.v
(implies 
.B \-batch
)

.TP
.B \-opt
run the native\-code version of Coq

.TP
.B \-byte
run the bytecode version of Coq

.TP
.B \-where
print Coq's standard library location and exit

.TP
.B \-v
print Coq version and exit

.TP
.B \-q
skip loading of rcfile

.TP
.BI \-init\-file \ filename
set the rcfile to
.I filename

.TP
.BI \-user \ uid
use the rcfile of user
.I uid


.TP
.B \-batch
batch mode (exits just after arguments parsing)

.TP
.B \-boot
boot mode (implies
.B \-q
and
.B \-batch
)

.TP
.B \-emacs
tells Coq it is executed under Emacs

.TP
.BI \-dump\-glob \ filename
dump globalizations in file f (to be used by
.B coqdoc(1)
)

.TP
.BI \-with\-geoproof \ (yes|no)
to (de)activate special functions for Geoproof within Coqide (default is
.I yes
)

.TP
.B \-impredicative\-set
set sort Set impredicative

.TP
.B \-dont\-load\-proofs
don't load opaque proofs in memory

.TP
.B \-xml
export XML files either to the hierarchy rooted in
the directory $COQ_XML_LIBRARY_ROOT (if set) or to
stdout (if unset)

.TP
.B \-quality
improve the legibility of the proof terms produced by
some tactics

.SH SEE ALSO

.BR coqc (1),
.BR coq-tex (1),
.BR coqdep (1).
.br
.I
The Coq Reference Manual.
.I
The Coq web site: http://coq.inria.fr