Goal:
  
  A : Type
  P : A → A → Type
  idx0 : list A
  idx : list A
  a : OnOne2 P (pr1 {| pr1 := idx0; pr2 := idx |})
        (pr2 {| pr1 := idx0; pr2 := idx |})
  ============================
   (noConfusion_OnOne2_obligation_1 A P
      {| pr1 := {| pr1 := idx0; pr2 := idx |}; pr2 := a |}
      {| pr1 := {| pr1 := idx0; pr2 := idx |}; pr2 := a |}
      (noConfusion_OnOne2_obligation_2 A P
         {| pr1 := {| pr1 := idx0; pr2 := idx |}; pr2 := a |}
         {| pr1 := {| pr1 := idx0; pr2 := idx |}; pr2 := a |} eq_refl) =
    eq_refl)


DEBUG:Going to execute:
fun id =>
             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