Goal:
  
  A : Type
  P : nat → A → Type
  k : nat
  a : A
  l : list A
  h : ∀ (i : nat) (x : A), nth_error (a :: l) i = Some x → P (k + i) x
  IHl : ∀ k : nat,
          (∀ (i : nat) (x : A), nth_error l i = Some x → P (k + i) x)
          → Alli P k l
  ============================
   (P k a)


DEBUG:Going to execute:
<coq-core.plugins.ltac::specialize@0> $1