Added global let-simplification rule.
authornipkow
Sun, 20 Feb 2000 09:32:06 +0100
changeset 8264 fffae6147cf7
parent 8263 699d4ad2ced3
child 8265 187cada50e19
Added global let-simplification rule.
src/HOL/Numeral.ML
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/HOL/Numeral.ML	Sun Feb 20 09:32:06 2000 +0100
@@ -0,0 +1,10 @@
+(*  Title:      HOL/Numeral.ML
+    ID:         $Id$
+    Author:     Tobias Nipkow
+*)
+
+(*Unfold all "let"s involving constants*)
+Goalw [Let_def] "Let (number_of v) f == f (number_of v)";
+by(Simp_tac 1);
+qed "Let_number_of";
+Addsimps [Let_number_of];