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
  allq : All Q (a :: l)
  allq0 := {| pr1 := a :: l; pr2 := allq |}
        : sigma (fun index : list A => All Q index)
  allq1 := a :: l : list A
  allq2 := allq : (fun index : list A => All Q index) allq1
  ============================
   (let H := CoreTactics.block in let H0 := CoreTactics.block in Q a)


DEBUG:Going to execute:
red in (type of id'2)