src/HOL/TPTP/MaSh_Eval.thy
author blanchet
Wed, 18 Jul 2012 08:44:04 +0200
changeset 48322 8a8d71e34297
parent 48301 e5c5037a3104
child 48333 2250197977dc
permissions -rw-r--r--
fixed MaSh state load code so it works even if the facts are read in disorder

(*  Title:      HOL/TPTP/MaSh_Eval.thy
    Author:     Jasmin Blanchette, TU Muenchen
*)

header {* MaSh Evaluation Driver *}

theory MaSh_Eval
imports (* ### Complex_Main *) "~~/src/HOL/Sledgehammer2d"
uses "mash_eval.ML"
begin

sledgehammer_params
  [provers = e, max_relevant = 40, strict, dont_slice, type_enc = poly_guards??,
   lam_trans = combs_and_lifting, timeout = 5, dont_preplay, minimize]

declare [[sledgehammer_instantiate_inducts]]

ML {*
open MaSh_Eval
*}

ML {*
val do_it = false (* switch to "true" to generate the files *);
val thy = @{theory Nat};
val params = Sledgehammer_Isar.default_params @{context} []
*}

ML {*
if do_it then
  evaluate_mash_suggestions @{context} params thy "/Users/blanchet/tum/mash/mash/results/natNB200ATP-15.pred"
else
  ()
*}

end