Module TemplateArity

NB: the types and rel_contexts may mention previous args eg "sigT : forall A, (A -> Type) -> Type" is "TemplateArg (, u, TemplateArg (_:Rel 1, v, IndType (_, , Type@max(u,v))))" note the "Rel 1"

type template_can_be_prop = {
template_can_be_prop : Univ.Level.Set.t option;
}

be Prop if all these levels are Prop

val get_template_arity : Environ.env -> Names.inductive -> ctoropt:int option -> template_can_be_prop * template_arity