Goal:
  
  T : Type -> Type
  M : Monad T
  A : Type
  P : A -> Type
  Q : A -> Type
  f : forall x : A, ∥ Q x ∥ -> T (∥ P x ∥)
  l0 : list A
  a : A
  l : list A
  allq1 : list A
  allq : All Q allq1
  ============================
   (a :: l = allq1 ->
    let H := CoreTactics.block in let H0 := CoreTactics.block in Q a)


DEBUG:Going to execute:
destruct p

Goals:
  
  T : Type -> Type
  M : Monad T
  A : Type
  P : A -> Type
  Q : A -> Type
  f : forall x : A, ∥ Q x ∥ -> T (∥ P x ∥)
  l0 : list A
  a : A
  l : list A
  ============================
   (a :: l = [] ->
    let H := CoreTactics.block in let H0 := CoreTactics.block in Q a)

  
  T : Type -> Type
  M : Monad T
  A : Type
  P : A -> Type
  Q : A -> Type
  f : forall x : A, ∥ Q x ∥ -> T (∥ P x ∥)
  l0 : list A
  a : A
  l : list A
  x : A
  l1 : list A
  q : Q x
  allq : All Q l1
  ============================
   (a :: l = x :: l1 ->
    let H := CoreTactics.block in let H0 := CoreTactics.block in Q a)


DEBUG:Going to execute:
DepElim.simpl_dep_elim

Goals:
  
  T : Type -> Type
  M : Monad T
  A : Type
  P : A -> Type
  Q : A -> Type
  f : forall x : A, ∥ Q x ∥ -> T (∥ P x ∥)
  l0 : list A
  a : A
  l : list A
  ============================
   (a :: l = [] ->
    let H := CoreTactics.block in let H0 := CoreTactics.block in Q a)

  
  T : Type -> Type
  M : Monad T
  A : Type
  P : A -> Type
  Q : A -> Type
  f : forall x : A, ∥ Q x ∥ -> T (∥ P x ∥)
  l0 : list A
  a : A
  l : list A
  x : A
  l1 : list A
  q : Q x
  allq : All Q l1
  ============================
   (a :: l = x :: l1 ->
    let H := CoreTactics.block in let H0 := CoreTactics.block in Q a)


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

Goals:
  
  T : Type -> Type
  M : Monad T
  A : Type
  P : A -> Type
  Q : A -> Type
  f : forall x : A, ∥ Q x ∥ -> T (∥ P x ∥)
  l0 : list A
  a : A
  l : list A
  ============================
   (a :: l = [] ->
    let H := CoreTactics.block in let H0 := CoreTactics.block in Q a)

  
  T : Type -> Type
  M : Monad T
  A : Type
  P : A -> Type
  Q : A -> Type
  f : forall x : A, ∥ Q x ∥ -> T (∥ P x ∥)
  l0 : list A
  a : A
  l : list A
  x : A
  l1 : list A
  q : Q x
  allq : All Q l1
  ============================
   (a :: l = x :: l1 ->
    let H := CoreTactics.block in let H0 := CoreTactics.block in Q a)


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

Goals:
  
  T : Type -> Type
  M : Monad T
  A : Type
  P : A -> Type
  Q : A -> Type
  f : forall x : A, ∥ Q x ∥ -> T (∥ P x ∥)
  l0 : list A
  a : A
  l : list A
  ============================
   (a :: l = [] ->
    let H := CoreTactics.block in let H0 := CoreTactics.block in Q a)

  
  T : Type -> Type
  M : Monad T
  A : Type
  P : A -> Type
  Q : A -> Type
  f : forall x : A, ∥ Q x ∥ -> T (∥ P x ∥)
  l0 : list A
  a : A
  l : list A
  x : A
  l1 : list A
  q : Q x
  allq : All Q l1
  ============================
   (a :: l = x :: l1 ->
    let H := CoreTactics.block in let H0 := CoreTactics.block in Q a)


DEBUG:Going to execute:
DepElim.simplify_dep_elim

Goals:
  
  T : Type -> Type
  M : Monad T
  A : Type
  P : A -> Type
  Q : A -> Type
  f : forall x : A, ∥ Q x ∥ -> T (∥ P x ∥)
  l0 : list A
  a : A
  l : list A
  ============================
   (a :: l = [] ->
    let H := CoreTactics.block in let H0 := CoreTactics.block in Q a)

  
  T : Type -> Type
  M : Monad T
  A : Type
  P : A -> Type
  Q : A -> Type
  f : forall x : A, ∥ Q x ∥ -> T (∥ P x ∥)
  l0 : list A
  a : A
  l : list A
  x : A
  l1 : list A
  q : Q x
  allq : All Q l1
  ============================
   (a :: l = x :: l1 ->
    let H := CoreTactics.block in let H0 := CoreTactics.block in Q a)


DEBUG:Going to execute:
repeat DepElim.simplify_one_dep_elim