(motive : Option (Array Lean.Meta.Grind.EMatchTheorem) → Sort u_1) →
  (__discr : Option (Array Lean.Meta.Grind.EMatchTheorem)) →
    ((thms : Array Lean.Meta.Grind.EMatchTheorem) → motive (some thms)) →
      ((x : Option (Array Lean.Meta.Grind.EMatchTheorem)) → motive x) → motive __discr