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/Declare/Hook/S/index.html

Module Hook.SSource

Hooks allow users of the API to perform arbitrary actions at proof/definition saving time. For example, to register a constant as a Coercion, perform some cleanup, update the search database, etc...

Sourcetype t = {
  1. uctx : UState.t;
    (*

    ustate: universe constraints obtained when the term was closed

    *)
  2. obls : (Names.Id.t * Constr.t) list;
    (*

    (n1,t1),...(nm,tm): association list between obligation name and the corresponding defined term (might be a constant, but also an arbitrary term in the Expand case of obligations)

    *)
  3. scope : Locality.definition_scope;
    (*

    scope: Locality of the original declaration

    *)
  4. dref : Names.GlobRef.t;
    (*

    dref: identifier of the original declaration

    *)
}
OCaml

Innovation. Community. Security.