Goal:
  
  A : Type
  P : A → Type
  a : A
  X : All P [a]
  X0 := {| pr1 := [a]; pr2 := X |} : sigma (λ index : list A, All P index)
  ============================
   (let H := CoreTactics.block in let H0 := CoreTactics.block in P a)


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