tuned zipperposition config in sledgehammer
authordesharna
Mon, 04 Oct 2021 10:17:11 +0200
changeset 74471 d6f1ca21a3c1
parent 74470 9b6dcf689efe
child 74472 9d304ef5c932
tuned zipperposition config in sledgehammer
src/HOL/Tools/Sledgehammer/sledgehammer_atp_systems.ML
--- a/src/HOL/Tools/Sledgehammer/sledgehammer_atp_systems.ML	Mon Oct 04 10:16:42 2021 +0200
+++ b/src/HOL/Tools/Sledgehammer/sledgehammer_atp_systems.ML	Mon Oct 04 10:17:11 2021 +0200
@@ -533,8 +533,8 @@
   in
     {exec = (["ZIPPERPOSITION_HOME"], ["zipperposition"]),
      arguments = fn _ => fn _ => fn extra_options => fn timeout => fn problem => fn _ =>
-       ["--input tptp --output tptp --timeout " ^ string_of_int (to_secs 1 timeout) ^ " " ^ File.bash_path problem
-        |> extra_options <> "" ? prefix (extra_options ^ " ")],
+       ["--input tptp", "--output tptp", "--timeout " ^ Time.toString timeout, extra_options,
+        File.bash_path problem],
      proof_delims = tstp_proof_delims,
      known_failures =
        [(TimedOut, "SZS status ResourceOut")] @   (* odd way of timing out *)