Goal:
  
  A : Type
  P : A → A → Type
  l' : list A
  f : A → A
  hp : ∀ x y : A, P (f x) y → ∑ y' : A, y = f y'
  o : OnOne2 P [] l'
  ============================
   (let H := CoreTactics.block in
    let H0 := CoreTactics.block in
    ∑ l'' : list A, OnOne2 (λ x y : A, P (f x) (f y)) [] l'')


DEBUG:Going to execute:
(needs_generalization id; DepElim.generalize_sig_dest id) || idtac