src/HOL/ex/Summation.thy
changeset 36808 cbeb3484fa07
parent 35732 3b17dff14c4f
child 36811 4ab4aa5bee1c
--- a/src/HOL/ex/Summation.thy	Mon May 10 15:33:32 2010 +0200
+++ b/src/HOL/ex/Summation.thy	Tue May 11 08:29:42 2010 +0200
@@ -42,7 +42,7 @@
   proof -
     fix k
     show "f k - g k = f 0 - g 0"
-      by (induct k rule: int_induct) (simp_all add: k_incr k_decr)
+      by (induct k rule: int_bidirectional_induct) (simp_all add: k_incr k_decr)
   qed
   then have "\<And>k. (plus (g 0 - f 0) \<circ> f) k = g k"
     by (simp add: algebra_simps)