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.introduce p;
              DepElim.elim_case p || destruct p || (case p; clear p)