tuned
authorhaftmann
Wed, 26 Nov 2014 15:46:17 +0100
changeset 59059 97b089c4aa46
parent 59058 a78612c67ec0
child 59060 5f060de2dfd6
tuned
src/HOL/Tools/inductive.ML
--- a/src/HOL/Tools/inductive.ML	Wed Nov 26 20:05:34 2014 +0100
+++ b/src/HOL/Tools/inductive.ML	Wed Nov 26 15:46:17 2014 +0100
@@ -510,7 +510,7 @@
           (if null ts andalso null us then resolve_tac [intr] 1
            else
             EVERY (replicate (length ts + length us - 1) (eresolve_tac @{thms conjE} 1)) THEN
-            Subgoal.FOCUS_PREMS (fn {context = ctxt'', params, prems, ...} =>
+            Subgoal.FOCUS_PREMS (fn {context = ctxt'', prems, ...} =>
               let
                 val (eqs, prems') = chop (length us) prems;
                 val rew_thms = map (fn th => th RS @{thm eq_reflection}) eqs;
@@ -1003,11 +1003,8 @@
 (* external interfaces *)
 
 fun gen_add_inductive_i mk_def
-    (flags as {quiet_mode, verbose, alt_name, coind, no_elim, no_ind, skip_mono})
-    cnames_syn pnames spec monos lthy =
+    flags cnames_syn pnames spec monos lthy =
   let
-    val thy = Proof_Context.theory_of lthy;
-
 
     (* abbrevs *)