Goal:
  
  A : Type
  B : Type
  P : B → A → A → Type
  a : sigma
        (λ index : sigma (λ _ : list B, sigma (λ _ : list A, list A)),
           OnOne2All P (pr1 index) (pr1 (pr2 index)) (pr2 (pr2 index)))
  b : sigma
        (λ index : sigma (λ _ : list B, sigma (λ _ : list A, list A)),
           OnOne2All P (pr1 index) (pr1 (pr2 index)) (pr2 (pr2 index)))
  H : a = b
  ============================
   (NoConfusion_OnOne2All A B P a b)


DEBUG:Going to execute:
intros; CoreTactics.on_last_hyp ltac:(fun id => destruct id);
            CoreTactics.on_last_hyp
             ltac:(fun id => CoreTactics.destruct_sigma id; destruct id)