src/HOL/Tools/datatype_abs_proofs.ML
changeset 11628 e57a6e51715e
parent 11539 0f17da240450
child 11754 3928d990c22f
equal deleted inserted replaced
11627:abf9cda4a4d2 11628:e57a6e51715e
   180         (([], 0), descr' ~~ recTs ~~ rec_sets);
   180         (([], 0), descr' ~~ recTs ~~ rec_sets);
   181 
   181 
   182     val (thy1, {intrs = rec_intrs, elims = rec_elims, ...}) =
   182     val (thy1, {intrs = rec_intrs, elims = rec_elims, ...}) =
   183       setmp InductivePackage.quiet_mode (!quiet_mode)
   183       setmp InductivePackage.quiet_mode (!quiet_mode)
   184         (InductivePackage.add_inductive_i false true big_rec_name' false false true
   184         (InductivePackage.add_inductive_i false true big_rec_name' false false true
   185            rec_sets [] (map (fn x => (("", x), [])) rec_intr_ts) [fun_rel_comp_mono] []) thy0;
   185            rec_sets (map (fn x => (("", x), [])) rec_intr_ts) [fun_rel_comp_mono] []) thy0;
   186 
   186 
   187     (* prove uniqueness and termination of primrec combinators *)
   187     (* prove uniqueness and termination of primrec combinators *)
   188 
   188 
   189     val _ = message "Proving termination and uniqueness of primrec functions ...";
   189     val _ = message "Proving termination and uniqueness of primrec functions ...";
   190 
   190