Goal:
  
  A : Type
  B : Type
  P : B → A → A → Type
  Q : B → A → A → Type
  b : B
  bs : list B
  hd : A
  tl : list A
  tl' : list A
  H : OnOne2All P bs tl tl'
  HPQ : ∀ (i : B) (x y : A), P i x y → ∑ z : A, Q i x z × Q i y z
  r : list A
  o : OnOne2All Q bs tl r
  o0 : OnOne2All Q bs tl' r
  ============================
   (OnOne2All Q (b :: bs) (hd :: tl) (hd :: r))


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