Used 2 instead of Suc(Suc 0)
authorpaulson
Mon, 03 Jun 1996 11:41:26 +0200
changeset 1783 173ce86b4c22
parent 1782 ab45b881fa62
child 1784 036a7f301623
Used 2 instead of Suc(Suc 0)
src/HOL/ex/NatSum.ML
--- a/src/HOL/ex/NatSum.ML	Mon Jun 03 11:41:00 1996 +0200
+++ b/src/HOL/ex/NatSum.ML	Mon Jun 03 11:41:26 1996 +0200
@@ -9,7 +9,7 @@
 Addsimps ([NatSum.sum_0,NatSum.sum_Suc] @ add_ac);
 
 (*The sum of the first n positive integers equals n(n+1)/2.*)
-goal NatSum.thy "Suc(Suc(0))*sum (%i.i) (Suc n) = n*Suc(n)";
+goal NatSum.thy "2*sum (%i.i) (Suc n) = n*Suc(n)";
 by (Simp_tac 1);
 by (nat_ind_tac "n" 1);
 by (Simp_tac 1);