package coq-serapi

  1. Overview
  2. Docs
Serialization library and protocol for machine interaction with the Coq proof assistant

Install

Dune Dependency

Authors

Maintainers

Sources

coq-serapi-8.12.0.0.12.0.tbz
sha256=7a50234b5a78be69fcf2f51463fb993a31cc9c1fafc7ac6c7fe081cd0f18b43f
sha512=1f76b8fcc452db99a5a90be68cc58e083c3636259c0bada7b38c71698ae377a71bc115df0a8814a4dc831c953a998dcaf1e17e9e57bd48810bcd2eddbc6757fd

doc/coq-serapi.sertop_v8_11/Sertop/Sertop_init/index.html

Module Sertop.Sertop_init

type async_flags = {
  1. enable_async : string option;
  2. deep_edits : bool;
  3. async_workers : int;
  4. error_recovery : bool;
}

SerAPI flags for asynchronous processing

val process_stm_flags : async_flags -> Stm.AsyncOpts.stm_opt

process_stm_flags flags transforms SerAPI flags into Coq flags

type coq_opts = {
  1. fb_handler : Feedback.feedback -> unit;
    (*

    callback to handle async feedback

    *)
  2. ml_load : (string -> unit) option;
    (*

    callback to load cma/cmo files

    *)
  3. debug : bool;
    (*

    Enable Coq Debug mode

    *)
  4. allow_sprop : bool;
    (*

    allow using the proof irrelevant SProp sort (default=true)

    *)
  5. indices_matter : bool;
    (*

    Levels of indices (and nonuniform parameters) contribute to the level of inductives

    *)
}
val coq_init : coq_opts -> unit

coq_init opts Initialize Coq. This doesn't create a Proof Document.

OCaml

Innovation. Community. Security.