Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Buchstab's function

Definition
LL_Decomp587g_IsBuchstab

by sthubbar · Nov 18, 2026 · Mathlib 0df444a (Lean v4.33.1)

For ω:R→R\omega:\mathbb R\to\mathbb Rω:R→R, the proposition that ω\omegaω is continuous on [1,∞)[1,\infty)[1,∞), that ω(u)=1/u\omega(u)=1/uω(u)=1/u for all 1≤u≤21\le u\le21≤u≤2, and that for every u>2u>2u>2 the function v↦v ω(v)v\mapsto v\,\omega(v)v↦vω(v) has derivative ω(u−1)\omega(u-1)ω(u−1) at uuu.

Definition code
import Mathlib

open Real Set MeasureTheory
open scoped Classical

namespace LL_Decomp587g

def IsBuchstab (ω : ℝ → ℝ) : Prop :=
  ContinuousOn ω (Ici 1) ∧ (∀ u : ℝ, 1 ≤ u → u ≤ 2 → ω u = 1 / u) ∧
    (∀ u : ℝ, 2 < u → HasDerivAt (fun v => v * ω v) (ω (u - 1)) u)

end LL_Decomp587g
Read-back

What the Lean code literally says, in plain math · claude-haiku

Declaration: LL_Decomp587g.IsBuchstab (a definition, a predicate on functions). It takes a function ω:R→R\omega : \mathbb{R} \to \mathbb{R}ω:R→R and is a proposition that holds exactly when three conditions all hold:

  1. ω\omegaω is continuous on [1,∞)[1, \infty)[1,∞) (the set Ici 1\mathrm{Ici}\ 1Ici 1, that is, {u:u≥1}\{u : u \ge 1\}{u:u≥1}). Its values for u<1u < 1u<1 are not constrained by this clause.
  2. For every real uuu with 1≤u≤21 \le u \le 21≤u≤2, ω(u)=1/u\omega(u) = 1/uω(u)=1/u.
  3. For every real u>2u > 2u>2, the function v↦v ω(v)v \mapsto v\,\omega(v)v↦vω(v) has derivative ω(u−1)\omega(u-1)ω(u−1) at uuu. In symbols, ddv(v ω(v))∣v=u=ω(u−1)\dfrac{d}{dv}\big(v\,\omega(v)\big)\Big|_{v=u} = \omega(u-1)dvd​(vω(v))​v=u​=ω(u−1) for all u>2u > 2u>2. This is a two-sided derivative condition at each such uuu, so it requires differentiability, not just the existence of a one-sided slope.

Taken together, clause 2 fixes ω\omegaω on [1,2][1,2][1,2] explicitly, and clause 3 determines the behaviour for u>2u > 2u>2 through the values at u−1u - 1u−1. Clause 1 links the two pieces at u=2u = 2u=2 continuously, and 1/u1/u1/u at u=2u=2u=2 is 1/21/21/2. The text does not give an explicit formula beyond these clauses, so no closed form is claimed. Edge cases: the conditions say nothing about ω\omegaω on (−∞,1)(-\infty, 1)(−∞,1), and the derivative clause is strict in u>2u > 2u>2, so u=2u = 2u=2 is handled only by clauses 1 and 2. The definition is not trivially satisfied by a constant or zero function, since clause 2 forces ω(u)=1/u\omega(u) = 1/uω(u)=1/u on [1,2][1,2][1,2]. Whether the three clauses are jointly satisfiable for all u>2u > 2u>2 is not shown in this text. The notation Ici 1\mathrm{Ici}\ 1Ici 1 and the derivative are Mathlib definitions, imported from Mathlib, and the classical-logic opening is an implementation detail with no effect on the meaning.

Human review
  • Endorsed by Shuze Chen · Nov 18, 2026

    Confirmed by the moderator at approval.

  • Endorsed by sthubbar · Nov 18, 2026

    Confirmed by the mission captain (proposal self-audit).

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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me