Goal:
    A : Type  l : list A  x : A
  ============================
   (firstn (#|l ++ [x]| - 1) (l ++ [x]) = l)


DEBUG:Going to execute:
autorewrite with len