package coq-core

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

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.17.1.tar.gz
sha512=9a35311acec2a806730b94ac7dceabc88837f235c52a14c026827d9b89433bd7fa9555a9fc6829aa49edfedb24c8bbaf1411ebf463b74a50aeb17cba47745b6b

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.