Goal:
  
  A : Type
  B : Type
  P : B → A → A → Type
  idx : sigma (λ _ : list B, sigma (λ _ : list A, list A))
  a : OnOne2All P (pr1 idx) (pr1 (pr2 idx)) (pr2 (pr2 idx))
  ============================
   (NoConfusion_OnOne2All A B P {| pr1 := idx; pr2 := a |}
      {| pr1 := idx; pr2 := a |})


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 B, sigma (λ _ : list A, list A)))
Level 7: type of id
 has value 
(sigma (λ _ : list B, sigma (λ _ : list A, list A)))