Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

Markov Chain

189 missions · 85 completed

Missions

Open104Completed85All189
🏆Completed
Algorithmic Game TheoryDynamic ProgrammingOperations Research·Captain: mikedeng1

Markovian Decision Processes with Uncertain Transition Probabilities I: The Max-Min Policy-Iteration Algorithm Terminates at a Max-Min Optimal Pure Stationary PolicyResearch Paper

Motivation

Howard's finite Markovian decision process (MDP) models a controller who, at each instant, observes the state of a system, chooses a decision, collects a reward and moves to a random next state with known transition probabilities. Howard's policy-iteration algorithm computes an optimal policy, and the model has been applied to inventory control, equipment replacement, quality control and marketing. Its weak point is the requirement that every transition probability be known exactly: in applications these numbers are estimated and are hard to measure.

Satia and Lave (Operations Research 21(3), 1973) relax this requirement. In their game-theoretic formulation, the controller knows only a set of admissible probability rows for every state–decision pair, and nature chooses the rows adversarially. This is the model now called a robust MDP with (s,a)-rectangular uncertainty, studied later by Iyengar (Math. Oper. Res. 2005) and Nilim and El Ghaoui (Oper. Res. 2005), who reprove and extend the dynamic-programming results for it. The paper gives a policy-iteration algorithm for the max-min criterion and proves that it terminates at an optimal policy. This mission formalizes that part of the paper (pp. 728–732).

Timeline:

  • 1953: Shapley introduces stochastic games (PNAS 39).
  • 1960: Howard, Dynamic Programming and Markov Processes, policy iteration for known transitions.
  • 1973: Satia and Lave, max-min and max-max policy iteration for uncertain transitions (dynamic-programming equations and optimality of pure stationary policies cited from Satia's 1968 Stanford thesis).
  • 2005: Iyengar; Nilim and El Ghaoui, robust dynamic programming under rectangular uncertainty.

Setting

There are finitely many states iii and, in state iii, a finite nonempty set DiD_iDi​ of decisions kkk. A transition i→ji\to ji→j under decision kkk earns reward rijkr^k_{ij}rijk​; rewards are discounted by β\betaβ with 0≤β<10\le\beta<10≤β<1. For every pair (i,k)(i,k)(i,k) there is a nonempty, closed, convex set SikS_i^kSik​ of probability rows p=(p1,…,pN)p=(p_1,\dots,p_N)p=(p1​,…,pN​), pj≥0p_j\ge0pj​≥0, ∑jpj=1\sum_j p_j=1∑j​pj​=1. Nature's choice is a matrix P∈SP\in SP∈S: one row pik∈Sikp_i^k\in S_i^kpik​∈Sik​ for every pair.

A pure stationary policy A=(A1,…,AN)A=(A_1,\dots,A_N)A=(A1​,…,AN​) selects Ai∈DiA_i\in D_iAi​∈Di​. Under PPP its present value vA(P)v^A(P)vA(P) is the unique solution of equations (5),

viA=∑jpijAi(rijAi+βvjA).v_i^A=\sum_j p^{A_i}_{ij}\big(r^{A_i}_{ij}+\beta v_j^A\big).viA​=j∑​pijAi​​(rijAi​​+βvjA​).

Nature's minimum is v‾i(A)=inf⁡P∈SviA(P)\underline v_i(A)=\inf_{P\in S}v_i^A(P)v​i​(A)=infP∈S​viA​(P), and the max-min return of criterion (2) is vˉi=max⁡Av‾i(A)\bar v_i=\max_A\underline v_i(A)vˉi​=maxA​v​i​(A). A policy is max-min optimal if v‾(A)=vˉ\underline v(A)=\bar vv​(A)=vˉ in every state.

The algorithm alternates two routines. Phase 1 (nature's policy evaluation) fixes AAA, computes vAv^AvA from the current rows, replaces each row at AiA_iAi​ by a minimizer of ∑jpj(rijAi+βvjA)\sum_j p_j(r^{A_i}_{ij}+\beta v^A_j)∑j​pj​(rijAi​​+βvjA​) over SiAiS_i^{A_i}SiAi​​ (6), and stops when the minima reproduce vAv^AvA. Phase 2 (policy improvement) chooses in each state a decision BiB_iBi​ maximizing the test quantity (7),

tik(v)=min⁡p∈Sik∑jpj(rijk+βvj),t_i^k(v)=\min_{p\in S_i^k}\sum_j p_j\big(r^k_{ij}+\beta v_j\big),tik​(v)=p∈Sik​min​j∑​pj​(rijk​+βvj​),

at v=v‾(A)v=\underline v(A)v=v​(A), keeping AiA_iAi​ on ties; if B=AB=AB=A the algorithm terminates.

Formalization targets

Goal: Proposition 5 with Proposition 3

Along every run A0,A1,…A^0,A^1,\dotsA0,A1,… of Phase 2 steps,

v‾(An)≤v‾(An+1)  ∀n,∃ n<#{policies}: An+1=An,  v‾(An)=vˉ,\underline v(A^n)\le\underline v(A^{n+1})\ \ \forall n,\qquad \exists\,n<\#\{\text{policies}\}:\ A^{n+1}=A^n,\ \ \underline v(A^n)=\bar v,v​(An)≤v​(An+1)  ∀n,∃n<#{policies}: An+1=An,  v​(An)=vˉ,

and the terminal policy attains the solution of the equations (4) and is ε\varepsilonε-optimal for every ε>0\varepsilon>0ε>0.

Milestones

  • Eq. (5): the present-value equations have a unique solution.
  • [I−βP]−1[I-\beta P]^{-1}[I−βP]−1 is nonnegative with diagonal at least 1 for stochastic PPP (proof of Proposition 5).
  • Proposition 1: equations (4), with randomized decisions and mixed choices of nature, have a unique solution, and it is the max-min return.
  • Proposition 2: a pure stationary policy attains it.
  • A non-final Phase 1 iteration lowers nature's value weakly everywhere and strictly somewhere (proof of Proposition 4).
  • Proposition 4: Phase 1 comes within ε\varepsilonε of nature's optimum after finitely many iterations.
  • Proposition 3: at termination no pure stationary policy is better.
  • Each policy change strictly improves the max-min return (proof of Proposition 5).

Significance

The goal certifies a complete algorithm for the max-min problem: it computes a policy that is optimal against the worst admissible transition probabilities, in all states at once, in finitely many improvement steps. Propositions 1 and 2 show that the dynamic-programming equations (4) characterize the max-min value and that neither side gains from randomization. The known-transition case (every SikS_i^kSik​ a single row) recovers Howard's policy iteration.

On the platform, Howard-type policy iteration for known transitions has been formalized (the Bertsekas Dynamic Programming and Optimal Control missions); nothing with uncertain transitions exists. The results of this paper are proved in the literature (Satia's thesis, and in greater generality by Iyengar and by Nilim and El Ghaoui); none has a machine-checked proof. This mission produces the first formal robust-MDP model and robust policy-iteration theorem on the platform.

Difficulty

The obvious argument copies Howard's improvement lemma. It fails at two points. First, the value of a policy is itself the result of an inner optimization by nature, so comparing two policies requires comparing two different worst-case transition matrices; the matrix P∗BP^{*B}P∗B minimizing against BBB is not the one minimizing against AAA. Second, the proof of Proposition 4 as printed shows only that nature's values decrease and converge; that the limit is nature's optimum, over a continuum of admissible rows, needs a separate argument. Finally, Proposition 1 involves randomized strategies and probability measures on the uncertainty sets, and reducing them to pure strategies is the content of Propositions 1 and 2, not a definitional convenience.

Formalization scope

States are a finite type S (nonemptiness is not needed: every statement is unchanged in meaning at N=1N=1N=1 and trivially true at N=0N=0N=0), decisions a family D : S → Type* of finite nonempty types. The model fixes these conventions and readings:

  • 0≤β<10\le\beta<10≤β<1 (not printed; every return is an infinite discounted sum) and nonempty SikS_i^kSik​ (not printed; Phase 1 presupposes a feasible row) are added standing hypotheses; closedness and convexity are the paper's.
  • The present value is [I−βPA]−1[I-\beta P^A]^{-1}[I−βPA]−1 applied to the one-step rewards; the Eq. (5) milestone proves it is the unique solution of (5).
  • "min over pik∈Sikp_i^k\in S_i^kpik​∈Sik​" in (2) is an infimum over the nonempty type of admissible choices P∈SP\in SP∈S, bounded below; "max over all policies" is a maximum over pure stationary policies, with randomization handled in (4).
  • In (4), τ\tauτ ranges over probability vectors on DjD_jDj​ and α\alphaα over probability measures on row vectors with α(Sjk)=1\alpha(S_j^k)=1α(Sjk​)=1; the missing integral sign and unmatched brace of the printed display are corrected.
  • "Optimal" = equal to the max-min return in every state; "ε\varepsilonε-optimal" = within ±ε\pm\varepsilon±ε in every state (p. 731); "ε\varepsilonε-optimal for nature" = within ε\varepsilonε of nature's minimum.
  • "Terminates" = Phase 2 returns the same policy; "a finite number of iterations" is stated with the explicit bound "fewer than the number of policies".
  • Phase 1 is taken exact in Phase 2 (the proofs of Propositions 3 and 5 use exact minimizers); the Phase 1 stopping test is printed without Σ\SigmaΣ and the sum is formalized.
  • Retention rule: Phase 2 keeps AiA_iAi​ when it is already a maximizer. It is not printed, but it is Howard's rule and Proposition 5 is false without it.
  • Proposition 5's "ε\varepsilonε-optimal … in a finite number of iterations" is formalized as exact termination at an optimal policy, which implies the printed claim for every ε\varepsilonε.

Equation (4) must not be collapsed to max⁡kmin⁡p∈Sjk\max_k\min_{p\in S_j^k}maxk​minp∈Sjk​​ in its definition: that would make Proposition 2 true by definition. Similarly, the Phase 2 relation always has a successor and algorithm runs exist from every policy, so the goal is not vacuous.

Needed infrastructure: Neumann series for I−βPI-\beta PI−βP with stochastic PPP, monotonicity of policy evaluation, existence of minimizers of linear functions on compact subsets of the simplex, and the contraction argument for the robust Bellman operator. These are reusable for any robust or known-transition MDP development. Proofs of any milestone, alternative arguments for Propositions 1 and 2, and extensions to the max-max criterion are welcome.

Selected references

  • J. K. Satia and R. E. Lave, Jr., Markovian Decision Processes with Uncertain Transition Probabilities, Operations Research 21(3), 728–740, 1973. https://doi.org/10.1287/opre.21.3.728
  • R. A. Howard, Dynamic Programming and Markov Processes, MIT Press, 1960.
  • L. S. Shapley, Stochastic Games, PNAS 39(10), 1095–1100, 1953. https://doi.org/10.1073/pnas.39.10.1095
  • G. N. Iyengar, Robust Dynamic Programming, Mathematics of Operations Research 30(2), 257–280, 2005. https://doi.org/10.1287/moor.1040.0129
  • A. Nilim and L. El Ghaoui, Robust Control of Markov Decision Processes with Uncertain Transition Matrices, Operations Research 53(5), 780–798, 2005. https://doi.org/10.1287/opre.1050.0216
12 thms4 active usersReviewed
🏆Completed
Operations ResearchStochastic Systems·Captain: naimengye

Stochastic Networks III: Loss Networks and the Erlang Fixed PointTextbook

Motivation

Erlang's formula, the subject of mission I of this series, sizes a single telephone link. Real networks are not single links: a call occupies a circuit on every link of its route simultaneously, and it is lost unless every one of those links has a free circuit. That is the loss network, the model of Chapter 3 of Frank Kelly and Elena Yudovina's Stochastic Networks (Cambridge University Press, 2014), and it describes not only circuit-switched telephony but any system in which a request must acquire several resources at once or be refused: wavelength assignment in optical networks, radio channel allocation under interference constraints, slot booking, and admission control generally. The term used in those application areas is circuit-switched: before a request is accepted it is checked that enough resource is available for each stage of it.

The exact equilibrium distribution of a loss network is known and has product form. It is also useless for computation — its normalizing constant is a sum over the feasible states, and for a general resource matrix computing it is NP-hard. What practitioners use instead is the Erlang fixed point: pretend the links block independently, so that the traffic offered to link jjj is the traffic on the routes through it thinned by the blocking probability of every other link on each route, and then apply Erlang's formula link by link. The result is a system of coupled copies of Erlang's formula. The chapter's aim, in its own words, is to give insight into why that approximation works as well as it does; the first step is to show that it is well posed at all.

Setting

The links are J={1,…,J}\mathcal{J} = \{1,\dots,J\}J={1,…,J}, link jjj carrying CjC_jCj​ circuits. A route rrr belongs to a set R\mathcal{R}R of RRR routes, and the link-route incidence matrix AAA records how much of each link a route needs: a call on route rrr requires AjrA_{jr}Ajr​ circuits from link jjj and is lost if any link has fewer than AjrA_{jr}Ajr​ free. (The classical case is AAA a 000–111 matrix and Ajr=1A_{jr}=1Ajr​=1 exactly when j∈rj\in rj∈r; from section 3.3 the book allows any non-negative integers.)

Calls requesting route rrr arrive as a Poisson process of rate νr\nu_rνr​, independently across routes, and hold their circuits for an exponentially distributed time of unit mean. Writing nrn_rnr​ for the number of calls in progress on route rrr, the process n=(nr)n=(n_r)n=(nr​) is Markov on

S(C)={n∈Z+R:An≤C},S(C)=\{n\in\mathbb{Z}_+^{R} : An\le C\},S(C)={n∈Z+R​:An≤C},

and is called a loss network with fixed routing.

Write E(ν,C)E(\nu,C)E(ν,C) for Erlang's formula, E(ν,C)=νC/C!∑j=0Cνj/j!E(\nu,C)=\dfrac{\nu^{C}/C!}{\sum_{j=0}^{C}\nu^{j}/j!}E(ν,C)=∑j=0C​νj/j!νC/C!​, published in mission I of this series. The Erlang fixed point equations are

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

The factor (1−Ej)−1(1-E_j)^{-1}(1−Ej​)−1 removes link jjj's own thinning from the product, so in the 000–111 case the argument is ∑r∋jνr∏i∈r∖{j}(1−Ei)\sum_{r\ni j}\nu_r\prod_{i\in r\setminus\{j\}}(1-E_i)∑r∋j​νr​∏i∈r∖{j}​(1−Ei​), the reduced load offered to link jjj.

Formalization targets

Goal — Theorem 3.20, existence and uniqueness of the Erlang fixed point

∃! (E1,…,EJ)∈[0,1]J satisfying (3.7).\exists!\,(E_1,\dots,E_J)\in[0,1]^J \text{ satisfying } (3.7).∃!(E1​,…,EJ​)∈[0,1]J satisfying (3.7).

The goal fixes no formula for EEE and no rate of convergence: it asserts only that the approximation the field has used since the 1960s names a single, well-defined object. Existence alone is a short argument from Brouwer's theorem, since (3.7) defines a continuous self-map of the compact convex cube [0,1]J[0,1]^J[0,1]J; uniqueness is the substance.

Supporting levels

The exact theory that the fixed point approximates: Lemma 3.4 on truncating a reversible process; the uncapacitated network as an instance of the open migration product form of mission II; equation (3.3), the exact equilibrium distribution π(n)=G(C)∏rνrnr/nr!\pi(n)=G(C)\prod_r \nu_r^{n_r}/n_r!π(n)=G(C)∏r​νrnr​​/nr​! on S(C)S(C)S(C); and the acceptance probability 1−Lr=G(C)/G(C−Aer)1-L_r=G(C)/G(C-Ae_r)1−Lr​=G(C)/G(C−Aer​). Then the optimization side: that E(ν,C)E(\nu,C)E(ν,C) and the utilization ν(1−E(ν,C))\nu(1-E(\nu,C))ν(1−E(ν,C)) are strictly increasing in ν\nuν, which is what makes the revised dual objective strictly convex; and Theorem 3.10, that a minimizer of the Dual problem (3.5) over the positive orthant satisfies the conditions on BBB, equation (3.6).

Significance

The result itself. Without Theorem 3.20 the phrase "the Erlang fixed point" is not well formed, and neither is any engineering procedure that computes one — repeated substitution converges to a solution, and damped iteration is guaranteed to converge to one, but "the blocking probabilities predicted by the reduced-load approximation" names a unique vector only because of this theorem. The proof is also the interesting part: the fixed point equations are re-read as the stationary conditions of a strictly convex minimization, the revised dual (3.8), which is the Dual problem (3.5) of the maximum-probability analysis with its linear term replaced by ∫0yjU(z,Cj) dz\int_0^{y_j}U(z,C_j)\,dz∫0yj​​U(z,Cj​)dz. That connection is what later lets the book prove the approximation asymptotically exact in a limiting regime: Corollary 3.22 says the Erlang fixed point converges to the vector BBB coming from the maximum-probability problem.

Formalizing it. Nothing here is open. What the mission produces is the loss network model in Lean — state space, truncated rates, normalizing constant, incidence matrix — and a machine-checked statement of the object the reduced-load approximation computes. It is also where this series' earlier missions pay off: the uncapacitated network is literally the open migration process of mission II with λ≡0\lambda\equiv 0λ≡0, μ≡1\mu\equiv 1μ≡1, φj(n)=n\varphi_j(n)=nφj​(n)=n, and the exact distribution (3.3) is its truncation by Lemma 3.4 to the feasible set, using the DetailedBalance layer of mission I. Mathlib has no loss network theory and no Erlang formula beyond what mission I published.

Difficulty

Existence of a fixed point is easy and is not where the difficulty lies. Uniqueness resists every direct attack: the map defined by (3.7) is not a contraction in any obvious metric, its monotonicity structure is not the kind that forces a unique fixed point, and iterating it undamped can cycle. The book's route is indirect — exhibit a strictly convex function whose stationary conditions are exactly (3.7) — and finding that function is the whole content. Its strict convexity comes from a monotonicity fact about Erlang's formula, that the utilization ν(1−E(ν,C))\nu\bigl(1-E(\nu,C)\bigr)ν(1−E(ν,C)) is strictly increasing in ν\nuν, which is itself a milestone here.

A second, formal difficulty: the equations involve (1−Ej)−1(1-E_j)^{-1}(1−Ej​)−1, so a solution with Ej=1E_j=1Ej​=1 would be meaningless. It is worth checking before starting that no such solution exists for Cj≥1C_j\ge 1Cj​≥1, rather than assuming it.

Formalization scope

Routes and links are indexed by finite types, the incidence matrix has natural-number entries (the general case of section 3.3, not only 000–111), capacities are natural numbers, and arrival rates are positive reals. The feasible set S(C)S(C)S(C) is a subset of the state space, and a truncated process is the rate matrix restricted to that subset — which is exactly the book's truncation, since a transition leaving the set simply has no target.

Conventions: holding times have unit mean throughout, matching the book, so the departure rate from route rrr is nrn_rnr​ and no separate service-rate parameter appears. Normalizing constants are introduced through summability hypotheses that assert convergence and the value together, rather than as possibly-infinite quantities; G(C)G(C)G(C) is the reciprocal of the sum in the book's notation. Capacities are assumed at least 111 in the goal: a link with no circuits blocks everything, E(ν,0)=1E(\nu,0)=1E(ν,0)=1 identically, and the factor (1−Ej)−1(1-E_j)^{-1}(1−Ej​)−1 would then be undefined rather than merely large.

The goal cannot be satisfied trivially: it is a uniqueness statement, so a vacuous or degenerate reading would have to produce no solution, and existence is half of what is asserted.

Contributions welcome beyond the listed items: the Brouwer argument for existence of a solution to the 000–111 equations (3.1) of section 3.2; the utilization function U(y,C)U(y,C)U(y,C) and the revised dual (3.8); the central limit theorem 3.14 and Corollary 3.17; Lemma 3.21 and Corollary 3.22 on the limiting regime; and the diverse-routing models of section 3.7.

Selected references

  • Frank Kelly and Elena Yudovina, Stochastic Networks, Cambridge University Press, 2014, Chapter 3 (pp. 49–82); Lemma 3.4, equation (3.3), Theorems 3.10 and 3.20, equations (3.1), (3.5)–(3.9). DOI 10.1017/cbo9781139565363
  • F. P. Kelly, Loss networks, Annals of Applied Probability 1 (1991), 319–378. DOI 10.1214/aoap/1177005872
  • F. P. Kelly, Blocking probabilities in large circuit-switched networks, Advances in Applied Probability 18 (1986), 473–505. DOI 10.2307/1427303
  • R. B. Cooper and S. Katz, Analysis of alternate routing networks with account taken of the nonrandomness of overflow traffic, Bell Telephone Laboratories memorandum, 1964.
  • Frank Kelly, Reversibility and Stochastic Networks, Cambridge University Press, 2011 (reissue of the 1979 edition), Chapter 1 on truncation.
14 thms4 active usersReviewed
🏆Completed
ProbabilityStochastic Systems·Captain: Shuze Chen

Markov Chains and Mixing Times VIII: Path Coupling and Approximate CountingTextbook

Motivation

The coupling method of Mission III asks for a coupling of two copies of a chain from every pair of starting states — often painful to construct globally. Chapter 14 of Levin–Peres–Wilmer, Markov Chains and Mixing Times (AMS, 2009) replaces that global demand by a local one. The path coupling technique of Bubley and Dyer says: put a connected graph structure on the state space, and couple one step of the chain only across edges; if each edge contracts in expectation, contraction propagates automatically along paths to arbitrary pairs of distributions. The bookkeeping runs through the transportation metric (Kantorovich distance) between distributions, whose theory — attainment by an optimal coupling, the triangle inequality — is developed on the way. The chapter's payoff is the sharpest elementary bound for sampling proper colorings (Theorem 14.8: the Glauber dynamics mixes in O(nlog⁡n)O(n\log n)O(nlogn) steps once q>2Δq>2\Deltaq>2Δ), and, through the sampling-to-counting reduction of Jerrum–Valiant–Vazirani, a polynomial-time approximation algorithm for counting colorings — the paradigm of the Markov chain Monte Carlo method as an algorithmic tool.

Setting

All chains live on a finite state space VVV with a transition matrix PPP; Pt(x,⋅)P^t(x,\cdot)Pt(x,⋅) is the time-ttt distribution from xxx, ∥μ−ν∥TV=max⁡A⊆V∣μ(A)−ν(A)∣\|\mu-\nu\|_{TV}=\max_{A\subseteq V}|\mu(A)-\nu(A)|∥μ−ν∥TV​=maxA⊆V​∣μ(A)−ν(A)∣ the total variation distance, d(t)=max⁡x∥Pt(x,⋅)−π∥TVd(t)=\max_x\|P^t(x,\cdot)-\pi\|_{TV}d(t)=maxx​∥Pt(x,⋅)−π∥TV​ the worst-case distance to the stationary distribution π\piπ, and tmix(ε)=min⁡{t:d(t)≤ε}t_{\mathrm{mix}}(\varepsilon)=\min\{t:d(t)\le\varepsilon\}tmix​(ε)=min{t:d(t)≤ε} the mixing time. A coupling of distributions μ,ν\mu,\nuμ,ν is a distribution qqq on V×VV\times VV×V with marginals μ\muμ and ν\nuν.

Given a metric-like cost ρ\rhoρ on pairs of states, the transportation metric between two distributions is the cheapest expected cost of moving one onto the other:

ρK(μ,ν)=min⁡{∑x,yρ(x,y) q(x,y)  :  q a coupling of μ,ν}.\rho_K(\mu,\nu)=\min\Bigl\{\sum_{x,y}\rho(x,y)\,q(x,y)\;:\;q\ \text{a coupling of}\ \mu,\nu\Bigr\}.ρK​(μ,ν)=min{x,y∑​ρ(x,y)q(x,y):q a coupling of μ,ν}.

Given a connected graph structure GGG on the state space with edge lengths ℓ≥1\ell\ge1ℓ≥1, the path metric ρ(x,y)\rho(x,y)ρ(x,y) is the least total length of a GGG-path from xxx to yyy.

For the colorings application: a qqq-coloring of the vertices of a graph is proper when adjacent vertices receive distinct colors, and the Glauber dynamics on proper colorings picks a uniform vertex and re-samples its color uniformly among the colors legal there; its stationary distribution is uniform on the proper colorings. Throughout, nnn is the number of vertices and Δ\DeltaΔ the maximum degree of the graph being colored.

Formalization targets

Goal

Theorem 14.8, the capstone of Chapter 14: for the Glauber dynamics on proper qqq-colorings, if q>2Δq>2\Deltaq>2Δ then

tmix(ε)  ≤  ⌈q−Δq−2Δ  n (log⁡n−log⁡ε)⌉.t_{\mathrm{mix}}(\varepsilon)\;\le\;\Bigl\lceil\frac{q-\Delta}{q-2\Delta}\;n\,\bigl(\log n-\log\varepsilon\bigr)\Bigr\rceil.tmix​(ε)≤⌈q−2Δq−Δ​n(logn−logε)⌉.

Milestones

  • Lemma 14.3 and Remark 14.2 — the transportation distance is attained by an optimal coupling, and satisfies the triangle inequality (so it is a genuine metric on distributions).
  • Theorem 14.6, path coupling (Bubley–Dyer) — if for every edge {x,y}\{x,y\}{x,y} of a connected graph structure there is a coupling of the one-step distributions P(x,⋅),P(y,⋅)P(x,\cdot),P(y,\cdot)P(x,⋅),P(y,⋅) contracting the path metric by e−αe^{-\alpha}e−α in expectation, then one step of the chain contracts the transportation metric of arbitrary distribution pairs by e−αe^{-\alpha}e−α.
  • Corollary 14.7 — under the same hypotheses, d(t)≤e−αt diam(V)d(t)\le e^{-\alpha t}\,\mathrm{diam}(V)d(t)≤e−αtdiam(V) and tmix(ε)≤⌈(log⁡diam(V)−log⁡ε)/α⌉t_{\mathrm{mix}}(\varepsilon)\le\lceil(\log\mathrm{diam}(V)-\log\varepsilon)/\alpha\rceiltmix​(ε)≤⌈(logdiam(V)−logε)/α⌉, where diam(V)\mathrm{diam}(V)diam(V) is the largest path-metric distance between two states.
  • Theorem 14.12, approximate counting — for q>2Δq>2\Deltaq>2Δ there is a randomized estimator, computed from an explicit polynomial number of independent uniform random seeds, which with probability at least 1−η1-\eta1−η estimates the number of proper qqq-colorings within a (1±ε)(1\pm\varepsilon)(1±ε) factor: rapid sampling yields rapid approximate counting.

Significance

The results. Path coupling converted the coupling method from an art into a calculus: one bounds a single-edge contraction constant, and the machinery does the rest. It is the standard tool for Glauber dynamics on colorings, independent sets, and other constraint-satisfaction models, and the q>2Δq>2\Deltaq>2Δ colorings bound is its flagship application. Theorem 14.12 is the discrete embodiment of the Jerrum–Valiant–Vazirani equivalence between approximate counting and sampling — the conceptual foundation of the entire MCMC approach to #P\#\mathrm P#P-hard counting problems.

Formalizing them. Mathlib has no transportation/Kantorovich metric in the finite setting, no path coupling, and nothing on approximate counting. The transportation-metric layer (optimal couplings, triangle inequality) is reusable far beyond this mission — it is the finite Wasserstein distance. The path-coupling theorem feeds directly into Mission IX (Ising) and is quoted throughout modern mixing literature.

Difficulty

The transportation metric asks for minimization over the (compact) polytope of couplings: attainment is a finite-dimensional compactness argument, and the triangle inequality requires gluing two optimal couplings along their common marginal — the classic construction that must be carried out with explicit finite sums here. Path coupling itself is an induction along geodesics of the path metric, with the subtlety that the composite coupling produced along a path need not be optimal, only admissible; the bookkeeping of the contraction constant through the induction is exactly the kind of argument Lean keeps honest. Theorem 14.8 instantiates the machinery: the single-edge coupling for colorings needs a careful case analysis of the proposed recolorings at the two endpoints (matching legal colors bijectively), and the contraction constant (q−2Δ)/(q−Δ)(q-2\Delta)/(q-\Delta)(q−2Δ)/(q−Δ) emerges from counting disagreeing proposals. Theorem 14.12 layers a probabilistic-amplification argument (medians of means over independent runs) on top of the mixing bound; its combinatorial core — expressing ∣Ω∣−1|\Omega|^{-1}∣Ω∣−1 as a telescoping product of marginal probabilities — is elementary but notation-heavy, and the formal statement quantifies over explicit seed spaces, so the whole estimator is a finite object.

Formalization scope

The transportation metric is an sInf over coupling costs (the coupling polytope is nonempty for genuine distributions, and attainment is part of the milestone, so the junk value never propagates); the path metric is an sInf over walk lengths in a connected graph. The Glauber dynamics on colorings is the restriction to proper colorings of the single-site heat-bath chain of Mission II, matching §3.3 of the book; its state space is the subtype of proper colorings, nonempty whenever q>2Δq>2\Deltaq>2Δ (a fact the hypotheses of the goal supply). Mixing-time upper bounds are stated with the book's explicit ceilings, so no rounding slack is hidden. In Theorem 14.12 the estimator is presented concretely as a function of finitely many uniform seeds, and "with probability ≥1−η\ge1-\eta≥1−η" is a counting inequality over the seed space — no measure theory enters. Contributions of intermediate lemmas (optimal-coupling gluing, geodesic decompositions, colorings edge-coupling) are welcome and will be reused by Mission IX.

Selected references

  • D. A. Levin, Y. Peres, E. L. Wilmer, Markov Chains and Mixing Times, American Mathematical Society, 2009. https://documents.epfl.ch/groups/i/ip/ipg/www/2013-2014/Random_Walks/markovmixing.pdf
  • R. Bubley, M. Dyer, Path coupling: a technique for proving rapid mixing in Markov chains, FOCS 1997. https://doi.org/10.1109/SFCS.1997.646111
  • M. Jerrum, A very simple algorithm for estimating the number of k-colorings of a low-degree graph, Random Structures Algorithms 7 (1995). https://doi.org/10.1002/rsa.3240070205
  • M. Jerrum, L. Valiant, V. Vazirani, Random generation of combinatorial structures from a uniform distribution, Theoret. Comput. Sci. 43 (1986). https://doi.org/10.1016/0304-3975(86)90174-X
9 thms4 active usersReviewed
🏆Completed
ProbabilityStochastic Systems·Captain: Shuze Chen

Markov Chains and Mixing Times VI: Networks, Hitting Times, and Cover TimesTextbook

Motivation

A reversible Markov chain is an electrical network: states are nodes, and the conductance c(x,y)=π(x)P(x,y)c(x,y)=\pi(x)P(x,y)c(x,y)=π(x)P(x,y) turns hitting probabilities into voltages and hitting times into resistances. This dictionary, going back to Kakutani and popularized by Doyle and Snell, converts probabilistic estimates into the physical laws of circuits — series/parallel reduction, energy minimization, monotonicity under edge removal. Chapters 9–11 of Levin–Peres–Wilmer, Markov Chains and Mixing Times (AMS, 2009) develop the dictionary and its two crown results: the commute time identity of Chandra–Raghavan–Ruzzo–Smolensky–Tiwari, Ea(τb)+Eb(τa)=cG R(a↔b)\mathbb E_a(\tau_b)+\mathbb E_b(\tau_a)=c_G\,R(a\leftrightarrow b)Ea​(τb​)+Eb​(τa​)=cG​R(a↔b), and the Matthews method bounding cover times by hitting times with harmonic-number precision.

Setting

A network is a symmetric nonnegative conductance function ccc on pairs of vertices; the associated walk moves with probabilities

P(x,y)=c(x,y)/c(x)P(x,y)=c(x,y)/c(x)P(x,y)=c(x,y)/c(x)

where c(x)=∑yc(x,y)c(x)=\sum_y c(x,y)c(x)=∑y​c(x,y), and cG=∑xc(x)c_G=\sum_x c(x)cG​=∑x​c(x). A function hhh is harmonic at xxx if h(x)=∑yP(x,y)h(y)h(x)=\sum_y P(x,y)h(y)h(x)=∑y​P(x,y)h(y). The voltage with boundary values 111 at aaa and 000 at zzz is W(x)=Px{τa<τz}W(x)=\mathbb P_x\{\tau_a<\tau_z\}W(x)=Px​{τa​<τz​}, the harmonic extension of its boundary data; the current flowing out of aaa has strength ∥I∥=∑yc(a,y) [W(a)−W(y)]\|I\|=\sum_y c(a,y)\,[W(a)-W(y)]∥I∥=∑y​c(a,y)[W(a)−W(y)], and the effective resistance is R(a↔z)=∥I∥−1R(a\leftrightarrow z)=\|I\|^{-1}R(a↔z)=∥I∥−1. A flow from aaa to zzz is an antisymmetric edge function obeying the node law off {a,z}\{a,z\}{a,z}; its energy is E(θ)=∑eθ(e)2/c(e)\mathcal E(\theta)=\sum_e\theta(e)^2/c(e)E(θ)=∑e​θ(e)2/c(e). Hitting times τS=min⁡{t≥0:Xt∈S}\tau_S=\min\{t\ge0:X_t\in S\}τS​=min{t≥0:Xt​∈S}, their expectations, the Green's function Gτz(a,x)G_{\tau_z}(a,x)Gτz​​(a,x), the maximal hitting time thitt_{\mathrm{hit}}thit​, and the cover time tcovt_{\mathrm{cov}}tcov​ (expected time to visit every state, maximized over starts) all use the trajectory calculus of Mission I.

Formalization targets

Goal

Ea(τb)+Eb(τa)  =  cG R(a↔b).\mathbb E_a(\tau_b)+\mathbb E_b(\tau_a)\;=\;c_G\,R(a\leftrightarrow b).Ea​(τb​)+Eb​(τa​)=cG​R(a↔b).

This is Proposition 10.6, the commute time identity — the exact bridge between the probabilistic and electrical sides, and the engine of the transience/recurrence theory of Mission XII.

Milestones

Reversibility and stationarity of the network walk with π(x)=c(x)/cG\pi(x)=c(x)/c_Gπ(x)=c(x)/cG​ (§9.1); Proposition 9.1 (existence and uniqueness of harmonic extensions with given boundary values, h(x)=Exf(XτB)h(x)=\mathbb E_x f(X_{\tau_B})h(x)=Ex​f(XτB​​)); Lemma 9.6 (the Green's function identity Gτz(a,a)=c(a)R(a↔z)G_{\tau_z}(a,a)=c(a)R(a\leftrightarrow z)Gτz​​(a,a)=c(a)R(a↔z)); Theorem 9.10 (Thomson's principle: R(a↔z)R(a\leftrightarrow z)R(a↔z) is the minimal energy of a unit flow, attained); Theorem 9.12 (Rayleigh monotonicity: lowering conductances raises effective resistance); Lemma 10.1 (the random target lemma: ∑yEa(τy)π(y)\sum_y\mathbb E_a(\tau_y)\pi(y)∑y​Ea​(τy​)π(y) does not depend on aaa); Corollary 10.8 (the resistance triangle inequality); Theorem 11.2 (Matthews: tcov≤thit (1+12+⋯+1n)t_{\mathrm{cov}}\le t_{\mathrm{hit}}\,(1+\tfrac12+\dots+\tfrac1n)tcov​≤thit​(1+21​+⋯+n1​)); Proposition 11.4 (the matching Matthews lower bound over subsets).

Significance

The results. The commute time identity computes hitting times from circuit reductions — this is how hitting times on trees, tori and glued graphs are actually evaluated — and, through Thomson and Rayleigh, makes them monotone under graph operations, something invisible probabilistically. The Matthews bounds pin cover times up to a log⁡n\log nlogn factor in complete generality; they are the tool behind cover-time results for lamplighter groups in Mission XI's sequel. Green's function identities feed Mission XII's recurrence theory, where R(a↔∞)R(a\leftrightarrow\infty)R(a↔∞) decides transience.

Formalizing them. Mathlib has graph Laplacians but no electrical network theory: no effective resistance, no flows, no energy, no Thomson/Rayleigh, no hitting or cover times. This mission publishes that layer over the trajectory calculus of Mission I. It is the most reusable single block of the series outside Missions I–II: effective resistance on finite networks is of independent interest to combinatorics (spanning trees, spectral sparsification) well beyond mixing times.

Difficulty

The identity chain behind the goal runs: Green's function of the stopped walk →\to→ escape probability Pa{τz<τa+}=(c(a)R(a↔z))−1\mathbb P_a\{\tau_z<\tau_a^+\}=\bigl(c(a)R(a\leftrightarrow z)\bigr)^{-1}Pa​{τz​<τa+​}=(c(a)R(a↔z))−1 (via harmonic uniqueness) →\to→ the Aldous–Fill occupation identity Gτ(a,x)=Ea(τ)π(x)G_\tau(a,x)=\mathbb E_a(\tau)\pi(x)Gτ​(a,x)=Ea​(τ)π(x) for stopping times with Xτ=aX_\tau=aXτ​=a — each step is a manipulation of infinite series of trajectory sums whose exchange steps (splitting a path at its first visit, last-exit decompositions) need summability from Mission I's Lemma 1.13. Thomson's principle is a finite-dimensional convex minimization: existence of the minimizer needs a compactness or completing-the-square argument, and the identification of the minimizer with the current flow needs the cycle law; the naive "differentiate the energy" route must be made exact. Matthews' method is a clean but genuinely clever argument — a uniformly random ordering of targets and the harmonic-number telescoping; the formal cost is the exchangeability of the randomized order against the chain, handled combinatorially.

Formalization scope

Networks are functions c:V×V→Rc:V\times V\to\mathbb Rc:V×V→R with a symmetry-and-nonnegativity predicate; loops are permitted; connectivity enters as irreducibility of the induced walk. The voltage is defined probabilistically as Px{τa<τz}\mathbb P_x\{\tau_a<\tau_z\}Px​{τa​<τz​} (the book's harmonic characterization is Proposition 9.1); R(a↔z)R(a\leftrightarrow z)R(a↔z) is the reciprocal of the explicit current strength, with total division junk when a,za,za,z are disconnected — statements carry irreducibility so this does not arise. Energy counts each undirected edge once, formalized as half the ordered double sum, and 02/0=00^2/0=002/0=0 handles absent edges. Cover times are tail sums of the explicit event "some state unvisited". The Matthews lower bound is stated with an arbitrary lower bound mmm for the pairwise hitting times of the subset AAA — equivalent to the book's min over pairs and easier to instantiate.

Welcome contributions: series/parallel reduction laws, the cycle and node law API for flows, escape-probability lemmas — all reused in Mission XII's infinite-network arguments.

Selected references

  • D. A. Levin, Y. Peres, E. L. Wilmer, Markov Chains and Mixing Times, American Mathematical Society, 2009. https://documents.epfl.ch/groups/i/ip/ipg/www/2013-2014/Random_Walks/markovmixing.pdf
  • P. G. Doyle, J. L. Snell, Random Walks and Electric Networks, MAA, 1984. https://arxiv.org/abs/math/0001057
  • A. K. Chandra, P. Raghavan, W. L. Ruzzo, R. Smolensky, P. Tiwari, The electrical resistance of a graph captures its commute and cover times, STOC 1989. https://doi.org/10.1145/73007.73062
  • P. Matthews, Covering problems for Markov chains, Ann. Probab. 16 (1988). https://doi.org/10.1214/aop/1176991894
15 thms4 active usersReviewed
🏆Completed
ProbabilityStochastic Systems·Captain: Shuze Chen

Markov Chains and Mixing Times I: Existence and Uniqueness of the Stationary DistributionTextbook

Markov Chains and Mixing Times I: Existence and Uniqueness of the Stationary Distribution

Motivation

Finite Markov chains are the basic model for memoryless random dynamics: card shuffles, random walks on graphs and groups, Monte Carlo samplers, and queueing systems are all chains on a finite state space. The single most used fact about them is that an irreducible chain has exactly one stationary distribution — a probability vector π\piπ with π=πP\pi = \pi Pπ=πP — and that this π\piπ is strictly positive and encodes the long-run behaviour of the chain through the return-time identity π(x)=1/Ex(τx+)\pi(x) = 1/\mathbb{E}_x(\tau_x^+)π(x)=1/Ex​(τx+​). Every later result in the theory of mixing times (convergence theorems, coupling bounds, spectral methods, cutoff) is a statement about the distance of the chain from this π\piπ, so nothing in the subject can be formalized before this mission is.

This mission is the first in a series formalizing D. A. Levin, Y. Peres and E. L. Wilmer, Markov Chains and Mixing Times (AMS, 2009), covering Chapters 1–2: the basic vocabulary of finite chains (stochastic matrices, irreducibility, period, reversibility, time reversal, random walks on graphs and groups) and the classical examples of Chapter 2 (gambler's ruin, coupon collecting, the reflection principle for simple random walk on Z\mathbb{Z}Z). Later missions in the series build on the definitions published here.

Setting

A chain on a finite state space Ω\OmegaΩ is presented by its transition matrix, a matrix P∈RΩ×ΩP \in \mathbb{R}^{\Omega\times\Omega}P∈RΩ×Ω with nonnegative entries whose rows sum to 111. A distribution is a row vector μ\muμ with nonnegative entries summing to 111; one step of the chain carries μ\muμ to μP\mu PμP, and the ttt-step transition probabilities are the entries of the matrix power PtP^tPt.

The chain is irreducible if for all states x,yx, yx,y there is a ttt with Pt(x,y)>0P^t(x,y) > 0Pt(x,y)>0. The period of a state xxx is gcd⁡ T(x)\gcd\,\mathcal{T}(x)gcdT(x) where T(x)={t≥1:Pt(x,x)>0}\mathcal{T}(x) = \{t \ge 1 : P^t(x,x) > 0\}T(x)={t≥1:Pt(x,x)>0}, and the chain is aperiodic if every state has period 111. A distribution π\piπ is stationary if πP=π\pi P = \piπP=π, and π\piπ and PPP are in detailed balance (the chain is reversible) if π(x)P(x,y)=π(y)P(y,x)\pi(x)P(x,y) = \pi(y)P(y,x)π(x)P(x,y)=π(y)P(y,x) for all x,yx,yx,y.

Trajectory events over a finite horizon are finite sums of path weights: a length-ttt trajectory is a function ω:{0,…,t}→Ω\omega : \{0,\dots,t\} \to \Omegaω:{0,…,t}→Ω, with weight ∏i<tP(ωi,ωi+1)\prod_{i<t} P(\omega_i, \omega_{i+1})∏i<t​P(ωi​,ωi+1​) conditional on its starting state. The tail probability Px{τz+>t}\mathbb{P}_x\{\tau_z^+ > t\}Px​{τz+​>t} of the first hitting time τz+=min⁡{t≥1:Xt=z}\tau_z^+ = \min\{t \ge 1 : X_t = z\}τz+​=min{t≥1:Xt​=z} is the sum of the weights of the trajectories from xxx that avoid zzz at times 1,…,t1,\dots,t1,…,t, and expectations of hitting times are recovered by the tail-sum formula E(Y)=∑t≥0P{Y>t}\mathbb{E}(Y) = \sum_{t\ge0} \mathbb{P}\{Y > t\}E(Y)=∑t≥0​P{Y>t}, formalized as a tsum over ttt.

Formalization targets

Goal

P stochastic and irreducible on a finite nonempty Ω  ⟹  ∃! π, π=πP.\text{$P$ stochastic and irreducible on a finite nonempty $\Omega$} \;\Longrightarrow\; \exists!\, \pi,\ \pi = \pi P .P stochastic and irreducible on a finite nonempty Ω⟹∃!π, π=πP.

This is Corollary 1.17 of the book. It asserts only existence and uniqueness, leaving the finer structure of π\piπ to the milestones; it is the weakest statement on which the rest of the series can stand, which is why it is the goal.

Milestones toward and around the goal

The milestone list follows the book's own route: well-definedness of the period (Lemma 1.6), positivity of some matrix power for irreducible aperiodic chains (Proposition 1.7), finiteness of expected hitting times (Lemma 1.13), existence of a positive stationary distribution together with

π(x) Ex(τx+)=1\pi(x)\,\mathbb{E}_x(\tau_x^+) = 1π(x)Ex​(τx+​)=1

(Proposition 1.14), constancy of harmonic functions (Lemma 1.16), stationarity from detailed balance (Proposition 1.19), the stationary and reversible measure π(x)=deg⁡(x)/2∣E∣\pi(x) = \deg(x)/2|E|π(x)=deg(x)/2∣E∣ of simple random walk on a graph (Examples 1.12 and 1.20), the time reversal P^\hat PP^ and its path-reversal identity (Proposition 1.22), and the random walks on finite groups of Section 2.6 (Propositions 2.12–2.14). From Chapter 2 the list adds the gambler's ruin formulas Pk{Xτ=n}=k/n\mathbb{P}_k\{X_\tau = n\} = k/nPk​{Xτ​=n}=k/n and Ek(τ)=k(n−k)\mathbb{E}_k(\tau) = k(n-k)Ek​(τ)=k(n−k) (Proposition 2.1), the coupon collector expectation n∑k≤n1/kn\sum_{k\le n} 1/kn∑k≤n​1/k and tail bound e−ce^{-c}e−c (Propositions 2.3 and 2.4), and the reflection principle and the bound Pk{τ0>r}≤12k/r\mathbb{P}_k\{\tau_0 > r\} \le 12k/\sqrt{r}Pk​{τ0​>r}≤12k/r​ for simple random walk on Z\mathbb{Z}Z (Lemma 2.18 and Theorem 2.17).

Significance

The result itself. Existence and uniqueness of π\piπ is the pivot on which the entire quantitative theory turns: it defines the target of convergence, and the identity π(x) Ex(τx+)=1\pi(x)\,\mathbb{E}_x(\tau_x^+) = 1π(x)Ex​(τx+​)=1 ties the stationary measure to return times, which later missions use for hitting-time and cover-time results. Detailed balance is the practical tool by which stationary measures of graph and group walks are computed, and the Chapter 2 examples (gambler's ruin, coupon collecting, reflection) are the standard building blocks reused throughout the book — the coupon collector bound, for instance, is exactly the estimate behind the nlog⁡n+cnn \log n + cnnlogn+cn analysis of the top-to-random shuffle in a later mission of this series.

Formalizing it. Mathlib currently has no theory of finite Markov chains: no stochastic-matrix predicate, no stationary distribution, no periodicity, no hitting times. Everything proved in this mission is new formal mathematics, and the definition layer published here (mm_basic, mm_path, mm_classical) is the shared foundation that all twelve subsequent missions of the series import. All results are classical and have textbook proofs; none has a machine-checked proof.

Difficulty

The delicate point is the existence proof. The natural first idea — extract π\piπ from an eigenvector of PTP^{\mathsf T}PT for eigenvalue 111, or invoke a fixed-point theorem — either does not give positivity and nonnegativity without further work, or uses compactness machinery (Brouwer) that is unavailable. The book's proof instead builds π~(y)=Ez(visits to y before τz+)\tilde\pi(y) = \mathbb{E}_z(\text{visits to } y \text{ before } \tau_z^+)π~(y)=Ez​(visits to y before τz+​) and verifies π~P=π~\tilde\pi P = \tilde\piπ~P=π~ by reindexing trajectory sums; formalizing it requires managing infinite series of path sums (summability from the geometric tail bound of Lemma 1.13, exchanging tsum with finite sums, splitting a trajectory at its last step). The uniqueness half is linear algebra via constancy of harmonic functions (Lemma 1.16), which is elementary but requires a maximum-principle argument over a finite state space. The reflection principle and Theorem 2.17 are finite combinatorics on ±1\pm 1±1 paths — the bijection is easy to describe and fiddly to implement.

Formalization scope

States form a Fintype with decidable equality; chains are Matrix V V ℝ with the row-stochasticity predicate IsStochastic; distributions are functions V → ℝ with the predicate IsDist. Everything is distribution-side: no probability space or measure theory is used. The period is formalized as sup⁡{d:d∣t for all t∈T(x)}\sup\{d : d \mid t \text{ for all } t \in \mathcal{T}(x)\}sup{d:d∣t for all t∈T(x)}, which equals gcd⁡T(x)\gcd \mathcal{T}(x)gcdT(x) when T(x)≠∅\mathcal{T}(x) \neq \varnothingT(x)=∅ and takes the junk value 000 otherwise. Expectations of hitting times are tsums of tail probabilities, with the usual junk value 000 for non-summable families — the statements are arranged (e.g. multiplicatively, π(x)⋅Ex(τx+)=1\pi(x)\cdot\mathbb{E}_x(\tau_x^+) = 1π(x)⋅Ex​(τx+​)=1) so that junk values cannot make them vacuously true. Existence statements carry a Nonempty V hypothesis; irreducibility on the empty space is vacuous, and without nonemptiness the goal would be false, not trivial. The coupon collector and the walk on Z\mathbb{Z}Z are presented directly by their driving randomness (uniform draws Fin t → Fin n, uniform sign strings Fin r → Bool), so those probabilities are elementary counting; in particular the reflection principle is stated as an equality of cardinalities of sets of sign strings — this is equivalent to the probabilistic statement because all 2r2^r2r strings are equally likely.

Contributions welcome beyond the milestone list: simp lemmas for the definition layer, the taboo-matrix representation of avoidance probabilities (useful for Lemma 1.13), and any interface lemmas connecting pathWeight sums to matrix powers — these will be reused by every later mission in the series.

Selected references

  • D. A. Levin, Y. Peres, E. L. Wilmer, Markov Chains and Mixing Times, American Mathematical Society, 2009. https://documents.epfl.ch/groups/i/ip/ipg/www/2013-2014/Random_Walks/markovmixing.pdf
  • J. R. Norris, Markov Chains, Cambridge University Press, 1998. https://doi.org/10.1017/CBO9780511810633
  • D. Aldous, J. A. Fill, Reversible Markov Chains and Random Walks on Graphs, 2002 (unfinished monograph). https://www.stat.berkeley.edu/~aldous/RWG/book.html
20 thms4 active usersReviewed
🏆Completed
Operations ResearchReinforcement Learning·Captain: mikedeng1

Nonstationary Reinforcement Learning: The Blessing of (More) Optimism III: Under Uniform One-Step Reachability ζ, the Un-widened Confidence Region Contains an MDP of Diameter at Most 1/ζResearch Paper

Motivation

Reinforcement learning in a changing environment has a difficulty that is absent from a fixed Markov decision process: transition data gathered earlier may describe a different system from the one the decision maker currently faces. A learning algorithm therefore estimates transitions from a recent window of observations. The estimate comes with a confidence region, a set of transition laws consistent with the data at a chosen statistical radius. In the general nonstationary setting studied by Cheung, Simchi-Levi and Zhu, their algorithm widens this region to ensure that it can contain a model whose states remain readily reachable. Such a model is needed for the paper's dynamic regret analysis. Section 7 isolates a structural condition under which widening is unnecessary: every destination is reachable from every state with a uniformly positive one-step probability under a suitable action. Cheung, Simchi-Levi and Zhu, §7.

This mission formalizes Proposition 4 of that paper, the precise claim that the original, unwidened transition region contains a model with a controlled diameter. It is one of three separate missions for the paper. The result supports the paper's no-widening variant of its learning algorithm; it is not a claim that every model in the confidence region has small diameter. Cheung, Simchi-Levi and Zhu, Proposition 4.

Setting

There are finitely many states S\mathcal SS and, for each state sss, a nonempty finite set As\mathcal A_sAs​ of permitted actions. At each time t∈[T]t\in[T]t∈[T], the system has a reward rt(s,a)∈[0,1]r_t(s,a)\in[0,1]rt​(s,a)∈[0,1] and a probability distribution pt(⋅∣s,a)p_t(\cdot\mid s,a)pt​(⋅∣s,a) for the next state. The distribution may change with ttt. A trajectory records the observed state sqs_qsq​, chosen action aqa_qaq​, and successor state sq+1s_{q+1}sq+1​ at each time qqq. These are the model primitives in §2.2. Cheung, Simchi-Levi and Zhu, pp. 6–7.

An episode begins at τ(m)\tau(m)τ(m) and uses a window of length WWW. At time ttt in that episode, Nt(s,a)N_t(s,a)Nt​(s,a) counts how often the pair (s,a)(s,a)(s,a) appears between (τ(m)−W)∨1(\tau(m)-W)\vee1(τ(m)−W)∨1 and t−1t-1t−1; Nt+(s,a)=max⁡{1,Nt(s,a)}N_t^+(s,a)=\max\{1,N_t(s,a)\}Nt+​(s,a)=max{1,Nt​(s,a)}. The empirical row p^t(⋅∣s,a)\hat p_t(\cdot\mid s,a)p^​t​(⋅∣s,a) counts observed successors and divides by Nt+(s,a)N_t^+(s,a)Nt+​(s,a). The corresponding average true row pˉt\bar p_tpˉ​t​ averages the time-varying transition probabilities over the same visits. Both are zero vectors when there are no visits. Cheung, Simchi-Levi and Zhu, equations (3) and (5).

Write SA=∑s∣As∣SA=\sum_s|\mathcal A_s|SA=∑s​∣As​∣, so this is the number of allowed state-action pairs. At confidence level δ\deltaδ, the transition radius is rad⁡p,t(s,a)=22Slog⁡(SAT/δ)/Nt+(s,a)\operatorname{rad}_{p,t}(s,a)=2\sqrt{2S\log(SAT/\delta)/N_t^+(s,a)}radp,t​(s,a)=22Slog(SAT/δ)/Nt+​(s,a)​. The region Hp,t(s,a;η)H_{p,t}(s,a;\eta)Hp,t​(s,a;η) consists of probability vectors within ℓ1\ell_1ℓ1​ distance rad⁡p,t(s,a)+η\operatorname{rad}_{p,t}(s,a)+\etaradp,t​(s,a)+η of p^t\hat p_tp^​t​. Here η=0\eta=0η=0 means no widening. The estimation event EpE_pEp​ bounds the ℓ1\ell_1ℓ1​ distance between pˉt\bar p_tpˉ​t​ and p^t\hat p_tp^​t​ by that radius for each allowed pair. Cheung, Simchi-Levi and Zhu, pp. 12, 14.

For a stationary transition model and policy π\piπ, the hitting time Λ(s′∣π,s)\Lambda(s'\mid\pi,s)Λ(s′∣π,s) counts transitions until the first arrival at s′s's′ after starting at sss. This includes the first return time when s=s′s=s's=s′. Its diameter is D=max⁡s,s′min⁡πE[Λ(s′∣π,s)]D=\max_{s,s'}\min_\pi\mathbb E[\Lambda(s'\mid\pi,s)]D=maxs,s′​minπ​E[Λ(s′∣π,s)]. Infinite expectations are possible in the definition. Cheung, Simchi-Levi and Zhu, Definition 1.

Formalization targets

Goal: Proposition 4

Assumption 2 supplies ζ>0\zeta>0ζ>0 and an allowed action a(s,s′)a_{(s,s')}a(s,s′)​ for every ordered pair of states, fixed across time, such that pt(s′∣s,a(s,s′))≥ζp_t(s'\mid s,a_{(s,s')})\ge\zetapt​(s′∣s,a(s,s′)​)≥ζ for all t∈[T]t\in[T]t∈[T]. Conditional on EpE_pEp​, Proposition 4 says that for every time in the horizon there exists a transition model ppp whose every allowed row belongs to Hp,t(s,a;0)H_{p,t}(s,a;0)Hp,t​(s,a;0) and whose diameter obeys

D(S,A,p)≤Dˉ:=1ζ.D(\mathcal S,\mathcal A,p)\le\bar D:=\frac1\zeta.D(S,A,p)≤Dˉ:=ζ1​.

The target is existential: the region need only contain one such model at each time. The milestone list follows the two cases in the proof of Lemma 13, the lemma's model existence claim, and the expected hitting-time bound in the proof of Proposition 4. Cheung, Simchi-Levi and Zhu, pp. 21, 49–50.

Significance

Proposition 4 identifies a condition under which the algorithm can use η=0\eta=0η=0 while retaining a uniform diameter guarantee for at least one plausible transition model. The paper uses this to analyze a no-widening version of its dynamic regret bound, and later applies that viewpoint to inventory control. Without a bounded-diameter model in the region, the diameter-dependent regret argument does not apply in the same form. Cheung, Simchi-Levi and Zhu, §7.

The proposition and its appendix proof are known results of the paper. This mission asks for a machine-checked account of the exact confidence region, its pathwise estimation event, Lemma 13, and the diameter claim. A general finite MDP with probability-valued transition rows is already available as the published FiniteMDPLearning definition; the paper-specific window estimators and its return-time diameter still need formal proofs. The paper's headline Theorems 1–4 are not posed here because their displayed bounds hide constants in O~(⋅)\widetilde O(\cdot)O(⋅) notation. Cheung, Simchi-Levi and Zhu, p. 6 and Theorems 1–4.

Difficulty

The obvious idea that the true transition law belongs to the confidence region can fail under drift: the region is centered on recent observations, while the law at the current time may differ from the laws that generated those observations. Even the average true row has a special case. At an unvisited pair, equation (5) sets it to the zero vector, which is not a probability distribution and therefore is not a member of the simplex-valued confidence region. The existence claim must cover visited and unvisited pairs while preserving one-step reachability for all targets under a single transition law. Cheung, Simchi-Levi and Zhu, pp. 12, 49–50.

The diameter also uses the paper's first-arrival-after-start convention. A library travel time that is zero when source equals target misses the return-time cases and would weaken the stated conclusion. Cheung, Simchi-Levi and Zhu, Definition 1.

Formalization scope

States and actions are Fin S and Fin A; permitted actions are state-dependent finite sets. Extra MDP rows for disallowed actions are never consulted. The finite MDP type supplies valid probability rows and bounded rewards. Hitting times and the diameter use extended nonnegative reals, so infinite values are represented without a default real value. The diameter ranges over allowed deterministic stationary policies and over all ordered state pairs, including equal pairs. Time is zero-based in Lean: paper time t∈[T]t\in[T]t∈[T] is index t−1<Tt-1<Tt−1<T, and the paper's window becomes the half-open interval [τm-W,t). The paper's N+N^+N+ is at least one, so its estimators never divide by zero. A result at arbitrary ttt with τm≤t<T\tau_m\le t<Tτm​≤t<T covers every episode time without assuming any additional episode schedule property.

The Lean statement makes two domain conditions explicit: S>1S>1S>1 and 0<δ<10<\delta<10<δ<1. These ensure the paper's claim that the radius at an unvisited pair is at least one; it can fail when S=1S=1S=1 and the confidence level is close to one. Assumption 2 is required for every time in the horizon, with ζ>0\zeta>0ζ>0. The event EpE_pEp​ is the ℓ1\ell_1ℓ1​ estimation inequality at the selected time. The paper writes it as membership of pˉt\bar p_tpˉ​t​ in a simplex-valued region for every pair, but that literal wording is false at an unvisited pair because pˉt=0\bar p_t=0pˉ​t​=0 there. At visited pairs, the inequality and membership agree. This convention is disclosed in the definition item and keeps the theorem meaningful on ordinary early trajectories.

The region is centered at the exact empirical p^t\hat p_tp^​t​, uses η=0\eta=0η=0, and constrains every allowed row of the constructed model. The diameter uses its full extended-real value, and ζ\zetaζ is strictly positive; dropping any of these clauses would change the claim. Reusable contributions include finite-state hitting-time estimates and windowed transition estimation identities. Proofs of the four milestones and the goal, as well as small lemmas connecting the published MDP measure to successive transition rows, are welcome.

Selected references

  • W. C. Cheung, D. Simchi-Levi and R. Zhu, Non-Stationary Reinforcement Learning: The Blessing of (More) Optimism, arXiv:1906.02922v4, 2020; published as Nonstationary Reinforcement Learning: The Blessing of (More) Optimism, Management Science, 2023. arXiv
  • T. Jaksch, R. Ortner and P. Auer, Near-optimal Regret Bounds for Reinforcement Learning, Journal of Machine Learning Research 11, 2010. JMLR
8 thms3 active usersReviewed
Operations ResearchProbability·Captain: mikedeng1

Lightning Network Economics: Channels IV: The Long-Run Number of Channel Transactions per On-Chain Transaction in Closed FormResearch Paper

Payment channels and blockchain congestion

A blockchain such as Bitcoin settles a limited number of transactions per unit of time, and every on-chain transaction pays a fee that rises with congestion. The Lightning Network moves payments off the chain. Two parties lock funds in a payment channel with one on-chain transaction, and they can then pay each other any number of times by updating the channel balance privately. A new on-chain transaction is needed only when one side of the channel runs out of funds and the channel must be reset.

Guasoni, Huberman and Shikhelman (Management Science, 2023) model a channel between two nodes that pay each other at Poisson rates. They compute its cost and its optimal size, and in §3.3 they quantify how much a channel relieves the chain. The relief is the long-run number of channel transactions carried per on-chain transaction (Proposition 2). A related quantity is the probability that the payee side of the channel, not the payer side, is exhausted first (Proposition 1). This mission formalizes both results, which are statements about two finite random walks.

Setting

Node 1 commits l1≥1l_1\ge1l1​≥1 units to the channel and node 2 commits l2≥1l_2\ge1l2​≥1 units. Node 1 pays node 2 one unit at the jumps of a Poisson process with rate λ1\lambda_1λ1​, and node 2 pays node 1 at rate λ2\lambda_2λ2​, independently. Write q=λ2/λ1q=\lambda_2/\lambda_1q=λ2​/λ1​. The balance XXX starts at 000. It moves up by one when node 2 pays and down by one when node 1 pays. Node 2 has exhausted its side when X=l2X=l_2X=l2​, and node 1 when X=−l1X=-l_1X=−l1​.

Only the sequence of payments matters here, not their timing or discounting. Observed at its jumps, the balance is a random walk that steps up with probability p=λ2/(λ1+λ2)p=\lambda_2/(\lambda_1+\lambda_2)p=λ2​/(λ1​+λ2​) and down with probability 1−p=λ1/(λ1+λ2)1-p=\lambda_1/(\lambda_1+\lambda_2)1−p=λ1​/(λ1​+λ2​). Two versions of this walk appear.

  1. The absorbed walk on {−l1,…,l2}\{-l_1,\dots,l_2\}{−l1​,…,l2​} stops at −l1-l_1−l1​ and at l2l_2l2​. Write P0{τl2<τ−l1}\mathbb P_0\{\tau_{l_2}<\tau_{-l_1}\}P0​{τl2​​<τ−l1​​} for the probability that, from the balance 000, it reaches l2l_2l2​ before −l1-l_1−l1​.
  2. The reset walk returns the balance to 000 as soon as it reaches l2l_2l2​ or −l1-l_1−l1​, which models an on-chain reset of the channel. It lives on the interior balances {−l1+1,…,l2−1}\{-l_1+1,\dots,l_2-1\}{−l1​+1,…,l2​−1}. For a stationary distribution mmm of this walk, m(n)m(n)m(n) is the long-run fraction of transactions the balance spends at nnn, with m(l2)=m(−l1)=0m(l_2)=m(-l_1)=0m(l2​)=m(−l1​)=0.

The transactions that trigger an on-chain reset are the up-moves from l2−1l_2-1l2​−1 and the down-moves from −l1+1-l_1+1−l1​+1. Their stationary fraction is

f(m)=m(l2−1) λ2λ1+λ2+m(−l1+1) λ1λ1+λ2,f(m)=m(l_2-1)\,\frac{\lambda_2}{\lambda_1+\lambda_2}+m(-l_1+1)\,\frac{\lambda_1}{\lambda_1+\lambda_2},f(m)=m(l2​−1)λ1​+λ2​λ2​​+m(−l1​+1)λ1​+λ2​λ1​​,

and the long-term ratio of channel to on-chain transactions is 1/f(m)1/f(m)1/f(m).

Formalization targets

Goal: Proposition 2 (Congestion Reduction)

For λ1,λ2>0\lambda_1,\lambda_2>0λ1​,λ2​>0 with λ1≠λ2\lambda_1\neq\lambda_2λ1​=λ2​ and l1,l2≥1l_1,l_2\ge1l1​,l2​≥1, the reset walk has a stationary distribution, and every stationary distribution mmm satisfies

1f(m)=(q+1)((l2(ql1−1)−l1)ql2+l1)(q−1)(ql1+l2−1).\frac1{f(m)}=\frac{(q+1)\Bigl(\bigl(l_2(q^{l_1}-1)-l_1\bigr)q^{l_2}+l_1\Bigr)}{(q-1)(q^{l_1+l_2}-1)}.f(m)1​=(q−1)(ql1​+l2​−1)(q+1)((l2​(ql1​−1)−l1​)ql2​+l1​)​.

Milestones

  • (28) and (29): m(n)=m(0) ql2−qnql2−1m(n)=m(0)\,\dfrac{q^{l_2}-q^n}{q^{l_2}-1}m(n)=m(0)ql2​−1ql2​−qn​ for 0≤n≤l20\le n\le l_20≤n≤l2​, and m(n)=m(0) ql1+n−1ql1−1m(n)=m(0)\,\dfrac{q^{l_1+n}-1}{q^{l_1}-1}m(n)=m(0)ql1​−1ql1​+n−1​ for −l1≤n≤0-l_1\le n\le0−l1​≤n≤0.
  • (30): m(0)=(ql1−1)(ql2−1)(l2(ql1−1)−l1)ql2+l1m(0)=\dfrac{(q^{l_1}-1)(q^{l_2}-1)}{\bigl(l_2(q^{l_1}-1)-l_1\bigr)q^{l_2}+l_1}m(0)=(l2​(ql1​−1)−l1​)ql2​+l1​(ql1​−1)(ql2​−1)​.
  • The on-chain fraction f(m)f(m)f(m) is the reciprocal of the goal's closed form.
  • Proposition 2 (i)–(ii): the closed form tends to l1l_1l1​ as q↓0q\downarrow0q↓0 and to l1l2l_1l_2l1​l2​ as q→1q\to1q→1.
  • Proposition 1 (i)(a),(c): P0{τl2<τ−l1}=1−q−l11−q−l1−l2\mathbb P_0\{\tau_{l_2}<\tau_{-l_1}\}=\dfrac{1-q^{-l_1}}{1-q^{-l_1-l_2}}P0​{τl2​​<τ−l1​​}=1−q−l1​−l2​1−q−l1​​ if λ2>λ1>0\lambda_2>\lambda_1>0λ2​>λ1​>0, and =1=1=1 if λ2>λ1=0\lambda_2>\lambda_1=0λ2​>λ1​=0.
  • Proposition 1 (i)(b), corrected: for λ1=λ2>0\lambda_1=\lambda_2>0λ1​=λ2​>0 the probability is l1/(l1+l2)l_1/(l_1+l_2)l1​/(l1​+l2​), which is the published gambler's ruin theorem.

Significance

Proposition 2 measures how much a channel relieves the chain. A unidirectional channel of size l1l_1l1​ carries l1l_1l1​ payments per on-chain transaction. A symmetric bidirectional channel carries l1l2l_1l_2l1​l2​, which grows with the product of the two sizes rather than their sum. For a fixed total commitment, the relief is therefore largest when the flows are balanced. This is the paper's quantitative case that bidirectional channels reduce congestion far more than one-way ones. The probabilities of Proposition 1 tell each node how likely it is to be the one whose funds run out.

Both results are proved in the paper by elementary difference-equation arguments. Neither has a machine-checked proof. Formalizing them gives a verified closed form for the stationary law of a biased walk with resets at both ends. It also gives a biased gambler's-ruin probability on top of the platform's Markov chain library, which so far has only the fair case. The formalization also corrects case (b) of Proposition 1, which as printed claims 1/21/21/2 for every l1,l2l_1,l_2l1​,l2​; the paper's own proof gives l1/(l1+l2)l_1/(l_1+l_2)l1​/(l1​+l2​).

Difficulty

The reset walk is not a birth–death chain: the balance 000 receives the reset flow from both ends, so the walk is in general not reversible, and the detailed-balance shortcut that gives the stationary law of a reflected walk in one line fails. The balance equation (27) holds only away from 000 and from the two reset points. In Lean, the abstract equation mP=mmP=mmP=m on Fin (l₁ + l₂ - 1) must be related to recurrences indexed by integer balances, and the edge cases l1=1l_1=1l1​=1 and l2=1l_2=1l2​=1, where the bottom or top balance is 000 itself, have to be handled. For Proposition 1, the hitting probability is defined as an infinite series of first-passage probabilities over trajectories, and the closed form is a statement about the value of that series.

Formalization scope

  • The walks are transition matrices in the platform's MarkovMixing vocabulary (mm_basic, mm_path). Stationarity is MarkovMixing.IsStationary (nonnegative, sums to one, mP=mmP=mmP=m), and hitting probabilities are MarkovMixing.hitBeforeProb, a series that sums to 000 when it is not summable. The absorbed walk is absorbed almost surely, so this convention is never triggered.
  • The absorbed walk has states Fin (l₁ + l₂ + 1), with index iii for the balance i−l1i-l_1i−l1​. The reset walk has states Fin (l₁ + l₂ - 1), with index jjj for the balance j+1−l1j+1-l_1j+1−l1​. massAt reads m(n)m(n)m(n) at an integer balance and returns 000 outside the interior, which is the paper's convention m(l2)=m(−l1)=0m(l_2)=m(-l_1)=0m(l2​)=m(−l1​)=0.
  • Rates are real with λ1,λ2>0\lambda_1,\lambda_2>0λ1​,λ2​>0, and sizes are natural numbers l1,l2≥1l_1,l_2\ge1l1​,l2​≥1.
  • The hypothesis λ1≠λ2\lambda_1\neq\lambda_2λ1​=λ2​ (q≠1q\neq1q=1) is added to Proposition 2 and to (28)–(30). The formulas divide by q−1q-1q−1, and the paper treats q=1q=1q=1 only as a limit.
  • The "long-term ratio" is read as 1/f(m)1/f(m)1/f(m) for a stationary mmm, as in the paper's proof. Its identification with a pathwise long-run average is an ergodic theorem that the paper does not state and the mission does not ask for.
  • Proposition 2 (i)–(ii) are limits of the closed form along q↓0q\downarrow0q↓0 and q→1q\to1q→1, q≠1q\neq1q=1.
  • The following would trivialize the problem and are excluded: fixing the sizes or the rates, setting λ1=λ2\lambda_1=\lambda_2λ1​=λ2​, defining the long-term ratio or the stationary distribution by the closed form, or quantifying over stationary distributions without proving that one exists.
  • The platform has the Proved results MarkovMixing.exists_stationary_pos and MarkovMixing.stationary_unique for irreducible chains, and the fair gambler's ruin. Lemmas on stationary laws of chains with resets, and biased gambler's-ruin results on the MarkovMixing chains, would be reusable beyond this mission and are welcome.

Selected references

  • P. Guasoni, G. Huberman, C. Shikhelman, Lightning Network Economics: Channels, Management Science, Articles in Advance, published online November 6, 2023, pp. 1–14. https://doi.org/10.1287/mnsc.2022.01664
  • J. Poon, T. Dryja, The Bitcoin Lightning Network: Scalable Off-Chain Instant Payments, white paper, 2016. https://lightning.network/lightning-network-paper.pdf
  • D. A. Levin, Y. Peres, E. L. Wilmer, Markov Chains and Mixing Times, American Mathematical Society, 2009 (§1.5, §2.1). https://doi.org/10.1090/mbk/058
13 thms3 active usersReviewed
ProbabilityStochastic Systems·Captain: mikedeng1

The Two-Parameter Poisson–Dirichlet Distribution Derived from a Stable Subordinator 5: PD(α, θ) Is a Y_1^θ-Tilt of Independent beta(θ + nα, 1) Ratios, and (Y_n) Is a Markov ChainResearch Paper

Motivation

The two-parameter Poisson–Dirichlet distribution PD(α,θ)\mathrm{PD}(\alpha,\theta)PD(α,θ) is a law on decreasing sequences V1≥V2≥⋯>0V_1 \ge V_2 \ge \cdots > 0V1​≥V2​≥⋯>0 with ∑nVn=1\sum_n V_n = 1∑n​Vn​=1. It describes the ranked frequencies of species in Bayesian nonparametric models (the Pitman–Yor process), the ranked lengths of excursions of Bessel processes and bridges, and the ranked cycle or block sizes in random combinatorial structures. The case α=0\alpha = 0α=0 is Kingman's one-parameter family PD(θ)\mathrm{PD}(\theta)PD(θ), the law of the ranked frequencies in the Ewens sampling formula.

For PD(0,θ)\mathrm{PD}(0,\theta)PD(0,θ), Vershik and Shmidt ([67]) and Ignatov ([34]) found a Markov description: the residual fractions Yn=Vn/(Vn+Vn+1+⋯ )Y_n = V_n/(V_n + V_{n+1} + \cdots)Yn​=Vn​/(Vn​+Vn+1​+⋯) form a homogeneous Markov chain, and the law is the Y1θY_1^\thetaY1θ​-tilt of a stationary chain built from independent beta(θ,1)\mathrm{beta}(\theta,1)beta(θ,1) ratios. For PD(α,0)\mathrm{PD}(\alpha,0)PD(α,0), Proposition 8 of Pitman and Yor shows that the ratios Rn=Vn+1/VnR_n = V_{n+1}/V_nRn​=Vn+1​/Vn​ themselves are independent beta(nα,1)\mathrm{beta}(n\alpha,1)beta(nα,1) variables. Theorem 38 of Pitman and Yor (Ann. Probab. 25 (1997) 855–900) unifies both descriptions for the whole two-parameter family.

Timeline. Vershik and Shmidt (1977, 1978, [66, 67]) and Ignatov (1982, [34]) described the size-ordered PD(0,θ)\mathrm{PD}(0,\theta)PD(0,θ) frequencies through the Markov chain (Yn)(Y_n)(Yn​); Ignatov showed that results of Vervaat and Watterson give the normalizing constant K0,θ=Γ(θ+1)eθγK_{0,\theta} = \Gamma(\theta+1)e^{\theta\gamma}K0,θ​=Γ(θ+1)eθγ (132). Much of this was known earlier for θ=1\theta = 1θ=1, the case arising in combinatorics and number theory. Perman, Pitman and Yor (1992, [51]) proved the absolute continuity of PD(α,θ)\mathrm{PD}(\alpha,\theta)PD(α,θ) with respect to PD(α,0)\mathrm{PD}(\alpha,0)PD(α,0) (Proposition 14 here). Pitman and Yor (1997) announced the two-parameter Markov description as Theorem 15 and proved it as Theorem 38 for 0<α<10<\alpha<10<α<1, quoting the case α=0\alpha = 0α=0 (Remark 40).

Setting

Fix 0<α<10 < \alpha < 10<α<1 and θ>−α\theta > -\alphaθ>−α. The beta distribution beta(a,b)\mathrm{beta}(a,b)beta(a,b) (a,b>0a,b>0a,b>0) has density Γ(a+b)Γ(a)Γ(b)xa−1(1−x)b−1\frac{\Gamma(a+b)}{\Gamma(a)\Gamma(b)}x^{a-1}(1-x)^{b-1}Γ(a)Γ(b)Γ(a+b)​xa−1(1−x)b−1 on (0,1)(0,1)(0,1). Let Y~1,Y~2,…\tilde Y_1, \tilde Y_2, \dotsY~1​,Y~2​,… be independent with Y~n∼beta(1−α,θ+nα)\tilde Y_n \sim \mathrm{beta}(1-\alpha, \theta+n\alpha)Y~n​∼beta(1−α,θ+nα), and put V~1=Y~1\tilde V_1 = \tilde Y_1V~1​=Y~1​, V~n=(1−Y~1)⋯(1−Y~n−1)Y~n\tilde V_n = (1-\tilde Y_1)\cdots(1-\tilde Y_{n-1})\tilde Y_nV~n​=(1−Y~1​)⋯(1−Y~n−1​)Y~n​. The ranked values V1≥V2≥⋯V_1 \ge V_2 \ge \cdotsV1​≥V2​≥⋯ of (V~n)(\tilde V_n)(V~n​) have, by Definition 1, the law PD(α,θ)\mathrm{PD}(\alpha,\theta)PD(α,θ); Pα,θP_{\alpha,\theta}Pα,θ​ denotes a probability under which (Vn)(V_n)(Vn​) has this law, and Eα,θE_{\alpha,\theta}Eα,θ​ its expectation.

From (Vn)(V_n)(Vn​) define the ratios Rn=Vn+1/VnR_n = V_{n+1}/V_nRn​=Vn+1​/Vn​ (21), the residual fractions Yn=Vn/(Vn+Vn+1+⋯ )Y_n = V_n/(V_n+V_{n+1}+\cdots)Yn​=Vn​/(Vn​+Vn+1​+⋯) (45), and Σ1=(1−V1)/V1\Sigma_1 = (1-V_1)/V_1Σ1​=(1−V1​)/V1​. Conversely, from ratios define

Yn=(1+Rn+RnRn+1+⋯ )−1(125).Y_n = (1 + R_n + R_nR_{n+1} + \cdots)^{-1} \qquad (125).Yn​=(1+Rn​+Rn​Rn+1​+⋯)−1(125).

The local time is L=lim⁡n→∞nVnαL = \lim_{n\to\infty} nV_n^\alphaL=limn→∞​nVnα​ (24).

The comparison law Pα,θ∗P^*_{\alpha,\theta}Pα,θ∗​ makes R1,R2,…R_1, R_2, \dotsR1​,R2​,… independent with Rn∼beta(θ+nα,1)R_n \sim \mathrm{beta}(\theta+n\alpha,1)Rn​∼beta(θ+nα,1), and YnY_nYn​ is then defined by (125). Constants and functions:

Kα,θ=Γ(θ+1)Γ(1−α)θ/α,Cα,θ=Kα,θΓ(θ/α+1),ψα(λ)=1+α∫01(1−e−λx)x−α−1dx.K_{\alpha,\theta} = \Gamma(\theta+1)\Gamma(1-\alpha)^{\theta/\alpha}, \qquad C_{\alpha,\theta} = \frac{K_{\alpha,\theta}}{\Gamma(\theta/\alpha+1)}, \qquad \psi_\alpha(\lambda) = 1 + \alpha\int_0^1(1-e^{-\lambda x})x^{-\alpha-1}dx.Kα,θ​=Γ(θ+1)Γ(1−α)θ/α,Cα,θ​=Γ(θ/α+1)Kα,θ​​,ψα​(λ)=1+α∫01​(1−e−λx)x−α−1dx.

Formalization targets

Goal: Theorem 38 for 0<α<10<\alpha<10<α<1

Eα,θ[f(Y1,Y2,… )]=Kα,θ Eα,θ∗[Y1θf(Y1,Y2,… )](137)E_{\alpha,\theta}[f(Y_1,Y_2,\dots)] = K_{\alpha,\theta}\,E^*_{\alpha,\theta}[Y_1^\theta f(Y_1,Y_2,\dots)] \qquad (137)Eα,θ​[f(Y1​,Y2​,…)]=Kα,θ​Eα,θ∗​[Y1θ​f(Y1​,Y2​,…)](137)

for every nonnegative product measurable fff; under both Pα,θP_{\alpha,\theta}Pα,θ​ and Pα,θ∗P^*_{\alpha,\theta}Pα,θ∗​ the sequence (Yn)(Y_n)(Yn​) is a Markov chain with the same forward transition probabilities, with density

P(Yn+1∈dyn+1∣Yn=yn)dyn+1=α yn−α−1(1−yn)nα+θ−1r(α,θ+nα,yn+1)r(α,θ+nα−α,yn)(139)\frac{P(Y_{n+1}\in dy_{n+1}\mid Y_n = y_n)}{dy_{n+1}} = \alpha\,y_n^{-\alpha-1}(1-y_n)^{n\alpha+\theta-1}\frac{r(\alpha,\theta+n\alpha,y_{n+1})}{r(\alpha,\theta+n\alpha-\alpha,y_n)} \qquad (139)dyn+1​P(Yn+1​∈dyn+1​∣Yn​=yn​)​=αyn−α−1​(1−yn​)nα+θ−1r(α,θ+nα−α,yn​)r(α,θ+nα,yn+1​)​(139)

on 0<yn<10<y_n<10<yn​<1, 0<yn+1<yn/(1−yn)0<y_{n+1}<y_n/(1-y_n)0<yn+1​<yn​/(1−yn​), where r(α,θ,y) dy=Γ(θ/α+1)yθPα,θ∗(Y1∈dy)=Cα,θ−1Pα,θ(V1∈dy)r(\alpha,\theta,y)\,dy = \Gamma(\theta/\alpha+1)y^\theta P^*_{\alpha,\theta}(Y_1\in dy) = C^{-1}_{\alpha,\theta}P_{\alpha,\theta}(V_1\in dy)r(α,θ,y)dy=Γ(θ/α+1)yθPα,θ∗​(Y1​∈dy)=Cα,θ−1​Pα,θ​(V1​∈dy) (140); and the Pα,θ∗P^*_{\alpha,\theta}Pα,θ∗​ law of Σ1\Sigma_1Σ1​ is infinitely divisible with

Eα,θ∗[e−λΣ1]=ψα(λ)−(θ/α+1)(141).E^*_{\alpha,\theta}[e^{-\lambda\Sigma_1}] = \psi_\alpha(\lambda)^{-(\theta/\alpha+1)} \qquad (141).Eα,θ∗​[e−λΣ1​]=ψα​(λ)−(θ/α+1)(141).

Milestones

Proposition 8 (Pα,0=Pα,0∗P_{\alpha,0} = P^*_{\alpha,0}Pα,0​=Pα,0∗​ on the ratios), Proposition 14 (the density Cα,θLθ/αC_{\alpha,\theta}L^{\theta/\alpha}Cα,θ​Lθ/α of PD(α,θ)\mathrm{PD}(\alpha,\theta)PD(α,θ) relative to PD(α,0)\mathrm{PD}(\alpha,0)PD(α,0)), the moments (30) of LLL, the representation (143) of LLL through the ratios, the finite-dimensional change of measure (144), its limit (145), Proposition 37 (independent ratios give a Markov chain (Yn)(Y_n)(Yn​), with co-transition density (128)), the parameter shift (146), and the conditional Laplace transform of Σ1\Sigma_1Σ1​ given X1=LV1−αX_1 = LV_1^{-\alpha}X1​=LV1−α​.

Significance

The result. Theorem 38 reduces the size-ordered PD(α,θ)\mathrm{PD}(\alpha,\theta)PD(α,θ) frequencies to a product of independent beta variables, up to a density Kα,θY1θK_{\alpha,\theta}Y_1^\thetaKα,θ​Y1θ​ that depends on Y1Y_1Y1​ alone. Any functional of the ranked frequencies can therefore be computed under a product measure. The Markov property gives the joint density of Y1,…,YnY_1,\dots,Y_nY1​,…,Yn​ (Corollary 41), the laws of individual VnV_nVn​ (148), and the asymptotics of YnY_nYn​ and Σn\Sigma_nΣn​ in §7.3 of the paper. Part (iii) identifies the law of (1−V1)/V1(1-V_1)/V_1(1−V1​)/V1​ under Pα,θ∗P^*_{\alpha,\theta}Pα,θ∗​, which determines the density of the largest frequency V1V_1V1​ under PD(α,θ)\mathrm{PD}(\alpha,\theta)PD(α,θ).

The formalization. The result has been proved since 1997; none of it is machine-checked. The mission formalizes the paper's own route: absolute continuity (Proposition 14), the beta product structure (Proposition 8), and a limit of finite-dimensional density ratios. It produces reusable statements about real-valued Markov chains defined through conditional laws, and about changes of measure between infinite products. Note that the printed (139) omits the factor α\alphaα; the formal statement includes it (see Formalization scope).

Difficulty

The finite-dimensional change of measure (144) is an exact computation, but its density (R1⋯Rn)θ(R_1\cdots R_n)^\theta(R1​⋯Rn​)θ degenerates as n→∞n\to\inftyn→∞. Passing to the limit (145) requires identifying the limit of the rescaled densities nθ/α(R1⋯Rn)θn^{\theta/\alpha}(R_1\cdots R_n)^\thetanθ/α(R1​⋯Rn​)θ with Lθ/αY1−θL^{\theta/\alpha}Y_1^{-\theta}Lθ/αY1−θ​, and an almost sure limit of densities does not by itself give the identity of expectations. A second obstacle is that the Markov property of (Yn)(Y_n)(Yn​) under Pα,θP_{\alpha,\theta}Pα,θ​ does not follow from any independence under Pα,θP_{\alpha,\theta}Pα,θ​ itself; it is transported from Pα,θ∗P^*_{\alpha,\theta}Pα,θ∗​ through a density that is a function of Y1Y_1Y1​ only, and the transported kernels must be shown to be the same. Part (iii) needs the Laplace transform of 1/V11/V_11/V1​ conditioned on X1X_1X1​, which comes from the Poisson structure of PD(α,0)\mathrm{PD}(\alpha,0)PD(α,0).

Formalization scope

Sequences are ℕ → ℝ, 0-based: V ω k is Vk+1V_{k+1}Vk+1​, Yseq v k and YofR r k are Yk+1Y_{k+1}Yk+1​. "(Vn)(V_n)(Vn​) has PD(α,θ)\mathrm{PD}(\alpha,\theta)PD(α,θ) law" (HasPD) means that measures of preimages of measurable sets agree with those of the ranked stick-breaking map under an independent beta product (IsStickLaw); ranking counts exceedances with Set.encard. Pα,θ∗P^*_{\alpha,\theta}Pα,θ∗​ is any probability measure on ℕ → ℝ with independent coordinates of the stated beta laws (IsStarLaw); it is defined directly as a product, never through Pα,θP_{\alpha,\theta}Pα,θ​. The local time LLL is a random variable given with its defining almost sure limit (24). A Markov chain with forward kernels κn\kappa_nκn​ (IsMarkovWith) is stated through the defining identity E[g(Y1..Yn)h(Yn+1)]=E[g(Y1..Yn)∫h dκn(Yn)]E[g(Y_1..Y_n)h(Y_{n+1})] = E[g(Y_1..Y_n)\int h\,d\kappa_n(Y_n)]E[g(Y1​..Yn​)h(Yn+1​)]=E[g(Y1​..Yn​)∫hdκn​(Yn​)]; Theorem 38 (ii) asks for one family of Markov kernels serving both laws. The function rrr of (140) is a hypothesis: any function giving the density of Y1Y_1Y1​ under each Pα,θ+kα∗P^*_{\alpha,\theta+k\alpha}Pα,θ+kα∗​.

Committed deviations: the goal is the case 0<α<10<\alpha<10<α<1, the case the paper proves (the case α=0\alpha=0α=0 is quoted from [67], [34]); (139) carries the factor α\alphaα that Bayes' rule from (128), (146) and the beta densities produces, and that Corollary 41's αn−1\alpha^{n-1}αn−1 confirms; (30) omits its middle expression CpE(Σ−αp)C^pE(\Sigma^{-\alpha p})CpE(Σ−αp). Every expectation of a nonnegative quantity is a lower Lebesgue integral, so no identity can hold through the junk value of a non-integrable Bochner integral; no law is written as Measure.map of a possibly non-measurable function; no limit is taken with limUnder; and the parameter range 0<α<10<\alpha<10<α<1, θ>−α\theta>-\alphaθ>−α is a hypothesis of every statement that uses it.

Contributions welcome: the product-measure and beta-density computations behind (144) and (146), the limit passage (145), the Markov property of functions of independent sequences (Proposition 37), and the transfer of a Markov property through a density depending on the first coordinate.

Selected references

  • J. Pitman and M. Yor, The two-parameter Poisson–Dirichlet distribution derived from a stable subordinator, Ann. Probab. 25(2) (1997), 855–900. https://doi.org/10.1214/aop/1024404422
  • A. M. Vershik and A. A. Shmidt, Limit measures arising in the theory of groups, I, Theory Probab. Appl. 22 (1977), 79–85; II, Theory Probab. Appl. 23 (1978), 36–49 (references [66], [67] of the paper; no link verified).
  • Ts. Ignatov, On a constant arising in the theory of symmetric groups and on Poisson–Dirichlet measures, Theory Probab. Appl. 27 (1982), 136–147 (reference [34] of the paper; no link verified).
  • M. Perman, J. Pitman and M. Yor, Size-biased sampling of Poisson point processes and excursions, Probab. Theory Related Fields 92 (1992), 21–39. https://doi.org/10.1007/BF01205234
15 thms3 active usersReviewed
🏆Completed
Graph TheoryProbability·Captain: mikedeng1

Geometric Bounds for Eigenvalues of Markov Chains 2: Odd Closed Paths Bound the Smallest Eigenvalue, β_min ≥ −1 + 2/ιResearch Paper

Motivation

The speed at which a finite reversible Markov chain approaches its stationary distribution is controlled by its eigenvalues. For a chain with eigenvalues 1=β0>β1≥⋯≥βm−1≥−11=\beta_0>\beta_1\ge\dots\ge\beta_{m-1}\ge-11=β0​>β1​≥⋯≥βm−1​≥−1, the distance to stationarity after nnn steps is governed by β∗ n\beta_*^{\,n}β∗n​, where β∗=max⁡(β1,∣βm−1∣)\beta_*=\max(\beta_1,|\beta_{m-1}|)β∗​=max(β1​,∣βm−1​∣) (Diaconis and Stroock 1991, Proposition 3). Upper bounds on the second eigenvalue β1\beta_1β1​ are the familiar half of this picture, and they are what Cheeger-type and Poincaré inequalities provide. The other half is the smallest eigenvalue βmin⁡=βm−1\beta_{\min}=\beta_{m-1}βmin​=βm−1​: a chain whose smallest eigenvalue is close to −1-1−1 oscillates almost periodically and mixes slowly whatever β1\beta_1β1​ is. A chain is aperiodic exactly when βmin⁡>−1\beta_{\min}>-1βmin​>−1, but that qualitative fact gives no rate.

Diaconis and Stroock's paper gives geometric bounds for both ends of the spectrum, expressed through systems of paths in the graph of the chain. Their bound on βmin⁡\beta_{\min}βmin​ uses closed paths with an odd number of edges, the combinatorial witnesses of aperiodicity. The paper has been a standard reference for path (canonical-path, multicommodity-flow) methods in the analysis of Markov chain Monte Carlo since its publication.

Timeline:

  • 1988–1989, Jerrum and Sinclair: conductance (Cheeger-type) bounds on β1\beta_1β1​ for chains on combinatorial structures.
  • 1991, Diaconis and Stroock: path bounds for β1\beta_1β1​ (Proposition 1, the Poincaré inequality β1≤1−1/κ\beta_1\le1-1/\kappaβ1​≤1−1/κ) and for βmin⁡\beta_{\min}βmin​ (Proposition 2, this mission), with the specializations to random walks on graphs (Corollaries 1 and 2).

Setting

Let XXX be a finite set and P(x,y)P(x,y)P(x,y) the transition matrix of an irreducible Markov chain on XXX, reversible with respect to a probability distribution π\piπ:

Q(x,y)=π(x)P(x,y)=π(y)P(y,x)(x,y∈X).Q(x,y)=\pi(x)P(x,y)=\pi(y)P(y,x)\qquad(x,y\in X).Q(x,y)=π(x)P(x,y)=π(y)P(y,x)(x,y∈X).

The operator (Pφ)(x)=∑yP(x,y)φ(y)(P\varphi)(x)=\sum_yP(x,y)\varphi(y)(Pφ)(x)=∑y​P(x,y)φ(y) is self-adjoint on L2(π)L^2(\pi)L2(π), with inner product ⟨φ,ψ⟩L2(π)=∑xφ(x)ψ(x)π(x)\langle\varphi,\psi\rangle_{L^2(\pi)}=\sum_x\varphi(x)\psi(x)\pi(x)⟨φ,ψ⟩L2(π)​=∑x​φ(x)ψ(x)π(x), so its eigenvalues are real. Write E(φ2)=∑xφ(x)2π(x)E(\varphi^2)=\sum_x\varphi(x)^2\pi(x)E(φ2)=∑x​φ(x)2π(x) and let βmin⁡\beta_{\min}βmin​ be the smallest eigenvalue of PPP.

The graph of the chain has vertex set XXX, an edge from xxx to yyy when Q(x,y)>0Q(x,y)>0Q(x,y)>0, and a self-loop at xxx when Q(x,x)>0Q(x,x)>0Q(x,x)>0. An odd closed path σx\sigma_xσx​ at xxx is a sequence of edges from xxx back to xxx, with an odd number of edges, in which no directed edge is traversed twice. Its length is

∣σx∣Q=∑e∈σxQ(e)−1.|\sigma_x|_Q=\sum_{e\in\sigma_x}Q(e)^{-1}.∣σx​∣Q​=e∈σx​∑​Q(e)−1.

A system of odd paths Σ=(σx)x∈X\Sigma=(\sigma_x)_{x\in X}Σ=(σx​)x∈X​ chooses one such path for every point, and its load is

ι=ι(Σ)=max⁡e∑σx∋e∣σx∣Q π(x),\iota=\iota(\Sigma)=\max_e\sum_{\sigma_x\ni e}|\sigma_x|_Q\,\pi(x),ι=ι(Σ)=emax​σx​∋e∑​∣σx​∣Q​π(x),

the maximum over directed edges eee of the weighted length of the paths through eee (display (1.7) of the paper).

For the random walk on a graph G=(X,E)G=(X,E)G=(X,E), P(x,y)=1/d(x)P(x,y)=1/d(x)P(x,y)=1/d(x) when {x,y}∈E\{x,y\}\in E{x,y}∈E, with d(x)d(x)d(x) the degree, and π(x)=d(x)/2∣E∣\pi(x)=d(x)/2|E|π(x)=d(x)/2∣E∣. There d∗d_*d∗​ is the maximum degree, σ∗\sigma_*σ∗​ the largest number of edges of a path in Σ\SigmaΣ, and b∗=max⁡e♯{σ∈Σ:e∈σ}b_*=\max_e\sharp\{\sigma\in\Sigma:e\in\sigma\}b∗​=maxe​♯{σ∈Σ:e∈σ}.

Formalization targets

Goal: Proposition 2

For an irreducible, aperiodic, reversible chain and every system Σ\SigmaΣ of odd closed paths,

βmin⁡≥−1+2ι(Σ).\beta_{\min}\ge-1+\frac{2}{\iota(\Sigma)}.βmin​≥−1+ι(Σ)2​.

Milestones (the steps of the paper's proof)

  1. The identity (1.8): 12∑x,y(φ(x)+φ(y))2Q(x,y)=E(φ2)+⟨φ,Pφ⟩L2(π)\tfrac12\sum_{x,y}(\varphi(x)+\varphi(y))^2Q(x,y)=E(\varphi^2)+\langle\varphi,P\varphi\rangle_{L^2(\pi)}21​∑x,y​(φ(x)+φ(y))2Q(x,y)=E(φ2)+⟨φ,Pφ⟩L2(π)​.
  2. Along an odd closed path x,y,w,…,z,xx,y,w,\dots,z,xx,y,w,…,z,x: φ(x)=12{(φ(x)+φ(y))−(φ(y)+φ(w))+⋯+(φ(z)+φ(x))}\varphi(x)=\tfrac12\{(\varphi(x)+\varphi(y))-(\varphi(y)+\varphi(w))+\dots+(\varphi(z)+\varphi(x))\}φ(x)=21​{(φ(x)+φ(y))−(φ(y)+φ(w))+⋯+(φ(z)+φ(x))}.
  3. For every φ\varphiφ: E(φ2)≤ι2(E(φ2)+⟨φ,Pφ⟩L2(π))E(\varphi^2)\le\frac{\iota}{2}\big(E(\varphi^2)+\langle\varphi,P\varphi\rangle_{L^2(\pi)}\big)E(φ2)≤2ι​(E(φ2)+⟨φ,Pφ⟩L2(π)​).
  4. Every eigenvalue β\betaβ of PPP satisfies β≥−1+2/ι\beta\ge-1+2/\iotaβ≥−1+2/ι.

Companions

  • Corollary 2. For the random walk on a connected, non-bipartite graph and any system Σ\SigmaΣ of odd paths, βmin⁡≥−1+2d∗σ∗b∗\beta_{\min}\ge-1+\dfrac{2}{d_*\sigma_*b_*}βmin​≥−1+d∗​σ∗​b∗​2​.
  • Remark 1.3. With odd paths σxy\sigma_{xy}σxy​ for every ordered pair and ι~=max⁡e∑σxy∋e∣σxy∣Qπ(x)π(y)\tilde\iota=\max_e\sum_{\sigma_{xy}\ni e}|\sigma_{xy}|_Q\pi(x)\pi(y)ι~=maxe​∑σxy​∋e​∣σxy​∣Q​π(x)π(y): βmin⁡≥−1+1/ι~\beta_{\min}\ge-1+1/\tilde\iotaβmin​≥−1+1/ι~.

Significance

Proposition 2 turns aperiodicity into a number. With Proposition 1, which bounds β1≤1−1/κ\beta_1\le1-1/\kappaβ1​≤1−1/κ through paths between pairs of points, it bounds the absolute spectral gap 1−β∗1-\beta_*1−β∗​ entirely in terms of path geometry, and so bounds the variation distance to stationarity through Proposition 3. Corollary 2 is the form most often applied: for a random walk on a non-bipartite graph, a choice of short odd cycles that do not crowd any single edge certifies that the walk does not oscillate.

Proposition 2 and its corollary are proved in the paper. As far as a search of the platform shows, no machine-checked proof exists. The platform already has the vocabulary (stochastic matrices, stationarity, reversibility, eigenvalues and the L2(π)L^2(\pi)L2(π) inner product, from the published Levin–Peres–Wilmer layer) and the qualitative fact that −1-1−1 is not an eigenvalue of an irreducible aperiodic chain. This mission adds the quantitative bound, the identity (1.8), and the path inequality, all reusable for other path-based eigenvalue estimates.

Difficulty

Each step is elementary, but the bookkeeping is where a proof can go wrong. The Cauchy–Schwarz step is applied along each path separately, and the resulting double sum over points and over the edges of their paths must be exchanged into a sum over edges. That exchange is exact only if each path traverses each directed edge at most once. A path that crosses an edge twice contributes twice, while ι\iotaι counts it once. Self-loops are edges here, and the sum over directed edges in the last step must match the sum over ordered pairs (x,y)(x,y)(x,y), including x=yx=yx=y, in the identity (1.8). The alternating signs work only because the number of edges is odd; an even closed path cancels φ(x)\varphi(x)φ(x) instead of doubling it.

The bound is also only as good as the chosen paths: short odd cycles that spread their load over many edges give a small ι\iotaι, and the choice of Σ\SigmaΣ is part of every application.

Formalization scope

The chain is a real matrix P : Matrix V V ℝ on a Fintype V, with the published predicates IsStochastic, Irreducible, Aperiodic, IsStationary (which includes that π\piπ is a probability vector) and DetailedBalance. QQQ is edgeMeasure, the inner product innerPi, eigenvalues IsEigenvalue (a real eigenvalue with a nonzero real eigenfunction). βmin⁡\beta_{\min}βmin​ is the infimum of the real eigenvalues of PPP, a minimum for a stochastic matrix on a nonempty set.

Paths are vertex lists. A path traverses the directed edges between consecutive vertices, each with Q>0Q>0Q>0. The paper defines ∣σx∣Q|\sigma_x|_Q∣σx​∣Q​ "by analogy with (1.4)", whose paths may not repeat an edge. For the directed edges of §1C this rule is read as "no directed edge twice". Under the unordered reading a vertex of degree one would have no odd closed path, contradicting the page's remark that such paths always exist for irreducible aperiodic chains. ι\iotaι is a real supremum over the finite set of directed edges with Q>0Q>0Q>0, and it is 000 only when there is no edge. A system of odd paths on a nonempty set excludes that case, so the bound is never reduced to βmin⁡≥−1\beta_{\min}\ge-1βmin​≥−1 by 2/0=02/0=02/0=0. The system Σ\SigmaΣ is a universally quantified hypothesis of every statement, never an existential one. No milestone assumes the inequality of milestone 3 or the identity (1.8) as a hypothesis. No assumption ∣X∣≥2|X|\ge2∣X∣≥2 is made.

Milestones 3 and 4 do not assume aperiodicity: the existence of an odd path system implies it. The identity (1.8) assumes only stochasticity and stationarity. Corollary 2 assumes only that the graph is connected and not 2-colorable; the chain properties follow from these. In Corollary 2, b∗b_*b∗​ counts paths through a directed edge, which is at most the count through the unordered edge, so the stated bound implies the one with the unordered count. Only the first half of Remark 1.3 is stated; its second half needs Proposition 1's quantity, which belongs to another mission of the series.

Contributions welcome: proofs of the milestones in order, a general Cauchy–Schwarz-along-paths lemma shared with the Poincaré inequality, and the existence of odd path systems for irreducible aperiodic chains.

Selected references

  • P. Diaconis and D. Stroock, Geometric bounds for eigenvalues of Markov chains, Ann. Appl. Probab. 1(1):36–61, 1991. https://doi.org/10.1214/aoap/1177005980
  • A. Sinclair and M. Jerrum, Approximate counting, uniform generation and rapidly mixing Markov chains, Inform. and Comput. 82(1):93–133, 1989. https://doi.org/10.1016/0890-5401(89)90067-9
  • D. A. Levin, Y. Peres and E. L. Wilmer, Markov Chains and Mixing Times, American Mathematical Society, 2009 (2nd ed. 2017). https://doi.org/10.1090/mbk/107
12 thms3 active usersReviewed
🏆Completed
Functional AnalysisProbability·Captain: mikedeng1

Logarithmic Sobolev Inequalities for Finite Markov Chains 2: Entropy Decay Ent_π(μH_t) ≤ e^{−2αt} Ent_π(μ), Improved to e^{−4αt} for Reversible ChainsResearch Paper

Motivation

How fast a finite Markov chain forgets its starting point is the central quantitative question in the analysis of Monte Carlo algorithms, card shuffling and random walks on groups. The classical tool is the spectral gap λ\lambdaλ, which controls convergence in ℓ2(π)\ell^2(\pi)ℓ2(π) but loses a factor 1/π(x)1/\pi(x)1/π(x) when converted into a bound for a chain started at a point. Diaconis and Saloff-Coste (Ann. Appl. Probab. 6 (1996) 695–750) brought the logarithmic Sobolev constant α\alphaα, introduced by Gross for Gaussian measures (Amer. J. Math. 97 (1975)), into the study of finite chains, and showed that it gives sharper mixing bounds in many examples.

The entropy route to ergodicity is the cleanest consequence of a log-Sobolev inequality: the relative entropy of the chain's law with respect to stationarity decays exponentially at rate 2α2\alpha2α, and at rate 4α4\alpha4α for reversible chains. The paper notes that the reversible case is contained in Bakry's Saint-Flour lectures (Lecture Notes in Math. 1581, 1994) and Stroock's notes on Gibbs states (Lecture Notes in Math. 1563, 1993), and that Miclo (preprint, 1995) treated the nonreversible case.

Setting

Let X\mathcal XX be a finite set and KKK a Markov kernel: K(x,y)≥0K(x,y)\ge0K(x,y)≥0 and ∑yK(x,y)=1\sum_y K(x,y)=1∑y​K(x,y)=1. Let π\piπ be an invariant probability, ∑xπ(x)K(x,y)=π(y)\sum_x\pi(x)K(x,y)=\pi(y)∑x​π(x)K(x,y)=π(y), with π(x)>0\pi(x)>0π(x)>0 for every xxx. Functions act on the right, Kf(x)=∑yK(x,y)f(y)Kf(x)=\sum_yK(x,y)f(y)Kf(x)=∑y​K(x,y)f(y), and ⟨f,g⟩=∑xf(x)g(x)π(x)\langle f,g\rangle=\sum_xf(x)g(x)\pi(x)⟨f,g⟩=∑x​f(x)g(x)π(x) is the inner product of ℓ2(π)\ell^2(\pi)ℓ2(π), with norms ∥f∥p=(∑x∣f(x)∣pπ(x))1/p\|f\|_p=(\sum_x|f(x)|^p\pi(x))^{1/p}∥f∥p​=(∑x​∣f(x)∣pπ(x))1/p. The chain is reversible if π(x)K(x,y)=π(y)K(y,x)\pi(x)K(x,y)=\pi(y)K(y,x)π(x)K(x,y)=π(y)K(y,x) for all x,yx,yx,y.

The continuous-time heat semigroup is

Ht=e−t(I−K)=e−t∑n≥0tnn!Kn,H_t=e^{-t(I-K)}=e^{-t}\sum_{n\ge0}\frac{t^n}{n!}K^n,Ht​=e−t(I−K)=e−tn≥0∑​n!tn​Kn,

acting on functions by Htf(x)=∑yHt(x,y)f(y)H_tf(x)=\sum_yH_t(x,y)f(y)Ht​f(x)=∑y​Ht​(x,y)f(y) and on probability measures by μHt(y)=∑xHt(x,y)μ(x)\mu H_t(y)=\sum_xH_t(x,y)\mu(x)μHt​(y)=∑x​Ht​(x,y)μ(x). The row Htx=Ht(x,⋅)H_t^x=H_t(x,\cdot)Htx​=Ht​(x,⋅) is the law at time ttt of the chain started at xxx.

The Dirichlet form is E(f,g)=⟨(I−K)f,g⟩\mathcal E(f,g)=\langle (I-K)f,g\rangleE(f,g)=⟨(I−K)f,g⟩; it is bilinear but not symmetric unless the chain is reversible. With

L(f)=∑x∣f(x)∣2log⁡∣f(x)∣2∥f∥22 π(x),\mathcal L(f)=\sum_x|f(x)|^2\log\frac{|f(x)|^2}{\|f\|_2^2}\,\pi(x),L(f)=x∑​∣f(x)∣2log∥f∥22​∣f(x)∣2​π(x),

the log-Sobolev constant is

α=inf⁡{E(f,f)L(f):L(f)≠0}.\alpha=\inf\Big\{\frac{\mathcal E(f,f)}{\mathcal L(f)}:\mathcal L(f)\ne0\Big\}.α=inf{L(f)E(f,f)​:L(f)=0}.

The relative entropy of a probability μ\muμ is Entπ(μ)=∑xμ(x)log⁡μ(x)π(x)\mathrm{Ent}_\pi(\mu)=\sum_x\mu(x)\log\frac{\mu(x)}{\pi(x)}Entπ​(μ)=∑x​μ(x)logπ(x)μ(x)​, and the total variation distance is ∥μ−π∥TV=sup⁡A⊂X∣μ(A)−π(A)∣\|\mu-\pi\|_{TV}=\sup_{A\subset\mathcal X}|\mu(A)-\pi(A)|∥μ−π∥TV​=supA⊂X​∣μ(A)−π(A)∣.

Formalization targets

Goal: Theorem 3.6 (p. 722)

For every probability measure μ\muμ on X\mathcal XX,

Entπ(μHt)≤Entπ(μ) e−2αt,t>0,\mathrm{Ent}_\pi(\mu H_t)\le\mathrm{Ent}_\pi(\mu)\,e^{-2\alpha t},\qquad t>0,Entπ​(μHt​)≤Entπ​(μ)e−2αt,t>0,

and, if (K,π)(K,\pi)(K,π) is reversible,

Entπ(μHt)≤Entπ(μ) e−4αt,t>0.\mathrm{Ent}_\pi(\mu H_t)\le\mathrm{Ent}_\pi(\mu)\,e^{-4\alpha t},\qquad t>0.Entπ​(μHt​)≤Entπ​(μ)e−4αt,t>0.

Milestones

  1. §2.1, Remarks (ii), p. 702: if μ=fπ\mu=f\piμ=fπ then μHt\mu H_tμHt​ has density Ht∗fH_t^*fHt∗​f, where Ht∗H_t^*Ht∗​ is the semigroup of the adjoint kernel K∗(x,y)=K(y,x)π(y)/π(x)K^*(x,y)=K(y,x)\pi(y)/\pi(x)K∗(x,y)=K(y,x)π(y)/π(x).
  2. Lemma 2.5, second part, p. 707: ∂t Entπ(Htf)∣t=0=−E(f,log⁡f)\partial_t\,\mathrm{Ent}_\pi(H_tf)|_{t=0}=-\mathcal E(f,\log f)∂t​Entπ​(Ht​f)∣t=0​=−E(f,logf).
  3. Lemma 2.7, p. 708: E(log⁡f,f)≥2 E(f,f)\mathcal E(\log f,f)\ge2\,\mathcal E(\sqrt f,\sqrt f)E(logf,f)≥2E(f​,f​), and ≥4 E(f,f)\ge4\,\mathcal E(\sqrt f,\sqrt f)≥4E(f​,f​) for reversible chains.
  4. §3.3, p. 722: for f≥0f\ge0f≥0 with ∥f∥2=1\|f\|_2=1∥f∥2​=1 and μ=f2π\mu=f^2\piμ=f2π, L(f)=Entπ(μ)\mathcal L(f)=\mathrm{Ent}_\pi(\mu)L(f)=Entπ​(μ).
  5. (2.8), p. 710: 2∥μ−π∥TV2≤Entπ(μ)≤∥μ−π∥TV+12∥μ/π−1∥π,222\|\mu-\pi\|_{TV}^2\le\mathrm{Ent}_\pi(\mu)\le\|\mu-\pi\|_{TV}+\tfrac12\|\mu/\pi-1\|_{\pi,2}^22∥μ−π∥TV2​≤Entπ​(μ)≤∥μ−π∥TV​+21​∥μ/π−1∥π,22​.

Companion: (3.3) (p. 723)

For an irreducible chain, every xxx and t>0t>0t>0,

2∥Htx−π∥TV2≤(log⁡1π(x))e−2αt,2\|H_t^x-\pi\|_{TV}^2\le\Big(\log\frac1{\pi(x)}\Big)e^{-2\alpha t},2∥Htx​−π∥TV2​≤(logπ(x)1​)e−2αt,

with 2α2\alpha2α replaced by 4α4\alpha4α for reversible chains.

Significance

Theorem 3.6 turns a single functional inequality into a convergence statement valid for every initial law, with no spectral assumption and no reversibility in the first half. Through Pinsker's inequality it gives (3.3), whose prefactor log⁡(1/π(x))\log(1/\pi(x))log(1/π(x)) replaces the factor 1/π(x)1/\pi(x)1/π(x) of the spectral bound 4∥Htx−π∥TV2≤π(x)−1e−2λt4\|H_t^x-\pi\|_{TV}^2\le\pi(x)^{-1}e^{-2\lambda t}4∥Htx​−π∥TV2​≤π(x)−1e−2λt. When π(x)\pi(x)π(x) is exponentially small in the size of the problem, as for random walks on large groups or product spaces, log⁡(1/π(x))\log(1/\pi(x))log(1/π(x)) is polynomial where 1/π(x)1/\pi(x)1/π(x) is exponential, and the time needed to make the bound small drops accordingly. This is the mechanism behind the sharp mixing bounds the paper derives from α\alphaα.

The results are proved in the paper and are classical; they are not, to our knowledge, formalized. The platform has measure-theoretic statements of Pinsker's inequality and the published finite Markov chain vocabulary of Levin–Peres–Wilmer (stochastic matrices, stationarity, total variation, the heat kernel), but nothing about log-Sobolev constants of finite chains, the entropy derivative along a Markov semigroup, or entropy decay. A formal development provides the entropy layer of the finite-chain theory: the adjoint semigroup, the dissipation identity, the comparison of E(log⁡f,f)\mathcal E(\log f,f)E(logf,f) with E(f,f)\mathcal E(\sqrt f,\sqrt f)E(f​,f​), and Pinsker's inequality in the encoding used by the mixing-time library.

Difficulty

The statement is about measures, while the natural quantities to differentiate are densities with respect to π\piπ, and for a nonreversible chain the density of μHt\mu H_tμHt​ evolves under the adjoint semigroup, not under HtH_tHt​. The Dirichlet form is not symmetric, so the order of its arguments matters at every step, and the improvement from 2α2\alpha2α to 4α4\alpha4α holds only under reversibility.

The obvious first idea, differentiating Entπ(μHt)\mathrm{Ent}_\pi(\mu H_t)Entπ​(μHt​) term by term, meets log⁡0\log 0log0 wherever the density vanishes. The initial law may be a point mass, and for a reducible chain the density can stay zero at positive times. The argument must therefore handle the boundary t=0t=0t=0 and the degenerate laws separately from the smooth interior. The constant α\alphaα is defined as an infimum over all functions, with no claim that it is attained or positive.

Formalization scope

The state space is a Fintype with decidable equality, KKK is a real matrix with the published predicate MarkovMixing.IsStochastic, π\piπ satisfies MarkovMixing.IsStationary K π and π(x)>0\pi(x)>0π(x)>0 for all xxx, and reversibility is MarkovMixing.DetailedBalance K π. HtH_tHt​ is the published MarkovMixing.heatKernel K t (the Poisson series), the adjoint kernel is MarkovMixing.timeReversal K π, and total variation is MarkovMixing.tvDist. Time is real, and the decay statements are for t>0t>0t>0.

The local definitions are E(f,g)=∑x(f(x)−Kf(x))g(x)π(x)\mathcal E(f,g)=\sum_x(f(x)-Kf(x))g(x)\pi(x)E(f,g)=∑x​(f(x)−Kf(x))g(x)π(x), the norms ∥f∥p\|f\|_p∥f∥p​, L\mathcal LL, α\alphaα as a real infimum over the ratios with L(f)≠0\mathcal L(f)\ne0L(f)=0, Entπ(μ)\mathrm{Ent}_\pi(\mu)Entπ​(μ), and μHt\mu H_tμHt​ as the row vector μ Ht\mu\,H_tμHt​. Lean's Real.log 0 = 0 implements 0log⁡0=00\log0=00log0=0. The goal does not assume irreducibility: it is true for every stochastic KKK with a positive invariant probability, and a reducible chain has α=0\alpha=0α=0. The companion (3.3) keeps irreducibility, the standing assumption of Section 3. In Lemmas 2.5 and 2.7 the paper's f≥0f\ge0f≥0 is strengthened to f>0f>0f>0, because log⁡f\log flogf is −∞-\infty−∞ at a zero of fff on the page and 000 in Lean.

Several encodings would make the goal trivially true and are ruled out. α\alphaα is not assumed positive. μ\muμ is a probability, since for μ=2π\mu=2\piμ=2π the entropy is a positive constant in ttt. π\piπ is invariant and positive, so μ/π\mu/\piμ/π is meaningful. The eigenvalue-based MarkovMixing.spectralGap is not used. Applying HtH_tHt​ to μ\muμ as a function, HtμH_t\muHt​μ, is not the same as μHt\mu H_tμHt​ for a nonreversible chain.

A complete development needs: termwise differentiation of the heat-kernel series and the semigroup property ∂tHt=(K−I)Ht\partial_tH_t=(K-I)H_t∂t​Ht​=(K−I)Ht​; the adjoint identity for HtH_tHt​; elementary convexity inequalities for log⁡\loglog and ⋅\sqrt{\cdot}⋅​; the symmetric form of E\mathcal EE for reversible chains; Pinsker's inequality on a finite set; and a scalar Grönwall lemma. The heat-kernel calculus and Pinsker's inequality in the MarkovMixing.tvDist encoding are reusable by the other missions of this series and by any mixing-time development. Proofs of individual milestones are welcome independently of the goal.

Selected references

  • P. Diaconis and L. Saloff-Coste, Logarithmic Sobolev inequalities for finite Markov chains, Ann. Appl. Probab. 6 (1996), 695–750. https://doi.org/10.1214/aoap/1034968224
  • L. Gross, Logarithmic Sobolev inequalities, Amer. J. Math. 97 (1975), 1061–1083. https://doi.org/10.2307/2373688
  • D. A. Levin, Y. Peres and E. L. Wilmer, Markov Chains and Mixing Times, 2nd ed., American Mathematical Society, 2017. https://doi.org/10.1090/mbk/107
14 thms3 active usersReviewed
Dynamic ProgrammingOperations ResearchStochastic Systems·Captain: mikedeng1

Average Cost Optimal Stationary Policies in Infinite State Markov Decision Processes with Unbounded Costs: A Variable-Rate Queue Has an Average Cost Optimal Stationary Policy Whenever λ < max aβResearch Paper

Motivation

Controlled queues are the standard testing ground for Markov decision processes with infinitely many states: the state is a queue length, which is unbounded, and the holding cost grows with it. The classical theory of the average cost criterion (Ross, Applied Probability Models with Optimization Applications, 1970) produces an optimal stationary policy only when the relative discounted values are uniformly bounded, a condition that fails for almost every queue with unbounded holding costs. Linn I. Sennott's paper Average Cost Optimal Stationary Policies in Infinite State Markov Decision Processes with Unbounded Costs (Operations Research 37(4):626–633, 1989, doi:10.1287/opre.37.4.626) replaced that boundedness by one-sided conditions that are checked in practice by a monotonicity argument and a single test function. Her conditions became the standard tool for queueing control and are the basis of Chapter 7 of her book Stochastic Dynamic Programming and the Control of Queueing Systems (Wiley, 1999).

Timeline:

  • 1962–1970. Derman and Ross obtain average cost optimal stationary policies from the vanishing discount approach when the relative values hαh_\alphahα​ are bounded.
  • 1986. Sennott treats the queue with variable service rates under bounded costs and gives a first discrete-time Tauberian argument (Operations Research 34, 1986a; 1986b).
  • 1989. This paper: Assumptions 1–3, the Theorem, the Markov chain test of Propositions 4–5, and applications to a packet system and to the queue with variable service rates (Proposition 8).

Setting

A Markov decision chain has states i=0,1,2,…i=0,1,2,\dotsi=0,1,2,…; in state iii a finite nonempty set AiA_iAi​ of actions; a cost 0≤C(i,a)<∞0\le C(i,a)<\infty0≤C(i,a)<∞; and transition probabilities Pij(a)P_{ij}(a)Pij​(a). A policy θ\thetaθ may depend on the whole history and may randomize; a stationary policy fff chooses f(i)∈Aif(i)\in A_if(i)∈Ai​ in state iii. For 0<α<10<\alpha<10<α<1, Vθ,α(i)V_{\theta,\alpha}(i)Vθ,α​(i) is the expected total α\alphaα-discounted cost from iii and Vα(i)=inf⁡θVθ,α(i)V_\alpha(i)=\inf_\theta V_{\theta,\alpha}(i)Vα​(i)=infθ​Vθ,α​(i), possibly infinite. The average cost of θ\thetaθ is

gθ(i)=lim sup⁡N→∞1N Eθ[∑t=0N−1C(Xt,at) ∣ X0=i].g_\theta(i)=\limsup_{N\to\infty}\frac1N\,E_\theta\Big[\sum_{t=0}^{N-1}C(X_t,a_t)\,\Big|\,X_0=i\Big].gθ​(i)=N→∞limsup​N1​Eθ​[t=0∑N−1​C(Xt​,at​)​X0​=i].

A stationary policy fff is average cost optimal if there is a finite constant ggg with g=gf(i)≤gθ(i)g=g_f(i)\le g_\theta(i)g=gf​(i)≤gθ​(i) for every policy θ\thetaθ and every state iii.

The queue with variable service rates (Example 2). Time is slotted; pip_ipi​ is the probability of iii arrivals in a slot, independently across slots. The state is the number of customers at the beginning of a slot. When the queue is nonempty the server chooses one of finitely many decision variables aaa and serves at rate aβ∈(0,1)a\beta\in(0,1)aβ∈(0,1), so that the customer in service leaves during the slot with probability aβa\betaaβ; there is no decision in state 000. From state i≥1i\ge1i≥1 the next state is i−1+ki-1+ki−1+k with probability aβpk+(1−aβ)pk−1a\beta p_k+(1-a\beta)p_{k-1}aβpk​+(1−aβ)pk−1​ (p−1=0p_{-1}=0p−1​=0), and from 000 it is jjj with probability pjp_jpj​. The cost structure: B(a)>0B(a)>0B(a)>0; QQQ a polynomial of degree n≥0n\ge0n≥0, nonnegative and increasing on i≥0i\ge0i≥0; C(0)=Q(0)C(0)=Q(0)C(0)=Q(0) and C(i,a)=Q(i)+B(a)C(i,a)=Q(i)+B(a)C(i,a)=Q(i)+B(a) for i≥1i\ge1i≥1. The arrival moments are λ(k)=∑iikpi\lambda^{(k)}=\sum_i i^kp_iλ(k)=∑i​ikpi​ and λ=λ(1)\lambda=\lambda^{(1)}λ=λ(1).

Formalization targets

Goal: Proposition 8

If λ(n+1)<∞\lambda^{(n+1)}<\inftyλ(n+1)<∞, then

λ<max⁡a(aβ) ⟹ there is an average cost optimal stationary policy,\lambda<\max_a(a\beta)\ \Longrightarrow\ \text{there is an average cost optimal stationary policy},λ<amax​(aβ) ⟹ there is an average cost optimal stationary policy,

and

λ<min⁡a(aβ) ⟹ g+h(i)=min⁡a{C(i,a)+∑jPij(a)h(j)},i≥0,\lambda<\min_a(a\beta)\ \Longrightarrow\ g+h(i)=\min_a\Big\{C(i,a)+\sum_jP_{ij}(a)h(j)\Big\},\quad i\ge0,λ<amin​(aβ) ⟹ g+h(i)=amin​{C(i,a)+j∑​Pij​(a)h(j)},i≥0,

with ggg the optimal average cost, g=lim⁡α↑1(1−α)Vα(i)g=\lim_{\alpha\uparrow1}(1-\alpha)V_\alpha(i)g=limα↑1​(1−α)Vα​(i), and hhh bounded below.

Milestones

  1. Propositions 1–3 (p. 627): VαV_\alphaVα​ solves the discount optimality equation, is its minimal nonnegative solution, and is the limit of value iteration (already proved on the platform, referenced).
  2. The Lemma (p. 628): discount optimal stationary policies along αn→1\alpha_n\to1αn​→1 have a stationary limit point.
  3. Lemmas A1 and A2 (p. 632): the comparison between solutions of the optimality inequality and average costs, and lim sup⁡α↑1(1−α)Vα(i)≤gθ(i)\limsup_{\alpha\uparrow1}(1-\alpha)V_\alpha(i)\le g_\theta(i)limsupα↑1​(1−α)Vα​(i)≤gθ​(i).
  4. The Theorem (p. 628): under Assumptions 1–3, any limit point fff from the Lemma is average cost optimal, with the optimality inequalities (5); under Assumption 3*, the optimality equation (6).
  5. Propositions 4, 5 and the Corollary (pp. 629–630): the Markov chain criteria that yield Assumptions 1, 3 and 3* from one well-behaved stationary policy.
  6. Two steps of the proof of Proposition 8 (p. 631): Vα(i)V_\alpha(i)Vα​(i) is increasing in iii (hence Assumption 2), and the drift of r(i)=Ain+1r(i)=Ai^{n+1}r(i)=Ain+1 is a polynomial of degree at most nnn with leading coefficient A(n+1)(λ−aβ)A(n+1)(\lambda-a\beta)A(n+1)(λ−aβ), display (14).

Significance

Proposition 8 states that a queue in which at least one service rate exceeds the mean arrival rate has an average cost optimal stationary policy for holding costs of any polynomial growth, as long as the matching moment of the arrival distribution is finite. Bounded-cost results do not cover this case, which is the one used in practice. The general Theorem behind it is the standard vanishing discount theorem for countable-state models with unbounded costs; the Markov chain test of Propositions 4–5 and the Corollary reduces its hypotheses to a drift inequality for one policy.

All results of the paper are proved on paper. None is formalized: the platform has Sennott's discounted theory (Propositions 1–3, proved) and, as open statements, the book version of the Theorem (SennottDP.SEN.thm_7_2_3_sen_acoi), its existence part in a compact-action model (ArapostathisAC.SennottACOI.theorem_5_9), and the first half of Lemma A1 (SennottDP.SEN.lemma_7_2_1_acoi_bound). This mission states the paper's own version, with all conclusions of the Theorem, and its application to a concrete queue, which no platform item states.

Difficulty

The obvious route takes a limit of hα=Vα−Vα(0)h_\alpha=V_\alpha-V_\alpha(0)hα​=Vα​−Vα​(0) along a sequence αn→1\alpha_n\to1αn​→1 and passes to the limit in the discount optimality equation. With unbounded costs and unbounded hαh_\alphahα​ the sum ∑jPij(a)hα(j)\sum_jP_{ij}(a)h_\alpha(j)∑j​Pij​(a)hα​(j) is an infinite series of terms that need not converge uniformly, so the limit of the sums is not the sum of the limits. Only an inequality survives (Fatou's lemma, which needs the lower bound of Assumption 2), and the equation needs the integrable upper bound of Assumption 3*. For the queue, the hypotheses are not visible from the model: they come from a monotonicity property of VαV_\alphaVα​ and a Lyapunov drift computation whose leading term, A(n+1)(λ−aβ)inA(n+1)(\lambda-a\beta)i^nA(n+1)(λ−aβ)in, has to dominate a cost polynomial of the same degree.

Formalization scope

The model is the published Markov decision chain of Sennott (1999), SennottDP.Discounted.MDC ℕ Act, with its policies, discounted costs and value functions, and the published average cost SennottDP.SEN.avgCost; Markov chains, steady state probabilities and first passage costs are the published SennottDP.MarkovCost objects. Conventions:

  • costs, discounted values and average costs lie in [0,∞][0,\infty][0,∞]; VαV_\alphaVα​ may be infinite unless Assumption 1 is assumed;
  • hαh_\alphahα​ is a real number, used only together with Assumption 1;
  • the constants NNN and MiM_iMi​ of Assumptions 2–3 are explicit and chosen before iii and α\alphaα; Assumption 3* uses the same MMM;
  • "average cost optimal" always carries a finite constant g≥0g\ge0g≥0 and compares with all policies, not only stationary ones;
  • sums ∑jPij(a)h(j)\sum_jP_{ij}(a)h(j)∑j​Pij​(a)h(j) against a real function are extended reals (positive part minus negative part);
  • "ergodic" means positive recurrent (no aperiodicity);
  • in the queue, every decision is formally available in state 000 with identical cost Q(0)Q(0)Q(0) and identical transitions, which represents "no decision in state 0"; λ<max⁡a(aβ)\lambda<\max_a(a\beta)λ<maxa​(aβ) is "for some aaa" and λ<min⁡a(aβ)\lambda<\min_a(a\beta)λ<mina​(aβ) "for every aaa".

The second half of the goal is not "there exist ggg and hhh satisfying (6)": a pair solving (6) alone carries no optimality content, so the goal ties ggg to the optimal average cost and lim⁡α↑1(1−α)Vα\lim_{\alpha\uparrow1}(1-\alpha)V_\alphalimα↑1​(1−α)Vα​ and requires hhh bounded below. The Theorem's milestones are stated for every limit point given by the Lemma, not for some stationary policy. The hypotheses of the goal are satisfiable (two-point arrivals p0=3/4p_0=3/4p0​=3/4, p1=1/4p_1=1/4p1​=1/4, one rate aβ=1/2a\beta=1/2aβ=1/2, Q(i)=i+1Q(i)=i+1Q(i)=i+1, B=1B=1B=1), so the goal is not vacuous.

A complete development needs a discrete Tauberian inequality (already proved on the platform), Fatou's lemma for series, a compactness argument on ∏iAi\prod_iA_i∏i​Ai​, first passage identities and a Foster–Lyapunov criterion for positive recurrence. The Markov chain criteria (Proposition 4, the Corollary) and the Theorem are reusable for every countable-state queueing control model. Proofs of any milestone, and alternative arguments, are welcome.

Selected references

  • L. I. Sennott, Average Cost Optimal Stationary Policies in Infinite State Markov Decision Processes with Unbounded Costs, Operations Research 37(4):626–633, 1989. https://doi.org/10.1287/opre.37.4.626
  • L. I. Sennott, Stochastic Dynamic Programming and the Control of Queueing Systems, Wiley, 1999. https://doi.org/10.1002/9780470317037
  • S. M. Ross, Applied Probability Models with Optimization Applications, Holden-Day, 1970.
  • A. G. Pakes, Some Conditions for Ergodicity and Recurrence of Markov Chains, Operations Research 17(6):1058–1061, 1969. https://doi.org/10.1287/opre.17.6.1058
  • A. Arapostathis, V. S. Borkar, E. Fernández-Gaucherand, M. K. Ghosh, S. I. Marcus, Discrete-Time Controlled Markov Processes with Average Cost Criterion: A Survey, SIAM J. Control Optim. 31(2):282–344, 1993. https://doi.org/10.1137/0331018
22 thms3 active usersReviewed
🏆Completed
Dynamic ProgrammingOperations ResearchStochastic Systems·Captain: mikedeng1

Quality Control under Markovian Deterioration 3: Sufficient Conditions for a Three-Region Optimal Policy and for an Optimal Policy That Never InspectsResearch Paper

Motivation

Inspection and revision cost money, but continued production can allow a deteriorating process to remain in a costly state. A controller therefore needs a rule that converts incomplete information about the process into an action. Ross's two-state model makes that decision precise: the process can be good or bad, the bad state persists until revision, and inspection reveals the current state. The observable state for decision making is a probability rather than the underlying process state. This setup is useful when quality is inferred from occasional inspection and actions must be chosen before the state is known. Ross proved structural results for discounted control in this model, including sufficient conditions for a policy with one inspection interval and for a policy with no inspection at all. Ross (1971)

The conditions in Theorem 3.7 use the model's optimal value itself. They are therefore structural tests for the shape of an optimal rule, rather than parameter-only design formulas. The preceding concavity, monotonicity and Lipschitz estimates explain which features of that value function support the tests. The mission records those estimates alongside the main result, so the target is a coherent part of the paper rather than an isolated inequality. Ross (1971), pp. 589–593

Setting

The belief P∈[0,1]P\in[0,1]P∈[0,1] is the probability that the production process is in the bad state at the beginning of a period. A good process becomes bad during a period with probability π∈[0,1]\pi\in[0,1]π∈[0,1] if it is not revised. A bad process remains bad. Thus producing without inspection changes the next belief to T(P)=P+π−πPT(P)=P+\pi-\pi PT(P)=P+π−πP. The discount factor is β∈(0,1)\beta\in(0,1)β∈(0,1). Producing without inspection has cost 000 in the good state and cost CCC in the bad state, so its expected current cost is CPCPCP. Inspection costs III in either state, and revision costs RRR in either state. The standing order is 0<C<I<R0<C<I<R0<C<I<R. The explicit C>0C>0C>0 records that CCC is a cost and makes the quotient in Theorem 3.7 meaningful.

Write Vβ(P)V_\beta(P)Vβ​(P) for the discounted value starting from belief PPP. Inspection reveals the current state: the next belief is π\piπ after observing a good process and 111 after observing a bad one. Revision resets the next belief to π\piπ. The three current-plus-continuation costs are

qP(P)=CP+βVβ(T(P)),qI(P)=I+βPVβ(1)+β(1−P)Vβ(π),qR(P)=R+βVβ(π).\begin{aligned} q_{\mathrm P}(P)&=CP+\beta V_\beta(T(P)),\\ q_{\mathrm I}(P)&=I+\beta P V_\beta(1)+\beta(1-P)V_\beta(\pi),\\ q_{\mathrm R}(P)&=R+\beta V_\beta(\pi). \end{aligned}qP​(P)qI​(P)qR​(P)​=CP+βVβ​(T(P)),=I+βPVβ​(1)+β(1−P)Vβ​(π),=R+βVβ​(π).​

The Bellman equation is Vβ(P)=min⁡{qP(P),qI(P),qR(P)}V_\beta(P)=\min\{q_{\mathrm P}(P),q_{\mathrm I}(P),q_{\mathrm R}(P)\}Vβ​(P)=min{qP​(P),qI​(P),qR​(P)}. A stationary rule is β\betaβ-optimal here when it chooses an action attaining this minimum at every admissible belief. This is the paper's decision rule criterion associated with equation (3). Ross (1971), p. 590, equation (3)

Formalization targets

The first target is the sufficient condition for an optimal three-region rule. Set Δ=Vβ(1)−Vβ(π)\Delta=V_\beta(1)-V_\beta(\pi)Δ=Vβ​(1)−Vβ​(π). If

(1−β)(R+βVβ(π))C≤R−IβΔ,\frac{(1-\beta)(R+\beta V_\beta(\pi))}{C}\le\frac{R-I}{\beta\Delta},C(1−β)(R+βVβ​(π))​≤βΔR−I​,

there are thresholds π≤P1≤P2\pi\le P_1\le P_2π≤P1​≤P2​ such that an optimal rule produces for P<P1P<P_1P<P1​, inspects for P1≤P<P2P_1\le P<P_2P1​≤P<P2​, and revises for P≥P2P\ge P_2P≥P2​. The revise interval may be empty: if no admissible belief has revision as an optimal action, P2P_2P2​ may exceed 111. If revision is optimal somewhere, the conclusion includes P2≤1P_2\le1P2​≤1. This is a repair to the printed bound in Theorem 3.7(a); the proof on p. 593 explicitly lets a missing threshold be infinite. Ross (1971), pp. 592–593, Theorem 3.7(a)

The second target gives an optimal no-inspection rule. If

I+βΔ≥C1−β(1−π)orR−IβΔ≤RC(1−β(1−π)),I+\beta\Delta\ge\frac{C}{1-\beta(1-\pi)} \quad\text{or}\quad \frac{R-I}{\beta\Delta}\le\frac{R}{C}\bigl(1-\beta(1-\pi)\bigr),I+βΔ≥1−β(1−π)C​orβΔR−I​≤CR​(1−β(1−π)),

then some P1≥πP_1\ge\piP1​≥π gives an optimal rule that produces below P1P_1P1​ and revises from P1P_1P1​ onward. A threshold above 111 is allowed and means that the rule produces throughout the admissible belief interval. Both alternatives in the source's condition are retained. Ross (1971), p. 592, Theorem 3.7(b)

Significance

The theorem identifies two kinds of simple stationary rule that can be optimal despite the value function depending on an unobserved process state. It says more than the existence of an optimal action at each belief: the selected actions can be arranged in belief intervals, and in the second regime inspection can be omitted entirely. These statements provide a compact description of decisions over the full continuum P∈[0,1]P\in[0,1]P∈[0,1]. Ross (1971), Theorem 3.7

The result was proved in the 1971 paper. This mission asks for machine-checked Lean proofs of its two repaired clauses, the value equation, and the stated shape estimates. The definitions and finite-horizon bound can also support later formalizations of related belief-state control models. No proof of this mission's draft theorem is claimed merely by compiling its statement.

Difficulty

The action costs have different shapes as functions of belief: inspection and revision give affine and constant expressions, while the production alternative includes the value at an updated belief. The apparent order of their pairwise crossings does not by itself establish that one selected rule attains the minimum at every belief. Equalities at a threshold also matter, since the rule must be optimal at the boundary points. The printed upper bound on the last threshold fails when revision never minimizes the Bellman equation; imposing it without qualification would make the formal target false.

Formalization scope

Lean represents a belief as a real number and restricts all claims to [0,1][0,1][0,1]. It defines V0=0V^0=0V0=0 and obtains Vn+1V^{n+1}Vn+1 by taking the minimum of the three action costs with continuation VnV^nVn, exactly as in equation (4). The value VβV_\betaVβ​ is the limit of these iterates; convergence and boundedness are part of the equation (3) milestone. This prevents an arbitrary function satisfying a convenient fixed-point hypothesis from replacing the value the paper studies. The rule types are total real-to-action functions, while optimality is checked for every admissible belief, including P=1P=1P=1 and both thresholds.

The paper's general Lemma 2.1 is represented by its scalar two-state instance. The finite-horizon Lipschitz bound and its limiting corollary use P1,P2∈[0,1]P_1,P_2\in[0,1]P1​,P2​∈[0,1]. The last quotient in Corollary 3.6 divides by π\piπ, so that second inequality is stated under π>0\pi>0π>0; the first inequality, and the main theorem, cover π=0\pi=0π=0. If π=1\pi=1π=1, then Δ=0\Delta=0Δ=0. Lean's real division gives a zero quotient in that case; the two implications in Theorem 3.7 remain valid under this convention. The development needs reusable results about convergence of discounted value iteration, concavity and monotonicity on an interval, and elementary estimates for affine belief updates. Contributions establishing those results or proving either sufficient-condition clause are within scope.

Selected references

  • Sheldon M. Ross, Quality Control under Markovian Deterioration, Management Science 17(9), Theory Series, 587–596, 1971. DOI: 10.1287/mnsc.17.9.587
8 thms3 active usersReviewed
🏆Completed
Dynamic ProgrammingOperations ResearchStochastic Systems·Captain: mikedeng1

Quality Control under Markovian Deterioration 2: Never Inspecting or Revising Is Optimal Exactly When R ≥ C/(1 − β(1 − π))Research Paper

Motivation

A production process can deteriorate without an operator seeing its current condition. Producing a unit, inspecting the process, and revising the process have different immediate costs and different effects on what can be known or controlled next period. The operator therefore needs a rule based on a belief about deterioration, rather than on the hidden physical state. Ross's two-state model asks when the simplest rule, producing every period without inspection, is actually optimal over an unlimited discounted horizon Ross 1971.

The question matters whenever an action has a cost now but may reduce future losses. Paying for inspection only supplies information; paying for revision restores a deteriorated process. The answer depends on the bad-state production cost, the deterioration probability, the revision charge, and the weight assigned to future periods. A comparison of immediate costs alone cannot settle whether revision is worthwhile. Ross's Theorem 3.4 gives an exact boundary between a regime where producing forever is optimal from every initial belief and a regime where revision is forced when deterioration is nearly certain Ross 1971, Theorem 3.4.

Setting

There are two underlying states: good and bad. The current state is hidden, and P∈[0,1]P\in[0,1]P∈[0,1] is the probability that it is bad at the beginning of a period. Producing without inspection costs zero in the good state and CCC in the bad state, so its expected immediate cost is CPCPCP. A good process becomes bad with probability π\piπ in one period; a bad process remains bad until revision. Thus a period of production without inspection changes the belief to T(P)=P+π−πPT(P)=P+\pi-\pi PT(P)=P+π−πP. These are the conventions of the paper's Section 3 Ross 1971, p. 590.

The other actions are inspection, at cost III, and revision, at cost RRR. Inspection reveals the current state: the next belief is 111 when the state was bad and π\piπ when it was good. Revision returns the process to the good state before its next transition, so the next belief is π\piπ. The standing parameter conditions are 0<β<10<\beta<10<β<1, 0≤π≤10\le\pi\le10≤π≤1, and 0<C<I<R0<C<I<R0<C<I<R; β\betaβ is the discount factor. The paper explicitly assumes C<I<RC<I<RC<I<R and a discount factor in (0,1)(0,1)(0,1). Positive CCC states the intended positive bad-state cost and makes the threshold comparison meaningful Ross 1971, pp. 588, 590.

For a future-cost function WWW, the three Bellman alternatives at belief PPP are CP+βW(TP)CP+\beta W(TP)CP+βW(TP), I+βPW(1)+β(1−P)W(π)I+\beta P W(1)+\beta(1-P)W(\pi)I+βPW(1)+β(1−P)W(π), and R+βW(π)R+\beta W(\pi)R+βW(π). Their minimum defines one step of finite-horizon value iteration, beginning with V0=0V^0=0V0=0. The limit Vβ(P)V_\beta(P)Vβ​(P) is the optimal discounted cost. Write R0R^0R0 for the rule that always produces without inspection, and define its cost from the actual discounted series ψ(P)=∑n=0∞βnCTnP\psi(P)=\sum_{n=0}^{\infty}\beta^n C T^nPψ(P)=∑n=0∞​βnCTnP Ross 1971, equations (3)–(5).

Formalization targets

The first target establishes that value iteration converges on [0,1][0,1][0,1], gives a bounded solution to the two-state Bellman equation, and identifies that solution uniquely among bounded functions. The iterated update and Ross's equation (5) then evaluate the cost of R0R^0R0:

TnP=1−(1−P)(1−π)n,ψ(P)=C1−β−C(1−P)1−β(1−π).T^nP=1-(1-P)(1-\pi)^n,\qquad \psi(P)=\frac{C}{1-\beta}-\frac{C(1-P)}{1-\beta(1-\pi)}.TnP=1−(1−P)(1−π)n,ψ(P)=1−βC​−1−β(1−π)C(1−P)​.

The sensitivity milestones retain the exact finite-horizon factor in Lemma 3.5 and the infinite-horizon bound in Corollary 3.6. In particular, for P1,P2∈[0,1]P_1,P_2\in[0,1]P1​,P2​∈[0,1],

∣Vβ(P1)−Vβ(P2)∣≤C∣P1−P2∣1−β(1−π).|V_\beta(P_1)-V_\beta(P_2)|\le \frac{C|P_1-P_2|}{1-\beta(1-\pi)}.∣Vβ​(P1​)−Vβ​(P2​)∣≤1−β(1−π)C∣P1​−P2​∣​.

The mission goal is both clauses of Theorem 3.4. The always-produce rule is optimal from every initial belief exactly at and above the threshold

R≥C1−β(1−π).R\ge\frac{C}{1-\beta(1-\pi)}.R≥1−β(1−π)C​.

Below that threshold, revision is the unique minimizing action for beliefs sufficiently near 111 from the left Ross 1971, pp. 591–592.

Significance

The theorem gives a parameter test for omitting both inspection and revision from an optimal policy in this model. Its second clause adds a local statement when that test fails: near certain deterioration, merely allowing revision as one optimal choice is insufficient; any optimal choice must revise. The sensitivity bounds quantify the effect of imperfect knowledge of the state and supply continuity of the value function used in the paper's treatment of that neighborhood Ross 1971, Theorem 3.4 and Corollary 3.6.

Ross proved these results in 1971. This mission asks for machine-checked proofs of the paper's exact statements in a concrete two-state discounted model. The reusable formal objects are the belief update, the three-action Bellman operator, finite-horizon values, and the always-produce cost series. The goal and milestones here are open formalization targets; their mathematical status as published theorems is distinct from their proof status in Lean.

Difficulty

The cost of always producing can be computed explicitly, but equality with the optimal value is a global assertion about all beliefs and all three available actions. A comparison at one belief does not certify optimality everywhere. The reverse implication also has to recover a parameter inequality from optimality of a policy, rather than from its immediate cost alone. The strict conclusion near P=1P=1P=1 requires control of the value as the belief varies; pointwise action comparison at P=1P=1P=1 does not itself establish an interval Ross 1971, pp. 591–592.

Formalization scope

The Lean model uses real parameters and a real belief restricted to [0,1][0,1][0,1]. It has three explicit actions and the exact right-hand sides of equation (3). Its value is the limit of iteration from V0=0V^0=0V0=0, so V1=min⁡{CP,I,R}V^1=\min\{CP,I,R\}V1=min{CP,I,R} matches the paper. Convergence, boundedness, and Bellman uniqueness are stated as a milestone. The always-produce cost is the infinite series of actual stage costs, with its closed form reserved for a separate milestone. Consequently, defining the cost by equation (5) cannot make that milestone true by definition.

The discounted-optimality claim for R0R^0R0 means ψ(P)=Vβ(P)\psi(P)=V_\beta(P)ψ(P)=Vβ​(P) for every P∈[0,1]P\in[0,1]P∈[0,1]. The phrase “every optimal policy revises” is represented by revision being strictly cheaper in the Bellman equation than both other actions; this expresses a unique minimizing action for a stationary decision at that belief. “Near 111” means a one-sided neighborhood within [0,1][0,1][0,1]. The second inequality in Corollary 3.6 is stated only when π>0\pi>0π>0, because division by π=0\pi=0π=0 has a default value in Lean. The first inequality and Theorem 3.4 retain the π=0\pi=0π=0 case.

The development needs real series, limits, finite-horizon recursion, elementary inequalities, and bounded fixed-point reasoning. Proofs of the model-specific Bellman equation, cost identity, exact sensitivity bounds, and Theorem 3.4 are welcome. General tools for discounted Bellman operators or real-series identities would also be useful beyond this mission. No policy class is smuggled in as an arbitrary hypothesis: the value and the cost of R0R^0R0 are computed from the model data.

Selected references

  • Sheldon M. Ross, Quality Control under Markovian Deterioration, Management Science 17(9), Theory Series, 587–596, 1971. DOI: 10.1287/mnsc.17.9.587.
8 thms3 active usersReviewed
Convex OptimizationOperations ResearchStochastic Systems·Captain: mikedeng1

An Adaptive Algorithm for Finding the Optimal Base-Stock Policy in Lost Sales Inventory Systems with Censored Demand: Adaptive(α, β) Has Per-Period Regret O(N(L)^(−1/3)) at α = β = 1/2Research Paper

Motivation

Periodic-review inventory systems with lost sales and a positive replenishment lead time are a basic model of retail and spare-parts operations: demand that cannot be met from stock is lost, and an order placed today arrives τ\tauτ periods later. Even with a known demand distribution the optimal policy depends on the whole vector of outstanding orders and is intractable for long lead times, so practice and theory fall back on base-stock (order-up-to) policies, which are asymptotically optimal as the lost-sales penalty grows relative to the holding cost (Huh, Janakiraman, Muckstadt and Rusmevichientong, Management Science 2009).

Computing the best base-stock level still requires the demand distribution. In many settings the distribution is unknown and, worse, demand is censored: the manager records sales, min⁡{Dt,It}\min\{D_t, I_t\}min{Dt​,It​}, and never sees the demand lost to a stockout. The paper behind this mission, Huh, Janakiraman, Muckstadt and Rusmevichientong, An Adaptive Algorithm for Finding the Optimal Base-Stock Policy in Lost Sales Inventory Systems with Censored Demand (working paper of February 8, 2007; published in Mathematics of Operations Research 2009, DOI 10.1287/moor.1080.0367), gives an algorithm that learns the optimal base-stock level from sales data alone and bounds its regret against the best base-stock policy. It extended the zero-lead-time adaptive newsvendor analyses (e.g. Huh and Rusmevichientong, Math. Oper. Res. 2009) to positive lead times, where the inventory process is a Markov chain on Rτ\mathbb R^\tauRτ.

Setting

Demands D1,D2,…D_1, D_2, \dotsD1​,D2​,… are i.i.d. copies of a nonnegative, continuous random variable DDD with E[D]>0E[D] > 0E[D]>0 and distribution function FFF. The inventory vector in period ttt is

Xt=(Qt−1,…,Qt−τ+1,It)∈R+τ,X_t = (Q_{t-1}, \dots, Q_{t-\tau+1}, I_t) \in \mathbb R^\tau_+,Xt​=(Qt−1​,…,Qt−τ+1​,It​)∈R+τ​,

the τ−1\tau - 1τ−1 outstanding orders and the on-hand inventory ItI_tIt​; its inventory position is Xt⋅1τX_t \cdot \mathbf 1^\tauXt​⋅1τ. Under the order-up-to-SSS policy the manager orders Qt=[S−Xt⋅1τ]+Q_t = [S - X_t\cdot\mathbf 1^\tau]^+Qt​=[S−Xt​⋅1τ]+, demand DtD_tDt​ is realized, and

It+1=[It−Dt]++Qt−τ+1.I_{t+1} = [I_t - D_t]^+ + Q_{t-\tau+1}.It+1​=[It​−Dt​]++Qt−τ+1​.

A period with on-hand inventory yyy costs, in expectation, C(y)=h E[y−D]++b E[D−y]+C(y) = h\,E[y - D]^+ + b\,E[D - y]^+C(y)=hE[y−D]++bE[D−y]+, with holding cost hhh and lost-sales penalty bbb. The long-run average cost of level SSS is

C(I∞(S))=lim⁡T→∞1T∑t=1TE[C(It(S))],C(I_\infty(S)) = \lim_{T\to\infty} \frac1T \sum_{t=1}^T E[C(I_t(S))],C(I∞​(S))=T→∞lim​T1​t=1∑T​E[C(It​(S))],

and S∗S^*S∗ denotes a level minimizing it over S≥0S \ge 0S≥0. Write γ(S)=P[D≤S/(τ+1)]\gamma(S) = \mathcal P[D \le S/(\tau+1)]γ(S)=P[D≤S/(τ+1)].

The algorithm \textscAdaptive(α,β)\textsc{Adaptive}(\alpha,\beta)\textscAdaptive(α,β) runs in cycles k=1,2,…k = 1, 2, \dotsk=1,2,… of length Tk=⌈kβ⌉T_k = \lceil k^\beta\rceilTk​=⌈kβ⌉; N(L)=∑k≤LTkN(L) = \sum_{k\le L} T_kN(L)=∑k≤L​Tk​. Cycle kkk uses a fixed level SkS_kSk​. From sales data it computes a sample-path derivative I′I'I′ by a recursion over the last τ\tauτ periods, forms a gradient estimate Hk∈{h,−b,0}H_k \in \{h, -b, 0\}Hk​∈{h,−b,0} from the last period of the cycle, and sets Sk+1=P[M‾,M‾](Sk−ϵkHk)S_{k+1} = P_{[\underline M, \overline M]}(S_k - \epsilon_k H_k)Sk+1​=P[M​,M]​(Sk​−ϵk​Hk​) with ϵk=(M‾−M‾)/(max⁡{b,h}kα)\epsilon_k = (\overline M - \underline M)/(\max\{b,h\}k^\alpha)ϵk​=(M−M​)/(max{b,h}kα). The inventory is carried over between cycles. The regret after LLL cycles is

Λ(L)=E[∑k=1L∑j=1TkC(I(k,j))]−C(I∞(S∗)) N(L).\Lambda(L) = E\Big[\sum_{k=1}^L\sum_{j=1}^{T_k} C(I_{(k,j)})\Big] - C(I_\infty(S^*))\,N(L).Λ(L)=E[k=1∑L​j=1∑Tk​​C(I(k,j)​)]−C(I∞​(S∗))N(L).

Formalization targets

Goal: Theorem 10, corrected

Under Assumption 1 (0≤M‾≤S∗≤M‾0 \le \underline M \le S^* \le \overline M0≤M​≤S∗≤M and γ(M‾)>0\gamma(\underline M) > 0γ(M​)>0) and infinite support of DDD, for α,β∈(0,1)\alpha,\beta \in (0,1)α,β∈(0,1) and L≥1L \ge 1L≥1, with N=N(L)N = N(L)N=N(L) and ν=max⁡{1−γ(M‾)2τ,F(M‾),1/e}\nu = \max\{1 - \gamma(\underline M)^{2\tau}, F(\overline M), 1/e\}ν=max{1−γ(M​)2τ,F(M),1/e},

Λ(L)N≤(b+h)[(M‾−M‾)(4N1−α1+β+4/(1−α)Nα1+β+C3N11+β)+M‾ 24τ/ln⁡(1/ν)Nβ1+β],\frac{\Lambda(L)}{N} \le (b+h)\Big[(\overline M - \underline M)\Big(\frac{4}{N^{\frac{1-\alpha}{1+\beta}}} + \frac{4/(1-\alpha)}{N^{\frac{\alpha}{1+\beta}}} + \frac{C_3}{N^{\frac1{1+\beta}}}\Big) + \overline M\,\frac{24\tau/\ln(1/\nu)}{N^{\frac{\beta}{1+\beta}}}\Big],NΛ(L)​≤(b+h)[(M−M​)(N1+β1−α​4​+N1+βα​4/(1−α)​+N1+β1​C3​​)+MN1+ββ​24τ/ln(1/ν)​],

with C3=12(4τ)1/βΓ(1/β)(1/β)/(ln⁡(1/ν))1/βC_3 = 12(4\tau)^{1/\beta}\Gamma(1/\beta)(1/\beta)/(\ln(1/\nu))^{1/\beta}C3​=12(4τ)1/βΓ(1/β)(1/β)/(ln(1/ν))1/β. At α=β=1/2\alpha = \beta = 1/2α=β=1/2 this is O(N−1/3)O(N^{-1/3})O(N−1/3).

Milestones

Lemma 5 (tail of D1+⋯+DtD_1 + \dots + D_tD1​+⋯+Dt​), Lemma 6 (the inventory position falls to SSS), Theorem 7 (existence, independence of the start, convexity and differentiability of C(I∞(S))C(I_\infty(S))C(I∞​(S)), and existence of S∗S^*S∗ with γ(S∗)>0\gamma(S^*) > 0γ(S∗)>0), Theorem 11 (projected stochastic gradient descent with biased gradients), Lemmas 12 and 13 (sums over cycles of length ⌈kβ⌉\lceil k^\beta\rceil⌈kβ⌉), Lemma 14 (the regret Λ1\Lambda_1Λ1​ from Sk≠S∗S_k \ne S^*Sk​=S∗) and Lemma 15 (the transient regret Λ2\Lambda_2Λ2​).

Significance

The theorem gives a nonparametric, sales-only policy whose average cost approaches that of the best base-stock policy at an explicit polynomial rate, uniformly over demand distributions satisfying Assumption 1. Its ingredients are reusable: an explicit geometric ergodicity rate for the lost-sales base-stock chain, convexity of the long-run base-stock cost in SSS, and a regret bound for projected gradient descent whose gradients are biased by Markov dependence.

The result is published; to our knowledge none of it has been machine-checked. The mission formalizes the regret bound, which requires Markov-chain ergodicity on a continuous state space, long-run averages, and stochastic approximation with biased gradients. It also repairs the printed constants: Theorem 10 and Lemma 15 are false as printed (see Formalization scope), and the formal statements make the dependence on M‾\overline MM explicit.

Difficulty

The obvious route treats the cycle's last-period derivative as an unbiased gradient of C(I∞(Sk))C(I_\infty(S_k))C(I∞​(Sk​)) and applies standard online convex optimization. That fails: the estimate is computed from a Markov chain started at whatever state the previous cycle left, so it is biased, and the bias decays only as the chain mixes. Controlling the bias requires an explicit mixing rate for a chain on R+τ×{0,1}τ\mathbb R^\tau_+ \times \{0,1\}^\tauR+τ​×{0,1}τ whose state includes the derivative process, uniformly over the levels in [M‾,M‾][\underline M, \overline M][M​,M] and over starting positions above SSS. The ergodicity argument uses a coalescing demand pattern, which exists only when γ(S)>0\gamma(S) > 0γ(S)>0; without that condition the chain need not be ergodic. A second obstacle is that the objective C(I∞(S))C(I_\infty(S))C(I∞​(S)) is defined as a long-run average, so its convexity and differentiability in SSS must be established before any gradient argument applies.

Formalization scope

Everything is stated in Lean 4 with Mathlib. The inventory vector is a pair (pipeline Fin (τ-1) → ℝ, newest order first; on-hand ℝ). Lean periods are 000-based (Lean period ttt is the paper's t+1t+1t+1); cycles are numbered from 111. Demand is a sequence on a probability space that is i.i.d., nonnegative, integrable, with E[D]>0E[D] > 0E[D]>0 and an atomless law; infinite support is F(x)<1F(x) < 1F(x)<1 for all xxx; τ≥1\tau \ge 1τ≥1, h,b>0h, b > 0h,b>0. The long-run cost is a limsup of Cesàro averages from the empty start (Theorem 7 shows it is a limit from every start), and S∗S^*S∗ is any minimizer over [0,∞)[0,\infty)[0,∞). The algorithm is a deterministic function of the demand path; the sample derivative is the recursion the algorithm computes, not a derivative. Integrability of every expectation follows from boundedness of the inventory and is not assumed.

Corrections, all disclosed in the items: Theorem 10 carries M‾\overline MM instead of M‾−M‾\overline M - \underline MM−M​ on the C4C_4C4​ term, because the printed bound fails for M‾=M‾=S∗\underline M = \overline M = S^*M​=M=S∗, X(1,1)=0X_{(1,1)} = 0X(1,1)​=0, L=1L = 1L=1, where the right side is 000 and Λ(1)=C(0)−C(I∞(S∗))>0\Lambda(1) = C(0) - C(I_\infty(S^*)) > 0Λ(1)=C(0)−C(I∞​(S∗))>0. Lemma 15 carries M‾\overline MM and 12τ+112\tau + 112τ+1. Lemma 14 keeps its printed constant; its proof appears to use the ergodicity theorem one period early. Theorem 11 is stated on an interval with the bias taken conditionally on the history. Lemmas 5 and 6 are stated for infinite support only.

A goal that bounds the regret by Λ1\Lambda_1Λ1​ alone (costs at the steady state of SkS_kSk​), or that lets the levels be any sequence in [M‾,M‾][\underline M, \overline M][M​,M], is not the theorem: the regret here uses the realized inventory of the algorithm. Lean's conventions x/0=0x/0 = 0x/0=0 and ln⁡\lnln of a nonpositive number cannot trivialize the bound, because infinite support and γ(M‾)>0\gamma(\underline M) > 0γ(M​)>0 give ν∈[1/e,1)\nu \in [1/e, 1)ν∈[1/e,1). The source is the authors' working paper of February 8, 2007, whose printed page numbers equal the PDF's.

Not yet stated: Theorem 3 and Lemma 4 (ergodicity rate), Theorem 8 and Lemma 9 (bias bounds), Theorem 1 (sample derivatives). They need the joint chain (Xt,Xt′)(X_t, X'_t)(Xt​,Xt′​) and are welcome as contributions, as are the general pieces: geometric ergodicity via coalescence, and the biased projected-gradient bound.

Selected references

  • W. T. Huh, G. Janakiraman, J. A. Muckstadt, P. Rusmevichientong, An Adaptive Algorithm for Finding the Optimal Base-Stock Policy in Lost Sales Inventory Systems with Censored Demand, working paper, 2007; Mathematics of Operations Research 2009. https://doi.org/10.1287/moor.1080.0367
  • W. T. Huh, G. Janakiraman, J. A. Muckstadt, P. Rusmevichientong, Asymptotic Optimality of Order-up-to Policies in Lost Sales Inventory Systems, Management Science 55(3), 2009. https://doi.org/10.1287/mnsc.1080.0945
  • W. T. Huh, P. Rusmevichientong, A Nonparametric Asymptotic Analysis of Inventory Planning with Censored Demand, Mathematics of Operations Research 2009. https://doi.org/10.1287/moor.1080.0355
  • G. Janakiraman, R. O. Roundy, Lost-Sales Problems with Stochastic Lead Times: Convexity Results for Base-Stock Policies, Operations Research 2004. https://doi.org/10.1287/opre.1040.0130
12 thms3 active usersReviewed
🏆Completed
Operations ResearchProbabilityStochastic Systems·Captain: mikedeng1

Contact Interactions on a Lattice II: If λₖ/μ < k/(2d − 1), the Expected Size of a Contact Process Is Integrable in TimeResearch Paper

Motivation

The contact process is the basic model of an infection spreading on a graph: infected sites recover at a constant rate, and healthy sites are infected at a rate that depends on how many of their neighbours are infected. T. E. Harris introduced it in Contact Interactions on a Lattice (Ann. Probab. 2, 1974, doi:10.1214/aop/1176996493), and it became one of the central examples of the theory of interacting particle systems (Liggett, Interacting Particle Systems, 1985, Ch. VI; Liggett, Stochastic Interacting Systems, 1999, Part I). Its questions are those of epidemiology and population dynamics on a spatial grid: does a finite infection die out, and how large does it get on the way?

Harris's paper gives the first rigorous subcritical bounds. Section 7 treats two quantities for a process started from a finite set: the probability p∞(ξ)p_\infty(\xi)p∞​(ξ) of surviving forever, and the expected size mt(ξ)m_t(\xi)mt​(ξ) at time ttt. This mission formalizes the second, Theorem 7.6: under an explicit condition on the rates, the expected size is integrable in time. The companion mission (Contact Interactions on a Lattice I) formalizes Theorem 7.1, extinction under the same condition.

A short timeline. Harris (1974) defined the process, proved monotonicity, subadditivity and submodularity by coupling, and gave the bounds of §7 and a survival result for large rates (§9). Holley and Liggett (Ann. Probab. 3, 1975) developed duality for such systems. Holley and Liggett's paper also proves, for a discrete-time branching process with interference, the analogue PF(An≠∅)≤EF∣An∣≤λn∣F∣P_F(A_n\ne\varnothing)\le E_F|A_n|\le\lambda^n|F|PF​(An​=∅)≤EF​∣An​∣≤λn∣F∣ of the size bounds studied here; it is a different process, related but not reused.

Setting

Fix d≥1d \ge 1d≥1 and the lattice ZdZ_dZd​ of integer points x=(x1,…,xd)x = (x^1, \dots, x^d)x=(x1,…,xd). Sites x,yx, yx,y are neighbours, x∼yx \sim yx∼y, if ∑i∣xi−yi∣=1\sum_i |x^i - y^i| = 1∑i​∣xi−yi∣=1; NxN_xNx​ is the set of the 2d2d2d neighbours of xxx. A configuration is a finite set ξ⊂Zd\xi \subset Z_dξ⊂Zd​ (the set Ξ0\Xi_0Ξ0​); ∣ξ∣|\xi|∣ξ∣ is its number of points, ξ(Nx)\xi(N_x)ξ(Nx​) is the number of neighbours of xxx in ξ\xiξ, and x∼ξx \sim \xix∼ξ means x∉ξx \notin \xix∈/ξ and xxx has a neighbour in ξ\xiξ.

The parameters are a death rate μ≥0\mu \ge 0μ≥0 and birth rates λ0=0,λ1,…,λ2d≥0\lambda_0 = 0, \lambda_1, \dots, \lambda_{2d} \ge 0λ0​=0,λ1​,…,λ2d​≥0. The contact process is the continuous-time Markov chain on finite configurations that, from ξ\xiξ, removes a point x∈ξx \in \xix∈ξ at rate μ\muμ and adds a site x∼ξx \sim \xix∼ξ at rate λξ(Nx)\lambda_{\xi(N_x)}λξ(Nx​)​. Its total jump rate is

qξ=μ∣ξ∣+∑x∼ξλξ(Nx).q_\xi = \mu|\xi| + \sum_{x \sim \xi} \lambda_{\xi(N_x)} .qξ​=μ∣ξ∣+x∼ξ∑​λξ(Nx​)​.

The empty configuration is absorbing. Pt(ξ,η)P_t(\xi, \eta)Pt​(ξ,η) is its transition function, r(ξ,η)=qξη/qξr(\xi,\eta) = q_{\xi\eta}/q_\xir(ξ,η)=qξη​/qξ​ the transition matrix of its jump chain, and

mt(ξ)=Eξ ∣ξt∣=∑ηPt(ξ,η) ∣η∣m_t(\xi) = \mathscr E_\xi\, |\xi_t| = \sum_{\eta} P_t(\xi, \eta)\, |\eta|mt​(ξ)=Eξ​∣ξt​∣=η∑​Pt​(ξ,η)∣η∣

the expected size at time ttt. In the Lean development these are trans μ lam t ξ η, jump μ lam ξ η and meanSize μ lam t ξ, where lam k is λk\lambda_kλk​.

Formalization targets

Goal: Theorem 7.6 (p. 982)

If μ>0\mu > 0μ>0 and

λkμ<k2d−1,k=1,…,2d,\frac{\lambda_k}{\mu} < \frac{k}{2d-1}, \qquad k = 1, \dots, 2d,μλk​​<2d−1k​,k=1,…,2d,

then for every finite ξ\xiξ,

∫0∞mt(ξ) dt<∞.\int_0^\infty m_t(\xi)\, dt < \infty .∫0∞​mt​(ξ)dt<∞.

Milestones

In the paper's proof order:

  1. Lemma 4.7: mt(ξ)≤∣ξ∣ e(2dΛ−μ)tm_t(\xi) \le |\xi|\, e^{(2d\Lambda - \mu)t}mt​(ξ)≤∣ξ∣e(2dΛ−μ)t with Λ=max⁡iλi\Lambda = \max_i \lambda_iΛ=maxi​λi​.
  2. Lemma 5.8, its mtm_tmt​ half: λk≤min⁡j≥kλj′\lambda_k \le \min_{j \ge k} \lambda'_jλk​≤minj≥k​λj′​ implies mt≤mt′m_t \le m'_tmt​≤mt′​.
  3. The change of time scale: multiplying all rates by ccc replaces mtm_tmt​ by mctm_{ct}mct​.
  4. Remark 5.5, three times. mtm_tmt​ is increasing in ξ\xiξ when λk↑\lambda_k \uparrowλk​↑; it is subadditive when also λk/k↓\lambda_k / k \downarrowλk​/k↓; and it is submodular when λ\lambdaλ is concave and non-decreasing.
  5. The first-jump equation (7.7) for a pair of neighbours, with K=2+(4d−2)λK = 2 + (4d-2)\lambdaK=2+(4d−2)λ.
  6. The bound after (7.11): M2(T)−M1(T)≤1/(1−(2d−1)λ)M_2(T) - M_1(T) \le 1/(1 - (2d-1)\lambda)M2​(T)−M1​(T)≤1/(1−(2d−1)λ).
  7. Lemma 7.5: if ∫0∞mt({x}) dt=∞\int_0^\infty m_t(\{x\})\,dt = \infty∫0∞​mt​({x})dt=∞, then ∫0∞(mt(ξ)−mt({x})) dt=∞\int_0^\infty (m_t(\xi) - m_t(\{x\}))\,dt = \infty∫0∞​(mt​(ξ)−mt​({x}))dt=∞ for ∣ξ∣≥2|\xi| \ge 2∣ξ∣≥2.

After the goal come two consequences: Lemma 4.11, mt+h(ξ)≥e−μhmt(ξ)m_{t+h}(\xi) \ge e^{-\mu h} m_t(\xi)mt+h​(ξ)≥e−μhmt​(ξ), and Remark 7.12, mt(ξ)→0m_t(\xi) \to 0mt​(ξ)→0.

Significance

The theorem says that the total expected infection time, summed over all sites, is finite. That is stronger than extinction (Theorem 7.1), and it quantifies how fast the process dies out on average. With Lemma 4.11 it gives mt(ξ)→0m_t(\xi) \to 0mt​(ξ)→0. Bounds on the expected size are the standard route to subcritical estimates for spatial epidemics and branching systems with interference. The milestones are also the paper's general tools. Monotonicity, subadditivity and submodularity of mtm_tmt​, comparison of rate sequences, and time scaling hold for every contact process and are reusable beyond this mission.

The theorem has been known since 1974, and the formalization of the contact process is new work: the platform has no machine-checked development of an interacting particle system on ZdZ_dZd​, nor of a continuous-time chain with unbounded rates. The mission produces a formal model of the contact process from a finite set, a Lean proof of the subcritical bound, and the coupling inequalities (stated here for mtm_tmt​) that any further work on the process will need.

Difficulty

The obvious argument fails. One would bound the growth rate of ∣ξt∣|\xi_t|∣ξt​∣ by its worst case: a site is born at rate at most λk\lambda_kλk​ for each of at most 2d∣ξ∣2d|\xi|2d∣ξ∣ boundary sites. This gives only Lemma 4.7, an exponential bound whose exponent 2dΛ−μ2d\Lambda - \mu2dΛ−μ is positive in most of the regime of the theorem. The factor 2d−12d - 12d−1 instead of 2d2d2d comes from correlations: a newly born site always has an occupied neighbour, so it adds at most 2d−12d - 12d−1 new boundary sites. Capturing this needs the comparison between a single site and a pair of neighbours in (7.7)–(7.11), together with submodularity, which is a coupling statement about the whole process. Lemma 7.5 then has to turn a bound on the difference M2−M1M_2 - M_1M2​−M1​ into a bound on M1M_1M1​, and the paper omits its proof.

In the formal setting the chain has unbounded rates (since qξq_\xiqξ​ grows with ∣ξ∣|\xi|∣ξ∣), so its transition function is not a matrix exponential. Uniformization does not apply either, and every statement goes through the minimal solution of the backward equations.

Formalization scope

  • The chain model. The process is the countable-state chain on finite configurations that the paper itself uses from §4 on. Theorems 4.1 and 4.3 show that the infinite-volume process started in Ξ0\Xi_0Ξ0​ is this chain. No process on infinite configurations and no probability space is constructed, and PξP_\xiPξ​, Eξ\mathscr E_\xiEξ​ enter only through PtP_tPt​.
  • The transition function. PtP_tPt​ is the minimal transition function of the rates (4.4)–(4.5), Pt=sup⁡nPt(n)P_t = \sup_n P^{(n)}_tPt​=supn​Pt(n)​, where Pt(n)P^{(n)}_tPt(n)​ is defined by Feller's backward recursion over at most nnn jumps.
  • Finite initial sets. Statements the paper makes for all ξ∈Ξ\xi \in \Xiξ∈Ξ (Lemmas 4.11 and 5.8, Remark 5.5) are drafted for finite ξ\xiξ.
  • Values. PtP_tPt​, ptp_tpt​ and mtm_tmt​ take values in [0,∞][0, \infty][0,∞]. Integrals of mtm_tmt​ are Lebesgue integrals of [0,∞][0,\infty][0,∞]-valued functions.
  • Lattice. Sites are Fin d → ℤ with the ℓ1\ell^1ℓ1 adjacency of the paper.
  • Standing hypotheses. Every statement carries d≥1d \ge 1d≥1, μ≥0\mu \ge 0μ≥0, λ0=0\lambda_0 = 0λ0​=0 and λk≥0\lambda_k \ge 0λk​≥0 for k≤2dk \le 2dk≤2d. Conditions on λ\lambdaλ range over k≤2dk \le 2dk≤2d only, since λk\lambda_kλk​ for k>2dk > 2dk>2d never enters the model. The goal adds μ>0\mu > 0μ>0, which the paper's ratio λk/μ\lambda_k/\muλk​/μ presupposes.

Several trivializing formalizations are excluded:

  • mtm_tmt​ is not a real tsum, which would be 000 when the series diverges;
  • the integral is not a real Bochner integral, which would be 000 for a non-integrable function;
  • the rate condition does not range over all k∈Nk \in \mathbb Nk∈N;
  • μ>0\mu > 0μ>0 is not left implicit: in Lean λk/0=0\lambda_k / 0 = 0λk​/0=0, and at μ=0\mu = 0μ=0 the conclusion is false;
  • the goal is not stated for singletons only.

A complete development needs the backward equation and non-explosion for PtP_tPt​ (Theorem 4.3, formalized in the companion mission), Fubini–Tonelli for ∑\sum∑ and ∫\int∫ in [0,∞][0,\infty][0,∞], and couplings of contact processes. The couplings are the paper's auxiliary multi-type processes (§§5–6), or an equivalent argument on the generator. Contributions are welcome at every level. The coupling lemmas and the backward and forward equations for minimal chains are the parts most reusable beyond this mission.

Selected references

  • T. E. Harris, Contact interactions on a lattice, Ann. Probab. 2(6), 969–988, 1974. https://doi.org/10.1214/aop/1176996493
  • R. Holley, T. M. Liggett, Ergodic theorems for weakly interacting infinite systems and the voter model, Ann. Probab. 3(4), 643–663, 1975. https://doi.org/10.1214/aop/1176996306
  • T. M. Liggett, Interacting Particle Systems, Springer, 1985. https://doi.org/10.1007/978-1-4613-8542-4
  • W. Feller, On the integro-differential equations of purely discontinuous Markoff processes, Trans. Amer. Math. Soc. 48, 488–515, 1940. https://doi.org/10.1090/S0002-9947-1940-0002697-3
  • J. R. Norris, Markov Chains, Cambridge University Press, 1997, §2.8. https://doi.org/10.1017/CBO9780511810633
13 thms3 active usersReviewed
Operations ResearchProbabilityStochastic Systems·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 thms3 active usersReviewed
🏆Completed
Operations ResearchProbabilityStochastic Systems·Captain: mikedeng1

Contact Interactions on a Lattice I: A Contact Process with (2d − 1)λₖ < kμ Dies Out from Every Finite Initial SetResearch Paper

Motivation

The contact process is the basic model of an infection spreading on a lattice: each infected site recovers at a constant rate, and each healthy site becomes infected at a rate that depends on how many of its neighbours are infected. It was introduced by T. E. Harris in Contact Interactions on a Lattice (Ann. Probab. 2, 1974), and it became one of the central examples of interacting particle systems, alongside the voter model and the stochastic Ising model (Liggett, Interacting Particle Systems, 1985, Ch. VI). Its main question is whether a finite infection dies out with probability one or survives forever with positive probability, and how that answer depends on the rates.

Harris's paper gives the first answers. It shows that, under natural conditions on the rates, the probability of survival is monotone, subadditive and submodular as a function of the initial set, and it uses these properties to prove a condition for certain extinction: Theorem 7.1. For the linear contact process (recovery rate 111, infection rate λ\lambdaλ per infected neighbour) the condition is (2d−1)λ<1(2d-1)\lambda<1(2d−1)λ<1. Holley obtained Theorem 7.1 by different methods at about the same time (footnote 4, p. 981); Holley and Liggett (Ann. Probab. 3, 1975) later developed the duality theory of such processes.

Setting

Let ZdZ_dZd​ be the ddd-dimensional integer lattice, d≥1d\ge1d≥1. Sites x,yx,yx,y are neighbours, x∼yx\sim yx∼y, if ∑i∣xi−yi∣=1\sum_i|x^i-y^i|=1∑i​∣xi−yi∣=1; NxN_xNx​ is the set of the 2d2d2d neighbours of xxx. A configuration is a finite set ξ⊂Zd\xi\subset Z_dξ⊂Zd​ of infected sites; Ξ0\Xi_0Ξ0​ is the set of all of them, ξ(Nx)=∣ξ∩Nx∣\xi(N_x)=|\xi\cap N_x|ξ(Nx​)=∣ξ∩Nx​∣, and x∼ξx\sim\xix∼ξ means x∉ξx\notin\xix∈/ξ and xxx has a neighbour in ξ\xiξ.

The parameters are a recovery rate μ≥0\mu\ge0μ≥0 and infection rates λ0=0,λ1,…,λ2d≥0\lambda_0=0,\lambda_1,\dots,\lambda_{2d}\ge0λ0​=0,λ1​,…,λ2d​≥0. The contact process {ξt}\{\xi_t\}{ξt​} started from a finite set is the continuous-time Markov chain on Ξ0\Xi_0Ξ0​ that leaves ξ\xiξ at rate

qξ=μ∣ξ∣+∑x∼ξλξ(Nx)(4.4)q_\xi=\mu|\xi|+\sum_{x\sim\xi}\lambda_{\xi(N_x)}\qquad(4.4)qξ​=μ∣ξ∣+x∼ξ∑​λξ(Nx​)​(4.4)

and jumps to ξ∖x\xi\setminus xξ∖x (x∈ξx\in\xix∈ξ) at rate μ\muμ and to ξ∪x\xi\cup xξ∪x (x∼ξx\sim\xix∼ξ) at rate λξ(Nx)\lambda_{\xi(N_x)}λξ(Nx​)​ (4.5). The empty set is absorbing. Write Pt(ξ,η)P_t(\xi,\eta)Pt​(ξ,η) for its transition function, r(ξ,η)=qξη/qξr(\xi,\eta)=q_{\xi\eta}/q_\xir(ξ,η)=qξη​/qξ​ for the transition matrix of its imbedded jump chain, and

pt(ξ)=Pξ{ξt≠∅},p∞(ξ)=lim⁡t→∞pt(ξ),mt(ξ)=Eξ∣ξt∣.p_t(\xi)=P_\xi\{\xi_t\neq\varnothing\},\qquad p_\infty(\xi)=\lim_{t\to\infty}p_t(\xi),\qquad m_t(\xi)=\mathscr E_\xi|\xi_t| .pt​(ξ)=Pξ​{ξt​=∅},p∞​(ξ)=t→∞lim​pt​(ξ),mt​(ξ)=Eξ​∣ξt​∣.

The process is increasing, subadditive or submodular if, for all ξ,η\xi,\etaξ,η and t≥0t\ge0t≥0, respectively pt(ξ)≤pt(ξ∪η)p_t(\xi)\le p_t(\xi\cup\eta)pt​(ξ)≤pt​(ξ∪η), pt(ξ∪η)≤pt(ξ)+pt(η)p_t(\xi\cup\eta)\le p_t(\xi)+p_t(\eta)pt​(ξ∪η)≤pt​(ξ)+pt​(η), or pt(ξ∪η)+pt(ξ∩η)≤pt(ξ)+pt(η)p_t(\xi\cup\eta)+p_t(\xi\cap\eta)\le p_t(\xi)+p_t(\eta)pt​(ξ∪η)+pt​(ξ∩η)≤pt​(ξ)+pt​(η) ((5.2)–(5.4)).

Formalization targets

Goal: Theorem 7.1 (p. 981)

If

(2d−1)λk<kμ,k=1,…,2d,(2d-1)\lambda_k<k\mu,\qquad k=1,\dots,2d,(2d−1)λk​<kμ,k=1,…,2d,

then

p∞(ξ)=0for every finite ξ⊂Zd.p_\infty(\xi)=0\qquad\text{for every finite }\xi\subset Z_d .p∞​(ξ)=0for every finite ξ⊂Zd​.

Milestones, in the order of the paper

  1. Theorem 4.3 (p. 975): from a finite set the process has finitely many jumps on every [0,t][0,t][0,t]; equivalently ∑ηPt(ξ,η)=1\sum_\eta P_t(\xi,\eta)=1∑η​Pt​(ξ,η)=1.
  2. (5.1) (p. 976): pt(ξ)p_t(\xi)pt​(ξ) is non-increasing in ttt, so p∞(ξ)p_\infty(\xi)p∞​(ξ) is a limit.
  3. Theorem 5.6(a) (p. 977): if λk↑\lambda_k\uparrowλk​↑, the process is increasing.
  4. Theorem 5.6(b) (p. 977): if moreover λk/k↓\lambda_k/k\downarrowλk​/k↓, it is subadditive.
  5. Lemma 5.8 (p. 978): if λk≤min⁡j≥kλj′\lambda_k\le\min_{j\ge k}\lambda'_jλk​≤minj≥k​λj′​, then pt≤pt′p_t\le p'_tpt​≤pt′​ and mt≤mt′m_t\le m'_tmt​≤mt′​.
  6. Theorem 6.2 (p. 979): if {λi}\{\lambda_i\}{λi​} is concave and non-decreasing with λ0=0\lambda_0=0λ0​=0, the process is submodular.
  7. Change of time scale (p. 981): multiplying all rates by c>0c>0c>0 replaces PtP_tPt​ by PctP_{ct}Pct​ and leaves p∞p_\inftyp∞​ unchanged.
  8. First-step display (p. 981): for a subadditive process, a singleton {x}\{x\}{x}, and n≥1n\ge1n≥1, p∞({x})=∑ηr(n)({x},η)p∞(η)≤p∞({x}) Ex∣ξ(n)∣p_\infty(\{x\})=\sum_\eta r^{(n)}(\{x\},\eta)p_\infty(\eta)\le p_\infty(\{x\})\,\mathscr E_x|\xi_{(n)}|p∞​({x})=∑η​r(n)({x},η)p∞​(η)≤p∞​({x})Ex​∣ξ(n)​∣.
  9. (7.2) (p. 981): for μ=1\mu=1μ=1, λk=kλ\lambda_k=k\lambdaλk​=kλ: π1=2dλ1+2dλπ2\pi_1=\frac{2d\lambda}{1+2d\lambda}\pi_2π1​=1+2dλ2dλ​π2​, where π1,π2\pi_1,\pi_2π1​,π2​ are p∞p_\inftyp∞​ of a site and of a pair of neighbours.
  10. (7.3)–(7.4) (p. 981): π2−π1=(1+(2d−1)λ)∑′r(ξ,ξ∪x)(p∞(ξ∪x)−π2)≤(π2−π1)(2d−1)λ\pi_2-\pi_1=(1+(2d-1)\lambda)\sum'r(\xi,\xi\cup x)(p_\infty(\xi\cup x)-\pi_2)\le(\pi_2-\pi_1)(2d-1)\lambdaπ2​−π1​=(1+(2d−1)λ)∑′r(ξ,ξ∪x)(p∞​(ξ∪x)−π2​)≤(π2​−π1​)(2d−1)λ.
  11. Conclusion of the proof (p. 981): for μ=1\mu=1μ=1, λk=kλ\lambda_k=k\lambdaλk​=kλ, π1>0\pi_1>0π1​>0 implies (2d−1)λ≥1(2d-1)\lambda\ge1(2d−1)λ≥1.

Significance

Theorem 7.1 gives a computable sufficient condition for extinction that holds in every dimension and for every non-linear infection law satisfying it. For the linear process it gives the lower bound λc≥1/(2d−1)\lambda_c\ge1/(2d-1)λc​≥1/(2d−1) on the critical infection rate; the paper's §9 shows conversely that the process survives for large λk/μ\lambda_k/\muλk​/μ, so the critical rate is non-trivial. The monotonicity, subadditivity and submodularity theorems of §§5–6 are the comparison tools on which much of the later theory of attractive spin systems was built, and Lemma 5.8 is the prototype of comparison between processes with ordered rates.

The results are proved in the paper, and the proof of Theorem 7.1 is half a page once §§5–6 are available. No machine-checked version of the contact process, of its comparison theorems, or of Theorem 7.1 is known to exist. A formalization produces a continuous-time Markov chain with unbounded rates and an absorbing state on a countable state space, its minimal transition function, a non-explosion criterion, first-step analysis for absorption probabilities, and coupling arguments for monotone comparison. The companion mission Contact Interactions on a Lattice II treats Theorem 7.6, the integrability of the expected size, on the same model.

Difficulty

The obvious argument is first-step analysis on singletons and pairs, (7.2) and (7.3). It fails as it stands because (7.3) involves p∞p_\inftyp∞​ of every three-point set ξ∪x\xi\cup xξ∪x, and no finite system of first-step equations closes; some inequality between survival probabilities of nested sets is needed, and the milestones record the one the paper uses. Submodularity, subadditivity and monotonicity are not consequences of the rates by direct computation: the paper proves each by building several contact processes on one probability space (Tables 1–4), which in a formal development means constructing couplings of chains with unbounded rates and checking that each marginal has the right law. The reduction from general λk\lambda_kλk​ to the linear case also needs the comparison Lemma 5.8, another coupling. Finally the rates grow linearly in ∣ξ∣|\xi|∣ξ∣, so uniformization does not apply and non-explosion (Theorem 4.3) must be proved before transition probabilities are known to sum to one.

Formalization scope

The process is the countable-state chain of §4, not the Feller process on all subsets of ZdZ_dZd​ of §2: sites are Fin d → ℤ, configurations are Finsets, and PtP_tPt​ is the minimal transition function of the rates (4.4)–(4.5), defined as the increasing limit of Feller's backward recursion. There is no measure-theoretic process object; PξP_\xiPξ​ and Eξ\mathscr E_\xiEξ​ enter only through PtP_tPt​. Consequently Theorem 4.1 (Ξ0\Xi_0Ξ0​ is stochastically closed) is built in, and every statement is made for finite initial sets, including those the page makes for arbitrary ξ∈Ξ\xi\in\Xiξ∈Ξ ((5.2)–(5.4), Lemma 5.8); for infinite ξ\xiξ the page itself notes pt(ξ)=1p_t(\xi)=1pt​(ξ)=1.

The committed conventions:

  • PtP_tPt​, ptp_tpt​, p∞p_\inftyp∞​ and mtm_tmt​ take values in [0,∞][0,\infty][0,∞]; pt(ξ)=1−Pt(ξ,∅)p_t(\xi)=1-P_t(\xi,\varnothing)pt​(ξ)=1−Pt​(ξ,∅) and p∞(ξ)=inf⁡t≥0pt(ξ)p_\infty(\xi)=\inf_{t\ge0}p_t(\xi)p∞​(ξ)=inft≥0​pt​(ξ), so p∞=0p_\infty=0p∞​=0 means absorption at ∅\varnothing∅ and cannot be produced by loss of mass to explosion.
  • The rates are real; every theorem assumes d≥1d\ge1d≥1, μ≥0\mu\ge0μ≥0, λ0=0\lambda_0=0λ0​=0 and λk≥0\lambda_k\ge0λk​≥0 for k≤2dk\le2dk≤2d. Conditions on {λk}\{\lambda_k\}{λk​} range over k=1,…,2dk=1,\dots,2dk=1,…,2d (or 0,…,2d0,\dots,2d0,…,2d), never over all natural numbers.
  • 2d−12d-12d−1 is the real number 2d−12d-12d−1.
  • In the linear case the scalar rate is written lll (λ\lambdaλ is reserved in Lean), μ=1\mu=1μ=1 and λk=kl\lambda_k=klλk​=kl.

Trivializing formalizations are ruled out: the survival probability is not taken from an arbitrary semigroup or a uniformization (the rates are unbounded); p∞p_\inftyp∞​ is not a real infimum or limUnder, whose junk value 000 would make the goal free; λ\lambdaλ is indexed by the number of infected, not vacant, neighbours, and λ0=0\lambda_0=0λ0​=0 forbids spontaneous infection; and (7.2) is stated for every site and every neighbour, not for one fixed pair.

A complete development needs: non-explosion for chains with linearly growing rates; the Chapman–Kolmogorov and strong Markov properties of the minimal chain at jump times; lattice symmetries (translations and coordinate reflections) acting on the chain; and couplings of several contact processes realised as one chain on a product type space. The chain infrastructure and the coupling lemmas are reusable beyond this mission, in particular by its companion. Contributions to any milestone are welcome, including proofs of the milestones under the paper's hypotheses by methods other than Harris's.

Selected references

  • T. E. Harris, Contact interactions on a lattice, The Annals of Probability 2(6), 969–988, 1974. https://doi.org/10.1214/aop/1176996493
  • R. Holley and T. M. Liggett, Ergodic theorems for weakly interacting infinite systems and the voter model, The Annals of Probability 3(4), 643–663, 1975. https://doi.org/10.1214/aop/1176996306
  • T. M. Liggett, Interacting Particle Systems, Grundlehren 276, Springer, 1985. https://doi.org/10.1007/978-1-4613-8542-4
  • W. Feller, On the integro-differential equations of purely discontinuous Markoff processes, Transactions of the AMS 48, 488–515, 1940. https://doi.org/10.1090/S0002-9947-1940-0002697-3
  • J. R. Norris, Markov Chains, Cambridge University Press, 1997, §2.8. https://doi.org/10.1017/CBO9780511810633
13 thms3 active usersReviewed
🏆Completed
Operations ResearchProbabilityStochastic Systems·Captain: mikedeng1

Reversibility and Stochastic Networks IX: Partial Balance — Equivalent Characterizations via Truncation, Rate Changes and Time ReversalTextbook

Why partial balance

Equilibrium distributions of Markov models of networks are rarely computed by solving the full equilibrium equations directly. In the classical product-form results (migration processes, Jackson and Kelly networks, loss networks, clustering processes) the equilibrium distribution satisfies a stronger, local family of equations, and that is what makes it computable. The strongest such family is detailed balance, which characterizes reversibility. Many models that are not reversible still satisfy an intermediate family, partial balance: the probability flux balances not pair by pair but across a chosen set of transitions. F. P. Kelly's Reversibility and Stochastic Networks (Wiley, 1979) uses partial balance throughout: quasi-reversibility in Chapter 3 is a form of it, and the models that display it tend to be insensitive, meaning their equilibrium distribution does not change when exponential holding times are replaced by general ones with the same mean.

Section 9.4 of the book collects what partial balance means in a single statement. Theorem 9.5 summarizes Exercises 1.6.2–1.6.4 and 1.7.7–1.7.8 and gives five operational characterizations of partial balance. Corollaries 9.6–9.8 translate them into the language of spatial processes, and Theorem 9.9 turns partial balance of a coarse description into a product-form equilibrium for a finer one. This last step is the mechanism behind insensitivity.

Setting

A Markov process on a state space S\mathcal SS has transition rates q(j,k)≥0q(j,k)\ge0q(j,k)≥0 for j≠kj\ne kj=k, with q(j,j)=0q(j,j)=0q(j,j)=0. It is irreducible: every state can be reached from every other through transitions of positive rate. An equilibrium distribution is a collection of positive numbers π(j)\pi(j)π(j) summing to one that satisfies the equilibrium equations

π(j)∑k∈Sq(j,k)=∑k∈Sπ(k)q(k,j),j∈S.\pi(j)\sum_{k\in\mathcal S}q(j,k)=\sum_{k\in\mathcal S}\pi(k)q(k,j),\qquad j\in\mathcal S.π(j)k∈S∑​q(j,k)=k∈S∑​π(k)q(k,j),j∈S.

For an irreducible process on a finite state space it exists and is unique.

Given a set A⊆S\mathcal A\subseteq\mathcal SA⊆S, π\piπ satisfies partial balance with respect to A\mathcal AA if

π(j)∑k∈Aq(j,k)=∑k∈Aπ(k)q(k,j),j∈A.\pi(j)\sum_{k\in\mathcal A}q(j,k)=\sum_{k\in\mathcal A}\pi(k)q(k,j),\qquad j\in\mathcal A.π(j)k∈A∑​q(j,k)=k∈A∑​π(k)q(k,j),j∈A.

Truncating the process to A\mathcal AA deletes every transition out of A\mathcal AA, and the result is required to be irreducible within A\mathcal AA. The time-reversed process of a process with equilibrium distribution π\piπ has rates π(k)q(k,j)/π(j)\pi(k)q(k,j)/\pi(j)π(k)q(k,j)/π(j).

A spatial process has JJJ sites, the vertices of a graph GGG. Site jjj carries an attribute njn_jnj​ from a finite set Nj\mathcal N_jNj​, and the state space is S=N1×⋯×NJ\mathcal S=\mathcal N_1\times\cdots\times\mathcal N_JS=N1​×⋯×NJ​. Write TjmnT_j^m\mathbf nTjm​n for the state n\mathbf nn with the attribute of site jjj changed to mmm. The process must satisfy three conditions: only one site changes at a time; the rate q(n,Tjmn)q(\mathbf n,T_j^m\mathbf n)q(n,Tjm​n) depends on the other sites only through the neighbours of jjj; and any TjmnT_j^m\mathbf nTjm​n can be reached from n\mathbf nn without changing the other sites. The conditional distribution of site jjj given the rest is P(nj∣nG−j)=π(n)/∑mπ(Tjmn)P(n_j\mid\mathbf n_{G-j})=\pi(\mathbf n)/\sum_m\pi(T_j^m\mathbf n)P(nj​∣nG−j​)=π(n)/∑m​π(Tjm​n). A Markov field is a positive distribution whose conditional distributions depend only on the neighbours of jjj.

Formalization targets

Goal: Theorem 9.5

For an irreducible process on a finite S\mathcal SS with equilibrium distribution π\piπ, a nonempty A\mathcal AA within which the truncated process is irreducible, and a constant c>0c>0c>0, c≠1c\ne1c=1, the following are equivalent:

  1. partial balance with respect to A\mathcal AA;
  2. the equilibrium distribution of the truncated process is π(j)/∑k∈Aπ(k)\pi(j)/\sum_{k\in\mathcal A}\pi(k)π(j)/∑k∈A​π(k);
  3. multiplying the rates q(j,k)q(j,k)q(j,k), j,k∈Aj,k\in\mathcal Aj,k∈A, by ccc leaves the equilibrium distribution unchanged;
  4. multiplying the rates q(j,k)q(j,k)q(j,k), j∈Aj\in\mathcal Aj∈A, k∉Ak\notin\mathcal Ak∈/A, by ccc changes the equilibrium distribution to
Bπ(j) (j∈A),Bcπ(j) (j∉A),B−1=∑j∈Aπ(j)+c∑j∉Aπ(j);B\pi(j)\ (j\in\mathcal A),\qquad Bc\pi(j)\ (j\notin\mathcal A),\qquad B^{-1}=\sum_{j\in\mathcal A}\pi(j)+c\sum_{j\notin\mathcal A}\pi(j);Bπ(j) (j∈A),Bcπ(j) (j∈/A),B−1=j∈A∑​π(j)+cj∈/A∑​π(j);
  1. time reversal and truncation to A\mathcal AA commute.

When S−A\mathcal S-\mathcal AS−A is nonempty, these are also equivalent to:

  1. the chain observed just before each exit from A\mathcal AA and the chain observed just after each entry into A\mathcal AA have the same equilibrium distribution.

Milestones

  • Corollary 9.6: the equivalences for the sets on which all sites but jjj are frozen, i.e. partial balance (9.26) at a site.
  • Corollary 9.7: on a state space with at least two states, partial balance at every site makes π\piπ a Markov field, with 0<π(n)<10<\pi(\mathbf n)<10<π(n)<1 as in the book's definition.
  • Corollary 9.8: the equivalences for the set on which site jjj is frozen at one attribute (9.27).
  • Theorem 9.9: if a reduced description n=f(x)\mathbf n=f(\mathbf x)n=f(x) has a distribution π(n)\pi(\mathbf n)π(n) in partial balance for the rates (9.31), then the finer process has equilibrium distribution π(x)=π(n)∏jPj(xj∣nj)\pi(\mathbf x)=\pi(\mathbf n)\prod_jP_j(x_j\mid n_j)π(x)=π(n)∏j​Pj​(xj​∣nj​).

What the results give

Theorem 9.5 makes partial balance testable by operations on the process itself: truncation, speeding up or slowing down transitions, and time reversal. The book points to close relationships between statement (iv) and the product form of Section 2.3, and between statement (ii) and part (iii) of Theorem 3.12. Corollary 9.6 (iv) explains why the reversed migration process has such a simple form. Corollary 9.7 strengthens Theorem 9.3 by replacing reversibility with partial balance at each site. Theorem 9.9 is the step from partial balance to insensitivity: it is what the book uses to show that a spatial process keeps its equilibrium distribution when the lifetimes of attributes are mixtures of gamma distributions.

All of these results were proved in 1979. None has a machine-checked proof. The platform has the reversible special case of statement (ii) (KellyStochasticNetworks.truncated_reversible) and the rate-level objects for time reversal and truncation, which this mission reuses. Formalizing Theorem 9.5 also produces a reusable account of embedded exit and entry chains of a finite Markov process.

Difficulty

Most of the equivalences (i)–(v) are short manipulations of the equilibrium equations, but each direction from a property of an altered process back to partial balance needs uniqueness of equilibrium distributions for irreducible finite processes, and (v) ⇒ (i) also needs their existence. Mathlib has neither in the form needed here. Statement (vi) is a different kind of claim. The equilibrium distribution of the exit chain is proportional to the exit flux π(j)∑k∉Aq(j,k)\pi(j)\sum_{k\notin\mathcal A}q(j,k)π(j)∑k∈/A​q(j,k), and that of the entry chain to the entry flux. Proving this requires the hitting distributions and the Green's function of the jump chain killed on leaving a set, and the convergence of the series that define them. Corollary 9.8 (v) inherits that work. Theorem 9.9 requires uniqueness for the reduced frozen processes and careful bookkeeping of the fibres {xj:fj(xj)=nj}\{x_j:f_j(x_j)=n_j\}{xj​:fj​(xj​)=nj​}.

Formalization scope

State spaces are finite types, and every sum is an unconditional sum over a finite type. Because the state space is finite, the book's extra condition for (vi), a finite flux out of A\mathcal AA, holds automatically. Rates are real functions with q(j,j)=0q(j,j)=0q(j,j)=0 built into the hypotheses; the reduced rates of (9.31) also have zero self-rates. "The equilibrium distribution of a process is XXX" means: XXX is positive, sums to one, satisfies the equilibrium equations, and every distribution with these properties equals XXX. The book's "c≠0c\ne0c=0 or 111" is read as c>0c>0c>0, c≠1c\ne1c=1, so that altered rates remain rates. Truncation to A\mathcal AA is the published truncatedRates, a process on the subtype A\mathcal AA, and the reversed rates are the published reversedRates. The exit and entry chains are defined from the jump chain through series of restricted matrix powers. Spatial processes live on ∏jNj\prod_j\mathcal N_j∏j​Nj​ with TjmT_j^mTjm​ given by Function.update. In Theorem 9.9 the graph is complete, as the book assumes from p. 202 on.

The equilibrium distribution of the truncated process must be the unique positive normalized solution of the truncated equilibrium equations. It must not be defined as the conditional distribution, which would make (ii) a tautology. For the same reason (iii) and (iv) are stated through the equilibrium equations of the altered rates, not by assumption.

Theorem 9.10 (p. 207) is not a target. Its hypothesis, that a nominal lifetime "can have any distribution with unit mean", is not defined on the page, and the point-process and lifetime description it needs lies outside this rate-level development.

Contributions are welcome at every level: uniqueness and existence of equilibrium distributions for irreducible finite rate matrices (reusable across the series), convergence of the killed Green's function, and proofs of the corollaries from the goal.

Selected references

  • F. P. Kelly, Reversibility and Stochastic Networks, Wiley, Chichester, 1979; reissued Cambridge University Press, 2011. https://doi.org/10.1017/CBO9781139171724 (§9.4, pp. 200–208; §1.6, pp. 25–27)
  • F. P. Kelly and E. Yudovina, Stochastic Networks, Cambridge University Press, 2014. https://doi.org/10.1017/CBO9781139565363
11 thms3 active usersReviewed
🏆Completed
Graph TheoryOperations ResearchProbability+2·Captain: mikedeng1

Reversibility and Stochastic Networks VIII: Markov Fields — A Positive Random Field Is Markov iff It Factorizes over the Simplices of the GraphTextbook

Motivation

Many systems consist of a finite number of sites whose states influence one another only locally: fruit trees in an orchard that are diseased or healthy, power sources that are working or broken, individuals holding one of several views. Chapter 9 of F. P. Kelly, Reversibility and Stochastic Networks (Wiley, 1979) asks which joint distributions such systems have in equilibrium. Earlier chapters of the book produce product-form distributions in which the components are independent; spatial models instead give a limited dependence, and §9.1 makes that notion precise through Markov fields.

The central characterization, that a positive random field is Markov with respect to a graph exactly when it factorizes over the cliques of that graph, is the theorem of Hammersley and Clifford (1971, unpublished manuscript), with published proofs by Besag (1974), Grimmett (1973) and Preston (1973). It underlies Gibbs random fields in statistical mechanics, spatial statistics, image analysis and graphical models. Kelly's §§9.2–9.3 then use it to identify the equilibrium distributions of interacting-particle Markov processes ("spatial processes"), connecting it to reversibility and partial balance.

Setting

There are JJJ sites, the vertices of a finite graph GGG; ∂j\partial j∂j is the set of neighbours of site jjj and G−jG-jG−j the set of sites other than jjj. Site jjj carries an attribute njn_jnj​ from a finite set Nj\mathcal N_jNj​, and a state is n=(n1,…,nJ)\mathbf n=(n_1,\dots,n_J)n=(n1​,…,nJ​) in S=N1×⋯×NJ\mathcal S=\mathcal N_1\times\cdots\times\mathcal N_JS=N1​×⋯×NJ​. For a set of sites HHH, nH\mathbf n_HnH​ is the vector of attributes of the sites in HHH. The operator TjmT_j^mTjm​ changes the attribute of site jjj to mmm.

A random field is a function π\piπ on S\mathcal SS with π(n)>0\pi(\mathbf n)>0π(n)>0 for every state and ∑nπ(n)=1\sum_{\mathbf n}\pi(\mathbf n)=1∑n​π(n)=1. The conditional probability that site jjj has attribute njn_jnj​ given all other sites is

P(nj∣nG−j)=π(n)∑m∈Njπ(Tjmn).(9.1)P(n_j\mid\mathbf n_{G-j}) = \frac{\pi(\mathbf n)}{\sum_{m\in\mathcal N_j}\pi(T_j^m\mathbf n)}. \qquad (9.1)P(nj​∣nG−j​)=∑m∈Nj​​π(Tjm​n)π(n)​.(9.1)

π\piπ is a Markov field if P(nj∣nG−j)=P(nj∣n∂j)P(n_j\mid\mathbf n_{G-j}) = P(n_j\mid\mathbf n_{\partial j})P(nj​∣nG−j​)=P(nj​∣n∂j​) for every jjj and n\mathbf nn (9.2): the attribute of a site depends on the rest of the system only through its neighbours. A simplex is a single site or a set of sites any two of which are neighbours; C\mathcal CC is the set of simplices of GGG.

A spatial process is a Markov process n(t)\mathbf n(t)n(t) on S\mathcal SS with rates qqq such that (i) only one component changes at a time, (ii) q(n,Tjmn)q(\mathbf n,T_j^m\mathbf n)q(n,Tjm​n) depends on n\mathbf nn only through njn_jnj​ and n∂j\mathbf n_{\partial j}n∂j​, and (iii) TjmnT_j^m\mathbf nTjm​n can be reached from n\mathbf nn by transitions that do not alter nG−j\mathbf n_{G-j}nG−j​. The general spatial process of §9.3 has rates

q(n,Tjmn)=λj(nj,m) Φ(n)ΦG−j(nG−j)(9.15)q(\mathbf n,T_j^m\mathbf n)=\lambda_j(n_j,m)\,\frac{\Phi(\mathbf n)}{\Phi_{G-j}(\mathbf n_{G-j})} \qquad (9.15)q(n,Tjm​n)=λj​(nj​,m)ΦG−j​(nG−j​)Φ(n)​(9.15)

for positive functions Φ\PhiΦ, ΦG−j\Phi_{G-j}ΦG−j​.

Formalization targets

Goal: Theorem 9.2 (p. 186)

A random field π\piπ is a Markov field if and only if

π(n)=B∏C∈CϕC(nC),n∈S,(9.5)\pi(\mathbf n) = B\prod_{C\in\mathcal C}\phi_C(\mathbf n_C), \qquad \mathbf n\in\mathcal S, \qquad (9.5)π(n)=BC∈C∏​ϕC​(nC​),n∈S,(9.5)

for some constant BBB and functions ϕC\phi_CϕC​.

Milestones

  • Lemma 9.1 (p. 185): the conditional probabilities P(nj∣nG−j)P(n_j\mid\mathbf n_{G-j})P(nj​∣nG−j​), j∈Gj\in Gj∈G, n∈S\mathbf n\in\mathcal Sn∈S, determine the random field uniquely.
  • Theorem 9.3 (p. 189): the equilibrium distribution of a reversible spatial process is a Markov field.
  • Theorem 9.4 (p. 193): for the rates (9.15), with αj>0\alpha_j>0αj​>0 solving αj(n)∑mλj(n,m)=∑mαj(m)λj(m,n)\alpha_j(n)\sum_m\lambda_j(n,m)=\sum_m\alpha_j(m)\lambda_j(m,n)αj​(n)∑m​λj​(n,m)=∑m​αj​(m)λj​(m,n) (9.16), the equilibrium distribution is
π(n)=B ∏j=1Jαj(nj)Φ(n),(9.17)\pi(\mathbf n) = B\,\frac{\prod_{j=1}^J\alpha_j(n_j)}{\Phi(\mathbf n)}, \qquad (9.17)π(n)=BΦ(n)∏j=1J​αj​(nj​)​,(9.17)

and it satisfies the partial balance equations (9.18) site by site.

Significance

Theorem 9.2 turns a statement about conditional laws, which is how local interaction is usually specified, into an explicit parametrization of the joint law by clique potentials. On a lattice with binary attributes it reduces a Markov field to one parameter per site and one per pair of adjacent sites, giving the form π(n)=BαMβR\pi(\mathbf n)=B\alpha^M\beta^Rπ(n)=BαMβR (9.9). Theorem 9.3 shows that local, reversible dynamics produce Markov-field equilibria, and Theorem 9.4 gives a family of non-reversible processes, containing the closed migration process of Chapter 2, whose equilibria are still explicit; its partial balance equations are the bridge to §9.4.

All four results are classical and proved in the book. They are not, to our knowledge, machine-checked in this discrete form. The platform has an open statement of Hammersley–Clifford in a different setting, HighDimStat.GraphicalModels.thm11_8_hammersley_clifford (Wainwright, High-Dimensional Statistics, Theorem 11.8): a random vector in RV\mathbb R^VRV with a strictly positive Lebesgue density and the global (separation) Markov property. Neither statement implies the other as formalized, so this mission poses Kelly's finite, local version separately. A formal proof here also gives reusable infrastructure: conditional probabilities of a distribution on a finite product space, and factorizations over the cliques of a graph.

Difficulty

The "if" direction is routine. The "only if" direction is where the content lies: the functions ϕC\phi_CϕC​ must be produced from π\piπ alone, and a product over the cliques of GGG must reproduce π\piπ at every state, not only at the states whose nonzero attributes sit on a single clique. The natural first idea, one factor per site read off from the conditional laws, fails as soon as two sites interact. The Markov property must also be brought from its explicit form (9.2), which involves a marginal over the non-neighbours, into a usable statement about π\piπ itself. Strict positivity is essential: without it the "only if" direction is false (Exercise 9.2.2). For Theorem 9.3, condition (iii) cannot be dropped: Exercise 9.2.2 gives a reversible process satisfying (i) and (ii) whose equilibrium is not a Markov field, so any argument that uses only the local form of the rates fails.

Formalization scope

  • Sites form an arbitrary finite type V with decidable equality; attributes at site j form a finite type N j, which may differ between sites. States are dependent functions (j : V) → N j, and TjmnT_j^m\mathbf nTjm​n is Function.update n j m. The graph is a Mathlib SimpleGraph V, so ∂j\partial j∂j is G.neighborSet j.
  • A random field is a real function, positive at every state, with finite sum 111. P(nj∣n∂j)P(n_j\mid\mathbf n_{\partial j})P(nj​∣n∂j​) is the conditional probability computed from π\piπ (a ratio of finite sums), so (9.2) is stated literally.
  • Simplices are the nonempty cliques of the given graph GGG, including single sites. The factorization ranges over exactly these sets; a product over all subsets of sites, or over the cliques of the complete graph, would make the goal trivially true and is ruled out.
  • Theorems 9.3 and 9.4 are read at the level of rates: "equilibrium distribution of a reversible process" is a positive distribution summing to one in detailed balance with qqq (the published KellyStochasticNetworks.DetailedBalance), and "equilibrium distribution" in 9.4 is a positive distribution summing to one satisfying the equilibrium equations (KellyStochasticNetworks.FullBalance), together with its uniqueness under irreducibility. The Markov process itself is not constructed. The state space is always finite, so all sums are finite.
  • Contributions welcome: proofs of any item, general lemmas on conditional laws over finite product spaces, and a formal account of the general Hammersley–Clifford theorem that both this mission and the Wainwright statement could use.

Selected references

  • F. P. Kelly, Reversibility and Stochastic Networks, Wiley, 1979, Chapter 9. https://www.statslab.cam.ac.uk/~frank/BOOKS/kelly_book.html
  • J. Besag, Spatial interaction and the statistical analysis of lattice systems, J. Roy. Statist. Soc. B 36 (1974), 192–236. https://doi.org/10.1111/j.2517-6161.1974.tb00999.x
  • G. R. Grimmett, A theorem about random fields, Bull. London Math. Soc. 5 (1973), 81–84. https://doi.org/10.1112/blms/5.1.81
  • C. J. Preston, Generalized Gibbs states and Markov random fields, Adv. Appl. Probab. 5 (1973), 242–261. https://doi.org/10.2307/1426035
  • M. J. Wainwright, High-Dimensional Statistics, Cambridge University Press, 2019, Theorem 11.8. https://doi.org/10.1017/9781108627771
8 thms3 active usersReviewed
🏆Completed
Operations ResearchOptimizationProbability+1·Captain: mikedeng1

Reversibility and Stochastic Networks V: Optimal Capacity Allocation in a Network of QueuesTextbook

Motivation

Chapter 4 of F. P. Kelly's Reversibility and Stochastic Networks (Wiley, 1979) applies the product-form theory of Chapter 3 to concrete systems. Two of its results have numbered statements, and they answer two practical questions.

The first comes from the design of store-and-forward communication networks (telegraph and packet-switched data networks). Messages queue at channels; the designer chooses each channel's capacity subject to a budget, and wants to minimize the delay messages suffer. Because the equilibrium law at every channel is geometric under several different modelling assumptions (§4.1, pp. 95–96), the mean delay has a closed form, and the budget allocation problem becomes a small convex program with an explicit solution. This square-root capacity assignment goes back to L. Kleinrock's work on communication nets (Communication Nets, McGraw-Hill, 1964) and remains the textbook example of optimal design for a network of queues.

The second comes from compartmental models in biology, birth–illness–death processes and manpower planning (§4.5, pp. 113–115). Individuals enter a system as a Poisson stream and move through it independently. Equilibrium results follow from Chapter 3; Theorem 4.2 describes the transient behaviour exactly, starting from an empty system.

Setting

Capacity allocation (§4.1). A network has J≥1J \ge 1J≥1 channels. Channel jjj receives traffic at average rate aj>0a_j > 0aj​>0 and is given capacity ϕj\phi_jϕj​. In equilibrium the number njn_jnj​ of messages at channel jjj has the geometric law (4.1),

P(nj=n)=(1−ajϕj)(ajϕj)n,n=0,1,2,…,P(n_j = n) = \Big(1 - \frac{a_j}{\phi_j}\Big)\Big(\frac{a_j}{\phi_j}\Big)^n, \qquad n = 0, 1, 2, \dots,P(nj​=n)=(1−ϕj​aj​​)(ϕj​aj​​)n,n=0,1,2,…,

which requires ϕj>aj\phi_j > a_jϕj​>aj​. Its mean is aj/(ϕj−aj)a_j/(\phi_j - a_j)aj​/(ϕj​−aj​). Capacity on channel jjj costs fj>0f_j > 0fj​>0 per unit and the total budget is FFF, giving the cost constraint (4.2)

∑jfjϕj=F.\sum_j f_j\phi_j = F.j∑​fj​ϕj​=F.

The mean number of customers in the network is

N(ϕ)=∑jajϕj−aj,N(\phi) = \sum_j \frac{a_j}{\phi_j - a_j},N(ϕ)=j∑​ϕj​−aj​aj​​,

and the feasible set is the set of ϕ∈RJ\phi \in \mathbb{R}^Jϕ∈RJ with ϕj>aj\phi_j > a_jϕj​>aj​ for every jjj that satisfy (4.2). In Lean these are meanNumberInNetwork a φ and FeasibleCapacities a f F. The proof works with the Lagrangian lagrangian a f F y φ =N(ϕ)+y(∑jfjϕj−F)= N(\phi) + y(\sum_j f_j\phi_j - F)=N(ϕ)+y(∑j​fj​ϕj​−F).

Compartmental model (§4.5). Individuals arrive in a Poisson stream of rate ν>0\nu > 0ν>0 at a system of JJJ compartments that is empty at time 000. Let pj(s)p_j(s)pj​(s) be the probability that an individual is in compartment jjj a time sss after its arrival; pj(s)≥0p_j(s) \ge 0pj​(s)≥0 and ∑jpj(s)≤1\sum_j p_j(s) \le 1∑j​pj​(s)≤1, since individuals may leave. Let nj(t)n_j(t)nj​(t) be the number of individuals in compartment jjj at time t>0t > 0t>0, and

αj(t)=∫0tpj(u) du.\alpha_j(t) = \int_0^t p_j(u)\,du.αj​(t)=∫0t​pj​(u)du.

In Lean the model is the predicate IsCompartmentModel P ν t p M T Loc, the counts are compartmentCount M Loc j, and αj(t)\alpha_j(t)αj​(t) is alpha p j t.

Formalization targets

Goal: Theorem 4.1 (p. 97)

If J≥1J \ge 1J≥1, aj>0a_j > 0aj​>0, fj>0f_j > 0fj​>0 and F>∑kakfkF > \sum_k a_k f_kF>∑k​ak​fk​, then

ϕj∗=aj+ajfj∑kakfk⋅F−∑kakfkfj\phi^*_j = a_j + \frac{\sqrt{a_j f_j}}{\sum_k \sqrt{a_k f_k}}\cdot\frac{F - \sum_k a_k f_k}{f_j}ϕj∗​=aj​+∑k​ak​fk​​aj​fj​​​⋅fj​F−∑k​ak​fk​​

is feasible and minimizes NNN over the feasible set, and every other feasible ϕ\phiϕ has N(ϕ)>N(ϕ∗)N(\phi) > N(\phi^*)N(ϕ)>N(ϕ∗).

Milestones toward the goal

  1. The mean of the geometric law (4.1) is aj/(ϕj−aj)a_j/(\phi_j - a_j)aj​/(ϕj​−aj​) (p. 97).
  2. For y>0y > 0y>0 the Lagrangian is minimized over {ϕj>aj}\{\phi_j > a_j\}{ϕj​>aj​} by ϕj=aj+aj/(yfj)\phi_j = a_j + \sqrt{a_j/(y f_j)}ϕj​=aj​+aj​/(yfj​)​ (proof of Theorem 4.1).
  3. The choice 1/y=(F−∑kakfk)/∑kakfk1/\sqrt y = (F - \sum_k a_k f_k)/\sum_k\sqrt{a_k f_k}1/y​=(F−∑k​ak​fk​)/∑k​ak​fk​​ makes that minimizer equal to ϕ∗\phi^*ϕ∗ and feasible for (4.2).

Second result: Theorem 4.2 (pp. 114–115)

The proof's generating-function identity, for zj∈[0,1]z_j \in [0,1]zj​∈[0,1],

E(z1n1(t)⋯zJnJ(t))=∏j=1Jexp⁡[−(1−zj)ναj(t)],E\big(z_1^{n_1(t)}\cdots z_J^{n_J(t)}\big) = \prod_{j=1}^J \exp\big[-(1 - z_j)\nu\alpha_j(t)\big],E(z1n1​(t)​⋯zJnJ​(t)​)=j=1∏J​exp[−(1−zj​)ναj​(t)],

and the theorem itself: n1(t),…,nJ(t)n_1(t), \dots, n_J(t)n1​(t),…,nJ​(t) are independent and nj(t)n_j(t)nj​(t) is Poisson with mean ναj(t)\nu\alpha_j(t)ναj​(t).

Significance

Theorem 4.1 is a closed-form design rule. Every channel first receives the capacity aja_jaj​ needed to carry its traffic; the remaining budget is shared in proportion to ajfj\sqrt{a_j f_j}aj​fj​​, not to the traffic aja_jaj​. Sizing capacity in proportion to the load, which is the obvious rule, is therefore not optimal. The same calculation applies to any network whose stations have the geometric law (4.1), for example a manufacturing job shop (p. 97). The mean number in the network and the mean time a customer spends in it are minimized together.

Theorem 4.2 is the exact transient law of a network of infinite-server queues started empty. It holds however complicated the motion of an individual is, provided individuals move independently, and letting t→∞t \to \inftyt→∞ it recovers the equilibrium Poisson law of §4.5.

Both results are classical and proved in the book. Neither is formalized on Prove2Me. The platform has the geometric equilibrium law of the M/M/1 queue (KellyStochasticNetworks.mm1_equilibrium) but not its mean, and no result on Poisson thinning or marking by independent random locations. The formal work for Theorem 4.1 is a strict-convexity and Lagrangian-sufficiency argument in RJ\mathbb{R}^JRJ. For Theorem 4.2 it is a Poisson marking theorem in measure-theoretic probability. Both pieces are reusable.

Difficulty

For Theorem 4.1, the book's proof sets the partial derivatives of the Lagrangian to zero. A stationary point is not a global minimizer in general, so the formal proof must show that LLL is (strictly) convex on the open region ϕj>aj\phi_j > a_jϕj​>aj​, and it must use Lagrangian sufficiency, not first-order conditions alone. The region is open and the objective is unbounded near its boundary. Feasibility of ϕ∗\phi^*ϕ∗ needs F>∑kakfkF > \sum_k a_k f_kF>∑k​ak​fk​, which the book leaves implicit.

For Theorem 4.2, the steps of the proof that read "conditional on MMM" have to be carried out with measure-theoretic independence. One step averages a product over MMM independent uniform instants. Another sums the Poisson mixture into an exponential. The last turns a factorized generating function into mutual independence of JJJ counts with Poisson marginals. Mathlib has the Poisson distribution (ProbabilityTheory.poissonMeasure) but no marking or thinning theorem, and no uniqueness theorem for multivariate probability generating functions.

Formalization scope

Channels and compartments are indexed by Fin J; all rates, costs and capacities are real numbers.

Theorem 4.1. The statement carries the book's implicit hypotheses explicitly: J≥1J \ge 1J≥1, aj>0a_j > 0aj​>0, fj>0f_j > 0fj​>0, F>∑kakfkF > \sum_k a_k f_kF>∑k​ak​fk​. Stability ϕj>aj\phi_j > a_jϕj​>aj​ is part of the feasible set. The conclusion is global optimality over the feasible set (IsMinOn) together with feasibility of ϕ∗\phi^*ϕ∗, plus strict optimality against every other feasible point. Uniqueness is a slight strengthening of the book's "the optimal allocation is", and it holds by strict convexity. A statement that ϕ∗\phi^*ϕ∗ satisfies (4.2), or that it is a stationary point of the Lagrangian, is not the theorem: those are one-line computations or the proof method, and the goal is stated as global optimality to rule them out.

Theorem 4.2. The model is pinned down as in the proof on p. 115:

  • the number MMM of arrivals in (0,t)(0,t)(0,t) is Poisson with mean νt\nu tνt;
  • an i.i.d. sequence of (arrival instant, location at time ttt) pairs is independent of MMM, and only its first MMM entries are used;
  • each instant is uniform on (0,t)(0,t)(0,t), and an individual arriving at uuu is in compartment jjj at time ttt with probability pj(t−u)p_j(t-u)pj​(t−u), or has left.

"Individuals move independently" is formalized as this conditional independence. The pjp_jpj​ are measurable sub-probabilities, not assumed to sum to one. The conclusion is mutual independence of the JJJ counts (iIndepFun) together with the Poisson probability mass function of each. Infinite time horizons and the point-process description of the system are out of scope.

Useful contributions: a reusable Lagrangian-sufficiency lemma for separable convex objectives under one linear constraint; a Poisson marking (colouring) theorem for finitely many colours; the multivariate generating-function uniqueness lemma for NJ\mathbb{N}^JNJ-valued random vectors.

Selected references

  • F. P. Kelly, Reversibility and Stochastic Networks, John Wiley & Sons, 1979, Chapter 4 (§4.1, pp. 95–97; §4.5, pp. 113–115).
  • L. Kleinrock, Communication Nets: Stochastic Message Flow and Delay, McGraw-Hill, 1964 (reprinted Dover, 1972).
  • J. F. C. Kingman, Poisson Processes, Oxford University Press, 1993 (colouring and marking theorems).
8 thms3 active usersReviewed
🏆Completed
Operations ResearchProbabilityStochastic Systems·Captain: mikedeng1

Reversibility and Stochastic Networks III: Open Networks of Queues with General Customer Routes Have Product-Form EquilibriumTextbook

Motivation

Networks of queues model systems in which jobs visit a sequence of service stations: items in a manufacturing job-shop, packets in a communication network, patients moving between hospital departments. The open migration process of Chapter 2 of F. P. Kelly, Reversibility and Stochastic Networks (Wiley, 1979), and the job-shop networks of Jackson (Jackson 1963) route a customer leaving a queue at random, independently of where he has been. That rules out the most common situation in practice: an item that has passed machines 1 and 3 must next go to machine 4, while an item that has passed machines 2 and 3 must go to machine 5.

Section 3.1 of the book removes this restriction. Customers are divided into types, a type fixes a deterministic route through the queues, and a stochastic routing rule is recovered by using one type per possible route. Within each queue, the order of service is described by two position-dependent functions, which cover first-come first-served KKK-server queues, last-come first-served, processor sharing and service in random order. Theorem 3.1 states that, for every such network, the equilibrium distribution is a product of explicit single-queue factors. This is the result behind the "Kelly network" and "Kelly-type queue" terminology of later work (Kelly 1975; Baskett, Chandy, Muntz, Palacios 1975).

Setting

There are III customer types and JJJ queues. Customers of type iii enter the system in a Poisson stream of rate ν(i)>0\nu(i)>0ν(i)>0 and visit the queues r(i,1),r(i,2),…,r(i,S(i))r(i,1),r(i,2),\dots,r(i,S(i))r(i,1),r(i,2),…,r(i,S(i)) in that order before leaving; two successive stages of a route are at different queues.

Queue jjj holds its njn_jnj​ customers in positions 1,…,nj1,\dots,n_j1,…,nj​. Each customer needs an exponentially distributed amount of service with unit mean. The queue supplies total service effort at rate ϕj(nj)\phi_j(n_j)ϕj​(nj​), with ϕj(n)>0\phi_j(n)>0ϕj​(n)>0 for n>0n>0n>0; a proportion γj(l,nj)\gamma_j(l,n_j)γj​(l,nj​) goes to the customer in position lll. An arriving customer takes position lll with probability δj(l,nj+1)\delta_j(l,n_j+1)δj​(l,nj​+1). For each n≥1n\ge1n≥1, γj(⋅,n)\gamma_j(\cdot,n)γj​(⋅,n) and δj(⋅,n)\delta_j(\cdot,n)δj​(⋅,n) are probability vectors on {1,…,n}\{1,\dots,n\}{1,…,n}.

The class of the customer in position lll of queue jjj is cj(l)=(tj(l),sj(l))c_j(l)=(t_j(l),s_j(l))cj​(l)=(tj​(l),sj​(l)), his type and the stage of his route. The state of queue jjj is cj=(cj(1),…,cj(nj))\mathbf c_j=(c_j(1),\dots,c_j(n_j))cj​=(cj​(1),…,cj​(nj​)) and the state of the network is C=(c1,…,cJ)\mathbf C=(\mathbf c_1,\dots,\mathbf c_J)C=(c1​,…,cJ​). Its transition rates q(C,D)q(\mathbf C,\mathbf D)q(C,D), displays (3.1)–(3.6), are the sums of the intensities of all events taking C\mathbf CC to D\mathbf DD: a departure from the system (intensity ϕj(nj)γj(l,nj)\phi_j(n_j)\gamma_j(l,n_j)ϕj​(nj​)γj​(l,nj​)), a move from position lll of queue jjj to position mmm of the next queue kkk (intensity ϕj(nj)γj(l,nj)δk(m,nk+1)\phi_j(n_j)\gamma_j(l,n_j)\delta_k(m,n_k+1)ϕj​(nj​)γj​(l,nj​)δk​(m,nk​+1)), and an arrival into position mmm of the first queue kkk of a route (intensity ν(i)δk(m,nk+1)\nu(i)\delta_k(m,n_k+1)ν(i)δk​(m,nk​+1)).

With αj(i,s)=ν(i)\alpha_j(i,s)=\nu(i)αj​(i,s)=ν(i) if r(i,s)=jr(i,s)=jr(i,s)=j and 000 otherwise, set

aj=∑i,sαj(i,s),bj−1=∑n=0∞ajn∏l=1nϕj(l),πj(cj)=bj∏l=1njαj(tj(l),sj(l))ϕj(l).a_j=\sum_{i,s}\alpha_j(i,s),\qquad b_j^{-1}=\sum_{n=0}^{\infty}\frac{a_j^n}{\prod_{l=1}^{n}\phi_j(l)},\qquad \pi_j(\mathbf c_j)=b_j\prod_{l=1}^{n_j}\frac{\alpha_j(t_j(l),s_j(l))}{\phi_j(l)}.aj​=i,s∑​αj​(i,s),bj−1​=n=0∑∞​∏l=1n​ϕj​(l)ajn​​,πj​(cj​)=bj​l=1∏nj​​ϕj​(l)αj​(tj​(l),sj​(l))​.

Formalization targets

Goal: Theorem 3.1 (p. 61)

If every series defining bj−1b_j^{-1}bj−1​ converges, then

π(C)=∏j=1Jπj(cj)\pi(\mathbf C)=\prod_{j=1}^{J}\pi_j(\mathbf c_j)π(C)=j=1∏J​πj​(cj​)

is positive, sums to 111 over all network states, and satisfies the equilibrium equations

π(C)∑Dq(C,D)=∑Dπ(D) q(D,C)for every C.\pi(\mathbf C)\sum_{\mathbf D}q(\mathbf C,\mathbf D)=\sum_{\mathbf D}\pi(\mathbf D)\,q(\mathbf D,\mathbf C)\quad\text{for every }\mathbf C.π(C)D∑​q(C,D)=D∑​π(D)q(D,C)for every C.

Milestones

  • Theorem 3.2 (p. 62). The time-reversed rates π(D)q(D,C)/π(C)\pi(\mathbf D)q(\mathbf D,\mathbf C)/\pi(\mathbf C)π(D)q(D,C)/π(C) are the rates of the reversed network: routes traversed backwards, γj\gamma_jγj​ and δj\delta_jδj​ interchanged.
  • Corollary 3.4 (p. 63). Queue jjj is independent of the rest of the network, is in state cj\mathbf c_jcj​ with probability πj(cj)\pi_j(\mathbf c_j)πj​(cj​), holds nnn customers with probability bjajn/∏l=1nϕj(l)b_ja_j^n/\prod_{l=1}^n\phi_j(l)bj​ajn​/∏l=1n​ϕj​(l) (3.7), and a customer in position lll is of class (i,s)(i,s)(i,s) with probability αj(i,s)/aj\alpha_j(i,s)/a_jαj​(i,s)/aj​.
  • Corollary 3.5 (p. 63). A type-iii customer reaching queue jjj at stage sss finds it in state cj\mathbf c_jcj​ with probability πj(cj)\pi_j(\mathbf c_j)πj​(cj​).
  • Lemma 3.13 (p. 89). For a multiclass queue with Poisson arrivals of rate ν(c)\nu(c)ν(c) and departure intensities ν(c)ϕc(n)\nu(c)\phi_c(\mathbf n)ν(c)ϕc​(n): reversible ⇔\Leftrightarrow⇔ quasi-reversible ⇔\Leftrightarrow⇔ Φ(n)=ϕc(n)Φ(n−ec)\Phi(\mathbf n)=\phi_c(\mathbf n)\Phi(\mathbf n-\mathbf e_c)Φ(n)=ϕc​(n)Φ(n−ec​) for some positive Φ\PhiΦ (3.26).

Significance

Theorem 3.1 gives the full joint law of a network in which routes carry memory, and its corollaries turn it into usable performance formulas: each queue behaves, in its marginal law and as seen by arriving customers, like an isolated queue fed by a Poisson stream of rate aja_jaj​, even though the actual arrival stream at queue jjj is not Poisson. Mean sojourn times along a route then follow from Little's result. Theorem 3.2 identifies the reversed process as a network of the same kind; it is the source of the departure-stream results (Corollary 3.3) and of the arrival theorem (Corollary 3.5). Lemma 3.13 isolates the condition (3.26) under which state-dependent arrival rates preserve the product form (Theorem 3.14).

The results are classical and proved in the book. None of them has a machine-checked proof: the Prove2Me catalogue holds the rate-level theorems for migration processes (Chapter 2 of Kelly–Yudovina), and open targets for the BCMP and Jackson models, which have different state descriptions. This mission adds a formal model of the position-structured multiclass network itself, with the summation over coinciding transitions that (3.2), (3.4) and (3.6) require, and product-form, reversal and arrival-theorem statements over it.

Difficulty

The obvious first attempt, detailed balance, fails: π(C)q(C,D)\pi(\mathbf C)q(\mathbf C,\mathbf D)π(C)q(C,D) and π(D)q(D,C)\pi(\mathbf D)q(\mathbf D,\mathbf C)π(D)q(D,C) differ in general, because a customer's route cannot be run backwards inside the same network (q(D,C)q(\mathbf D,\mathbf C)q(D,C) is usually 000 when q(C,D)>0q(\mathbf C,\mathbf D)>0q(C,D)>0). The equilibrium equations therefore involve, for each state, all its predecessors at once. The rates are themselves sums over coinciding transitions, so a statement about individual events does not transfer to the rates without accounting for which positions lead to the same successor state. In Lean this brings in insertion into and deletion from position lists, the relabelling of stages, and the normalization of a product over a countable space of JJJ-tuples of lists, reorganized by queue length together with the identity ∑classes at jαj=aj\sum_{\text{classes at } j}\alpha_j=a_j∑classes at j​αj​=aj​.

Formalization scope

  • Finite types and queues. Types are Fin I, queues Fin J; the book allows countably many types with ∑iν(i)<∞\sum_i\nu(i)<\infty∑i​ν(i)<∞. A network state is a function assigning to each queue a list of classes (i,s)(i,s)(i,s) with r(i,s)=jr(i,s)=jr(i,s)=j; the state space is countable and all sums over it are tsum/HasSum.
  • Indexing. Stages and list positions are 000-based in Lean; γj(l,n)\gamma_j(l,n)γj​(l,n) and δj(l,n)\delta_j(l,n)δj​(l,n) keep the book's 111-based position argument.
  • Rate level. Equilibrium means: positive, summing to 111, and satisfying the equilibrium equations (the published KellyStochasticNetworks.FullBalance). The existence of the Markov process, irreducibility and non-explosion are not formalized. "The reversed process" (Theorem 3.2) is read through the reversed rates π(D)q(D,C)/π(C)\pi(\mathbf D)q(\mathbf D,\mathbf C)/\pi(\mathbf C)π(D)q(D,C)/π(C); "the probability he finds" (Corollary 3.5) is read as a ratio of equilibrium arrival fluxes; quasi-reversibility is its rate characterization (3.8), (3.10).
  • Normalizing constants. bjb_jbj​ is defined through a tsum, which Lean sets to 000 for a divergent series; every theorem assumes the series converges, the book's "none of b1,…,bJb_1,\dots,b_Jb1​,…,bJ​ is zero".
  • No trivial instance. The goal holds for arbitrary III, JJJ, ν\nuν, routes, ϕj\phi_jϕj​, γj\gamma_jγj​, δj\delta_jδj​ subject only to the book's constraints; a proof for a single queue, or for fixed γ=δ\gamma=\deltaγ=δ disciplines, does not prove it. In Lemma 3.13 the function Φ\PhiΦ is required to be positive, since Φ≡0\Phi\equiv0Φ≡0 satisfies (3.26) for every queue.

Infrastructure that a complete development needs: list insertion/deletion lemmas for position bookkeeping, sums of products over ∏jList(⋅)\prod_j \mathrm{List}(\cdot)∏j​List(⋅), and a bijection-of-events argument for summed rates. The quasi-reversibility predicate and the reversed-rate apparatus are reusable for the closed networks of §3.4 and the symmetric queues of §3.3. Contributions are welcome on any milestone, in any order.

Selected references

  • F. P. Kelly, Reversibility and Stochastic Networks, John Wiley & Sons, 1979. https://www.statslab.cam.ac.uk/~frank/BOOKS/kelly_book.html
  • F. P. Kelly, Networks of queues with customers of different types, Journal of Applied Probability 12 (1975), 542–554. https://doi.org/10.2307/3212785
  • F. Baskett, K. M. Chandy, R. R. Muntz, F. G. Palacios, Open, closed, and mixed networks of queues with different classes of customers, Journal of the ACM 22 (1975), 248–260. https://doi.org/10.1145/321879.321887
  • J. R. Jackson, Jobshop-like queueing systems, Management Science 10 (1963), 131–142. https://doi.org/10.1287/mnsc.10.1.131
  • F. P. Kelly, E. Yudovina, Stochastic Networks, Cambridge University Press, 2014. https://doi.org/10.1017/CBO9781139565363
10 thms3 active usersReviewed
🏆Completed
Operations ResearchProbabilityStochastic Systems·Captain: mikedeng1

Reversibility and Stochastic Networks IV: Symmetric Queues with Gamma-Mixture Service RequirementsTextbook

Why symmetric queues

The classical product-form results for queueing networks (Jackson, Kelly, Baskett–Chandy–Muntz–Palacios) assume exponentially distributed service requirements, because then the state of a queue need not record how much service each customer has received. Real service times are rarely exponential: telephone call lengths, job sizes in time-shared computers and web transfers are far from it. Symmetric queues, introduced in §3.3 of F. P. Kelly, Reversibility and Stochastic Networks (Wiley, 1979), form the class of single queues for which the stationary distribution of the number of customers, and of their classes, depends on the service requirement distribution only through its mean. This property, insensitivity, is what makes Erlang's loss formula valid for arbitrarily distributed call lengths (Kelly, p. 79), and it is the reason processor-sharing, last-come-first-served preemptive and infinite-server stations may appear with general service in product-form networks.

Timeline. Sevastyanov (1957) proved that Erlang's loss formula holds for arbitrarily distributed call lengths. Kelly (1975, 1976) introduced queues with customers of different types whose effort and arrival-position functions coincide, and showed product form for networks of them with non-exponential service built from exponential stages; Barbour (1976) extended the method of stages; Baskett, Chandy, Muntz and Palacios (1975) gave product form for networks containing processor-sharing, LCFS-preemptive and infinite-server stations with phase-type service. Kelly's 1979 book presents the symmetric queue in the form formalized here.

Setting

A symmetric queue holds customers in positions 1,2,…,n1, 2, \dots, n1,2,…,n, where nnn is the number present. It operates as follows (Kelly, p. 72):

  1. the service requirement of a customer is a random variable whose distribution may depend on the class of the customer;
  2. a total service effort is supplied at rate ϕ(n)\phi(n)ϕ(n), with ϕ(n)>0\phi(n) > 0ϕ(n)>0 for n>0n > 0n>0;
  3. a proportion γ(l,n)\gamma(l, n)γ(l,n) of this effort, ∑l=1nγ(l,n)=1\sum_{l=1}^n \gamma(l, n) = 1∑l=1n​γ(l,n)=1, goes to the customer in position lll; when he leaves, the customers in positions l+1,…,nl+1, \dots, nl+1,…,n move down by one;
  4. an arriving customer moves into position l∈{1,…,n+1}l \in \{1, \dots, n+1\}l∈{1,…,n+1} with probability γ(l,n+1)\gamma(l, n+1)γ(l,n+1) — the same function — and the customers in positions l,…,nl, \dots, nl,…,n move up by one.

Server-sharing (γ(l,n)=1/n\gamma(l, n) = 1/nγ(l,n)=1/n), the stack (γ(n,n)=1\gamma(n, n) = 1γ(n,n)=1, last come first served preemptive), the queue with no waiting room and the infinite-server queue are examples (pp. 73–74).

Customers of class ccc arrive in a Poisson stream of rate ν(c)\nu(c)ν(c). On arrival a class-ccc customer receives a refined class (c,z)(c, z)(c,z) with probability p(c,z)p(c, z)p(c,z), ∑zp(c,z)=1\sum_z p(c, z) = 1∑z​p(c,z)=1, and then needs w(c,z)≥1w(c, z) \ge 1w(c,z)≥1 independent stages of service, each exponentially distributed with mean d(c,z)>0d(c, z) > 0d(c,z)>0. The class-ccc service requirement is therefore a mixture of gamma distributions with mean

a(c)=∑zp(c,z) w(c,z) d(c,z),a(c) = \sum_z p(c, z)\, w(c, z)\, d(c, z),a(c)=z∑​p(c,z)w(c,z)d(c,z),

and the work arriving per unit time is a=∑cν(c)a(c)a = \sum_c \nu(c) a(c)a=∑c​ν(c)a(c). The record of the customer in position lll is c(l)=(c(l),z(l),u(l))\mathbf c(l) = (c(l), z(l), u(l))c(l)=(c(l),z(l),u(l)), u(l)u(l)u(l) the stage in progress, and c=(c(1),…,c(n))\mathbf c = (\mathbf c(1), \dots, \mathbf c(n))c=(c(1),…,c(n)) is a Markov process. Its transitions are: an arrival of class (c,z)(c,z)(c,z) into position lll at stage 111, at rate ν(c)p(c,z)γ(l,n+1)\nu(c)p(c,z)\gamma(l, n+1)ν(c)p(c,z)γ(l,n+1); and, at rate ϕ(n)γ(l,n)/d(c(l),z(l))\phi(n)\gamma(l,n)/d(c(l),z(l))ϕ(n)γ(l,n)/d(c(l),z(l)), completion of the current stage of the customer in position lll, which moves him to the next stage or, after stage w(c(l),z(l))w(c(l), z(l))w(c(l),z(l)), out of the queue. The normalizing constant is

b−1=∑n=0∞an∏l=1nϕ(l).(3.15)b^{-1} = \sum_{n=0}^{\infty} \frac{a^n}{\prod_{l=1}^n \phi(l)}. \tag{3.15}b−1=n=0∑∞​∏l=1n​ϕ(l)an​.(3.15)

Formalization targets

Goal: Theorem 3.8

When (3.15) converges, the distribution

π(c)=b∏l=1nν(c(l)) p(c(l),z(l)) d(c(l),z(l))ϕ(l)(3.18)\pi(\mathbf c) = b \prod_{l=1}^n \frac{\nu(c(l))\, p(c(l), z(l))\, d(c(l), z(l))}{\phi(l)} \tag{3.18}π(c)=bl=1∏n​ϕ(l)ν(c(l))p(c(l),z(l))d(c(l),z(l))​(3.18)

is the equilibrium distribution of c\mathbf cc, and under it

P(n customers)=b an∏l=1nϕ(l),P(classes c1,…,cn∣n)=∏l=1nν(cl) a(cl)a,\mathbb P(n \text{ customers}) = \frac{b\,a^n}{\prod_{l=1}^n \phi(l)}, \qquad \mathbb P(\text{classes } c_1, \dots, c_n \mid n) = \prod_{l=1}^n \frac{\nu(c_l)\, a(c_l)}{a},P(n customers)=∏l=1n​ϕ(l)ban​,P(classes c1​,…,cn​∣n)=l=1∏n​aν(cl​)a(cl​)​,

and the queue is quasi-reversible with respect to the classification ccc and to (c,z)(c, z)(c,z): from every state, the rate of arrivals of each class does not depend on the state, both for the process and its time reversal (relations (3.8) and (3.10) of p. 67).

Milestones

  • Eqs. (3.14)–(3.15): the case of one refinement per class, π(c)=b∏lν(c(l))d(c(l))/ϕ(l)\pi(\mathbf c) = b\prod_l \nu(c(l))d(c(l))/\phi(l)π(c)=b∏l​ν(c(l))d(c(l))/ϕ(l) with a=∑cν(c)d(c)w(c)a = \sum_c \nu(c)d(c)w(c)a=∑c​ν(c)d(c)w(c).
  • Eqs. (3.16)–(3.17): in that case, the law of nnn, and given nnn independent positions of class ccc with probability ν(c)d(c)w(c)/a\nu(c)d(c)w(c)/aν(c)d(c)w(c)/a and uniform stage.
  • Eq. (3.18): the equilibrium distribution under gamma-mixture service.
  • Lemma 3.9: mixtures of gamma distributions approximate, at continuity points, the distribution function of any positive random variable.

Significance

Theorem 3.8 gives the stationary law of a symmetric queue in closed form and shows that it depends on the service requirement distributions only through their means a(c)a(c)a(c). Quasi-reversibility (part (iii)) is the property that lets symmetric queues be placed in networks: Kelly's §3.2 shows that a network of quasi-reversible queues has a product-form equilibrium, so Theorem 3.8 is the single-queue input to product-form networks with processor-sharing, LCFS-preemptive and infinite-server stations and class-dependent, non-exponential service. Lemma 3.9 is the approximation step behind the extension to arbitrary service distributions (Theorem 3.10).

These results are classical and proved in the book. To our knowledge none of them is machine-checked; Mathlib has the gamma distribution and distribution functions but no queueing theory. The mission produces a formal model of the symmetric queue as a countable-state Markov process, its equilibrium distribution, the insensitive marginals and the rate characterization of quasi-reversibility, all reusable by the chapter on networks of quasi-reversible queues.

Difficulty

The obvious first attempt, detailed balance, fails: the stage process is not reversible in general, since an intermediate stage completion has no transition back. The equilibrium equations must be verified in full, over a countable state space in which a single state is reached from infinitely many others. The symmetry condition γ≡δ\gamma \equiv \deltaγ≡δ is essential and must enter the argument: without it (for first-come-first-served, say) the distribution (3.18) is false for non-exponential service. Positions shift on every arrival and departure, so the bookkeeping of which list results from which event, including coincidences when neighbouring customers have identical records, is the main formal burden. The marginal computations sum (3.18) over lists of records, where convergence must be tracked, and Lemma 3.9 needs an explicit construction of approximating gamma mixtures.

Formalization scope

  • The state is a List of customer records (class, refined class, stage); list index iii is position l=i+1l = i + 1l=i+1, and γ(l,n)\gamma(l, n)γ(l,n), ϕ(n)\phi(n)ϕ(n) keep the book's 111-based indexing. The state space consists of the lists whose records have ν(c)p(c,z)>0\nu(c)p(c,z) > 0ν(c)p(c,z)>0 and 1≤u≤w(c,z)1 \le u \le w(c, z)1≤u≤w(c,z): records of a refined class arriving at rate zero are unreachable and excluded.
  • Classes C\mathcal CC and refinements Z\mathcal ZZ are arbitrary countable types. All infinite sums are HasSum or tsum with explicit convergence hypotheses: ∑cν(c)<∞\sum_c \nu(c) < \infty∑c​ν(c)<∞ (finite exit rates, the book's standing assumption of §1.1), convergence of a(c)a(c)a(c), of aaa, and of (3.15). "Equilibrium distribution" means positive, summing to one, and satisfying the equilibrium equations with convergent series.
  • The statement is rate level: (3.18) is shown to satisfy the equilibrium equations of the stage process, and quasi-reversibility is its rate characterization (3.8), (3.10). That these describe the stationary process and its time reversal is the book's Chapter 1 and is not reformalized.
  • Trivializing readings ruled out: the goal keeps ppp, www and ddd general (not w≡1w \equiv 1w≡1, which would make the result Section 3.1's exponential case); the arrival position uses the same γ\gammaγ as the service split; and in Lemma 3.9 the approximants must be genuine gamma mixtures with integer shapes, which a point mass is not.
  • Not planned: Theorem 3.10 (arbitrary service distributions; only an outline of proof and a continuous state space the book does not construct) and Theorem 3.11 (reversibility of the number in queue, a non-Markov process).

Welcome contributions: proofs of the milestones, lemmas about List.insertIdx/List.eraseIdx bookkeeping for queues with positions, and summation over lists of records.

Selected references

  • F. P. Kelly, Reversibility and Stochastic Networks, Wiley, Chichester, 1979, §3.3, pp. 72–82. https://www.statslab.cam.ac.uk/~frank/BOOKS/kelly_book.html
  • F. P. Kelly, Networks of queues with customers of different types, Journal of Applied Probability 12 (1975), 542–554. https://www.jstor.org/journal/japplprob
  • F. P. Kelly, Networks of queues, Advances in Applied Probability 8 (1976), 416–432. https://www.jstor.org/journal/advaapplprob
  • A. D. Barbour, Networks of queues and the method of stages, Advances in Applied Probability 8 (1976), 584–591. https://www.jstor.org/journal/advaapplprob
  • B. A. Sevastyanov, An ergodic theorem for Markov processes and its application to telephone systems with refusals, Theory of Probability and its Applications 2 (1957), 104–112.
  • F. Baskett, K. M. Chandy, R. R. Muntz, F. G. Palacios, Open, closed, and mixed networks of queues with different classes of customers, Journal of the ACM 22 (1975), 248–260. https://doi.org/10.1145/321879.321887
9 thms3 active usersReviewed
🏆Completed
Dynamic ProgrammingOperations Research·Captain: mikedeng1

Discrete Dynamic Programming 1: Every Finite Markov Decision Problem Has a Stationary Policy That Is Optimal for All Discount Factors Sufficiently Near 1Research Paper

Motivation

A Markov decision problem models a system that is observed once per period and controlled by choosing an action: the action earns an immediate income and determines the probabilities of the next state. Inventory control, machine replacement, queue admission and many reinforcement-learning benchmarks are of this form. With future income discounted by a factor β<1\beta<1β<1, Howard (Dynamic Programming and Markov Processes, 1960) showed how to compute an optimal policy by policy improvement. The undiscounted problem (β=1\beta=1β=1) is harder, because total income is typically infinite.

David Blackwell's Discrete Dynamic Programming (Ann. Math. Statist. 33 (1962) 719–726) treats β=1\beta=1β=1 as a limit of β<1\beta<1β<1. Its Theorem 5 shows that some stationary policy is optimal simultaneously for all discount factors sufficiently close to 111. Such policies are now called Blackwell optimal, and the result is the base of sensitive discount optimality (Veinott, 1969) and of the standard textbook treatment of average-reward problems (Puterman, Markov Decision Processes, 1994, Ch. 10).

Timeline. Howard (1960): policy iteration for discounted and average-reward finite problems. Blackwell (1962): Theorem 5 (Blackwell optimal stationary policies exist) and the characterization of nearly optimal stationary policies (Theorem 4, the subject of the companion mission). Miller and Veinott (Ann. Math. Statist. 40 (1969) 366–370), Veinott (Ann. Math. Statist. 40 (1969) 1635–1660): Laurent expansions of VβV_\betaVβ​ in 1−β1-\beta1−β and nnn-discount optimality.

Setting

There are finitely many states sss and a finite set AAA of actions, every action available in every state. In state sss, action aaa yields income i(s,a)∈Ri(s,a)\in\mathbb Ri(s,a)∈R (any sign) and moves the system to state s′s's′ with probability q(s′∣s,a)q(s'\mid s,a)q(s′∣s,a); each q(⋅∣s,a)q(\cdot\mid s,a)q(⋅∣s,a) is a probability vector.

A decision rule is a function fff from states to actions; FFF is the finite set of decision rules. A policy is a sequence π={fn, n=1,2,… }\pi=\{f_n,\ n=1,2,\dots\}π={fn​, n=1,2,…} in FFF: on day nnn, in state sss, action fn(s)f_n(s)fn​(s) is used. Policies are deterministic and Markov but may change with time. The policy (f,π)(f,\pi)(f,π) uses fff on day 111 and then follows π\piπ; f(∞)f^{(\infty)}f(∞) uses fff every day and is called stationary.

For f∈Ff\in Ff∈F, r(f)r(f)r(f) is the vector (i(s,f(s)))s(i(s,f(s)))_s(i(s,f(s)))s​ and Q(f)Q(f)Q(f) the Markov matrix (q(s′∣s,f(s)))s,s′(q(s'\mid s,f(s)))_{s,s'}(q(s′∣s,f(s)))s,s′​. With Q0(π)=IQ_0(\pi)=IQ0​(π)=I and Qn(π)=Q(f1)⋯Q(fn)Q_n(\pi)=Q(f_1)\cdots Q(f_n)Qn​(π)=Q(f1​)⋯Q(fn​), the return of π\piπ at discount factor 0≤β<10\le\beta<10≤β<1 is

Vβ(π)=∑n=0∞βn Qn(π) r(fn+1),V_\beta(\pi)=\sum_{n=0}^\infty \beta^n\,Q_n(\pi)\,r(f_{n+1}),Vβ​(π)=n=0∑∞​βnQn​(π)r(fn+1​),

a vector indexed by the initial state. Vectors are compared coordinatewise; w1>w2w_1>w_2w1​>w2​ means w1≥w2w_1\ge w_2w1​≥w2​ and w1≠w2w_1\ne w_2w1​=w2​.

A policy π∗\pi^*π∗ is β\betaβ-optimal if Vβ(π∗)≥Vβ(π)V_\beta(\pi^*)\ge V_\beta(\pi)Vβ​(π∗)≥Vβ​(π) for every policy π\piπ. Following §4 of the paper, a policy is optimal if it is β\betaβ-optimal for all β\betaβ sufficiently near 111.

Formalization targets

Goal: Theorem 5

There exist a decision rule fff and β0<1\beta_0<1β0​<1 such that

Vβ(f(∞)) ≥ Vβ(π)for all β∈(β0,1) and all policies π.V_\beta(f^{(\infty)})\ \ge\ V_\beta(\pi)\qquad\text{for all }\beta\in(\beta_0,1)\text{ and all policies }\pi.Vβ​(f(∞)) ≥ Vβ​(π)for all β∈(β0​,1) and all policies π.

One fff and one β0\beta_0β0​ serve every competing policy and every β∈(β0,1)\beta\in(\beta_0,1)β∈(β0​,1).

Milestones

  1. The composition rule Vβ(f,π)=L(f)Vβ(π)V_\beta(f,\pi)=L(f)V_\beta(\pi)Vβ​(f,π)=L(f)Vβ​(π), with L(f)w=r(f)+βQ(f)wL(f)w=r(f)+\beta Q(f)wL(f)w=r(f)+βQ(f)w, and its NNN-fold version (§2).
  2. Theorem 1: if Vβ(f,π∗)≤Vβ(π∗)V_\beta(f,\pi^*)\le V_\beta(\pi^*)Vβ​(f,π∗)≤Vβ​(π∗) for all f∈Ff\in Ff∈F, then π∗\pi^*π∗ is β\betaβ-optimal.
  3. Theorem 2: if Vβ(f,π)>Vβ(π)V_\beta(f,\pi)>V_\beta(\pi)Vβ​(f,π)>Vβ​(π) then Vβ(f(∞))>Vβ(π)V_\beta(f^{(\infty)})>V_\beta(\pi)Vβ​(f(∞))>Vβ​(π).
  4. Theorem 3 (policy improvement): if no action improves f(∞)f^{(\infty)}f(∞) by one step, f(∞)f^{(\infty)}f(∞) is β\betaβ-optimal; otherwise switching to improving actions gives g(∞)>f(∞)g^{(\infty)}>f^{(\infty)}g(∞)>f(∞).
  5. Corollary: for each fixed β∈[0,1)\beta\in[0,1)β∈[0,1) some stationary policy is β\betaβ-optimal.
  6. Each coordinate of Vβ(f(∞))V_\beta(f^{(\infty)})Vβ​(f(∞)) is a rational function of β\betaβ on [0,1)[0,1)[0,1) with nonvanishing denominator.
  7. Some f∗f^*f∗ is β\betaβ-optimal for a set of β\betaβ's having 111 as a limit point.
  8. If Vβ(f∗(∞))≥Vβ(g(∞))V_\beta(f^{*(\infty)})\ge V_\beta(g^{(\infty)})Vβ​(f∗(∞))≥Vβ​(g(∞)) for a set of β\betaβ's accumulating at 111, then it holds for all β\betaβ near 111.

Significance

The result. Theorem 5 shows that the infinitely many discounted problems near β=1\beta=1β=1 share a common optimal stationary policy. Such a policy is also optimal for the long-run average criterion, which settles the existence of average-optimal stationary policies in finite models without any recurrence assumption. It also justifies computing undiscounted solutions as limits of discounted ones, and it is the first case of the sensitive optimality criteria developed later.

Formalizing it. The theorem is classical and proved in the paper and in the textbooks; there is no machine-checked proof of it in Blackwell's model on the platform. A related open item, SennottDP.AvgFinite.prop_6_2_3_blackwell_optimal, states the textbook version for nonnegative costs and randomized history-dependent policies; the present mission is Blackwell's own formulation with incomes of either sign and deterministic Markov policies. A complete development also yields a verified policy improvement theorem (Theorem 3) and the rationality of discounted values in β\betaβ, both reusable for any finite-state discounted model.

Difficulty

The Corollary gives, for each β\betaβ, some optimal stationary policy, and FFF is finite, so one f∗f^*f∗ is β\betaβ-optimal for infinitely many β\betaβ accumulating at 111. The obvious argument stops there: optimality on a sequence of β\betaβ's says nothing about the β\betaβ's in between, and a pointwise limit argument cannot produce a whole interval (β0,1)(\beta_0,1)(β0​,1). The step that fails is passing from "frequently" to "eventually", and it needs structural information about how VβV_\betaVβ​ depends on β\betaβ, not just continuity. A second difficulty is the comparison class: optimality must hold against all time-dependent policies, not only the finitely many stationary ones, so the final step has to bring the Corollary back in for every β\betaβ near 111.

Formalization scope

States and actions are finite nonempty Lean types St, Act; decision rules are functions St → Act and policies are sequences ℕ → St → Act, indexed from 000 (π 0 is Blackwell's f1f_1f1​). Incomes are real-valued with no sign restriction. The law of motion law s a s' =q(s′∣s,a)=q(s'\mid s,a)=q(s′∣s,a) satisfies the published predicate IsTransitionKernel. Qn(π)Q_n(\pi)Qn​(π) is the ordered matrix product and Vβ(π)V_\beta(\pi)Vβ​(π) is the tsum of the series, which converges absolutely for 0≤β<10\le\beta<10≤β<1; every statement at a fixed β\betaβ assumes 0≤β<10\le\beta<10≤β<1, and nothing is stated for β≥1\beta\ge1β≥1. Vector inequalities are coordinatewise, and the strict order is "≥\ge≥ and ≠\ne=", not coordinatewise strict. "β\betaβ sufficiently near 111" is "there is β0<1\beta_0<1β0​<1 such that for every β∈(β0,1)\beta\in(\beta_0,1)β∈(β0​,1)". The paper's §4 phrase Vβ(π)=U(β)V_\beta(\pi)=U(\beta)Vβ​(π)=U(β) is encoded as β\betaβ-optimality, so no supremum over policies appears.

The word "optimal" has two meanings in the paper: at one fixed β\betaβ (§3, the Corollary) and for all β\betaβ near 111 (§4, Theorem 5). The Lean development keeps them apart as IsBetaOptimal β and IsOptimal. A statement of Theorem 5 at a single β\betaβ, with "there exists β\betaβ", for a set of β\betaβ's accumulating at 111, or against stationary policies only would be a different and weaker theorem; the goal rules all of these out.

Needed infrastructure: summation and shifting of the discounted series, Neumann series (I−βQ)−1=∑nβnQn(I-\beta Q)^{-1}=\sum_n\beta^nQ^n(I−βQ)−1=∑n​βnQn for stochastic QQQ, Cramer's rule to express (I−βQ)−1r(I-\beta Q)^{-1}r(I−βQ)−1r as a ratio of polynomials in β\betaβ, and the fact that a nonzero polynomial has finitely many roots. The policy improvement theorem and the rationality lemma are reusable beyond this mission. Proofs of individual milestones are welcome independently.

Selected references

  • D. Blackwell, Discrete Dynamic Programming, Ann. Math. Statist. 33(2):719–726, 1962. https://doi.org/10.1214/aoms/1177704593
  • R. A. Howard, Dynamic Programming and Markov Processes, Technology Press and Wiley, 1960.
  • A. F. Veinott Jr., Discrete Dynamic Programming with Sensitive Discount Optimality Criteria, Ann. Math. Statist. 40(5):1635–1660, 1969. https://doi.org/10.1214/aoms/1177697379
  • M. L. Puterman, Markov Decision Processes: Discrete Stochastic Dynamic Programming, Wiley, 1994. https://doi.org/10.1002/9780470316887
  • L. I. Sennott, Stochastic Dynamic Programming and the Control of Queueing Systems, Wiley, 1999 (Proposition 6.2.3, Blackwell optimality for finite models). https://doi.org/10.1002/9780470317037
11 thms3 active usersReviewed
🏆Completed
Dynamic ProgrammingOperations ResearchProbability·Captain: mikedeng1

An Inventory Model with Limited Production Capacity and Uncertain Demands I. The Average-Cost Criterion: With Finite Storage a Modified Base-Stock Policy Is Strongly Average-Cost OptimalResearch Paper

Motivation

A manufacturer that makes one product to stock faces random demand, can produce at most bbb units per period, and can store at most UUU units. The classical result without the production limit is that a base-stock policy is optimal: raise inventory to a fixed level yˉ\bar yyˉ​ each period. With a production limit, the natural modification is to produce up to yˉ\bar yyˉ​ when that is possible and to produce at full capacity otherwise. Federgruen and Zipkin (1986) proved that this modified base-stock (critical-number) policy is optimal under the long-run average-cost criterion, for discrete demand with a general convex cost. Production-capacity models of this type are standard in operations management texts, and the result underlies the computational and comparative-static work that followed, starting with Part II of the same paper, which treats discounted costs.

Timeline.

  • 1950s–60s: optimality of base-stock (critical-number) policies for uncapacitated periodic-review models; see Heyman and Sobel's Stochastic Models in Operations Research, Vol. II (1984).
  • 1986: Federgruen and Zipkin, Part I (average cost, MOR 11(2):193–207) and Part II (discounted cost, MOR 11(2):208–215) establish the capacitated case. Part I handles the unbounded state space with a general average-cost theory for countable-state Markov decision processes by Federgruen, Schweitzer and Tijms (1983).

Setting

Time is divided into periods t=0,1,…t = 0, 1, \dotst=0,1,…. The demands D0,D1,…D_0, D_1, \dotsD0​,D1​,… are independent copies of a random variable DDD with values in {0,1,2,… }\{0, 1, 2, \dots\}{0,1,2,…} and probability mass function p(j)p(j)p(j); write μ=E(D)\mu = E(D)μ=E(D) and P(j)=Pr⁡{D≤j}P(j) = \Pr\{D \le j\}P(j)=Pr{D≤j}. At the start of period ttt the inventory is an integer xtx_txt​ (negative values are backorders). The decision maker raises it to

yt∈Y(xt)={y∈Z:xt≤y≤xt+b, y≤U},y_t \in Y(x_t) = \{y \in \mathbb Z : x_t \le y \le x_t + b,\ y \le U\},yt​∈Y(xt​)={y∈Z:xt​≤y≤xt​+b, y≤U},

pays the expected one-period cost G(yt)G(y_t)G(yt​), and demand is subtracted: xt+1=yt−Dtx_{t+1} = y_t - D_txt+1​=yt​−Dt​. The order cost per unit is set to zero, as in the paper; this loses no generality because every policy with finite average cost has the same average order cost.

The standing assumptions are: G≥0G \ge 0G≥0 is convex and G(y)→∞G(y) \to \inftyG(y)→∞ as ∣y∣→∞|y| \to \infty∣y∣→∞ (Assumption 1); the characteristic function of DDD is analytic at the origin (Assumption 2), and 0<μ0 < \mu0<μ; G(y)≤A+B∣y∣ρG(y) \le A + B|y|^\rhoG(y)≤A+B∣y∣ρ for some positive integer ρ\rhoρ (Assumption 3); b>μb > \mub>μ and P(b)<1P(b) < 1P(b)<1 (Assumption 4). The smallest global minimizer of GGG is yˉ∞\bar y^\inftyyˉ​∞, and U≥yˉ∞U \ge \bar y^\inftyU≥yˉ​∞.

A Markov policy is a sequence π=(π0,π1,… )\pi = (\pi_0, \pi_1, \dots)π=(π0​,π1​,…) of maps with πt(x)∈Y(x)\pi_t(x) \in Y(x)πt​(x)∈Y(x). The critical-number policy with critical number yˉ\bar yyˉ​ is δ[yˉ](x)=max⁡(x,min⁡(yˉ,x+b))\delta[\bar y](x) = \max(x, \min(\bar y, x + b))δ[yˉ​](x)=max(x,min(yˉ​,x+b)). A stationary policy δ\deltaδ is strongly optimal with average cost ggg if, from every initial state x≤Ux \le Ux≤U, its average cost t−1E{∑i<tG(yi)}t^{-1}E\{\sum_{i<t} G(y_i)\}t−1E{∑i<t​G(yi​)} converges to ggg, while every Markov policy has lim-inf average cost at least ggg from every initial state.

The analysis uses the operators Rv(y)=G(y)+E v(y−D)Rv(y) = G(y) + E\,v(y - D)Rv(y)=G(y)+Ev(y−D) and Sv(x)=min⁡y∈Y(x)Rv(y)Sv(x) = \min_{y \in Y(x)} Rv(y)Sv(x)=miny∈Y(x)​Rv(y), and the optimality equation

g+v(x)=Sv(x),x≤U.(6)g + v(x) = Sv(x),\qquad x \le U. \tag{6}g+v(x)=Sv(x),x≤U.(6)

For an interval ι=[l,u]\iota = [l, u]ι=[l,u], Hιv(x)H_\iota v(x)Hι​v(x) is the largest expected sum of v(yt)v(y_t)v(yt​), over policies forced to produce at capacity below lll and to produce nothing above uuu, until the inventory first returns to ι\iotaι.

Formalization targets

Goal: Theorem 1 (p. 202)

There exist g∗g^*g∗, v∗v^*v∗ and y∗≥yˉ∞y^* \ge \bar y^\inftyy∗≥yˉ​∞ such that (g∗,v∗)(g^*, v^*)(g∗,v∗) solves (6), v∗v^*v∗ is convex with global minimizer y∗y^*y∗, and

δ∗=δ[y∗] is strongly optimal with average cost g∗.\delta^* = \delta[y^*] \text{ is strongly optimal with average cost } g^*.δ∗=δ[y∗] is strongly optimal with average cost g∗.

The y∗y^*y∗ in the optimality claim is the minimizer constructed in part (a).

Milestones

  • Lemma 2(a)–(c) (pp. 196–197): a normal-tail inequality and two series estimates.
  • Lemma 3 (p. 198): if v(x)=O(∣x∣q)v(x) = O(|x|^q)v(x)=O(∣x∣q) then Hιv(x)=O(∣x∣q+3)H_\iota v(x) = O(|x|^{q+3})Hι​v(x)=O(∣x∣q+3).
  • Corollary 1 (p. 200): Hι1=O(∣x∣3)H_\iota 1 = O(|x|^3)Hι​1=O(∣x∣3) and HιG=O(∣x∣ρ+3)H_\iota G = O(|x|^{\rho+3})Hι​G=O(∣x∣ρ+3), both finite.
  • Corollary 2 (p. 201): (t+1)−1P[δ0t]⋯P[δtt](Hι1+HιG)(x)→0(t+1)^{-1}P[\delta_{0t}]\cdots P[\delta_{tt}](H_\iota 1 + H_\iota G)(x) \to 0(t+1)−1P[δ0t​]⋯P[δtt​](Hι​1+Hι​G)(x)→0.
  • Lemma 4 (p. 201): reachability of every state in [L,U−D−][L, U - D_-][L,U−D−​] under some policy that produces at capacity below LLL.
  • Lemma 5 (p. 202): SSS and QQQ preserve the class VVV of convex functions of growth O(∣x∣ρ+3)O(|x|^{\rho+3})O(∣x∣ρ+3) that are nonincreasing below yˉ∞\bar y^\inftyyˉ​∞.

Significance

The result. Theorem 1 reduces an infinite-state average-cost control problem to a one-parameter search over critical numbers. The paper then evaluates the average cost of δ[yˉ]\delta[\bar y]δ[yˉ​] by a renewal formula, proves it convex in yˉ\bar yyˉ​ (Theorem 2), and in §5 extends optimality to unlimited storage. The strong form of optimality matters: it compares with every Markov policy from every starting state, and it compares lim-infs, not only lim-sups.

Formalizing it. The theorem has a published proof, but no machine-checked one, and its proof relies on external results that are themselves unformalized: the countable-state average-cost theory of Federgruen, Schweitzer and Tijms, a fixed-point theorem on a compact convex subset of a product space, and a large-deviation estimate quoted from Feller. A formal development produces reusable infrastructure: expected first-passage sums for integer-valued random walks with a reflecting control, polynomial moment bounds for them, and the convexity-preservation argument for capacitated value iteration.

Difficulty

The state space is unbounded below, so the finite-state theory of average-cost Markov decision processes does not apply, and the one-period cost is unbounded. The obvious approach, letting the discount factor tend to one in the discounted problem, needs uniform bounds on relative value functions. Those bounds come from the expected cost until the inventory returns to a fixed interval, and with capacity limits that expectation must be controlled with growth O(∣x∣ρ+3)O(|x|^{\rho+3})O(∣x∣ρ+3) uniformly over a class of policies. This is the content of Lemma 3, whose proof combines a large-deviation estimate for the demand sums with a renewal-type recursion. A second obstacle is strong optimality: comparing with policies whose lim-inf average cost is smaller requires that the relative value function grows sublinearly along every admissible trajectory (Corollary 2).

Formalization scope

All objects are in the namespace FedergruenZipkin.AvgCost, defined in one file. States x,yx, yx,y and the capacity UUU are integers; demands are natural numbers with a real probability mass function p; bbb is a positive natural number. Convexity on Z\mathbb ZZ is the second-difference inequality. Expectations of a real function are series ∑jp(j) v(y−j)\sum_j p(j)\,v(y-j)∑j​p(j)v(y−j); expected policy costs and hitting sums are [0,∞][0,\infty][0,∞]-valued and need no integrability side condition. Feasibility and all properties of value functions are required only on states x≤Ux \le Ux≤U, which are the only states visited. Assumption 2 is stated literally, as real-analyticity of θ↦∑jp(j)eiθj\theta \mapsto \sum_j p(j)e^{i\theta j}θ↦∑j​p(j)eiθj at 000. The order cost is zero, as in the paper. yˉ∞\bar y^\inftyyˉ​∞ is a parameter characterised as the least minimizer of GGG, not an infimum.

"Strongly optimal" has no displayed definition in the paper; it is read from eq. (7) in the proof of Theorem 1(b): convergence of the average cost of δ∗\delta^*δ∗ to g∗g^*g∗ from every state, together with a lim-inf lower bound for every Markov (memoryless, possibly nonstationary) policy from every state. The class is neither widened to history-dependent policies nor narrowed to stationary ones. The goal additionally records that E v∗(y−D)E\,v^*(y-D)Ev∗(y−D) converges, that v∗v^*v∗ has growth O(∣x∣ρ+3)O(|x|^{\rho+3})O(∣x∣ρ+3), and that g∗≥0g^* \ge 0g∗≥0; all three follow from the paper's proof.

A trivializing reading is ruled out: the existence of ggg, vvv and y∗y^*y∗ is one existential, so y∗y^*y∗ cannot be decoupled from the solution of (6), and strong optimality includes the convergence of δ∗\delta^*δ∗'s own average cost to g∗g^*g∗, so g=0g = 0g=0 does not satisfy it vacuously.

Not posed: Lemma 1 (quoted from Feller, and replaceable by a Chernoff bound); the renewal formulas (10)–(11) and Theorem 2; and §5 (unlimited storage). Useful contributions include a formal theory of expected hitting sums for skip-free-upward random walks, and a proof of Lemma 3 by any route.

Selected references

  • A. Federgruen and P. Zipkin, An Inventory Model with Limited Production Capacity and Uncertain Demands I. The Average-Cost Criterion, Mathematics of Operations Research 11(2):193–207, 1986. https://doi.org/10.1287/moor.11.2.193
  • A. Federgruen and P. Zipkin, An Inventory Model with Limited Production Capacity and Uncertain Demands II. The Discounted-Cost Criterion, Mathematics of Operations Research 11(2):208–215, 1986. https://doi.org/10.1287/moor.11.2.208
  • A. Federgruen, P. J. Schweitzer and H. C. Tijms, Denumerable Undiscounted Semi-Markov Decision Processes with Unbounded Rewards, Mathematics of Operations Research 8(2):298–314, 1983. https://doi.org/10.1287/moor.8.2.298
  • D. P. Heyman and M. J. Sobel, Stochastic Models in Operations Research, Vol. II, McGraw-Hill, 1984.
  • W. Feller, An Introduction to Probability Theory and Its Applications, Vol. II, 2nd ed., Wiley, 1971.
10 thms3 active usersReviewed
🏆Completed
Operations ResearchProbabilityStochastic Systems·Captain: mikedeng1

Fundamentals of Queueing Theory VII: The Geometric Arrival-Point Law of the G/M/1 QueueTextbook

Motivation

Most queueing models with a closed-form answer assume Poisson arrivals. In practice the times between arrivals are often far from exponential: scheduled appointments, batch releases from an upstream process, or arrivals timed by a machine cycle. The G/M/1 queue keeps the service side exponential and makes no assumption about the arrival stream beyond independent, identically distributed interarrival times. It is the standard counterpart of the M/G/1 queue, and its solution is the one used in teaching and in practice whenever the input is not Poisson (Gross, Shortle, Thompson & Harris, Fundamentals of Queueing Theory, 4th ed., Wiley 2008, §5.3.1, DOI 10.1002/9781118625651).

The answer has an unusually clean form. The number of customers that an arriving customer finds in the system is geometric, exactly as in the M/M/1 queue, with the traffic intensity ρ\rhoρ replaced by a number r0r_0r0​ that depends on the whole interarrival distribution through a single scalar equation. This mission is the seventh of a series formalizing the book chapter by chapter; it covers the G/M/1 half of §5.3 (printed pp.259–263).

Setting

Customers arrive at a single server. The interarrival times are independent with common law AAA, a probability distribution on [0,∞)[0,\infty)[0,∞) with CDF A(t)A(t)A(t) and finite mean E[T]=1/λE[T] = 1/\lambdaE[T]=1/λ, λ>0\lambda > 0λ>0. Service times are independent exponential random variables with rate μ>0\mu > 0μ>0, and the discipline is first come, first served.

Let XnX_nXn​ be the number of customers in the system just before the nnnth arrival. Between two arrivals the server completes a Poisson number of services (truncated by the number present), so {Xn}\{X_n\}{Xn​} is a Markov chain on {0,1,2,… }\{0,1,2,\dots\}{0,1,2,…}. Its transition probabilities are built from

bk=∫0∞e−μt(μt)kk! dA(t)(k≥0),b_k = \int_0^\infty \frac{e^{-\mu t}(\mu t)^k}{k!}\,dA(t) \qquad (k \ge 0),bk​=∫0∞​k!e−μt(μt)k​dA(t)(k≥0),

the probability of exactly kkk completions during one interarrival time (Eq. (5.50)): pi0=1−∑k=0ibkp_{i0} = 1 - \sum_{k=0}^{i} b_kpi0​=1−∑k=0i​bk​, pij=bi+1−jp_{ij} = b_{i+1-j}pij​=bi+1−j​ for 1≤j≤i+11 \le j \le i+11≤j≤i+1, and pij=0p_{ij} = 0pij​=0 otherwise (Eq. (5.51)). A stationary arrival-point distribution is a probability vector q={qn}q = \{q_n\}q={qn​} with qP=qqP = qqP=q and qe=1qe = 1qe=1 (Eq. (5.52)); qnq_nqn​ is the long-run probability that an arrival finds nnn customers present.

The characteristic equation of the chain is

z=β(z),β(z)=∑n≥0bnzn,z = \beta(z), \qquad \beta(z) = \sum_{n \ge 0} b_n z^n ,z=β(z),β(z)=n≥0∑​bn​zn,

where β\betaβ is the probability generating function of {bn}\{b_n\}{bn​} (Eq. (5.55)). Equivalently z=A∗[μ(1−z)]z = A^*[\mu(1-z)]z=A∗[μ(1−z)] (Eq. (5.56)), where A∗(s)=∫0∞e−sx dA(x)A^*(s) = \int_0^\infty e^{-sx}\,dA(x)A∗(s)=∫0∞​e−sxdA(x) is the Laplace–Stieltjes transform of the interarrival law. The traffic intensity is ρ=λ/μ\rho = \lambda/\muρ=λ/μ.

Formalization targets

Goal: Eq. (5.60), the geometric arrival-point law

If ρ=λ/μ<1\rho = \lambda/\mu < 1ρ=λ/μ<1, there is a number r0r_0r0​ with 0<r0<10 < r_0 < 10<r0​<1 and r0=β(r0)r_0 = \beta(r_0)r0​=β(r0​), it is the only complex root of z=β(z)z = \beta(z)z=β(z) in the open unit disk, and

qn=(1−r0) r0 n(n≥0)q_n = (1 - r_0)\, r_0^{\,n} \qquad (n \ge 0)qn​=(1−r0​)r0n​(n≥0)

is a stationary arrival-point distribution and the only one. The root is part of the conclusion, not an assumption.

Milestones

  1. Eqs. (5.51)–(5.53): for a probability vector qqq, qP=qqP = qqP=q is equivalent to qi=∑k≥0qi+k−1bkq_i = \sum_{k\ge0} q_{i+k-1}b_kqi​=∑k≥0​qi+k−1​bk​ (i≥1i \ge 1i≥1) and q0=∑j≥0qj(1−∑k=0jbk)q_0 = \sum_{j\ge0} q_j\bigl(1 - \sum_{k=0}^{j} b_k\bigr)q0​=∑j≥0​qj​(1−∑k=0j​bk​).
  2. p.261: 0<b0<10 < b_0 < 10<b0​<1, bn>0b_n > 0bn​>0 for all nnn, β(1)=1\beta(1) = 1β(1)=1, and β′(1)=∑nnbn=μ/λ\beta'(1) = \sum_n n b_n = \mu/\lambdaβ′(1)=∑n​nbn​=μ/λ.
  3. Eq. (5.56): β(z)=A∗[μ(1−z)]\beta(z) = A^*[\mu(1-z)]β(z)=A∗[μ(1−z)] for ∣z∣≤1|z| \le 1∣z∣≤1.
  4. Eq. (5.58), Figure 5.2: z=β(z)z = \beta(z)z=β(z) has at most one root in (0,1)(0,1)(0,1), and one exists if and only if λ/μ<1\lambda/\mu < 1λ/μ<1.
  5. p.262: when λ/μ<1\lambda/\mu < 1λ/μ<1, z=β(z)z = \beta(z)z=β(z) has exactly one root with ∣z∣<1|z| < 1∣z∣<1.
  6. Eq. (5.59): successive substitution z(k+1)=β(z(k))z^{(k+1)} = \beta(z^{(k)})z(k+1)=β(z(k)) from any 0<z(0)<10 < z^{(0)} < 10<z(0)<1 converges to r0r_0r0​.
  7. Eq. (5.61): L(A)=r0/(1−r0)L^{(A)} = r_0/(1-r_0)L(A)=r0​/(1−r0​) and Lq(A)=r02/(1−r0)L_q^{(A)} = r_0^2/(1-r_0)Lq(A)​=r02​/(1−r0​).
  8. Eq. (5.62): Wq(t)=1−r0e−μ(1−r0)tW_q(t) = 1 - r_0 e^{-\mu(1-r_0)t}Wq​(t)=1−r0​e−μ(1−r0​)t and W(t)=1−e−μ(1−r0)tW(t) = 1 - e^{-\mu(1-r_0)t}W(t)=1−e−μ(1−r0​)t for t≥0t \ge 0t≥0.
  9. Eq. (5.63): Wq=r0/(μ(1−r0))W_q = r_0/(\mu(1-r_0))Wq​=r0​/(μ(1−r0​)) and W=1/(μ(1−r0))W = 1/(\mu(1-r_0))W=1/(μ(1−r0​)).

Significance

The result. Equation (5.60) reduces the analysis of a queue with arbitrary renewal input to one scalar root. Every arrival-point performance measure of the M/M/1 queue then carries over with ρ\rhoρ replaced by r0r_0r0​: the mean number found by an arrival, the mean queue found by an arrival, and the full distributions of line delay and system time seen by arrivals (Eqs. (5.61)–(5.63)). The same root drives the multiserver G/M/c analysis later in §5.3 and the relation between arrival-point and time-average probabilities in §6.3. The result also illustrates a point the book stresses: qnq_nqn​ is the distribution seen by arrivals, and it equals the time-average distribution pnp_npn​ only when the input is Poisson.

Formalizing it. The mathematics is classical (the embedded-chain method goes back to Kendall, 1953) and fully proved in the textbook literature; nothing here is open. To our knowledge none of it has a machine-checked proof: the platform had no G/M/1, embedded-chain, or Rouché-type statement when this mission was drafted. The work is to formalize the known argument, which touches analytic facts about power series with nonnegative coefficients, a mixture-of-Poisson computation, a counting of roots in the unit disk, and the uniqueness of the stationary law of an irreducible countable chain.

Difficulty

Locating a real root in (0,1)(0,1)(0,1) is a one-variable question. The hard step is excluding every other complex root inside the unit disk: a real-variable argument says nothing about complex roots, and the book's route relies on Rouché's theorem, which Mathlib does not have. A second point is uniqueness of the stationary vector: showing that the geometric vector solves qP=qqP = qqP=q does not show that no other probability vector does, and the goal asserts both. Computing ∑nnbn=μ/λ\sum_n n b_n = \mu/\lambda∑n​nbn​=μ/λ requires interchanging a sum with the integral against AAA, which is where the finite mean of the interarrival law enters.

Formalization scope

The interarrival law is a measure A : Measure ℝ with IsProbabilityMeasure A, A (Set.Iio 0) = 0, integrable identity, and ∫ x ∂A = 1/λ (the structure IsInterarrivalLaw). Every theorem also assumes λ>0\lambda > 0λ>0 and μ>0\mu > 0μ>0. The integrals defining bkb_kbk​ and A∗A^*A∗ are over [0,∞)[0,\infty)[0,∞), closed at 000. The generating function β\betaβ takes complex arguments; real roots are written with the real-to-complex coercion. A stationary vector is a function q : ℕ → ℝ with qn≥0q_n \ge 0qn​≥0, HasSum q 1, and HasSum (fun i => q i * p i j) (q j) for every jjj.

The explicit closed forms the statements carry are: the transition matrix (5.51); the equations (5.53); β(z)=A∗[μ(1−z)]\beta(z) = A^*[\mu(1-z)]β(z)=A∗[μ(1−z)] (5.56); β′(1)=μ/λ\beta'(1) = \mu/\lambdaβ′(1)=μ/λ; qn=(1−r0)r0nq_n = (1-r_0)r_0^nqn​=(1−r0​)r0n​ (5.60); r0/(1−r0)r_0/(1-r_0)r0​/(1−r0​) and r02/(1−r0)r_0^2/(1-r_0)r02​/(1−r0​) (5.61); 1−r0e−μ(1−r0)t1 - r_0e^{-\mu(1-r_0)t}1−r0​e−μ(1−r0​)t and 1−e−μ(1−r0)t1 - e^{-\mu(1-r_0)t}1−e−μ(1−r0​)t (5.62); r0/(μ(1−r0))r_0/(\mu(1-r_0))r0​/(μ(1−r0​)) and 1/(μ(1−r0))1/(\mu(1-r_0))1/(μ(1−r0​)) (5.63). The waiting-time CDFs are defined as in §2.2.5 of the book: Wq(t)=q0+∑n≥1qnPr⁡{n completions in≤t}W_q(t) = q_0 + \sum_{n\ge1} q_n \Pr\{n \text{ completions in} \le t\}Wq​(t)=q0​+∑n≥1​qn​Pr{n completions in≤t} with the Erlang type-nnn CDF, and W(t)W(t)W(t) likewise with n+1n+1n+1 completions. The means in (5.63) are ∫0∞[1−Wq(t)] dt\int_0^\infty [1 - W_q(t)]\,dt∫0∞​[1−Wq​(t)]dt and ∫0∞[1−W(t)] dt\int_0^\infty [1 - W(t)]\,dt∫0∞​[1−W(t)]dt.

A trivializing formalization would take "r0∈(0,1)r_0 \in (0,1)r0​∈(0,1) solves z=β(z)z = \beta(z)z=β(z)" as a hypothesis of the goal, which turns (5.60) into a geometric-series check; here existence, location and uniqueness of the root, and uniqueness of the stationary vector, are all conclusions.

Out of scope for this mission: the M/G/c and M/G/∞ results of §5.2 and the multiserver G/M/c analysis of §5.3.2. Reusable pieces include a Rouché-type or fixed-point counting lemma for power series with nonnegative coefficients summing to one, and the uniqueness of stationary laws for irreducible chains on N\mathbb NN. Contributions of either kind are welcome.

Selected references

  • D. Gross, J. F. Shortle, J. M. Thompson, C. M. Harris, Fundamentals of Queueing Theory, 4th ed., Wiley, 2008, §5.3.1, pp.259–263. https://doi.org/10.1002/9781118625651
  • D. G. Kendall, "Stochastic processes occurring in the theory of queues and their analysis by the method of the imbedded Markov chain", Annals of Mathematical Statistics 24(3), 1953, 338–354. https://doi.org/10.1214/aoms/1177728975
12 thms3 active usersReviewed
PreviousPage 2 of 8Next

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