src/Pure/thm.ML
changeset 5494 2df1a9d43e3c
parent 5344 6a949382cdfe
child 5623 75b513db9a3a
--- a/src/Pure/thm.ML	Wed Sep 16 10:28:54 1998 +0200
+++ b/src/Pure/thm.ML	Fri Sep 18 14:32:49 1998 +0200
@@ -1749,11 +1749,14 @@
 
 fun add_proc (mss as Mss {rules,congs,procs,bounds,prems,mk_rews,termless},
     (name, lhs as Cterm {sign_ref, t, ...}, proc, id)) =
-  (trace_term false ("Adding simplification procedure " ^ quote name ^ " for:")
+  (trace_term false ("Adding simplification procedure " ^ quote name ^ " for")
       (Sign.deref sign_ref) t;
     mk_mss (rules, congs,
       Net.insert_term ((t, mk_simproc (name, proc, lhs, id)), procs, eq_simproc)
-        handle Net.INSERT => (trace true "Ignored duplicate"; procs),
+        handle Net.INSERT => 
+	    (warning ("Ignoring duplicate simplification procedure \"" 
+	              ^ name ^ "\""); 
+	     procs),
         bounds, prems, mk_rews, termless));
 
 fun add_simproc (mss, (name, lhss, proc, id)) =
@@ -1768,7 +1771,9 @@
     (name, lhs as Cterm {t, ...}, proc, id)) =
   mk_mss (rules, congs,
     Net.delete_term ((t, mk_simproc (name, proc, lhs, id)), procs, eq_simproc)
-      handle Net.DELETE => (trace true "Simplification procedure not in simpset"; procs),
+      handle Net.DELETE => 
+	  (warning ("Simplification procedure \"" ^ name ^
+		       "\" not in simpset"); procs),
       bounds, prems, mk_rews, termless);
 
 fun del_simproc (mss, (name, lhss, proc, id)) =