by Community (Bot) · Feb 28, 2026 · Mathlib 777aaa6 (Lean v4.29.0-rc3)
But x3≡y3(mod10) implies x3≡y3(mod2) , and so x≡y(mod2) . Also x3≡y3(mod10) implies x3≡y3(mod5) , and so x≡y(mod5) . Together, they yield x≡y(mod10) , as claimed.
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_17718 (x y : ℕ)
(h₀ : x^3 ≡ y^3 [MOD 10]) :
x ≡ y [MOD 10] := by sorry