src/HOL/MiniML/Instance.ML
changeset 5350 165b9c212caf
parent 5184 9b8547a9496a
child 5521 7970832271cc
--- a/src/HOL/MiniML/Instance.ML	Thu Aug 20 16:20:17 1998 +0200
+++ b/src/HOL/MiniML/Instance.ML	Thu Aug 20 16:23:43 1998 +0200
@@ -82,7 +82,7 @@
 Goal "new_tv n sch --> subst_to_scheme (%k. if n <= k then BVar (k - n) else FVar k) \
 \                                                 (bound_typ_inst (%k. TVar (k + n)) sch) = sch";
 by (induct_tac "sch" 1);
-by (simp_tac (simpset() addsimps [leD]) 1);
+by (simp_tac (simpset() addsimps [le_def]) 1);
 by (simp_tac (simpset() addsimps [le_add2,diff_add_inverse2]) 1);
 by (Asm_simp_tac 1);
 qed_spec_mp "subst_to_scheme_inverse";
@@ -97,9 +97,8 @@
 \     subst_to_scheme (%k. if n <= k then BVar (k - n) else FVar k) (bound_typ_inst S sch) = \
 \      bound_scheme_inst ((subst_to_scheme (%k. if n <= k then BVar (k - n) else FVar k)) o S) sch";
 by (induct_tac "sch" 1);
-by (simp_tac (simpset() addsimps [leD]) 1);
-by (Asm_simp_tac 1);
-by (asm_full_simp_tac (simpset() addsimps [leD]) 1);
+by Auto_tac;
+by (ALLGOALS trans_tac);
 val aux2 = result () RS mp;