future: norm_proof after make_result reduces memory requirements but increases runtime (factor 1.5 for both for HOL with proof terms);
authorwenzelm
Sun, 23 Nov 2008 17:25:56 +0100
changeset 28874 883ec8ee5e6e
parent 28873 2058a6b0eb20
child 28875 c1c0e23ed063
future: norm_proof after make_result reduces memory requirements but increases runtime (factor 1.5 for both for HOL with proof terms);
src/Pure/thm.ML
--- a/src/Pure/thm.ML	Fri Nov 21 18:02:19 2008 +0100
+++ b/src/Pure/thm.ML	Sun Nov 23 17:25:56 2008 +0100
@@ -1642,7 +1642,7 @@
     val _ = T <> propT andalso raise CTERM ("future: prop expected", [ct]);
 
     val i = serial ();
-    val future = Future.fork_background (future_result i thy sorts prop o make_result);
+    val future = Future.fork_background (future_result i thy sorts prop o norm_proof o make_result);
     val _ = add_future thy future;
     val promise = (i, future);
   in