Theorem 2, p. 9 — for 0 < ε ≤ 1, Q̂_N is ε-optimal with probability ≥ 1 − 2exp(−Nε²/(18+8ε) · min{b,h}/(b+h))
ProvedDataDrivenNV.LRS.theorem2_improved_lrs_boundImproved LRS bound. Consider the newsvendor problem with underage cost and overage cost and a real-valued demand with law and . Let , let be the critical quantile, and let be the SAA solution, the quantile of an i.i.d. sample of size from . Then for every , is -optimal, i.e. , with probability at least
The bound holds for every demand distribution. Compared with the bound of Levi, Roundy and Shmoys (2007), the exponent depends on rather than on its square, so the required sample size grows much more slowly when the critical ratio is close to or .
Formalization Note The statement bounds the probability, under the product measure , of the event that is not -optimal. The paper states the theorem "for any "; it is restricted here to , because it is false for large . Counterexample: , , with . Then , , and , so has relative regret with probability , while at the bound promises a failure probability of about . The hypothesis makes a genuine expectation; without it the Lean integral is and the statement would be trivial.
import Mathlib import Definitions.Def_DataDrivenNV_LRS_Setting open MeasureTheory ProbabilityTheory
namespace DataDrivenNV.LRS
/-- Theorem 2 (Improved LRS bound), p. 9, display (5). For a demand law `μ` with `E|D| < ∞`, an
i.i.d. sample of size `N ≥ 1` and `0 < ε ≤ 1`, the SAA quantile `Q̂_N` fails to be `ε`-optimal
with probability at most `2 exp(-(Nε²/(18 + 8ε)) · min{b,h}/(b + h))`. The restriction `ε ≤ 1`
is needed: the printed statement "for any ε > 0" fails for large `ε`. -/
theorem theorem2_improved_lrs_bound (b h : ℝ) (hb : 0 < b) (hh : 0 < h)
(μ : Measure ℝ) [IsProbabilityMeasure μ] (hμ : Integrable id μ)
(N : ℕ) (hN : 1 ≤ N) (ε : ℝ) (hε : 0 < ε) (hε1 : ε ≤ 1) :
(Measure.pi fun _ : Fin N => μ)
{x : Fin N → ℝ | ¬ IsEpsOptimal μ b h ε (saaQuantile b h x)} ≤
ENNReal.ofReal
(2 * Real.exp (-((N : ℝ) * ε ^ 2 / (18 + 8 * ε) * (min b h / (b + h))))) := by sorry
end DataDrivenNV.LRS
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.