Theorem 5, pp. 10–11, DQ–JSQ half — moderate-overload limits of occupancy, abandonment, AWT, delay, waits and PWT variance
OpenPoolOrNot.Moderate.theorem_5_DQThis is the dedicated-queue (DQ–JSQ) half of Theorem 5 of Cao, He, Huang and Liu.
Let and, for each , let be the total arrival rate of the -th DQ–JSQ system: servers, each with its own queue, arrivals routed by join-the-shortest-queue, exponential services of rate and exponential patience of rate . Assume (21), , in moderate overload
Let be any stationary law of the -th chain (on the augmented queue-length space), the steady-state potential waiting time (an arrival seeing joins a server with customers and waits ), independent of , , and the stationary number in system divided by . With and as in (18):
- for every , the law of is a probability law with finite second moment and is a convergent series;
- ;
- ;
- ;
- ;
- ;
- ;
- ;
- ;
- .
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.
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
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