Goal:
  
  A : Type
  P : A → A → Type
  Q : A → Type
  R : A → Type
  hd : A
  tl : list A
  hd' : A
  p : P hd hd'
  X : Q hd
  X0 : All Q tl
  X1 : R hd'
  X2 : All R tl
  ============================
   (Q hd)


DEBUG:Going to execute:
match goal with
           | |- ?X1 → ?X2 => intro
           | |- ¬ _ => unfold not at 1; intro
           end