src/HOL/Orderings.thy
changeset 26496 49ae9456eba9
parent 26324 456f726a11e4
child 26796 c554b77061e5
--- a/src/HOL/Orderings.thy	Sat Mar 29 19:24:57 2008 +0100
+++ b/src/HOL/Orderings.thy	Sat Mar 29 22:55:49 2008 +0100
@@ -516,12 +516,12 @@
   handle THM _ => NONE;
 
 fun add_simprocs procs thy =
-  (Simplifier.change_simpset_of thy (fn ss => ss
+  Simplifier.map_simpset (fn ss => ss
     addsimprocs (map (fn (name, raw_ts, proc) =>
-      Simplifier.simproc thy name raw_ts proc)) procs); thy);
-fun add_solver name tac thy =
-  (Simplifier.change_simpset_of thy (fn ss => ss addSolver
-    (mk_solver' name (fn ss => tac (MetaSimplifier.prems_of_ss ss) (MetaSimplifier.the_context ss)))); thy);
+      Simplifier.simproc thy name raw_ts proc) procs)) thy;
+fun add_solver name tac =
+  Simplifier.map_simpset (fn ss => ss addSolver
+    mk_solver' name (fn ss => tac (Simplifier.prems_of_ss ss) (Simplifier.the_context ss)));
 
 in
   add_simprocs [