Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 5, pp. 10–11, M/M/n+M half (Whitt 2004) — efficiency-driven limits of occupancy, AWT, delay, waits and PWT variance

Open
PoolOrNot.Moderate.theorem_5_PQ

by tianyipeng · Oct 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

abandonmenterlang-amany-server-asymptoticsqueueing

This is the pooled (M/M/n+M, Erlang-A) half of Theorem 5 of Cao, He, Huang and Liu, apart from part (ii) (which is Theorem 1 of Garnett, Mandelbaum and Reiman 2002). The paper attributes these limits to Whitt (2004).

Let μ,θ>0\mu,\theta>0μ,θ>0, let λn>0\lambda_n>0λn​>0 be the arrival rate of the nnn-th M/M/n+M queue (nnn servers of rate μ\muμ, one pooled queue, exponential patience of rate θ\thetaθ), and assume (21), λn/(nμ)→ρ\lambda_n/(n\mu)\to\rhoλn​/(nμ)→ρ with ρ>1\rho>1ρ>1 (efficiency-driven overload). Let π(n)\pi^{(n)}π(n) be its stationary law of the number in system, WPnW^n_PWPn​ the steady-state potential waiting time (an arrival finding n+mn+mn+m customers waits a sum of m+1m+1m+1 independent exponentials of rates nμ+jθn\mu+j\thetanμ+jθ, j=0,…,mj=0,\dots,mj=0,…,m, and an arrival finding fewer than nnn waits 000), R∼Exp(θ)R\sim\mathrm{Exp}(\theta)R∼Exp(θ) independent of WPnW^n_PWPn​, VPn=WPn∧RV^n_P=W^n_P\wedge RVPn​=WPn​∧R, and XˉPn(∞)\bar X^n_P(\infty)XˉPn​(∞) the stationary number in system divided by nnn. With q=μ(ρ−1)/θq=\mu(\rho-1)/\thetaq=μ(ρ−1)/θ and w=ln⁡(ρ)/θw=\ln(\rho)/\thetaw=ln(ρ)/θ:

  1. for every n≥1n\ge1n≥1, the law of WPnW^n_PWPn​ is a probability law with finite second moment and E[XˉPn(∞)]=∑kkπk(n)/nE[\bar X^n_P(\infty)]=\sum_k k\pi^{(n)}_k/nE[XˉPn​(∞)]=∑k​kπk(n)​/n is a convergent series;
  2. E[XˉPn(∞)]→q+1E[\bar X^n_P(\infty)]\to q+1E[XˉPn​(∞)]→q+1;
  3. E[VPn]→q/(ρμ)E[V^n_P]\to q/(\rho\mu)E[VPn​]→q/(ρμ);
  4. PPn(De)=P(WPn>0)→1P^n_P(\mathrm{De})=P(W^n_P>0)\to 1PPn​(De)=P(WPn​>0)→1;
  5. E[WPn∣WPn>0]→wE[W^n_P\mid W^n_P>0]\to wE[WPn​∣WPn​>0]→w;
  6. E[WPn]→wE[W^n_P]\to wE[WPn​]→w;
  7. E[VPn∣WPn≤R]→wE[V^n_P\mid W^n_P\le R]\to wE[VPn​∣WPn​≤R]→w;
  8. E[VPn∣WPn>R]→−μwθq+1θ\displaystyle E[V^n_P\mid W^n_P>R]\to -\frac{\mu w}{\theta q}+\frac1\thetaE[VPn​∣WPn​>R]→−θqμw​+θ1​;
  9. Var(WPn)→0\mathrm{Var}(W^n_P)\to 0Var(WPn​)→0.

In the efficiency-driven regime the potential wait of the pooled system concentrates at the deterministic value w=ln⁡(ρ)/θw=\ln(\rho)/\thetaw=ln(ρ)/θ, where the fraction e−θw=1/ρe^{-\theta w}=1/\rhoe−θw=1/ρ of customers is served; these limits are the PQ column of Theorem 5 (i), (iii)–(ix).

Formalization Note Uses ErlangA.Abandonment.stationaryDist, ErlangA.Staffing.probWait and the PWT law pwtLawP of Def_PoolOrNot_Moderate_Waiting. The parent's upper bound ρ<1+θ/μ\rho<1+\theta/\muρ<1+θ/μ is not assumed: the pooled limits hold for every ρ>1\rho>1ρ>1. Item 0 is the PQ part of the parent's strengthening guard.

Preamble
import Mathlib
import Definitions.Def_JSQHalfinWhitt_Tightness_Model
import Definitions.Def_JSQHalfinWhitt_Tightness_Stationary
import Definitions.Def_ErlangA_Abandonment_Model
import Definitions.Def_ErlangA_Staffing_Model
import Definitions.Def_PoolOrNot_Moderate_Chain
import Definitions.Def_PoolOrNot_Moderate_Waiting

open Filter Topology MeasureTheory ProbabilityTheory JSQHalfinWhitt.Tightness
Formal statement
namespace PoolOrNot.Moderate

/-- **Theorem 5**, pp. 10–11, M/M/n+M half (Whitt 2004), except (ii). -/
theorem theorem_5_PQ (μ θ ρ : ℝ) (lam : ℕ → ℝ) (hμ : 0 < μ) (hθ : 0 < θ)
    (hlam : ∀ n : ℕ, 1 ≤ n → 0 < lam n)
    (h21 : Tendsto (fun n : ℕ => lam n / ((n : ℝ) * μ)) atTop (𝓝 ρ))
    (hρ1 : 1 < ρ) :
    (∀ n : ℕ, 1 ≤ n →
      IsProbabilityMeasure (pwtLawP n (lam n) μ θ) ∧
      Integrable (fun w : ℝ => w ^ 2) (pwtLawP n (lam n) μ θ) ∧
      Summable (fun k : ℕ => (k : ℝ) * ErlangA.Abandonment.stationaryDist n (lam n) μ θ k)) ∧
    Tendsto (fun n : ℕ => meanOccP n (lam n) μ θ) atTop (𝓝 (qOf ρ μ θ + 1)) ∧
    Tendsto (fun n : ℕ => meanAWT (pwtLawP n (lam n) μ θ) θ) atTop
        (𝓝 (qOf ρ μ θ / (ρ * μ))) ∧
    Tendsto (fun n : ℕ => ErlangA.Staffing.probWait n (lam n) μ θ) atTop (𝓝 1) ∧
    Tendsto (fun n : ℕ => meanPWTDelayed (pwtLawP n (lam n) μ θ)) atTop
        (𝓝 (Real.log ρ / θ)) ∧
    Tendsto (fun n : ℕ => meanPWT (pwtLawP n (lam n) μ θ)) atTop (𝓝 (Real.log ρ / θ)) ∧
    Tendsto (fun n : ℕ => meanAWTServed (pwtLawP n (lam n) μ θ) θ) atTop
        (𝓝 (Real.log ρ / θ)) ∧
    Tendsto (fun n : ℕ => meanAWTAband (pwtLawP n (lam n) μ θ) θ) atTop
        (𝓝 (-(μ * (Real.log ρ / θ)) / (θ * qOf ρ μ θ) + 1 / θ)) ∧
    Tendsto (fun n : ℕ => varPWT (pwtLawP n (lam n) μ θ)) atTop (𝓝 0) := by sorry

end PoolOrNot.Moderate
Source
Cao, He, Huang & Liu, To Pool or Not to Pool: Queueing Design for Large-Scale Service Systems, Operations Research 69(6):1866-1885 (2021), doi:10.1287/opre.2019.1976, pp. 10-11 (PDF 11-12), Theorem 5 (PQ limits attributed there to Whitt 2004, Efficiency-driven heavy-traffic approximations for many-server queues with abandonments, Management Science 50(10):1449-1461)

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