package coq-core
Install
Dune Dependency
Authors
Maintainers
Sources
md5=8d852367b54f095d9fbabd000304d450
sha512=46922d5f2eb6802a148a52fd3e7f0be8370c93e7bc33cee05cf4a2044290845b10ccddbaa306f29c808e7c5019700763e37e45ff6deb507b874a4348010fed50
doc/coq-core.kernel/Context/Named/Declaration/index.html
Module Named.Declaration
Source
Representation of local declarations.
type ('constr, 'types) pt =
| LocalAssum of Names.Id.t binder_annot * 'types
(*identifier, type
*)| LocalDef of Names.Id.t binder_annot * 'constr * 'types
(*identifier, value, type
*)
Return the identifier bound by a given declaration.
Return Some value
for local-declarations and None
for local-assumptions.
Set the identifier 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 identifier bound by a given declaration.
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.
Convert Rel.Declaration.t
value to the corresponding Named.Declaration.t
value. The function provided as the first parameter determines how to translate "names" to "ids".
Convert Named.Declaration.t
value to the corresponding Rel.Declaration.t
value.