lean_workbook_plus_62554
ProvedLet be the remainder when is divided by 2010. The desired statement is equivalent to proving that there exist distinct indices and such that . Assume that this is not true; therefore all are distinct. As a result, takes on the values to exactly once for each . The sum of all is . However, the sum of all is . Now, for all , for some integer , so we must have that , but we have just shown that this is not true. Therefore, the original assumption is not true, so using proof by contradiction, we have the desired result.
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_62554 (c : ℕ → ℕ) (d : ℕ → ℕ) (h₀ : ∀ n, d n = c n % 2010) (h₁ : ∀ n m, n ≠ m → d n ≠ d m) : ∃ i j, i ≠ j ∧ d i = d j := by sorry
Source