On the Stochastic Matrices Associated with Certain Queuing Processes 2: The GI/M/1 Imbedded Chain Is Ergodic iff ρ < 1 and Recurrent iff ρ ≤ 1Research Paper
Motivation
A single-server queue in which customers arrive according to a renewal process and are served in exponentially distributed times is the system GI/M/1. Observed just before successive arrivals, its queue length is a Markov chain on , the imbedded chain introduced by D. G. Kendall (Kendall 1953, Ann. Math. Statist. 24, pp. 338–354). Whether this chain settles into a statistical equilibrium, keeps returning to the empty state without one, or drifts off to infinity is the first question asked about the queue, and every later quantity (stationary queue lengths, waiting-time distributions) presupposes the answer.
F. G. Foster's 1953 paper (Foster 1953) answers it for GI/M/1 and for M/G/1 by a different route from Kendall's direct analysis: it first proves general criteria, stated in terms of solutions of linear equations and inequalities in the transition matrix, for a countable Markov chain to be ergodic, recurrent or transient, and then checks them on the two queueing matrices. The criteria are of independent use; one of them (Theorem 2 of the paper) is now known as Foster's criterion, the starting point of the drift (Lyapunov-function) method for stability of Markov chains and queueing networks.
Timeline. Kendall (1951, J. Roy. Statist. Soc. B 13) studied queue-length processes directly, including a recurrence argument for M/G/1 that Foster's §3 reproduces; Kendall (1953) introduced the imbedded-chain method and, for GI/M/1, proved by it that is sufficient for ergodicity (Foster 1953, p. 359); Foster (1953) proved the full classification, ergodic iff and recurrent iff , by the general criteria. This mission treats the GI/M/1 half; a companion mission treats M/G/1.
Setting
A transition matrix on the states is an array of nonnegative reals whose rows sum to . For a state , is the probability that the chain started at returns to at some later step. The chain is recurrent if for every , transient if for every , and ergodic (recurrent-nonnull, positive recurrent) if moreover every mean recurrence time is finite. Foster's general theorems concern an irreducible chain (every state reachable from every state), assumed aperiodic for simplicity.
The GI/M/1 chain is described by a sequence of positive numbers with : is the probability that exactly services are completed between two arrivals. With the tails ,
that is , for , and for . In Lean this matrix is gim1Matrix a. The traffic parameter is defined through its inverse,
the mean number of service completions per interarrival interval (rhoInv a, and rho a ).
Formalization targets
Goal: the classification of GI/M/1 (§4, p. 359)
Together: ergodic for , recurrent-null for , transient for . The statement carries no constants and leaves the sequence free apart from positivity and normalization.
Milestones
- Theorem 7 (p. 358): for a probability distribution with , the equation has a root in iff .
- Theorem 1, sufficiency (p. 355): a nonnull solution of with makes the system ergodic.
- Theorem 1, necessity (p. 355): in an ergodic system every nonnegative solution of has .
- Theorem 4 (pp. 356–357): the system is transient iff () has a bounded nonconstant solution.
Milestones 2–4 are stated for a general irreducible aperiodic chain.
Significance
The classification tells exactly when the GI/M/1 queue is stable: the stationary distribution of the imbedded chain, which is geometric, exists precisely in the ergodic case , and for the queue grows without bound. Theorems 1 and 4 are general tools, reusable for any countable chain: Theorem 1 characterizes ergodicity by summable invariant vectors, Theorem 4 characterizes transience by bounded harmonic functions off one state. Theorem 7 is the extinction criterion of branching processes and recurs throughout applied probability.
All of these results are proved in the literature (Foster 1953; Feller's textbook for Theorem 7 and a version of Theorem 4). As far as a search of the platform shows, none of them has a machine-checked proof; the platform holds related special cases for the G/M/1 queue with a specific interarrival law (QueueingFundamentals.GM1.unique_root_unit_interval, open), but not the general lemma or the classification. A formalization would provide the general criteria as reusable library results and the first verified stability classification of a non-Markovian queue's imbedded chain.
Difficulty
The matrix is explicit, but none of the three properties is a finite computation: ergodicity and recurrence are statements about return times over all horizons, so each direction must go through an existence or nonexistence statement about infinite systems of equations. For the converse directions the obvious argument fails: exhibiting a candidate solution such as shows nothing until it is known that ergodicity forces every such solution to be summable, and showing that no bounded nonconstant solution of (7) exists when requires control of all solutions, not of one. The general criteria themselves rest on limit theorems for and on interchanging infinite sums, and the infinite-mean case has to be carried along everywhere.
Formalization scope
- The Markov-chain vocabulary is the published definition
QueueingFundamentals_Foundations_MarkovChain:TransitionMatrix(entriesp, nonnegativity, rows summing to viaHasSum),returnProb,meanRecurrenceTime,Irreducible,Aperiodic,PositiveRecurrent. "Ergodic" isPositiveRecurrent.IsRecurrentandIsTransientare defined state by state fromreturnProb; their complementarity for irreducible chains is a theorem, not a definition. - States are indexed from , as in the paper. The goal quantifies over every
TransitionMatrixwhose entries equalgim1Matrix a; such a matrix exists for every admissible (rows sum to ), so the statement is not vacuous. - and live in (
ℝ≥0∞), with : an infinite mean gives , and that chain is ergodic. - The goal does not assume irreducibility or aperiodicity: they follow from . Milestones 2–4 carry them, as the paper's standing assumptions (§1).
- Every infinite series appearing in a hypothesis is required to converge (
HasSumorSummable), so that a divergent series cannot satisfy an equation or inequality vacuously. In Theorem 1's sufficiency half the may be of either sign. In Theorem 7 the distribution is renamed to avoid a clash with . - Ruled out as trivializing: defining by a real inverse of a real series, defining "ergodic" as the existence of a summable invariant vector (which is Theorem 1's condition), or stating the goal over a matrix that need not exist.
- Not included: the paper's explicit description of the solutions of (7) for via the generating function , and the M/G/1 half (Theorems 2, 3, 5), which is the companion mission. Contributions welcome: proofs of the general criteria (reusable for any countable chain), of Theorem 7, and lemmas on the GI/M/1 matrix such as irreducibility and aperiodicity.
Selected references
- F. G. Foster, On the stochastic matrices associated with certain queuing processes, Ann. Math. Statist. 24 (1953), 355–360. https://doi.org/10.1214/aoms/1177728976
- 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 (1953), 338–354 (the paper immediately preceding Foster's in the same issue).
- D. G. Kendall, Some problems in the theory of queues, J. Roy. Statist. Soc. B 13 (1951), 151–185.
- W. Feller, An Introduction to Probability Theory and Its Applications, Vol. 1, Wiley, 1950.