Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 11, p. 613 — nearest neighbor weights satisfy condition (1) with C = β(d, a/b)

Proved
StoneRegression.NearestNeighbor.proposition_11

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

nearest-neighborsnonparametric-regressionp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1weight-functions

Let X,X1,X2,…X, X_1, X_2, \dotsX,X1​,X2​,… be i.i.d. in Rd\mathbb R^dRd with law μ\muμ, let {sn}\{s_n\}{sn​} be a regular sequence of scales with constants 0<a≤b0 < a \le b0<a≤b in (7), let n≥1n \ge 1n≥1 and let WnW_nWn​ be the nearest neighbor probability weight function (8) of a coefficient row cnc_ncn​. If fff is a nonnegative Borel function on Rd\mathbb R^dRd with Ef(X)<∞E f(X) < \inftyEf(X)<∞, then

E∑i=1nWni(X)f(Xi)≤β(d,a/b) Ef(X).E \sum_{i=1}^n W_{ni}(X) f(X_i) \le \beta(d, a/b)\, E f(X).Ei=1∑n​Wni​(X)f(Xi​)≤β(d,a/b)Ef(X).

This is condition (1) of Stone's consistency criterion for nearest neighbor weights, with a constant that depends only on the dimension and the ratio a/ba/ba/b — in particular not on nnn nor on the distribution of XXX.

Formalization Note The expectations are lower Lebesgue integrals in [0,∞][0,\infty][0,∞], and fff takes values in [0,∞)[0,\infty)[0,∞). The hypothesis is the section's standing assumption that the scales are regular (p. 599), which contains (7) with the constants a,ba, ba,b of the statement and the measurability of the scales.

Preamble
import Mathlib
import Definitions.Def_StoneRegression_Criterion_Setting
import Definitions.Def_StoneRegression_NearestNeighbor_Weights
Formal statement
namespace StoneRegression.NearestNeighbor

open MeasureTheory ProbabilityTheory Filter Topology
open scoped ENNReal NNReal

theorem proposition_11 {d : ℕ} (μ : Measure (EuclideanSpace ℝ (Fin d))) [IsProbabilityMeasure μ]
    (s : ScaleSeq d) (a b : ℝ) (hs : IsRegular μ s a b)
    (c : ℕ → ℕ → ℝ) (n : ℕ) (hn : 1 ≤ n) (hc : IsCoeffRow c n)
    (f : EuclideanSpace ℝ (Fin d) → ℝ≥0) (hf : Measurable f) (hfi : ∫⁻ x, (f x : ℝ≥0∞) ∂μ < ∞) :
    ∫⁻ ω, ∑ i : Fin n, ENNReal.ofReal (StoneRegression.Criterion.wAt (nnWeights c s) n ω i) * (f (ω (i.val + 1)) : ℝ≥0∞) ∂(StoneRegression.Criterion.xLaw μ) ≤
      (beta d (a / b) : ℝ≥0∞) * ∫⁻ x, (f x : ℝ≥0∞) ∂μ := by sorry

end StoneRegression.NearestNeighbor
Source
Stone (1977), Ann. Statist. 5, Proposition 11, p. 613; proof p. 613 and pp. 613–615 (via Proposition 12)
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