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.15.0.0.15.2.tbz
sha256=e252d05b41e920c1df4343c437be4018804971ecfd00291ddb4d31ce72281853
sha512=1f936181265346d0cd17ec292b98f201382ea84440b415b77664430044ba599072e653366f080d8b63ee5f8fe5bfc0d2cd2a38cc759532500d8c60a483fe36b7

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

Module Sertop.Sertop_initSource

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

SerAPI flags for asynchronous processing

Sourceval process_stm_flags : async_flags -> Stm.AsyncOpts.stm_opt

process_stm_flags flags transforms SerAPI flags into Coq flags

Sourcetype coq_opts = {
  1. fb_handler : Format.formatter -> 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

    *)
  6. ml_path : string list;
  7. vo_path : Loadpath.vo_path list;
    (*

    From -R and -Q options usually

    *)
}
Sourceval coq_init : coq_opts -> Format.formatter -> unit

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

Sourceval update_fb_handler : pp_feed:(Format.formatter -> Feedback.feedback -> unit) -> Format.formatter -> unit
OCaml

Innovation. Community. Security.