Goal:
  
  A : Type
  B : Type
  P : B → A → A → Type
  Q : B → A → A → Type
  b : B
  bs : list B
  hd : A
  hd' : A
  tl : list A
  p : P b hd hd'
  e : #|bs| = #|tl|
  HPQ : ∀ (i : B) (x y : A), P i x y → ∑ z : A, Q i x z × Q i y z
  x : A
  q : Q b hd x
  q0 : Q b hd' x
  ============================
   (OnOne2All Q (b :: bs) (hd :: tl) (x :: tl))


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