package coq-core
Install
Dune Dependency
Authors
Maintainers
Sources
md5=5d1187d5e44ed0163f76fb12dabf012e
sha512=91bc81530fa4f6498961583ad51eac5001f139881788b88e360a866ad8e2a6e2c5bce86d1a580ab4cd4782bf49d48318767df82471ce33ba3ac143e5569ad33c
doc/coq-core.kernel/Context/Rel/Declaration/index.html
Module Rel.Declaration
Source
type ('constr, 'types) pt =
| LocalAssum of Names.Name.t binder_annot * 'types
(*name, type
*)| LocalDef of Names.Name.t binder_annot * 'constr * 'types
(*name, value, type
*)
Return the name bound by a given declaration.
Return Some value
for local-declarations and None
for local-assumptions.
Set the name that is bound by a given declaration.
Set the type of the bound variable in a given declaration.
Return true
iff a given declaration is a local assumption.
Return true
iff a given declaration is a local definition.
Check whether any term in a given declaration satisfies a given predicate.
Check whether all terms in a given declaration satisfy a given predicate.
Check whether the two given declarations are equal.
Map the name bound by a given declaration.
Map the relevance
For local assumptions, this function returns the original local assumptions. For local definitions, this function maps the value in the local definition.
Map the type of the name bound by a given declaration.
Map all terms in a given declaration.
Map all terms, with an heterogeneous function.
Perform a given action on all terms in a given declaration.
Reduce all terms in a given declaration to a single value.