Goal:
  
  A : Type
  P : A → Type
  p : A → bool
  q : A → bool
  x : A
  l : list A
  p0 : P x
  X : All P l
  H : ∀ x : A, P x → p x = q x
  H0 : forallb p l = forallb q l
  ============================
   (p x && forallb p l = q x && forallb q l)


DEBUG:Going to execute:
f_equal