Goal:
  
  A : Type
  B : Type
  t : A
  P : B → A → A → Type
  b : B
  bs : list B
  hd : A
  tl : list A
  tl' : list A
  X : OnOne2All P bs tl tl'
  IHX : ∀ n : nat,
          nth_error tl n = Some t
          → ∑ t' : A,
              nth_error tl' n = Some t'
              × (t = t') + (∑ i' : B, nth_error bs n = Some i' × P i' t t')
  ============================
   (Some hd = Some t
    → ∑ t' : A,
        Some hd = Some t'
        × (t = t') + (∑ i' : B, Some b = Some i' × P i' t t'))


DEBUG:Going to execute:
<coq-core.plugins.ssreflect::ssrrewrite@0> $1 $2