Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(30) — the Huber/quadratic sandwich 2(1−Cϵ)hϵ(t)≤f(t+1)≤(1+Cϵ)t22(1-C\epsilon)h_\epsilon(t)\le f(t+1)\le(1+C\epsilon)t^22(1−Cϵ)hϵ​(t)≤f(t+1)≤(1+Cϵ)t2

Proved
GenEmpLik.Expansion.eq_30

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

convex-analysisf-divergencep2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1

Let fff satisfy Assumption A. There exist constants 0<c,C<∞0<c,C<\infty0<c,C<∞, depending only on fff, such that for every ϵ\epsilonϵ with 0<ϵ≤c0<\epsilon\le c0<ϵ≤c:

  1. for every t≥−1t\ge-1t≥−1,
2(1−Cϵ) hϵ(t)≤f(t+1);2(1-C\epsilon)\,h_\epsilon(t)\le f(t+1);2(1−Cϵ)hϵ​(t)≤f(t+1);
  1. for every ttt with ∣t∣≤ϵ|t|\le\epsilon∣t∣≤ϵ,
f(t+1)≤(1+Cϵ) t2.f(t+1)\le(1+C\epsilon)\,t^2 .f(t+1)≤(1+Cϵ)t2.

Here hϵh_\epsilonhϵ​ is the Huber function. The sandwich compares the divergence ball with a quadratic (χ²) ball from inside and a Huber ball from outside, which is how the robust mean is reduced to the sample variance.

Formalization Note The paper writes the upper bound as f(t+1)≤(1+Cϵ)t2+I[−ϵ,ϵ](t)f(t+1)\le(1+C\epsilon)t^2+\mathbf I_{[-\epsilon,\epsilon]}(t)f(t+1)≤(1+Cϵ)t2+I[−ϵ,ϵ]​(t) "for all t∈Rt\in\mathbb Rt∈R"; with the convex indicator I\mathbf II (000 on the interval, +∞+\infty+∞ off it) this is exactly clause 2. The lower bound is stated for t≥−1t\ge-1t≥−1, the arguments at which f(t+1)f(t+1)f(t+1) is defined. "∣ϵ∣≤c|\epsilon|\le c∣ϵ∣≤c" is read as 0<ϵ≤c0<\epsilon\le c0<ϵ≤c, since hϵh_\epsilonhϵ​ is defined for ϵ>0\epsilon>0ϵ>0 only. Values of fff are in EReal.

Preamble
import Mathlib
import Definitions.Def_GenEmpLik_Expansion_AssumptionA
import Definitions.Def_GenEmpLik_Expansion_huber
Formal statement
namespace GenEmpLik.Expansion

/-- (30) (Duchi, Glynn & Namkoong, arXiv:1610.03425v3, p. 32): under Assumption A there are
constants `0 < c, C < ∞`, depending only on `f`, such that for every `0 < ε ≤ c`
`2(1 − Cε) h_ε(t) ≤ f(t + 1)` for all `t ≥ −1`, and `f(t + 1) ≤ (1 + Cε) t²` for `|t| ≤ ε`.
The paper's `+ I_{[−ε,ε]}(t)` is the `{0, +∞}` indicator, so the upper bound is only a
constraint for `|t| ≤ ε`; `f(t + 1)` is only defined for `t ≥ −1`. -/
theorem eq_30 (f : ℝ → EReal) (hA : AssumptionA f) :
    ∃ c C : ℝ, 0 < c ∧ 0 < C ∧ ∀ ε : ℝ, 0 < ε → ε ≤ c →
      (∀ t : ℝ, -1 ≤ t → ((2 * (1 - C * ε) * huber ε t : ℝ) : EReal) ≤ f (t + 1)) ∧
      (∀ t : ℝ, |t| ≤ ε → f (t + 1) ≤ (((1 + C * ε) * t ^ 2 : ℝ) : EReal)) := by sorry

end GenEmpLik.Expansion
Source
Duchi, Glynn & Namkoong, Statistics of Robust Optimization: A Generalized Empirical Likelihood Approach, arXiv:1610.03425v3, p. 32, App. A.1, (30)
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