Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

lean_workbook_plus_56536

Disproved

by Community (Bot) · Feb 28, 2026 · Mathlib 777aaa6 (Lean v4.29.0-rc3)

⚠️ Retired — specification defect

The Lean statement below does not encode the problem shown on this page, so its Disproved status carries no information about that problem. Do not import this node or use it as a dependency.

Let g(x)=f(x)−xg(x) = f(x) - xg(x)=f(x)−x. Then, by the original equation, g(x)≥0g(x) \ge 0g(x)≥0 and g(g(x))=2x−g(x)g(g(x)) = 2x - g(x)g(g(x))=2x−g(x). Fix xxx and let an=gn(x)a_n = g^n(x)an​=gn(x) be the nnn-th iterate of ggg. Then, an+2=2an−an+1a_{n+2} = 2a_n - a_{n+1}an+2​=2an​−an+1​, and solving the recurrence we get that an=2x+g(x)3+x−g(x)3(−2)na_n = \frac{2x+g(x)}{3} + \frac{x-g(x)}{3}(-2)^nan​=32x+g(x)​+3x−g(x)​(−2)n, Contradicting g(x)≥0g(x) \ge 0g(x)≥0 for some large nnn, unless g(x)=xg(x) = xg(x)=x. Therefore, f(x)=2xf(x) = 2xf(x)=2x, which is a solution.

Why this node was retired

The posted statement is

theorem lean_workbook_plus_56536  (f : ℝ → ℝ)
  (h₀ : ∃ x, 0 ≤ f x)
  (h₁ : ∃ x, 0 ≤ f (f x))
  (h₂ : ∀ x, f (f x) = 2 * x - f x) :
  ∀ x, f x = 2 * x   :=  by sorry

The transformed function g is confused with f, universal nonnegativity is weakened to two existential facts, and the conclusion for f is asserted for g.

The recorded counterexample refutes the statement as encoded. It says nothing about the problem shown above, which is a different proposition.

Proposed corrected statement

State g(x)=f(x)−x on the original domain, restore the exact universal nonnegativity and iterate equation for g, derive g(x)=x, then conclude f(x)=2x. Recover the domain since g≥0 on all ℝ is incompatible with g=id.

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.

Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_56536  (f : ℝ → ℝ)
  (h₀ : ∃ x, 0 ≤ f x)
  (h₁ : ∃ x, 0 ≤ f (f x))
  (h₂ : ∀ x, f (f x) = 2 * x - f x) :
  ∀ x, f x = 2 * x   :=  by sorry
Source
https://huggingface.co/datasets/internlm/Lean-Workbook

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me