Goal:
  
  A : Type
  P : A → A → Type
  a : A
  l : list A
  l' : list A
  f : A → A
  hp : ∀ x y : A, P (f x) y → ∑ y' : A, y = f y'
  IHl : ∀ l' : list A,
          OnOne2 P (map f l) l'
          → ∑ l'' : list A, OnOne2 (λ x y : A, P (f x) (f y)) l l''
  o : OnOne2 P (map f (a :: l)) l'
  ============================
   (∑ l'' : list A, OnOne2 (λ x y : A, P (f x) (f y)) (a :: l) l'')


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 := o
       of type
       ident
of type
tacvalue
H := o
of type
ident of type tacvalue