src/ZF/Tools/inductive_package.ML
changeset 74290 b2ad24b5a42c
parent 74282 c2ee8d993d6a
child 74294 ee04dc00bf0a
--- a/src/ZF/Tools/inductive_package.ML	Fri Sep 10 23:18:51 2021 +0200
+++ b/src/ZF/Tools/inductive_package.ML	Sat Sep 11 13:04:32 2021 +0200
@@ -508,8 +508,8 @@
        The name "x.1" comes from the "RS spec" !*)
      val inst =
          case elem_frees of [_] => I
-            | _ => Drule.instantiate_normalize (TVars.empty, Vars.make [(((("x",1), Ind_Syntax.iT)),
-                                      Thm.global_cterm_of thy4 elem_tuple)]);
+            | _ => Drule.instantiate_normalize (TVars.empty,
+                    Vars.make [(\<^var>\<open>?x1::i\<close>, Thm.global_cterm_of thy4 elem_tuple)]);
 
      (*strip quantifier and the implication*)
      val induct0 = inst (quant_induct RS @{thm spec} RSN (2, @{thm rev_mp}));