∀ {σ : Sort u_3} {α : Type u_1} (motive : σ → Batteries.RBNode.Stream α → Sort u_2) (b : σ)
  (h_1 : (b : σ) → motive b Batteries.RBNode.Stream.nil)
  (h_2 :
    (b : σ) →
      (v : α) →
        (r : Batteries.RBNode α) →
          (tail : Batteries.RBNode.Stream α) → motive b (Batteries.RBNode.Stream.cons v r tail)),
  (match b, Batteries.RBNode.Stream.nil with
    | b, Batteries.RBNode.Stream.nil => h_1 b
    | b, Batteries.RBNode.Stream.cons v r tail => h_2 b v r tail) =
    h_1 b