Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 8 — the supremum of uTzu^TzuTz over Usm\mathcal U_{\rm sm}Usm​ equals ρ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_8

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 and z∈Rnz\in\mathbb R^nz∈Rn. Write zˉn=1n∑izi\bar z_n=\frac1n\sum_i z_izˉn​=n1​∑i​zi​, z2‾n=1n∑izi2\overline{z^2}_n=\frac1n\sum_i z_i^2z2n​=n1​∑i​zi2​ and sn(z)2=z2‾n−zˉn2s_n(z)^2=\overline{z^2}_n-\bar z_n^2sn​(z)2=z2n​−zˉn2​. 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∈UsmuTz=ρnsn(z)2⋅11+Cϵ,\sup_{u\in\mathcal U_{\rm sm}}u^Tz=\sqrt{\frac\rho n s_n(z)^2}\cdot\frac{1}{\sqrt{1+C\epsilon}},u∈Usm​sup​uTz=nρ​sn​(z)2​⋅1+Cϵ​1​,

where Usm={u:1Tu=0, ∥nu∥∞≤ϵ, (1+Cϵ)∥nu∥22≤ρ}\mathcal U_{\rm sm}=\{u:\mathbb 1^Tu=0,\ \|nu\|_\infty\le\epsilon,\ (1+C\epsilon)\|nu\|_2^2\le\rho\}Usm​={u:1Tu=0, ∥nu∥∞​≤ϵ, (1+Cϵ)∥nu∥22​≤ρ} is the small set of (31). This is the lower half of the sandwich for the robust mean.

Formalization Note zˉn\bar z_nzˉn​ and sn(z)2s_n(z)^2sn​(z)2 are the published empMean and empVar (1/n1/n1/n normalisation); sn(z)=sn(z)2s_n(z)=\sqrt{s_n(z)^2}sn​(z)=sn​(z)2​; ∥z−zˉn1∥∞\|z-\bar z_n\mathbb 1\|_\infty∥z−zˉn​1∥∞​ is ⨆ i, |z i - empMean z|. The supremum is a real sSup of a non-empty bounded set.

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 8 (Duchi, Glynn & Namkoong, arXiv:1610.03425v3, p. 32). Let `s_n(z)² = \overline{z²}_n − z̄_n²`
(`empVar z`). If `‖z − z̄_n‖_∞ / √n ≤ ε s_n(z) √((1 + Cε)/ρ)`, then
`sup_{u ∈ 𝒰_sm} uᵀz = √(ρ/n · s_n(z)²) · 1/√(1 + Cε)`. -/
theorem lemma_8 {n : ℕ} (hn : 0 < n) {ρ ε C : ℝ} (hρ : 0 < ρ) (hε : 0 < ε) (hC : 0 ≤ C)
    (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) '' Usm 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, p. 32, Lemma 8
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