--- a/src/HOL/Nominal/nominal_package.ML Tue Oct 02 19:05:20 2007 +0200
+++ b/src/HOL/Nominal/nominal_package.ML Tue Oct 02 22:23:24 2007 +0200
@@ -595,7 +595,8 @@
val ({raw_induct = rep_induct, intrs = rep_intrs, ...}, thy4) =
setmp InductivePackage.quiet_mode false
- (InductivePackage.add_inductive_global false big_rep_name false true false
+ (InductivePackage.add_inductive_global {verbose = false, kind = Thm.internalK,
+ alt_name = big_rep_name, coind = false, no_elim = true, no_ind = false}
(map (fn (s, T) => ((s, T --> HOLogic.boolT), NoSyn))
(rep_set_names' ~~ recTs'))
[] (map (fn x => (("", []), x)) intr_ts) []) thy3;
@@ -1522,7 +1523,8 @@
val ({intrs = rec_intrs, elims = rec_elims, raw_induct = rec_induct, ...}, thy11) =
thy10 |>
setmp InductivePackage.quiet_mode (!quiet_mode)
- (InductivePackage.add_inductive_global false big_rec_name false false false
+ (InductivePackage.add_inductive_global {verbose = false, kind = Thm.internalK,
+ alt_name = big_rec_name, coind = false, no_elim = false, no_ind = false}
(map (fn (s, T) => ((s, T), NoSyn)) (rec_set_names' ~~ rec_set_Ts))
(map dest_Free rec_fns)
(map (fn x => (("", []), x)) rec_intr_ts) []) ||>
--- a/src/HOL/Tools/datatype_abs_proofs.ML Tue Oct 02 19:05:20 2007 +0200
+++ b/src/HOL/Tools/datatype_abs_proofs.ML Tue Oct 02 22:23:24 2007 +0200
@@ -155,7 +155,8 @@
val ({intrs = rec_intrs, elims = rec_elims, ...}, thy1) =
setmp InductivePackage.quiet_mode (!quiet_mode)
- (InductivePackage.add_inductive_global false big_rec_name' false false true
+ (InductivePackage.add_inductive_global {verbose = false, kind = Thm.internalK,
+ alt_name = big_rec_name', coind = false, no_elim = false, no_ind = true}
(map (fn (s, T) => ((s, T), NoSyn)) (rec_set_names' ~~ rec_set_Ts))
(map dest_Free rec_fns)
(map (fn x => (("", []), x)) rec_intr_ts) []) thy0;
--- a/src/HOL/Tools/datatype_rep_proofs.ML Tue Oct 02 19:05:20 2007 +0200
+++ b/src/HOL/Tools/datatype_rep_proofs.ML Tue Oct 02 22:23:24 2007 +0200
@@ -177,7 +177,8 @@
val ({raw_induct = rep_induct, intrs = rep_intrs, ...}, thy2) =
setmp InductivePackage.quiet_mode (! quiet_mode)
- (InductivePackage.add_inductive_global false big_rec_name false true false
+ (InductivePackage.add_inductive_global {verbose = false, kind = Thm.internalK,
+ alt_name = big_rec_name, coind = false, no_elim = true, no_ind = false}
(map (fn s => ((s, UnivT'), NoSyn)) rep_set_names') []
(map (fn x => (("", []), x)) intr_ts) []) thy1;