--- a/src/HOL/Decision_Procs/cooper_tac.ML Tue Aug 13 19:28:58 2024 +0200
+++ b/src/HOL/Decision_Procs/cooper_tac.ML Tue Aug 13 21:09:51 2024 +0200
@@ -53,7 +53,8 @@
div_by_1 mod_by_1 div_by_Suc_0 mod_by_Suc_0
Suc_eq_plus1}
addsimps @{thms ac_simps}
- addsimprocs [\<^simproc>\<open>cancel_div_mod_nat\<close>, \<^simproc>\<open>cancel_div_mod_int\<close>]
+ |> Simplifier.add_proc \<^simproc>\<open>cancel_div_mod_nat\<close>
+ |> Simplifier.add_proc \<^simproc>\<open>cancel_div_mod_int\<close>
val simpset0 =
put_simpset HOL_basic_ss ctxt
addsimps @{thms minus_div_mult_eq_mod [symmetric] Suc_eq_plus1 simp_thms}