package coq
Formal proof management system
Install
Dune Dependency
Authors
Maintainers
Sources
coq-8.14.1.tar.gz
sha256=3cbfc1e1a72b16d4744f5b64ede59586071e31d9c11c811a0372060727bfd9c3
doc/coq-core.pretyping/Typing/index.html
Module Typing
Source
This module provides the typing machine with existential variables and universes.
Typecheck a term and return its type. May trigger an evarmap leak.
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 ->
Constr.pinductive ->
EConstr.constr ->
EConstr.constr ->
Sorts.relevance
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 Context.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 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 ->
Names.Name.t ->
EConstr.unsafe_type_judgment ->
EConstr.unsafe_judgment ->
EConstr.unsafe_judgment
Source
val judge_of_product :
Environ.env ->
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
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>