Goal:
  
  A : Type
  B : Type
  R : A → B → Type
  l : list A
  a : B
  r1 : list B
  r2 : list B
  h : All2 R l ((a :: r1) ++ r2)
  IHr1 : ∀ (l : list A) (r2 : list B),
           All2 R l (r1 ++ r2)
           → ∑ l1 l2 : list A, l = l1 ++ l2 × All2 R l1 r1 × All2 R l2 r2
  ============================
   (∑ l1 l2 : list A, l = l1 ++ l2 × All2 R l1 (a :: r1) × All2 R l2 r2)


DEBUG:Going to execute:
DepElim.do_intros H; DepElim.generalize_by_eqs H
Level 1: evaluation returns
DepElim.do_intros H; DepElim.generalize_by_eqs H; tac H
where
tac := fun hyp => DepElim.do_case hyp
       where
       id := h
       of type
       constr
of type
tacvalue
H := h
of type
constr of type tacvalue