COQTOP(1)
π COQTOP(1) β the toplevel Coq system, bestie edition π
okay so real talk: this is a page from the General Commands Manual, and it's all about coqtop. sit down, grab a strawberry π, we're doing this.
β¨ NAME β¨
coqtop β toplevel Coq system
β¨ SYNOPSIS β¨
coqtop [ options ]
β¨ DESCRIPTION β¨
so coqtop is the toplevel system of Coq, and it's made for interactive use β like, you talk to it, it talks back. π¬
It reads phrases on the standard input, and prints results on the standard output. that's the whole vibe. it's giving conversation.
but if you want to use Coq in a batch-oriented way (no chatting, just go), go look at coqc(1) instead, bestie. π«Ά
β¨ OPTIONS β¨
-h,--helpβ Help. Will give you the complete list of options accepted bycoqtop. (yes, this page is also a list, but the program's list is the real one π )-Idir,--includedir β Add directory dir in the include path.-Rdir coqdir β Recursively map physical dir to logical coqdir.-topcoqdir β Set the toplevel name to be coqdir instead ofTop.-noisβ Start with an empty initial state.-load-ml-sourcefilename β Load ML file filename.-load-ml-objectfilename β Load ML object file filenname. (and yes, "filenname" is spelled exactly like that in the original, we do not make the rules, we just respect them π)-load-vernac-sourcefilename,-lfilename β Load Coq file filename.v. (Load filename.)-load-vernac-source-verbosefilename,-lvfilename β Load verbosely Coq file filename.v. (Load Verbose filename.)-requirelib β Load Coq library lib. (Require lib.)-require-importlib,-rilib β Load Coq library lib and import it. (Require Import lib.)-require-exportlib,-relib β Load Coq library lib and transitively import it. (Require Export lib.)-require-fromroot lib,-rfromroot lib β Load Coq library lib. (From root Require lib.)-require-import-fromroot lib,-rifromroot lib β Load Coq library lib and import it. (From root Require Import lib.)-require-export-fromroot lib,-refromroot lib β Load Coq library lib and transitively import it. (From root Require Export lib.)-load-vernac-objectlib β Obsolete synonym of-require. (it's giving legacy, we still love it π)-whereβ Print Coq's standard library location and exit.-vβ Print Coq version and exit.-qβ Skip loading of rcfile (resource file) if any.-init-filefilename β Set the rcfile to filename.-batchβ Batch mode (exits just after arguments parsing).-emacsβ Tells Coq it is executed under Emacs.-dump-globfilename β Dump globalizations in file filename (to be used bycoqdoc(1)).-impredicative-setβ Set sortSetimpredicative.-dont-load-proofsβ Don't load opaque proofs in memory.
π SEE ALSO π
coqc(1)coq-tex(1)coqdep(1)- The Rocq Prover Reference Manual.
- The Rocq Prover website:
https://rocq-prover.org
and that's the whole page, no cap. π
this was COQTOP(1) from the General Commands Manual β go read the Rocq Prover Reference Manual if you want the deep lore, and slay responsibly, bestie πβ¨π¦
π¦ where this page comes from
- alpine 3.24: rocq-doc 9.1.1-r3 Β· LGPL-2.1-or-later
- arch rolling: rocq 9.3.0-1 Β· LGPL-2.1-only
- fedora 44: coq-core-compat 9.1.1-1.fc44 Β· LGPL-2.1-only AND LGPL-2.1-only WITH OCaml-LGPL-linking-exception AND MIT AND BSD-3-Clause
- fedora 44: coq-core-compat 9.3.0-1.fc44 Β· LGPL-2.1-only AND LGPL-2.1-only WITH OCaml-LGPL-linking-exception AND MIT AND BSD-3-Clause
- nixos 26.05: coq 9.2.0
- nixpkgs unstable: coq 9.1.1
- ubuntu stonking: coq 9.2.0+dfsg-4build2 Β· LGPL-2.1-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms