omit pointless future: proof terms are built sequentially;
authorwenzelm
Tue, 19 Dec 2023 19:20:21 +0100
changeset 79311 e4a9a861856b
parent 79310 dc6b58da806e
child 79312 8db60cadad86
omit pointless future: proof terms are built sequentially;
src/Pure/zterm.ML
--- a/src/Pure/zterm.ML	Tue Dec 19 19:18:09 2023 +0100
+++ b/src/Pure/zterm.ML	Tue Dec 19 19:20:21 2023 +0100
@@ -259,7 +259,7 @@
   val norm_type: Type.tyenv -> ztyp -> ztyp
   val norm_term: theory -> Envir.env -> zterm -> zterm
   val norm_proof: theory -> Envir.env -> term list -> zproof -> zproof
-  type zbox = serial * (zterm * zproof future)
+  type zbox = serial * (zterm * zproof)
   val zbox_ord: zbox ord
   type zboxes = zbox Ord_List.T
   val union_zboxes: zboxes -> zboxes -> zboxes
@@ -753,7 +753,7 @@
 
 (* closed proof boxes *)
 
-type zbox = serial * (zterm * zproof future);
+type zbox = serial * (zterm * zproof);
 val zbox_ord: zbox ord = fn ((i, _), (j, _)) => int_ord (j, i);
 
 type zboxes = zbox Ord_List.T;
@@ -796,7 +796,7 @@
     val prf' = beta_norm_prooft (close_proof hyps' prf);
 
     val i = serial ();
-    val zboxes' = add_zboxes (i, (prop', Future.value prf')) zboxes;
+    val zboxes' = add_zboxes (i, (prop', prf')) zboxes;
     val prf'' = ZAppts (ZConstp (zproof_const (ZBox i) prop'), hyps');
   in (zboxes', prf'') end;