tuned;
authorwenzelm
Thu, 06 Feb 2025 12:18:56 +0100 (2 months ago)
changeset 82091 2c9c06a9f61f
parent 82090 023845c29d48
child 82092 93195437fdee
tuned;
src/HOL/Tools/SMT/smt_solver.ML
--- a/src/HOL/Tools/SMT/smt_solver.ML	Thu Feb 06 12:07:47 2025 +0100
+++ b/src/HOL/Tools/SMT/smt_solver.ML	Thu Feb 06 12:18:56 2025 +0100
@@ -137,12 +137,12 @@
 
 in
 
-fun invoke memoize_fun_call name command options smt_options ithms ctxt =
+fun invoke memoize_fun_call name command cmd_options smt_options ithms ctxt =
   let
-    val options = options @ SMT_Config.solver_options_of ctxt
+    val options = cmd_options @ SMT_Config.solver_options_of ctxt
     val comments = [implode_space options]
 
-    val (str, replay_data as {context = ctxt', ...}) =
+    val (input, replay_data as {context = ctxt', ...}) =
       ithms
       |> tap (trace_assms ctxt)
       |> SMT_Translate.translate ctxt name smt_options comments
@@ -153,8 +153,8 @@
 
     val output_lines =
       (case memoize_fun_call of
-        NONE => run_cmd str
-      | SOME memoize => split_lines (memoize (cat_lines o run_cmd) str))
+        NONE => run_cmd input
+      | SOME memoize => split_lines (memoize (cat_lines o run_cmd) input))
   in (output_lines, replay_data) end
 
 end