thm_proof: visible fulfill_body only, without joining nested thms -- retain proof irrelevance, which is important for parallel performance;
authorwenzelm
Thu, 03 Feb 2011 20:13:49 +0100
changeset 41700 f33d5a00c25d
parent 41699 21492e1c2b5a
child 41701 430493d65cd2
thm_proof: visible fulfill_body only, without joining nested thms -- retain proof irrelevance, which is important for parallel performance;
src/Pure/thm.ML
--- a/src/Pure/thm.ML	Thu Feb 03 19:27:04 2011 +0100
+++ b/src/Pure/thm.ML	Thu Feb 03 20:13:49 2011 +0100
@@ -586,7 +586,7 @@
     val {thy_ref, shyps, hyps, prop, tpairs, ...} = args;
     val _ = null tpairs orelse raise THM ("put_name: unsolved flex-flex constraints", 0, [thm]);
 
-    val ps = map (apsnd (Future.map proof_body_of)) promises;
+    val ps = map (apsnd (Future.map fulfill_body)) promises;
     val thy = Theory.deref thy_ref;
     val (pthm, proof) = Proofterm.thm_proof thy name shyps hyps prop ps body;
     val der' = make_deriv [] [] [pthm] proof;
@@ -1227,7 +1227,7 @@
     val tfrees = rev (Term.add_tfree_names prop []);
     val _ = null tfrees orelse err ("illegal free type variables " ^ commas_quote tfrees);
 
-    val ps = map (apsnd (Future.map proof_body_of)) promises;
+    val ps = map (apsnd (Future.map fulfill_body)) promises;
     val thy = Theory.deref thy_ref;
     val (pthm as (_, (_, prop', _)), proof) =
       Proofterm.unconstrain_thm_proof thy shyps prop ps body;