minor performance tuning;
authorwenzelm
Mon, 08 Jan 2024 21:46:43 +0100
changeset 79435 e83f5e3813b1
parent 79434 6f2c3e4c97d7
child 79436 253d86888e84
minor performance tuning;
src/Pure/Isar/generic_target.ML
--- a/src/Pure/Isar/generic_target.ML	Mon Jan 08 21:46:26 2024 +0100
+++ b/src/Pure/Isar/generic_target.ML	Mon Jan 08 21:46:43 2024 +0100
@@ -342,7 +342,7 @@
           (case v of
             Var (xi, T) =>
               Vars.add ((xi, Term_Subst.instantiateT instT T),
-                Thm.cterm_of lthy' (Term.map_types (Term_Subst.instantiateT instT) t))
+                Thm.cterm_of lthy' (Term.map_types (Term_Subst.instantiateT_same instT) t))
           | _ => I)) vars frees);
     val fixed_thm = Thm.instantiate (cinstT, cinst) global_thm;