src/HOL/Tools/inductive_package.ML
changeset 13709 ec00ba43aee8
parent 13657 c1637d60a846
child 13747 bf308fcfd08e
equal deleted inserted replaced
13708:a3a410782c95 13709:ec00ba43aee8
   322       | _ => err_in_rule sg name rule bad_concl);
   322       | _ => err_in_rule sg name rule bad_concl);
   323     ((name, arule), att)
   323     ((name, arule), att)
   324   end;
   324   end;
   325 
   325 
   326 val rulify =
   326 val rulify =
   327   standard o Tactic.norm_hhf_rule o
   327   standard o
   328   hol_simplify inductive_rulify2 o hol_simplify inductive_rulify1 o
   328   hol_simplify inductive_rulify2 o hol_simplify inductive_rulify1 o
   329   hol_simplify inductive_conj;
   329   hol_simplify inductive_conj;
   330 
   330 
   331 end;
   331 end;
   332 
   332 
   803       |>> Theory.parent_path;
   803       |>> Theory.parent_path;
   804   in (thy3,
   804   in (thy3,
   805     {defs = fp_def :: rec_sets_defs,
   805     {defs = fp_def :: rec_sets_defs,
   806      mono = mono,
   806      mono = mono,
   807      unfold = unfold,
   807      unfold = unfold,
   808      intrs = intrs'',
   808      intrs = intrs',
   809      elims = elims',
   809      elims = elims',
   810      mk_cases = mk_cases elims',
   810      mk_cases = mk_cases elims',
   811      raw_induct = rulify raw_induct,
   811      raw_induct = rulify raw_induct,
   812      induct = induct'})
   812      induct = induct'})
   813   end;
   813   end;