∀ {α : Type u_1} (motive : (x : List α) → (x_1 : α) → x_1 ∈ x → Sort u_2) (y z : α) (xs : List α) (x : α)
  (h : x ∈ y :: z :: xs) (h_1 : (x : α) → (h : x ∈ []) → motive [] x h)
  (h_2 : (y x : α) → (x_1 : x ∈ [y]) → motive [y] x x_1)
  (h_3 : (y z : α) → (xs : List α) → (x : α) → (h : x ∈ y :: z :: xs) → motive (y :: z :: xs) x h),
  (match y :: z :: xs, x, h with
    | [], x, h => h_1 x h
    | [y], x, x_1 => h_2 y x x_1
    | y :: z :: xs, x, h => h_3 y z xs x h) =
    h_3 y z xs x h