package rocq-runtime
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
The Rocq Prover -- Core Binaries and Tools
Install
dune-project
Dependency
Authors
Maintainers
Sources
rocq-9.0.1.tar.gz
sha256=051f7bf702ff0a3b370449728921e5a95e18bc2b31b8eb949d48422888c98af4
doc/rocq-runtime.pretyping/Typing/index.html
Module TypingSource
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.typesTypecheck 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.
Source
val solve_evars :
Environ.env ->
Evd.evar_map ->
EConstr.constr ->
Evd.evar_map * EConstr.constrSolve existential variables using typing
Source
val check_allowed_sort :
Environ.env ->
Evd.evar_map ->
Names.inductive EConstr.puniverses ->
EConstr.constr ->
EConstr.constr ->
Evd.evar_map * EConstr.ERelevance.tRaise 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_mapRaise 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_mapVariant 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_judgmentSource
val judge_of_apply :
Environ.env ->
Evd.evar_map ->
EConstr.unsafe_judgment ->
EConstr.unsafe_judgment array ->
Evd.evar_map * EConstr.unsafe_judgmentSource
val judge_of_abstraction :
Environ.env ->
Evd.evar_map ->
Names.Name.t ->
EConstr.unsafe_type_judgment ->
EConstr.unsafe_judgment ->
EConstr.unsafe_judgmentSource
val judge_of_product :
Environ.env ->
Evd.evar_map ->
Names.Name.t ->
EConstr.unsafe_type_judgment ->
EConstr.unsafe_type_judgment ->
EConstr.unsafe_judgmentSource
val judge_of_projection :
Environ.env ->
Evd.evar_map ->
Names.Projection.t ->
EConstr.unsafe_judgment ->
EConstr.unsafe_judgmentSource
val checked_appvect :
Environ.env ->
Evd.evar_map ->
EConstr.constr ->
EConstr.constr array ->
Evd.evar_map * EConstr.constrSource
val checked_applist :
Environ.env ->
Evd.evar_map ->
EConstr.constr ->
EConstr.constr list ->
Evd.evar_map * EConstr.constrSource
val recheck_against :
Environ.env ->
Evd.evar_map ->
EConstr.constr ->
EConstr.constr ->
Evd.evar_map * EConstr.typeshack
Source
type ('constr, 'types, 'r) bad_relevance = | BadRelevanceBinder of 'r * ('constr, 'types, 'r) Context.Rel.Declaration.pt| BadRelevanceCase of 'r * 'constr
Source
val bad_relevance_msg :
(Environ.env
* Evd.evar_map
* (EConstr.constr, EConstr.types, EConstr.ERelevance.t) bad_relevance)
CWarnings.msgTemplate typing
Source
val get_template_parameters :
Environ.env ->
Evd.evar_map ->
Names.inductive ->
EConstr.unsafe_judgment array ->
Evd.evar_map * Inductive.param_univs sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>