Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Collections

Queueing and Stochastic Networks

Single-server queues, Jackson and loss networks, heavy-traffic limits, fluid stability, and the control of queueing systems.

94 missions

Missions

81–94 of 94
OpenCompletedAll
Operations ResearchProbabilityStochastic Systems·Captain: mikedeng1

Maximum Pressure Policies in Stochastic Processing Networks I: Under the EAA Assumption, Maximum Pressure Is Pathwise Stable Whenever the Static Planning LP Has a Feasible Solution with ρ ≤ 1Research Paper

Why throughput matters

A processing network must decide which activities receive scarce processor capacity while jobs move among buffers. Such decisions matter in manufacturing, service systems, and switches: one activity can consume several processors at once, and a job can be routed to another buffer after processing. A policy that sees current buffer levels but does not need to know arrival or routing rates is easier to operate when those rates are difficult to estimate. Dai and Lin's 2005 paper studies whether a maximum pressure policy, which uses the buffer vector and an input-output matrix, can stabilize every network that is stabilizable in their model. Their Theorems 1 and 2 give, respectively, a necessary planning condition for any stabilizing policy and a sufficient condition for maximum pressure under the extreme-allocation-available assumption. Dai and Lin (2005)

Here pathwise stability means that each internal buffer grows sublinearly in time almost surely. This is a rate statement about sample paths. It does not assert positive recurrence of a Markov chain, nor does it require a stationary distribution. The paper allows general primitive processing and routing processes with almost-sure long-run averages. Dai and Lin (2005), §§2–4

Network and allocations

There are III internal buffers, JJJ activities, and KKK processors. Buffer 000 represents the outside world. The K×JK\times JK×J matrix AAA records resource use: Akj=1A_{kj}=1Akj​=1 when activity jjj requires processor kkk. The J×(I+1)J\times(I+1)J×(I+1) matrix BBB records which buffers an activity processes. An input activity processes Buffer 000; a service activity does not. Input processors serve only input activities and must be fully used, while all processors have at most unit capacity.

For activity jjj, the processing requirements have mean mjm_jmj​ and the routing counts have long-run matrix PjP^jPj. Write μj=1/mj\mu_j=1/m_jμj​=1/mj​. The input-output matrix is

Rij=μj(Bji−∑i′=0IBji′Pi′ij),i=1,…,I.R_{ij}=\mu_j\left(B_{ji}-\sum_{i'=0}^{I}B_{ji'}P^j_{i'i}\right),\qquad i=1,\ldots,I.Rij​=μj​(Bji​−i′=0∑I​Bji′​Pi′ij​),i=1,…,I.

Positive RijR_{ij}Rij​ means activity jjj consumes net material from internal buffer iii; negative means it produces net material there. An allocation a∈Aa\in\mathcal Aa∈A assigns nonnegative activity levels subject to the processor capacity bounds and the equality for every input processor. The finite set E\mathcal EE consists of the extreme points of this allocation set. At buffer vector zzz, allocation aaa has network pressure p(a,z)=z⋅Rap(a,z)=z\cdot Rap(a,z)=z⋅Ra. The maximum pressure rule chooses an allocation of greatest pressure among the currently feasible members of E\mathcal EE. Feasibility depends on jobs actually available to each constituent buffer. Dai and Lin (2005), §§2–3

The extreme-allocation-available assumption (EAA) says that for every nonnegative zzz, a pressure maximizer in E\mathcal EE can be chosen whose constituent buffers all have positive levels. It links the static pressure maximization to the jobs that a policy can process. The static planning LP asks for activity fractions x≥0x\ge0x≥0 and a service-processor load ρ\rhoρ such that Rx=0Rx=0Rx=0, every input processor has load one, and every service processor has load at most ρ\rhoρ. Dai and Lin (2005), p. 202

Formalization targets

The goal is Theorem 2. For a network satisfying EAA and run by a preemptive, processor-splitting maximum pressure policy, LP feasibility with ρ≤1\rho\le1ρ≤1 implies

P ⁣(∀i∈{1,…,I}, lim⁡t→∞Zi(t)t=0)=1.\mathbb P\!\left(\forall i\in\{1,\ldots,I\},\ \lim_{t\to\infty}\frac{Z_i(t)}{t}=0\right)=1.P(∀i∈{1,…,I}, t→∞lim​tZi​(t)​=0)=1.

The milestones follow the paper's route from stochastic paths to deterministic fluid limits. A fluid limit is a uniform-on-compact limit of (Z(rt),T(rt))/r(Z(rt),T(rt))/r(Z(rt),T(rt))/r along positive scales r→∞r\to\inftyr→∞. The milestones state that fluid limits satisfy (14)–(18), weak stability of the corresponding fluid model transfers to pathwise stability (Theorem 3), maximum pressure adds (52)–(55) and (20) (Lemmas 5 and 4), quadratic fluid energy obeys (22)–(23), and LP feasibility with EAA makes the maximum-pressure fluid model weakly stable (Theorem 4). Dai and Lin (2005), pp. 203, 213–214

What the result gives

Theorem 2 identifies a policy whose almost-sure buffer growth rate vanishes whenever the planning LP permits load at most one and EAA holds. Together with the paper's necessary condition in Theorem 1, it characterizes the feasibility boundary for this policy class under EAA. Its scope includes networks in which an activity uses multiple processors and processes multiple buffers simultaneously. It does not claim that all such networks satisfy EAA. Dai and Lin (2005), Theorems 1–2

The result is proved in the 2005 article. This mission asks for a machine-checked proof of that known theorem and its selected intermediate claims. The Lean statements are open draft targets. Reusable outcomes include a model of cumulative routing and service counts, a uniform-on-compact fluid-limit interface, and the weak-fluid-stability transfer theorem for networks without a Markov assumption.

Why the proof is difficult

Maximizing pressure over the static allocation polytope does not by itself describe an executable service policy. An allocation can demand work from an empty buffer. EAA addresses the existence of a maximizing allocation supported by positive buffer levels, but the stochastic policy acts on actual jobs and completion times. The proof must connect those discrete, pathwise decisions to the limiting differential equation (20). At a regular fluid time, the maximum-pressure equation is decisive; away from regular times, derivatives need not exist. The fluid model therefore carries a time qualifier that cannot simply be dropped. Dai and Lin (2005), pp. 201–203, 214

Formalization scope

The Lean model uses finite index types for buffers, activities, and processors. Internal buffers are Fin I; Buffer 0 is the zero index of Fin (I+1), and an internal buffer maps to its successor index. Activity and processor labels use zero-based Fin. Time is real but all network equations are asserted for nonnegative time. The shared Bell–Williams Paths definition supplies the renewal count in N∪{∞}\mathbb N\cup\{\infty\}N∪{∞} and uniform-on-compact distance using the ℓ1\ell^1ℓ1 norm. The completion count is required finite wherever the network equations convert it to a natural number; this prevents infinity from becoming a zero count. Bell and Williams (2001)

The network standing assumptions record binary incidence matrices, nonempty constituencies, processor coverage, activity types, and an input activity. Two refinements are explicit: each input processor has an activity, so its mandatory unit allocation is feasible, and mj>0m_j>0mj​>0, so μj=1/mj\mu_j=1/m_jμj​=1/mj​ is defined as the intended positive rate. Routing counts are cumulative and nonnegative. Their row sums are constrained only for buffers an activity processes: the printed sentence requiring the same sum for every buffer conflicts with its immediately preceding statement that the count vanishes when the activity does not process that buffer. The corresponding rows of PjP^jPj sum to one for processed buffers and vanish for unprocessed buffers, as follows from (4). Dai and Lin (2005), pp. 199–200

The policy predicate records allocation-time decomposition (49)–(51) and the non-employment consequence of Definition 1 used in (56)–(58). It checks feasibility of a competing extreme allocation through the paper's threshold JJJ at every time of the interval. Individual job states and tie breaking are outside the pathwise interface. The goal retains EAA, the exact ρ≤1\rho\le1ρ≤1 bound, and all network and policy equations, so an empty allocation set or an unconstrained service path cannot make the target automatic. Contributions formalizing the finite extreme-point set, fluid-limit compactness, Lemmas 4–5, and the weak-stability transfer are welcome.

Selected references

  • J. G. Dai and W. Lin, Maximum pressure policies in stochastic processing networks, Operations Research 53(2):197–218, 2005. DOI.
  • S. L. Bell and R. J. Williams, Dynamic scheduling of a system with two parallel servers in heavy traffic with resource pooling: asymptotic optimality of a threshold policy, Annals of Applied Probability 11(3):608–649, 2001. DOI.
10 thms2 active usersReviewed
Linear OptimizationOperations ResearchStochastic Systems·Captain: mikedeng1

Maximum Pressure Policies in Stochastic Processing Networks IV: In Reversed Leontief Networks Extreme Allocations Are Integral and Maximum Pressure Separates by ProcessorResearch Paper

Motivation

Maximum pressure policies schedule a stochastic processing network by choosing, at each decision time, an allocation of processors to activities that maximizes a linear "pressure" built from the current buffer levels and the network's input-output matrix. Dai and Lin (Oper. Res. 53(2), 2005) prove that such policies are throughput optimal: they stabilize the network whenever any policy can. The policies descend from the back-pressure rule of Tassiulas and Ephremides (IEEE TAC 37(12), 1992) for wireless networks and are now standard in switching, manufacturing and data-center scheduling.

The general theory lets a processor split its capacity among several activities at once. In many systems this is impossible: a machine works on one job type at a time. Section 7 of the paper shows that with this restriction Harrison's static planning LP no longer characterizes stability, and Section 8 shows that forbidding preemption can make a maximum pressure policy unstable. Both difficulties disappear for one structural class, the reversed Leontief networks, in which every activity needs exactly one processor. This mission formalizes the two lemmas that make that class work: extreme allocations are integral (Lemma 1), and a maximum pressure allocation is found processor by processor (Lemma 3).

Setting

A network has buffers 0,1,…,I0,1,\dots,I0,1,…,I, where Buffer 000 is the outside world and I={1,…,I}\mathcal I=\{1,\dots,I\}I={1,…,I} are the internal buffers; activities J={1,…,J}\mathcal J=\{1,\dots,J\}J={1,…,J}; and processors K={1,…,K}\mathcal K=\{1,\dots,K\}K={1,…,K}. The resource consumption matrix AAA has Akj=1A_{kj}=1Akj​=1 if activity jjj requires processor kkk and 000 otherwise. The constituency indicator Bji=1B_{ji}=1Bji​=1 records that activity jjj processes buffer iii. An input activity processes only Buffer 000; a service activity never processes Buffer 000. Each processor runs input activities only (an input processor) or service activities only (a service processor). Each activity jjj has a mean processing requirement mjm_jmj​, rate μj=1/mj\mu_j=1/m_jμj​=1/mj​, and a routing matrix PjP^jPj.

The input-output matrix is

Rij=μj(Bji−∑i′∈I∪{0}Bji′Pi′ij),i∈I, j∈J.R_{ij}=\mu_j\Big(B_{ji}-\sum_{i'\in\mathcal I\cup\{0\}}B_{ji'}P^j_{i'i}\Big),\qquad i\in\mathcal I,\ j\in\mathcal J.Rij​=μj​(Bji​−i′∈I∪{0}∑​Bji′​Pi′ij​),i∈I, j∈J.

An allocation is a∈R+Ja\in\mathbb R^J_+a∈R+J​ with ∑jAkjaj≤1\sum_j A_{kj}a_j\le1∑j​Akj​aj​≤1 for every processor and ∑jAkjaj=1\sum_j A_{kj}a_j=1∑j​Akj​aj​=1 for every input processor; A\mathcal AA is the set of allocations, E\mathcal EE its set of extreme points, and N⊆A\mathcal N\subseteq\mathcal AN⊆A the allocations with integer coordinates. For a buffer-level vector z∈R+Iz\in\mathbb R^I_+z∈R+I​, the network pressure is p(a,z)=z⋅Rap(a,z)=z\cdot Rap(a,z)=z⋅Ra and the activity pressure is p(j,z)=∑i∈IRijzip(j,z)=\sum_{i\in\mathcal I}R_{ij}z_ip(j,z)=∑i∈I​Rij​zi​, with p(0,z)=0p(0,z)=0p(0,z)=0 for the idle Activity 000.

The network is reversed Leontief if each activity requires exactly one processor. The possible activities of processor kkk are J(k)={j:Akj=1}\mathcal J(k)=\{j:A_{kj}=1\}J(k)={j:Akj​=1} for an input processor and J(k)={0}∪{j:Akj=1}\mathcal J(k)=\{0\}\cup\{j:A_{kj}=1\}J(k)={0}∪{j:Akj​=1} for a service processor. Under an integer allocation aaa, jk(a)j_k(a)jk​(a) is the activity processor kkk works on, or 000 if kkk is idle.

Formalization targets

Goal: Lemma 3 (p. 208)

For a reversed Leontief network, z∈R+Iz\in\mathbb R^I_+z∈R+I​ and a∈Ea\in\mathcal Ea∈E,

p(a,z)=max⁡a′∈Ep(a′,z)  ⟺  jk(a)∈arg max⁡j∈J(k)p(j,z)  for all k∈K.p(a,z)=\max_{a'\in\mathcal E}p(a',z)\iff j_k(a)\in\operatorname*{arg\,max}_{j\in\mathcal J(k)}p(j,z)\ \text{ for all }k\in\mathcal K.p(a,z)=a′∈Emax​p(a′,z)⟺jk​(a)∈j∈J(k)argmax​p(j,z)  for all k∈K.

Milestones

  • the pressure identity p(a,z)=∑jaj p(j,z)p(a,z)=\sum_j a_j\,p(j,z)p(a,z)=∑j​aj​p(j,z) (§8, p. 208);
  • N⊆E\mathcal N\subseteq\mathcal EN⊆E (proof of Lemma 1, p. 215);
  • Lemma 1 (p. 207): for a reversed Leontief network, E=N\mathcal E=\mathcal NE=N;
  • for a∈Ea\in\mathcal Ea∈E: jk(a)∈J(k)j_k(a)\in\mathcal J(k)jk​(a)∈J(k) and p(a,z)=∑kp(jk(a),z)p(a,z)=\sum_k p(j_k(a),z)p(a,z)=∑k​p(jk​(a),z) (proof of Lemma 3);
  • the single-processor exchange a~=a−ejk(a)+ej\tilde a=a-e_{j_k(a)}+e_ja~=a−ejk​(a)​+ej​ stays in E\mathcal EE and shifts the pressure by p(j,z)−p(jk(a),z)p(j,z)-p(j_k(a),z)p(j,z)−p(jk​(a),z) (proof of Lemma 3).

A further supporting item, not a milestone, states the decomposition a=∑j∈J(k~)ajbja=\sum_{j\in\mathcal J(\tilde k)}a_j b^ja=∑j∈J(k~)​aj​bj of an allocation along one processor (proof of Lemma 1, p. 215).

Significance

The result. Lemma 1 says that, in a reversed Leontief network, the maximum pressure policies of the processor-splitting theory are automatically non-processor-splitting, so the paper's throughput optimality theorem holds in the setting where machines cannot be shared. Lemma 3 says that the maximization over the (exponentially large) set E\mathcal EE decouples into one small maximization per processor: each processor picks an activity of largest activity pressure among its own options. This separability is what makes the nonpreemptive version of the policy well defined and is the key step towards Theorem 9 (throughput optimality of nonpreemptive maximum pressure policies). It also covers multiclass queueing networks with alternate routes (§9.1), which are reversed Leontief.

Formalizing it. Both lemmas are proved in the paper; to our knowledge neither is machine-checked. The mission produces a reusable Lean model of the allocation polytope of a processing network with input processors, its integer and extreme points, and the activity and network pressures. The integrality of E\mathcal EE is a total-unimodularity-type fact for a block structure that is not available in Mathlib in this form.

Difficulty

The pressure is linear, so maximizing over E\mathcal EE equals maximizing over A\mathcal AA; the substance is the description of E\mathcal EE. The polytope A\mathcal AA is not a box: input processors carry equality constraints and service processors inequality constraints, and in general networks (an activity needing several processors) E\mathcal EE contains fractional points, as the paper's example in §7 shows. The step that fails for general networks is the decomposition of a fractional allocation along a single processor: it needs every activity of that processor to use no other processor. In Lean, extreme points must be handled through Mathlib's Set.extremePoints, and the argmax over J(k)\mathcal J(k)J(k) must keep track of the idle option, which exists for service processors and not for input processors.

Formalization scope

Indices are 0-based: internal buffers Fin I, buffers with Buffer 000 Fin (I+1) (Buffer 000 is 0, internal buffer iii is i.succ), activities Fin J, processors Fin K. The idle Activity 000 is none : Option (Fin J), with activity pressure 000 and unit vector e0=0e_0=0e0​=0. E\mathcal EE is Set.extremePoints ℝ 𝒜. "Maximizes the pressure over E\mathcal EE" is stated by domination (p(a′,z)≤p(a,z)p(a',z)\le p(a,z)p(a′,z)≤p(a,z) for all a′∈Ea'\in\mathcal Ea′∈E), never through a supremum. jk(a)j_k(a)jk​(a) is defined by choice of an activity of kkk at level 111; it is used only for a∈Ea\in\mathcal Ea∈E, where it is unique.

The standing assumptions of §2 are carried as one hypothesis: AAA and BBB are 000–111, constituencies are nonempty, every activity is an input or service activity and needs a processor, processors are input-only or service-only, at least one input activity exists, Pj≥0P^j\ge0Pj≥0 and P00j=0P^j_{00}=0P00j​=0. Two disclosed additions: every input processor has at least one activity (otherwise (2) is infeasible and A=∅\mathcal A=\emptysetA=∅), and mj>0m_j>0mj​>0 (needed for μj=1/mj\mu_j=1/m_jμj​=1/mj​). The goal keeps z≥0z\ge0z≥0 as on the page; two milestones drop it, which strengthens them.

A trivializing formalization would make E\mathcal EE empty or give input processors an idle option; both are excluded: E\mathcal EE is the extreme-point set of the real polytope A\mathcal AA, which is nonempty for a reversed Leontief network under the standing assumptions, and the idle option belongs to J(k)\mathcal J(k)J(k) only for service processors, as in (60).

Contributions welcome: proofs of the milestones, a general lemma that 000–111 points of a subset of the unit cube are extreme, and the separable description of extreme points of products of simplices, which is reusable beyond this mission.

Selected references

  • J. G. Dai and W. Lin, Maximum pressure policies in stochastic processing networks, Operations Research 53(2):197–218, 2005. https://doi.org/10.1287/opre.1040.0170
  • J. M. Harrison, Brownian models of open processing networks: canonical representation of workload, Annals of Applied Probability 10(1):75–103, 2000. https://doi.org/10.1214/aoap/1019737665
  • L. Tassiulas and A. Ephremides, Stability properties of constrained queueing systems and scheduling policies for maximum throughput in multihop radio networks, IEEE Transactions on Automatic Control 37(12):1936–1948, 1992. https://doi.org/10.1109/9.182479
7 thms2 active usersReviewed
Dynamical SystemsOperations ResearchStochastic Systems·Captain: mikedeng1

Stability and Instability of Fluid Models for Reentrant Lines 2: In Every Reentrant Line the First-Buffer-First-Served Fluid Model Is StableResearch Paper

Why priority rules in reentrant lines matter

Semiconductor wafer fabrication is the standard example of a reentrant line: every wafer follows the same long route through a set of machines, and visits several machines many times. Each visit is a separate processing step, and a machine with work waiting from several steps must choose which step to serve. Kumar (1993) proposed studying such lines through their buffer priority rules, and Lu and Kumar (1991) showed that a priority rule can make a line unstable even though every machine has spare capacity. The question is therefore not academic: a scheduling rule that looks reasonable can let queues grow without bound.

Dai (1995) reduced the positive Harris recurrence of a multiclass queueing network to the stability of a deterministic fluid model, and Dai and Weiss (1996) used this reduction to prove stability results for several reentrant lines. This mission formalizes their Theorem 4.3: under the First-Buffer-First-Served (FBFS) discipline, the fluid model of every reentrant line is stable whenever each station's nominal workload is below one. Kumar (1993) had proved the analogous statement for discrete deterministic systems.

Timeline:

  • 1991. Lu and Kumar exhibit a two-station reentrant line that is unstable under a static priority rule with every workload below one.
  • 1993. Kumar proves stability of FBFS and LBFS for discrete deterministic reentrant lines.
  • 1995. Dai shows that stability of the fluid model implies positive Harris recurrence of the stochastic network.
  • 1996. Dai and Weiss prove that the FBFS and LBFS fluid models of every reentrant line are stable (Theorems 4.3 and 4.4), and with Dai's theorem obtain stability of the stochastic networks.

Setting

A reentrant line has III stations and KKK classes. All fluid follows one route: it enters as class 111, becomes class k+1k+1k+1 when class kkk is completed, and leaves after class KKK. Class kkk is served at station σ(k)\sigma(k)σ(k) with mean service time mk>0m_k > 0mk​>0, and μk=1/mk\mu_k = 1/m_kμk​=1/mk​. The constituency of station iii is Ci={k:σ(k)=i}C_i = \{k : \sigma(k) = i\}Ci​={k:σ(k)=i}, and its nominal workload is ρi=∑k∈Cimk\rho_i = \sum_{k\in C_i} m_kρi​=∑k∈Ci​​mk​. The exogenous arrival rate is 111. The standing assumption of the paper is

ρi<1(i=1,…,I).(1.7)\rho_i < 1 \qquad (i = 1,\dots,I). \tag{1.7}ρi​<1(i=1,…,I).(1.7)

A fluid model solution is a pair of paths Q(t)=(Qk(t))kQ(t) = (Q_k(t))_kQ(t)=(Qk​(t))k​, the fluid levels, and T(t)=(Tk(t))kT(t) = (T_k(t))_kT(t)=(Tk​(t))k​, the cumulative service time given to each class, such that for t≥0t \ge 0t≥0:

Qk(t)=Qk(0)+μk−1Tk−1(t)−μkTk(t),Qk(t)≥0,Q_k(t) = Q_k(0) + \mu_{k-1}T_{k-1}(t) - \mu_k T_k(t), \qquad Q_k(t) \ge 0,Qk​(t)=Qk​(0)+μk−1​Tk−1​(t)−μk​Tk​(t),Qk​(t)≥0,

with μ0T0(t)=t\mu_0T_0(t) = tμ0​T0​(t)=t; each TkT_kTk​ starts at 000 and is nondecreasing; and the idle time Ui(t)=t−∑k∈CiTk(t)U_i(t) = t - \sum_{k\in C_i}T_k(t)Ui​(t)=t−∑k∈Ci​​Tk​(t) of each station is nondecreasing.

A buffer priority discipline is a permutation π\piπ of the classes; a class kkk has priority over a class lll at the same station when π(k)<π(l)\pi(k) < \pi(l)π(k)<π(l). Write Hk={l∈Cσ(k):π(l)≤π(k)}H_k = \{l \in C_{\sigma(k)} : \pi(l) \le \pi(k)\}Hk​={l∈Cσ(k)​:π(l)≤π(k)}, Tk+=∑l∈HkTlT_k^+ = \sum_{l\in H_k}T_lTk+​=∑l∈Hk​​Tl​, Uk+(t)=t−Tk+(t)U_k^+(t) = t - T_k^+(t)Uk+​(t)=t−Tk+​(t) and Wk+=∑l∈HkmlQlW_k^+ = \sum_{l\in H_k} m_l Q_lWk+​=∑l∈Hk​​ml​Ql​. Under preemptive resume, Uk+U_k^+Uk+​ may increase only at times when Wk+=0W_k^+ = 0Wk+​=0 (condition (4.4)): a station never idles toward the classes of priority at least that of kkk while any of them holds fluid. FBFS is π(k)=k\pi(k) = kπ(k)=k, so earlier steps of the route have priority.

The fluid model is stable (Definition 1.3) if there is a time δ>0\delta > 0δ>0 such that every solution with ∣Q(0)∣=∑kQk(0)=1|Q(0)| = \sum_k Q_k(0) = 1∣Q(0)∣=∑k​Qk​(0)=1 has Q(t)=0Q(t) = 0Q(t)=0 for all t≥δt \ge \deltat≥δ.

Formalization targets

Goal: Theorem 4.3

For every reentrant line with mk>0m_k > 0mk​>0 and (1.7),

the fluid model (1.8)–(1.12), (4.4) with π(k)=k is stable.\text{the fluid model (1.8)–(1.12), (4.4) with } \pi(k) = k \text{ is stable.}the fluid model (1.8)–(1.12), (4.4) with π(k)=k is stable.

The goal asserts existence of an emptying time; it does not fix the value.

Milestones

  1. Lemma 2.2 (i): a nonnegative function has zero derivative wherever it vanishes and is differentiable.
  2. Lemma 2.2 (ii): an absolutely continuous nonnegative ggg whose derivative is at most −ε-\varepsilon−ε wherever g>0g > 0g>0 vanishes from g(0)/εg(0)/\varepsilong(0)/ε on, and is nonincreasing.
  3. Proposition 4.2: at a regular time of a priority fluid model, an empty buffer has equal in- and out-flow rates, and at each station the highest-priority nonempty class satisfies ∑k∈Hk0mkdk=1\sum_{k\in H_{k_0}} m_kd_k = 1∑k∈Hk0​​​mk​dk​=1 while lower-priority classes have zero out-flow.
  4. Inductive step (proof of Theorem 4.3): once buffers 1,…,k−11,\dots,k-11,…,k−1 stay empty from tk−1t_{k-1}tk−1​ on, buffer kkk is empty from tk=tk−1+Qk(tk−1)mk/(1−∑l∈Hkml)t_k = t_{k-1} + Q_k(t_{k-1})m_k/(1 - \sum_{l\in H_k} m_l)tk​=tk−1​+Qk​(tk−1​)mk​/(1−∑l∈Hk​​ml​) on.
  5. Emptying time (proof of Theorem 4.3): every solution with ∣Q(0)∣=1|Q(0)| = 1∣Q(0)∣=1 is empty from
δ=∑k=1Kmk∏l=1k−1(1−∑j∈Hl∖{l}mj)∏l=1k(1−∑j∈Hlmj)\delta = \sum_{k=1}^K m_k\frac{\prod_{l=1}^{k-1}(1-\sum_{j\in H_l\setminus\{l\}}m_j)}{\prod_{l=1}^{k}(1-\sum_{j\in H_l}m_j)}δ=k=1∑K​mk​∏l=1k​(1−∑j∈Hl​​mj​)∏l=1k−1​(1−∑j∈Hl​∖{l}​mj​)​

on, which gives the goal with an explicit constant.

Significance

Combined with Dai's theorem (Theorem 1.1 of the paper), Theorem 4.3 gives positive Harris recurrence of every multiclass reentrant line operated under FBFS, under the distributional assumptions of that theorem, whenever (1.7) holds. Since Lu–Kumar-type examples show that priority rules can destabilize a network with spare capacity, a rule that is provably stable on every reentrant line is a meaningful guarantee. FBFS, together with LBFS, is the basic positive case against which the instability examples in the same paper (Theorem 5.1) are compared.

Formalizing the result adds a machine-checked version of the fluid model with priority constraints, stated for an arbitrary line rather than a fixed network, and a checked explicit emptying time. The result is proved in the paper; no machine-checked proof is known. The rate identities of Proposition 4.2 and the extinction lemma are reused by the LBFS mission of this series.

Difficulty

The fluid model gives the paths only as nondecreasing functions subject to equations; nothing says they are differentiable. Every argument about rates holds only at regular times, and the conclusion must be integrated back through absolute continuity, which itself must be derived from the monotonicity conditions. The priority condition (4.4) is an "increases only when empty" condition; turning it into the rate identity (4.6) at a regular point requires continuity of the fluid levels and a careful local argument. The induction over classes needs uniform control of every earlier buffer for all later times, not only at one instant, so a pointwise reading of "buffer k−1k-1k−1 is empty" is not enough. Finally, the explicit constant δ\deltaδ requires bounding the content of buffer kkk at time tk−1t_{k-1}tk−1​ by the total content, which may have grown since time 000.

Formalization scope

  • Classes and stations are Fin K and Fin I, 0-based: the paper's class kkk is Lean index k−1k-1k−1.
  • Paths are total functions ℝ → Fin K → ℝ; every equation is imposed on t≥0t \ge 0t≥0 only, and derivatives are taken at t>0t > 0t>0.
  • Conditions (1.13) and (4.4) are in interval form (ConstantWhile): the idle process is constant on every interval of [0,∞)[0,\infty)[0,∞) on which the content stays positive. This is equivalent to the paper's Stieltjes integral form for continuous paths.
  • Lipschitz continuity of the paths is not assumed; it follows from the monotonicity conditions.
  • mk>0m_k > 0mk​>0 is an explicit hypothesis; the paper takes it for granted.
  • Priorities are Equiv.Perm (Fin K), FBFS is the identity; ∣Q(0)∣|Q(0)|∣Q(0)∣ is ∑kQk(0)\sum_k Q_k(0)∑k​Qk​(0).
  • In Lemma 2.2 (ii) the printed strict "g˙(t)<−ε\dot g(t) < -\varepsilong˙​(t)<−ε" is relaxed to "≤−ε\le -\varepsilon≤−ε", as every application requires; absolute continuity is dropped from Lemma 2.2 (i), where it is not needed. Both changes strengthen the lemma.
  • In the inductive step, "stay empty for t>tk−1t > t_{k-1}t>tk−1​" is read as t≥tk−1t \ge t_{k-1}t≥tk−1​, and the case Qk(tk−1)=0Q_k(t_{k-1}) = 0Qk​(tk−1​)=0 is included.
  • The stochastic network is not formalized; only the fluid model is.

A trivializing formalization is ruled out: the goal uses the priority fluid model, not the work-conserving one alone (which would claim that every work-conserving fluid model is stable, false by Theorem 5.1), and a sorry-free witness shows that the FBFS solution predicate has solutions with ∣Q(0)∣=1|Q(0)| = 1∣Q(0)∣=1, so stability is not vacuous.

Contributions welcome: the extinction lemma for absolutely continuous functions, the derivation of Lipschitz continuity from (1.10)–(1.12), and the rate identities of Proposition 4.2 are reusable beyond this mission.

Selected references

  • J. G. Dai and G. Weiss, Stability and instability of fluid models for reentrant lines, Mathematics of Operations Research 21(1) (1996) 115–134. https://doi.org/10.1287/moor.21.1.115
  • J. G. Dai, On positive Harris recurrence of multiclass queueing networks: a unified approach via fluid limit models, Annals of Applied Probability 5(1) (1995) 49–77. https://doi.org/10.1214/aoap/1177004828
  • P. R. Kumar, Re-entrant lines, Queueing Systems 13 (1993) 87–110. https://doi.org/10.1007/BF01149327
  • S. H. Lu and P. R. Kumar, Distributed scheduling based on due dates and buffer priorities, IEEE Transactions on Automatic Control 36(12) (1991) 1406–1416. https://doi.org/10.1109/9.106159
8 thms1 active userReviewed
Dynamical SystemsOperations ResearchStochastic Systems·Captain: mikedeng1

Stability and Instability of Fluid Models for Reentrant Lines 3: In Every Reentrant Line the Last-Buffer-First-Served Fluid Model Is StableResearch Paper

Motivation

A manufacturing line can send the same job through several stations and return it to a station it visited earlier. Semiconductor fabrication is one example. Such a reentrant line has several customer classes at one server, and the server must choose which class to work on. A station may have enough capacity on average yet the line can still accumulate an unbounded queue under an unfortunate service rule. Dai and Weiss use deterministic fluid models to study this question: fluid represents large queues, and its motion exposes the long-run effect of the service rule. Their paper proves that two simple buffer priority disciplines have stable fluid models for every reentrant line satisfying the usual station load condition. This mission concerns Last-Buffer-First-Served, abbreviated LBFS. Dai and Weiss (1996).

The distinction between fluid and stochastic queue stability matters. Dai and Weiss cite an earlier theorem connecting stable fluid models to stable queueing disciplines under the stochastic assumptions of their introduction. The target here is their fluid theorem, Theorem 4.4, rather than a separate formalization of that stochastic implication. Dai and Weiss (1996), pp. 115, 119, 124.

Setting

There are KKK classes, numbered in route order, and III stations. Every unit of fluid enters class 111 at rate one. On completing service in class kkk, it becomes class k+1k+1k+1; after class KKK, it leaves. The station serving class kkk is σ(k)\sigma(k)σ(k). Different classes may share a station. The constituency of station iii is Ci={k:σ(k)=i}C_i=\{k:\sigma(k)=i\}Ci​={k:σ(k)=i}, and class kkk has positive mean service requirement mkm_kmk​, so its service rate is μk=1/mk\mu_k=1/m_kμk​=1/mk​. The nominal workload at station iii is ρi=∑k∈Cimk\rho_i=\sum_{k\in C_i}m_kρi​=∑k∈Ci​​mk​. The paper assumes ρi<1\rho_i<1ρi​<1 at every station. Dai and Weiss (1996), pp. 115–117.

For time t≥0t\ge0t≥0, Qk(t)Q_k(t)Qk​(t) is the amount of fluid in class kkk, and Tk(t)T_k(t)Tk​(t) is the cumulative server time spent on that class. The flow equations say that class content equals its initial content plus completed service from the preceding class minus its own completed service. The first class receives the external unit-rate flow. Each QkQ_kQk​ remains nonnegative, each TkT_kTk​ starts at zero and is nondecreasing, and the cumulative idle time of every station is nondecreasing. A priority rule adds a condition on when a server may reserve capacity for lower-ranked classes. These are the fluid equations of Definition 1.2 and §4. Dai and Weiss (1996), pp. 118, 122–123.

A priority ranking π\piπ assigns a distinct rank to every class, with smaller rank meaning higher priority. For class kkk, let HkH_kHk​ contain the classes at the same station whose rank is at least as high as kkk's. In a preemptive-resume priority fluid model, capacity unused by HkH_kHk​ may increase only when the fluid workload in HkH_kHk​ is zero. Under LBFS, π(k)=K+1−k\pi(k)=K+1-kπ(k)=K+1−k: a class later in the route has higher priority. Priority is compared within each station, even though the ranking is written globally. Dai and Weiss (1996), pp. 122–123, Definition 4.1.

Formalization targets

Theorem 4.4 asks for stability of the LBFS fluid model for every reentrant line with positive service requirements and ρi<1\rho_i<1ρi​<1:

∃δ>0  ∀(Q,T),[(Q,T) is an LBFS fluid solution and ∣Q(0)∣=1]⟹∀t≥δ,  Q(t)=0,\exists\delta>0\;\forall (Q,T),\quad \bigl[(Q,T)\text{ is an LBFS fluid solution and }|Q(0)|=1\bigr] \Longrightarrow \forall t\ge\delta,\;Q(t)=0,∃δ>0∀(Q,T),[(Q,T) is an LBFS fluid solution and ∣Q(0)∣=1]⟹∀t≥δ,Q(t)=0,

where ∣Q(0)∣=∑k=1KQk(0)|Q(0)|=\sum_{k=1}^K Q_k(0)∣Q(0)∣=∑k=1K​Qk​(0). The same δ\deltaδ must work for every solution and every normalized initial configuration. This is exactly the fluid stability definition used by the paper. Dai and Weiss (1996), pp. 118–119, 124.

The milestones follow the paper's own intermediate statements. Lemma 2.2 treats a nonnegative absolutely continuous function whose derivative is negative whenever the function is positive. Proposition 4.2 identifies flow-rate relations at a regular point under a buffer priority rule. The proof of Theorem 4.4 records a uniform negative drift for total content and the explicit emptying time

δ=∣Q(0)∣λ^−1,λ^=1max⁡1≤i≤Iρi>1.\delta=\frac{|Q(0)|}{\widehat\lambda-1},\qquad \widehat\lambda=\frac{1}{\max_{1\le i\le I}\rho_i}>1.δ=λ−1∣Q(0)∣​,λ=max1≤i≤I​ρi​1​>1.

The explicit time is stated for every initial fluid amount; normalization to one belongs only to the final stability theorem. Dai and Weiss (1996), pp. 120, 123–125.

Significance

The theorem gives a uniform finite clearing time for the LBFS fluid model whenever each station's nominal workload is below its capacity. It applies to any number of stations, any finite route, and any assignment of route stages to stations. This is stronger than checking a particular factory layout. The conclusion concerns every fluid solution, which matters because the defining equations need not determine a unique path. Dai and Weiss (1996), pp. 118–119, 124–125.

Formalizing the result requires a reusable interface for reentrant lines, service allocation, station workloads, and the priority complementarity condition, plus separate statements for the extinction criterion and priority flow rates. The theorem is proved in the 1996 paper; the remaining work in this mission is a machine-checked Lean proof of its fluid-model statement and of the listed milestones. The stochastic queueing theorem cited by Dai and Weiss is outside this mission's scope.

Difficulty

The load inequalities ρi<1\rho_i<1ρi​<1 compare average work with available server time, but by themselves they do not specify which class receives service at an instant. Under other service rules, reentrant lines can amplify queued fluid despite every station being nominally underloaded; the same paper gives such an example. A formal proof therefore has to use the precise LBFS priority condition, not only the flow equations and the load inequalities. The regular-time argument must then yield a single bound valid across every possible fluid path. Dai and Weiss (1996), §§4–5.

Formalization scope

Lean represents classes and stations by finite index types. Their indices start at zero: Lean class k−1k-1k−1 corresponds to paper class kkk, and LBFS is Fin.revPerm. The paths QQQ and TTT are functions on all real times, while the fluid equations and conclusions are imposed only for t≥0t\ge0t≥0. The external arrival rate is one, as in the paper's normalization. The conditions that station idle capacity and priority-set unused capacity increase only when their relevant content is zero are expressed by constancy on each interval where that content stays positive. Service and fluid paths are not given extra continuity hypotheses; the fluid equations and monotonicity conditions provide the regularity used in the paper. Dai and Weiss (1996), pp. 116–119, 122–123.

The service requirements mk>0m_k>0mk​>0 are explicit so μk=1/mk\mu_k=1/m_kμk​=1/mk​ has its intended value. The drift and emptying-time milestones explicitly assume K>0K>0K>0, since their formula divides by the maximum station workload. The main theorem retains the universal quantification over lines; when K=0K=0K=0, its normalization ∣Q(0)∣=1|Q(0)|=1∣Q(0)∣=1 is impossible. A faithful solution predicate must include the priority condition (4.4), whose omission would change Theorem 4.4 into a false claim about all work-conserving policies. The definition layer, elementary real-analysis extinction lemma, and priority flow-rate relations are useful beyond this single stability theorem. Dai and Weiss (1996), pp. 117–125.

Selected references

  • J. G. Dai and G. Weiss, Stability and instability of fluid models for reentrant lines, Mathematics of Operations Research 21(1), 115–134, 1996. DOI: 10.1287/moor.21.1.115.
8 thms1 active userReviewed
Dynamical SystemsOperations ResearchStochastic Systems·Captain: mikedeng1

Stability and Instability of Fluid Models for Reentrant Lines 5: Without Immediate Feedback, Every Work-Conserving Fluid Model of a Two-Station Kelly-Type Line Is StableResearch Paper

Motivation

A multiclass queueing network can be unstable even when every station has enough capacity on average: the queue lengths grow without bound although each server's nominal load is below one. Kumar and Seidman, Lu and Kumar (1991) and Rybko and Stolyar (1992) exhibited such networks under simple priority disciplines. This raised the question of which networks are stable under every reasonable policy, and which policies are stable in every network. Dai (1995) reduced the stability of a queueing network to the stability of its deterministic fluid model, so that the question becomes one about solutions of a system of linear equations and inequalities.

Dai and Weiss (1996) use this reduction to study reentrant lines, the model of semiconductor wafer fabrication in which a single route visits the same machines many times. Section 6 of their paper treats Kelly-type lines, in which every visit to a station has the same mean service time. Kelly (1979) showed that such networks with exponential service times are stable under FIFO and have a product-form stationary distribution. Theorem 6.1 shows that with two stations, and a route that never visits the same station twice in a row, stability holds under every work-conserving policy, not only FIFO. This mission formalizes that theorem.

Setting

A reentrant line has stations 1,…,I1,\dots,I1,…,I and classes 1,…,K1,\dots,K1,…,K. Fluid enters class 111 at rate 111, moves from class kkk to class k+1k+1k+1 on service, and leaves after class KKK. Class kkk is served at station σ(k)\sigma(k)σ(k) with mean service time mk>0m_k > 0mk​>0 and rate μk=1/mk\mu_k = 1/m_kμk​=1/mk​. The constituency of station iii is Ci={k:σ(k)=i}C_i = \{k : \sigma(k) = i\}Ci​={k:σ(k)=i} and its nominal workload is ρi=∑k∈Cimk\rho_i = \sum_{k\in C_i} m_kρi​=∑k∈Ci​​mk​. The traffic condition (1.7) is ρi<1\rho_i < 1ρi​<1 for every iii.

A fluid model solution is a pair (Q,T)(Q, T)(Q,T): Qk(t)≥0Q_k(t) \ge 0Qk​(t)≥0 is the fluid in class kkk at time ttt and Tk(t)T_k(t)Tk​(t) the cumulative service time given to class kkk by time ttt. They satisfy, for t≥0t \ge 0t≥0,

Qk(t)=Qk(0)+μk−1Tk−1(t)−μkTk(t)(μ0T0(t)=t),Q_k(t) = Q_k(0) + \mu_{k-1}T_{k-1}(t) - \mu_k T_k(t) \quad (\mu_0 T_0(t) = t),Qk​(t)=Qk​(0)+μk−1​Tk−1​(t)−μk​Tk​(t)(μ0​T0​(t)=t),

Tk(0)=0T_k(0) = 0Tk​(0)=0 with TkT_kTk​ nondecreasing, and the idle time Ui(t)=t−Bi(t)U_i(t) = t - B_i(t)Ui​(t)=t−Bi​(t), where Bi(t)=∑k∈CiTk(t)B_i(t) = \sum_{k\in C_i} T_k(t)Bi​(t)=∑k∈Ci​​Tk​(t), is nondecreasing. The solution is work-conserving if UiU_iUi​ increases only at times when station iii holds no fluid. The immediate volume of station iii is Wi(t)=∑k∈CimkQk(t)W_i(t) = \sum_{k \in C_i} m_k Q_k(t)Wi​(t)=∑k∈Ci​​mk​Qk​(t).

The line is of Kelly type with station means β1,…,βI\beta_1, \dots, \beta_Iβ1​,…,βI​ if mk=βσ(k)m_k = \beta_{\sigma(k)}mk​=βσ(k)​ for every class kkk. Its routing has no immediate feedback if σ(k+1)≠σ(k)\sigma(k+1) \ne \sigma(k)σ(k+1)=σ(k) for every k<Kk < Kk<K. A set of fluid solutions is stable (Definition 1.3) if there is a δ>0\delta > 0δ>0 such that every solution in the set with ∣Q(0)∣=∑kQk(0)=1|Q(0)| = \sum_k Q_k(0) = 1∣Q(0)∣=∑k​Qk​(0)=1 is empty from time δ\deltaδ on.

Formalization targets

Goal: Theorem 6.1

For a two-station Kelly-type reentrant line without immediate feedback that satisfies (1.7), the work-conserving fluid model is stable: there is δ>0\delta > 0δ>0 with

∑kQk(0)=1 ⟹ Qk(t)=0for all t≥δ, k=1,…,K,\sum_k Q_k(0) = 1 \ \Longrightarrow\ Q_k(t) = 0 \quad \text{for all } t \ge \delta,\ k = 1,\dots,K,k∑​Qk​(0)=1 ⟹ Qk​(t)=0for all t≥δ, k=1,…,K,

for every work-conserving fluid solution (Q,T)(Q,T)(Q,T). The number of classes KKK is arbitrary, of either parity, and the route may start at either station.

Milestones

The milestones follow the proof on p. 130 and the two general lemmas it uses: the extinction criterion of Lemma 2.2 (ii); the derivative of a maximum at an active index, display (3.2), already proved on the platform; the piecewise-linear Lyapunov Lemma 3.2; the drift identity Gi(t)=Gi(0)+∣Ci∣t−Bi(t)/βiG_i(t) = G_i(0) + |C_i|t - B_i(t)/\beta_iGi​(t)=Gi​(0)+∣Ci​∣t−Bi​(t)/βi​ for Gi=∑k∈CiQk+G_i = \sum_{k\in C_i} Q_k^+Gi​=∑k∈Ci​​Qk+​, with Qk+=∑l≤kQlQ_k^+ = \sum_{l\le k} Q_lQk+​=∑l≤k​Ql​; the comparison Wi(t)=0⇒Gi(t)≤Gj(t)W_i(t) = 0 \Rightarrow G_i(t) \le G_j(t)Wi​(t)=0⇒Gi​(t)≤Gj​(t); and the verification that G1,G2G_1, G_2G1​,G2​ meet the hypotheses of Lemma 3.2 with εi=1/βi−∣Ci∣\varepsilon_i = 1/\beta_i - |C_i|εi​=1/βi​−∣Ci​∣.

Significance

The result. Theorem 6.1 gives a class of networks in which stability needs no knowledge of the scheduling policy: any policy that never idles a server with work waiting is stable whenever the nominal loads are below one. For queueing networks this is the property usually called global stability. Through Theorem 1.1 of the paper (Dai 1995, Theorem 4.3) the fluid statement implies positive Harris recurrence of the corresponding multiclass queueing network under every work-conserving head-of-the-line policy. The paper's Remarks 2 and 3 show the boundary: with immediate feedback (the line 1,2,2,2,1,11,2,2,2,1,11,2,2,2,1,1 with all means 0.30.30.3), or with three stations, a Kelly-type line can be unstable. A two-station Kelly-type line without immediate feedback is a unidirectional ring with one customer type, so the theorem is a special case of the ring-network result the paper proves as Theorem 6.2. That result is an open goal on the platform (ProcessingNetworks.GlobalStability.ring_globally_stable, Dai and Harrison's Theorem 8.24) in a different encoding of the fluid model.

Formalizing it. The theorem is proved in the paper, and the mission formalizes that proof. No machine-checked proof of the result, or of the Lyapunov lemmas it uses, is known to exist. The mission also produces reusable pieces: a fluid model of reentrant lines in the paper's own formulation, an extinction lemma for absolutely continuous functions, and the max-of-linear Lyapunov lemma, which the paper uses again in §§3 and 5.

Difficulty

The obvious Lyapunov function, the total workload, does not work: a work-conserving policy may starve a station while the other one is busy, so the total content need not decrease. The paper's components Gi=∑k∈CiQk+G_i = \sum_{k\in C_i}Q_k^+Gi​=∑k∈Ci​​Qk+​ each decrease at the constant rate 1/βi−∣Ci∣1/\beta_i - |C_i|1/βi​−∣Ci​∣ while station iii is busy. When station iii is idle, GiG_iGi​ can grow, and the argument then needs the comparison Gi≤GjG_i \le G_jGi​≤Gj​, which requires the alternating route. The analytic difficulty is the passage from these pointwise statements to extinction. Fluid paths are only Lipschitz. The maximum G=max⁡(G1,G2)G = \max(G_1, G_2)G=max(G1​,G2​) need not be differentiable where the maximum switches, and the drift statements hold only almost everywhere. Lemma 2.2 (ii) and the derivative-of-a-maximum fact (3.2) make this step rigorous. The proof for odd KKK is not printed ("can be proved similarly"), and the formal goal covers it.

Formalization scope

All objects live in the namespace DaiWeissFluid.KellyType. The conventions are fixed as follows.

  • Classes and stations are 0-based (Fin K, Fin I). The paper's class kkk is Lean k - 1.
  • Paths are total functions ℝ → Fin K → ℝ, and every equation is imposed for t≥0t \ge 0t≥0 only. Derivatives are taken at t>0t > 0t>0 via HasDerivAt.
  • Work conservation (1.13) is stated in interval form: UiU_iUi​ is constant on every interval [s,t]⊆[0,∞)[s,t] \subseteq [0,\infty)[s,t]⊆[0,∞) on which station iii holds fluid throughout. For the continuous nondecreasing UiU_iUi​ this is equivalent to the paper's Stieltjes condition. Lipschitz continuity of the paths is not assumed, because it follows from the model.
  • mk>0m_k > 0mk​>0 is an explicit hypothesis. ∣Q(0)∣|Q(0)|∣Q(0)∣ is ∑kQk(0)\sum_k Q_k(0)∑k​Qk​(0).
  • Stability is Definition 1.3, which constrains only solutions with ∣Q(0)∣=1|Q(0)| = 1∣Q(0)∣=1.
  • The paper's Theorem 6.1 says "any work-conserving policy is stable", which is stability of the queueing network (Definition 1.1). Its proof establishes stability of the work-conserving fluid model, and the queueing-level conclusion follows from the cited Theorem 1.1 (Dai 1995). The goal is the fluid statement. Theorem 1.1 and the stochastic model are not formalized.
  • Lemma 2.2 (ii) is stated with the hypothesis g˙≤−ε\dot g \le -\varepsilong˙​≤−ε, where the page prints <<<. This is the form in which every application uses it, and it gives a stronger lemma.
  • The drift identity is stated for every Kelly-type line, which implies the printed K=2nK = 2nK=2n display. The printed "G2(t)=G2(t)+nt−…G_2(t) = G_2(t) + nt - \dotsG2​(t)=G2​(t)+nt−…" is read as G2(0)+nt−…G_2(0) + nt - \dotsG2​(0)+nt−….
  • Condition (b) and the Lemma 3.2 check are stated for both parities of KKK and both starting stations. A station with no classes has its εi\varepsilon_iεi​ left free.

The goal must not be trivialized. It quantifies over all work-conserving solutions with ∣Q(0)∣=1|Q(0)| = 1∣Q(0)∣=1, and this set is nonempty: a sorry-free witness with K=2K = 2K=2 is checked locally. Neither the Kelly-type hypothesis nor the absence of immediate feedback may be dropped (Remark 2), nor may the goal be generalized beyond two stations (Remark 3). Restricting it to even KKK, or to a route starting at station 1, would weaken it.

Contributions welcome: proofs of the general Lemmas 2.2 (ii) and 3.2, which apply across the whole series; the drift identity, which is pure algebra from (1.8); the continuity facts for fluid paths (Lipschitz bounds from (1.10)–(1.12)); and the final assembly.

Selected references

  • J. G. Dai and G. Weiss, Stability and instability of fluid models for reentrant lines, Mathematics of Operations Research 21(1), 115–134, 1996. https://doi.org/10.1287/moor.21.1.115
  • J. G. Dai, On positive Harris recurrence of multiclass queueing networks: a unified approach via fluid limit models, Annals of Applied Probability 5(1), 49–77, 1995. https://doi.org/10.1214/aoap/1177004828
  • S. H. Lu and P. R. Kumar, Distributed scheduling based on due dates and buffer priorities, IEEE Transactions on Automatic Control 36(12), 1406–1416, 1991. https://doi.org/10.1109/9.106156
  • F. P. Kelly, Reversibility and Stochastic Networks, Wiley, 1979.
  • J. G. Dai and J. M. Harrison, Processing Networks: Fluid Models and Stability, Cambridge University Press, 2020. https://doi.org/10.1017/9781108772662
11 thms2 active usersReviewed
Dynamical SystemsOperations ResearchStochastic Systems·Captain: mikedeng1

Stability and Instability of Fluid Models for Reentrant Lines 4: The Lu–Kumar Network Has an Unstable Work-Conserving Fluid Model iff m₂ + m₄ ≥ 1Research Paper

Motivation

A reentrant line is a queueing network in which every customer follows one fixed route but may return to a station after visiting another one. A manufacturing line can have this pattern when a product revisits the same machine at different processing stages. A station can then have little nominal workload and still face unstable queues under an unfortunate service order. Dai and Weiss studied this gap between nominal capacity and fluid stability for reentrant lines in their 1996 paper. The four-class line associated with Lu and Kumar is their sharp example: its behavior changes at a simple cross-station inequality that is different from either station's ordinary workload constraint.

The paper establishes several positive stability results for other disciplines and networks, then gives an exact boundary for the Lu–Kumar line. Here the exact boundary is the focus. The result concerns fluid models, deterministic large-scale approximations of queue trajectories. It does not assert positive Harris recurrence or transience of the underlying stochastic network in both directions. The paper cites Dai's earlier implication from a stable fluid model to a stable stochastic discipline, but the converse was still open in its concluding discussion (Dai and Weiss 1996, pp. 119 and 133).

Setting

There are four customer classes, encountered in order 1→2→3→41\to2\to3\to41→2→3→4. Classes 111 and 444 use station 111; classes 222 and 333 use station 222. Each class kkk has a positive mean service time mkm_kmk​ and service rate μk=1/mk\mu_k=1/m_kμk​=1/mk​. The external arrival rate is normalized to one. The nominal workloads are ρ1=m1+m4\rho_1=m_1+m_4ρ1​=m1​+m4​ and ρ2=m2+m3\rho_2=m_2+m_3ρ2​=m2​+m3​, both assumed strictly below one. These assumptions say that each station has enough average capacity for its own stages, but they leave the scheduling decision unresolved.

At time ttt, Qk(t)≥0Q_k(t)\ge0Qk​(t)≥0 is the amount of class-kkk fluid, and Tk(t)T_k(t)Tk​(t) is the cumulative service time devoted to that class. The fluid equations balance the inflow and outflow of each class. Outside fluid enters class 111 at unit rate; completion of class kkk feeds class k+1k+1k+1 until class 444 exits. Service times and idle times are nondecreasing, and a station's idle time can increase only when its total queue content is zero. A pair (Q,T)(Q,T)(Q,T) with these properties is a work-conserving fluid solution.

The Lu–Kumar priority discipline gives class 444 priority over class 111 at station 111, and class 222 priority over class 333 at station 222. Its fluid model adds the priority complementarity condition: service capacity available to a priority prefix can be unused only when that prefix has no immediate workload. For either model, fluid stability means that some common time δ>0\delta>0δ>0 empties every admissible solution with ∑kQk(0)=1\sum_kQ_k(0)=1∑k​Qk​(0)=1, with all queues remaining zero for t≥δt\ge\deltat≥δ. Instability is the negation of this statement; it does not require every solution to diverge.

Formalization targets

Exact threshold

Theorem 5.1 and Remark 1 give two connected classifications, under mk>0m_k>0mk​>0, ρ1<1\rho_1<1ρ1​<1, and ρ2<1\rho_2<1ρ2​<1:

¬FluidStable⁡(all work-conserving solutions)⟺m2+m4≥1,\neg\operatorname{FluidStable}(\text{all work-conserving solutions}) \quad\Longleftrightarrow\quad m_2+m_4\ge1,¬FluidStable(all work-conserving solutions)⟺m2​+m4​≥1, ¬FluidStable⁡(Lu–Kumar priority solutions)⟺m2+m4≥1.\neg\operatorname{FluidStable}(\text{Lu–Kumar priority solutions}) \quad\Longleftrightarrow\quad m_2+m_4\ge1.¬FluidStable(Lu–Kumar priority solutions)⟺m2​+m4​≥1.

The first clause captures the paper's existence of an unstable work-conserving policy: on the unstable side, the named priority discipline supplies one; on the other side, every work-conserving fluid model is stable. The second clause records the particular policy classification stated in Remark 1. Equality belongs to the unstable side: the paper exhibits a periodic nonempty solution there (Dai and Weiss 1996, pp. 125–127).

Supporting targets

The milestones follow the paper's own statements and proof claims. The real-analysis extinction criterion of Lemma 2.2(ii) and the maximum-of-components criterion of Lemma 3.2 provide the stability language. Display (3.2), already available as a proved platform theorem, identifies the derivative of an attained maximum at a regular point. The priority condition (4.4) implies the ordinary work-conserving condition (1.13). The unstable half records one first cycle, one solution with every scaled cycle, and instability of the priority model. The stable half records the authors' explicit parameter choice, the two linear Lyapunov conditions, and stability of every work-conserving fluid solution.

Significance

The threshold says that the two station-load inequalities alone do not characterize stability of all work-conserving service orders. The extra inequality m2+m4<1m_2+m_4<1m2​+m4​<1 determines when the entire work-conserving fluid class is stable; its failure admits a concrete priority discipline with a nonempty trajectory. At the boundary m2+m4=1m_2+m_4=1m2​+m4​=1, growth need not be strict: periodic fluid behavior already defeats finite-time stability. The result therefore distinguishes the paper's global stability region from the larger parameter region in which both stations are nominally underloaded (Dai and Weiss 1996, Remark 1, p. 125).

A machine-checked development would give reusable definitions for a four-stage reentrant fluid model, its priority complementarity condition, and the precise unit-initial-state notion of stability. The local Lean statements in this proposal compile, but their proofs remain open. The published maximum-derivative fact is the one already proved platform component used by this mission. The other milestones identify the mathematical work needed to formalize the known 1996 result, rather than presenting the result as a new open conjecture.

Difficulty

The ordinary load test ρi<1\rho_i<1ρi​<1 controls how much service each station needs on average, but it does not control which class receives service when several buffers at a station are nonempty. In the Lu–Kumar priority discipline, serving a high-priority downstream class changes the future arrival pattern seen by the other station. Thus a direct argument from ρ1<1\rho_1<1ρ1​<1 and ρ2<1\rho_2<1ρ2​<1 to queue extinction fails. On the stable side, checking a single station's workload is also insufficient: its content may fall while earlier-stage fluid continues to feed it. The paper formulates two linear components and a finite maximum; the challenge is to obtain a uniform negative drift whenever that maximum is positive, including times when one station is empty and the other determines the active component (Dai and Weiss 1996, pp. 126–128).

Formalization scope

Classes and stations are Fin 4 and Fin 2, with zero-based Lean indices: paper class kkk is Lean index k−1k-1k−1. The fixed station map is (0,1,1,0)(0,1,1,0)(0,1,1,0). Service times remain real parameters with explicit positivity hypotheses. Paths are total functions of real time, while equations and conclusions apply only on t≥0t\ge0t≥0. The external arrival rate is one, and initial size is the sum ∑kQk(0)\sum_kQ_k(0)∑k​Qk​(0), since class contents are nonnegative. The nominal-load assumptions are the two strict inequalities in (5.1). The named priority ranking is a permutation; it encodes only the station-local comparisons that matter.

Conditions (1.13) and (4.4), printed as complementarity or “increases only when empty,” use an equivalent interval-constancy condition in Lean. No extra Lipschitz or continuity assumption is placed on solutions: the fluid equations and monotone capacity constraints are intended to supply that regularity. Derivatives at regular points are represented with HasDerivAt. Lemma 2.2(ii) uses the non-strict bound g˙≤−ε\dot g\le-\varepsilong˙​≤−ε, the version used by the paper's applications, although its displayed hypothesis prints g˙<−ε\dot g<-\varepsilong˙​<−ε. The p. 127 line involving G1G_1G1​ prints (1−θ2)Q4(1-\theta_2)Q_4(1−θ2​)Q4​; (5.3) fixes the intended coefficient as (1−θ1)Q4(1-\theta_1)Q_4(1−θ1​)Q4​.

The goal uses Definition 1.3 exactly: one uniform emptying time for all solutions of unit initial content. An impossible solution predicate, or an instability claim that only asks for a nonzero state at time zero, would not represent the paper's theorem. The mission needs finite-index sum and maximum infrastructure, absolute continuity and almost-everywhere differentiation on nonnegative time, plus elementary algebra of service rates and the cycle scaling. These components can be reused in later fluid-network missions. Contributions that preserve the source's hypotheses and boundary case are welcome.

Selected references

  • J. G. Dai and G. Weiss, Stability and instability of fluid models for reentrant lines, Mathematics of Operations Research 21(1), 115–134, 1996. DOI: 10.1287/moor.21.1.115.
14 thms2 active usersReviewed
Operations ResearchStochastic Systems·Captain: mikedeng1

Extensions of the Queueing Relations L = λW and H = λG: Under (14) and (15) the Time Average H(t) Converges if and only if the Customer Average G(s) Does, and Then H = λGResearch Paper

Motivation

Queueing results often relate an average accumulated over customers to an average accumulated over time. In the familiar relation L=λWL=\lambda WL=λW, the long-run average number in a system equals the arrival rate times the average time spent there. Glynn and Whitt study a broader relation, H=λGH=\lambda GH=λG, that can represent queue lengths and waiting times but also costs, work, and other cumulative inputs. Their framework is deterministic: a stochastic model may supply a sample path, yet the central comparison is a statement about functions on that path. This lets the same theorem apply to different queueing models without choosing a probability law for each one. Glynn and Whitt (1989)

The paper asks for more than the usual forward implication from a customer average to a time average. Its main theorem identifies conditions under which either average has a finite limit exactly when the other does. It also compares lim inf and lim sup when ordinary limits fail to exist. Both questions matter when sample paths fluctuate: convergence of one average cannot simply be inferred from a visual similarity between the two ways of indexing the input. Glynn and Whitt (1989), §§1–2

Setting

A cumulative input is a real-valued function F(s,t)F(s,t)F(s,t) on [0,∞)×[0,∞)[0,\infty)\times[0,\infty)[0,∞)×[0,∞), nondecreasing separately in the customer coordinate sss and the time coordinate ttt. Its marginal limits F(s,∞)F(s,\infty)F(s,∞) and F(∞,t)F(\infty,t)F(∞,t) are finite for every fixed argument. The first counts all eventual input associated with customers through index sss; the second counts all input accumulated through time ttt. The marginal averages are

G(s)=F(s,∞)s,H(t)=F(∞,t)t.G(s)=\frac{F(s,\infty)}{s},\qquad H(t)=\frac{F(\infty,t)}{t}.G(s)=sF(s,∞)​,H(t)=tF(∞,t)​.

The paper permits cumulative inputs that are not distribution functions of measures on rectangles. In particular, it does not require a rectangle-increment inequality or nonnegative values of FFF. The finite marginal limits and monotonicity are the actual assumptions of its general framework. Glynn and Whitt (1989), p. 635, (1)

A time change Ti(s)T_i(s)Ti​(s), for i=1,2i=1,2i=1,2, is finite, nonnegative, nondecreasing, and right-continuous, and tends to infinity with sss. Its right-continuous inverse is Si(t)=inf⁡{s≥0:Ti(s)>t}S_i(t)=\inf\{s\geq0:T_i(s)>t\}Si​(t)=inf{s≥0:Ti​(s)>t}. The two time changes may differ. Both have the same asymptotic rate Ti(s)/s→λ−1T_i(s)/s\to\lambda^{-1}Ti​(s)/s→λ−1 for a positive finite λ\lambdaλ. The paper's two approximation conditions are

F(s,T1(s−))−F(∞,T1(s−))s⟶0(14),F(s,∞)−F(s,T2(s))s⟶0(15),\frac{F(s,T_1(s-))-F(\infty,T_1(s-))}{s}\longrightarrow0 \quad(14), \qquad \frac{F(s,\infty)-F(s,T_2(s))}{s}\longrightarrow0 \quad(15),sF(s,T1​(s−))−F(∞,T1​(s−))​⟶0(14),sF(s,∞)−F(s,T2​(s))​⟶0(15),

as s→∞s\to\inftys→∞, where T1(s−)T_1(s-)T1​(s−) is the left limit. Condition (14) concerns input already present by a left-limit time; condition (15) concerns input not yet present by a right-limit time. Glynn and Whitt (1989), p. 638, (3), (14)–(15)

Formalization targets

One-sided asymptotic bounds

With only (14) and the rate for T1T_1T1​, the corrected upper bounds are

lim inf⁡H≤lim inf⁡λG,lim sup⁡H≤lim sup⁡λG.\liminf H\leq\liminf \lambda G,\qquad \limsup H\leq\limsup \lambda G.liminfH≤liminfλG,limsupH≤limsupλG.

With only (15) and the rate for T2T_2T2​, the corrected lower bounds reverse both inequalities. The two bounds remain useful separately when only one approximation condition holds. Their lim inf and lim sup may be infinite. Glynn and Whitt (1989), p. 639, Theorem 1(a)–(b) and Remark 2

Equality of asymptotic bounds and finite limits

Under both conditions, Theorem 1(c) asserts equality of the respective lim inf and lim sup. The mission goal is Theorem 1(f): for finite real limits,

H(t)→h⟺G(s)→g,and whenever these limits exist, h=λg.H(t)\to h\quad\Longleftrightarrow\quad G(s)\to g, \qquad\text{and whenever these limits exist, }h=\lambda g.H(t)→h⟺G(s)→g,and whenever these limits exist, h=λg.

Here the equivalence means existence of finite limits, with the second clause identifying their values. The lim inf and lim sup statement is retained as a milestone because it also covers nonconvergent paths. Glynn and Whitt (1989), p. 639, Theorem 1(c), (f)

Significance

The goal gives a two-way transfer between customer-indexed and time-indexed long-run averages. If an application establishes one finite average, the theorem supplies the other and fixes its value. The one-sided milestones give meaningful bounds when only one approximation condition is available; the lim inf and lim sup milestone retains information when neither average converges. These outcomes are stated for a general cumulative input, so applications can supply their own FFF, T1T_1T1​, and T2T_2T2​ without changing the theorem. Glynn and Whitt (1989), §§2–4

The paper proves these results on paper. The formalization target is a machine-checked interface for the paper's deterministic framework, its inversion lemmas, its asymptotic inequalities, and the two-way limit theorem. At this drafting stage the Lean theorem statements compile with proof placeholders; no machine-checked proofs of these new statements are claimed. The definitions and inverse-rate lemma can be reused in other sample-path results.

Difficulty

The two marginal averages examine different slices of FFF, and a time change may jump or have flat intervals. A direct substitution of t=Ti(s)t=T_i(s)t=Ti​(s) does not give an equality between F(s,∞)F(s,\infty)F(s,∞) and F(∞,t)F(\infty,t)F(∞,t) under the paper's assumptions. The left limit in (14) and the value in (15) also behave differently at jumps. The inverse SiS_iSi​ connects the coordinates, but its boundary behavior and rate must be handled before comparing the averages. These issues are present even without stochastic randomness. Glynn and Whitt (1989), pp. 638–639

Formalization scope

Lean represents s,ts,ts,t by nonnegative real numbers and FFF by a real-valued function with separate monotonicity and bounded marginal ranges. Real suprema represent F(s,∞)F(s,\infty)F(s,∞) and F(∞,t)F(\infty,t)F(∞,t); the boundedness fields ensure those suprema are the paper's finite limits. The inverse is an infimum of a nonempty set because Ti→∞T_i\to\inftyTi​→∞. The left limit is the supremum over earlier nonnegative arguments, with T(0−)=0T(0-)=0T(0−)=0. Ratios at zero use Lean's total division convention, but every ratio assertion is asymptotic at infinity.

Lim inf and lim sup are taken in the extended reals so an unbounded average retains an infinite limit. Multiplication by λ\lambdaλ happens in the reals before conversion. Ordinary limits in Theorem 1(f) are finite real limits. The two time changes are independent and share only the positive rate λ\lambdaλ. The goal assumes only (14), (15), and the stated time-change rates; it does not assume its own inverse-rate or asymptotic conclusions. No nonnegativity or rectangle inequality is imposed on FFF.

Theorem 1(a) and (b) have their hypothesis pairing reversed in print. The formalized one-sided bounds use the corrected pairing, and the milestone text preserves the printed source for audit. The intermediate expressions involving G(Si(t))G(S_i(t))G(Si​(t)) are excluded from the corrected statements because the framework does not assume customer-coordinate right continuity. Theorem 1(c) and (f) use both conditions and are true as printed. The scope includes the definitions, Lemmas 1–2, corrected parts (a)–(b), and parts (c) and (f). Contributions toward their proofs and reusable time-change lemmas are welcome. Glynn and Whitt (1989), p. 639, Theorem 1

Selected references

  • P. W. Glynn and W. Whitt, Extensions of the Queueing Relations L = λW and H = λG, Operations Research 37(4):634–644, 1989. DOI: 10.1287/opre.37.4.634
9 thms1 active userReviewed
Operations ResearchProbabilityStochastic Systems·Captain: mikedeng1

The Relation between Customer and Time Averages in Queues: H = λG on Every Sample Path When 0 < λ < ∞, G < ∞ and Each f_n Vanishes Outside [t_n, t_n + s_n] with s_n/n → 0Research Paper

Motivation

Little's law L=λWL = \lambda WL=λW says that the long-run average number of customers in a system equals the arrival rate times the average time a customer spends there. It is one of the most used identities in queueing theory, and it holds on individual sample paths under weak conditions (Little 1961; Stidham 1974). Many quantities of interest are not head counts, however: the work in the system, the cost accumulated by customers in progress, the number of tokens a customer holds in some state. For these a more general relation is needed, between a time average HHH and a customer average GGG, of the form H=λGH = \lambda GH=λG.

Heyman and Stidham (Oper. Res. 28 (1980)) prove such a relation on each sample path, for an arbitrary real-valued function attached to each customer, under a support condition that is much weaker than the continuous-sojourn assumption of the L=λWL = \lambda WL=λW theorem. They then show by a counterexample that the support condition cannot simply be dropped, even when every customer function is an indicator.

Timeline.

  • 1961: Little proves L=λWL = \lambda WL=λW under stationarity assumptions (Little 1961).
  • 1971: Brumelle proves H=λGH = \lambda GH=λG under conditions (v.a), (v.b) on the tails of the fnf_nfn​ (J. Appl. Prob. 8, 508–520).
  • 1972: Stidham gives a new proof of L=λWL = \lambda WL=λW, including the lemma relating N(t)/tN(t)/tN(t)/t and tn/nt_n/ntn​/n (Stidham 1972).
  • 1974: Stidham proves L=λWL = \lambda WL=λW on each sample path, assuming each sojourn is one uninterrupted interval (Stidham 1974).
  • 1980: Heyman and Stidham prove H=λGH = \lambda GH=λG on every sample path under the support condition below, and give the counterexample. The paper notes that its Theorem 1 is weaker than the sample-path version of Brumelle's theorem, with hypotheses stated directly on the sample path.

Setting

Fix one sample path. Customers n=1,2,…n = 1, 2, \ldotsn=1,2,… arrive at epochs 0≤t1≤t2≤⋯0 \le t_1 \le t_2 \le \cdots0≤t1​≤t2​≤⋯; ties are allowed. The arrival count N(t)N(t)N(t) is the number of nnn with tn≤tt_n \le ttn​≤t, and the arrival rate is λ=lim⁡t→∞N(t)/t\lambda = \lim_{t\to\infty} N(t)/tλ=limt→∞​N(t)/t when the limit exists.

Customer nnn carries a real-valued function fnf_nfn​ on [0,∞)[0,\infty)[0,∞). Its total is gn=∫0∞fn(t) dtg_n = \int_0^\infty f_n(t)\,dtgn​=∫0∞​fn​(t)dt, and the rate is h(t)=∑n=1∞fn(t)h(t) = \sum_{n=1}^\infty f_n(t)h(t)=∑n=1∞​fn​(t). The customer average and time average are

G=lim⁡N→∞1N∑n=1Ngn,H=lim⁡T→∞1T∫0Th(t) dt.G = \lim_{N\to\infty} \frac1N \sum_{n=1}^N g_n, \qquad H = \lim_{T\to\infty} \frac1T \int_0^T h(t)\,dt .G=N→∞lim​N1​n=1∑N​gn​,H=T→∞lim​T1​∫0T​h(t)dt.

When fnf_nfn​ is the indicator of [tn,tn+Wn)[t_n, t_n + W_n)[tn​,tn​+Wn​), gn=Wng_n = W_ngn​=Wn​ is the sojourn time and h(t)h(t)h(t) is the number in system, so H=λGH = \lambda GH=λG is L=λWL = \lambda WL=λW.

The ASSUMPTION of the paper is that for each nnn there is sn∈[0,∞)s_n \in [0,\infty)sn​∈[0,∞) with

  1. (i) fn(t)=0f_n(t) = 0fn​(t)=0 for t∉[tn,tn+sn]t \notin [t_n, t_n + s_n]t∈/[tn​,tn​+sn​];
  2. (ii) sn/n→0s_n / n \to 0sn​/n→0.

For signed fnf_nfn​ write fn+=max⁡[0,fn]f_n^+ = \max[0, f_n]fn+​=max[0,fn​], fn−=max⁡[0,−fn]f_n^- = \max[0, -f_n]fn−​=max[0,−fn​], and let gn±g_n^\pmgn±​, h±h^\pmh±, G±G^\pmG±, H±H^\pmH± be the corresponding totals, rates and averages.

Formalization targets

Goal: Theorem 2 (p. 986)

Assume (i), (ii) and (v) ∫0∞∣fn(t)∣ dt<∞\int_0^\infty |f_n(t)|\,dt < \infty∫0∞​∣fn​(t)∣dt<∞ for every nnn. If λ\lambdaλ, G+G^+G+ and G−G^-G− exist with 0<λ<∞0 < \lambda < \infty0<λ<∞ and G±<∞G^\pm < \inftyG±<∞, then GGG exists, equals G+−G−G^+ - G^-G+−G−, HHH exists, and

H=λG.(1)H = \lambda G. \tag{1}H=λG.(1)

Milestones

  • (2): for 0<λ<∞0 < \lambda < \infty0<λ<∞, N(t)/t→λN(t)/t \to \lambdaN(t)/t→λ if and only if tn/n→λ−1t_n / n \to \lambda^{-1}tn​/n→λ−1.
  • (3): for fn≥0f_n \ge 0fn​≥0, V(T)≤∫0Th(t) dt≤U(T)V(T) \le \int_0^T h(t)\,dt \le U(T)V(T)≤∫0T​h(t)dt≤U(T), where U(T)U(T)U(T) sums gng_ngn​ over arrived customers and V(T)V(T)V(T) over customers with tn+sn≤Tt_n + s_n \le Ttn​+sn​≤T.
  • (4): λG=lim⁡t→∞U(t)/t\lambda G = \lim_{t\to\infty} U(t)/tλG=limt→∞​U(t)/t.
  • sn/tn→0s_n / t_n \to 0sn​/tn​→0, and lim⁡U(t)/t=lim⁡V(t)/t\lim U(t)/t = \lim V(t)/tlimU(t)/t=limV(t)/t.
  • Theorem 1 (p. 985): for fn≥0f_n \ge 0fn​≥0 under (i)–(iv), H=λGH = \lambda GH=λG.
  • The identity ∫0Th+−∫0Th−=∫0Th\int_0^T h^+ - \int_0^T h^- = \int_0^T h∫0T​h+−∫0T​h−=∫0T​h and (6): G=G+−G−G = G^+ - G^-G=G+−G−, H=H+−H−H = H^+ - H^-H=H+−H−.

Companion results

  • The §3 counterexample: tn=nt_n = ntn​=n, indicator fnf_nfn​ with gn=1g_n = 1gn​=1, so λ=G=1\lambda = G = 1λ=G=1, but H=log⁡2H = \log 2H=log2; its support span sn=ns_n = nsn​=n satisfies (i) and fails (ii).
  • Corollary 3 (p. 988): if λ(ω)=λ\lambda(\omega) = \lambdaλ(ω)=λ is constant, the ensemble averages satisfy ∫H dP=λ∫G dP\int H\,dP = \lambda \int G\,dP∫HdP=λ∫GdP.
  • G=W<∞G = W < \inftyG=W<∞ implies Wn/n→0W_n / n \to 0Wn​/n→0 (p. 986), the step by which Theorem 1 contains L=λWL = \lambda WL=λW.

Significance

The result. H=λGH = \lambda GH=λG converts between a time average, which is what a system designer measures, and a customer average, which is what a customer experiences. Applied to different fnf_nfn​ it yields L=λWL = \lambda WL=λW, the relation between average work in system and average customer work, and relations between time-stationary and embedded-chain probabilities; §2 of the paper derives the GI/M/c/K relation this way. Because the support condition (i)–(ii) allows a customer's contribution to be interrupted (leaving and re-entering the system), it covers preemptive priority queues and nodes of networks, which the continuous-sojourn L=λWL = \lambda WL=λW theorem does not. The counterexample marks the boundary: with interrupted sojourns, indicator functions and finite λ\lambdaλ, GGG alone do not suffice.

Formalizing it. The result is proved on paper, with two steps delegated to earlier work "by mimicking" Lemma 1 and Theorem 2 of Stidham 1974. The indicator special case L=λWL = \lambda WL=λW (with strictly increasing arrivals) is already proved on Prove2Me as queueing_general_littles_law (wenxinzhang). This mission asks for the general, signed, pathwise statement and its proof steps, a counterexample with an exactly computed time average log⁡2\log 2log2, and the ensemble corollary.

Difficulty

The obvious argument, exchanging the time integral of hhh with the sum over customers, gives ∫0Th=∑n∫0Tfn\int_0^T h = \sum_n \int_0^T f_n∫0T​h=∑n​∫0T​fn​, but a customer that has arrived by TTT may contribute only part of its total gng_ngn​ by TTT. The sandwich V(T)≤∫0Th≤U(T)V(T) \le \int_0^T h \le U(T)V(T)≤∫0T​h≤U(T) only bounds this loss; the hard step is showing that U(t)/tU(t)/tU(t)/t and V(t)/tV(t)/tV(t)/t have the same limit, which needs sn/tn→0s_n / t_n \to 0sn​/tn​→0 to compare VVV at time ttt with UUU at a slightly earlier time. Without (ii) this fails, as the counterexample shows: customers there remain "open" for a window proportional to their index.

For signed fnf_nfn​ the sandwich is not available directly, and the proof splits fnf_nfn​ into positive and negative parts; the exchange of sum and integral then needs the finiteness of the parts on every [0,T][0,T][0,T].

Formalization scope

All statements except Corollary 3 are about one fixed sample path; the paper's "with probability one" is the pathwise statement applied to almost every path, and Corollary 3 states this explicitly with a probability measure and almost-sure hypotheses.

Conventions:

  • Customers are indexed from 000 in Lean; index nnn is the paper's customer n+1n+1n+1, so sn/n→0s_n/n \to 0sn​/n→0 is written sn/(n+1)→0s_n/(n+1) \to 0sn​/(n+1)→0.
  • Arrival epochs are Monotone with t0≥0t_0 \ge 0t0​≥0; ties are allowed.
  • fn:R→Rf_n : \mathbb R \to \mathbb Rfn​:R→R, but only values on [0,∞)[0,\infty)[0,∞) enter: (i) is required only for t≥0t \ge 0t≥0, gng_ngn​ integrates over [0,∞)[0,\infty)[0,∞), and time averages integrate over [0,T][0,T][0,T].
  • (iv) and (v) are stated as integrability of fnf_nfn​ on [0,∞)[0,\infty)[0,∞); the page prints (iv) as "≤∞\le \infty≤∞", a misprint for "<∞< \infty<∞".
  • N(t)N(t)N(t) is the cardinality of {n:tn≤t}\{n : t_n \le t\}{n:tn​≤t}; hhh, UUU, VVV are infinite sums over all customers.
  • "HHH exists" includes integrability of hhh on every [0,T][0,T][0,T].
  • The page prints (6) as "G=G+−G+G = G^+ - G^+G=G+−G+"; the stated identity is G=G+−G−G = G^+ - G^-G=G+−G−, as the proof shows.

Added hypotheses: milestones (3), the h±h^\pmh± identity and (6) assume tn→∞t_n \to \inftytn​→∞, which the paper derives from (2); Corollary 3 assumes G(ω)G(\omega)G(ω) is integrable, which its definition of the ensemble average presupposes.

A formalization in which hhh sums only over arrived customers, or in which a non-integrable hhh or fnf_nfn​ has integral 000, would make the statements trivial or different; the definitions rule this out by summing over all customers and requiring integrability.

Needed infrastructure: Cesàro averages and counting functions of nondecreasing sequences, interchange of countable sums and integrals for locally finite families, and harmonic sums ∑m=⌈(k+1)/2⌉k1/m→log⁡2\sum_{m=\lceil (k+1)/2\rceil}^{k} 1/m \to \log 2∑m=⌈(k+1)/2⌉k​1/m→log2. The counting-function lemma (2) and the squeeze for UUU and VVV are reusable well beyond this mission. Proofs of any milestone are welcome independently.

Selected references

  • D. P. Heyman and S. Stidham, Jr., The relation between customer and time averages in queues, Operations Research 28(4):983–994, 1980. https://doi.org/10.1287/opre.28.4.983
  • J. D. C. Little, A proof for the queuing formula: L = λW, Operations Research 9(3):383–387, 1961. https://doi.org/10.1287/opre.9.3.383
  • S. Stidham, Jr., L = λW: a discounted analogue and a new proof, Operations Research 20(6):1115–1126, 1972. https://doi.org/10.1287/opre.20.6.1115
  • S. Stidham, Jr., A last word on L = λW, Operations Research 22(2):417–421, 1974. https://doi.org/10.1287/opre.22.2.417
  • S. L. Brumelle, On the relation between customer and time averages in queues, Journal of Applied Probability 8:508–520, 1971.
11 thms1 active userReviewed
Convex OptimizationOperations ResearchOptimization+1·Captain: mikedeng1

Loss Networks 2: The Erlang Fixed Point Is E_j = 1 − exp(−y_j) for the Unique Optimum y of the Strictly Convex Revised Dual ProblemResearch Paper

Motivation

A loss network is a model of a circuit-switched network: telephone networks, and more generally any system in which a request seizes several resources at once and is lost if any of them is unavailable. Exact loss probabilities in such networks are given by a product-form distribution over a state space whose size grows exponentially with the number of routes, so practitioners compute an approximation instead: the Erlang fixed point, also called the reduced-load approximation. It pretends that links block independently, computes the traffic offered to each link after thinning by the other links, and applies Erlang's single-link formula link by link. Reduced-load approximations of this kind recur throughout §§3–4 of Kelly 1991, where they appear as limits of networks with fixed and with alternative routing.

An approximation defined by a fixed point equation raises an immediate question: does the equation have exactly one solution? Under fixed routing it does, and Kelly's Theorem 3.7 (Ann. Appl. Probab. 1991, p. 338, citing Kelly 1986, reference [33] of the paper) proves it by identifying the fixed point with the optimum of a strictly convex program, the revised dual problem. The convex characterization is specific to fixed routing; the paper notes (p. 337) that for networks with dynamic routing and control nonuniquely determined behaviour can occur.

Setting

There are JJJ links, link jjj having Cj≥1C_j \ge 1Cj​≥1 circuits, and a finite set of routes rrr. A call on route rrr uses Ajr∈Z+A_{jr} \in \mathbb Z_+Ajr​∈Z+​ circuits of link jjj, and calls on route rrr arrive as a Poisson stream of rate νr>0\nu_r > 0νr​>0.

Erlang's formula (1.1) gives the blocking probability of a single link with CCC circuits offered Poisson traffic of intensity ν\nuν:

E(ν,C)=νCC![∑n=0Cνnn!]−1.E(\nu, C) = \frac{\nu^C}{C!}\Big[\sum_{n=0}^{C} \frac{\nu^n}{n!}\Big]^{-1}.E(ν,C)=C!νC​[n=0∑C​n!νn​]−1.

The Erlang fixed point equations (3.1)–(3.2) for the vector of link blocking probabilities (E1,…,EJ)(E_1, \dots, E_J)(E1​,…,EJ​) are

Ej=E(ρj,Cj),ρj=(1−Ej)−1∑rAjr νr∏i(1−Ei)Air,j=1,…,J.E_j = E(\rho_j, C_j), \qquad \rho_j = (1 - E_j)^{-1} \sum_r A_{jr}\,\nu_r \prod_i (1 - E_i)^{A_{ir}}, \qquad j = 1, \dots, J.Ej​=E(ρj​,Cj​),ρj​=(1−Ej​)−1r∑​Ajr​νr​i∏​(1−Ei​)Air​,j=1,…,J.

The utilization function U(y,C)U(y, C)U(y,C) is defined by the implicit relation (3.4),

U(−log⁡(1−E(ν,C)), C)=ν (1−E(ν,C)),ν≥0:U\big(-\log(1 - E(\nu, C)),\, C\big) = \nu\,\big(1 - E(\nu, C)\big), \qquad \nu \ge 0:U(−log(1−E(ν,C)),C)=ν(1−E(ν,C)),ν≥0:

the mean number of busy circuits on a single link whose blocking probability is 1−e−y1 - e^{-y}1−e−y.

The revised dual problem (3.5) is

minimize∑rνrexp⁡(−∑jyjAjr)+∑j∫0yjU(z,Cj) dzsubject to y≥0,\text{minimize} \quad \sum_r \nu_r \exp\Big(-\sum_j y_j A_{jr}\Big) + \sum_j \int_0^{y_j} U(z, C_j)\,dz \qquad \text{subject to } y \ge 0,minimizer∑​νr​exp(−j∑​yj​Ajr​)+j∑​∫0yj​​U(z,Cj​)dzsubject to y≥0,

and its stationarity conditions (3.6) are

∑rAjr νrexp⁡(−∑iyiAir)=U(yj,Cj),j=1,…,J.\sum_r A_{jr}\,\nu_r \exp\Big(-\sum_i y_i A_{ir}\Big) = U(y_j, C_j), \qquad j = 1, \dots, J.r∑​Ajr​νr​exp(−i∑​yi​Air​)=U(yj​,Cj​),j=1,…,J.

The revised dual differs from the dual problem (2.3) of §2, whose optimum gives the limiting blocking probabilities of a large network, only in its last term: ∑jyjCj\sum_j y_j C_j∑j​yj​Cj​ becomes ∑j∫0yjU(z,Cj) dz\sum_j \int_0^{y_j} U(z, C_j)\,dz∑j​∫0yj​​U(z,Cj​)dz.

Formalization targets

Goal: Theorem 3.7

The revised dual problem (3.5) has an optimum yyy, every optimum equals yyy, and

E∈[0,1]J solves (3.1)–(3.2)  ⟺  Ej=1−exp⁡(−yj) for every j.E \in [0,1]^J \text{ solves (3.1)–(3.2)} \iff E_j = 1 - \exp(-y_j) \text{ for every } j.E∈[0,1]J solves (3.1)–(3.2)⟺Ej​=1−exp(−yj​) for every j.

The goal states the characterization, not only the existence and uniqueness of the fixed point: the solution is 1−e−y1 - e^{-y}1−e−y for the optimum yyy of (3.5).

Milestones (p. 338, in the order the argument uses them)

  1. (3.4) defines a function: ν↦−log⁡(1−E(ν,C))\nu \mapsto -\log(1 - E(\nu, C))ν↦−log(1−E(ν,C)) is a continuous strictly increasing bijection of [0,∞)[0,\infty)[0,∞) onto itself for C≥1C \ge 1C≥1, UUU satisfies (3.4), and U≥0U \ge 0U≥0.
  2. y↦U(y,C)y \mapsto U(y, C)y↦U(y,C) is strictly increasing on [0,∞)[0, \infty)[0,∞).
  3. y↦∫0yU(z,C) dzy \mapsto \int_0^y U(z, C)\,dzy↦∫0y​U(z,C)dz is strictly convex, and so is the objective of (3.5) on y≥0y \ge 0y≥0.
  4. (3.5) has exactly one optimum.
  5. A vector y≥0y \ge 0y≥0 is optimal for (3.5) if and only if it satisfies (3.6).
  6. A solution of (3.1)–(3.2) in [0,1]J[0,1]^J[0,1]J has all Ej<1E_j < 1Ej​<1; and for y≥0y \ge 0y≥0, Ej=1−e−yjE_j = 1 - e^{-y_j}Ej​=1−e−yj​ solves (3.1)–(3.2) if and only if yyy satisfies (3.6).

Significance

The theorem turns a nonlinear system of JJJ equations into a smooth strictly convex minimization over the nonnegative orthant. Uniqueness of the fixed point follows at once, and the program gives a computational handle: any convex-minimization method computes the Erlang fixed point, without relying on the convergence of repeated substitution. The comparison with the dual problem (2.3) also explains the approximation: (3.6) relaxes the conditions (2.7), which force a link's carried traffic to equal its capacity before it can block, into a smooth relation in which blocking grows with carried traffic as Erlang's formula prescribes (Remark 3.8).

On Prove2Me, existence and uniqueness of the fixed point alone is already the Proved theorem KellyStochasticNetworks.erlang_fixed_point_unique (Kelly–Yudovina, Stochastic Networks, Theorem 3.20), referenced by this mission. Also referenced: KellyStochasticNetworks.erlang_strictMono (Proved: ν↦E(ν,C)\nu \mapsto E(\nu, C)ν↦E(ν,C) and ν↦ν(1−E(ν,C))\nu \mapsto \nu(1 - E(\nu, C))ν↦ν(1−E(ν,C)) are strictly increasing for C≥1C \ge 1C≥1) and KellyStochasticNetworks.erlang_mean_busy_circuits (Proved: the mean number of busy circuits is ν(1−E(ν,C))\nu(1 - E(\nu, C))ν(1−E(ν,C)), the reading of UUU as a utilization). What this mission adds is the revised dual problem itself, the utilization function UUU, and the identification of the fixed point with the optimum of (3.5); none of these is formalized on the platform.

Difficulty

The function UUU is defined only implicitly, through the inverse of ν↦−log⁡(1−E(ν,C))\nu \mapsto -\log(1 - E(\nu, C))ν↦−log(1−E(ν,C)), so every property of the objective of (3.5) passes through properties of Erlang's formula: monotonicity, continuity, and the limit E(ν,C)→1E(\nu, C) \to 1E(ν,C)→1 as ν→∞\nu \to \inftyν→∞. Differentiating ∫0yU\int_0^{y} U∫0y​U needs continuity of UUU, which must be derived from the inverse.

The paper's sentence "strictly convex: it thus has a unique minimum" covers only uniqueness. Existence of a minimizer on the unbounded set y≥0y \ge 0y≥0 is a separate fact, a growth estimate for the integral terms, and it is part of milestone 4. The first term of (3.5) is not strictly convex when AAA has rank less than JJJ, so strict convexity must come from the separable integral terms. Finally, optimality over y≥0y \ge 0y≥0 yields only one-sided conditions at coordinates with yj=0y_j = 0yj​=0; that (3.6) is an equality there uses U(0,C)=0U(0, C) = 0U(0,C)=0.

Formalization scope

Lean namespace KellyLossNetworks.RevisedDual. Links are Fin J, routes Fin R, the incidence matrix is A : Fin J → Fin R → ℕ, rates ν : Fin R → ℝ, capacities C : Fin J → ℕ, following the published Kelly–Yudovina definitions. Every statement assumes νr>0\nu_r > 0νr​>0 and Cj≥1C_j \ge 1Cj​≥1; the paper uses both without stating them, and a link with Cj=0C_j = 0Cj​=0 makes (3.4) meaningless, since E(ν,0)=1E(\nu, 0) = 1E(ν,0)=1.

Erlang's formula is the published KellyStochasticNetworks.erlang and the fixed point equations (3.1)–(3.2) are the published KellyStochasticNetworks.ErlangFixedPoint, whose factor (1−Ej)−1(1 - E_j)^{-1}(1−Ej​)−1 is Lean's total inverse; milestone 6 shows that no solution in [0,1]J[0,1]^J[0,1]J reaches Ej=1E_j = 1Ej​=1. Solutions are sought in [0,1]J[0,1]^J[0,1]J, as on p. 338.

UUU is defined by choice: U(y,C)=ν(1−E(ν,C))U(y, C) = \nu(1 - E(\nu, C))U(y,C)=ν(1−E(ν,C)) for a ν≥0\nu \ge 0ν≥0 with −log⁡(1−E(ν,C))=y-\log(1 - E(\nu, C)) = y−log(1−E(ν,C))=y, and 000 if none exists. For C≥1C \ge 1C≥1, y≥0y \ge 0y≥0 the ν\nuν is unique, and that (3.4) holds is milestone 1, a theorem, not an axiom built into the definition. Values at y<0y < 0y<0 or C=0C = 0C=0 are placeholders that no statement uses. The integral in (3.5) is the interval integral ∫0yj\int_0^{y_j}∫0yj​​. An optimum of (3.5) is a y≥0y \ge 0y≥0 whose objective value is at most that of every z≥0z \ge 0z≥0.

A trivializing formalization is ruled out: replacing UUU by any closed form other than the one fixed by (3.4) (for instance U(z,C)=CU(z, C) = CU(z,C)=C, the fluid utilization of Remark 3.8) would change the problem and reduce (3.5) to the dual (2.3); and the goal asserts the identification E=1−e−yE = 1 - e^{-y}E=1−e−y rather than restating the existence and uniqueness that is already Proved.

A complete development needs: inverse-function arguments for a strictly increasing continuous map of [0,∞)[0, \infty)[0,∞), derivatives of interval integrals with continuous integrands, strict convexity of separable sums, and first-order optimality conditions for convex functions on the nonnegative orthant. The facts about Erlang's formula and about UUU are reusable in any reduced-load analysis. Proofs of individual milestones are welcome independently.

Selected references

  • F. P. Kelly, Loss networks, The Annals of Applied Probability 1(3):319–378, 1991. https://doi.org/10.1214/aoap/1177005872
  • F. P. Kelly, Blocking probabilities in large circuit-switched networks, Advances in Applied Probability 18:473–505, 1986 (reference [33] of Kelly 1991; DOI not verified offline).
  • F. P. Kelly and E. Yudovina, Stochastic Networks, Cambridge University Press, 2014 (the source of the Proved platform items referenced here; DOI not verified offline).
13 thms3 active usersReviewed
Convex OptimizationOperations ResearchOptimization+1·Captain: mikedeng1

Loss Networks 1: The Primal Problem Has a Unique Optimum x_r = ν_r ∏_j (1 − B_j)^{A_jr}; the Conditions on B Are Solvable, Uniquely if rank A = J, and Biject with Dual OptimaResearch Paper

Motivation

A loss network carries calls that require capacity on one or more links. A call is accepted only when every required link has enough free circuits; otherwise it is lost. This makes the traffic on different links dependent even when calls on different routes arrive independently. Network operators need to know where capacity constraints bind and how offered traffic is converted into carried traffic. Kelly's 1991 survey develops a continuous optimization problem that identifies a characteristic flow vector and gives a linkwise description of blocking in this setting. Kelly, Loss networks (1991), §§1.2 and 2.1.

The paper begins with the equilibrium distribution of the discrete network and uses a continuous relaxation when analyzing its likely state. The resulting primal problem is useful beyond the original probability calculation because it links route flows, capacity constraints, and a convex dual. Theorem 2.8 collects the existence, uniqueness, and correspondence statements for these descriptions. This mission targets that theorem and the intermediate claims Kelly states in §2.1. Kelly (1991), pp. 327–329.

Setting

There are finitely many links jjj and finitely many routes rrr. Link jjj has CjC_jCj​ circuits, and one call on route rrr uses AjrA_{jr}Ajr​ circuits there, with AjrA_{jr}Ajr​ a nonnegative integer. Calls request route rrr at positive offered rate νr\nu_rνr​. The matrix AAA need not be a zero–one incidence matrix: one call may use more than one circuit on a link. Kelly's fixed-routing model and its general integer matrix are described in §1.2. Kelly (1991), p. 321.

A real route-flow vector x=(xr)x=(x_r)x=(xr​) is primal feasible if xr≥0x_r\ge0xr​≥0 for every route and ∑rAjrxr≤Cj\sum_r A_{jr}x_r\le C_j∑r​Ajr​xr​≤Cj​ for every link. The objective is

F(x)=∑r(xrlog⁡νr−xrlog⁡xr+xr),F(x)=\sum_r\bigl(x_r\log\nu_r-x_r\log x_r+x_r\bigr),F(x)=r∑​(xr​logνr​−xr​logxr​+xr​),

with xrlog⁡xr=0x_r\log x_r=0xr​logxr​=0 at xr=0x_r=0xr​=0. The primal optimum maximizes FFF over precisely this feasible set. This is the continuous problem (2.1), rather than an optimization over the integer-valued network state. Kelly (1991), p. 327, (2.1).

A nonnegative vector y=(yj)y=(y_j)y=(yj​) assigns one multiplier to each link. The dual objective is

D(y)=∑rνrexp⁡ ⁣(−∑jyjAjr)+∑jyjCj,yj≥0.D(y)=\sum_r\nu_r\exp\!\left(-\sum_jy_jA_{jr}\right)+\sum_jy_jC_j, \qquad y_j\ge0.D(y)=r∑​νr​exp(−j∑​yj​Ajr​)+j∑​yj​Cj​,yj​≥0.

A blocking vector B=(Bj)B=(B_j)B=(Bj​) has 0≤Bj<10\le B_j<10≤Bj​<1. Its carried route flow is νr∏i(1−Bi)Air\nu_r\prod_i(1-B_i)^{A_{ir}}νr​∏i​(1−Bi​)Air​. The conditions on BBB say that the total carried flow through link jjj equals CjC_jCj​ when Bj>0B_j>0Bj​>0, and is at most CjC_jCj​ when Bj=0B_j=0Bj​=0. The multiplier and blocking coordinates are related by Bj=1−e−yjB_j=1-e^{-y_j}Bj​=1−e−yj​, equivalently yj=−log⁡(1−Bj)y_j=-\log(1-B_j)yj​=−log(1−Bj​). These are equations (2.3), (2.6), and (2.7). Kelly (1991), p. 328.

Formalization targets

Theorem 2.8: primal optimum, blocking solutions, and dual optima

The goal first asserts that the primal problem has exactly one optimizer. Every blocking solution must describe that same optimizer:

xr=νr∏j(1−Bj)Ajrfor every route r.x_r=\nu_r\prod_j(1-B_j)^{A_{jr}}\quad\text{for every route }r.xr​=νr​j∏​(1−Bj​)Ajr​for every route r.

It also asserts that a blocking solution exists, and that it is unique if AAA has rank JJJ, the number of links. Finally, the transformations Bj=1−e−yjB_j=1-e^{-y_j}Bj​=1−e−yj​ and yj=−log⁡(1−Bj)y_j=-\log(1-B_j)yj​=−log(1−Bj​) give a bijection between all blocking solutions and all dual optima. The formal goal includes both directions and both inverse identities, even when the dual optimizer is not unique. Kelly (1991), p. 329, Theorem 2.8.

Claims leading to the theorem

The milestone list follows Kelly's stated progression: unique primal attainment; the Lagrangian maximum and the dual value in (2.2); feasibility and complementary slackness in (2.4)–(2.5); the substitution (2.6); dual attainment; both directions of the blocking–dual correspondence; and strict convexity plus uniqueness under full row rank. One direction of the correspondence is an existing, proved platform theorem, KellyStochasticNetworks.dual_optimum_conditions; it is referenced directly. The other direction remains a new target. Kelly (1991), pp. 327–329.

Significance

The theorem makes the carried flow uniquely determined even when several blocking vectors or dual optimizers describe it. Under full row rank, it also identifies a unique linkwise blocking vector. Its correspondence lets a statement in the flow language be translated to a statement in the multiplier language without selecting a preferred optimizer. The interpretation following Theorem 2.8 explains the linkwise condition: positive blocking occurs only on a saturated link. Kelly (1991), p. 329, discussion after Theorem 2.8.

The mathematical result was proved in the source paper. The work here is to obtain machine-checked proofs of its exact finite-dimensional statements. The published Kelly–Yudovina definition KellyStochasticNetworks.dualObjective already represents the dual formula, and its proved optimum-conditions theorem supplies one direction of the correspondence. The remaining development would give reusable facts about separable entropy objectives, nonnegative linear capacity constraints, complementary slackness, and exponential coordinate changes. Those facts can support later loss-network formalizations without changing this mission's target.

Difficulty

The boundary xr=0x_r=0xr​=0 requires care: the objective has a continuous value there, but its logarithmic derivative does not. Thus a calculation that differentiates the objective throughout the closed nonnegative cone does not justify the printed differentiability sentence on p. 327. Dual existence is another boundary issue. A nonnegative capacity permits Cj=0C_j=0Cj​=0, while the paper's stated growth of the dual objective in every nonnegative coordinate can fail at that input. Any formal argument for the complete theorem must cover these domains accurately. Full row rank controls uniqueness of the dual coordinates; without it, the paper explicitly allows nonunique blocking solutions. Kelly (1991), pp. 327–329.

Formalization scope

Lean represents links by Fin J, routes by Fin R, AjrA_{jr}Ajr​ and CjC_jCj​ by natural numbers, and xrx_rxr​, yjy_jyj​, BjB_jBj​, and νr\nu_rνr​ by real numbers. The primal feasible set includes both coordinatewise nonnegativity and every link-capacity inequality. The dual optimum is minimal over the nonnegative orthant, using the published dual objective. The finite sums and products have their usual empty-index values; no hidden nonemptiness assumption is imposed. Matrix rank is taken over the reals and compared with JJJ, so the rank condition is full row rank.

The goal assumes νr>0\nu_r>0νr​>0 and Cj≥1C_j\ge1Cj​≥1 for every route and link. Positive rates give the logarithm in the primal objective its intended meaning. Positive capacities exclude a degeneracy in the dual-attainment and blocking parts of the theorem. The value at xr=0x_r=0xr​=0 is the continuous extension xrlog⁡xr=0x_r\log x_r=0xr​logxr​=0; no differentiability assertion at that boundary is part of the formal target. Blocking values belong to [0,1)[0,1)[0,1), so the inverse logarithm is evaluated on a positive number. A flow optimum always ranges over the exact primal feasible set, and a blocking solution always ranges over the full conditions (2.7); neither can be replaced by an arbitrary vector with a convenient equation.

A complete proof may require finite-dimensional convex analysis, strict concavity of the entropy term, attainment on a closed feasible set, the dual first-order condition, and facts about exponentials, logarithms, products, and matrix rank. The definitions and theorems are kept separate so work on these pieces can be reused. Contributions proving either a milestone or a reusable supporting lemma are in scope.

Selected references

  • F. P. Kelly, Loss networks, The Annals of Applied Probability 1(3), 319–378, 1991. DOI: 10.1214/aoap/1177005872.
11 thms3 active usersReviewed
Graph TheoryOperations ResearchProbability+1·Captain: mikedeng1

Loss Networks 3: If E e^{λX} < ∞ and 2E(X − C)⁺ < E(C − X)⁺, i.i.d. Loads on the Complete Graph Fit on Direct and Two-Edge Routes with Probability → 1Research Paper

Motivation

Telephone and data networks are often fully connected at the core: every pair of switching centres has a direct trunk group, and a call that finds its direct trunk full may be alternatively routed over a two-link path through a third, tandem centre. Whether such a network can absorb fluctuations of demand without losing traffic depends on how the spare capacity of lightly loaded links can be borrowed by heavily loaded ones. F. P. Kelly's survey Loss networks (Ann. Appl. Probab., 1991, doi:10.1214/aoap/1177005872) studies this question in §4.6, "Results respecting graph structure", by looking at a static snapshot of the network: random loads on the edges of a complete graph, and the question whether they can all be carried at once.

Timeline:

  • Hajek (1986, personal communication cited as [21] in the survey) considered edges coloured independently red (a pair that needs twice an edge's capacity) or white (an idle edge), and proved that for red probability p<1/3p<1/3p<1/3 all red pairs can be served over white two-edge paths with probability tending to one (Theorem 4.40, p. 357).
  • Hajek (1987, [22]) showed the same threshold for routing each red pair on a single two-edge path (Theorem 4.43, quoted, p. 358).
  • Kelly (1991, Theorem 4.45, p. 358) extended Theorem 4.40 from two-valued loads to general i.i.d. loads with an exponential moment, under the condition 2 E(X−C)+<E(C−X)+2\,\mathbb E(X-C)^+<\mathbb E(C-X)^+2E(X−C)+<E(C−X)+. The survey gives the proof in full on p. 359.

Setting

Let K≥1K\ge 1K≥1 and consider the complete graph on the nodes {0,…,K−1}\{0,\dots,K-1\}{0,…,K−1}: every unordered pair e={a,b}e=\{a,b\}e={a,b} of distinct nodes is an edge, and there are 12K(K−1)\tfrac12K(K-1)21​K(K−1) edges. Every edge has capacity CCC.

An offered load xe≥0x_e\ge 0xe​≥0 is attached to every edge eee. The load of e={a,b}e=\{a,b\}e={a,b} may be carried on its direct edge, or on a two-edge route a−k−ba-k-ba−k−b through a tandem node k∉ek\notin ek∈/e; such a route uses the two edges {a,k}\{a,k\}{a,k} and {b,k}\{b,k\}{b,k}. Loads are divisible. The loads are routable with capacity CCC if there are flows fe,k≥0f_{e,k}\ge 0fe,k​≥0 (zero when k∈ek\in ek∈e) with ∑kfe,k≤xe\sum_k f_{e,k}\le x_e∑k​fe,k​≤xe​ such that on every edge ggg

(xg−∑kfg,k)+∑(e,k): g on the route of e via kfe,k≤C,\Big(x_g-\sum_k f_{g,k}\Big)+\sum_{(e,k):\ g \text{ on the route of } e \text{ via } k} f_{e,k}\le C,(xg​−k∑​fg,k​)+(e,k): g on the route of e via k∑​fe,k​≤C,

i.e. the directly carried part of ggg's own load plus all two-edge traffic passing through ggg is at most CCC.

The loads are random: XXX is a nonnegative real random variable with law μ\muμ, and the loads (xe)(x_e)(xe​) are independent, each distributed as XXX. Let

P(K)=P{the loads on the complete graph on K nodes are routable}.P(K)=\mathbb P\{\text{the loads on the complete graph on } K \text{ nodes are routable}\}.P(K)=P{the loads on the complete graph on K nodes are routable}.

Write E(X−C)+\mathbb E(X-C)^+E(X−C)+ for the mean excess of a load over the capacity and E(C−X)+\mathbb E(C-X)^+E(C−X)+ for the mean spare capacity.

Formalization targets

Goal: Theorem 4.45

If E eλX<∞\mathbb E\,e^{\lambda X}<\inftyEeλX<∞ for some λ>0\lambda>0λ>0 and

2 E(X−C)+<E(C−X)+(4.46)2\,\mathbb E(X-C)^+<\mathbb E(C-X)^+ \tag{4.46}2E(X−C)+<E(C−X)+(4.46)

then

P(K)→1(K→∞).P(K)\to 1 \qquad (K\to\infty).P(K)→1(K→∞).

Milestones (in the order of the proof on pp. 358–359)

With m=E(C−X)+m=\mathbb E(C-X)^+m=E(C−X)+ and 0<ε<m20<\varepsilon<m^20<ε<m2:

  1. In each triangle the cyclic reservations (xe−C)+(C−xak)+(C−xbk)+/((K−2)(m2−ε))(x_e-C)^+(C-x_{ak})^+(C-x_{bk})^+/((K-2)(m^2-\varepsilon))(xe​−C)+(C−xak​)+(C−xbk​)+/((K−2)(m2−ε)) are positive at most once, and only for an overloaded edge routed through two underloaded ones.
  2. If every overloaded edge's reservations cover its excess and no underloaded edge has more reserved through it than it has spare, the loads are routable.
  3. E Y=m2/(m2−ε)>1\mathbb E\,Y=m^2/(m^2-\varepsilon)>1EY=m2/(m2−ε)>1 for Y=(C−X2)+(C−X3)+/(m2−ε)Y=(C-X_2)^+(C-X_3)^+/(m^2-\varepsilon)Y=(C−X2​)+(C−X3​)+/(m2−ε).
  4. E Z=2 E(X−C)+ m/(m2−ε)<1\mathbb E\,Z=2\,\mathbb E(X-C)^+\,m/(m^2-\varepsilon)<1EZ=2E(X−C)+m/(m2−ε)<1 for small ε\varepsilonε, for Z=((X1−C)+(C−X2)++(X2−C)+(C−X1)+)/(m2−ε)Z=\big((X_1-C)^+(C-X_2)^++(X_2-C)^+(C-X_1)^+\big)/(m^2-\varepsilon)Z=((X1​−C)+(C−X2​)++(X2​−C)+(C−X1​)+)/(m2−ε).
  5. (4.48): P{∑i≤nn−1Yi<1}≤e−nI1\mathbb P\{\sum_{i\le n} n^{-1}Y_i<1\}\le e^{-nI_1}P{∑i≤n​n−1Yi​<1}≤e−nI1​ for some I1>0I_1>0I1​>0 and all n≥1n\ge 1n≥1.
  6. (4.49): P{∑i≤nn−1Zi>1}≤e−nI2\mathbb P\{\sum_{i\le n} n^{-1}Z_i>1\}\le e^{-nI_2}P{∑i≤n​n−1Zi​>1}≤e−nI2​ for some I2>0I_2>0I2​>0 and all n≥1n\ge 1n≥1, when XXX has an exponential moment.
  7. 1−P(K)≤12K(K−1) (P1(K−2)+P2(K−2))1-P(K)\le\tfrac12K(K-1)\,(P_1(K-2)+P_2(K-2))1−P(K)≤21​K(K−1)(P1​(K−2)+P2​(K−2)).

Significance

The result. Theorem 4.45 says that in a large fully connected network, a load distribution whose mean overload is less than half its mean spare capacity can be served, with probability tending to one, using only direct and two-link routes. The factor 222 reflects that each unit of overflow occupies two edges. The condition is explicit and depends on the load law only through two expectations, which makes it a design rule: capacity CCC suffices for large networks as soon as (4.46) holds. Comment 4.47 (p. 358) observes that the two-valued law P{X=2}=p\mathbb P\{X=2\}=pP{X=2}=p, P{X=0}=1−p\mathbb P\{X=0\}=1-pP{X=0}=1−p with C=1C=1C=1 turns (4.46) into Hajek's threshold p<1/3p<1/3p<1/3.

Formalizing it. The theorem is proved, in full, on one page; nothing here is open. The mission produces a machine-checked version of that proof: a precise routing event on the complete graph, the deterministic reservation argument, two Cramér–Chernoff tail bounds with rates uniform in the network size, and the union bound over edges. To our knowledge none of these steps is formalized anywhere, and no routing-feasibility event on a complete graph exists in Mathlib or on the platform.

Difficulty

The obvious approach is to fix an overloaded edge and argue that, among its K−2K-2K−2 two-edge routes, enough pass through two underloaded edges. That count is binomial and concentrates, but it does not prove the theorem: the same underloaded edge sits on two-edge routes of many overloaded pairs, so the reservations of different pairs compete for its spare capacity, and the routing decisions of different pairs are dependent. Any argument has to control, simultaneously at every edge, both the flow an overloaded edge can shed and the flow an underloaded edge is asked to absorb, with exponential rates uniform in KKK so that a union bound over 12K(K−1)\tfrac12K(K-1)21​K(K−1) edges survives; this is the central difficulty. On the upper side the variables are unbounded, so the exponential moment of XXX has to be carried over to the reserved flows.

Formalization scope

The Lean development lives in the namespace KellyLossNetworks.Routing.

  • Edges are {e : Sym2 (Fin K) // ¬ e.IsDiag}; loads are functions Edge K → ℝ.
  • The routing event Feasible C x lets each pair split its load arbitrarily over its direct edge and all its two-edge routes, charges a two-edge flow to both edges of its route, requires the flow sent away from a pair not to exceed its load, and imposes the capacity constraint on every edge, including overloaded ones. Flows are real (divisible loads); integer routing is a different problem.
  • "Independent and identically distributed" is the product measure Measure.pi (fun _ : Edge K => μ), with μ a probability measure on ℝ and X ≥ 0 almost surely. P(K)P(K)P(K) is the measure of the routing event; no measurability of that event is presupposed.
  • Expectations are Bochner integrals. The exponential moment is integrability of t↦eθtt\mapsto e^{\theta t}t↦eθt for some θ>0\theta>0θ>0; it implies that (X−C)+(X-C)^+(X−C)+ is integrable, so (4.46) compares genuine expectations.
  • The limit is along K∈NK\in\mathbb NK∈N with no lower bound on KKK; for K≤2K\le 2K≤2 there are no two-edge routes, which does not affect the limit.
  • The rates I1,I2I_1,I_2I1​,I2​ in (4.48) and (4.49) are quantified before nnn and may not depend on it.

A trivializing formalization is ruled out: an event that allows only direct routing, ignores the capacity of the edges a detour passes through, or lets a pair send away more than its load would make the statement false or empty, and the routing event here does none of these.

A complete development needs Fubini on product measures, the Cramér–Chernoff method for averages of i.i.d. variables (both tails, with the lower tail for a bounded nonnegative variable and the upper tail under an exponential moment), measure-preserving projections of Measure.pi, and combinatorics of the triangles through an edge of the complete graph. The Cramér–Chernoff bounds with rates uniform in nnn are reusable well beyond this mission. Contributions to any milestone are welcome; the deterministic milestones 1–2 and the expectation computations 3–4 are independent of the tail bounds and of each other.

Selected references

  • F. P. Kelly, Loss networks, Annals of Applied Probability 1(3):319–378, 1991. doi:10.1214/aoap/1177005872
  • B. Hajek, Average case analysis of greedy algorithms for Kelly's triangle problem and the independent set problem, 26th IEEE Conference on Decision and Control, 1987 (reference [22] of the survey; the source of Theorem 4.43).
  • H. Chernoff, A measure of asymptotic efficiency for tests of a hypothesis based on the sum of observations, Annals of Mathematical Statistics 23(4):493–507, 1952. doi:10.1214/aoms/1177729330
9 thms1 active userReviewed
Operations ResearchProbabilityStochastic Systems·Captain: mikedeng1

Heavy-Traffic Limits for Queues with Many Exponential Servers: The Scaled Stationary M/M/n Queue Length Converges to a Hybrid Exponential–Normal LawResearch Paper

Why many-server queues in heavy traffic

Telephone exchanges, call centers, hospital wards and cloud server pools are queues with a large number sss of parallel servers. For such systems two classical approximations pull in opposite directions. Holding sss fixed and letting the traffic intensity ρ→1\rho \to 1ρ→1 gives the conventional heavy-traffic limit, in which almost every customer waits. Letting sss grow with ρ\rhoρ fixed below one gives a limit in which almost nobody waits. Real systems sit in between: a positive fraction of customers wait, and waits are short. Halfin and Whitt (Operations Research 29 (1981) 567–588) identified the scaling that produces this middle regime and the limit laws it yields. The scaling is now called the Halfin–Whitt or quality-and-efficiency-driven (QED) regime, and it underlies square-root staffing: run n≈R+βRn \approx R + \beta\sqrt Rn≈R+βR​ servers for an offered load of RRR Erlangs. Borst, Mandelbaum and Reiman (Operations Research 52 (2004) 17–34) built staffing rules for large call centers on it.

Timeline. Erlang (1917) gave the delay probability of the M/M/s queue. Iglehart (1965) proved diffusion limits for M/M/s queues with the number of servers growing and the traffic intensity fixed. Halfin and Whitt (1981) proved that the delay probability has a limit strictly between 0 and 1 exactly when (1−ρn)n(1-\rho_n)\sqrt n(1−ρn​)n​ converges to a positive constant (their Proposition 1), derived the limit of the stationary queue length (Theorem 1), and extended the process-level limit to GI/M/s queues. Later work extended the regime to many-server queues with general service times and abandonment.

Setting

An M/M/s queue has Poisson arrivals at rate λ>0\lambda > 0λ>0, s≥1s \ge 1s≥1 servers, and exponential service times with rate μ>0\mu > 0μ>0. Its traffic intensity is ρ=λ/(sμ)\rho = \lambda/(s\mu)ρ=λ/(sμ). The number Q(t)Q(t)Q(t) of customers in the system (waiting or in service) is a birth–death process on {0,1,2,… }\{0,1,2,\dots\}{0,1,2,…} with birth rate λ\lambdaλ and death rate min⁡(k,s)μ\min(k,s)\mumin(k,s)μ in state kkk. When ρ<1\rho < 1ρ<1, Q(t)Q(t)Q(t) converges in distribution to Q(∞)Q(\infty)Q(∞), whose law pk=P(Q(∞)=k)p_k = P(Q(\infty) = k)pk​=P(Q(∞)=k) is the unique probability distribution solving the balance equations of this chain. The probability of delay α=P(Q(∞)≥s)\alpha = P(Q(\infty) \ge s)α=P(Q(∞)≥s) is the Erlang-C formula.

The mission studies a sequence of such queues: queue n≥1n \ge 1n≥1 has sn=ns_n = nsn​=n servers, the fixed service rate μ\muμ, and arrival rate λn\lambda_nλn​ with ρn=λn/(nμ)<1\rho_n = \lambda_n/(n\mu) < 1ρn​=λn​/(nμ)<1 and λn→∞\lambda_n \to \inftyλn​→∞. Its stationary queue length is Qn(∞)Q_n(\infty)Qn​(∞), and the scaled queue length is

Xn=Qn(∞)−nn.X_n = \frac{Q_n(\infty) - n}{\sqrt n}.Xn​=n​Qn​(∞)−n​.

Throughout, Φ\PhiΦ and φ\varphiφ denote the standard normal distribution function and density, and for β>0\beta > 0β>0

α(β)=[1+2π β Φ(β) eβ2/2]−1=φ(β)φ(β)+βΦ(β)∈(0,1).\alpha(\beta) = \big[1 + \sqrt{2\pi}\,\beta\,\Phi(\beta)\,e^{\beta^2/2}\big]^{-1} = \frac{\varphi(\beta)}{\varphi(\beta) + \beta\Phi(\beta)} \in (0,1).α(β)=[1+2π​βΦ(β)eβ2/2]−1=φ(β)+βΦ(β)φ(β)​∈(0,1).

The standing assumption of the paper's Section 2 is the heavy-traffic condition

lim⁡n→∞(1−ρn)n=β,β>0.(2.2)\lim_{n\to\infty} (1-\rho_n)\sqrt n = \beta, \qquad \beta > 0. \tag{2.2}n→∞lim​(1−ρn​)n​=β,β>0.(2.2)

Formalization targets

Goal: Theorem 1

Under (2.2), with α=α(β)\alpha = \alpha(\beta)α=α(β),

Xn⇒X,P(X≥0)=α,P(X>x∣X≥0)=e−xβ (x≥0),P(X≤x∣X≤0)=Φ(β+x)Φ(β) (x≤0).X_n \Rightarrow X, \qquad P(X \ge 0) = \alpha,\quad P(X > x \mid X \ge 0) = e^{-x\beta}\ (x \ge 0),\quad P(X \le x \mid X \le 0) = \frac{\Phi(\beta + x)}{\Phi(\beta)}\ (x \le 0).Xn​⇒X,P(X≥0)=α,P(X>x∣X≥0)=e−xβ (x≥0),P(X≤x∣X≤0)=Φ(β)Φ(β+x)​ (x≤0).

The limit is exponential with rate β\betaβ above zero and a normal law truncated at zero below it, with masses α\alphaα and 1−α1-\alpha1−α.

Milestones, in the order the paper proves them

  1. The stationary law (1.1)–(1.3) of one M/M/s queue, and the identification (1.2) of P(Q(∞)≥s)P(Q(\infty) \ge s)P(Q(∞)≥s) with the Erlang-C formula.
  2. Lemma 1: recursions expressing the partial moments ∑k<skmpk\sum_{k<s} k^m p_k∑k<s​kmpk​ and ∑k≥skmpk\sum_{k \ge s} k^m p_k∑k≥s​kmpk​ through lower ones and α\alphaα.
  3. Proposition 1: P(Qn(∞)≥n)→α∈(0,1)P(Q_n(\infty) \ge n) \to \alpha \in (0,1)P(Qn​(∞)≥n)→α∈(0,1) if and only if (2.2) holds, and then α=α(β)\alpha = \alpha(\beta)α=α(β).
  4. Proposition 2: for δ>0\delta > 0δ>0 and (n−δn)/n→δ(n - \delta_n)/\sqrt n \to \delta(n−δn​)/n​→δ with δn≤n\delta_n \le nδn​≤n,
P(Qn(∞)≤δn∣Qn(∞)≤n)→Φ(β−δ)Φ(β),n P(Qn(∞)=[δn]∣Qn(∞)≤n)→φ(β−δ)Φ(β),P(Q_n(\infty) \le \delta_n \mid Q_n(\infty) \le n) \to \frac{\Phi(\beta-\delta)}{\Phi(\beta)},\qquad \sqrt n\,P(Q_n(\infty) = [\delta_n] \mid Q_n(\infty) \le n) \to \frac{\varphi(\beta-\delta)}{\Phi(\beta)},P(Qn​(∞)≤δn​∣Qn​(∞)≤n)→Φ(β)Φ(β−δ)​,n​P(Qn​(∞)=[δn​]∣Qn​(∞)≤n)→Φ(β)φ(β−δ)​,

and for (δn−n)/n→δ(\delta_n - n)/\sqrt n \to \delta(δn​−n)/n​→δ with δn≥n\delta_n \ge nδn​≥n,

P(Qn(∞)≥δn∣Qn(∞)≥n)→e−δβ,n P(Qn(∞)=[δn]∣Qn(∞)≥n)→βe−δβ.P(Q_n(\infty) \ge \delta_n \mid Q_n(\infty) \ge n) \to e^{-\delta\beta},\qquad \sqrt n\,P(Q_n(\infty) = [\delta_n] \mid Q_n(\infty) \ge n) \to \beta e^{-\delta\beta}.P(Qn​(∞)≥δn​∣Qn​(∞)≥n)→e−δβ,n​P(Qn​(∞)=[δn​]∣Qn​(∞)≥n)→βe−δβ.
  1. Corollary 1: the first four moments and the variance of XnX_nXn​ converge to explicit functions of α\alphaα and β\betaβ, for example EXn→−β+α/βE X_n \to -\beta + \alpha/\betaEXn​→−β+α/β.

Significance

Theorem 1 is the stationary half of the Halfin–Whitt regime. It turns the Erlang-C formula, a ratio of sums with nnn terms that is opaque for large nnn, into a two-parameter description of congestion: α\alphaα is the fraction of customers who wait, β\betaβ is the scaled safety margin of servers, and the conditional laws above give the distribution of the number waiting and of the number of idle servers. Proposition 1 and Theorem 1 are what square-root staffing rules evaluate; Corollary 1 supplies the mean and variance used in the paper's numerical approximations.

All results of this mission are proved in the paper, by direct calculation from (1.1)–(1.3), Stirling's formula and the central limit theorem for Poisson variables. None has a machine-checked proof. Proposition 1 and the two Section 1 facts are posed on the platform as open theorems from the Gross et al. queueing textbook series; this mission adds the conditional and local limits, the weak-convergence theorem and the moment results on the same definitions, so that a closed development would give a fully checked derivation of the Halfin–Whitt limit from the balance equations.

Difficulty

The stationary law is explicit, so nothing here needs a stochastic process. The difficulty is analytic and uniform: each statement is a limit of ratios of sums of nnn or infinitely many terms, (nρn)k/k!(n\rho_n)^k/k!(nρn​)k/k! below nnn and a geometric tail above nnn, in which ρn→1\rho_n \to 1ρn​→1 and n→∞n \to \inftyn→∞ at linked rates. The lower half needs a central limit theorem for Poisson laws whose parameter nρnn\rho_nnρn​ moves with nnn and is evaluated at a moving point; the local limits (2.10) and (2.12) need Stirling's formula with explicit control of log⁡ρn\log \rho_nlogρn​ to second order. Weak convergence then needs tightness, or a direct argument from the conditional limits, and the moment limits need uniform integrability, which the fixed-sss moment recursions do not give by themselves. Holding ρ\rhoρ fixed, or taking limits in nnn and ρ\rhoρ one after the other, gives degenerate answers (α=0\alpha = 0α=0 or α=1\alpha = 1α=1); the two limits must be taken together.

Formalization scope

The Lean development lives in the namespace HalfinWhitt81.Stationary. The law of Qn(∞)Q_n(\infty)Qn​(∞) is a sequence p n : ℕ → ℝ satisfying IsSteadyState (fun _ => lam n) (mmcDeath μ n) (p n) of the referenced definition QueueingFundamentals.BirthDeath.Balance (nonnegative, summing to one, solving the balance equations of the M/M/n chain); the Erlang-C formula and α(β)\alpha(\beta)α(β) are erlangC and halfinWhittAlpha of QueueingFundamentals.BirthDeath.Erlang, and Φ\PhiΦ, φ\varphiφ are Mathlib's cdf (gaussianReal 0 1) and gaussianPDFReal 0 1. These, and the three open theorems for (1.1)–(1.3), (1.2) and Proposition 1, come from the Gross et al. (2008) series and are referenced, not restated. The related Borst–Mandelbaum–Reiman items (DimCallCenters.*.lemma_4_1, for the continuous extension of Erlang-C) state a different result and are not used.

Conventions committed to:

  • hypotheses on queue nnn (rates, steady state, δn≤n\delta_n \le nδn​≤n or δn≥n\delta_n \ge nδn​≥n) are imposed for n≥1n \ge 1n≥1, and only limits are asserted; λn→∞\lambda_n \to \inftyλn​→∞ is kept as a hypothesis although it follows from (2.2);
  • the standing assumption "(2.1) or, equivalently, (2.2)" is the hypothesis (2.2) with β>0\beta > 0β>0, and α\alphaα is written as α(β)\alpha(\beta)α(β), equal to the limit in (2.1) by Proposition 1;
  • probabilities of Qn(∞)Q_n(\infty)Qn​(∞) are sums of p n (probLE, probGE, probEqInt); a conditional probability P(A∣B)P(A \mid B)P(A∣B) with A⊆BA \subseteq BA⊆B is the ratio P(A)/P(B)P(A)/P(B)P(A)/P(B); [x][x][x] is Int.floor, with P(Q=m)=0P(Q = m) = 0P(Q=m)=0 for m<0m < 0m<0;
  • XnX_nXn​ uses n−1/2n^{-1/2}n−1/2: the page's (2.13) prints n1/2n^{1/2}n1/2, a misprint; (2.12) prints the limit βe−β\beta e^{-\beta}βe−β, a misprint for βe−δβ\beta e^{-\delta\beta}βe−δβ, which is what is formalized;
  • "Xn⇒XX_n \Rightarrow XXn​⇒X" is stated as: there is a Borel probability measure ν\nuν on R\mathbb RR with the three properties of Theorem 1 such that ∑kpn(k) g((k−n)/n)→∫g dν\sum_k p_n(k)\,g((k-n)/\sqrt n) \to \int g\,d\nu∑k​pn​(k)g((k−n)/n​)→∫gdν for every bounded continuous ggg; the exponential clause is for x≥0x \ge 0x≥0 and the normal clause for x≤0x \le 0x≤0;
  • infinite sums whose convergence is not implied by the hypotheses (the moment series of Lemma 1 and Corollary 1) have their convergence in the conclusion.

The goal cannot be met trivially: the law of Qn(∞)Q_n(\infty)Qn​(∞) is the M/M/n steady state, not a free sequence; the limit measure is asserted to exist together with its three properties and the convergence, so no vacuous "for every ν\nuν" reading is possible; and the statement P(Xn≥0)→αP(X_n \ge 0) \to \alphaP(Xn​≥0)→α alone is Proposition 1, already posed.

A complete development needs: the closed form of the M/M/n steady state, Poisson central limit and local limit theorems with a moving parameter, Stirling's formula with error terms, a criterion for weak convergence from convergence of distribution functions, and uniform integrability for the moments. The Poisson limit theorems and the weak-convergence criterion are reusable beyond this mission. Proofs of the referenced open theorems, of individual milestones, and alternative routes to Theorem 1 (moment convergence, or the process-level limit) are all welcome.

Selected references

  • S. Halfin and W. Whitt, Heavy-Traffic Limits for Queues with Many Exponential Servers, Operations Research 29(3) (1981) 567–588. https://doi.org/10.1287/opre.29.3.567
  • R. B. Cooper, Introduction to Queueing Theory, Macmillan, 1972 (the source cited for (1.1)–(1.3)).
  • D. L. Iglehart, Limiting Diffusion Approximations for the Many Server Queue and the Repairman Problem, Journal of Applied Probability 2(2) (1965) 429–441.
  • S. Borst, A. Mandelbaum and M. I. Reiman, Dimensioning Large Call Centers, Operations Research 52(1) (2004) 17–34. https://doi.org/10.1287/opre.1030.0081
  • D. Gross, J. F. Shortle, J. M. Thompson and C. M. Harris, Fundamentals of Queueing Theory, 4th ed., Wiley, 2008 (§2.4: the Erlang-C formula and the Halfin–Whitt limit).
13 thms2 active usersReviewed
Operations ResearchProbabilityStochastic Systems·Captain: mikedeng1

The Theory of Queues with a Single Server: The Waiting-Time Distribution Has a Proper Limit iff E(u) < 0 or u = 0 Almost SurelyResearch Paper

Motivation

The single-server queue with general independent interarrival and service times (the GI/G/1 queue) is the basic model of congestion in operations research: customers arrive at a service facility, wait if the server is busy, are served in order of arrival, and leave. The first question about any such system is whether it settles down. If customers keep arriving faster than they can be served, waiting times grow without bound; otherwise one expects an equilibrium distribution of waiting time that capacity planning, staffing and performance analysis can be based on.

D. V. Lindley's 1952 paper Lindley 1952 answered this question for the GI/G/1 queue in complete generality. It introduced the recursion for successive waiting times that now carries his name, connected the queue with a random walk, and proved that an equilibrium exists exactly when the mean service time is smaller than the mean interarrival time, with the degenerate deterministic case as the only exception. The paper is the starting point of the random-walk approach to queueing theory and of the later work of Kiefer and Wolfowitz, Spitzer, Loynes and Kingman.

Setting

Customers arrive in order at a single server; customer rrr is served after all its predecessors. On a probability space (Ω,F,P)(\Omega, \mathcal F, P)(Ω,F,P) let

  • tr≥0t_r \ge 0tr​≥0 be the interarrival time between customers rrr and r+1r+1r+1,
  • sr≥0s_r \ge 0sr​≥0 be the service time of customer rrr.

Assumption 1: the trt_rtr​ are independent and identically distributed with finite mean E(tr)\mathscr{E}(t_r)E(tr​). Assumption 2: the srs_rsr​ are independent and identically distributed with finite mean E(sr)\mathscr{E}(s_r)E(sr​), and the families {sr}\{s_r\}{sr​} and {tr}\{t_r\}{tr​} are independent of each other.

Put ur=sr−tru_r = s_r - t_rur​=sr​−tr​; the uru_rur​ are i.i.d. and integrable, and E(u)=E(s)−E(t)\mathscr{E}(u) = \mathscr{E}(s) - \mathscr{E}(t)E(u)=E(s)−E(t) denotes their common mean. The waiting time wrw_rwr​ of customer rrr (time from arrival to start of service) satisfies Lindley's recursion

w1=0,wr+1=max⁡(wr+ur, 0).w_1 = 0, \qquad w_{r+1} = \max(w_r + u_r,\ 0).w1​=0,wr+1​=max(wr​+ur​, 0).

Write Fr(x)=p(wr≤x)F_r(x) = p(w_r \le x)Fr​(x)=p(wr​≤x) for the waiting-time distribution function, GGG for the law of uru_rur​, and Un=u1+⋯+unU_n = u_1 + \dots + u_nUn​=u1​+⋯+un​ for the associated random walk. Lindley shows that Fr(x)F_r(x)Fr​(x) converges for every xxx to

F(x)=p(Us≤x for all s≥1)(x≥0),F(x)=0(x<0).F(x) = p(U_s \le x \text{ for all } s \ge 1) \quad (x \ge 0), \qquad F(x) = 0 \quad (x < 0).F(x)=p(Us​≤x for all s≥1)(x≥0),F(x)=0(x<0).

Formalization targets

Goal: Lindley's theorem (§4, p. 281)

  1. The waiting-time distribution FrF_rFr​ converges to a proper (non-degenerate) limit distribution if and only if
E(u)<0oru=0 almost surely.\mathscr{E}(u) < 0 \quad \text{or} \quad u = 0 \text{ almost surely.}E(u)<0oru=0 almost surely.
  1. If E(u)≥0\mathscr{E}(u) \ge 0E(u)≥0 and uuu is not almost surely 000, then p(wr≤x)→0p(w_r \le x) \to 0p(wr​≤x)→0 for every xxx.

Milestones, in the order of the paper

  • Eq. (2), the one-step convolution Fr+1(x)=∫u≤xFr(x−u) dG(u)F_{r+1}(x) = \int_{u \le x} F_r(x-u)\,dG(u)Fr+1​(x)=∫u≤x​Fr​(x−u)dG(u) for x≥0x \ge 0x≥0 (an existing platform statement, referenced).
  • Eq. (3), the duality with the random walk: Fr+1(x)=p(Us≤x for all s≤r)F_{r+1}(x) = p(U_s \le x \text{ for all } s \le r)Fr+1​(x)=p(Us​≤x for all s≤r) for x≥0x \ge 0x≥0.
  • The limit: Fr(x)→F(x)F_r(x) \to F(x)Fr​(x)→F(x) for every xxx.
  • Eqs. (4)–(5), Lindley's integral equation F(x)=∫u≤xF(x−u) dG(u)F(x) = \int_{u \le x} F(x-u)\,dG(u)F(x)=∫u≤x​F(x−u)dG(u) for x≥0x \ge 0x≥0.
  • Case (i): E(u)>0⇒F≡0\mathscr{E}(u) > 0 \Rightarrow F \equiv 0E(u)>0⇒F≡0. Case (ii): E(u)<0⇒F(x)→1\mathscr{E}(u) < 0 \Rightarrow F(x) \to 1E(u)<0⇒F(x)→1 as x→∞x \to \inftyx→∞.
  • Eq. (8), the theorem of Chung and Fuchs quoted by Lindley: a mean-zero, non-lattice random walk comes within ϵ\epsilonϵ of every point infinitely often.
  • Case (iii): E(u)=0\mathscr{E}(u) = 0E(u)=0, u≢0⇒F≡0u \not\equiv 0 \Rightarrow F \equiv 0u≡0⇒F≡0.
  • Companion: for E(u)<0\mathscr{E}(u) < 0E(u)<0, exactly one distribution on [0,∞)[0,\infty)[0,∞) solves the integral equation.

Significance

The theorem is the stability criterion ρ=E(s)/E(t)<1\rho = \mathscr{E}(s)/\mathscr{E}(t) < 1ρ=E(s)/E(t)<1 for the GI/G/1 queue, and its proof identifies the equilibrium waiting time with the supremum of a random walk with negative drift. Every later result on the equilibrium waiting time (Pollaczek–Khinchine for M/G/1, Kingman's bounds, the Wiener–Hopf factorization, heavy-traffic limits) presupposes this existence statement. The critical case ρ=1\rho = 1ρ=1 is the part that goes beyond the law of large numbers: there is no equilibrium even though the queue has no drift.

The result has been proved since 1952 and appears in every queueing textbook. No machine-checked proof of it is known to exist. The platform already has related open statements in other frameworks: a law-level one-step identity and the stationary-delay equation from Gross et al. (QueueingFundamentals.GG1), and Loynes' theorem in a stationary ergodic Palm framework (PalmQueueing.Loynes.loynes_stability). None of them states convergence of the customer-indexed waiting-time distributions, and none treats the critical case. This mission produces the customer-indexed model, the random-walk duality, and the complete iff, including the Chung–Fuchs recurrence theorem for one-dimensional random walks, which is of independent use.

Difficulty

Cases (i) and (ii) follow from the strong law of large numbers, which Mathlib provides. The obstacle is the critical case E(u)=0\mathscr{E}(u) = 0E(u)=0: the strong law only gives Un/n→0U_n/n \to 0Un​/n→0, which says nothing about whether sup⁡nUn\sup_n U_nsupn​Un​ is finite. One needs the recurrence of mean-zero random walks (Chung–Fuchs), which is not in Mathlib. A second, smaller difficulty is eq. (3): it is an identity of probabilities, not of events, since the waiting time is built from sums taken in the reverse order of the walk's partial sums. Finally, the iff needs a careful passage from pointwise limits of distribution functions to convergence to a probability measure.

Formalization scope

All objects live in one definitions file, LindleyQueue.Stability.Model. The input is a structure Input Ω P holding measurable sequences s t : ℕ → Ω → ℝ with iIndepFun for each family, identical distribution, integrability, independence of the two families as random elements of RN\mathbb R^{\mathbb N}RN, and nonnegativity. Theorems assume IsProbabilityMeasure P. Committed conventions:

  • Indexing from 0: w 0 is the paper's w1w_1w1​, F r is Fr+1F_{r+1}Fr+1​, U n =∑i<n= \sum_{i<n}=∑i<n​ u i is the paper's UnU_nUn​.
  • Non-degenerate means proper: the limit is a probability measure ν\nuν on R\mathbb RR, and convergence is Fr(x)→ν((−∞,x])F_r(x) \to \nu((-\infty,x])Fr​(x)→ν((−∞,x]) at every xxx with ν{x}=0\nu\{x\} = 0ν{x}=0. When u=0u = 0u=0 a.s. the limit is the point mass at 000, and the theorem counts it as convergent.
  • "Certainly" means almost surely, for u1u_1u1​; all uru_rur​ share its law.
  • E(u)\mathscr{E}(u)E(u) is the Bochner integral of the integrable u 0; GGG is the push-forward law of u 0, and Stieltjes integrals ∫u≤x⋯dG(u)\int_{u \le x} \cdots dG(u)∫u≤x​⋯dG(u) are integrals over Set.Iic x.
  • F(x)F(x)F(x) is defined with the case split x≥0x \ge 0x≥0 / x<0x < 0x<0; eqs. (3), (4) are stated for x≥0x \ge 0x≥0, as on the page.
  • Eq. (8) is stated for an arbitrary i.i.d. integrable mean-zero sequence (only the non-lattice half).

Trivializing formalizations are ruled out: the goal is about the queue's FrF_rFr​, not the random walk's absorption probabilities; the limit must be a probability distribution, since "converges to some function" is already the limit milestone; and "u=0u = 0u=0" is almost-sure, not pointwise. A verification file builds an Input with sr=tr=1s_r = t_r = 1sr​=tr​=1, so the hypotheses are satisfiable.

Needed infrastructure: exchangeability of finite i.i.d. vectors, continuity of measure along decreasing events, the strong law (in Mathlib), recurrence of one-dimensional random walks, and convergence of distribution functions. The Chung–Fuchs theorem and the random-walk duality are reusable well beyond queueing; contributions of either are welcome.

Selected references

  • D. V. Lindley, The theory of queues with a single server, Mathematical Proceedings of the Cambridge Philosophical Society 48(2), 277–289, 1952. https://doi.org/10.1017/S0305004100027638
  • K. L. Chung and W. H. J. Fuchs, On the distribution of values of sums of random variables, Memoirs of the American Mathematical Society 6, 1951. https://doi.org/10.1090/memo/0006
  • R. M. Loynes, The stability of a queue with non-independent inter-arrival and service times, Mathematical Proceedings of the Cambridge Philosophical Society 58(3), 497–520, 1962. https://doi.org/10.1017/S0305004100036781
  • S. Asmussen, Applied Probability and Queues, 2nd ed., Springer, 2003, Ch. III and X. https://doi.org/10.1007/b97236
11 thms2 active usersReviewed
Markov ChainOperations ResearchProbability+1·Captain: mikedeng1

Stochastic Processes Occurring in the Theory of Queues and their Analysis by the Method of the Imbedded Markov Chain: In GI/M/s, a Positive Wait Is Exponential and a Positive Queue GeometricResearch Paper

Motivation

A many-server queue in which customers arrive at the epochs of a renewal process and are served for exponential times is the basic model of a telephone exchange, a call centre, or a bank of identical machines. Its continuous-time queue-length process is not Markovian unless the arrivals are Poisson, so Erlang's birth–death formulas for M/M/s do not apply. In 1953 D. G. Kendall showed how to analyse such systems by the method of the imbedded Markov chain: observe the system only at the arrival epochs, where the number of customers present does form a Markov chain, and read the equilibrium behaviour off that chain (Kendall 1953).

Timeline:

  • Erlang (1908–1929) treated M/M/s, where the queue length is itself Markovian.
  • Kendall (1951) treated M/G/1 by a chain imbedded at departure epochs.
  • W. L. Smith (Kendall's ref. [19]) observed that for a single server, under restrictions on the input law, exponential service gives an exponential waiting time apart from an atom at zero.
  • Kendall (1953), this paper, treated GI/M/s for every input law and every number of servers sss, and showed that Smith's restrictions are unnecessary.
  • Foster (1953) gave the criterion for ergodicity of a denumerable chain through a summable invariant vector, which is the step Kendall's argument relies on.

Setting

Customers arrive with independent inter-arrival times of law AAA on [0,∞)[0,\infty)[0,∞) and mean aaa, 0<a<∞0<a<\infty0<a<∞. There are s≥1s\ge 1s≥1 servers and a single queue served first come, first served. Service times are independent of one another and of the input, negative-exponential with mean bbb, 0<b<∞0<b<\infty0<b<∞. The relative traffic intensity is ρ=b/(sa)\rho=b/(sa)ρ=b/(sa).

The state of the imbedded chain at an arrival epoch is the number i∈{0,1,2,… }i\in\{0,1,2,\dots\}i∈{0,1,2,…} of persons found ahead (waiting or in service) by the arriving customer. Its transition matrix P=[pij]P=[p_{ij}]P=[pij​] of eq. (8) is given in three blocks, written with the death-process probabilities [n∣m]=∫0∞(mn)(1−e−u/b)ne−(m−n)u/b dA(u)[n\mid m]=\int_0^\infty\binom{m}{n}(1-e^{-u/b})^n e^{-(m-n)u/b}\,dA(u)[n∣m]=∫0∞​(nm​)(1−e−u/b)ne−(m−n)u/bdA(u) of (9)–(10), the probabilities {n∣s;m}\{n\mid s;m\}{n∣s;m} of (11)–(12), and the Poisson probabilities (n∣s)=∫0∞e−su/b(su/b)n/n! dA(u)(n\mid s)=\int_0^\infty e^{-su/b}(su/b)^n/n!\,dA(u)(n∣s)=∫0∞​e−su/b(su/b)n/n!dA(u) of (13)–(14):

pij={(i+1−j∣s)j≥s, j≤i+1,[ i+1−j∣i+1 ]i<s, j<s, j≤i+1,{s−j∣s; i−s+1}i≥s, j<s,0j>i+1.p_{ij}=\begin{cases}(i+1-j\mid s) & j\ge s,\ j\le i+1,\\ [\,i+1-j\mid i+1\,] & i<s,\ j<s,\ j\le i+1,\\ \{s-j\mid s;\,i-s+1\} & i\ge s,\ j<s,\\ 0 & j>i+1.\end{cases}pij​=⎩⎨⎧​(i+1−j∣s)[i+1−j∣i+1]{s−j∣s;i−s+1}0​j≥s, j≤i+1,i<s, j<s, j≤i+1,i≥s, j<s,j>i+1.​

The key function is

F(λ)=∫0∞e−(1−λ)su/b dA(u).F(\lambda)=\int_0^\infty e^{-(1-\lambda)su/b}\,dA(u).F(λ)=∫0∞​e−(1−λ)su/bdA(u).

The queue size met by an arrival is Q=max⁡(i−s,0)Q=\max(i-s,0)Q=max(i−s,0). The waiting time www is, given iii, the sum of k=max⁡(i−s+1,0)k=\max(i-s+1,0)k=max(i−s+1,0) independent exponential variables of mean b/sb/sb/s.

Formalization targets

Goal: Theorem IV (p. 350)

When ρ<1\rho<1ρ<1 the chain has a limiting distribution π\piπ, and with λ\lambdaλ the root of F(λ)=λF(\lambda)=\lambdaF(λ)=λ in (0,1)(0,1)(0,1) and c=b/(s(1−λ))c=b/(s(1-\lambda))c=b/(s(1−λ)),

Pr⁡(Q=n∣Q>0)=(1−λ)λn−1 (n≥1),Pr⁡(w>t∣w>0)=e−t/c (t≥0),\Pr(Q=n\mid Q>0)=(1-\lambda)\lambda^{n-1}\ (n\ge1),\qquad \Pr(w>t\mid w>0)=e^{-t/c}\ (t\ge0),Pr(Q=n∣Q>0)=(1−λ)λn−1 (n≥1),Pr(w>t∣w>0)=e−t/c (t≥0),

with both conditioning events of positive probability. The goal fixes no constant beyond those the theorem names: λ\lambdaλ and ccc are determined by AAA, bbb and sss.

Milestones

  • The matrix is stochastic (p. 349), and the chain is irreducible and aperiodic (p. 347).
  • The coefficients (n∣s)(n\mid s)(n∣s) are positive, sum to one and have mean 1/ρ1/\rho1/ρ; F(λ)=∑n(n∣s)λnF(\lambda)=\sum_n (n\mid s)\lambda^nF(λ)=∑n​(n∣s)λn; for ρ<1\rho<1ρ<1 the equation F(λ)=λF(\lambda)=\lambdaF(λ)=λ has a unique root in (0,1)(0,1)(0,1) (p. 348–349).
  • For the trial vector x=[μ0,…,μs−2,1,λ,λ2,… ]x=[\mu_0,\dots,\mu_{s-2},1,\lambda,\lambda^2,\dots]x=[μ0​,…,μs−2​,1,λ,λ2,…] (15): the invariance equations for j≥sj\ge sj≥s are equivalent to F(λ)=λF(\lambda)=\lambdaF(λ)=λ; those for 1≤j≤s−11\le j\le s-11≤j≤s−1 determine the μ\muμ's; the one for j=0j=0j=0 follows from the row sums (pp. 348–349).
  • A nonnull absolutely summable invariant vector makes the chain ergodic, and normalized it is the limiting distribution (p. 348).
  • Theorem I: for ρ<1\rho<1ρ<1 the chain is irreducible and ergodic, and πj=Cλj−(s−1)\pi_j=C\lambda^{j-(s-1)}πj​=Cλj−(s−1) for j≥s−1j\ge s-1j≥s−1.
  • Theorem II: Pr⁡(Q=0)=α=∑μ+1+λ∑μ+1/(1−λ)\Pr(Q=0)=\alpha=\dfrac{\sum\mu+1+\lambda}{\sum\mu+1/(1-\lambda)}Pr(Q=0)=α=∑μ+1/(1−λ)∑μ+1+λ​ and Pr⁡(w=0)=β=∑μ+1∑μ+1/(1−λ)\Pr(w=0)=\beta=\dfrac{\sum\mu+1}{\sum\mu+1/(1-\lambda)}Pr(w=0)=β=∑μ+1/(1−λ)∑μ+1​.
  • Theorem III: E(Q)=(1−α)/(1−λ)E(Q)=(1-\alpha)/(1-\lambda)E(Q)=(1−α)/(1−λ) and E(w)/b=(1−β)/(s(1−λ))E(w)/b=(1-\beta)/(s(1-\lambda))E(w)/b=(1−β)/(s(1−λ)).
  • Eq. (27): for M/M/s the root is λ=ρ\lambda=\rhoλ=ρ.

Significance

Theorem IV says that, whatever the input law and the number of servers, the part of the equilibrium waiting-time law away from zero is exponential and the part of the queue-size law away from zero is geometric, both governed by the single number λ\lambdaλ. All equilibrium quantities of GI/M/s (Theorems II–III and the delay distribution) then reduce to computing λ\lambdaλ from a one-dimensional equation and the finitely many μ\muμ's from a triangular linear system. This is the standard textbook treatment of G/M/c queues and the template for many later matrix-geometric results.

The results are proved in the paper, partly by appeal to Feller's theory of denumerable chains and to "tedious but elementary" verifications. None of them is machine-checked. The mission formalizes the paper's chain of argument: the explicit transition matrix, its stochasticity, the reduction of the invariance equations, the passage from a summable invariant vector to the limiting distribution, and the computation of the laws of QQQ and www from it. The single-server special cases are posed separately on the platform (QueueingFundamentals.GM1.arrival_point_geometric, GM1.waiting_time_cdf, GM1.arrival_point_means, GM1.mean_waiting_times, FosterQueues.GIM1.gim1_classification); they do not cover s≥2s\ge2s≥2.

Difficulty

The obvious route is to guess the geometric tail and check it against the balance equations. For j≥sj\ge sj≥s this works, but the rows i≥si\ge si≥s of the block B\mathbf BB involve the convolution integral (11), and the equations for j<sj<sj<s couple the geometric tail to the boundary terms μ0,…,μs−2\mu_0,\dots,\mu_{s-2}μ0​,…,μs−2​. Showing these are solvable, and that the row sums of the three-block matrix equal one, requires handling (11) explicitly. The second obstacle is the limit theorem itself: an invariant vector does not, by itself, give pijn→πjp^n_{ij}\to\pi_jpijn​→πj​. That step needs Feller's dichotomy for irreducible aperiodic denumerable chains, which Mathlib does not provide. Finally, the conditional waiting-time law requires summing an Erlang mixture with geometric weights in closed form.

Formalization scope

The queue process itself is not formalized. The chain is defined by its transition matrix (8)–(14), and www by the Erlang mixture of p. 349, as the paper derives both by a modelling argument. A chain is any TransitionMatrix P of the published Markov-chain vocabulary with P.p = gimsMatrix s A b; states are 000-based. "Ergodic" is Feller's: Aperiodic ∧ PositiveRecurrent. The limiting distribution is asserted as Tendsto (P.stepProb n i j) atTop (𝓝 (π j)) for all i,ji,ji,j, not as a stationary vector. The input law satisfies the published IsInterarrivalLaw A a⁻¹ (a probability measure carried by [0,∞)[0,\infty)[0,∞), integrable, mean aaa), and (n∣s)(n\mid s)(n∣s) is the published serviceProb A (s/b) n. Conditional laws are stated multiplied out, together with positivity of the conditioning probabilities. Every series identity is stated with HasSum.

Trivializing formalizations are ruled out: λ\lambdaλ is tied to F(λ)=λF(\lambda)=\lambdaF(λ)=λ on (0,1)(0,1)(0,1) rather than free; π\piπ is the limiting distribution of PPP, asserted to exist, not a probability vector handed to the statement; the conditioning events are asserted to have positive probability; the matrix is the GI/M/s matrix, not the GI/M/1 one; and the μ\muμ's of Theorems II–III are characterized by the invariance equations, never defined from π\piπ.

A complete development needs: Feller's limit theorem for irreducible aperiodic positive recurrent chains (reusable well beyond this mission), Foster's sufficiency criterion (referenced, open), Fubini for the stochastic-matrix identities, parametric interval integrals for the block B\mathbf BB, and Erlang distribution functions. Contributions to the general Markov-chain milestones are as welcome as those specific to GI/M/s.

Selected references

  • D. G. Kendall, Stochastic processes occurring in the theory of queues and their analysis by the method of the imbedded Markov chain, Ann. Math. Statist. 24(3), 338–354, 1953. https://doi.org/10.1214/aoms/1177728975
  • F. G. Foster, On the stochastic matrices associated with certain queuing processes, Ann. Math. Statist. 24(3), 355–360, 1953. https://doi.org/10.1214/aoms/1177728976
  • W. Feller, An Introduction to Probability Theory and Its Applications, Vol. 1, Wiley, 1950, ch. 15.
  • W. L. Smith, On the distribution of queueing times, Proc. Cambridge Philos. Soc. 49, 449–461, 1953 (cited by Kendall as "to be published", ref. [19]).
  • D. Gross, J. F. Shortle, J. M. Thompson, C. M. Harris, Fundamentals of Queueing Theory, 4th ed., Wiley, 2008, §5.3.
22 thms2 active usersReviewed
Previous

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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me