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:
fun flags =>
             match reverse goal with
             | |- ?X1 =>
                   <Coq.Init.Tauto.is_unit_or_eq> flags X1; constructor 1
             | H:?X1 |- _ => <Coq.Init.Tauto.is_empty> flags X1; elim H
             | _ => Ltac.assumption
             end