{motive : Lean.OpenDecl → Sort u} →
  ((ns : Lean.Name) → (except : List Lean.Name) → motive (Lean.OpenDecl.simple ns except)) →
    ((id declName : Lean.Name) → motive (Lean.OpenDecl.explicit id declName)) → (t : Lean.OpenDecl) → motive t