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


DEBUG:Going to execute:
solve [ inversion H ]
Level 3: Backtrace:

The type of d is not inductive.
Level 3: Backtrace:

No applicable tactic.