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 P y x)


DEBUG:Going to execute:
<coq-core.plugins.ltac::clear@0> $1