equal
deleted
inserted
replaced
737 fun preprocess thy thms = |
737 fun preprocess thy thms = |
738 thms |
738 thms |
739 |> fold (fn (_, f) => apply_preproc thy f) ((#preprocs o the_preproc o get_exec) thy) |
739 |> fold (fn (_, f) => apply_preproc thy f) ((#preprocs o the_preproc o get_exec) thy) |
740 |> map (rewrite_func ((#inlines o the_preproc o get_exec) thy)) |
740 |> map (rewrite_func ((#inlines o the_preproc o get_exec) thy)) |
741 |> fold (fn (_, f) => apply_inline_proc thy f) ((#inline_procs o the_preproc o get_exec) thy) |
741 |> fold (fn (_, f) => apply_inline_proc thy f) ((#inline_procs o the_preproc o get_exec) thy) |
742 (*FIXME - must check: rewrite rule, function equation, proper constant |> map (snd o check_func false thy) *) |
742 (*FIXME - must check: rewrite rule, function equation, proper constant |> map (snd o check_func false thy) *) |
743 |> sort (cmp_thms thy) |
743 |> sort (cmp_thms thy) |
744 |> common_typ_funcs thy; |
744 |> common_typ_funcs thy; |
745 |
745 |
746 fun preprocess_cterm thy ct = |
746 fun preprocess_cterm thy ct = |
747 ct |
747 ct |