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'
  ============================
   (OnOne2 P (map f []) l'
    → ∑ l'' : list A, OnOne2 (λ x y : A, P (f x) (f y)) [] l'')


DEBUG:Going to execute:
intros o; depelim o
DEBUG LTAC Evaluated term: l