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
  H : is_true (P a && forallb P l)
  H0 : S n < S #|l|
  ============================
   (∃ x : A, nth n l d = x ∧ P x)


DEBUG:Going to execute:
try (solve [ inversion H ])
DEBUG LTAC Evaluated term: H0
DEBUG LTAC Evaluated term: (S n < S #|l|)
Level 2: type of H
 has value 
(S n < S #|l|)