tuned;
authorwenzelm
Tue, 19 Dec 2023 17:07:22 +0100
changeset 79305 6247ead9f5b0
parent 79304 5c534c60e11e
child 79306 816472c38979
tuned;
src/Pure/thm.ML
--- a/src/Pure/thm.ML	Tue Dec 19 15:27:45 2023 +0100
+++ b/src/Pure/thm.ML	Tue Dec 19 17:07:22 2023 +0100
@@ -421,8 +421,9 @@
 fun insert_constraints_env thy env =
   let
     val tyenv = Envir.type_env env;
+    val normT = Envir.norm_type tyenv;
     fun insert ([], _) = I
-      | insert (S, T) = insert_constraints thy (Envir.norm_type tyenv T, S);
+      | insert (S, T) = insert_constraints thy (normT T, S);
   in tyenv |> Vartab.fold (insert o #2) end;
 
 end;