Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 9 — the supremum of uTzu^TzuTz over Ubig\mathcal U_{\rm big}Ubig​ is at most ρsn(z)2/n/1−Cϵ\sqrt{\rho s_n(z)^2/n}/\sqrt{1-C\epsilon}ρsn​(z)2/n​/1−Cϵ​

Proved
GenEmpLik.Expansion.lemma_9

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

empirical-likelihoodp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1variance-expansion

Let n≥1n\ge1n≥1, ρ>0\rho>0ρ>0, ϵ>0\epsilon>0ϵ>0, C≥0C\ge0C≥0 with Cϵ<1C\epsilon<1Cϵ<1, and z∈Rnz\in\mathbb R^nz∈Rn, with zˉn\bar z_nzˉn​, sn(z)2s_n(z)^2sn​(z)2 as in Lemma 8. If

∥z−zˉn1∥∞n≤ϵ sn(z)1−Cϵρ,\frac{\|z-\bar z_n\mathbb 1\|_\infty}{\sqrt n}\le\epsilon\, s_n(z)\sqrt{\frac{1-C\epsilon}{\rho}},n​∥z−zˉn​1∥∞​​≤ϵsn​(z)ρ1−Cϵ​​,

then

sup⁡u∈UbiguTz≤ρnsn(z)2⋅11−Cϵ,\sup_{u\in\mathcal U_{\rm big}}u^Tz\le\sqrt{\frac\rho n s_n(z)^2}\cdot\frac{1}{\sqrt{1-C\epsilon}},u∈Ubig​sup​uTz≤nρ​sn​(z)2​⋅1−Cϵ​1​,

where Ubig={u:1Tu=0, ∑ihϵ(nui)≤ρ/(2(1−Cϵ))}\mathcal U_{\rm big}=\{u:\mathbb 1^Tu=0,\ \sum_i h_\epsilon(nu_i)\le\rho/(2(1-C\epsilon))\}Ubig​={u:1Tu=0, ∑i​hϵ​(nui​)≤ρ/(2(1−Cϵ))} is the big set of (31) and hϵh_\epsilonhϵ​ the Huber function. This is the upper half of the sandwich for the robust mean.

Formalization Note The hypothesis Cϵ<1C\epsilon<1Cϵ<1 is implicit in the paper (it is needed for 1−Cϵ\sqrt{1-C\epsilon}1−Cϵ​ and for Ubig\mathcal U_{\rm big}Ubig​ to be the intended set). Conventions as in Lemma 8; the supremum is a real sSup of a non-empty set that is bounded because hϵh_\epsilonhϵ​ grows linearly.

Preamble
import Mathlib
import Definitions.Def_GenEmpLik_Expansion_reparamSets
import Definitions.Def_VarianceRegularization_Expansion_empMean
import Definitions.Def_VarianceRegularization_Expansion_empVar

open VarianceRegularization.Expansion
Formal statement
namespace GenEmpLik.Expansion

/-- Lemma 9 (Duchi, Glynn & Namkoong, arXiv:1610.03425v3, pp. 32–33). Let `s_n(z)² = \overline{z²}_n − z̄_n²`
(`empVar z`). If `Cε < 1` and `‖z − z̄_n‖_∞ / √n ≤ ε s_n(z) √((1 − Cε)/ρ)`, then
`sup_{u ∈ 𝒰_big} uᵀz ≤ √(ρ/n · s_n(z)²) · 1/√(1 − Cε)`. -/
theorem lemma_9 {n : ℕ} (hn : 0 < n) {ρ ε C : ℝ} (hρ : 0 < ρ) (hε : 0 < ε) (hC : 0 ≤ C)
    (hCε : C * ε < 1) (z : Fin n → ℝ)
    (hz : (⨆ i, |z i - empMean z|) / Real.sqrt n ≤
      ε * Real.sqrt (empVar z) * Real.sqrt ((1 - C * ε) / ρ)) :
    sSup ((fun u : Fin n → ℝ => ∑ i, u i * z i) '' Ubig n ε C ρ) ≤
      Real.sqrt (ρ / n * empVar z) * (1 / Real.sqrt (1 - C * ε)) := by sorry

end GenEmpLik.Expansion
Source
Duchi, Glynn & Namkoong, Statistics of Robust Optimization: A Generalized Empirical Likelihood Approach, arXiv:1610.03425v3, pp. 32–33, Lemma 9
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

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