src/HOL/Binomial.thy
changeset 61738 c4f6031f1310
parent 61649 268d88ec9087
child 61799 4cf66f21b764
--- a/src/HOL/Binomial.thy	Sun Nov 22 23:19:43 2015 +0100
+++ b/src/HOL/Binomial.thy	Mon Nov 23 16:57:54 2015 +0000
@@ -842,7 +842,7 @@
 next
   case (Suc m)
   from Suc show ?case
-    by (simp add: algebra_simps distrib gbinomial_mult_1)
+    by (simp add: field_simps distrib gbinomial_mult_1)
 qed
 
 lemma binomial_symmetric:
@@ -1131,7 +1131,7 @@
 proof (induction m)
   case (Suc mm)
   hence "(\<Sum>k\<le>Suc mm. (r gchoose k) * (r / 2 - of_nat k)) = 
-             (r - of_nat (Suc mm)) * (r gchoose Suc mm) / 2" by (simp add: algebra_simps)
+             (r - of_nat (Suc mm)) * (r gchoose Suc mm) / 2" by (simp add: field_simps)
   also have "\<dots> = r * (r - 1 gchoose Suc mm) / 2" by (subst gbinomial_absorb_comp) (rule refl)
   also have "\<dots> = (of_nat (Suc mm) + 1) / 2 * (r gchoose (Suc mm + 1))"
     by (subst gbinomial_absorption [symmetric]) simp