
diff -r 430d74089d4d -r 93c6f0da5c70 src/HOL/GCD.thy
--- a/src/HOL/GCD.thy	Sun Oct 16 09:31:04 2016 +0200
+++ b/src/HOL/GCD.thy	Sun Oct 16 09:31:05 2016 +0200
@@ -1920,7 +1920,7 @@
     apply (simp add: bezw_non_0 gcd_non_0_nat)
     apply (erule subst)
     apply (simp add: field_simps)
-    apply (subst mod_div_equality [of m n, symmetric])
+    apply (subst div_mult_mod_eq [of m n, symmetric])
       (* applying simp here undoes the last substitution! what is procedure cancel_div_mod? *)
     apply (simp only: NO_MATCH_def field_simps of_nat_add of_nat_mult)
     done




