package rocq-runtime
The Rocq Prover -- Core Binaries and Tools
Install
Dune Dependency
Authors
Maintainers
Sources
rocq-9.0.0.tar.gz
md5=8d522602d23e7a665631826dab9aa92b
sha512=f4f76a6a178e421c99ee7a331a2fd97a06e9c5d0168d7e60c44e3820d8e1a124370ea104ad90c7f87a9a1e9d87b2d0d7d2d387c998feeaed4a75ed04e176a4be
doc/rocq-runtime.pretyping/Indrec/index.html
Module Indrec
Source
Errors related to recursors building
Source
type recursion_scheme_error =
| NotAllowedCaseAnalysis of bool * Sorts.t * Constr.pinductive
| NotMutualInScheme of Names.inductive * Names.inductive
| NotAllowedDependentAnalysis of bool * Names.inductive
Eliminations
Build a case analysis elimination scheme in some sort
Source
type case_analysis = private {
case_params : EConstr.rel_context;
case_pred : Names.Name.t EConstr.binder_annot * EConstr.types;
case_branches : EConstr.rel_context;
case_arity : EConstr.rel_context;
case_body : EConstr.t;
case_type : EConstr.t;
}
Source
val check_valid_elimination :
Environ.env ->
Evd.evar_map ->
Names.inductive EConstr.puniverses ->
dep:bool ->
EConstr.ESorts.t ->
Evd.evar_map
Source
val build_case_analysis_scheme :
Environ.env ->
Evd.evar_map ->
Names.inductive EConstr.puniverses ->
dep_flag ->
EConstr.ESorts.t ->
Evd.evar_map * case_analysis
Build a dependent case elimination predicate unless type is in Prop or is a recursive record with primitive projections.
Source
val build_case_analysis_scheme_default :
Environ.env ->
Evd.evar_map ->
Names.inductive EConstr.puniverses ->
EConstr.ESorts.t ->
Evd.evar_map * case_analysis
Builds a recursive induction scheme (Peano-induction style) in the given sort.
Source
val build_induction_scheme :
Environ.env ->
Evd.evar_map ->
Names.inductive EConstr.puniverses ->
dep_flag ->
EConstr.ESorts.t ->
Evd.evar_map * EConstr.constr
Builds mutual (recursive) induction schemes
Source
val build_mutual_induction_scheme :
Environ.env ->
Evd.evar_map ->
?force_mutual:bool ->
(Names.inductive EConstr.puniverses * dep_flag * EConstr.ESorts.t) list ->
Evd.evar_map * EConstr.constr list
Recursor names utilities
Default dependence of eliminations for Prop inductives
Source
val pseudo_sort_family_for_elim :
Names.inductive ->
Declarations.one_inductive_body ->
Sorts.family
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>