Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 2(b), p. 10 — under SRPT, E[Wcλ∣Sc≤τ]→0\mathbb E[W^\lambda_c \mid S_c\le\tau]\to 0E[Wcλ​∣Sc​≤τ]→0: short jobs wait a vanishing time

Open
SRPTManyServer.Collapse.theorem_2_b_short

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

abandonmentmany-server-queuesrptstate-space-collapse

Assume the standing assumptions: service law νS\nu_SνS​ with density ggg and mean 1/μ1/\mu1/μ, patience law νT\nu_TνT​ with a density and mean 1/θ1/\theta1/θ, both on [0,∞)[0,\infty)[0,∞), ρ>1\rho > 1ρ>1, and the threshold τ\tauτ given by (1), E[S 1(S≤τ)]=1/(ρμ)\mathbb E[S\,\mathbf 1(S\le\tau)] = 1/(\rho\mu)E[S1(S≤τ)]=1/(ρμ). For each s≥1s \ge 1s≥1, system sss is the M/GI/s+GIM/GI/s+GIM/GI/s+GI queue with sss servers and Poisson arrivals of rate λs=ρμs\lambda_s = \rho\mu sλs​=ρμs, operated on every admissible sample path by an SRPT schedule, with abandonment when a customer's cumulative time in queue reaches her patience time. Let WcsW^s_cWcs​ be the waiting time of a tagged customer ccc in steady state (the total time she spends in the system but not in service), and let

p1(s)=P(Servcs∣Sc≤τ),p2(s)=P(Servcs∣Sc>τ),w1(s)=E[Wcs∣Sc≤τ].p_1(s) = P(\mathrm{Serv}^s_c \mid S_c \le \tau),\qquad p_2(s) = P(\mathrm{Serv}^s_c \mid S_c > \tau),\qquad w_1(s) = \mathbb E[W^s_c \mid S_c \le \tau].p1​(s)=P(Servcs​∣Sc​≤τ),p2​(s)=P(Servcs​∣Sc​>τ),w1​(s)=E[Wcs​∣Sc​≤τ].

Then the short jobs, those with S≤τS \le \tauS≤τ, wait a vanishing amount of time on average:

lim⁡s→∞w1(s)=lim⁡s→∞E[Wcs∣Sc≤τ]=0.\lim_{s\to\infty} w_1(s) = \lim_{s\to\infty}\mathbb E[W^s_c \mid S_c \le \tau] = 0.s→∞lim​w1​(s)=s→∞lim​E[Wcs​∣Sc​≤τ]=0.

This is the second equality of Theorem 2(b) of the source. Together with Theorem 2(a) it yields the remaining limits of Theorem 2 (E[W∣Serv]→0\mathbb E[W\mid\mathrm{Serv}]\to0E[W∣Serv]→0, E[W∣Ab]→1/θ\mathbb E[W\mid\mathrm{Ab}]\to1/\thetaE[W∣Ab]→1/θ, E[W∣S>τ]→1/θ\mathbb E[W\mid S>\tau]\to1/\thetaE[W∣S>τ]→1/θ and E[W]→(1−G(τ))/θ\mathbb E[W]\to(1-G(\tau))/\thetaE[W]→(1−G(τ))/θ) by sample-path bookkeeping and the strong law of large numbers.

Formalization Note The steady-state quantities are read as almost-sure customer long-run averages, exactly as in the formalization of Theorem 2: w1(s)w_1(s)w1​(s) is the almost-sure limit, as N→∞N\to\inftyN→∞, of the average waiting time of the customers among 0,…,N−10,\dots,N-10,…,N−1 with Sn≤τS_n\le\tauSn​≤τ, and p1(s)p_1(s)p1​(s), p2(s)p_2(s)p2​(s) are the corresponding fractions of served customers. Their existence for each s≥1s\ge1s≥1 is assumed, standing for the paper's steady-state assumption; p1p_1p1​ and p2p_2p2​ are included because the source derives part (b) from part (a). The schedule hypothesis is required only on admissible paths, which carry probability one. The sequence is indexed by s∈Ns\in\mathbb Ns∈N in place of λ\lambdaλ.

Preamble
import Mathlib
import Definitions.Def_SRPTManyServer_Collapse_Model
Formal statement
namespace SRPTManyServer.Collapse

open MeasureTheory ProbabilityTheory Filter Topology

/-- **Theorem 2 (b), second limit** (p. 10). Under the standing assumptions (`ρ > 1`, `τ` as in
(1)), let system `s` (`s ≥ 1` servers, arrival rate `λ_s = ρ µ s`) be operated by an SRPT schedule
`δ s ω` on every admissible sample path. Read `P(Serv | S ≤ τ)`, `P(Serv | S > τ)` and
`E[W | S ≤ τ]` in system `s` as the almost-sure customer long-run averages `pServ1 s`, `pServ2 s`
and `w1 s`. Then the mean waiting time of short jobs vanishes: `w1 s → 0` as `s → ∞`. -/
theorem theorem_2_b_short {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω)
    (νS νT : Measure ℝ) (g : ℝ → ℝ) (rho mu theta tau : ℝ)
    (hstd : Standing νS νT g rho mu theta tau)
    (E S T : ℕ → Ω → ℝ) (hmodel : IsArrivalModel P νS νT E S T)
    (δ : ℕ → Ω → ℕ → ℝ → ℝ)
    (hδ : ∀ s : ℕ, 1 ≤ s → ∀ ω, (arrivalStream rho mu s E S T ω).Admissible →
      IsSRPTSchedule s (arrivalStream rho mu s E S T ω) (δ s ω))
    (pServ1 pServ2 w1 : ℕ → ℝ)
    (h_pServ1 : ∀ s : ℕ, 1 ≤ s → HasLongRunAvg P (fun n ω => S n ω ≤ tau)
      (fun n ω => servedInd (arrivalStream rho mu s E S T ω) (δ s ω) n) (pServ1 s))
    (h_pServ2 : ∀ s : ℕ, 1 ≤ s → HasLongRunAvg P (fun n ω => tau < S n ω)
      (fun n ω => servedInd (arrivalStream rho mu s E S T ω) (δ s ω) n) (pServ2 s))
    (h_w1 : ∀ s : ℕ, 1 ≤ s → HasLongRunAvg P (fun n ω => S n ω ≤ tau)
      (fun n ω => waitingTime (arrivalStream rho mu s E S T ω) (δ s ω) n) (w1 s)) :
    Tendsto w1 atTop (𝓝 0) := by sorry

end SRPTManyServer.Collapse
Source
Dong & Ibrahim, On the SRPT scheduling discipline in many-server queues with impatient customers, arXiv:2102.05789v1, p. 10, Theorem 2(b) (second equality); proof in Appendix A.2, p. 18

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