∀ {α : Type u_1} (motive : Batteries.RBNode α → Sort u_2) (a : Batteries.RBNode α) (y : α) (b : Batteries.RBNode α)
  (h_1 : Unit → motive Batteries.RBNode.nil)
  (h_2 :
    (a : Batteries.RBNode α) →
      (y : α) → (b : Batteries.RBNode α) → motive (Batteries.RBNode.node Batteries.RBColor.red a y b))
  (h_3 :
    (a : Batteries.RBNode α) →
      (y : α) → (b : Batteries.RBNode α) → motive (Batteries.RBNode.node Batteries.RBColor.black a y b)),
  (match Batteries.RBNode.node Batteries.RBColor.black a y b with
    | Batteries.RBNode.nil => h_1 ()
    | Batteries.RBNode.node Batteries.RBColor.red a y b => h_2 a y b
    | Batteries.RBNode.node Batteries.RBColor.black a y b => h_3 a y b) =
    h_3 a y b