lean_workbook_plus_12614
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 such that and for all .
Why this node was retired
The posted statement is
theorem lean_workbook_plus_12614 (f : ℤ → ℤ) (h₁ : f 0 = 2) (h₂ : ∀ a b : ℤ, f (a + b) = f a * f b - f (a - b)) : ∀ n : ℤ, f n = n + 2 := by sorry
The formal statement changes or incorrectly supplies part of the source problem; the accepted note identifies a concrete witness or definitional mechanism.
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 the integer-valued solutions by a free integer t=f(1): define C₀=2,C₁=t,C_{n+2}=tC_{n+1}−C_n and C_{−n}=C_n; prove f is exactly this sequence. Remove the unsupported formula f(n)=n+2.
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_12614 (f : ℤ → ℤ) (h₁ : f 0 = 2) (h₂ : ∀ a b : ℤ, f (a + b) = f a * f b - f (a - b)) : ∀ n : ℤ, f n = n + 2 := by sorry