src/HOL/Tools/numeral_simprocs.ML
changeset 67561 f0b11413f1c9
parent 67560 0fa87bd86566
child 69593 3dda49e08b9d
--- a/src/HOL/Tools/numeral_simprocs.ML	Thu Feb 01 15:12:57 2018 +0100
+++ b/src/HOL/Tools/numeral_simprocs.ML	Thu Feb 01 15:31:25 2018 +0100
@@ -163,8 +163,7 @@
 end;
 
 val num_ss =
-  simpset_of (put_simpset HOL_basic_ss @{context}
-    |> Simplifier.set_termless (is_less o numterm_ord));
+  simpset_of (put_simpset HOL_basic_ss @{context} |> Simplifier.set_term_ord numterm_ord);
 
 (*Maps 1 to Numeral1 so that arithmetic isn't complicated by the abstract 1.*)
 val numeral_syms = [@{thm numeral_One} RS sym];