src/HOL/simpdata.ML
changeset 11162 9e2ec5f02217
parent 11034 568eb11f8d52
child 11200 f43fa07536c0
--- a/src/HOL/simpdata.ML	Tue Feb 20 13:23:58 2001 +0100
+++ b/src/HOL/simpdata.ML	Tue Feb 20 18:47:06 2001 +0100
@@ -330,8 +330,6 @@
   rewriting by "(P|Q --> R) = ((P-->R)&(Q-->R))" might be justified on the
   grounds that it allows simplification of R in the two cases.*)
 
-fun gen_all th = forall_elim_vars (#maxidx(rep_thm th)+1) th;
-
 val mksimps_pairs =
   [("op -->", [mp]), ("op &", [conjunct1,conjunct2]),
    ("All", [spec]), ("True", []), ("False", []),
@@ -354,7 +352,7 @@
          | _ => [th])
   in atoms end;
 
-fun mksimps pairs = (map mk_eq o mk_atomize pairs o gen_all);
+fun mksimps pairs = (map mk_eq o mk_atomize pairs o forall_elim_vars_safe);
 
 fun unsafe_solver_tac prems =
   FIRST'[resolve_tac(reflexive_thm::TrueI::refl::prems), atac, etac FalseE];