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


DEBUG:Going to execute:
destruct id
Level 4: evaluation returns
idtac of type tacvalue


Goals:
    A : Type  P : A → A → Type  hd : A  hd' : A  tl : list A  p : P hd hd'
  ============================
   (NoConfusion_OnOne2 A P
      {|
        pr1 := {| pr1 := hd :: tl; pr2 := hd' :: tl |};
        pr2 := OnOne2_hd P hd hd' tl p
      |}
      {|
        pr1 := {| pr1 := hd :: tl; pr2 := hd' :: tl |};
        pr2 := OnOne2_hd P hd hd' tl p
      |})

  
  A : Type
  P : A → A → Type
  hd : A
  tl : list A
  tl' : list A
  a : OnOne2 P tl tl'
  ============================
   (NoConfusion_OnOne2 A P
      {|
        pr1 := {| pr1 := hd :: tl; pr2 := hd :: tl' |};
        pr2 := OnOne2_tl P hd tl tl' a
      |}
      {|
        pr1 := {| pr1 := hd :: tl; pr2 := hd :: tl' |};
        pr2 := OnOne2_tl P hd tl tl' a
      |})


DEBUG:Going to execute:
constructor
Level 2: evaluation returns
idtac of type tacvalue

Level 2: evaluation returns
idtac of type tacvalue


Goals:
    A : Type  P : A → A → Type  hd : A  hd' : A  tl : list A  p : P hd hd'
  ============================
   (NoConfusion_OnOne2 A P
      {|
        pr1 := {| pr1 := hd :: tl; pr2 := hd' :: tl |};
        pr2 := OnOne2_hd P hd hd' tl p
      |}
      {|
        pr1 := {| pr1 := hd :: tl; pr2 := hd' :: tl |};
        pr2 := OnOne2_hd P hd hd' tl p
      |})

  
  A : Type
  P : A → A → Type
  hd : A
  tl : list A
  tl' : list A
  a : OnOne2 P tl tl'
  ============================
   (NoConfusion_OnOne2 A P
      {|
        pr1 := {| pr1 := hd :: tl; pr2 := hd :: tl' |};
        pr2 := OnOne2_tl P hd tl tl' a
      |}
      {|
        pr1 := {| pr1 := hd :: tl; pr2 := hd :: tl' |};
        pr2 := OnOne2_tl P hd tl tl' a
      |})


DEBUG:Going to execute:
<coq-core.plugins.ltac::constructor@0>