Module IndTyping

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)
  • parameters
  • for each inductive, (arity * constructors) (with params) * (indices * splayed constructor types) (both without params) * top allowed elimination