Goal:
  
  A : Type
  P : nat → A → Type
  f : nat → A → A
  n : nat
  hd : A
  tl : list A
  p : P n hd
  X : Alli P (S n) tl
  H : ∀ (n : nat) (x : A), P n x → f n x = x
  H0 : mapi_rec f tl (S n) = tl
  ============================
   (f n hd :: mapi_rec f tl (S n) = hd :: tl)


DEBUG:Going to execute:
<Coq.Init.Tauto.is_conj> flags X1; elim id; do 2 intro; clear id
Level 2: evaluation returns
<coq-core.plugins.tauto::is_conj@0>
where
tauto_flags := 
of type
tauto_flags
X1 := Alli P (S n) tl
of type
constr of type tacvalue

Level 2: Backtrace:

Tactic failure.
Level 2: Backtrace:

Tactic failure.
Level 1: Backtrace:

Tactic failure.
Level 1: Backtrace:

Tactic failure.
Level 1: Backtrace:

Tactic failure.
Level 1: Backtrace:

Tactic failure.