src/Pure/term_subst.ML
changeset 79399 11b53e039f6f
parent 79129 2933e71f4e09
child 79409 e1895596e1b9
--- a/src/Pure/term_subst.ML	Sat Dec 30 22:16:18 2023 +0100
+++ b/src/Pure/term_subst.ML	Sat Dec 30 22:36:41 2023 +0100
@@ -9,6 +9,9 @@
   val map_atypsT_same: typ Same.operation -> typ Same.operation
   val map_types_same: typ Same.operation -> term Same.operation
   val map_aterms_same: term Same.operation -> term Same.operation
+  val map_atypsT: typ Same.operation -> typ -> typ
+  val map_types: typ Same.operation -> term -> term
+  val map_aterms: term Same.operation -> term -> term
   val generalizeT_same: Names.set -> int -> typ Same.operation
   val generalize_same: Names.set * Names.set -> int -> term Same.operation
   val generalizeT: Names.set -> int -> typ -> typ
@@ -63,6 +66,10 @@
       | term a = f a;
   in term end;
 
+val map_atypsT = Same.commit o map_atypsT_same;
+val map_types = Same.commit o map_types_same;
+val map_aterms = Same.commit o map_aterms_same;
+
 
 (* generalization of fixed variables *)