src/FOLP/simp.ML
changeset 19925 3f9341831812
parent 19876 11d447d5d68c
child 20194 c9dbce9a23a1
--- a/src/FOLP/simp.ML	Mon Jun 19 19:56:32 2006 +0200
+++ b/src/FOLP/simp.ML	Mon Jun 19 20:21:30 2006 +0200
@@ -221,8 +221,9 @@
     in add_norms(congs,ccs,new_asms) end;
 
 fun normed_rews congs =
-  let val add_norms = add_norm_tags congs;
-  in fn thm => map (varifyT o add_norms o mk_trans) (mk_rew_rules(Thm.freezeT thm))
+  let val add_norms = add_norm_tags congs in
+    fn thm => Variable.tradeT (Variable.thm_context thm)
+      (map (add_norms o mk_trans) o maps mk_rew_rules) [thm]
   end;
 
 fun NORM norm_lhs_tac = EVERY'[rtac red2 , norm_lhs_tac, refl_tac];