tuned proof: avoid smt/z3 to make this work with arm64-linux;
authorwenzelm
Thu, 06 Jun 2024 23:19:59 +0200
changeset 80276 360e6217cda6
parent 80275 c631a44e9f13
child 80277 63b83637976a
child 80286 00d68f324056
tuned proof: avoid smt/z3 to make this work with arm64-linux;
src/HOL/Binomial_Plus.thy
--- a/src/HOL/Binomial_Plus.thy	Thu Jun 06 23:12:04 2024 +0200
+++ b/src/HOL/Binomial_Plus.thy	Thu Jun 06 23:19:59 2024 +0200
@@ -223,7 +223,7 @@
 proof -
   have dvd: "y \<noteq> 0 \<Longrightarrow> ((of_int (x div y))::'a::field_char_0) = of_int x / of_int y \<Longrightarrow> y dvd x"
     for x y :: int
-    by (smt dvd_triv_left mult.commute nonzero_eq_divide_eq of_int_eq_0_iff of_int_eq_iff of_int_mult)
+    by (metis dvd_triv_right nonzero_eq_divide_eq of_int_0_eq_iff of_int_eq_iff of_int_mult)
   show ?thesis
   proof (cases "0 < a")
     case True