src/HOL/Nominal/nominal_permeq.ML
changeset 33554 4601372337e4
parent 33244 db230399f890
child 34885 6587c24ef6d8
--- a/src/HOL/Nominal/nominal_permeq.ML	Tue Nov 10 16:04:57 2009 +0100
+++ b/src/HOL/Nominal/nominal_permeq.ML	Tue Nov 10 18:11:23 2009 +0100
@@ -397,11 +397,8 @@
   Scan.succeed (perm_asm_full_simp_tac_i NO_DEBUG_tac));
 
 val perm_simp_meth =
-  Args.bang_facts -- Scan.lift perm_simp_options --|
-  Method.sections (Simplifier.simp_modifiers') >>
-  (fn (prems, tac) => fn ctxt => METHOD (fn facts =>
-    HEADGOAL (Method.insert_tac (prems @ facts) THEN'
-      (CHANGED_PROP oo tac) (simpset_of ctxt))));
+  Scan.lift perm_simp_options --| Method.sections (Simplifier.simp_modifiers') >>
+  (fn tac => fn ctxt => SIMPLE_METHOD' (CHANGED_PROP o tac (simpset_of ctxt)));
 
 (* setup so that the simpset is used which is active at the moment when the tactic is called *)
 fun local_simp_meth_setup tac =