src/HOL/Hyperreal/HyperArith0.ML
changeset 10825 47c4a76b0c7a
parent 10784 27e4d90b35b5
child 11701 3d51fbf81c17
equal deleted inserted replaced
10824:4a212e635318 10825:47c4a76b0c7a
   267      prep_pats ["(l::hypreal) * m <= n", "(l::hypreal) <= m * n"], 
   267      prep_pats ["(l::hypreal) * m <= n", "(l::hypreal) <= m * n"], 
   268      LeCancelNumeralFactor.proc)];
   268      LeCancelNumeralFactor.proc)];
   269 
   269 
   270 val hypreal_cancel_numeral_factors_divide = prep_simproc
   270 val hypreal_cancel_numeral_factors_divide = prep_simproc
   271 	("hyprealdiv_cancel_numeral_factor", 
   271 	("hyprealdiv_cancel_numeral_factor", 
   272 	 prep_pats ["((l::hypreal) * m) / n", "(l::hypreal) / (m * n)"], 
   272 	 prep_pats ["((l::hypreal) * m) / n", "(l::hypreal) / (m * n)", 
       
   273                      "((number_of v)::hypreal) / (number_of w)"], 
   273 	 DivCancelNumeralFactor.proc);
   274 	 DivCancelNumeralFactor.proc);
   274 
   275 
   275 val hypreal_cancel_numeral_factors = 
   276 val hypreal_cancel_numeral_factors = 
   276     hypreal_cancel_numeral_factors_relations @ 
   277     hypreal_cancel_numeral_factors_relations @ 
   277     [hypreal_cancel_numeral_factors_divide];
   278     [hypreal_cancel_numeral_factors_divide];