Motivation
In many service systems a customer who finds every server busy does not join a queue. A caller who hears a busy signal hangs up and redials later; a request rejected by a saturated server is resent after a timeout; an aircraft that cannot land circles and tries again. These retrial queues are the subject of a substantial literature in telephone traffic engineering, computer networks and call-centre design, surveyed in the monograph of Falin and Templeton (1997) and the bibliography of Artalejo (1999). Their analysis is harder than that of ordinary queues: the blocked customers form an orbit whose size is part of the state, so even the simplest model is a two-dimensional Markov chain, and explicit stationary distributions are rare.
This mission is the fourth of a series formalizing Gross, Shortle, Thompson and Harris, Fundamentals of Queueing Theory (4th ed., Wiley 2008). Its goal is the explicit stationary distribution of the single-server retrial queue, Eq. (3.57) of §3.5.1, one of the few retrial models solvable in closed form. Chapter 3 of the book treats Markovian queues that are not birth–death processes: bulk arrivals, bulk service, Erlang phases, priority disciplines and retrials. The milestones also collect three capstone formulas from the chapter's other sections: the bulk-input queue, the partial-batch bulk-service queue, and Cobham's formula for nonpreemptive priorities (Cobham, 1954).
Setting
In the M/M/1 retrial queue customers arrive according to a Poisson process with rate λ and are served one at a time by a single server, with exponential service times of mean 1/μ. An arrival that finds the server busy enters the orbit and stays there for an exponential time with mean 1/γ, after which it tries again; each customer in orbit retries independently. No customer leaves because of impatience. With Ns(t)∈{0,1} the number in service and No(t) the number in orbit, the pair is a continuous-time Markov chain on states {i,n}, i∈{0,1}, n∈{0,1,2,…}. Writing pi,n for the steady-state probability of {i,n}, the rate-balance equations are
(λ+nγ)p0,n(λ+μ)p1,n(λ+μ)p1,0=μp1,n,=λp0,n+(n+1)γp0,n+1+λp1,n−1,=λp0,0+γp0,1.n≥0,n≥1,(3.47)(3.48)(3.49)
Following the book's convention (§1.9, and the footnote on p.118), a steady-state solution is a nonnegative solution of these equations whose total mass ∑n(p0,n+p1,n) equals 1. The traffic intensity is ρ=λ/μ, and the partial generating functions are P0(z)=∑nznp0,n and P1(z)=∑nznp1,n.
The other models of the mission use the same convention. In the bulk-input queue M[X]/M/1, batches arrive at rate λ with batch-size probabilities cn=Pr{X=n}, n≥1, and batch-size generating function C(z)=∑ncnzn. In the partial-batch bulk-service queue M/M[K]/1, single arrivals come at rate λ and the server serves up to K customers together in an exponential time of mean 1/μ. In the nonpreemptive priority queue there are r classes with rates λk and μk, loads ρk=λk/μk and cumulative loads σk=ρ1+⋯+ρk.
Formalization targets
Goal: the stationary distribution (3.57)
For λ,μ,γ>0 and ρ<1, the numbers
p0,n=(1−ρ)(λ/γ)+1n!γnρni=0∏n−1(λ+iγ),p1,n=(1−ρ)(λ/γ)+1n!γnρn+1i=1∏n(λ+iγ)
form a steady-state solution of (3.47)–(3.49), and every steady-state solution equals them.
Milestones on the retrial queue
The generating functions satisfy (3.50)–(3.52) on (−1,1), including the separable equation
P0′(z)=γ(1−ρz)λρP0(z),
their closed form is (3.55),
P0(z)=(1−ρz)(1−ρz1−ρ)(λ/γ)+1,P1(z)=ρ(1−ρz1−ρ)(λ/γ)+1,
and the mean orbit size is (3.58), Lo=1−ρρ2⋅γμ+γ.
Milestones from the rest of Chapter 3
The bulk-input generating function (3.3), p0=1−ρ with ρ=λE[X]/μ, and the mean (3.4); the unique root r0∈(0,1) of μrK+1−(λ+μ)r+λ=0 and the geometric law pn=(1−r0)r0n (3.9); and Cobham's formula (3.41)/(3.43), the unique solution of the linear system (3.40).
Significance
The closed form (3.57) makes every performance measure of the M/M/1 retrial queue explicit. The server is busy a fraction ρ of the time, exactly as without retrials. The mean orbit size (3.58) is the M/M/1 mean queue length multiplied by (μ+γ)/γ, and the mean time in orbit (3.59) follows from Little's law. These formulas quantify the cost of retrials against an ordinary queue and are the reference case against which approximations for multi-server retrial systems are checked.
The results are classical and proved in the book, partly through exercises (Problems 3.39–3.41). None of them is formalized in any proof assistant, as far as the platform's catalogue shows: there is no retrial, bulk or priority queue on Prove2Me. The mission produces machine-checked statements and, once solved, proofs of the chapter's main closed forms. It also produces a small reusable layer: generating functions of probability sequences on the closed unit disc, and the "probability solution of the balance equations" pattern for chains with countable state spaces.
Difficulty
The derivation in the book is formal. It differentiates power series term by term, divides by 1−z, integrates lnP0, and fixes the constant by setting z=1, without justifying any of these steps. A formal proof has to show that the series converge and are differentiable on (−1,1), that the differential equation determines P0 up to a constant, and that the values at z=1 are the limits of the values inside the disc (Abel's theorem). The uniqueness half of the goal is the hardest part. The book never proves it; it follows from the ODE argument only once every step is shown to hold for an arbitrary probability solution. Verifying that (3.57) solves (3.47)–(3.49) is only the easy half. The same pattern recurs in the bulk-input queue, where z=1 is a removable singularity of (3.3). In the bulk-service queue the root r0 is only characterized as the unique root in (0,1), so existence and uniqueness of the root are part of the claim.
Formalization scope
A steady-state solution is a pair p0 p1 : ℕ → ℝ (resp. one sequence p : ℕ → ℝ) that is pointwise nonnegative, has total mass 1 as a HasSum, and solves the book's balance equations exactly as printed, global balance and not detailed balance. Every "the steady-state solution is X" is stated with both halves: X is a steady-state solution, and every steady-state solution equals X. Stating only that (3.57) solves (3.47)–(3.49), without normalization or uniqueness, would be a trivializing formalization. So would taking r0 as a given root in (3.9), or taking the Wq(i) in (3.41) as numbers assumed to satisfy it. None of these is used. The closed forms instantiated are (3.52), (3.55), (3.57), (3.58), (3.3), (3.4), (3.9), (3.41) and (3.43), each written out in full, with the real power (1−ρ)(λ/γ)+1 as Real.rpow.
The conventions are as follows. The retrial generating functions take real arguments, on (−1,1) for the differential equations and on [−1,1] for the closed form. The bulk-input generating function takes complex arguments with ∣z∣≤1, z=1, because (3.3) is 0/0 at z=1. The condition ρ<1 is a hypothesis of every retrial statement. For the bulk-service queue the book's unnamed condition is stated as λ<Kμ. For bulk input, E[X]<∞ is assumed throughout, and the mean (3.4) is asserted under the further condition E[X2]<∞, which it requires. For Cobham's formula only the algebraic content is formalized; the mean-value argument that yields (3.40) and (3.42) is not.
Needed infrastructure: power series of summable nonnegative sequences on the closed unit disc (convergence, term-by-term differentiation, Abel continuity), the binomial series (1−x)−a=∑nn!a(a+1)⋯(a+n−1)xn for real a, and uniqueness of invariant probability vectors for irreducible chains. All of this is reusable beyond the mission. Proofs of any milestone, of the easy half of the goal, or of the needed series facts are welcome contributions.
Selected references
- D. Gross, J. F. Shortle, J. M. Thompson, C. M. Harris, Fundamentals of Queueing Theory, 4th ed., Wiley, 2008, §§3.1, 3.2.0.1, 3.4.2, 3.5.1. https://doi.org/10.1002/9781118625651
- G. I. Falin, J. G. C. Templeton, Retrial Queues, Chapman & Hall, 1997. https://doi.org/10.1007/978-1-4899-2977-8
- J. R. Artalejo, Accessible bibliography on retrial queues, Mathematical and Computer Modelling 30 (1999) 1–6. https://doi.org/10.1016/S0895-7177(99)00128-4
- A. Cobham, Priority assignment in waiting line problems, Journal of the Operations Research Society of America 2 (1954) 70–76. https://doi.org/10.1287/opre.2.1.70