Goal:
  
  A : Type
  B : Type
  P : B → A → A → Type
  Q : A → Type
  hd : A
  tl : list A
  b : B
  bs : list B
  hd' : A
  p : P b hd hd'
  e : #|bs| = #|tl|
  X : Q hd
  X0 : All Q tl
  ============================
   (P b hd hd')


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