package rocq-runtime

  1. Overview
  2. Docs
The Rocq Prover -- Core Binaries and Tools

Install

dune-project
 Dependency

Authors

Maintainers

Sources

rocq-9.3.0.tar.gz
sha256=3f0fc283e8644394aa9c7a6e3995b6d9ebbe1e6dda712bf431f9c372dcef95ad

doc/rocq-runtime.kernel/IndTyping/index.html

Module IndTypingSource

Sourcemodule NotPrimRecordReason : sig ... end
Sourcetype inductive_arity = {
  1. user_arity : Constr.types;
  2. sort : Sorts.t;
}

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, either: (1) if it's not ok, then why, or (2) whether it has eta
  • parameters
  • for each inductive, (arity * constructors) (with params) * (indices * splayed constructor types) (both without params) * top allowed elimination