src/HOL/Tools/Sledgehammer/sledgehammer_isar_minimize.ML
changeset 55264 43473497fb65
parent 55263 4d63fffcde8d
child 55265 bd9f033b9896
--- a/src/HOL/Tools/Sledgehammer/sledgehammer_isar_minimize.ML	Mon Feb 03 10:14:18 2014 +0100
+++ b/src/HOL/Tools/Sledgehammer/sledgehammer_isar_minimize.ML	Mon Feb 03 10:14:18 2014 +0100
@@ -43,9 +43,12 @@
 
         val (time, min_lfs) = minimize_facts (fn lfs => mk_step_lfs_gfs lfs gfs) time [] lfs
         val (time, min_gfs) = minimize_facts (mk_step_lfs_gfs min_lfs) time [] gfs
+
+        val step' = mk_step_lfs_gfs min_lfs min_gfs
       in
-        set_preplay_outcomes_of_isar_step preplay_data l [(meth, Lazy.value (Played time))];
-        mk_step_lfs_gfs min_lfs min_gfs
+        set_preplay_outcomes_of_isar_step ctxt time preplay_data step'
+          [(meth, Lazy.value (Played time))];
+        step'
       end
     | _ => step (* don't touch steps that time out or fail *))