{motive : Lean.Elab.Term.ElabElimInfo → Sort u} →
  ((elimExpr elimType : Lean.Expr) →
      (motivePos : ℕ) →
        (majorsPos : Array ℕ) →
          motive { elimExpr := elimExpr, elimType := elimType, motivePos := motivePos, majorsPos := majorsPos }) →
    (t : Lean.Elab.Term.ElabElimInfo) → motive t