Goal:
  
  A : Type
  P : list A → list A → A → A → Type
  d : A
  d' : A
  Γ : list A
  Γ' : list A
  a : All2_fold P Γ Γ'
  p : P Γ Γ' d d'
  d0 : A
  d'0 : A
  Γ0 : list A
  Γ'0 : list A
  b : All2_fold P Γ0 Γ'0
  p0 : P Γ0 Γ'0 d0 d'0
  e : NoConfusion_All2_fold A P
        {|
          pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
          pr2 := All2_fold_cons P a p
        |}
        {|
          pr1 := {| pr1 := d0 :: Γ0; pr2 := d'0 :: Γ'0 |};
          pr2 := All2_fold_cons P b p0
        |}
  ============================
   (let H := CoreTactics.block in
    noConfusion_All2_fold_obligation_2 A P
      {|
        pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
        pr2 := All2_fold_cons P a p
      |}
      {|
        pr1 := {| pr1 := d0 :: Γ0; pr2 := d'0 :: Γ'0 |};
        pr2 := All2_fold_cons P b p0
      |}
      (noConfusion_All2_fold_obligation_1 A P
         {|
           pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
           pr2 := All2_fold_cons P a p
         |}
         {|
           pr1 := {| pr1 := d0 :: Γ0; pr2 := d'0 :: Γ'0 |};
           pr2 := All2_fold_cons P b p0
         |} e) = e)


DEBUG:Going to execute:
intros _

Goals:
  
  A : Type
  P : list A → list A → A → A → Type
  e : NoConfusion_All2_fold A P
        {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
        {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
  ============================
   (noConfusion_All2_fold_obligation_2 A P
      {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
      {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
      (noConfusion_All2_fold_obligation_1 A P
         {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
         {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |} e) =
    e)

  
  A : Type
  P : list A → list A → A → A → Type
  d : A
  d' : A
  Γ : list A
  Γ' : list A
  b : All2_fold P Γ Γ'
  p : P Γ Γ' d d'
  e : NoConfusion_All2_fold A P
        {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
        {|
          pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
          pr2 := All2_fold_cons P b p
        |}
  ============================
   (noConfusion_All2_fold_obligation_2 A P
      {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
      {|
        pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
        pr2 := All2_fold_cons P b p
      |}
      (noConfusion_All2_fold_obligation_1 A P
         {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
         {|
           pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
           pr2 := All2_fold_cons P b p
         |} e) = e)

  
  A : Type
  P : list A → list A → A → A → Type
  d : A
  d' : A
  Γ : list A
  Γ' : list A
  a : All2_fold P Γ Γ'
  p : P Γ Γ' d d'
  e : NoConfusion_All2_fold A P
        {|
          pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
          pr2 := All2_fold_cons P a p
        |} {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
  ============================
   (noConfusion_All2_fold_obligation_2 A P
      {|
        pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
        pr2 := All2_fold_cons P a p
      |} {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
      (noConfusion_All2_fold_obligation_1 A P
         {|
           pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
           pr2 := All2_fold_cons P a p
         |} {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |} e) =
    e)

  
  A : Type
  P : list A → list A → A → A → Type
  d : A
  d' : A
  Γ : list A
  Γ' : list A
  a : All2_fold P Γ Γ'
  p : P Γ Γ' d d'
  d0 : A
  d'0 : A
  Γ0 : list A
  Γ'0 : list A
  b : All2_fold P Γ0 Γ'0
  p0 : P Γ0 Γ'0 d0 d'0
  e : NoConfusion_All2_fold A P
        {|
          pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
          pr2 := All2_fold_cons P a p
        |}
        {|
          pr1 := {| pr1 := d0 :: Γ0; pr2 := d'0 :: Γ'0 |};
          pr2 := All2_fold_cons P b p0
        |}
  ============================
   (noConfusion_All2_fold_obligation_2 A P
      {|
        pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
        pr2 := All2_fold_cons P a p
      |}
      {|
        pr1 := {| pr1 := d0 :: Γ0; pr2 := d'0 :: Γ'0 |};
        pr2 := All2_fold_cons P b p0
      |}
      (noConfusion_All2_fold_obligation_1 A P
         {|
           pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
           pr2 := All2_fold_cons P a p
         |}
         {|
           pr1 := {| pr1 := d0 :: Γ0; pr2 := d'0 :: Γ'0 |};
           pr2 := All2_fold_cons P b p0
         |} e) = e)


DEBUG:Going to execute:
CoreTactics.unblock_goal

Goals:
  
  A : Type
  P : list A → list A → A → A → Type
  e : NoConfusion_All2_fold A P
        {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
        {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
  ============================
   (noConfusion_All2_fold_obligation_2 A P
      {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
      {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
      (noConfusion_All2_fold_obligation_1 A P
         {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
         {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |} e) =
    e)

  
  A : Type
  P : list A → list A → A → A → Type
  d : A
  d' : A
  Γ : list A
  Γ' : list A
  b : All2_fold P Γ Γ'
  p : P Γ Γ' d d'
  e : NoConfusion_All2_fold A P
        {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
        {|
          pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
          pr2 := All2_fold_cons P b p
        |}
  ============================
   (noConfusion_All2_fold_obligation_2 A P
      {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
      {|
        pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
        pr2 := All2_fold_cons P b p
      |}
      (noConfusion_All2_fold_obligation_1 A P
         {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
         {|
           pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
           pr2 := All2_fold_cons P b p
         |} e) = e)

  
  A : Type
  P : list A → list A → A → A → Type
  d : A
  d' : A
  Γ : list A
  Γ' : list A
  a : All2_fold P Γ Γ'
  p : P Γ Γ' d d'
  e : NoConfusion_All2_fold A P
        {|
          pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
          pr2 := All2_fold_cons P a p
        |} {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
  ============================
   (noConfusion_All2_fold_obligation_2 A P
      {|
        pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
        pr2 := All2_fold_cons P a p
      |} {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
      (noConfusion_All2_fold_obligation_1 A P
         {|
           pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
           pr2 := All2_fold_cons P a p
         |} {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |} e) =
    e)

  
  A : Type
  P : list A → list A → A → A → Type
  d : A
  d' : A
  Γ : list A
  Γ' : list A
  a : All2_fold P Γ Γ'
  p : P Γ Γ' d d'
  d0 : A
  d'0 : A
  Γ0 : list A
  Γ'0 : list A
  b : All2_fold P Γ0 Γ'0
  p0 : P Γ0 Γ'0 d0 d'0
  e : NoConfusion_All2_fold A P
        {|
          pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
          pr2 := All2_fold_cons P a p
        |}
        {|
          pr1 := {| pr1 := d0 :: Γ0; pr2 := d'0 :: Γ'0 |};
          pr2 := All2_fold_cons P b p0
        |}
  ============================
   (noConfusion_All2_fold_obligation_2 A P
      {|
        pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
        pr2 := All2_fold_cons P a p
      |}
      {|
        pr1 := {| pr1 := d0 :: Γ0; pr2 := d'0 :: Γ'0 |};
        pr2 := All2_fold_cons P b p0
      |}
      (noConfusion_All2_fold_obligation_1 A P
         {|
           pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
           pr2 := All2_fold_cons P a p
         |}
         {|
           pr1 := {| pr1 := d0 :: Γ0; pr2 := d'0 :: Γ'0 |};
           pr2 := All2_fold_cons P b p0
         |} e) = e)


DEBUG:Going to execute:
unfold CoreTactics.block in *; cbv zeta

Goals:
  
  A : Type
  P : list A → list A → A → A → Type
  e : NoConfusion_All2_fold A P
        {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
        {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
  ============================
   (noConfusion_All2_fold_obligation_2 A P
      {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
      {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
      (noConfusion_All2_fold_obligation_1 A P
         {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
         {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |} e) =
    e)

  
  A : Type
  P : list A → list A → A → A → Type
  d : A
  d' : A
  Γ : list A
  Γ' : list A
  b : All2_fold P Γ Γ'
  p : P Γ Γ' d d'
  e : NoConfusion_All2_fold A P
        {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
        {|
          pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
          pr2 := All2_fold_cons P b p
        |}
  ============================
   (noConfusion_All2_fold_obligation_2 A P
      {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
      {|
        pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
        pr2 := All2_fold_cons P b p
      |}
      (noConfusion_All2_fold_obligation_1 A P
         {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
         {|
           pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
           pr2 := All2_fold_cons P b p
         |} e) = e)

  
  A : Type
  P : list A → list A → A → A → Type
  d : A
  d' : A
  Γ : list A
  Γ' : list A
  a : All2_fold P Γ Γ'
  p : P Γ Γ' d d'
  e : NoConfusion_All2_fold A P
        {|
          pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
          pr2 := All2_fold_cons P a p
        |} {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
  ============================
   (noConfusion_All2_fold_obligation_2 A P
      {|
        pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
        pr2 := All2_fold_cons P a p
      |} {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
      (noConfusion_All2_fold_obligation_1 A P
         {|
           pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
           pr2 := All2_fold_cons P a p
         |} {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |} e) =
    e)

  
  A : Type
  P : list A → list A → A → A → Type
  d : A
  d' : A
  Γ : list A
  Γ' : list A
  a : All2_fold P Γ Γ'
  p : P Γ Γ' d d'
  d0 : A
  d'0 : A
  Γ0 : list A
  Γ'0 : list A
  b : All2_fold P Γ0 Γ'0
  p0 : P Γ0 Γ'0 d0 d'0
  e : NoConfusion_All2_fold A P
        {|
          pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
          pr2 := All2_fold_cons P a p
        |}
        {|
          pr1 := {| pr1 := d0 :: Γ0; pr2 := d'0 :: Γ'0 |};
          pr2 := All2_fold_cons P b p0
        |}
  ============================
   (noConfusion_All2_fold_obligation_2 A P
      {|
        pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
        pr2 := All2_fold_cons P a p
      |}
      {|
        pr1 := {| pr1 := d0 :: Γ0; pr2 := d'0 :: Γ'0 |};
        pr2 := All2_fold_cons P b p0
      |}
      (noConfusion_All2_fold_obligation_1 A P
         {|
           pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
           pr2 := All2_fold_cons P a p
         |}
         {|
           pr1 := {| pr1 := d0 :: Γ0; pr2 := d'0 :: Γ'0 |};
           pr2 := All2_fold_cons P b p0
         |} e) = e)


DEBUG:Going to execute:
unfold CoreTactics.block in *

Goals:
  
  A : Type
  P : list A → list A → A → A → Type
  e : NoConfusion_All2_fold A P
        {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
        {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
  ============================
   (noConfusion_All2_fold_obligation_2 A P
      {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
      {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
      (noConfusion_All2_fold_obligation_1 A P
         {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
         {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |} e) =
    e)

  
  A : Type
  P : list A → list A → A → A → Type
  d : A
  d' : A
  Γ : list A
  Γ' : list A
  b : All2_fold P Γ Γ'
  p : P Γ Γ' d d'
  e : NoConfusion_All2_fold A P
        {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
        {|
          pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
          pr2 := All2_fold_cons P b p
        |}
  ============================
   (noConfusion_All2_fold_obligation_2 A P
      {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
      {|
        pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
        pr2 := All2_fold_cons P b p
      |}
      (noConfusion_All2_fold_obligation_1 A P
         {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
         {|
           pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
           pr2 := All2_fold_cons P b p
         |} e) = e)

  
  A : Type
  P : list A → list A → A → A → Type
  d : A
  d' : A
  Γ : list A
  Γ' : list A
  a : All2_fold P Γ Γ'
  p : P Γ Γ' d d'
  e : NoConfusion_All2_fold A P
        {|
          pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
          pr2 := All2_fold_cons P a p
        |} {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
  ============================
   (noConfusion_All2_fold_obligation_2 A P
      {|
        pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
        pr2 := All2_fold_cons P a p
      |} {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
      (noConfusion_All2_fold_obligation_1 A P
         {|
           pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
           pr2 := All2_fold_cons P a p
         |} {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |} e) =
    e)

  
  A : Type
  P : list A → list A → A → A → Type
  d : A
  d' : A
  Γ : list A
  Γ' : list A
  a : All2_fold P Γ Γ'
  p : P Γ Γ' d d'
  d0 : A
  d'0 : A
  Γ0 : list A
  Γ'0 : list A
  b : All2_fold P Γ0 Γ'0
  p0 : P Γ0 Γ'0 d0 d'0
  e : NoConfusion_All2_fold A P
        {|
          pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
          pr2 := All2_fold_cons P a p
        |}
        {|
          pr1 := {| pr1 := d0 :: Γ0; pr2 := d'0 :: Γ'0 |};
          pr2 := All2_fold_cons P b p0
        |}
  ============================
   (noConfusion_All2_fold_obligation_2 A P
      {|
        pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
        pr2 := All2_fold_cons P a p
      |}
      {|
        pr1 := {| pr1 := d0 :: Γ0; pr2 := d'0 :: Γ'0 |};
        pr2 := All2_fold_cons P b p0
      |}
      (noConfusion_All2_fold_obligation_1 A P
         {|
           pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
           pr2 := All2_fold_cons P a p
         |}
         {|
           pr1 := {| pr1 := d0 :: Γ0; pr2 := d'0 :: Γ'0 |};
           pr2 := All2_fold_cons P b p0
         |} e) = e)


DEBUG:Going to execute:
cbv zeta

Goals:
  
  A : Type
  P : list A → list A → A → A → Type
  e : NoConfusion_All2_fold A P
        {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
        {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
  ============================
   (noConfusion_All2_fold_obligation_2 A P
      {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
      {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
      (noConfusion_All2_fold_obligation_1 A P
         {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
         {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |} e) =
    e)

  
  A : Type
  P : list A → list A → A → A → Type
  d : A
  d' : A
  Γ : list A
  Γ' : list A
  b : All2_fold P Γ Γ'
  p : P Γ Γ' d d'
  e : NoConfusion_All2_fold A P
        {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
        {|
          pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
          pr2 := All2_fold_cons P b p
        |}
  ============================
   (noConfusion_All2_fold_obligation_2 A P
      {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
      {|
        pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
        pr2 := All2_fold_cons P b p
      |}
      (noConfusion_All2_fold_obligation_1 A P
         {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
         {|
           pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
           pr2 := All2_fold_cons P b p
         |} e) = e)

  
  A : Type
  P : list A → list A → A → A → Type
  d : A
  d' : A
  Γ : list A
  Γ' : list A
  a : All2_fold P Γ Γ'
  p : P Γ Γ' d d'
  e : NoConfusion_All2_fold A P
        {|
          pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
          pr2 := All2_fold_cons P a p
        |} {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
  ============================
   (noConfusion_All2_fold_obligation_2 A P
      {|
        pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
        pr2 := All2_fold_cons P a p
      |} {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
      (noConfusion_All2_fold_obligation_1 A P
         {|
           pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
           pr2 := All2_fold_cons P a p
         |} {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |} e) =
    e)

  
  A : Type
  P : list A → list A → A → A → Type
  d : A
  d' : A
  Γ : list A
  Γ' : list A
  a : All2_fold P Γ Γ'
  p : P Γ Γ' d d'
  d0 : A
  d'0 : A
  Γ0 : list A
  Γ'0 : list A
  b : All2_fold P Γ0 Γ'0
  p0 : P Γ0 Γ'0 d0 d'0
  e : NoConfusion_All2_fold A P
        {|
          pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
          pr2 := All2_fold_cons P a p
        |}
        {|
          pr1 := {| pr1 := d0 :: Γ0; pr2 := d'0 :: Γ'0 |};
          pr2 := All2_fold_cons P b p0
        |}
  ============================
   (noConfusion_All2_fold_obligation_2 A P
      {|
        pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
        pr2 := All2_fold_cons P a p
      |}
      {|
        pr1 := {| pr1 := d0 :: Γ0; pr2 := d'0 :: Γ'0 |};
        pr2 := All2_fold_cons P b p0
      |}
      (noConfusion_All2_fold_obligation_1 A P
         {|
           pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
           pr2 := All2_fold_cons P a p
         |}
         {|
           pr1 := {| pr1 := d0 :: Γ0; pr2 := d'0 :: Γ'0 |};
           pr2 := All2_fold_cons P b p0
         |} e) = e)


DEBUG:Going to execute:
simpl in * |-

Goals:
    A : Type  P : list A → list A → A → A → Type  e : True
  ============================
   (noConfusion_All2_fold_obligation_2 A P
      {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
      {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
      (noConfusion_All2_fold_obligation_1 A P
         {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
         {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |} e) =
    e)

  
  A : Type
  P : list A → list A → A → A → Type
  d : A
  d' : A
  Γ : list A
  Γ' : list A
  b : All2_fold P Γ Γ'
  p : P Γ Γ' d d'
  e : False
  ============================
   (noConfusion_All2_fold_obligation_2 A P
      {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
      {|
        pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
        pr2 := All2_fold_cons P b p
      |}
      (noConfusion_All2_fold_obligation_1 A P
         {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
         {|
           pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
           pr2 := All2_fold_cons P b p
         |} e) = e)

  
  A : Type
  P : list A → list A → A → A → Type
  d : A
  d' : A
  Γ : list A
  Γ' : list A
  a : All2_fold P Γ Γ'
  p : P Γ Γ' d d'
  e : False
  ============================
   (noConfusion_All2_fold_obligation_2 A P
      {|
        pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
        pr2 := All2_fold_cons P a p
      |} {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
      (noConfusion_All2_fold_obligation_1 A P
         {|
           pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
           pr2 := All2_fold_cons P a p
         |} {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |} e) =
    e)

  
  A : Type
  P : list A → list A → A → A → Type
  d : A
  d' : A
  Γ : list A
  Γ' : list A
  a : All2_fold P Γ Γ'
  p : P Γ Γ' d d'
  d0 : A
  d'0 : A
  Γ0 : list A
  Γ'0 : list A
  b : All2_fold P Γ0 Γ'0
  p0 : P Γ0 Γ'0 d0 d'0
  e : {|
        pr1 := d;
        pr2 :=
          {|
            pr1 := d';
            pr2 :=
              {|
                pr1 := Γ;
                pr2 := {| pr1 := Γ'; pr2 := {| pr1 := a; pr2 := p |} |}
              |}
          |}
      |} =
      {|
        pr1 := d0;
        pr2 :=
          {|
            pr1 := d'0;
            pr2 :=
              {|
                pr1 := Γ0;
                pr2 := {| pr1 := Γ'0; pr2 := {| pr1 := b; pr2 := p0 |} |}
              |}
          |}
      |}
  ============================
   (noConfusion_All2_fold_obligation_2 A P
      {|
        pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
        pr2 := All2_fold_cons P a p
      |}
      {|
        pr1 := {| pr1 := d0 :: Γ0; pr2 := d'0 :: Γ'0 |};
        pr2 := All2_fold_cons P b p0
      |}
      (noConfusion_All2_fold_obligation_1 A P
         {|
           pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
           pr2 := All2_fold_cons P a p
         |}
         {|
           pr1 := {| pr1 := d0 :: Γ0; pr2 := d'0 :: Γ'0 |};
           pr2 := All2_fold_cons P b p0
         |} e) = e)


DEBUG:Going to execute:
CoreTactics.on_last_hyp
            ltac:(fun id =>
                    hnf in id; CoreTactics.destruct_tele_eq id || destruct id)

Goals:
    A : Type  P : list A → list A → A → A → Type  e : True
  ============================
   (noConfusion_All2_fold_obligation_2 A P
      {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
      {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
      (noConfusion_All2_fold_obligation_1 A P
         {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
         {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |} e) =
    e)

  
  A : Type
  P : list A → list A → A → A → Type
  d : A
  d' : A
  Γ : list A
  Γ' : list A
  b : All2_fold P Γ Γ'
  p : P Γ Γ' d d'
  e : False
  ============================
   (noConfusion_All2_fold_obligation_2 A P
      {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
      {|
        pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
        pr2 := All2_fold_cons P b p
      |}
      (noConfusion_All2_fold_obligation_1 A P
         {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
         {|
           pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
           pr2 := All2_fold_cons P b p
         |} e) = e)

  
  A : Type
  P : list A → list A → A → A → Type
  d : A
  d' : A
  Γ : list A
  Γ' : list A
  a : All2_fold P Γ Γ'
  p : P Γ Γ' d d'
  e : False
  ============================
   (noConfusion_All2_fold_obligation_2 A P
      {|
        pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
        pr2 := All2_fold_cons P a p
      |} {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
      (noConfusion_All2_fold_obligation_1 A P
         {|
           pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
           pr2 := All2_fold_cons P a p
         |} {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |} e) =
    e)

  
  A : Type
  P : list A → list A → A → A → Type
  d : A
  d' : A
  Γ : list A
  Γ' : list A
  a : All2_fold P Γ Γ'
  p : P Γ Γ' d d'
  d0 : A
  d'0 : A
  Γ0 : list A
  Γ'0 : list A
  b : All2_fold P Γ0 Γ'0
  p0 : P Γ0 Γ'0 d0 d'0
  e : {|
        pr1 := d;
        pr2 :=
          {|
            pr1 := d';
            pr2 :=
              {|
                pr1 := Γ;
                pr2 := {| pr1 := Γ'; pr2 := {| pr1 := a; pr2 := p |} |}
              |}
          |}
      |} =
      {|
        pr1 := d0;
        pr2 :=
          {|
            pr1 := d'0;
            pr2 :=
              {|
                pr1 := Γ0;
                pr2 := {| pr1 := Γ'0; pr2 := {| pr1 := b; pr2 := p0 |} |}
              |}
          |}
      |}
  ============================
   (noConfusion_All2_fold_obligation_2 A P
      {|
        pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
        pr2 := All2_fold_cons P a p
      |}
      {|
        pr1 := {| pr1 := d0 :: Γ0; pr2 := d'0 :: Γ'0 |};
        pr2 := All2_fold_cons P b p0
      |}
      (noConfusion_All2_fold_obligation_1 A P
         {|
           pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
           pr2 := All2_fold_cons P a p
         |}
         {|
           pr1 := {| pr1 := d0 :: Γ0; pr2 := d'0 :: Γ'0 |};
           pr2 := All2_fold_cons P b p0
         |} e) = e)


DEBUG:Going to execute:
fun tac => lazymatch goal with
                      | H:_ |- _ => tac H
                      end

Goals:
    A : Type  P : list A → list A → A → A → Type  e : True
  ============================
   (noConfusion_All2_fold_obligation_2 A P
      {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
      {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
      (noConfusion_All2_fold_obligation_1 A P
         {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
         {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |} e) =
    e)

  
  A : Type
  P : list A → list A → A → A → Type
  d : A
  d' : A
  Γ : list A
  Γ' : list A
  b : All2_fold P Γ Γ'
  p : P Γ Γ' d d'
  e : False
  ============================
   (noConfusion_All2_fold_obligation_2 A P
      {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
      {|
        pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
        pr2 := All2_fold_cons P b p
      |}
      (noConfusion_All2_fold_obligation_1 A P
         {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
         {|
           pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
           pr2 := All2_fold_cons P b p
         |} e) = e)

  
  A : Type
  P : list A → list A → A → A → Type
  d : A
  d' : A
  Γ : list A
  Γ' : list A
  a : All2_fold P Γ Γ'
  p : P Γ Γ' d d'
  e : False
  ============================
   (noConfusion_All2_fold_obligation_2 A P
      {|
        pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
        pr2 := All2_fold_cons P a p
      |} {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
      (noConfusion_All2_fold_obligation_1 A P
         {|
           pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
           pr2 := All2_fold_cons P a p
         |} {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |} e) =
    e)

  
  A : Type
  P : list A → list A → A → A → Type
  d : A
  d' : A
  Γ : list A
  Γ' : list A
  a : All2_fold P Γ Γ'
  p : P Γ Γ' d d'
  d0 : A
  d'0 : A
  Γ0 : list A
  Γ'0 : list A
  b : All2_fold P Γ0 Γ'0
  p0 : P Γ0 Γ'0 d0 d'0
  e : {|
        pr1 := d;
        pr2 :=
          {|
            pr1 := d';
            pr2 :=
              {|
                pr1 := Γ;
                pr2 := {| pr1 := Γ'; pr2 := {| pr1 := a; pr2 := p |} |}
              |}
          |}
      |} =
      {|
        pr1 := d0;
        pr2 :=
          {|
            pr1 := d'0;
            pr2 :=
              {|
                pr1 := Γ0;
                pr2 := {| pr1 := Γ'0; pr2 := {| pr1 := b; pr2 := p0 |} |}
              |}
          |}
      |}
  ============================
   (noConfusion_All2_fold_obligation_2 A P
      {|
        pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
        pr2 := All2_fold_cons P a p
      |}
      {|
        pr1 := {| pr1 := d0 :: Γ0; pr2 := d'0 :: Γ'0 |};
        pr2 := All2_fold_cons P b p0
      |}
      (noConfusion_All2_fold_obligation_1 A P
         {|
           pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
           pr2 := All2_fold_cons P a p
         |}
         {|
           pr1 := {| pr1 := d0 :: Γ0; pr2 := d'0 :: Γ'0 |};
           pr2 := All2_fold_cons P b p0
         |} e) = e)


DEBUG:Going to execute:
fun id =>
             hnf in id; CoreTactics.destruct_tele_eq id || destruct id

Goals:
    A : Type  P : list A → list A → A → A → Type  e : True
  ============================
   (noConfusion_All2_fold_obligation_2 A P
      {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
      {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
      (noConfusion_All2_fold_obligation_1 A P
         {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
         {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |} e) =
    e)

  
  A : Type
  P : list A → list A → A → A → Type
  d : A
  d' : A
  Γ : list A
  Γ' : list A
  b : All2_fold P Γ Γ'
  p : P Γ Γ' d d'
  e : False
  ============================
   (noConfusion_All2_fold_obligation_2 A P
      {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
      {|
        pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
        pr2 := All2_fold_cons P b p
      |}
      (noConfusion_All2_fold_obligation_1 A P
         {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
         {|
           pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
           pr2 := All2_fold_cons P b p
         |} e) = e)

  
  A : Type
  P : list A → list A → A → A → Type
  d : A
  d' : A
  Γ : list A
  Γ' : list A
  a : All2_fold P Γ Γ'
  p : P Γ Γ' d d'
  e : False
  ============================
   (noConfusion_All2_fold_obligation_2 A P
      {|
        pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
        pr2 := All2_fold_cons P a p
      |} {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |}
      (noConfusion_All2_fold_obligation_1 A P
         {|
           pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
           pr2 := All2_fold_cons P a p
         |} {| pr1 := {| pr1 := []; pr2 := [] |}; pr2 := All2_fold_nil P |} e) =
    e)

  
  A : Type
  P : list A → list A → A → A → Type
  d : A
  d' : A
  Γ : list A
  Γ' : list A
  a : All2_fold P Γ Γ'
  p : P Γ Γ' d d'
  d0 : A
  d'0 : A
  Γ0 : list A
  Γ'0 : list A
  b : All2_fold P Γ0 Γ'0
  p0 : P Γ0 Γ'0 d0 d'0
  e : {|
        pr1 := d;
        pr2 :=
          {|
            pr1 := d';
            pr2 :=
              {|
                pr1 := Γ;
                pr2 := {| pr1 := Γ'; pr2 := {| pr1 := a; pr2 := p |} |}
              |}
          |}
      |} =
      {|
        pr1 := d0;
        pr2 :=
          {|
            pr1 := d'0;
            pr2 :=
              {|
                pr1 := Γ0;
                pr2 := {| pr1 := Γ'0; pr2 := {| pr1 := b; pr2 := p0 |} |}
              |}
          |}
      |}
  ============================
   (noConfusion_All2_fold_obligation_2 A P
      {|
        pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
        pr2 := All2_fold_cons P a p
      |}
      {|
        pr1 := {| pr1 := d0 :: Γ0; pr2 := d'0 :: Γ'0 |};
        pr2 := All2_fold_cons P b p0
      |}
      (noConfusion_All2_fold_obligation_1 A P
         {|
           pr1 := {| pr1 := d :: Γ; pr2 := d' :: Γ' |};
           pr2 := All2_fold_cons P a p
         |}
         {|
           pr1 := {| pr1 := d0 :: Γ0; pr2 := d'0 :: Γ'0 |};
           pr2 := All2_fold_cons P b p0
         |} e) = e)


DEBUG:Going to execute:
lazymatch goal with
           | H:_ |- _ => tac H
           end