clarified context;
authorwenzelm
Fri, 06 Mar 2015 23:44:51 +0100
changeset 59631 34030d67afb9
parent 59630 c9aa1c90796f
child 59632 5980e75a204e
clarified context;
src/HOL/String.thy
--- a/src/HOL/String.thy	Fri Mar 06 23:38:59 2015 +0100
+++ b/src/HOL/String.thy	Fri Mar 06 23:44:51 2015 +0100
@@ -248,7 +248,7 @@
 
 setup {*
 let
-  val nibbles = map_range (Thm.global_cterm_of @{theory} o HOLogic.mk_nibble) 16;
+  val nibbles = map_range (Thm.cterm_of @{context} o HOLogic.mk_nibble) 16;
   val simpset =
     put_simpset HOL_ss @{context}
       addsimps @{thms nat_of_nibble.simps mult_0 mult_1 add_0 add_0_right arith_simps numeral_plus_one};