rational arithemtic
authornipkow
Thu, 21 Dec 2000 16:18:40 +0100
changeset 10717 c09d4ebfec83
parent 10716 01aec27d4c45
child 10718 c058f78c3544
rational arithemtic
src/Provers/Arith/fast_lin_arith.ML
--- a/src/Provers/Arith/fast_lin_arith.ML	Thu Dec 21 10:40:08 2000 +0100
+++ b/src/Provers/Arith/fast_lin_arith.ML	Thu Dec 21 16:18:40 2000 +0100
@@ -340,8 +340,8 @@
         | mk(NotLeDD(j)) = trace_thm "NLeD" (hd([mk j RS LA_Logic.not_leD] RL lessD))
         | mk(NotLessD(j)) = trace_thm "NL" (mk j RS LA_Logic.not_lessD)
         | mk(Added(j1,j2)) = simp (trace_thm "+" (addthms (mk j1) (mk j2)))
-        | mk(Multiplied(n,j)) = (trace_msg "*"; multn(n,mk j))
-        | mk(Multiplied2(n,j)) = simp (trace_msg "*2"; multn2(n,mk j))
+        | mk(Multiplied(n,j)) = (trace_msg("*"^string_of_int n); trace_thm "*" (multn(n,mk j)))
+        | mk(Multiplied2(n,j)) = simp (trace_msg("**"^string_of_int n); trace_thm "**" (multn2(n,mk j)))
 
   in trace_msg "mkthm";
      simplify simpset (mk just) handle FalseE thm => thm end