∀ {α : Type u_1} (motive : Batteries.RBNode α → Sort u_2) (c : Batteries.RBColor) (l : Batteries.RBNode α) (v : α)
  (r : Batteries.RBNode α) (h_1 : Unit → motive Batteries.RBNode.nil)
  (h_2 :
    (c : Batteries.RBColor) →
      (l : Batteries.RBNode α) → (v : α) → (r : Batteries.RBNode α) → motive (Batteries.RBNode.node c l v r)),
  (match Batteries.RBNode.node c l v r with
    | Batteries.RBNode.nil => h_1 ()
    | Batteries.RBNode.node c l v r => h_2 c l v r) =
    h_2 c l v r