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


DEBUG:Going to execute:
destruct l'

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

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


DEBUG:Going to execute:
try discriminate
DEBUG LTAC Evaluated term: l'