Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Proposition 7 — the slope function d(y)d(y)d(y) is nondecreasing

Proved
RobustMeanCov.OnePoint.supportGap_monotoneOn

by mikedeng1 · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

monotonicityp2o-batch-p100ap2o-gran-per-chapterp2o-plan-paperp2o-v1supporting-quadratic

Let u:R→Ru:\mathbb R\to\mathbb Ru:R→R be differentiable with convex derivative u′u'u′, and let m∈Rm\in\mathbb Rm∈R. For y≠my\ne my=m put

d(y)=u(y)−u(m)(y−m)2−u′(m)y−m.d(y)=\frac{u(y)-u(m)}{(y-m)^2}-\frac{u'(m)}{y-m}.d(y)=(y−m)2u(y)−u(m)​−y−mu′(m)​.

Then ddd is nondecreasing on its domain {y∈R:y≠m}\{y\in\mathbb{R} : y\neq m\}{y∈R:y=m}: d(y)≤d(y′)d(y)\le d(y')d(y)≤d(y′) whenever y≤y′y\le y'y≤y′ and y,y′≠my,y'\neq my,y′=m, including y<m<y′y<m<y'y<m<y′.

In the proof of Proposition 7, d(y)≥cd(y)\ge cd(y)≥c for all y≠my\neq my=m is exactly the statement that the quadratic c(y−m)2+u′(m)(y−m)+u(m)c(y-m)^2+u'(m)(y-m)+u(m)c(y−m)2+u′(m)(y−m)+u(m) lies below uuu, so the monotonicity of ddd reduces the support question to the behaviour of ddd at −∞-\infty−∞.

Formalization Note ddd is undefined at y=my=my=m, so monotonicity is stated on {y≠m}\{y\neq m\}{y=m} (Lean's MonotoneOn on that set, which compares points on both sides of mmm, as the proof's inf⁡yd(y)=lim⁡y→−∞d(y)\inf_y d(y)=\lim_{y\to-\infty}d(y)infy​d(y)=limy→−∞​d(y) requires). The page's second denominator "y−μy-\muy−μ" is read as y−μxy-\mu_xy−μx​.

Preamble
import Mathlib
Formal statement
namespace RobustMeanCov.OnePoint

theorem supportGap_monotoneOn (u : ℝ → ℝ) (hu : Differentiable ℝ u)
    (hconv : ConvexOn ℝ Set.univ (deriv u)) (m : ℝ) :
    MonotoneOn (fun y : ℝ => (u y - u m) / (y - m) ^ 2 - deriv u m / (y - m)) {y : ℝ | y ≠ m} := by sorry

end RobustMeanCov.OnePoint
Source
Popescu, Robust Mean-Covariance Solutions for Stochastic Optimization, Oper. Res. 55(1), 2007, p. 110, Appendix, proof of Proposition 7, definition of d(y) and the display of d′(y)
Read-back

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

Hypotheses. Let u:R→Ru : \mathbb{R} \to \mathbb{R}u:R→R be a real function such that:

  • uuu is differentiable at every point of R\mathbb{R}R. Its derivative is written u′u'u′.
  • u′u'u′ is a convex function on all of R\mathbb{R}R: u′(λa+(1−λ)b)≤λu′(a)+(1−λ)u′(b)u'(\lambda a + (1-\lambda) b) \le \lambda u'(a) + (1-\lambda) u'(b)u′(λa+(1−λ)b)≤λu′(a)+(1−λ)u′(b) for all a,b∈Ra, b \in \mathbb{R}a,b∈R and λ∈[0,1]\lambda \in [0,1]λ∈[0,1]. Nothing is assumed about whether u′u'u′ is itself differentiable or continuous.

Let m∈Rm \in \mathbb{R}m∈R be an arbitrary real number. For every y≠my \neq my=m, define

g(y)  =  u(y)−u(m)(y−m)2  −  u′(m)y−m,g(y) \;=\; \frac{u(y) - u(m)}{(y-m)^2} \;-\; \frac{u'(m)}{y-m},g(y)=(y−m)2u(y)−u(m)​−y−mu′(m)​,

which can also be written as g(y)=u(y)−u(m)−u′(m)(y−m)(y−m)2g(y) = \dfrac{u(y) - u(m) - u'(m)(y-m)}{(y-m)^2}g(y)=(y−m)2u(y)−u(m)−u′(m)(y−m)​.

Conclusion. ggg is monotone non-decreasing on the set {y∈R:y≠m}=(−∞,m)∪(m,∞)\{y \in \mathbb{R} : y \neq m\} = (-\infty, m) \cup (m, \infty){y∈R:y=m}=(−∞,m)∪(m,∞). That is, for all a,ba, ba,b with a≠ma \neq ma=m, b≠mb \neq mb=m and a≤ba \le ba≤b,

g(a)≤g(b).g(a) \le g(b).g(a)≤g(b).

The inequality is not strict. The claim covers both open half-lines as one set, so it also covers pairs on opposite sides of the removed point: if a<m<ba < m < ba<m<b, then g(a)≤g(b)g(a) \le g(b)g(a)≤g(b). This means every value of ggg on (−∞,m)(-\infty, m)(−∞,m) is at most every value of ggg on (m,∞)(m, \infty)(m,∞), and ggg is non-decreasing within each half-line.

Degenerate cases. The point y=my = my=m is excluded from the set, so no division by zero is ever evaluated and no default values enter the statement. u′(m)u'(m)u′(m) is the true derivative, because uuu is differentiable everywhere. The hypotheses can be satisfied. For example:

  • If uuu is affine, then u′u'u′ is constant, so it is convex, and g≡0g \equiv 0g≡0.
  • If u(y)=cy2u(y) = c y^2u(y)=cy2 plus an affine function, then g≡cg \equiv cg≡c.

In both examples the conclusion holds with equality throughout. There are no counts, horizons or empty types involved, and mmm is completely unrestricted.

Human review
  • Endorsed by Shuze Chen · Sep 28, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 28, 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