Goal:
    A : Type  P : A → Type  a : A  X1 : list A  X : All P X1
  ============================
   ([a] = X1
    → let H := CoreTactics.block in let H0 := CoreTactics.block in P a)


DEBUG:Going to execute:
fun id id' =>
             hnf in id;
              match type of id with
              | sigma _ =>
                  let xn := fresh id "'" in
                  destruct id as [xn id]; DepElim.decompose_exists xn id;
                   cbv beta iota delta [TODO projection TODO projection]
                    in id, id'; DepElim.decompose_exists id id'
              | _ =>
                  cbv beta iota delta [TODO projection TODO projection]
                   in id, id'
              end