COQCHK(1)
π COQCHK(1) β bestie edition π
General Commands Manual Β· the one where we vibe-check your compiled Coq libraries
β¨ NAME β¨
coqchk β verify compiled Coq libraries π«Ά
πΈ SYNOPSIS πΈ
coqchk [ options ] modules
π¦ DESCRIPTION π¦
okay so. coqchk is the standalone checker of compiled libraries β and by "compiled libraries" we mean the .vo files that coqc produces β for the Coq Proof Assistant. no cap, that's literally its whole job. π
if you want the deep lore, go read the Reference Manual. β¨
here's the vibe check on exit codes, and this part is IMPORTANT so pay attention bestie:
- it returns with exit code
0if all the requested tasks succeeded π - a non-zero return code means something went wrong π β like some library was not found, corrupted content, a type-checking failure, etc.
not me being dramatic but a non-zero exit is genuinely the "we need to talk" text of the Unix world π
modules is a list of modules to be checked. you can refer to a module by a short or qualified logical name, or by its filename. either way, she'll find it. π
π OPTIONS π
-I dir,--include dirβ adds directory dir to the include path. slay, now she can see it.-Q dir coqdirβ maps physical dir to logical coqdir. it's giving "rename but make it logical".-R dir coqdirβ synonymous to-Q. yeah, literally the same thing. twins. π―-silentβ be less verbose. she's quiet, she's mysterious, she's still checking. π€«-admit moduleβ tags the specified module and all its dependencies as trusted, and they will not be rechecked β unless they're explicitly requested by other options. (yes, that's a lot of trust to hand out, bestie, use it wisely π)-norec moduleβ specifies that the given module shall be verified without requesting to check its dependencies. just the one module, main character energy only. β-m,--memoryβ displays a summary of the memory used by the checker. the receipts, basically. π§Ύ-o,--output-contextβ displays a summary of the logical content that has been verified: assumptions and usage of impredicativity. the whole lore dump. π-impredicative-setβ allows the checker to accept libraries that have been compiled with this flag. no flag-shaming here, she'll take them as they come. π«Ά-vβ printcoqchkversion and exit. quick little hello and then she's gone. π-coqlib dirβ overrides the default location of the standard library. moving day! π¦-whereβ printcoqchkstandard library location and exit. "where do you live?" "here." β¨-h,--helpβ print list of options. the classic. the icon. the one everybody runs first. π
π SEE ALSO π
coqtop(1)coqc(1)coq_makefile(1)coqdep(1)- The Rocq Prover Reference Manual.
- The Rocq Prover website: https://rocq-prover.org
and that's the whole page, bestie!! π COQCHK(1), straight from the General Commands Manual, verified, type-checked, and absolutely slaying. go forth and check your .vo files, i believe in you πβ¨π¦
π¦ where this page comes from
- 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