Goal:
  
  A : Type
  P : list A → A → Type
  a : A
  Γ : list A
  Δ : list A
  IHΓ : ∀ Δ : list A,
          All_fold P (Γ ++ Δ)
          → All_fold P Δ × All_fold (λ Γ : list A, P (Γ ++ Δ)) Γ
  X1 : list A
  X : All_fold P X1
  ============================
   (a :: Γ ++ Δ = X1
    → let H := CoreTactics.block in
      let H0 := CoreTactics.block in
      All_fold (λ Γ : list A, P (Γ ++ Δ)) (a :: Γ))


DEBUG:Going to execute:
destruct p

Goals:
  
  A : Type
  P : list A → A → Type
  a : A
  Γ : list A
  Δ : list A
  IHΓ : ∀ Δ : list A,
          All_fold P (Γ ++ Δ)
          → All_fold P Δ × All_fold (λ Γ : list A, P (Γ ++ Δ)) Γ
  ============================
   (a :: Γ ++ Δ = []
    → let H := CoreTactics.block in
      let H0 := CoreTactics.block in
      All_fold (λ Γ : list A, P (Γ ++ Δ)) (a :: Γ))

  
  A : Type
  P : list A → A → Type
  a : A
  Γ : list A
  Δ : list A
  IHΓ : ∀ Δ : list A,
          All_fold P (Γ ++ Δ)
          → All_fold P Δ × All_fold (λ Γ : list A, P (Γ ++ Δ)) Γ
  d : A
  Γ0 : list A
  X : All_fold P Γ0
  p : P Γ0 d
  ============================
   (a :: Γ ++ Δ = d :: Γ0
    → let H := CoreTactics.block in
      let H0 := CoreTactics.block in
      All_fold (λ Γ : list A, P (Γ ++ Δ)) (a :: Γ))


DEBUG:Going to execute:
DepElim.simpl_dep_elim

Goals:
  
  A : Type
  P : list A → A → Type
  a : A
  Γ : list A
  Δ : list A
  IHΓ : ∀ Δ : list A,
          All_fold P (Γ ++ Δ)
          → All_fold P Δ × All_fold (λ Γ : list A, P (Γ ++ Δ)) Γ
  ============================
   (a :: Γ ++ Δ = []
    → let H := CoreTactics.block in
      let H0 := CoreTactics.block in
      All_fold (λ Γ : list A, P (Γ ++ Δ)) (a :: Γ))

  
  A : Type
  P : list A → A → Type
  a : A
  Γ : list A
  Δ : list A
  IHΓ : ∀ Δ : list A,
          All_fold P (Γ ++ Δ)
          → All_fold P Δ × All_fold (λ Γ : list A, P (Γ ++ Δ)) Γ
  d : A
  Γ0 : list A
  X : All_fold P Γ0
  p : P Γ0 d
  ============================
   (a :: Γ ++ Δ = d :: Γ0
    → let H := CoreTactics.block in
      let H0 := CoreTactics.block in
      All_fold (λ Γ : list A, P (Γ ++ Δ)) (a :: Γ))


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

Goals:
  
  A : Type
  P : list A → A → Type
  a : A
  Γ : list A
  Δ : list A
  IHΓ : ∀ Δ : list A,
          All_fold P (Γ ++ Δ)
          → All_fold P Δ × All_fold (λ Γ : list A, P (Γ ++ Δ)) Γ
  ============================
   (a :: Γ ++ Δ = []
    → let H := CoreTactics.block in
      let H0 := CoreTactics.block in
      All_fold (λ Γ : list A, P (Γ ++ Δ)) (a :: Γ))

  
  A : Type
  P : list A → A → Type
  a : A
  Γ : list A
  Δ : list A
  IHΓ : ∀ Δ : list A,
          All_fold P (Γ ++ Δ)
          → All_fold P Δ × All_fold (λ Γ : list A, P (Γ ++ Δ)) Γ
  d : A
  Γ0 : list A
  X : All_fold P Γ0
  p : P Γ0 d
  ============================
   (a :: Γ ++ Δ = d :: Γ0
    → let H := CoreTactics.block in
      let H0 := CoreTactics.block in
      All_fold (λ Γ : list A, P (Γ ++ Δ)) (a :: Γ))


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

Goals:
  
  A : Type
  P : list A → A → Type
  a : A
  Γ : list A
  Δ : list A
  IHΓ : ∀ Δ : list A,
          All_fold P (Γ ++ Δ)
          → All_fold P Δ × All_fold (λ Γ : list A, P (Γ ++ Δ)) Γ
  ============================
   (a :: Γ ++ Δ = []
    → let H := CoreTactics.block in
      let H0 := CoreTactics.block in
      All_fold (λ Γ : list A, P (Γ ++ Δ)) (a :: Γ))

  
  A : Type
  P : list A → A → Type
  a : A
  Γ : list A
  Δ : list A
  IHΓ : ∀ Δ : list A,
          All_fold P (Γ ++ Δ)
          → All_fold P Δ × All_fold (λ Γ : list A, P (Γ ++ Δ)) Γ
  d : A
  Γ0 : list A
  X : All_fold P Γ0
  p : P Γ0 d
  ============================
   (a :: Γ ++ Δ = d :: Γ0
    → let H := CoreTactics.block in
      let H0 := CoreTactics.block in
      All_fold (λ Γ : list A, P (Γ ++ Δ)) (a :: Γ))


DEBUG:Going to execute:
DepElim.simplify_dep_elim

Goals:
  
  A : Type
  P : list A → A → Type
  a : A
  Γ : list A
  Δ : list A
  IHΓ : ∀ Δ : list A,
          All_fold P (Γ ++ Δ)
          → All_fold P Δ × All_fold (λ Γ : list A, P (Γ ++ Δ)) Γ
  ============================
   (a :: Γ ++ Δ = []
    → let H := CoreTactics.block in
      let H0 := CoreTactics.block in
      All_fold (λ Γ : list A, P (Γ ++ Δ)) (a :: Γ))

  
  A : Type
  P : list A → A → Type
  a : A
  Γ : list A
  Δ : list A
  IHΓ : ∀ Δ : list A,
          All_fold P (Γ ++ Δ)
          → All_fold P Δ × All_fold (λ Γ : list A, P (Γ ++ Δ)) Γ
  d : A
  Γ0 : list A
  X : All_fold P Γ0
  p : P Γ0 d
  ============================
   (a :: Γ ++ Δ = d :: Γ0
    → let H := CoreTactics.block in
      let H0 := CoreTactics.block in
      All_fold (λ Γ : list A, P (Γ ++ Δ)) (a :: Γ))


DEBUG:Going to execute:
repeat DepElim.simplify_one_dep_elim