package coq-core

  1. Overview
  2. Docs
The Coq Proof Assistant -- Core Binaries and Tools

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.19.2.tar.gz
md5=5d1187d5e44ed0163f76fb12dabf012e
sha512=91bc81530fa4f6498961583ad51eac5001f139881788b88e360a866ad8e2a6e2c5bce86d1a580ab4cd4782bf49d48318767df82471ce33ba3ac143e5569ad33c

doc/coq-core.vernac/Library/index.html

Module LibrarySource

This module provides functions to load, open and save libraries. Libraries correspond to the subclass of modules that coincide with a file on disk (the ".vo" files). Libraries on the disk comes with checksums (obtained with the Digest module), which are checked at loading time to prevent inconsistencies between files written at various dates.

Sourcetype library_t

Type of libraries loaded in memory

Sourceval require_library_from_dirpath : library_t list -> unit

...

Require = load in the environment

Sourceval require_library_syntax_from_dirpath : lib_resolver:(Names.DirPath.t -> CUnix.physical_path) -> Names.DirPath.t list -> library_t list
Start the compilation of a library
Sourcetype seg_sum

Segments of a library

Sourcetype seg_lib
Sourcetype seg_univ = Univ.ContextSet.t * bool
Sourcetype seg_proofs = Opaques.opaque_disk

End the compilation of a library and save it to a ".vo" file, a ".vio" file, or a ".vos" file, depending on the todo_proofs argument. output_native_objects: when producing vo objects, also compile the native-code version.

Sourcetype ('uid, 'doc) tasks = (('uid, 'doc) Stateid.request * bool) list
Sourcetype 'doc todo_proofs =
  1. | ProofsTodoNone
  2. | ProofsTodoSomeEmpty of Future.UUIDSet.t
  3. | ProofsTodoSome of Future.UUIDSet.t * (Future.UUID.t, 'doc) tasks
Sourceval save_library_to : 'document todo_proofs -> output_native_objects:bool -> Names.DirPath.t -> string -> unit
Sourceval save_library_raw : string -> seg_sum -> seg_lib -> seg_univ -> seg_proofs -> unit
Interrogate the status of libraries
Sourceval library_is_loaded : Names.DirPath.t -> bool
  • Tell if a library is loaded
Sourceval loaded_libraries : unit -> Names.DirPath.t list
  • Tell which libraries are loaded
Sourceval native_name_from_filename : string -> string

Native compiler.

Sourceval indirect_accessor : Global.indirect_accessor

Opaque accessors

OCaml

Innovation. Community. Security.