lean_workbook_plus_23006
ProvedFind all functions such that and for when is a constant. is not a solution since .
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_23006 (f : ℕ → ℕ) (hf1 : ∃ c, ∀ x, f x = x + c) (hf2 : ∀ a b, f (a + f b) = f a + f b) : ∃ c, ∀ x, f x = x + c := by sorry
Source