Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

p. 13, proof of Theorem 3.2 — both tails of f̂_N(x) − f(x) decay exponentially in N

Proved
SAARate.Polyhedral.pointwise_exponential_bounds

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

large-deviationsp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1sample-average-approximationstochastic-programming

Let Ω\OmegaΩ be finite, PPP a probability measure on Ω\OmegaΩ, h:Rm×Ω→Rh:\mathbb R^m\times\Omega\to\mathbb Rh:Rm×Ω→R, and ω1,ω2,…\omega^1,\omega^2,\dotsω1,ω2,… an i.i.d. sample from PPP on a probability space (S,Q)(S,Q)(S,Q). Fix x∈Rmx\in\mathbb R^mx∈Rm and ε>0\varepsilon>0ε>0. Then there are β1>0\beta_1>0β1​>0 and β2>0\beta_2>0β2​>0 with

lim sup⁡N→∞1Nlog⁡Q(f^N(x)≥f(x)+ε)≤−β1,lim sup⁡N→∞1Nlog⁡Q(f^N(x)≤f(x)−ε)≤−β2.\limsup_{N\to\infty}\frac1N\log Q\big(\hat f_N(x)\ge f(x)+\varepsilon\big)\le-\beta_1,\qquad \limsup_{N\to\infty}\frac1N\log Q\big(\hat f_N(x)\le f(x)-\varepsilon\big)\le-\beta_2 .N→∞limsup​N1​logQ(f^​N​(x)≥f(x)+ε)≤−β1​,N→∞limsup​N1​logQ(f^​N​(x)≤f(x)−ε)≤−β2​.

Here f^N(x)\hat f_N(x)f^​N​(x) is the mean of NNN i.i.d. bounded real random variables h(x,ωj)h(x,\omega^j)h(x,ωj) with expectation f(x)f(x)f(x), so both tails are one-dimensional large deviations. Applied at each of the finitely many points x1,…,xqx_1,\dots,x_qx1​,…,xq​ of Lemma 2.4 (c), it turns the union bound of p. 13 into the rate of Theorem 3.2.

Formalization Note "∃β>0\exists\beta>0∃β>0 with lim sup⁡NN−1log⁡Q(⋅)≤−β\limsup_N N^{-1}\log Q(\cdot)\le-\betalimsupN​N−1logQ(⋅)≤−β" is stated in the equivalent form: for every δ>0\delta>0δ>0, eventually Q(⋅)≤e−(β−δ)NQ(\cdot)\le e^{-(\beta-\delta)N}Q(⋅)≤e−(β−δ)N. This avoids the logarithm of a probability that may be 000. Hypotheses (ii)–(iv) of Theorem 2.3 play no role in this step and are not assumed.

Preamble
import Mathlib
import Definitions.Def_SAARate_Polyhedral_Setting

open MeasureTheory ProbabilityTheory Filter
Formal statement
namespace SAARate.Polyhedral

/-- Proof of Theorem 3.2, p. 13: for a finite scenario space, a fixed point `x` and `ε > 0`,
both tails `P(f̂_N(x) ≥ f(x) + ε)` and `P(f̂_N(x) ≤ f(x) − ε)` decay exponentially:
there is `β > 0` with `limsup_N N⁻¹ log P(·) ≤ −β`, stated in ε-form
(`∀ δ > 0`, eventually `P(·) ≤ exp(−(β − δ) N)`). -/
theorem pointwise_exponential_bounds {m : ℕ} {Ω : Type*} [Fintype Ω] [MeasurableSpace Ω]
    [MeasurableSingletonClass Ω] (P : Measure Ω) [IsProbabilityMeasure P]
    (h : SAARate.Sharp.E m → Ω → ℝ)
    {S : Type*} [MeasurableSpace S] (Q : Measure S) [IsProbabilityMeasure Q]
    (ω : ℕ → S → Ω) (hω : SAARate.SharpLD.IsIIDSample Q P ω) (x : SAARate.Sharp.E m) (ε : ℝ) (hε : 0 < ε) :
    (∃ β > 0, ∀ δ > 0, ∀ᶠ N : ℕ in atTop,
        Q {s | SAARate.Sharp.expectedObj P h x + ε ≤ SAARate.Sharp.saaObj h (fun j => ω j s) N x} ≤
          ENNReal.ofReal (Real.exp (-(β - δ) * (N : ℝ)))) ∧
      (∃ β > 0, ∀ δ > 0, ∀ᶠ N : ℕ in atTop,
        Q {s | SAARate.Sharp.saaObj h (fun j => ω j s) N x ≤ SAARate.Sharp.expectedObj P h x - ε} ≤
          ENNReal.ofReal (Real.exp (-(β - δ) * (N : ℝ)))) := by sorry

end SAARate.Polyhedral
Source
Shapiro & Homem-de-Mello, On Rate of Convergence of Optimal Solutions of Monte Carlo Approximations of Stochastic Programs, preprint (SPEPS copy, edoc.hu-berlin.de), p. 13, proof of Theorem 3.2, the two lim sup displays
Human review
  • Endorsed by Shuze Chen · Oct 7, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 7, 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