Goal:
  
  A : Type
  R1 : A → A → Type
  R2 : A → Type
  R3 : A → Type
  hd : A
  hd' : A
  tl : list A
  p : R1 hd hd'
  H1 : list A
  H : All R2 H1
  ============================
   (hd :: tl = H1
    → let H := CoreTactics.block in
      let H0 := CoreTactics.block in
      (∀ x : A, R2 x → R3 x)
      → (∀ x y : A, R1 x y → R2 x → R3 y) → All R3 (hd' :: tl))


DEBUG:Going to execute:
destruct p

Goals:
  
  A : Type
  R1 : A → A → Type
  R2 : A → Type
  R3 : A → Type
  hd : A
  hd' : A
  tl : list A
  p : R1 hd hd'
  ============================
   (hd :: tl = []
    → let H := CoreTactics.block in
      let H0 := CoreTactics.block in
      (∀ x : A, R2 x → R3 x)
      → (∀ x y : A, R1 x y → R2 x → R3 y) → All R3 (hd' :: tl))

  
  A : Type
  R1 : A → A → Type
  R2 : A → Type
  R3 : A → Type
  hd : A
  hd' : A
  tl : list A
  p : R1 hd hd'
  x : A
  l : list A
  r : R2 x
  H : All R2 l
  ============================
   (hd :: tl = x :: l
    → let H := CoreTactics.block in
      let H0 := CoreTactics.block in
      (∀ x : A, R2 x → R3 x)
      → (∀ x y : A, R1 x y → R2 x → R3 y) → All R3 (hd' :: tl))


DEBUG:Going to execute:
DepElim.simpl_dep_elim

Goals:
  
  A : Type
  R1 : A → A → Type
  R2 : A → Type
  R3 : A → Type
  hd : A
  hd' : A
  tl : list A
  p : R1 hd hd'
  ============================
   (hd :: tl = []
    → let H := CoreTactics.block in
      let H0 := CoreTactics.block in
      (∀ x : A, R2 x → R3 x)
      → (∀ x y : A, R1 x y → R2 x → R3 y) → All R3 (hd' :: tl))

  
  A : Type
  R1 : A → A → Type
  R2 : A → Type
  R3 : A → Type
  hd : A
  hd' : A
  tl : list A
  p : R1 hd hd'
  x : A
  l : list A
  r : R2 x
  H : All R2 l
  ============================
   (hd :: tl = x :: l
    → let H := CoreTactics.block in
      let H0 := CoreTactics.block in
      (∀ x : A, R2 x → R3 x)
      → (∀ x y : A, R1 x y → R2 x → R3 y) → All R3 (hd' :: tl))


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

Goals:
  
  A : Type
  R1 : A → A → Type
  R2 : A → Type
  R3 : A → Type
  hd : A
  hd' : A
  tl : list A
  p : R1 hd hd'
  ============================
   (hd :: tl = []
    → let H := CoreTactics.block in
      let H0 := CoreTactics.block in
      (∀ x : A, R2 x → R3 x)
      → (∀ x y : A, R1 x y → R2 x → R3 y) → All R3 (hd' :: tl))

  
  A : Type
  R1 : A → A → Type
  R2 : A → Type
  R3 : A → Type
  hd : A
  hd' : A
  tl : list A
  p : R1 hd hd'
  x : A
  l : list A
  r : R2 x
  H : All R2 l
  ============================
   (hd :: tl = x :: l
    → let H := CoreTactics.block in
      let H0 := CoreTactics.block in
      (∀ x : A, R2 x → R3 x)
      → (∀ x y : A, R1 x y → R2 x → R3 y) → All R3 (hd' :: tl))


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

Goals:
  
  A : Type
  R1 : A → A → Type
  R2 : A → Type
  R3 : A → Type
  hd : A
  hd' : A
  tl : list A
  p : R1 hd hd'
  ============================
   (hd :: tl = []
    → let H := CoreTactics.block in
      let H0 := CoreTactics.block in
      (∀ x : A, R2 x → R3 x)
      → (∀ x y : A, R1 x y → R2 x → R3 y) → All R3 (hd' :: tl))

  
  A : Type
  R1 : A → A → Type
  R2 : A → Type
  R3 : A → Type
  hd : A
  hd' : A
  tl : list A
  p : R1 hd hd'
  x : A
  l : list A
  r : R2 x
  H : All R2 l
  ============================
   (hd :: tl = x :: l
    → let H := CoreTactics.block in
      let H0 := CoreTactics.block in
      (∀ x : A, R2 x → R3 x)
      → (∀ x y : A, R1 x y → R2 x → R3 y) → All R3 (hd' :: tl))


DEBUG:Going to execute:
DepElim.simplify_dep_elim

Goals:
  
  A : Type
  R1 : A → A → Type
  R2 : A → Type
  R3 : A → Type
  hd : A
  hd' : A
  tl : list A
  p : R1 hd hd'
  ============================
   (hd :: tl = []
    → let H := CoreTactics.block in
      let H0 := CoreTactics.block in
      (∀ x : A, R2 x → R3 x)
      → (∀ x y : A, R1 x y → R2 x → R3 y) → All R3 (hd' :: tl))

  
  A : Type
  R1 : A → A → Type
  R2 : A → Type
  R3 : A → Type
  hd : A
  hd' : A
  tl : list A
  p : R1 hd hd'
  x : A
  l : list A
  r : R2 x
  H : All R2 l
  ============================
   (hd :: tl = x :: l
    → let H := CoreTactics.block in
      let H0 := CoreTactics.block in
      (∀ x : A, R2 x → R3 x)
      → (∀ x y : A, R1 x y → R2 x → R3 y) → All R3 (hd' :: tl))


DEBUG:Going to execute:
repeat DepElim.simplify_one_dep_elim