Goal:
  
  A : Type
  p : A → bool
  a : A
  l : list A
  n : nat
  x : A
  Hnth : nth_error (a :: l) (S n) = Some x
  HPl : is_true (forallb p (a :: l))
  IHl : ∀ n : nat, nth_error l n = Some x → forallb p l → p x
  ============================
   (is_true (p x))


DEBUG:Going to execute:
eapply IHl

Goals:
  
  A : Type
  p : A → bool
  a : A
  l : list A
  n : nat
  x : A
  Hnth : nth_error (a :: l) (S n) = Some x
  HPl : is_true (forallb p (a :: l))
  IHl : ∀ n : nat, nth_error l n = Some x → forallb p l → p x
  ============================
   (nth_error l ?n = Some x)

  
  A : Type
  p : A → bool
  a : A
  l : list A
  n : nat
  x : A
  Hnth : nth_error (a :: l) (S n) = Some x
  HPl : is_true (forallb p (a :: l))
  IHl : ∀ n : nat, nth_error l n = Some x → forallb p l → p x
  ============================
   (is_true (forallb p l))


DEBUG:Going to execute:
tea
DEBUG LTAC Evaluated term: IHl

Goals:
  
  A : Type
  p : A → bool
  a : A
  l : list A
  n : nat
  x : A
  Hnth : nth_error (a :: l) (S n) = Some x
  HPl : is_true (forallb p (a :: l))
  IHl : ∀ n : nat, nth_error l n = Some x → forallb p l → p x
  ============================
   (nth_error l ?n = Some x)

  
  A : Type
  p : A → bool
  a : A
  l : list A
  n : nat
  x : A
  Hnth : nth_error (a :: l) (S n) = Some x
  HPl : is_true (forallb p (a :: l))
  IHl : ∀ n : nat, nth_error l n = Some x → forallb p l → p x
  ============================
   (is_true (forallb p l))


DEBUG:Going to execute:
try eassumption