Goal:
  
  A : Type
  P : A → A → Type
  Q : A → A → Type
  hd : A
  hd' : A
  tl : list A
  p : P hd hd'
  HPQ : ∀ x y : A, P x y → ∑ z : A, Q x z × Q y z
  x : A
  q : Q hd x
  q0 : Q hd' x
  ============================
   (OnOne2 Q (hd' :: tl) (x :: tl))


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