Added skip_mono flag to inductive definition package.
--- a/src/HOL/Tools/function_package/inductive_wrap.ML Thu Apr 03 17:54:19 2008 +0200
+++ b/src/HOL/Tools/function_package/inductive_wrap.ML Thu Apr 03 17:55:12 2008 +0200
@@ -47,7 +47,8 @@
alt_name = "",
coind = false,
no_elim = false,
- no_ind = false}
+ no_ind = false,
+ skip_mono = true}
[((R, T), NoSyn)] (* the relation *)
[] (* no parameters *)
(map (fn t => (("", []), t)) defs) (* the intros *)
--- a/src/HOL/Tools/inductive_realizer.ML Thu Apr 03 17:54:19 2008 +0200
+++ b/src/HOL/Tools/inductive_realizer.ML Thu Apr 03 17:55:12 2008 +0200
@@ -351,7 +351,7 @@
val (ind_info, thy3') = thy2 |>
InductivePackage.add_inductive_global (serial_string ())
{quiet_mode = false, verbose = false, kind = Thm.theoremK, alt_name = "",
- coind = false, no_elim = false, no_ind = false}
+ coind = false, no_elim = false, no_ind = false, skip_mono = false}
rlzpreds rlzparams (map (fn (rintr, intr) =>
((Sign.base_name (name_of_thm intr), []),
subst_atomic rlzpreds' (Logic.unvarify rintr)))