Goal:
  
  A : Type
  P : list A → Type
  X : P []
  X0 : ∀ (l : list A) (x : A), P (l ++ [x])
  l : list A
  ============================
   (P l)


DEBUG:Going to execute:
now apply rev_ind