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:
first
[ match p with
  | _ => generalize dependent p; intros p
  end
| intros
until
p
| intros
until
1
| intros ]