Goal:
  
  A : Type
  P : nat → A → A → Type
  idx0 : nat
  idx1 : list A
  idx : list A
  a : OnOne2i P idx0 idx1 idx
  idx3 : nat
  idx2 : sigma (λ _ : list A, list A)
  b : OnOne2i P (pr1 {| pr1 := idx3; pr2 := idx2 |})
        (pr1 (pr2 {| pr1 := idx3; pr2 := idx2 |}))
        (pr2 (pr2 {| pr1 := idx3; pr2 := idx2 |}))
  e : NoConfusion_OnOne2i A P
        {|
          pr1 := {| pr1 := idx0; pr2 := {| pr1 := idx1; pr2 := idx |} |};
          pr2 := a
        |} {| pr1 := {| pr1 := idx3; pr2 := idx2 |}; pr2 := b |}
  ============================
   (noConfusion_OnOne2i_obligation_2 A P
      {|
        pr1 := {| pr1 := idx0; pr2 := {| pr1 := idx1; pr2 := idx |} |};
        pr2 := a
      |} {| pr1 := {| pr1 := idx3; pr2 := idx2 |}; pr2 := b |}
      (noConfusion_OnOne2i_obligation_1 A P
         {|
           pr1 := {| pr1 := idx0; pr2 := {| pr1 := idx1; pr2 := idx |} |};
           pr2 := a
         |} {| pr1 := {| pr1 := idx3; pr2 := idx2 |}; pr2 := b |} e) = e)


DEBUG:Going to execute:
match type of id with
           | sigma ?P =>
               let idx := fresh "idx" in
               destruct id as [idx id]; repeat CoreTactics.destruct_sigma idx;
                simpl in id
           | _ => idtac
           end