src/HOL/Tools/Sledgehammer/sledgehammer_mash.ML
changeset 50355 86cd7ee6f0c3
parent 50353 4258aeca13a0
child 50356 41f8f1f2e15d
--- a/src/HOL/Tools/Sledgehammer/sledgehammer_mash.ML	Tue Dec 04 22:14:59 2012 +0100
+++ b/src/HOL/Tools/Sledgehammer/sledgehammer_mash.ML	Tue Dec 04 23:19:02 2012 +0100
@@ -527,8 +527,11 @@
 (* Temporarily disabled: These frequent features can easily dominate the others.
   |> exists (not o is_lambda_free) ts ? cons "lams"
   |> exists (exists_Const is_exists) ts ? cons "skos"
-  |> scope <> Global ? cons "local"
 *)
+  |> scope <> Global
+     (* temporary hack: give a heavier weight to locality *)
+     ? append ["local0", "local1", "local2", "local3", "local4",
+               "local5", "local6", "local7", "local8", "local9"]
   |> (case string_of_status status of "" => I | s => cons s)
 
 (* Too many dependencies is a sign that a crazy decision procedure is at work.