(motive : Array Lean.Term → Sort u_1) →
  (idsS : Array Lean.Term) →
    ((x : Lean.Term) → motive #[x]) →
      ((x y : Lean.Term) → motive #[x, y]) → ((x : Array Lean.Term) → motive x) → motive idsS