lean_workbook_plus_22341
ProvedBeing a function linear we have that
, with k constant, on the other hand the expression is equivalent to
, then , then k∈ {0, 1}, if k = 0, then , If k = 1 then,
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_22341 (f : ℤ → ℤ) (h₀ : ∃ k, ∀ n, f n = k * n) (h₁ : ∀ x y, f (x^2 - y^2) = f x * f (2 * y)) : ∀ n, f n = 0 ∨ ∀ n, f n = n := by sorry
Source