∀ (motive : List Lean.MVarId → Sort u_1) (g : Lean.MVarId) (gs : List Lean.MVarId) (h_1 : Unit → motive [])
  (h_2 : (g : Lean.MVarId) → (gs : List Lean.MVarId) → motive (g :: gs)),
  (match g :: gs with
    | [] => h_1 ()
    | g :: gs => h_2 g gs) =
    h_2 g gs