src/HOL/Tools/function_package/lexicographic_order.ML
changeset 21757 093ca3efb132
parent 21590 ef7278f553eb
child 21816 453fd9857b4c
--- a/src/HOL/Tools/function_package/lexicographic_order.ML	Sun Dec 10 19:37:27 2006 +0100
+++ b/src/HOL/Tools/function_package/lexicographic_order.ML	Sun Dec 10 19:37:28 2006 +0100
@@ -230,7 +230,7 @@
       | SOME order  => let
       val clean_table = map (fn x => map (nth x) order) table
       val funs = map (nth base_funs) order
-      val list = HOLogic.mk_list (fn x => x) (fastype_of var --> HOLogic.natT) funs
+      val list = HOLogic.mk_list (fastype_of var --> HOLogic.natT) funs
       val relterm = Abs ("x", fastype_of var, Const(measures, (fastype_of list) --> (range_type (fastype_of rel))) $ list)
       val crelterm = cterm_of thy relterm
       val _ = writeln ("Instantiating R with " ^ (string_of_cterm crelterm))