fixed proof (cf. 40501bb2d57c);
authorwenzelm
Tue, 07 Jul 2009 20:16:06 +0200
changeset 31953 eeb8a300f362
parent 31952 40501bb2d57c
child 31955 56c134c6c5d8
fixed proof (cf. 40501bb2d57c);
src/HOL/Extraction/Euclid.thy
--- a/src/HOL/Extraction/Euclid.thy	Tue Jul 07 17:39:51 2009 +0200
+++ b/src/HOL/Extraction/Euclid.thy	Tue Jul 07 20:16:06 2009 +0200
@@ -189,7 +189,7 @@
       assume pn: "p \<le> n"
       from `prime p` have "0 < p" by (rule prime_g_zero)
       then have "p dvd n!" using pn by (rule dvd_factorial)
-      with dvd have "p dvd ?k - n!" by (rule nat_dvd_diff)
+      with dvd have "p dvd ?k - n!" by (rule dvd_diff_nat)
       then have "p dvd 1" by simp
       with prime show False using prime_nd_one by auto
     qed