package coq-core
The Coq Proof Assistant -- Core Binaries and Tools
Install
Dune Dependency
Authors
Maintainers
Sources
coq-8.17.0.tar.gz
sha512=2f77bcb5211018b5d46320fd39fd34450eeb654aca44551b28bb50a2364398c4b34587630b6558db867ecfb63b246fd3e29dc2375f99967ff62bc002db9c3250
doc/coq-core.vernac/Declare/Hook/S/index.html
Module Hook.S
Source
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...
Source
type t = {
uctx : UState.t;
(*
*)ustate
: universe constraints obtained when the term was closedobls : (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)scope : Locality.definition_scope;
(*
*)scope
: Locality of the original declarationdref : Names.GlobRef.t;
(*
*)dref
: identifier of the original declaration
}
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>