lean_workbook_plus_43566
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.
Let be the successor function, . We'll be using the following notation: whenever and are functions, is the function defined by . Similarly, is just etc. What we know about can be written as . So, for all , , which evaluated at yields . This holds for and . In particular, setting , . Let and . Then . From this it follows that , but if then = so , which is impossible since for any and any (this follows directly from ). So must be 1, and from it follows immediately by induction that for all .
Why this node was retired
The posted statement is
theorem lean_workbook_plus_43566 (f : ℕ → ℕ)
(h₀ : ∃ x, f x ≠ x)
(h₁ : ∃ x, f x ≠ x + 1)
(h₂ : ∀ n, 1 < n → ∀ k, f (n + k) = f^[k] (f n) + k) :
∀ n, f n = n := by sorry
On positive integers, assume f(n+1)=f(f(n))+1 and conclude f(n)=n. Remove the invented nonidentity assumptions and replace the erroneous iteration exponent k by the source’s2^k where that derived identity is stated.
The recorded counterexample refutes the statement as encoded. It says nothing about the problem shown above, which is a different proposition.
Proposed corrected statement
On positive integers, assume f(n+1)=f(f(n))+1 and conclude f(n)=n. Remove the invented nonidentity assumptions and replace the erroneous iteration exponent k by the source’s2^k where that derived identity is stated.
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_43566 (f : ℕ → ℕ) (h₀ : ∃ x, f x ≠ x) (h₁ : ∃ x, f x ≠ x + 1) (h₂ : ∀ n, 1 < n → ∀ k, f (n + k) = f^[k] (f n) + k) : ∀ n, f n = n := by sorry