§ Lean does not allow nested inductive families



inductive Const : Type _ | mk
inductive Const1 (t: Type _) : Type _ | mk : Const1 t
inductive E : Const → Type
| mk : {c : Const} → (args : Const1 (E c)) → E Const.mk
-- (kernel) invalid nested inductive datatype 'Const1',
-- nested inductive datatypes parameters cannot contain local variables.