src/Pure/Proof/extraction.ML
changeset 79399 11b53e039f6f
parent 79391 70c0dbfacf0b
child 79407 c6c2e41cac1c
--- a/src/Pure/Proof/extraction.ML	Sat Dec 30 22:16:18 2023 +0100
+++ b/src/Pure/Proof/extraction.ML	Sat Dec 30 22:36:41 2023 +0100
@@ -390,10 +390,10 @@
     val cs = maps (fn T => map (pair T) S) Ts;
     val constraints' = map Logic.mk_of_class cs;
     val typ_map = Type.strip_sorts o
-      Same.commit (Term_Subst.map_atypsT_same (fn U =>
+      Term_Subst.map_atypsT (fn U =>
         if member (op =) atyps U
         then #unconstrain_typ ucontext {strip_sorts = false} U
-        else raise Same.SAME));
+        else raise Same.SAME);
     fun mk_hyp (T, c) = Hyp (Logic.mk_of_class (typ_map T, c));
     val xs' = map (map_types typ_map) xs
   in