tuned -- eliminated Sign.intern_sort;
authorwenzelm
Tue Mar 09 14:55:25 2010 +0100 (2010-03-09)
changeset 35667aa59452c913c
parent 35666 6fd0ca1a3966
child 35668 69e1740fbfb1
tuned -- eliminated Sign.intern_sort;
src/HOL/Nominal/nominal_fresh_fun.ML
     1.1 --- a/src/HOL/Nominal/nominal_fresh_fun.ML	Tue Mar 09 14:18:06 2010 +0100
     1.2 +++ b/src/HOL/Nominal/nominal_fresh_fun.ML	Tue Mar 09 14:55:25 2010 +0100
     1.3 @@ -58,7 +58,7 @@
     1.4     val goal = List.nth(prems_of thm, i-1);
     1.5     val ps = Logic.strip_params goal;
     1.6     val Ts = rev (map snd ps);
     1.7 -   fun is_of_fs_name T = Sign.of_sort thy (T, Sign.intern_sort thy ["fs_"^atom_basename]);
     1.8 +   fun is_of_fs_name T = Sign.of_sort thy (T, [Sign.intern_class thy ("fs_"^atom_basename)]);
     1.9  (* rebuild de bruijn indices *)
    1.10     val bvs = map_index (Bound o fst) ps;
    1.11  (* select variables of the right class *)