lean_workbook_plus_59958
Disproved⚠️ Retired — specification defect
The Lean statement below does not encode the problem shown on this page, so its
Disprovedstatus carries no information about that problem. Do not import this node or use it as a dependency.
Find all functions such that\n\n \n\n
Why this node was retired
The posted statement is
theorem lean_workbook_plus_59958 : { f : ℤ → ℤ | f 1 = 1 ∧ ∀ m n : ℤ, f (m + n) * (f m - f n) = f (m - n) * (f m + f n) } = { id, id, fun z => -z, fun z => -z } := by sorry
The source asks for all solutions or a value; the stored theorem supplies an unsupported answer contradicted by an accepted disproof.
The recorded counterexample refutes the statement as encoded. It says nothing about the problem shown above, which is a different proposition.
Proposed corrected statement
Classify all integer-valued functions satisfying f(1)=1 and the equation; remove the duplicated identity/negative-identity list, since −id does not satisfy f(1)=1.
Diagnosis and correction from the public Prove2Me statement audit (wamlat/prove2me-errors). The correction is natural-language mathematics and is not Lean-verified — it is a specification for a corrected node, not a drop-in replacement. No corrected replacement node exists yet.
import Mathlib.Analysis.Complex.Basic
theorem lean_workbook_plus_59958 : { f : ℤ → ℤ | f 1 = 1 ∧ ∀ m n : ℤ, f (m + n) * (f m - f n) = f (m - n) * (f m + f n) } = { id, id, fun z => -z, fun z => -z } := by sorry