Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(77), p. 34 — Z̄_n(x) − Z0(x) ≤ (1/n)Σ h̃_i + 2((1/n)Σ h̃_i²)/λ + λ q/(2n) when max_i |h̃_i| ≤ λ/2

Proved
EmpiricalDRO.Consistency.eq77_upper_bound

by mikedeng1 · Oct 8, 2026 · Mathlib 0df444a (Lean v4.33.1)

burg-entropydistributionally-robust-optimizationlagrangian-dualityp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let n≥1n\ge1n≥1, let z=(z1,…,zn)z=(z_1,\dots,z_n)z=(z1​,…,zn​) be real numbers, let μ∈R\mu\in\mathbb Rμ∈R, q≥0q\ge0q≥0 and λ>0\lambda>0λ>0, and write h~i=zi−μ\tilde h_i=z_i-\muh~i​=zi​−μ. Let Z‾n\overline Z_nZn​ be the maximum of ∑iziwi\sum_i z_iw_i∑i​zi​wi​ over the empirical Burg ball Un(q/(2n))\mathcal U_n(q/(2n))Un​(q/(2n)) of (19). If

max⁡1≤i≤n∣h~i∣≤λ2,\max_{1\le i\le n}|\tilde h_i|\le\frac{\lambda}{2},1≤i≤nmax​∣h~i​∣≤2λ​,

then

Z‾n−μ ≤ 1n∑i=1nh~i+2 (1/n)∑i=1nh~i2λ+λq2n.\overline Z_n-\mu\ \le\ \frac1n\sum_{i=1}^n\tilde h_i+2\,\frac{(1/n)\sum_{i=1}^n\tilde h_i^{2}}{\lambda}+\lambda\frac{q}{2n}.Zn​−μ ≤ n1​i=1∑n​h~i​+2λ(1/n)∑i=1n​h~i2​​+λ2nq​.

This is the bound (77) in the proof of Theorem 6, specialized to one decision xxx (zi=h(x;ξi)z_i=h(x;\xi_i)zi​=h(x;ξi​), μ=Z0(x)\mu=Z_0(x)μ=Z0​(x), q=χ1,1−α2q=\chi^2_{1,1-\alpha}q=χ1,1−α2​): the dual (76) evaluated at γ=0\gamma=0γ=0 and λ=λn\lambda=\lambda_nλ=λn​. With λn\lambda_nλn​ of order nεn^{\varepsilon}nε, 1/2<ε<11/2<\varepsilon<11/2<ε<1, all three terms tend to 000 almost surely, which gives the upper half of the consistency of Z‾n(x)\overline Z_n(x)Zn​(x).

Formalization Note The bound is deterministic and holds for every λ>0\lambda>0λ>0 satisfying the hypothesis; the asymptotic choice λn=Θ(nε)\lambda_n=\Theta(n^\varepsilon)λn​=Θ(nε) and the event "eventually" belong to the proof of Theorem 3. The radius q/(2n)q/(2n)q/(2n) is ρ=q/2\rho=q/2ρ=q/2 in robustMean's radius ρ/n\rho/nρ/n.

Preamble
import Mathlib
import Definitions.Def_EmpiricalDRO_Consistency_Setting

open MeasureTheory ProbabilityTheory Filter Topology
Formal statement
namespace EmpiricalDRO.Consistency

/-- (77), Lam, arXiv:1605.09349v1, p. 34, at a single decision: if every centred observation
satisfies `|zᵢ − μ| ≤ λ/2` for some `λ > 0`, then
`Z̄_n − μ ≤ (1/n) ∑ᵢ (zᵢ − μ) + 2 ((1/n) ∑ᵢ (zᵢ − μ)²)/λ + λ q/(2n)`,
where `Z̄_n` is the upper robust value over the Burg ball of radius `q/(2n)`. -/
theorem eq77_upper_bound {n : ℕ} (hn : 0 < n) (z : Fin n → ℝ) (μ q lam : ℝ) (hq : 0 ≤ q)
    (hlam : 0 < lam) (hmax : ∀ i, |z i - μ| ≤ lam / 2) :
    GenEmpLik.Expansion.robustMean EmpiricalDRO.Coverage.burg (q / 2) z - μ ≤
      (1 / (n : ℝ)) * ∑ i, (z i - μ) + 2 * ((1 / (n : ℝ)) * ∑ i, (z i - μ) ^ 2) / lam +
        lam * (q / (2 * n)) := by sorry

end EmpiricalDRO.Consistency
Source
Lam, Recovering Best Statistical Guarantees via the Empirical DRO, arXiv:1605.09349v1, p. 34, proof of Theorem 6, (77) and the two sentences before it
Human review
  • Endorsed by Shuze Chen · Oct 9, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 9, 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