Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 3, p. 37 — E[W/(μ(1−e−W/μ))]=π2/6\mathbb E[W/(\mu(1-e^{-W/\mu}))] = \pi^2/6E[W/(μ(1−e−W/μ))]=π2/6

Proved
ProductFraming.Nest.exponential_ratio_eq_pi_sq_div_six

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

basel-problemexponential-distributionp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1

Let μ>0\mu>0μ>0 and let WWW be exponential with mean μ\muμ. Then

E[Wμ (1−exp⁡(−W/μ))]=∫0∞(w/μ)exp⁡(−w/μ)1−exp⁡(−w/μ) dwμ=π26.\mathbb E\Big[\frac{W}{\mu\,(1-\exp(-W/\mu))}\Big]=\int_0^\infty\frac{(w/\mu)\exp(-w/\mu)}{1-\exp(-w/\mu)}\,\frac{dw}{\mu}=\frac{\pi^2}{6}.E[μ(1−exp(−W/μ))W​]=∫0∞​1−exp(−w/μ)(w/μ)exp(−w/μ)​μdw​=6π2​.

Since E[min⁡(W,Z)∣W]=μ(1−exp⁡(−W/μ))\mathbb E[\min(W,Z)\mid W]=\mu(1-\exp(-W/\mu))E[min(W,Z)∣W]=μ(1−exp(−W/μ)) for an independent exponential ZZZ with mean μ\muμ, this evaluates the right-hand side of Corollary 6 and gives 1/γ≤π2/61/\gamma\le\pi^2/61/γ≤π2/6.

Formalization Note The law of WWW is expMeasure with rate 1/μ1/\mu1/μ. At w=0w=0w=0 the integrand is 0/0=00/0=00/0=0 in Lean, on a null set.

Preamble
import Mathlib
Formal statement
namespace ProductFraming.Nest

open MeasureTheory ProbabilityTheory

/-- Proof of Theorem 3, display (Gallego, Li, Truong, Wang 2020, A.2, p. 37): for `W` exponential with
mean `μ > 0`, `E[W / (μ(1 − exp(−W/μ)))] = π²/6`. Mathlib's `expMeasure` takes the rate `μ⁻¹`. -/
theorem exponential_ratio_eq_pi_sq_div_six (μ : ℝ) (hμ : 0 < μ) :
    ∫ w, w / (μ * (1 - Real.exp (-w / μ))) ∂(expMeasure μ⁻¹) = Real.pi ^ 2 / 6 := by sorry

end ProductFraming.Nest
Source
Gallego, Li, Truong, Wang, Approximation Algorithms for Product Framing and Pricing, Operations Research (2020), DOI 10.1287/opre.2019.1875, authors' accepted manuscript, A.2, Proof of Theorem 3, p. 37 (display)
Human review
  • Endorsed by Shuze Chen · Oct 8, 2026

    Confirmed by the moderator at approval.

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