Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

lean_workbook_plus_20964

Proved

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 Proved status carries no information about that problem. Do not import this node or use it as a dependency.

A sequence of functions f(x)={00<x≤a−12aax+1−a2a−12a<x≤a+12a1a+12a<x<1f(x)= \begin{cases}0&0<x\leq \frac{a-1}{2a}\\ ax+\frac{1-a}{2}&\frac{a-1}{2a}<x\leq \frac{a+1}{2a}\\ 1&\frac{a+1}{2a}<x<1\\ \end{cases}f(x)=⎩⎨⎧​0ax+21−a​1​0<x≤2aa−1​2aa−1​<x≤2aa+1​2aa+1​<x<1​ with assumption that a>1a>1a>1.

Why this node was retired

The posted statement is

theorem lean_workbook_plus_20964 (a : ℝ) (ha : a > 1) (x : ℝ) : ∃ f : ℝ → ℝ, f x = if 0 < x ∧ x ≤ (a - 1) / (2 * a) then 0 else if (a - 1) / (2 * a) < x ∧ x ≤ (a + 1) / (2 * a) then a * x + (1 - a) / (2 * a) else if (a + 1) / (2 * a) < x ∧ x < 1 then 1 else 0   :=  by sorry

The middle formula changes (1−a)/2 to (1−a)/(2a), and ∀x∃f specifies only one value at a time rather than a single family of functions. The source fragment does not state a convergence property.

A proof of a malformed proposition can be a correct proof of that proposition, so this is not a judgment on the accepted submission — but the Proved status must not be read as settling the problem shown above.

Proposed corrected statement

For each a>1, define one function f_a on(0,1), equal to0 below (a−1)/(2a), ax+(1−a)/2 on the middle interval, and1 above (a+1)/(2a). State f_a(x) by this formula for every x. Recover the intended property of the family from the full source instead of inventing it.

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_20964 (a : ℝ) (ha : a > 1) (x : ℝ) : ∃ f : ℝ → ℝ, f x = if 0 < x ∧ x ≤ (a - 1) / (2 * a) then 0 else if (a - 1) / (2 * a) < x ∧ x ≤ (a + 1) / (2 * a) then a * x + (1 - a) / (2 * a) else if (a + 1) / (2 * a) < x ∧ x < 1 then 1 else 0   :=  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