export: refrain from adjusting maxidx;
authorwenzelm
Sun, 30 Jul 2006 21:28:55 +0200
changeset 20262 ef3ee6a91c18
parent 20261 af51389aa756
child 20263 fd0ed14ba1ea
export: refrain from adjusting maxidx;
src/Pure/variable.ML
--- a/src/Pure/variable.ML	Sun Jul 30 21:28:54 2006 +0200
+++ b/src/Pure/variable.ML	Sun Jul 30 21:28:55 2006 +0200
@@ -293,9 +293,8 @@
 
 fun gen_export inst inner outer ths =
   let
-    val ths' = map Thm.adjust_maxidx_thm ths;
-    val inner' = fold (declare_type_occs o Thm.full_prop_of) ths' inner;
-  in map (Thm.generalize (inst inner' outer) (fold Thm.maxidx_thm ths' ~1 + 1)) ths' end;
+    val inner' = fold (declare_type_occs o Thm.full_prop_of) ths inner;
+  in map (Thm.generalize (inst inner' outer) (fold Thm.maxidx_thm ths ~1 + 1)) ths end;
 
 val exportT = gen_export (rpair [] oo exportT_inst);
 val export = gen_export export_inst;