Goal:
  
  A : Type
  P : nat → A → A → Type
  Q : A → Type
  hd : A
  tl : list A
  i : nat
  hd' : A
  p : P i hd hd'
  X : Q hd
  X0 : All Q tl
  ============================
   (A → A → Type)


DEBUG:Going to execute:
exact (id0 id1)
DEBUG LTAC Evaluated term: (A → A → Type)