src/HOL/Tools/primrec_package.ML
changeset 24624 b8383b1bbae3
parent 24493 d4380e9b287b
child 24707 dfeb98f84e93
equal deleted inserted replaced
24623:7b2bc73405b8 24624:b8383b1bbae3
   296       thy'
   296       thy'
   297       |> fold_map note ((map fst eqns ~~ atts) ~~ map single simps);
   297       |> fold_map note ((map fst eqns ~~ atts) ~~ map single simps);
   298     val simps'' = maps snd simps';
   298     val simps'' = maps snd simps';
   299   in
   299   in
   300     thy''
   300     thy''
   301     |> note (("simps", [Simplifier.simp_add, RecfunCodegen.add NONE]), simps'')
   301     |> note (("simps", [Simplifier.simp_add, RecfunCodegen.add_default]), simps'')
   302     |> snd
   302     |> snd
   303     |> note (("induct", []), [prepare_induct (#2 (hd dts)) rec_eqns])
   303     |> note (("induct", []), [prepare_induct (#2 (hd dts)) rec_eqns])
   304     |> snd
   304     |> snd
   305     |> Theory.parent_path
   305     |> Theory.parent_path
   306     |> pair simps''
   306     |> pair simps''