src/HOL/Real/rat_arith.ML
changeset 23079 044a1bd3bb2a
parent 22803 5129e02f4df2
child 23081 636cda81978a
equal deleted inserted replaced
23078:e5670ceef56f 23079:044a1bd3bb2a
    46     lessD = lessD,  (*Can't change LA_Data_Ref.lessD: the rats are dense!*)
    46     lessD = lessD,  (*Can't change LA_Data_Ref.lessD: the rats are dense!*)
    47     neqE =  neqE,
    47     neqE =  neqE,
    48     simpset = simpset addsimps simps
    48     simpset = simpset addsimps simps
    49                       addsimprocs simprocs}) #>
    49                       addsimprocs simprocs}) #>
    50   arith_inj_const ("Nat.of_nat", HOLogic.natT --> ratT) #>
    50   arith_inj_const ("Nat.of_nat", HOLogic.natT --> ratT) #>
    51   arith_inj_const ("IntDef.of_int", HOLogic.intT --> ratT) #>
    51   arith_inj_const ("IntDef.of_int", HOLogic.intT --> ratT)
    52   (fn thy => (change_simpset_of thy (fn ss => ss addsimprocs [fast_rat_arith_simproc]); thy))
       
    53 
    52 
    54 end;
    53 end;