(9) — derivative of the two-point objective in
ProvedRobustMeanCov.OnePoint.twoPointValue_hasDerivAtcalculusp2o-batch-p100ap2o-gran-per-chapterp2o-plan-paperp2o-v1two-point-distribution
Let be differentiable, , and . Write the two support points of (8) as
Then is differentiable at with
This formula is display (9) of the paper. Its sign is the trapezoidal-rule error for , which is how the convexity or concavity of controls the monotonicity of .
Formalization Note The statement is made for every real ; the paper's is a special case.
Preamble
import Mathlib import Definitions.Def_RobustMeanCov_OnePoint_twoPointValue
Formal statement
namespace RobustMeanCov.OnePoint
theorem twoPointValue_hasDerivAt (u : ℝ → ℝ) (hu : Differentiable ℝ u) (m s p : ℝ)
(hp : p ∈ Set.Ioo (0 : ℝ) 1) :
HasDerivAt (fun q : ℝ => twoPointValue u m s q)
(u (m + Real.sqrt ((1 - p) / p) * s) - u (m - Real.sqrt (p / (1 - p)) * s)
- ((m + Real.sqrt ((1 - p) / p) * s) - (m - Real.sqrt (p / (1 - p)) * s))
* (deriv u (m + Real.sqrt ((1 - p) / p) * s)
+ deriv u (m - Real.sqrt (p / (1 - p)) * s)) / 2) p := by sorry
end RobustMeanCov.OnePoint
Source
Popescu, Robust Mean-Covariance Solutions for Stochastic Optimization, Oper. Res. 55(1), 2007, p. 102, §3.1, (9)
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
This is a theorem. Let be differentiable at every point, with derivative . Let be real numbers with . No condition is placed on or . Put
Consider the function . The theorem asserts that is differentiable at the point , with derivative
Degenerate cases:
- Endpoints and outside. is restricted to the open interval , so the junk conventions (square root of a negative is , division by zero is ) never occur at itself. Nothing is claimed at , at , or outside .
- When : and the asserted derivative is .
- When : . The formula is asserted unchanged.
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.