Goal:
    A : Type  B : Type  P : list A → list A → A → A → B → Type
  ============================
   ([] = [])


DEBUG:Going to execute:
subst