Goal:
  
  A : Type
  P : nat → A → Type
  x : A
  l : list A
  IHl : ∀ k : nat,
          Alli P k l
          → Alli (λ k' : nat, P (Nat.pred #|l| - k' + k)) 0 (List.rev l)
  k : nat
  a : Alli P k l
  b : Alli P (#|l| + k) [x]
  ============================
   (Alli (λ k' : nat, P (Nat.pred #|l ++ [x]| - k' + k)) 0
      (List.rev (l ++ [x])))


DEBUG:Going to execute:
<Coq.Init.Tauto.is_empty> flags X1; elim H
Level 3: evaluation returns
<coq-core.plugins.tauto::is_unit_or_eq@0>
where
tauto_flags := 
of type
tauto_flags
X1 := Alli (λ k' : nat, P (Nat.pred #|l ++ [x]| - k' + k)) 0
        (List.rev (l ++ [x]))
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.