Lemma 1: characterization of two-point support by conditions (a)–(c)
ProvedRobustMeanCov.TwoPoint.lemma1Let . Then has the two-point support property if and only if for every and every there exist and such that
- ;
- ;
- for all , where
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 , as in the paper. The two-point support property is the definition TwoPointSupport (Definition 1), not these conditions.
import Mathlib import Definitions.Def_RobustMeanCov_TwoPoint_TwoPointSupport import Definitions.Def_RobustMeanCov_TwoPoint_Lemma1Quadratic
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
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let 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. satisfies the predicate . 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 alone. What it requires cannot be determined from this declaration.
Right side. For every real and every real with , there exist real numbers such that all four of the following hold:
- (strict);
- ;
- for every real , .
Here stands for , 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 , , , , and the point . The code itself does not establish whether it is a quadratic in , or which coefficients it has.
A few points about the right side:
- The numbers and 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 .
- The inequality in condition 4 must hold for all real , not just on . It is non-strict ().
- The witnesses may depend on both and .
Degenerate and edge cases.
- Division. Condition 3 divides by , and makes this strictly positive, so Lean's convention that never applies.
- The window around . Because , we have . Together with , condition 2 forces and to be nonzero with the same sign. Since , both must be positive, so . The right side therefore requires such a strict bracket around every real , for every positive , however large.
- Non-positive . Values are excluded by the hypothesis, so the right side places no requirement on them.
- Empty or trivial types. The only types involved are and functions , so there are no empty or one-element types and no natural-number counts or horizons.
- Pathological . Since is arbitrary, the equivalence is claimed even for wildly discontinuous or unbounded .
- What the statement does not settle. It does not say whether either side holds for any particular , or whether either side can be satisfied at all. That depends entirely on the unshown definitions of and . For example, if both sides fail for every , the equivalence holds trivially.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.