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


DEBUG:Going to execute:
<coq-core.plugins.ssreflect::ssrrewrite@0> $1 $2
Level 0: Backtrace:

No primitive equality found.
Level 0: Backtrace:

No primitive equality found.
DEBUG LTAC Evaluated term: (l ++ a :: r)
DEBUG LTAC Evaluated term: (l ++ [a] ++ r)
DEBUG LTAC Evaluated term: (l' ++ a0 :: r')
DEBUG LTAC Evaluated term: (l' ++ [a0] ++ r')