generalized fixes get index 0;
authorwenzelm
Fri, 02 Jul 1999 15:05:16 +0200
changeset 6887 12b5fb35a688
parent 6886 7d0f7ad5a35f
child 6888 d0c68ebdabc5
generalized fixes get index 0;
src/Pure/Isar/proof.ML
--- a/src/Pure/Isar/proof.ML	Fri Jul 02 15:04:45 1999 +0200
+++ b/src/Pure/Isar/proof.ML	Fri Jul 02 15:05:16 1999 +0200
@@ -329,12 +329,12 @@
 
     fun find_free t x = foldl_aterms (get_free x) (None, t);
 
-    val {sign, maxidx, prop, ...} = Thm.rep_thm thm;
+    val {sign, prop, ...} = Thm.rep_thm thm;
     val frees = map (Thm.cterm_of sign) (mapfilter (find_free prop) names);
   in
     thm
     |> Drule.forall_intr_list frees
-    |> Drule.forall_elim_vars (maxidx + 1)
+    |> Drule.forall_elim_vars 0
   end;
 
 fun varify_tfrees thm =