package coq-core
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=64b49dbc3205477bd7517642c0b9cbb6
sha512=02fb5b4fb575af79e092492cbec6dc0d15a1d74a07f827f657a72d4e6066532630e5a6d15be4acdb73314bd40b9a321f9ea0584e0ccfe51fd3a56353bd30db9b
doc/coq-core.kernel/Reduction/index.html
Module ReductionSource
None of these functions do eta reduction
Builds an application node, reducing beta redexes it may produce.
Builds an application node, reducing beta redexes it may produce.
Builds an application node, reducing beta redexe it may produce.
Pseudo-reduction rule Prod(x,A,B) a --> Bx\a
val hnf_prod_applist_decls :
Environ.env ->
int ->
Constr.types ->
Constr.constr list ->
Constr.typesIn hnf_prod_applist_decls n c args, c is supposed to (whd-)reduce to the form ∀Γ.t with Γ of length n and possibly with let-ins; it returns t with the assumptions of Γ instantiated by args and the local definitions of Γ expanded.
Compatibility alias for Term.lambda_appvect_decls
val whd_decompose_prod_decls :
Environ.env ->
Constr.types ->
Constr.rel_context * Constr.typesval whd_decompose_lambda_decls :
Environ.env ->
Constr.constr ->
Constr.rel_context * Constr.constrval whd_decompose_lambda_n_assum :
Environ.env ->
int ->
Constr.constr ->
Constr.rel_context * Constr.constrThis is typically the function to use to extract the context of a Fix not already in normal form up to and including the decreasing argument, counting as many lambda's as given by the decreasing index + 1
Deprecated
Re-deprecated in 8.19
val hnf_decompose_prod_decls :
Environ.env ->
Constr.types ->
Constr.rel_context * Constr.typesval hnf_decompose_lambda_decls :
Environ.env ->
Constr.constr ->
Constr.rel_context * Constr.constrval hnf_decompose_lambda_n_decls :
Environ.env ->
int ->
Constr.constr ->
Constr.rel_context * Constr.constr