adapted to strict pattern discipline
authorhaftmann
Wed, 29 Oct 2008 15:32:58 +0100
changeset 28709 6a5d214aaa82
parent 28708 a1a436f09ec6
child 28710 e2064974c114
adapted to strict pattern discipline
src/HOL/ex/NormalForm.thy
--- a/src/HOL/ex/NormalForm.thy	Wed Oct 29 11:33:40 2008 +0100
+++ b/src/HOL/ex/NormalForm.thy	Wed Oct 29 15:32:58 2008 +0100
@@ -34,7 +34,7 @@
   "add2 (S m) n = S(add2 m n)"
 
 declare add2.simps [code]
-lemma [code]: "add2 (add2 n m) k = add2 n (add2 m k)"
+lemma [code nbe]: "add2 (add2 n m) k = add2 n (add2 m k)"
   by (induct n) auto
 lemma [code]: "add2 n (S m) =  S (add2 n m)"
   by(induct n) auto