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.kernel/IndTyping/index.html
Module IndTyping
Source
Source
val typecheck_inductive :
Environ.env ->
sec_univs:UVars.Instance.t option ->
Entries.mutual_inductive_entry ->
Environ.env
* Declarations.universes
* Declarations.template_universes option
* UVars.Variance.t array option
* Names.Id.t array option option
* NotPrimRecordReason.t option
* Constr.rel_context
* ((Declarations.inductive_arity * Constr.types array)
* (Constr.rel_context * (Constr.rel_context * Constr.types) array)
* Declarations.squash_info option)
array
Type checking for some inductive entry. Returns:
- environment with inductives + parameters in rel context
- abstracted universes
- checked variance info (variance for section universes is at the beginning of the array)
- record entry (checked to be OK)
- if primitive record was requested and not ok, the reason why it's not ok
- parameters
- for each inductive, (arity * constructors) (with params) * (indices * splayed constructor types) (both without params) * top allowed elimination
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>