future_result: purge flexflex pairs, which should normally be trivial anyway -- prevent Thm.future_result from complaining about tpairs;
authorwenzelm
Thu, 19 Nov 2009 17:29:39 +0100
changeset 33768 bba9eac8aa25
parent 33767 f962c761a38f
child 33769 6d8630fab26a
future_result: purge flexflex pairs, which should normally be trivial anyway -- prevent Thm.future_result from complaining about tpairs;
src/Pure/goal.ML
--- a/src/Pure/goal.ML	Thu Nov 19 17:26:28 2009 +0100
+++ b/src/Pure/goal.ML	Thu Nov 19 17:29:39 2009 +0100
@@ -132,7 +132,8 @@
       cert (Term.map_types Logic.varifyT (fold_rev Logic.all xs (Logic.list_implies (As, prop))))
       |> Thm.weaken_sorts (Variable.sorts_of ctxt);
     val global_result = result |> Future.map
-      (Thm.adjust_maxidx_thm ~1 #>
+      (Drule.flexflex_unique #>
+        Thm.adjust_maxidx_thm ~1 #>
         Drule.implies_intr_list assms #>
         Drule.forall_intr_list fixes #>
         Thm.generalize (map #1 tfrees, []) 0);