Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 1: characterization of two-point support by conditions (a)–(c)

Proved
RobustMeanCov.TwoPoint.lemma1

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

moment-classp2o-batch-p100ap2o-gran-per-chapterp2o-plan-paperp2o-v1two-point-support

Let u:R→Ru:\mathbb R\to\mathbb Ru:R→R. Then uuu has the two-point support property if and only if for every μ∈R\mu\in\mathbb Rμ∈R and every σ>0\sigma>0σ>0 there exist a<ba<ba<b and qa,qb∈Rq_a,q_b\in\mathbb Rqa​,qb​∈R such that

  1. (b−μ)(μ−a)=σ2(b-\mu)(\mu-a)=\sigma^2(b−μ)(μ−a)=σ2;
  2. u(b)−u(a)b−a=qa+qb2\dfrac{u(b)-u(a)}{b-a}=\dfrac{q_a+q_b}{2}b−au(b)−u(a)​=2qa​+qb​​;
  3. q(y)=Ay2+By+C≤u(y)q(y)=Ay^2+By+C\le u(y)q(y)=Ay2+By+C≤u(y) for all y∈Ry\in\mathbb Ry∈R, where
A=qb−qa2(b−a),B=bqa−aqbb−a,C=bu(a)−au(b)b−a−ab qa−qb2(b−a).A=\frac{q_b-q_a}{2(b-a)},\quad B=\frac{bq_a-aq_b}{b-a},\quad C=\frac{bu(a)-au(b)}{b-a}-ab\,\frac{q_a-q_b}{2(b-a)} .A=2(b−a)qb​−qa​​,B=b−abqa​−aqb​​,C=b−abu(a)−au(b)​−ab2(b−a)qa​−qb​​.

The lemma turns the existence of a supporting quadratic and a two-point law into three explicit conditions on two points and two slopes; it is the tool through which Proposition 5 is proved.

Formalization Note No regularity is assumed on uuu, as in the paper. The two-point support property is the definition TwoPointSupport (Definition 1), not these conditions.

Preamble
import Mathlib
import Definitions.Def_RobustMeanCov_TwoPoint_TwoPointSupport
import Definitions.Def_RobustMeanCov_TwoPoint_Lemma1Quadratic
Formal statement
namespace RobustMeanCov.TwoPoint

/-- Lemma 1 (Popescu 2007, p. 102): `u` has two-point support if and only if for every `μ` and
every `σ > 0` there are `a < b` and `q_a, q_b` with
(a) `(b - μ)(μ - a) = σ²`, (b) `(u(b) - u(a)) / (b - a) = (q_a + q_b) / 2`, and
(c) the quadratic `q(y) = A y² + B y + C` with the coefficients of Lemma 1 lies below `u`. -/
theorem lemma1 (u : ℝ → ℝ) :
    TwoPointSupport u ↔
      ∀ μ σ : ℝ, 0 < σ →
        ∃ a b qa qb : ℝ, a < b ∧
          (b - μ) * (μ - a) = σ ^ 2 ∧
          (u b - u a) / (b - a) = (qa + qb) / 2 ∧
          ∀ y : ℝ, lemma1Quad u a b qa qb y ≤ u y := by sorry

end RobustMeanCov.TwoPoint
Source
Popescu, Robust Mean-Covariance Solutions for Stochastic Optimization, Oper. Res. 55(1), 2007, p. 102, Lemma 1
Read-back

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

Let u:R→Ru:\mathbb{R}\to\mathbb{R}u:R→R be any real function. No continuity, differentiability, convexity, measurability or boundedness is assumed. The statement says the following two conditions are equivalent (an "if and only if", so each implies the other).

Left side. uuu satisfies the predicate TwoPointSupport(u)\mathrm{TwoPointSupport}(u)TwoPointSupport(u). This predicate comes from an imported definitions file (Def_RobustMeanCov_TwoPoint_TwoPointSupport), and its Lean definition is not included in the code under audit. The statement pins down only that it is some property of uuu alone. What it requires cannot be determined from this declaration.

Right side. For every real μ\muμ and every real σ\sigmaσ with σ>0\sigma > 0σ>0, there exist real numbers a,b,qa,qba, b, q_a, q_ba,b,qa​,qb​ such that all four of the following hold:

  1. a<ba < ba<b (strict);
  2. (b−μ)(μ−a)=σ2(b-\mu)(\mu-a) = \sigma^2(b−μ)(μ−a)=σ2;
u(b)−u(a)b−a=qa+qb2;\frac{u(b)-u(a)}{b-a} = \frac{q_a+q_b}{2};b−au(b)−u(a)​=2qa​+qb​​;
  1. for every real yyy, Qu,a,b,qa,qb(y)≤u(y)Q_{u,a,b,q_a,q_b}(y) \le u(y)Qu,a,b,qa​,qb​​(y)≤u(y).

Here Qu,a,b,qa,qb(y)Q_{u,a,b,q_a,q_b}(y)Qu,a,b,qa​,qb​​(y) stands for lemma1Quad(u,a,b,qa,qb,y)\mathrm{lemma1Quad}(u,a,b,q_a,q_b,y)lemma1Quad(u,a,b,qa​,qb​,y), a real-valued function taken from a second imported file (Def_RobustMeanCov_TwoPoint_Lemma1Quadratic). Its definition is also not shown. The statement tells us only that it depends on uuu, aaa, bbb, qaq_aqa​, qbq_bqb​ and the point yyy. The code itself does not establish whether it is a quadratic in yyy, or which coefficients it has.

A few points about the right side:

  • The numbers qaq_aqa​ and qbq_bqb​ are tied down only through their average, in condition 3, and through condition 4. Nothing else constrains them; in particular, nothing links them to derivatives of uuu.
  • The inequality in condition 4 must hold for all real yyy, not just on [a,b][a,b][a,b]. It is non-strict (≤\le≤).
  • The witnesses a,b,qa,qba, b, q_a, q_ba,b,qa​,qb​ may depend on both μ\muμ and σ\sigmaσ.

Degenerate and edge cases.

  • Division. Condition 3 divides by b−ab-ab−a, and a<ba<ba<b makes this strictly positive, so Lean's convention that x/0=0x/0 = 0x/0=0 never applies.
  • The window around μ\muμ. Because σ>0\sigma>0σ>0, we have σ2>0\sigma^2>0σ2>0. Together with a<ba<ba<b, condition 2 forces b−μb-\mub−μ and μ−a\mu-aμ−a to be nonzero with the same sign. Since b−μ>a−μb-\mu > a-\mub−μ>a−μ, both must be positive, so a<μ<ba<\mu<ba<μ<b. The right side therefore requires such a strict bracket around every real μ\muμ, for every positive σ\sigmaσ, however large.
  • Non-positive σ\sigmaσ. Values σ≤0\sigma \le 0σ≤0 are excluded by the hypothesis, so the right side places no requirement on them.
  • Empty or trivial types. The only types involved are R\mathbb{R}R and functions R→R\mathbb{R}\to\mathbb{R}R→R, so there are no empty or one-element types and no natural-number counts or horizons.
  • Pathological uuu. Since uuu is arbitrary, the equivalence is claimed even for wildly discontinuous or unbounded uuu.
  • What the statement does not settle. It does not say whether either side holds for any particular uuu, or whether either side can be satisfied at all. That depends entirely on the unshown definitions of TwoPointSupport\mathrm{TwoPointSupport}TwoPointSupport and lemma1Quad\mathrm{lemma1Quad}lemma1Quad. For example, if both sides fail for every uuu, the equivalence holds trivially.
Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

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