Lemma 6 — on the event the robust mean lies within of the sample mean
ProvedGenEmpLik.Expansion.lemma_6Let satisfy Assumption A, , , , and let with be such that the sandwich (30) holds at : for and for . Let be a sample with empirical distribution , mean and variance . If the event
holds, then
Since holds eventually almost surely for a stationary ergodic sequence with finite variance, and can be taken arbitrarily small, this yields the variance expansion (Lemma 1).
Formalization Note The statement is deterministic: "on " is the event's inequality as a hypothesis on the sample vector. The paper's is the constant of (30) and its is at most the of (30); here the two inequalities of (30) at and are hypotheses. The paper allows , where is undefined; the statement takes . The hypothesis is implicit in the paper's . Sample mean and variance are the published empMean, empVar; the robust mean is robustMean.
import Mathlib import Definitions.Def_GenEmpLik_Expansion_AssumptionA import Definitions.Def_GenEmpLik_Expansion_huber import Definitions.Def_GenEmpLik_Expansion_robustMean import Definitions.Def_VarianceRegularization_Expansion_empMean import Definitions.Def_VarianceRegularization_Expansion_empVar open VarianceRegularization.Expansion
namespace GenEmpLik.Expansion
/-- Lemma 6 (Duchi, Glynn & Namkoong, arXiv:1610.03425v3, p. 31), deterministic form. Let `C`
be a constant for which the two inequalities of (30) hold at `ε`, with `0 < ε < 1`, `0 ≤ C`,
`Cε < 1`. On the event `ℰ_n = {max_{i ≤ n} |zᵢ − z̄_n| / √n ≤ ε s_n √((1 − Cε)/ρ)}`,
`E_{P̂n}[Z] + √(ρ/n · s_n²) / √(1 + Cε) ≤ sup_{P : D_f(P‖P̂n) ≤ ρ/n} E_P[Z]
≤ E_{P̂n}[Z] + √(ρ/n · s_n²) / √(1 − Cε)`. -/
theorem lemma_6 (f : ℝ → EReal) (hA : AssumptionA f) {n : ℕ} (hn : 0 < n) {ρ ε C : ℝ}
(hρ : 0 < ρ) (hε : 0 < ε) (hε1 : ε < 1) (hC : 0 ≤ C) (hCε : C * ε < 1)
(hlow : ∀ t : ℝ, -1 ≤ t → ((2 * (1 - C * ε) * huber ε t : ℝ) : EReal) ≤ f (t + 1))
(hup : ∀ t : ℝ, |t| ≤ ε → f (t + 1) ≤ (((1 + C * ε) * t ^ 2 : ℝ) : EReal))
(z : Fin n → ℝ)
(hE : (⨆ i, |z i - empMean z|) / Real.sqrt n ≤
ε * Real.sqrt (empVar z) * Real.sqrt ((1 - C * ε) / ρ)) :
empMean z + Real.sqrt (ρ / n * empVar z) * (1 / Real.sqrt (1 + C * ε)) ≤
robustMean f ρ z ∧
robustMean f ρ z ≤
empMean z + Real.sqrt (ρ / n * empVar z) * (1 / Real.sqrt (1 - C * ε)) := by sorry
end GenEmpLik.Expansion
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.