Goal:
  
  T : Type -> Type
  M : Monad T
  A : Type
  P : nat -> A -> Type
  Q : A -> Type
  f : forall (n : nat) (x : A), ∥ Q x ∥ -> T (∥ P n x ∥)
  n : nat
  a : A
  l : list A
  X : P n a
  allq : All Q (a :: l)
  allq0 := {| pr1 := a :: l; pr2 := allq |}
        : sigma (fun index : list A => All Q index)
  allq1 := pr1 allq0 : list A
  allq2 := pr2 allq0 : (fun index : list A => All Q index) allq1
  ============================
   (let H := CoreTactics.block in let H0 := CoreTactics.block in All Q l)


DEBUG:Going to execute:
hnf in (value of id'1), (value of id'2)
DEBUG LTAC Evaluated term: (pr1 allq0)