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


DEBUG:Going to execute:
try arith_congr
Level 0: Backtrace:

No product even after head-reduction.
Level 0: Backtrace:

No product even after head-reduction.
Level 3: Backtrace:

No product even after head-reduction.
Level 2: Backtrace:

No product even after head-reduction.
Level 1: Backtrace:

No product even after head-reduction.
Level 0: Backtrace:

No product even after head-reduction.
Level 0: Backtrace:

No product even after head-reduction.