package rocq-runtime
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=051f7bf702ff0a3b370449728921e5a95e18bc2b31b8eb949d48422888c98af4
doc/rocq-runtime.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.
val hnf_prod_applist :
?evars:CClosure.evar_handler ->
Environ.env ->
Constr.types ->
Constr.constr list ->
Constr.typesPseudo-reduction rule Prod(x,A,B) a --> Bx\a
val hnf_prod_applist_decls :
?evars:CClosure.evar_handler ->
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 :
?evars:CClosure.evar_handler ->
Environ.env ->
Constr.types ->
Constr.rel_context * Constr.typesval whd_decompose_prod_decls :
?evars:CClosure.evar_handler ->
Environ.env ->
Constr.types ->
Constr.rel_context * Constr.typesval whd_decompose_lambda :
?evars:CClosure.evar_handler ->
Environ.env ->
Constr.constr ->
Constr.rel_context * Constr.constrval whd_decompose_lambda_decls :
?evars:CClosure.evar_handler ->
Environ.env ->
Constr.constr ->
Constr.rel_context * Constr.constrval whd_decompose_lambda_n_assum :
?evars:CClosure.evar_handler ->
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
val eta_expand :
?evars:CClosure.evar_handler ->
Environ.env ->
Constr.constr ->
Constr.types ->
Constr.constr