Goal:
  
  A : Type
  P : list A → list A → A → A → Type
  a : A
  Γ : list A
  Γ' : list A
  Hrel1' : list A
  Hrel1 : list A
  Hrel : All2_fold P Hrel1' Hrel1
  ============================
   ({| pr1 := a :: Γ; pr2 := Γ' |} = {| pr1 := Hrel1'; pr2 := Hrel1 |}
    → let H := CoreTactics.block in
      let H0 := CoreTactics.block in
      ∑ d' : A,
        nth_error Γ' 0 = Some d'
        × (let Γs := skipn 1 (a :: Γ) in
           let Γs' := skipn 1 Γ' in All2_fold P Γs Γs' × P Γs Γs' a d'))


DEBUG:Going to execute:
destruct p

Goals:
  
  A : Type
  P : list A → list A → A → A → Type
  a : A
  Γ : list A
  Γ' : list A
  ============================
   ({| pr1 := a :: Γ; pr2 := Γ' |} = {| pr1 := []; pr2 := [] |}
    → let H := CoreTactics.block in
      let H0 := CoreTactics.block in
      ∑ d' : A,
        nth_error Γ' 0 = Some d'
        × (let Γs := skipn 1 (a :: Γ) in
           let Γs' := skipn 1 Γ' in All2_fold P Γs Γs' × P Γs Γs' a d'))

  
  A : Type
  P : list A → list A → A → A → Type
  a : A
  Γ : list A
  Γ' : list A
  d : A
  d' : A
  Γ0 : list A
  Γ'0 : list A
  Hrel : All2_fold P Γ0 Γ'0
  p : P Γ0 Γ'0 d d'
  ============================
   ({| pr1 := a :: Γ; pr2 := Γ' |} = {| pr1 := d :: Γ0; pr2 := d' :: Γ'0 |}
    → let H := CoreTactics.block in
      let H0 := CoreTactics.block in
      ∑ d' : A,
        nth_error Γ' 0 = Some d'
        × (let Γs := skipn 1 (a :: Γ) in
           let Γs' := skipn 1 Γ' in All2_fold P Γs Γs' × P Γs Γs' a d'))


DEBUG:Going to execute:
DepElim.simpl_dep_elim

Goals:
  
  A : Type
  P : list A → list A → A → A → Type
  a : A
  Γ : list A
  Γ' : list A
  ============================
   ({| pr1 := a :: Γ; pr2 := Γ' |} = {| pr1 := []; pr2 := [] |}
    → let H := CoreTactics.block in
      let H0 := CoreTactics.block in
      ∑ d' : A,
        nth_error Γ' 0 = Some d'
        × (let Γs := skipn 1 (a :: Γ) in
           let Γs' := skipn 1 Γ' in All2_fold P Γs Γs' × P Γs Γs' a d'))

  
  A : Type
  P : list A → list A → A → A → Type
  a : A
  Γ : list A
  Γ' : list A
  d : A
  d' : A
  Γ0 : list A
  Γ'0 : list A
  Hrel : All2_fold P Γ0 Γ'0
  p : P Γ0 Γ'0 d d'
  ============================
   ({| pr1 := a :: Γ; pr2 := Γ' |} = {| pr1 := d :: Γ0; pr2 := d' :: Γ'0 |}
    → let H := CoreTactics.block in
      let H0 := CoreTactics.block in
      ∑ d' : A,
        nth_error Γ' 0 = Some d'
        × (let Γs := skipn 1 (a :: Γ) in
           let Γs' := skipn 1 Γ' in All2_fold P Γs Γs' × P Γs Γs' a d'))


DEBUG:Going to execute:
DepElim.simplify_dep_elim; DepElim.simplify_IH_hyps;
            DepElim.unblock_dep_elim

Goals:
  
  A : Type
  P : list A → list A → A → A → Type
  a : A
  Γ : list A
  Γ' : list A
  ============================
   ({| pr1 := a :: Γ; pr2 := Γ' |} = {| pr1 := []; pr2 := [] |}
    → let H := CoreTactics.block in
      let H0 := CoreTactics.block in
      ∑ d' : A,
        nth_error Γ' 0 = Some d'
        × (let Γs := skipn 1 (a :: Γ) in
           let Γs' := skipn 1 Γ' in All2_fold P Γs Γs' × P Γs Γs' a d'))

  
  A : Type
  P : list A → list A → A → A → Type
  a : A
  Γ : list A
  Γ' : list A
  d : A
  d' : A
  Γ0 : list A
  Γ'0 : list A
  Hrel : All2_fold P Γ0 Γ'0
  p : P Γ0 Γ'0 d d'
  ============================
   ({| pr1 := a :: Γ; pr2 := Γ' |} = {| pr1 := d :: Γ0; pr2 := d' :: Γ'0 |}
    → let H := CoreTactics.block in
      let H0 := CoreTactics.block in
      ∑ d' : A,
        nth_error Γ' 0 = Some d'
        × (let Γs := skipn 1 (a :: Γ) in
           let Γs' := skipn 1 Γ' in All2_fold P Γs Γs' × P Γs Γs' a d'))


DEBUG:Going to execute:
DepElim.simplify_dep_elim; DepElim.simplify_IH_hyps

Goals:
  
  A : Type
  P : list A → list A → A → A → Type
  a : A
  Γ : list A
  Γ' : list A
  ============================
   ({| pr1 := a :: Γ; pr2 := Γ' |} = {| pr1 := []; pr2 := [] |}
    → let H := CoreTactics.block in
      let H0 := CoreTactics.block in
      ∑ d' : A,
        nth_error Γ' 0 = Some d'
        × (let Γs := skipn 1 (a :: Γ) in
           let Γs' := skipn 1 Γ' in All2_fold P Γs Γs' × P Γs Γs' a d'))

  
  A : Type
  P : list A → list A → A → A → Type
  a : A
  Γ : list A
  Γ' : list A
  d : A
  d' : A
  Γ0 : list A
  Γ'0 : list A
  Hrel : All2_fold P Γ0 Γ'0
  p : P Γ0 Γ'0 d d'
  ============================
   ({| pr1 := a :: Γ; pr2 := Γ' |} = {| pr1 := d :: Γ0; pr2 := d' :: Γ'0 |}
    → let H := CoreTactics.block in
      let H0 := CoreTactics.block in
      ∑ d' : A,
        nth_error Γ' 0 = Some d'
        × (let Γs := skipn 1 (a :: Γ) in
           let Γs' := skipn 1 Γ' in All2_fold P Γs Γs' × P Γs Γs' a d'))


DEBUG:Going to execute:
DepElim.simplify_dep_elim

Goals:
  
  A : Type
  P : list A → list A → A → A → Type
  a : A
  Γ : list A
  Γ' : list A
  ============================
   ({| pr1 := a :: Γ; pr2 := Γ' |} = {| pr1 := []; pr2 := [] |}
    → let H := CoreTactics.block in
      let H0 := CoreTactics.block in
      ∑ d' : A,
        nth_error Γ' 0 = Some d'
        × (let Γs := skipn 1 (a :: Γ) in
           let Γs' := skipn 1 Γ' in All2_fold P Γs Γs' × P Γs Γs' a d'))

  
  A : Type
  P : list A → list A → A → A → Type
  a : A
  Γ : list A
  Γ' : list A
  d : A
  d' : A
  Γ0 : list A
  Γ'0 : list A
  Hrel : All2_fold P Γ0 Γ'0
  p : P Γ0 Γ'0 d d'
  ============================
   ({| pr1 := a :: Γ; pr2 := Γ' |} = {| pr1 := d :: Γ0; pr2 := d' :: Γ'0 |}
    → let H := CoreTactics.block in
      let H0 := CoreTactics.block in
      ∑ d' : A,
        nth_error Γ' 0 = Some d'
        × (let Γs := skipn 1 (a :: Γ) in
           let Γs' := skipn 1 Γ' in All2_fold P Γs Γs' × P Γs Γs' a d'))


DEBUG:Going to execute:
repeat DepElim.simplify_one_dep_elim