package rocq-runtime
Install
Dune Dependency
Authors
Maintainers
Sources
md5=8d522602d23e7a665631826dab9aa92b
sha512=f4f76a6a178e421c99ee7a331a2fd97a06e9c5d0168d7e60c44e3820d8e1a124370ea104ad90c7f87a9a1e9d87b2d0d7d2d387c998feeaed4a75ed04e176a4be
doc/rocq-runtime.kernel/Reduction/index.html
Module Reduction
Source
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.types
Pseudo-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.types
In 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.types
val whd_decompose_prod_decls :
?evars:CClosure.evar_handler ->
Environ.env ->
Constr.types ->
Constr.rel_context * Constr.types
val whd_decompose_lambda :
?evars:CClosure.evar_handler ->
Environ.env ->
Constr.constr ->
Constr.rel_context * Constr.constr
val whd_decompose_lambda_decls :
?evars:CClosure.evar_handler ->
Environ.env ->
Constr.constr ->
Constr.rel_context * Constr.constr
val whd_decompose_lambda_n_assum :
?evars:CClosure.evar_handler ->
Environ.env ->
int ->
Constr.constr ->
Constr.rel_context * Constr.constr
This 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