equal
deleted
inserted
replaced
610 |> register_code_eq abs_eq_thm opt_rep_eq_thm (rty_forced, qty) |
610 |> register_code_eq abs_eq_thm opt_rep_eq_thm (rty_forced, qty) |
611 val lift_def = mk_lift_def rty_forced qty newrhs lift_const def_thm rsp_thm abs_eq_thm |
611 val lift_def = mk_lift_def rty_forced qty newrhs lift_const def_thm rsp_thm abs_eq_thm |
612 opt_rep_eq_thm code_eq transfer_rules |
612 opt_rep_eq_thm code_eq transfer_rules |
613 in |
613 in |
614 lthy2 |
614 lthy2 |
615 |> Local_Theory.open_target |> snd |
615 |> Local_Theory.open_target |
616 |> Local_Theory.notes (notes (#notes config)) |> snd |
616 |> Local_Theory.notes (notes (#notes config)) |> snd |
617 |> `(fn lthy => morph_lift_def (Local_Theory.target_morphism lthy) lift_def) |
617 |> `(fn lthy => morph_lift_def (Local_Theory.target_morphism lthy) lift_def) |
618 ||> Local_Theory.close_target |
618 ||> Local_Theory.close_target |
619 end |
619 end |
620 |
620 |