tuned;
authorwenzelm
Thu, 15 Dec 2016 21:16:10 +0100
changeset 64571 07bbdb2079db
parent 64570 a2e7862e7dd5
child 64572 cec07f7249cd
tuned;
src/Pure/thm.ML
--- a/src/Pure/thm.ML	Thu Dec 15 15:08:18 2016 +0100
+++ b/src/Pure/thm.ML	Thu Dec 15 21:16:10 2016 +0100
@@ -585,9 +585,8 @@
 and join_promises_of thms = join_promises (Ord_List.make promise_ord (maps raw_promises_of thms));
 
 fun fulfill_body (th as Thm (Deriv {promises, body}, _)) =
-  Proofterm.fulfill_norm_proof (theory_of_thm th) (fulfill_promises promises) body
-and fulfill_promises promises =
-  map fst promises ~~ map fulfill_body (Future.joins (map snd promises));
+  let val fulfilled_promises = map #1 promises ~~ map fulfill_body (Future.joins (map #2 promises))
+  in Proofterm.fulfill_norm_proof (theory_of_thm th) fulfilled_promises body end;
 
 fun proof_bodies_of thms =
   let