Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (5), p. 16 — the rate of completed work never exceeds the capacity sss (pathwise form)

Proved
SRPTManyServer.Collapse.capacity_constraint_5

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

capacitymany-server-queuep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1srpt

Consider an admissible sample path and an SRPT schedule with sss servers. For every t≥0t \ge 0t≥0, the total service requirement of the customers who have finished service by time ttt is at most s ts\,tst:

∑n: served by tSn  ≤  s t.\sum_{n:\ \text{served by } t} S_n \;\le\; s\,t.n: served by t∑​Sn​≤st.

Dividing by ttt and letting t→∞t \to \inftyt→∞ gives the paper's capacity constraint (5): the long-run rate at which work is completed, λ∫0∞xg(x)γλ(x) dx\lambda\int_0^\infty x g(x)\gamma^\lambda(x)\,dxλ∫0∞​xg(x)γλ(x)dx, where γλ(x)\gamma^\lambda(x)γλ(x) is the steady-state probability that a customer with service time xxx is served, is at most sλs^\lambdasλ. In the paper's words, the stationary number of customers in service is less than the service capacity.

Formalization Note The paper states (5) in steady state, in terms of γλ\gamma^\lambdaγλ. This item is the pathwise inequality from which (5) follows by dividing by ttt. It is stated pathwise because γλ\gamma^\lambdaγλ is not a primitive of the model.

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

/-- **Capacity constraint (5)** (p. 16), pathwise form. On an admissible sample path, under an SRPT
schedule with `s` servers, the total service requirement of the customers who have finished service
by time `t ≥ 0` is at most `s · t`: the long-run rate at which work is completed,
`λ ∫ x g(x) γ^λ(x) dx` in the paper's notation, never exceeds the service capacity `s`. -/
theorem capacity_constraint_5 (s : ℕ) (x : Stream) (hx : x.Admissible) (δ : ℕ → ℝ → ℝ)
    (hδ : IsSRPTSchedule s x δ) (t : ℝ) (ht : 0 ≤ t) :
    completedWork x δ t ≤ (s : ℝ) * t := by sorry

end SRPTManyServer.Collapse
Source
Dong & Ibrahim, On the SRPT scheduling discipline in many-server queues with impatient customers, arXiv:2102.05789v1, p. 16, eq. (5)
Human review
  • Endorsed by Shuze Chen · Oct 21, 2026

    Confirmed by the moderator at approval.

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