equal
deleted
inserted
replaced
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; |