Lemma 7 — symmetrization: E_⊗ sup_{h∈H}{E_{P_true}h − E_{P_n}h} ≤ 2E_⊗[𝔑_n(H)]
ProvedWassFSG.Lip.lemma_7Let be a probability measure on , let , and let be a family of continuous, -integrable functions . For an i.i.d. sample with empirical distribution ,
where is the Rademacher complexity (factor , no absolute value).
This is the symmetrization inequality; it turns the expected uniform deviation of empirical means into a Rademacher complexity, and is the last step of Lemma 9.
Formalization Note The page says only "a family of functions". The Lean requires each to be -integrable (so is the integral) and continuous; continuity makes the suprema lower semicontinuous, hence Borel measurable, so both expectations are genuine integrals. Every class to which the paper applies the lemma consists of Lipschitz, hence continuous, losses. Both sides are extended reals (). is assumed (the statement is false at ).
import Mathlib import Definitions.Def_RWPI_SqrtLasso_transportCost import Definitions.Def_ModelRiskOT_Duality_extIntegral import Definitions.Def_WassFSG_Lip_Setting import Definitions.Def_WassFSG_Lip_Rademacher open MeasureTheory
namespace WassFSG.Lip
theorem lemma_7 {Z : Type*} [NormedAddCommGroup Z] [NormedSpace ℝ Z] [CompleteSpace Z]
[MeasurableSpace Z] [BorelSpace Z] [SecondCountableTopology Z]
(Ptrue : Measure Z) [IsProbabilityMeasure Ptrue] (n : ℕ) (hn : 0 < n)
(H : Set (Z → ℝ)) (hcont : ∀ h ∈ H, Continuous h) (hint : ∀ h ∈ H, Integrable h Ptrue) :
ModelRiskOT.Duality.extIntegral (Measure.pi fun _ : Fin n => Ptrue)
(fun z => ⨆ h ∈ H, ((∫ x, h x ∂Ptrue - empMean z h : ℝ) : EReal))
≤ 2 * expectedRad Ptrue n H := by sorry
end WassFSG.Lip
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.