src/HOL/Nat.thy
changeset 25563 cab4f808f791
parent 25559 f14305fb698c
child 25571 c9e39eafc7a0
--- a/src/HOL/Nat.thy	Thu Dec 06 16:56:00 2007 +0100
+++ b/src/HOL/Nat.thy	Thu Dec 06 17:05:44 2007 +0100
@@ -1162,6 +1162,7 @@
 where
   of_nat_0:     "of_nat 0 = 0"
   | of_nat_Suc: "of_nat (Suc m) = 1 + of_nat m"
+declare of_nat.simps [code]
 
 lemma of_nat_1 [simp]: "of_nat 1 = 1"
   by simp