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


DEBUG:Going to execute:
let rec do_ccl :=
            try do_atom; repeat (do_intro; try do_atom); try arith_congr;
             (solve [ split; do_ccl ])
           in
           (solve [ do_atom | use_hyps; do_ccl ]) ||
             fail "Cannot solve this goal"