Squares can hide distinct residues modulo three
ProvedWorkbookSource.problem_13238lean-workbooksource-checked
In 6.2, when considering the congruence modulo 3, show that does not imply .
Source: InternLM Lean-Workbook, record lean_workbook_13238 (Apache-2.0). The complete source proposition and its explicit variable declarations are preserved.
Preamble
import Mathlib open Real Nat
Formal statement
theorem WorkbookSource.problem_13238 : ∃ x y : ℤ, (x^2 ≡ y^2 [ZMOD 3]) ∧ ¬ (x ≡ y [ZMOD 3]) := by sorry
Source