src/HOL/Tools/Sledgehammer/sledgehammer_mepo.ML
changeset 50985 23bb011a5832
parent 50608 5977de2993ac
child 51004 5f2788c38127
--- a/src/HOL/Tools/Sledgehammer/sledgehammer_mepo.ML	Sat Jan 19 12:53:13 2013 +0100
+++ b/src/HOL/Tools/Sledgehammer/sledgehammer_mepo.ML	Sat Jan 19 17:42:12 2013 +0100
@@ -18,7 +18,6 @@
   val const_names_in_fact :
     theory -> (string * typ -> term list -> bool * term list) -> term
     -> string list
-  val weight_mepo_facts : 'a list -> ('a * real) list
   val mepo_suggested_facts :
     Proof.context -> params -> string -> int -> relevance_fudge option
     -> term list -> term -> fact list -> fact list
@@ -510,13 +509,6 @@
                       "Total relevant: " ^ string_of_int (length accepts)))
   end
 
-(* FUDGE *)
-fun weight_of_mepo_fact rank =
-  Math.pow (0.62, log2 (Real.fromInt (rank + 1)))
-
-fun weight_mepo_facts facts =
-  facts ~~ map weight_of_mepo_fact (0 upto length facts - 1)
-
 fun mepo_suggested_facts ctxt
         ({fact_thresholds = (thres0, thres1), ...} : params) prover
         max_facts fudge hyp_ts concl_t facts =