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)
  h1 : list A
  h2 : (λ index : list A, All (P y) index) h1
  ============================
   (x :: xs = h1
    → let H := CoreTactics.block in
      let H0 := CoreTactics.block in All (P y) xs)


DEBUG:Going to execute:
clear id' id