∀ {K : Type u_1} {Γ : K → Type u_2} {Λ : Type u_3} {σ : Type u_4} (motive : Turing.TM2.Cfg Γ Λ σ → Sort u_5) (l : Λ)
  (v : σ) (S : (k : K) → List (Γ k))
  (h_1 : (var : σ) → (stk : (k : K) → List (Γ k)) → motive { l := none, var := var, stk := stk })
  (h_2 : (l : Λ) → (v : σ) → (S : (k : K) → List (Γ k)) → motive { l := some l, var := v, stk := S }),
  (match { l := some l, var := v, stk := S } with
    | { l := none, var := var, stk := stk } => h_1 var stk
    | { l := some l, var := v, stk := S } => h_2 l v S) =
    h_2 l v S