Goal:
  
  A : Type
  a : A
  l : list A
  n : nat
  P : A → bool
  d : A
  IHl : ∀ n : nat, forallb P l → n < #|l| → ∃ x : A, nth n l d = x ∧ P x
  ============================
   (P a && forallb P l → S n < S #|l| → ∃ x : A, nth n l d = x ∧ P x)


DEBUG:Going to execute:
(solve [ do_atom | use_hyps; do_ccl ]) ||
             fail "Cannot solve this goal"