src/HOL/Hyperreal/hypreal_arith.ML
changeset 17876 b9c92f384109
parent 17431 70311ad8bf11
child 18708 4b3dadb4fe33
equal deleted inserted replaced
17875:d81094515061 17876:b9c92f384109
    34     inj_thms = inj_thms @ real_inj_thms, 
    34     inj_thms = inj_thms @ real_inj_thms, 
    35     lessD = lessD,  (*Can't change LA_Data_Ref.lessD: the hypreals are dense!*)
    35     lessD = lessD,  (*Can't change LA_Data_Ref.lessD: the hypreals are dense!*)
    36     neqE = neqE,
    36     neqE = neqE,
    37     simpset = simpset}),
    37     simpset = simpset}),
    38   arith_inj_const ("StarDef.star_of", HOLogic.realT --> hyprealT),
    38   arith_inj_const ("StarDef.star_of", HOLogic.realT --> hyprealT),
    39   Simplifier.change_simpset_of (op addsimprocs) [fast_hypreal_arith_simproc]];
    39   fn thy => (change_simpset_of thy (fn ss => ss addsimprocs [fast_hypreal_arith_simproc]); thy)];
    40 
    40 
    41 end;
    41 end;
    42 
    42 
    43 
    43 
    44 
    44