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
  ============================
   ((t = t) + P (i + S n)%nat t t)%type


DEBUG:Going to execute:
<Coq.Init.Tauto.is_empty> flags X1; elim H
Level 3: evaluation returns
<coq-core.plugins.tauto::is_empty@0>
where
tauto_flags := 
of type
tauto_flags
X1 := nat → A → A → Type
of type
constr of type tacvalue

Level 3: Backtrace:

Tactic failure.
Level 3: Backtrace:

Tactic failure.
Level 2: Backtrace:

Tactic failure.
Level 2: Backtrace:

Tactic failure.