Goal:
  
  A : Type
  P : A → bool
  a : A
  l : list A
  n : nat
  IHl : ∀ n : nat,
          forallb P l → on_Some_or_None (λ x : A, P x) (nth_error l n)
  ============================
   (forallb P (a :: l)
    → on_Some_or_None (λ x : A, P x) (nth_error (a :: l) n))


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