Goal:
  
  A : Type
  t : A
  P : A → A → Type
  hd' : A
  tl : list A
  p : P t hd'
  X : A → Type
  ============================
   (t = hd')


DEBUG:Going to execute:
clear id0