src/HOL/Tools/BNF/bnf_lfp_basic_sugar.ML
changeset 58581 e2e2d775869c
parent 58580 8ee2d984caa8
child 58583 1dd83cbba636
equal deleted inserted replaced
58580:8ee2d984caa8 58581:e2e2d775869c
    46    xtor_rel_thms = [xtor_rel],
    46    xtor_rel_thms = [xtor_rel],
    47    xtor_co_rec_thms = [map_id0_of_bnf fp_bnf RS @{thm ctor_rec}],
    47    xtor_co_rec_thms = [map_id0_of_bnf fp_bnf RS @{thm ctor_rec}],
    48    xtor_co_rec_o_maps = [ctor_rec_o_map],
    48    xtor_co_rec_o_maps = [ctor_rec_o_map],
    49    xtor_rel_co_induct = xtor_rel_induct,
    49    xtor_rel_co_induct = xtor_rel_induct,
    50    dtor_set_inducts = [],
    50    dtor_set_inducts = [],
    51    xtor_co_rec_transfer_thms = []};
    51    xtor_co_rec_transfers = []};
    52 
    52 
    53 fun fp_sugar_of_sum ctxt =
    53 fun fp_sugar_of_sum ctxt =
    54   let
    54   let
    55     val fpT as Type (fpT_name, As) = @{typ "'a + 'b"};
    55     val fpT as Type (fpT_name, As) = @{typ "'a + 'b"};
    56     val fpBT = @{typ "'c + 'd"};
    56     val fpBT = @{typ "'c + 'd"};