equal
deleted
inserted
replaced
318 prep_simproc @{theory} |
318 prep_simproc @{theory} |
319 ("int_combine_numerals_prod", ["i $* j"], CombineNumeralsProd.proc); |
319 ("int_combine_numerals_prod", ["i $* j"], CombineNumeralsProd.proc); |
320 |
320 |
321 end; |
321 end; |
322 |
322 |
323 |
323 val _ = |
324 Addsimprocs Int_Numeral_Simprocs.cancel_numerals; |
324 Theory.setup (Simplifier.map_theory_simpset (fn ctxt => |
325 Addsimprocs [Int_Numeral_Simprocs.combine_numerals, |
325 ctxt addsimprocs |
326 Int_Numeral_Simprocs.combine_numerals_prod]; |
326 (Int_Numeral_Simprocs.cancel_numerals @ |
|
327 [Int_Numeral_Simprocs.combine_numerals, |
|
328 Int_Numeral_Simprocs.combine_numerals_prod]))); |
327 |
329 |
328 |
330 |
329 (*examples:*) |
331 (*examples:*) |
330 (* |
332 (* |
331 print_depth 22; |
333 print_depth 22; |