Goal:
  
  A : Type
  P : A → A → Type
  idx : sigma (λ _ : list A, list A)
  a : OnOne2 P (pr1 idx) (pr2 idx)
  b : sigma
        (λ index : sigma (λ _ : list A, list A),
           OnOne2 P (pr1 index) (pr2 index))
  H : NoConfusion_OnOne2 A P {| pr1 := idx; pr2 := a |} b
  ============================
   ({| pr1 := idx; pr2 := a |} = b)


DEBUG:Going to execute:
let idx := fresh "idx" in
           destruct id as [idx id]; repeat CoreTactics.destruct_sigma idx;
            simpl in id
DEBUG LTAC Evaluated term: idx
DEBUG LTAC Evaluated term: (sigma (λ _ : list A, list A))
Level 6: type of id
 has value 
(sigma (λ _ : list A, list A))