package coq-core
The Coq Proof Assistant -- Core Binaries and Tools
Install
Dune Dependency
Authors
Maintainers
Sources
coq-8.20.0.tar.gz
md5=66e57ea55275903bef74d5bf36fbe0f1
sha512=1a7eac6e2f58724a3f9d68bbb321e4cfe963ba1a5551b9b011db4b3f559c79be433d810ff262593d753770ee41ea68fbd6a60daa1e2319ea00dff64c8851d70b
doc/coq-core.pretyping/Typing/index.html
Module Typing
Source
This module provides the typing machine with existential variables and universes.
Source
val type_of :
?refresh:bool ->
Environ.env ->
Evd.evar_map ->
EConstr.constr ->
Evd.evar_map * EConstr.types
Typecheck a term and return its type + updated evars, optionally refreshing universes
Typecheck a type and return its sort
Typecheck a term has a given type (assuming the type is OK)
Type of a variable.
Returns the instantiated type of a metavariable
Source
val solve_evars :
Environ.env ->
Evd.evar_map ->
EConstr.constr ->
Evd.evar_map * EConstr.constr
Solve existential variables using typing
Source
val check_allowed_sort :
Environ.env ->
Evd.evar_map ->
Names.inductive EConstr.puniverses ->
EConstr.constr ->
EConstr.constr ->
EConstr.ERelevance.t
Raise an error message if incorrect elimination for this inductive (first constr is term to match, second is return predicate)
Source
val check_type_fixpoint :
?loc:Loc.t ->
Environ.env ->
Evd.evar_map ->
Names.Name.t EConstr.binder_annot array ->
EConstr.types array ->
EConstr.unsafe_judgment array ->
Evd.evar_map
Raise an error message if bodies have types not unifiable with the expected ones
Source
val check_actual_type :
Environ.env ->
Evd.evar_map ->
EConstr.unsafe_judgment ->
EConstr.types ->
Evd.evar_map
Variant of check
that assumes that the argument term is well-typed.
Source
val type_judgment :
Environ.env ->
Evd.evar_map ->
EConstr.unsafe_judgment ->
Evd.evar_map * EConstr.unsafe_type_judgment
Source
val judge_of_apply :
Environ.env ->
Evd.evar_map ->
EConstr.unsafe_judgment ->
EConstr.unsafe_judgment array ->
Evd.evar_map * EConstr.unsafe_judgment
Source
val judge_of_abstraction :
Environ.env ->
Evd.evar_map ->
Names.Name.t ->
EConstr.unsafe_type_judgment ->
EConstr.unsafe_judgment ->
EConstr.unsafe_judgment
Source
val judge_of_product :
Environ.env ->
Evd.evar_map ->
Names.Name.t ->
EConstr.unsafe_type_judgment ->
EConstr.unsafe_type_judgment ->
EConstr.unsafe_judgment
Source
val judge_of_projection :
Environ.env ->
Evd.evar_map ->
Names.Projection.t ->
EConstr.unsafe_judgment ->
EConstr.unsafe_judgment
Source
val checked_appvect :
Environ.env ->
Evd.evar_map ->
EConstr.constr ->
EConstr.constr array ->
Evd.evar_map * EConstr.constr
Source
val checked_applist :
Environ.env ->
Evd.evar_map ->
EConstr.constr ->
EConstr.constr list ->
Evd.evar_map * EConstr.constr
Source
val recheck_against :
Environ.env ->
Evd.evar_map ->
EConstr.constr ->
EConstr.constr ->
Evd.evar_map * EConstr.types
hack
Source
val bad_relevance_msg :
(Environ.env
* Evd.evar_map
* (EConstr.constr, EConstr.types, EConstr.ERelevance.t)
Typeops.bad_relevance)
CWarnings.msg
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>