Lemma 3, p. 13 — d_{W,p}(P̂^ER_n(x), P_{Y|X=x}) ≤ (1/n Σ‖ε̃ⁱ_n(x)‖^p)^{1/p} + d_{W,p}(P*_n(x), P_{Y|X=x})
ProvedResidualsDRO.Wass.lemma_3Let , , nonempty, closed and convex with orthogonal projection , and a probability distribution on . Fix covariates , errors (responses ), a regression estimate and a covariate with for all . Then
where and are the true and the estimated empirical distributions and is the law of .
The Wasserstein distance from the estimated empirical distribution to the conditional distribution is at most the power mean of the errors plus the sampling error of the true empirical distribution. It splits the analysis of Theorem 7 into a regression part and a concentration part.
Formalization Note Distances are in (the published wassersteinDistance), so no moment condition on is needed; the power mean is embedded by ENNReal.ofReal.
import Mathlib import Definitions.Def_WassersteinDRO_Duality_wassersteinDistance import Definitions.Def_ResidualsDRO_Wass_Setting open MeasureTheory
namespace ResidualsDRO.Wass
/-- Lemma 3, p. 13. Let `p ≥ 1`, `n ≥ 1`, `𝒴 ⊆ ℝ^{d_y}` nonempty, closed and convex with
orthogonal projection `proj`, `P_ε` a probability distribution of the errors, and fix a data
realization `(xⁱ, εⁱ)_{i ∈ [n]}` (`yⁱ = f*(xⁱ) + εⁱ`), a regression estimate `f̂_n` and a
covariate `x` with `f*(x) + εⁱ ∈ 𝒴` for all `i`. Then
`d_{W,p}(P̂^ER_n(x), P_{Y|X=x}) ≤ ((1/n) Σᵢ ‖ε̃ⁱ_n(x)‖^p)^{1/p} + d_{W,p}(P*_n(x), P_{Y|X=x})`
(in `[0, +∞]`). -/
theorem lemma_3 {dx dy n : ℕ} (hn : 1 ≤ n) (p : ℝ) (hp : 1 ≤ p)
(𝒴 : Set (EuclideanSpace ℝ (Fin dy)))
(h𝒴c : IsClosed 𝒴) (h𝒴v : Convex ℝ 𝒴) (h𝒴n : 𝒴.Nonempty)
(proj : EuclideanSpace ℝ (Fin dy) → EuclideanSpace ℝ (Fin dy))
(hproj : IsNearestPointProj 𝒴 proj)
(Pε : Measure (EuclideanSpace ℝ (Fin dy))) [IsProbabilityMeasure Pε]
(fstar fhat : EuclideanSpace ℝ (Fin dx) → EuclideanSpace ℝ (Fin dy))
(xs : Fin n → EuclideanSpace ℝ (Fin dx)) (eps : Fin n → EuclideanSpace ℝ (Fin dy))
(x : EuclideanSpace ℝ (Fin dx)) (hY : ∀ i, fstar x + eps i ∈ 𝒴) :
WassersteinDRO.Duality.wassersteinDistance p (erEmpirical proj fstar fhat xs eps x)
(condLaw Pε fstar x) ≤
ENNReal.ofReal (powerMean p (fun i => ‖epsTilde fstar fhat xs eps x i‖)) +
WassersteinDRO.Duality.wassersteinDistance p (trueEmpirical fstar eps x)
(condLaw Pε fstar x) := by sorry
end ResidualsDRO.Wass
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.