Goal:
  
  A : Type
  P : A → A → Type
  hd : A
  hd' : A
  tl : list A
  p : P hd hd'
  X : A → Type
  ============================
   (hd :: tl = [] ++ hd :: tl)


DEBUG:Going to execute:
clear id0