Goal:
  
  A : Type
  l : list A
  l' : list A
  a : A
  a0 : A
  r' : list A
  H : (l ++ [a]) ++ r' = (l' ++ [a0]) ++ r'
  H0 : #|a :: r'| = #|a0 :: r'|
  IHr : ∀ l l' r'0 : list A,
          l ++ r' = l' ++ r'0 → #|r'| = #|r'0| → l = l' ∧ r' = r'0
  H1 : l ++ [a] = l' ++ [a0]
  ============================
   (l = l' ∧ a :: r' = a0 :: r')


DEBUG:Going to execute:
apply app_inj_tail in H1 as [-> ->]