Goal:
  
  A : Type
  P : A → Prop
  Q : A → Prop
  p : A → bool
  l : list A
  HQ : Forall Q l
  Hp : ∀ x : A, Q x → reflect (P x) (p x)
  ============================
   (Forall P l → forallb p l = true)


DEBUG:Going to execute:
induction HQ

Goals:
  
  A : Type
  P : A → Prop
  Q : A → Prop
  p : A → bool
  Hp : ∀ x : A, Q x → reflect (P x) (p x)
  ============================
   (Forall P [] → forallb p [] = true)

  
  A : Type
  P : A → Prop
  Q : A → Prop
  p : A → bool
  x : A
  l : list A
  H : Q x
  HQ : Forall Q l
  Hp : ∀ x : A, Q x → reflect (P x) (p x)
  IHHQ : Forall P l → forallb p l = true
  ============================
   (Forall P (x :: l) → forallb p (x :: l) = true)


DEBUG:Going to execute:
intros HP
DEBUG LTAC Evaluated term: HQ

Goals:
  
  A : Type
  P : A → Prop
  Q : A → Prop
  p : A → bool
  Hp : ∀ x : A, Q x → reflect (P x) (p x)
  HP : Forall P []
  ============================
   (forallb p [] = true)

  
  A : Type
  P : A → Prop
  Q : A → Prop
  p : A → bool
  x : A
  l : list A
  H : Q x
  HQ : Forall Q l
  Hp : ∀ x : A, Q x → reflect (P x) (p x)
  IHHQ : Forall P l → forallb p l = true
  HP : Forall P (x :: l)
  ============================
   (forallb p (x :: l) = true)


DEBUG:Going to execute:
depelim HP

Goals:
  
  A : Type
  P : A → Prop
  Q : A → Prop
  p : A → bool
  Hp : ∀ x : A, Q x → reflect (P x) (p x)
  HP : Forall P []
  ============================
   (forallb p [] = true)

  
  A : Type
  P : A → Prop
  Q : A → Prop
  p : A → bool
  x : A
  l : list A
  H : Q x
  HQ : Forall Q l
  Hp : ∀ x : A, Q x → reflect (P x) (p x)
  IHHQ : Forall P l → forallb p l = true
  HP : Forall P (x :: l)
  ============================
   (forallb p (x :: l) = true)


DEBUG:Going to execute:
fun H => DepElim.depelim H

Goals:
  
  A : Type
  P : A → Prop
  Q : A → Prop
  p : A → bool
  Hp : ∀ x : A, Q x → reflect (P x) (p x)
  HP : Forall P []
  ============================
   (forallb p [] = true)

  
  A : Type
  P : A → Prop
  Q : A → Prop
  p : A → bool
  x : A
  l : list A
  H : Q x
  HQ : Forall Q l
  Hp : ∀ x : A, Q x → reflect (P x) (p x)
  IHHQ : Forall P l → forallb p l = true
  HP : Forall P (x :: l)
  ============================
   (forallb p (x :: l) = true)


DEBUG:Going to execute:
DepElim.depelim H

Goals:
  
  A : Type
  P : A → Prop
  Q : A → Prop
  p : A → bool
  Hp : ∀ x : A, Q x → reflect (P x) (p x)
  HP : Forall P []
  ============================
   (forallb p [] = true)

  
  A : Type
  P : A → Prop
  Q : A → Prop
  p : A → bool
  x : A
  l : list A
  H : Q x
  HQ : Forall Q l
  Hp : ∀ x : A, Q x → reflect (P x) (p x)
  IHHQ : Forall P l → forallb p l = true
  HP : Forall P (x :: l)
  ============================
   (forallb p (x :: l) = true)


DEBUG:Going to execute:
fun id =>
             DepElim.do_depelim ltac:(fun hyp => DepElim.do_case hyp) id

Goals:
  
  A : Type
  P : A → Prop
  Q : A → Prop
  p : A → bool
  Hp : ∀ x : A, Q x → reflect (P x) (p x)
  HP : Forall P []
  ============================
   (forallb p [] = true)

  
  A : Type
  P : A → Prop
  Q : A → Prop
  p : A → bool
  x : A
  l : list A
  H : Q x
  HQ : Forall Q l
  Hp : ∀ x : A, Q x → reflect (P x) (p x)
  IHHQ : Forall P l → forallb p l = true
  HP : Forall P (x :: l)
  ============================
   (forallb p (x :: l) = true)


DEBUG:Going to execute:
DepElim.do_depelim ltac:(fun hyp => DepElim.do_case hyp) id

Goals:
  
  A : Type
  P : A → Prop
  Q : A → Prop
  p : A → bool
  Hp : ∀ x : A, Q x → reflect (P x) (p x)
  HP : Forall P []
  ============================
   (forallb p [] = true)

  
  A : Type
  P : A → Prop
  Q : A → Prop
  p : A → bool
  x : A
  l : list A
  H : Q x
  HQ : Forall Q l
  Hp : ∀ x : A, Q x → reflect (P x) (p x)
  IHHQ : Forall P l → forallb p l = true
  HP : Forall P (x :: l)
  ============================
   (forallb p (x :: l) = true)


DEBUG:Going to execute:
fun tac H =>
             DepElim.do_depelim_nosimpl tac H; DepElim.simpl_dep_elim;
              CoreTactics.unblock_goal

Goals:
  
  A : Type
  P : A → Prop
  Q : A → Prop
  p : A → bool
  Hp : ∀ x : A, Q x → reflect (P x) (p x)
  HP : Forall P []
  ============================
   (forallb p [] = true)

  
  A : Type
  P : A → Prop
  Q : A → Prop
  p : A → bool
  x : A
  l : list A
  H : Q x
  HQ : Forall Q l
  Hp : ∀ x : A, Q x → reflect (P x) (p x)
  IHHQ : Forall P l → forallb p l = true
  HP : Forall P (x :: l)
  ============================
   (forallb p (x :: l) = true)


DEBUG:Going to execute:
fun hyp => DepElim.do_case hyp

Goals:
  
  A : Type
  P : A → Prop
  Q : A → Prop
  p : A → bool
  Hp : ∀ x : A, Q x → reflect (P x) (p x)
  HP : Forall P []
  ============================
   (forallb p [] = true)

  
  A : Type
  P : A → Prop
  Q : A → Prop
  p : A → bool
  x : A
  l : list A
  H : Q x
  HQ : Forall Q l
  Hp : ∀ x : A, Q x → reflect (P x) (p x)
  IHHQ : Forall P l → forallb p l = true
  HP : Forall P (x :: l)
  ============================
   (forallb p (x :: l) = true)


DEBUG:Going to execute:
DepElim.do_depelim_nosimpl tac H; DepElim.simpl_dep_elim;
            CoreTactics.unblock_goal

Goals:
  
  A : Type
  P : A → Prop
  Q : A → Prop
  p : A → bool
  Hp : ∀ x : A, Q x → reflect (P x) (p x)
  HP : Forall P []
  ============================
   (forallb p [] = true)

  
  A : Type
  P : A → Prop
  Q : A → Prop
  p : A → bool
  x : A
  l : list A
  H : Q x
  HQ : Forall Q l
  Hp : ∀ x : A, Q x → reflect (P x) (p x)
  IHHQ : Forall P l → forallb p l = true
  HP : Forall P (x :: l)
  ============================
   (forallb p (x :: l) = true)


DEBUG:Going to execute:
DepElim.do_depelim_nosimpl tac H; DepElim.simpl_dep_elim
Level 3: evaluation returns
DepElim.do_depelim_nosimpl tac H; DepElim.simpl_dep_elim;
 CoreTactics.unblock_goal
where
tac := fun hyp => DepElim.do_case hyp
       where
       id := HP
       of type
       ident
of type
tacvalue
H := HP
of type
ident of type tacvalue

Level 3: evaluation returns
DepElim.do_depelim_nosimpl tac H; DepElim.simpl_dep_elim;
 CoreTactics.unblock_goal
where
tac := fun hyp => DepElim.do_case hyp
       where
       id := HP
       of type
       ident
of type
tacvalue
H := HP
of type
ident of type tacvalue

Level 2: evaluation returns
DepElim.do_depelim_nosimpl tac H; DepElim.simpl_dep_elim;
 CoreTactics.unblock_goal
where
tac := fun hyp => DepElim.do_case hyp
       where
       id := HP
       of type
       ident
of type
tacvalue
H := HP
of type
ident of type tacvalue

Level 2: evaluation returns
DepElim.do_depelim_nosimpl tac H; DepElim.simpl_dep_elim;
 CoreTactics.unblock_goal
where
tac := fun hyp => DepElim.do_case hyp
       where
       id := HP
       of type
       ident
of type
tacvalue
H := HP
of type
ident of type tacvalue

Level 1: evaluation returns
DepElim.do_depelim_nosimpl tac H; DepElim.simpl_dep_elim;
 CoreTactics.unblock_goal
where
tac := fun hyp => DepElim.do_case hyp
       where
       id := HP
       of type
       ident
of type
tacvalue
H := HP
of type
ident of type tacvalue

Level 1: evaluation returns
DepElim.do_depelim_nosimpl tac H; DepElim.simpl_dep_elim;
 CoreTactics.unblock_goal
where
tac := fun hyp => DepElim.do_case hyp
       where
       id := HP
       of type
       ident
of type
tacvalue
H := HP
of type
ident of type tacvalue


Goals:
  
  A : Type
  P : A → Prop
  Q : A → Prop
  p : A → bool
  Hp : ∀ x : A, Q x → reflect (P x) (p x)
  HP : Forall P []
  ============================
   (forallb p [] = true)

  
  A : Type
  P : A → Prop
  Q : A → Prop
  p : A → bool
  x : A
  l : list A
  H : Q x
  HQ : Forall Q l
  Hp : ∀ x : A, Q x → reflect (P x) (p x)
  IHHQ : Forall P l → forallb p l = true
  HP : Forall P (x :: l)
  ============================
   (forallb p (x :: l) = true)


DEBUG:Going to execute:
DepElim.do_depelim_nosimpl tac H

Goals:
  
  A : Type
  P : A → Prop
  Q : A → Prop
  p : A → bool
  Hp : ∀ x : A, Q x → reflect (P x) (p x)
  HP : Forall P []
  ============================
   (forallb p [] = true)

  
  A : Type
  P : A → Prop
  Q : A → Prop
  p : A → bool
  x : A
  l : list A
  H : Q x
  HQ : Forall Q l
  Hp : ∀ x : A, Q x → reflect (P x) (p x)
  IHHQ : Forall P l → forallb p l = true
  HP : Forall P (x :: l)
  ============================
   (forallb p (x :: l) = true)


DEBUG:Going to execute:
fun tac H =>
             DepElim.do_intros H; DepElim.generalize_by_eqs H; tac H

Goals:
  
  A : Type
  P : A → Prop
  Q : A → Prop
  p : A → bool
  Hp : ∀ x : A, Q x → reflect (P x) (p x)
  HP : Forall P []
  ============================
   (forallb p [] = true)

  
  A : Type
  P : A → Prop
  Q : A → Prop
  p : A → bool
  x : A
  l : list A
  H : Q x
  HQ : Forall Q l
  Hp : ∀ x : A, Q x → reflect (P x) (p x)
  IHHQ : Forall P l → forallb p l = true
  HP : Forall P (x :: l)
  ============================
   (forallb p (x :: l) = true)


DEBUG:Going to execute:
DepElim.do_intros H; DepElim.generalize_by_eqs H; tac H

Goals:
  
  A : Type
  P : A → Prop
  Q : A → Prop
  p : A → bool
  Hp : ∀ x : A, Q x → reflect (P x) (p x)
  HP : Forall P []
  ============================
   (forallb p [] = true)

  
  A : Type
  P : A → Prop
  Q : A → Prop
  p : A → bool
  x : A
  l : list A
  H : Q x
  HQ : Forall Q l
  Hp : ∀ x : A, Q x → reflect (P x) (p x)
  IHHQ : Forall P l → forallb p l = true
  HP : Forall P (x :: l)
  ============================
   (forallb p (x :: l) = true)


DEBUG:Going to execute:
DepElim.do_intros H; DepElim.generalize_by_eqs H
Level 1: evaluation returns
DepElim.do_intros H; DepElim.generalize_by_eqs H; tac H
where
tac := fun hyp => DepElim.do_case hyp
       where
       id := HP
       of type
       ident
of type
tacvalue
H := HP
of type
ident of type tacvalue

Level 1: evaluation returns
DepElim.do_intros H; DepElim.generalize_by_eqs H; tac H
where
tac := fun hyp => DepElim.do_case hyp
       where
       id := HP
       of type
       ident
of type
tacvalue
H := HP
of type
ident of type tacvalue


Goals:
  
  A : Type
  P : A → Prop
  Q : A → Prop
  p : A → bool
  Hp : ∀ x : A, Q x → reflect (P x) (p x)
  HP : Forall P []
  ============================
   (forallb p [] = true)

  
  A : Type
  P : A → Prop
  Q : A → Prop
  p : A → bool
  x : A
  l : list A
  H : Q x
  HQ : Forall Q l
  Hp : ∀ x : A, Q x → reflect (P x) (p x)
  IHHQ : Forall P l → forallb p l = true
  HP : Forall P (x :: l)
  ============================
   (forallb p (x :: l) = true)


DEBUG:Going to execute:
DepElim.do_intros H

Goals:
  
  A : Type
  P : A → Prop
  Q : A → Prop
  p : A → bool
  Hp : ∀ x : A, Q x → reflect (P x) (p x)
  HP : Forall P []
  ============================
   (forallb p [] = true)

  
  A : Type
  P : A → Prop
  Q : A → Prop
  p : A → bool
  x : A
  l : list A
  H : Q x
  HQ : Forall Q l
  Hp : ∀ x : A, Q x → reflect (P x) (p x)
  IHHQ : Forall P l → forallb p l = true
  HP : Forall P (x :: l)
  ============================
   (forallb p (x :: l) = true)


DEBUG:Going to execute:
fun H =>
             try intros until H; intro_block_id H || intro_block H;
              (try simpl in H; DepElim.simplify_equations_in H)

Goals:
  
  A : Type
  P : A → Prop
  Q : A → Prop
  p : A → bool
  Hp : ∀ x : A, Q x → reflect (P x) (p x)
  HP : Forall P []
  ============================
   (forallb p [] = true)

  
  A : Type
  P : A → Prop
  Q : A → Prop
  p : A → bool
  x : A
  l : list A
  H : Q x
  HQ : Forall Q l
  Hp : ∀ x : A, Q x → reflect (P x) (p x)
  IHHQ : Forall P l → forallb p l = true
  HP : Forall P (x :: l)
  ============================
   (forallb p (x :: l) = true)


DEBUG:Going to execute:
try intros until H; intro_block_id H || intro_block H;
            (try simpl in H; DepElim.simplify_equations_in H)

Goals:
  
  A : Type
  P : A → Prop
  Q : A → Prop
  p : A → bool
  Hp : ∀ x : A, Q x → reflect (P x) (p x)
  HP : Forall P []
  ============================
   (forallb p [] = true)

  
  A : Type
  P : A → Prop
  Q : A → Prop
  p : A → bool
  x : A
  l : list A
  H : Q x
  HQ : Forall Q l
  Hp : ∀ x : A, Q x → reflect (P x) (p x)
  IHHQ : Forall P l → forallb p l = true
  HP : Forall P (x :: l)
  ============================
   (forallb p (x :: l) = true)


DEBUG:Going to execute:
try intros until H; intro_block_id H || intro_block H
Level 1: evaluation returns
try intros until H; intro_block_id H || intro_block H;
 (try simpl in H; DepElim.simplify_equations_in H)
where
H := HP
of type
ident of type tacvalue

Level 1: evaluation returns
try intros until H; intro_block_id H || intro_block H;
 (try simpl in H; DepElim.simplify_equations_in H)
where
H := HP
of type
ident of type tacvalue


Goals:
  
  A : Type
  P : A → Prop
  Q : A → Prop
  p : A → bool
  Hp : ∀ x : A, Q x → reflect (P x) (p x)
  HP : Forall P []
  ============================
   (forallb p [] = true)

  
  A : Type
  P : A → Prop
  Q : A → Prop
  p : A → bool
  x : A
  l : list A
  H : Q x
  HQ : Forall Q l
  Hp : ∀ x : A, Q x → reflect (P x) (p x)
  IHHQ : Forall P l → forallb p l = true
  HP : Forall P (x :: l)
  ============================
   (forallb p (x :: l) = true)


DEBUG:Going to execute:
try intros until H