Goal:
  
  A : Type
  n : nat
  t : A
  P : nat → A → A → Type
  i : nat
  hd : A
  hd' : A
  tl : list A
  p : P i hd hd'
  H : nth_error tl n = Some t
  ============================
   (A → A → Type)


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