src/HOL/Bali/Example.thy
changeset 24019 67bde7cfcf10
parent 22708 fff918feff45
child 26342 0f65fa163304
--- a/src/HOL/Bali/Example.thy	Sat Jul 28 20:40:20 2007 +0200
+++ b/src/HOL/Bali/Example.thy	Sat Jul 28 20:40:22 2007 +0200
@@ -894,7 +894,7 @@
 
 declare member_is_static_simp [simp]
 declare wt.Skip [rule del] wt.Init [rule del]
-ML {* bind_thms ("wt_intros",map (rewrite_rule [id_def]) (thms "wt.intros")) *}
+ML_setup {* bind_thms ("wt_intros", map (rewrite_rule @{thms id_def}) @{thms wt.intros}) *}
 lemmas wtIs = wt_Call wt_Super wt_FVar wt_StatRef wt_intros
 lemmas daIs = assigned.select_convs da_Skip da_NewC da_Lit da_Super da.intros
 
@@ -1192,10 +1192,10 @@
 declare BaseCl_def [simp] ExtCl_def [simp] Ext_foo_def [simp]
         Base_foo_defs  [simp]
 
-ML {* bind_thms ("eval_intros", map 
-        (simplify (simpset() delsimps [thm "Skip_eq"]
-                             addsimps [thm "lvar_def"]) o 
-         rewrite_rule [thm "assign_def",Let_def]) (thms "eval.intros")) *}
+ML_setup {* bind_thms ("eval_intros", map 
+        (simplify (simpset() delsimps @{thms Skip_eq}
+                             addsimps @{thms lvar_def}) o 
+         rewrite_rule [@{thm assign_def}, @{thm Let_def}]) @{thms eval.intros}) *}
 lemmas eval_Is = eval_Init eval_StatRef AbruptIs eval_intros
 
 consts