author | nipkow |
Sun, 22 Feb 2009 09:52:49 +0100 | |
changeset 30048 | 6cf1fe60ac73 |
parent 30046 | 49f603f92c47 (current diff) |
parent 30047 | 46c88406e6c0 (diff) |
child 30051 | a416ed407f82 |
child 30052 | 410fefc247aa |
--- a/src/HOL/Extraction/Euclid.thy Sat Feb 21 16:51:42 2009 -0800 +++ b/src/HOL/Extraction/Euclid.thy Sun Feb 22 09:52:49 2009 +0100 @@ -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 dvd_diff) + with dvd have "p dvd ?k - n!" by (rule nat_dvd_diff) then have "p dvd 1" by simp with prime show False using prime_nd_one by auto qed