added "numerals" theorems;
authorwenzelm
Thu, 01 Feb 2001 20:43:41 +0100
changeset 11018 71d624788ce2
parent 11017 241cbdf4134e
child 11019 e968e5bfe98d
added "numerals" theorems;
src/HOL/Integ/nat_bin.ML
--- a/src/HOL/Integ/nat_bin.ML	Thu Feb 01 20:43:14 2001 +0100
+++ b/src/HOL/Integ/nat_bin.ML	Thu Feb 01 20:43:41 2001 +0100
@@ -290,8 +290,8 @@
 fun rename_numerals th = simplify numeral_sym_ss (Thm.transfer (the_context ()) th);
 
 (*Maps #n to n for n = 0, 1, 2*)
-val numeral_ss = 
-    simpset() addsimps [numeral_0_eq_0, numeral_1_eq_1, numeral_2_eq_2];
+bind_thms ("numerals", [numeral_0_eq_0, numeral_1_eq_1, numeral_2_eq_2]);
+val numeral_ss = simpset() addsimps numerals;
 
 (** Nat **)