(motive : Option (Array (Lean.TSyntax `Batteries.Tactic.casePattArg)) → Sort u_1) →
  (x : Option (Array (Lean.TSyntax `Batteries.Tactic.casePattArg))) →
    ((ps : Array (Lean.TSyntax `Batteries.Tactic.casePattArg)) → motive (some ps)) → (Unit → motive none) → motive x