package coq

  1. Overview
  2. Docs
Formal proof management system

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.15.2.tar.gz
sha256=13a67c0a4559ae22e9765c8fdb88957b16c2b335a2d5f47e4d6d9b4b8b299926

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.locality;
    (*

    scope: Locality of the original declaration

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

    dref: identifier of the original declaration

    *)
}
OCaml

Innovation. Community. Security.