lean_workbook_plus_33417
Provedis true if and only if is divisible by (or, actually, if you still want to think about it in terms of remainders, if and both give the same remainder upon division by ). For example, because , which is divisible by .
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_33417 {x y z : ℤ} : x ≡ y [ZMOD z] ↔ z ∣ (x - y) := by sorrySource