Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 5, pp. 10–11, DQ–JSQ half — moderate-overload limits of occupancy, abandonment, AWT, delay, waits and PWT variance

Open
PoolOrNot.Moderate.theorem_5_DQ

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

abandonmentjoin-the-shortest-queuemany-server-asymptoticsqueueing

This is the dedicated-queue (DQ–JSQ) half of Theorem 5 of Cao, He, Huang and Liu.

Let μ,θ>0\mu,\theta>0μ,θ>0 and, for each n≥1n\ge 1n≥1, let λn>0\lambda_n>0λn​>0 be the total arrival rate of the nnn-th DQ–JSQ system: nnn servers, each with its own queue, arrivals routed by join-the-shortest-queue, exponential services of rate μ\muμ and exponential patience of rate θ\thetaθ. Assume (21), λn/(nμ)→ρ\lambda_n/(n\mu)\to\rhoλn​/(nμ)→ρ, in moderate overload

1<ρ<1+θμ.1<\rho<1+\frac{\theta}{\mu}.1<ρ<1+μθ​.

Let πn\pi_nπn​ be any stationary law of the nnn-th chain (on the augmented queue-length space), WDnW^n_DWDn​ the steady-state potential waiting time (an arrival seeing πn\pi_nπn​ joins a server with iii customers and waits Ta(i)T_a(i)Ta​(i)), R∼Exp(θ)R\sim\mathrm{Exp}(\theta)R∼Exp(θ) independent of WDnW^n_DWDn​, VDn=WDn∧RV^n_D=W^n_D\wedge RVDn​=WDn​∧R, and XˉDn(∞)\bar X^n_D(\infty)XˉDn​(∞) the stationary number in system divided by nnn. With q=μ(ρ−1)/θq=\mu(\rho-1)/\thetaq=μ(ρ−1)/θ and r=q−⌊q⌋r=q-\lfloor q\rfloorr=q−⌊q⌋ as in (18):

  1. for every n≥1n\ge1n≥1, the law of WDnW^n_DWDn​ is a probability law with finite second moment and E[XˉDn(∞)]E[\bar X^n_D(\infty)]E[XˉDn​(∞)] is a convergent series;
  2. E[XˉDn(∞)]→q+1E[\bar X^n_D(\infty)]\to q+1E[XˉDn​(∞)]→q+1;
  3. PDn(Ab)=P(R<WDn)→(ρ−1)/ρP^n_D(\mathrm{Ab})=P(R<W^n_D)\to(\rho-1)/\rhoPDn​(Ab)=P(R<WDn​)→(ρ−1)/ρ;
  4. E[VDn]→q/(ρμ)E[V^n_D]\to q/(\rho\mu)E[VDn​]→q/(ρμ);
  5. PDn(De)=P(WDn>0)→r(μ+θ)/(ρμ)P^n_D(\mathrm{De})=P(W^n_D>0)\to r(\mu+\theta)/(\rho\mu)PDn​(De)=P(WDn​>0)→r(μ+θ)/(ρμ);
  6. E[WDn∣WDn>0]→1/μE[W^n_D\mid W^n_D>0]\to 1/\muE[WDn​∣WDn​>0]→1/μ;
  7. E[WDn]→r(μ+θ)/(ρμ2)E[W^n_D]\to r(\mu+\theta)/(\rho\mu^2)E[WDn​]→r(μ+θ)/(ρμ2);
  8. E[VDn∣WDn≤R]→r/(μ+θ)E[V^n_D\mid W^n_D\le R]\to r/(\mu+\theta)E[VDn​∣WDn​≤R]→r/(μ+θ);
  9. E[VDn∣WDn>R]→1/(μ+θ)E[V^n_D\mid W^n_D>R]\to 1/(\mu+\theta)E[VDn​∣WDn​>R]→1/(μ+θ);
  10. Var(WDn)→r(μ+θ)ρμ3(2−r(μ+θ)ρμ)\displaystyle \mathrm{Var}(W^n_D)\to\frac{r(\mu+\theta)}{\rho\mu^3}\Bigl(2-\frac{r(\mu+\theta)}{\rho\mu}\Bigr)Var(WDn​)→ρμ3r(μ+θ)​(2−ρμr(μ+θ)​).

These are exactly the DQ limits of Theorem 5 (i)–(ix); together with the M/M/n+M limits (Whitt 2004; Garnett et al. 2002 for (ii)) and the elementary comparisons between the two sets of limits, they give the full theorem.

Formalization Note Same objects as the parent PoolOrNot.Moderate.theorem_5: the chain generator genAb, the PWT law pwtLawD and the measures of Def_PoolOrNot_Moderate_Waiting. The well-posedness conjunct (item 0) is the DQ part of the parent's strengthening guard, ruling out Lean's default values for divergent series and non-integrable functions.

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, DQ–JSQ half. -/
theorem theorem_5_DQ (μ θ ρ : ℝ) (lam : ℕ → ℝ) (hμ : 0 < μ) (hθ : 0 < θ)
    (hlam : ∀ n : ℕ, 1 ≤ n → 0 < lam n)
    (h21 : Tendsto (fun n : ℕ => lam n / ((n : ℝ) * μ)) atTop (𝓝 ρ))
    (hρ1 : 1 < ρ) (hρ2 : ρ < 1 + θ / μ)
    (π : (n : ℕ) → State n → ℝ)
    (hπ : ∀ n : ℕ, 1 ≤ n → IsStationaryDist (genAb n (lam n) μ θ) (π n)) :
    (∀ n : ℕ, 1 ≤ n →
      IsProbabilityMeasure (pwtLawD (π n) μ θ) ∧
      Integrable (fun w : ℝ => w ^ 2) (pwtLawD (π n) μ θ) ∧
      Summable (fun q : State n => π n q * ((∑' i : ℕ, (q.1 i : ℝ)) / (n : ℝ)))) ∧
    Tendsto (fun n : ℕ => meanOccD (π n)) atTop (𝓝 (qOf ρ μ θ + 1)) ∧
    Tendsto (fun n : ℕ => probAb (pwtLawD (π n) μ θ) θ) atTop (𝓝 ((ρ - 1) / ρ)) ∧
    Tendsto (fun n : ℕ => meanAWT (pwtLawD (π n) μ θ) θ) atTop (𝓝 (qOf ρ μ θ / (ρ * μ))) ∧
    Tendsto (fun n : ℕ => probDelay (pwtLawD (π n) μ θ)) atTop
        (𝓝 (rOf ρ μ θ * (μ + θ) / (ρ * μ))) ∧
    Tendsto (fun n : ℕ => meanPWTDelayed (pwtLawD (π n) μ θ)) atTop (𝓝 (1 / μ)) ∧
    Tendsto (fun n : ℕ => meanPWT (pwtLawD (π n) μ θ)) atTop
        (𝓝 (rOf ρ μ θ * (μ + θ) / (ρ * μ ^ 2))) ∧
    Tendsto (fun n : ℕ => meanAWTServed (pwtLawD (π n) μ θ) θ) atTop
        (𝓝 (rOf ρ μ θ / (μ + θ))) ∧
    Tendsto (fun n : ℕ => meanAWTAband (pwtLawD (π n) μ θ) θ) atTop (𝓝 (1 / (μ + θ))) ∧
    Tendsto (fun n : ℕ => varPWT (pwtLawD (π n) μ θ)) atTop
        (𝓝 ((rOf ρ μ θ * (μ + θ) / (ρ * μ ^ 3)) * (2 - rOf ρ μ θ * (μ + θ) / (ρ * μ)))) := 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

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