src/HOL/Tools/inductive_realizer.ML
changeset 26481 92e901171cc8
parent 26477 ecf06644f6cb
child 26535 66bca8a4079c
--- a/src/HOL/Tools/inductive_realizer.ML	Sat Mar 29 19:14:00 2008 +0100
+++ b/src/HOL/Tools/inductive_realizer.ML	Sat Mar 29 19:14:03 2008 +0100
@@ -396,9 +396,8 @@
            REPEAT ((resolve_tac prems THEN_ALL_NEW EVERY'
              [K (rewrite_goals_tac rews), ObjectLogic.atomize_prems_tac,
               DEPTH_SOLVE_1 o FIRST' [atac, etac allE, etac impE]]) 1)]);
-        val (thm', thy') = PureThy.store_thm ((space_implode "_"
-          (NameSpace.qualified qualifier "induct" :: vs' @ Ps @
-             ["correctness"]), thm), []) thy;
+        val (thm', thy') = PureThy.store_thm (space_implode "_"
+          (NameSpace.qualified qualifier "induct" :: vs' @ Ps @ ["correctness"]), thm) thy;
         val thms = map (fn th => zero_var_indexes (rotate_prems ~1 (th RS mp)))
           (DatatypeAux.split_conj_thm thm');
         val ([thms'], thy'') = PureThy.add_thmss
@@ -457,8 +456,8 @@
            rewrite_goals_tac rews,
            REPEAT ((resolve_tac prems THEN_ALL_NEW (ObjectLogic.atomize_prems_tac THEN'
              DEPTH_SOLVE_1 o FIRST' [atac, etac allE, etac impE])) 1)]);
-        val (thm', thy') = PureThy.store_thm ((space_implode "_"
-          (name_of_thm elim :: vs @ Ps @ ["correctness"]), thm), []) thy
+        val (thm', thy') = PureThy.store_thm (space_implode "_"
+          (name_of_thm elim :: vs @ Ps @ ["correctness"]), thm) thy
       in
         Extraction.add_realizers_i
           [mk_realizer thy' (vs @ Ps) (name_of_thm elim, elim, thm', rlz, r)] thy'