Goal:
    A : Type  P : list A → A → Type  x : A  a1 : list A  a : All_fold P a1
  ============================
   ([x] = a1
    → let H := CoreTactics.block in let H0 := CoreTactics.block in P [] x)


DEBUG:Going to execute:
fun p => DepElim.elim_tac ltac:(fun p el => destruct p using el) p