src/HOL/Tools/datatype_rep_proofs.ML
changeset 12180 91c9f661b183
parent 11957 f1657e0291ca
child 12922 ed70a600f0ea
equal deleted inserted replaced
12179:5b427479cc14 12180:91c9f661b183
   178         ((1 upto (length constrs)) ~~ constrs)) (descr' ~~ rep_set_names));
   178         ((1 upto (length constrs)) ~~ constrs)) (descr' ~~ rep_set_names));
   179 
   179 
   180     val (thy2, {raw_induct = rep_induct, intrs = rep_intrs, ...}) =
   180     val (thy2, {raw_induct = rep_induct, intrs = rep_intrs, ...}) =
   181       setmp InductivePackage.quiet_mode (!quiet_mode)
   181       setmp InductivePackage.quiet_mode (!quiet_mode)
   182         (InductivePackage.add_inductive_i false true big_rec_name false true false
   182         (InductivePackage.add_inductive_i false true big_rec_name false true false
   183            consts (map (fn x => (("", x), [])) intr_ts) [Funs_mono] []) thy1;
   183            consts (map (fn x => (("", x), [])) intr_ts) [Funs_mono]) thy1;
   184 
   184 
   185     (********************************* typedef ********************************)
   185     (********************************* typedef ********************************)
   186 
   186 
   187     val thy3 = add_path flat_names big_name (foldl (fn (thy, ((((name, mx), tvs), c), name')) =>
   187     val thy3 = add_path flat_names big_name (foldl (fn (thy, ((((name, mx), tvs), c), name')) =>
   188       setmp TypedefPackage.quiet_mode true
   188       setmp TypedefPackage.quiet_mode true