Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 35, p. 41 — a Chernoff tail bound for Poisson random variables

Open
SharedVehicleApprox.Pricing.Supplement.lemma_35

by mikedeng1 · Nov 23, 2026 · Mathlib 0df444a (Lean v4.33.1)

approximation-ratioclosed-queueing-networkp2o-batch-supp500p2o-gran-per-chapterp2o-plan-paperp2o-v1pricingshared-vehicle-systems

Let XXX be a Poisson random variable with mean λ>0\lambda>0λ>0 and let 0≤x≤λ0\le x\le\lambda0≤x≤λ. Then

P[X>λ+x]≤exp⁡(−x22λ(1−xλ)).\mathbb P[X>\lambda+x]\le\exp\Bigl(-\frac{x^2}{2\lambda}\Bigl(1-\frac{x}{\lambda}\Bigr)\Bigr).P[X>λ+x]≤exp(−2λx2​(1−λx​)).

In the proof of Lemma 17 this bounds the probability that too many units are in transit at once.

Formalization Note The law is Mathlib's Poisson measure on N\mathbb NN, and the event is the strict one.

Differences from the source:

  • encoding: X ∼ Poisson(λ) → Mathlib’s poissonMeasure λ with 0 < λ; reason: the bound divides by λ, so λ = 0 (which forces x = 0) is the case in which the printed formula is undefined
Preamble
import Mathlib
import Definitions.Def_QueueingFundamentals_Networks_ClosedJackson
import Definitions.Def_SharedVehicleApprox_Pricing_Model

open Finset QueueingFundamentals.Networks
Formal statement
namespace SharedVehicleApprox.Pricing.Supplement

/-- Lemma 35, p. 41: for `X ∼ Poisson(lam)` with `lam > 0` and `0 ≤ x ≤ lam`,
`P[X > lam + x] ≤ exp (−(x² / (2 lam)) (1 − x / lam))`. -/
theorem lemma_35 (lam : NNReal) (hlam : 0 < lam) (x : ℝ) (hx0 : 0 ≤ x) (hx : x ≤ (lam : ℝ)) :
    (ProbabilityTheory.poissonMeasure lam).real {k : ℕ | (lam : ℝ) + x < (k : ℝ)} ≤
      Real.exp (-(x ^ 2 / (2 * (lam : ℝ))) * (1 - x / (lam : ℝ))) := by sorry

end SharedVehicleApprox.Pricing.Supplement
Source
Banerjee, Freund & Lykouris, Pricing and Optimization in Shared Vehicle Systems: An Approximation Framework, arXiv:1608.06819v4, p. 41 (PDF 42), App. E, Lemma 35

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