package rocq-runtime

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

rocq-9.1.1.tar.gz
sha256=35cd03fc4193969b1cce01190340e5c129c1ba8f02242a9e6dff4b83be118759

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 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