Goal:
  
  A : Type
  B : Type
  C : Type
  Q : C → Type
  P : C → A → Prop
  x : A
  xs : list A
  y : C
  X : Q y
  h : All (P y) (x :: xs)
  h0 := {| pr1 := x :: xs; pr2 := h |}
     : sigma (λ index : list A, All (P y) index)
  ============================
   (let H := CoreTactics.block in let H0 := CoreTactics.block in All (P y) xs)


DEBUG:Going to execute:
set (id'2 := pr2 id')