An oracle inequality for nonparametric least squares (Theorem 13.13)
ProvedHighDimStat.NonparametricLS.thm13_13_oracle_inequalityTheorem 13.13 (p. 433), the goal of this mission. Let be any positive solution of , where (no longer requiring ). There are universal positive constants — not depending on the covariate space, sample size, function class, , , or — such that for any , the nonparametric least-squares estimate satisfies, simultaneously for every ,
with probability at least .
This is called an oracle inequality because — attained at by optimizing the right-hand side over — is the error that would be achievable only by an oracle with direct access to uncorrupted samples of ; the bound shows the least-squares estimate pays only a constant-factor penalty on this error, plus the estimation-error term . Setting (when ) recovers Theorem 13.5 up to constants.
Formalization Note The universal quantification over is placed
before the quantification over the covariate type, sample size, function class and all
other instance data, so the constants cannot secretly depend on the problem instance. The
infimum over is a real infimum over the (nonempty, e.g. )
subtype {r : ℝ // r ∈ Set.Ioo 0 1}.
import Mathlib import Definitions.Def_HighDimStat_NonparametricLS_Core
namespace HighDimStat.NonparametricLS
open MeasureTheory
/-- **Theorem 13.13** (p. 433, PDF 453), the goal of this mission: an oracle inequality for
nonparametric least squares. Let `δn` be any positive solution of `Gₙ(δ; ∂F)/δ ≤ δ/(2σ)`
(Eq. (13.42a), with `∂F = F − F`, no longer requiring `f* ∈ F`). There are **universal**
positive constants `(c0, c1, c2)` — independent of `X`, `n`, `F`, `f*`, `σ`, `δn`, `t` — such
that for any `t ≥ δn`, the least-squares estimate `f̂ₙ` satisfies, simultaneously for every
`f ∈ F`,
`‖f̂ₙ − f*‖ₙ² ≤ inf_{γ∈(0,1)} [ (1+γ)/(1−γ) · ‖f − f*‖ₙ² + c0/(γ(1−γ)) · tδn ]`,
with probability at least `1 − c1 exp(−c2 n t δn / σ²)` (Eq. (13.42b)). -/
theorem thm13_13_oracle_inequality :
∃ c0 c1 c2 : ℝ, 0 < c0 ∧ 0 < c1 ∧ 0 < c2 ∧
∀ {X Ω : Type*} [MeasurableSpace Ω] {n : ℕ}, 0 < n →
∀ (x : Fin n → X) (w : Fin n → Ω → ℝ) (P : Measure Ω) [IsProbabilityMeasure P],
IsIIDStdGaussian P w →
∀ (F : Set (X → ℝ)) (fStar : X → ℝ), IsStarShaped (diffClass F) →
∀ (σ : ℝ), 0 < σ →
∀ (y : Ω → Fin n → ℝ), (∀ ω i, y ω i = fStar (x i) + σ * w i ω) →
∀ (fHat : Ω → (X → ℝ)), (∀ ω, IsLeastSquaresEstimate x F (y ω) (fHat ω)) →
∀ (δn t : ℝ), SatisfiesCriticalInequality x w P (diffClass F) σ δn → δn ≤ t →
1 - c1 * Real.exp (-c2 * ↑n * t * δn / σ ^ 2) ≤
P.real {ω | ∀ f ∈ F, empiricalNormSq x (fun z => fHat ω z - fStar z) ≤
⨅ γ : {r : ℝ // r ∈ Set.Ioo (0 : ℝ) 1},
(1 + γ.1) / (1 - γ.1) * empiricalNormSq x (fun z => f z - fStar z)
+ c0 / (γ.1 * (1 - γ.1)) * t * δn} := by sorry
end HighDimStat.NonparametricLS
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.