Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 10, p. 25 — E∣X−λ∣≤λ\mathbb E|X-\lambda|\le\sqrt\lambdaE∣X−λ∣≤λ​ for X∼Poisson(λ)X\sim\mathrm{Poisson}(\lambda)X∼Poisson(λ)

Proved
PrimalDualPricing.Regret.lemma_10

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

p2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1poisson-distribution

Let XXX be a Poisson random variable with mean λ≥0\lambda\ge0λ≥0. Then ∣X−λ∣|X-\lambda|∣X−λ∣ is integrable and

E[∣X−λ∣]≤λ.\mathbb E\big[|X-\lambda|\big]\le\sqrt\lambda.E[∣X−λ∣]≤λ​.

The analysis uses it to bound the expected deviation of the sales from their mean in the last phase (Lemma 8 and Propositions 2–3).

Formalization Note The law of XXX is Mathlib's poissonMeasure λ on N\mathbb NN. Integrability is part of the conclusion, so the bound cannot hold through Lean's convention that the integral of a non-integrable function is 000.

Preamble
import Mathlib
Formal statement
namespace PrimalDualPricing.Regret

open MeasureTheory ProbabilityTheory

/-- Lemma 10 (Chen–Gallego, arXiv:1812.09234v3, p. 25). If `X` is Poisson with mean `λ ≥ 0`, then
`|X − λ|` is integrable and `E[|X − λ|] ≤ √λ`. -/
theorem lemma_10 (lam : NNReal) :
    Integrable (fun x : ℕ => |(x : ℝ) - lam|) (poissonMeasure lam) ∧
    ∫ x, |(x : ℝ) - lam| ∂(poissonMeasure lam) ≤ Real.sqrt lam := by sorry

end PrimalDualPricing.Regret
Source
Chen, Gallego, A Primal-dual Learning Algorithm for Personalized Dynamic Pricing with an Inventory Constraint, arXiv:1812.09234v3, p. 25, Appendix B, Lemma 10
Human review
  • Endorsed by Shuze Chen · Oct 9, 2026

    Confirmed by the moderator at approval.

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