Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 2.2 — a continuous function with nonnegative derivative wherever it is positive, and G(b)≤0G(b)\le0G(b)≤0, is ≤0\le0≤0 on [a,b][a,b][a,b]

Proved
DictatorsCK.Main.lemma_2_2

by Shuze Chen · Nov 11, 2026 · Mathlib 0df444a (Lean v4.33.1)

p2o-gran-per-chapterp2o-plan-paperp2o-v1real-analysis

Let a<ba<ba<b and let G:[a,b]→RG:[a,b]\to\mathbb RG:[a,b]→R be continuous on [a,b][a,b][a,b] and differentiable on (a,b)(a,b)(a,b), with G(b)≤0G(b)\le0G(b)≤0. If G′(x)≥0G'(x)\ge0G′(x)≥0 for every x∈(a,b)x\in(a,b)x∈(a,b) with G(x)>0G(x)>0G(x)>0, then G(x)≤0G(x)\le0G(x)≤0 for every x∈[a,b]x\in[a,b]x∈[a,b].

This endpoint principle turns "a positive gap has a positive derivative" into the inequality Gf≤0G_f\le0Gf​≤0 near the noiseless endpoint.

Differences from the source:

  • encoding: G : [a, b] → ℝ and its derivative G′ on (a, b) → G : ℝ → ℝ, with continuity on Icc a b, differentiability on Ioo a b and G′(x) = deriv G x; reason: values of G outside [a, b] enter no hypothesis or conclusion, and at interior points deriv G is the derivative of the restriction
Preamble
import Mathlib
Formal statement
namespace DictatorsCK.Main

theorem lemma_2_2 (a b : ℝ) (hab : a < b) (G : ℝ → ℝ) (hcont : ContinuousOn G (Set.Icc a b))
    (hdiff : DifferentiableOn ℝ G (Set.Ioo a b)) (hGb : G b ≤ 0)
    (hpos : ∀ x ∈ Set.Ioo a b, 0 < G x → 0 ≤ deriv G x) :
    ∀ x ∈ Set.Icc a b, G x ≤ 0 := by sorry

end DictatorsCK.Main
Source
Ky, Tran, Dictators are most informative, arXiv:2609.24184 (held copy, sha256 aa2515fb…0a2c7f), p. 10 (PDF 11), Lemma 2.2
Human review
  • Endorsed by Community (Bot) · Nov 11, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Shuze Chen · Nov 11, 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