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
Operations ResearchProbabilityStochastic Systems·Captain: mikedeng1

Fundamentals of Queueing Theory VI: The Pollaczek–Khintchine Transform for the M/G/1 QueueTextbook

Motivation

The M/G/1 queue is the single-server queue with Poisson arrivals and an arbitrary service-time distribution. It is the first queueing model beyond the birth–death family in which exact formulas survive. It is also the model a practitioner reaches for when service times are measured and visibly not exponential: repair times, transmission times of variable-length packets, machining times. Its central result is the Pollaczek–Khintchine formula, first obtained by Pollaczek (1930) and Khintchine (1932). It expresses the stationary queue in terms of the service distribution, and it shows that the mean wait grows linearly in the squared coefficient of variation of service. That makes variability, and not only load, a measurable driver of congestion.

The textbook treatment followed here is Gross, Shortle, Thompson and Harris, Fundamentals of Queueing Theory, 4th ed. (Wiley 2008), §5.1. It derives the result through Kendall's (1953) imbedded Markov chain of system sizes at departure epochs. It then obtains the transforms of the waiting times and the busy-period functional equation of Takács (1962).

Setting

Customers arrive in a Poisson stream of rate λ>0\lambda > 0λ>0. Service times SSS are independent with distribution BBB, a probability distribution on [0,∞)[0,\infty)[0,∞) with mean E[S]\mathrm E[S]E[S], and the discipline is first-come first-served. The traffic intensity is ρ=λ E[S]\rho = \lambda\,\mathrm E[S]ρ=λE[S].

Let XnX_nXn​ be the number of customers the nnnth departing customer leaves behind. The number of arrivals during one service time equals iii with probability

ki=∫0∞e−λt(λt)ii! dB(t),k_i = \int_0^\infty \frac{e^{-\lambda t}(\lambda t)^i}{i!}\,dB(t),ki​=∫0∞​i!e−λt(λt)i​dB(t),

and (Xn)(X_n)(Xn​) is a Markov chain on {0,1,2,… }\{0,1,2,\dots\}{0,1,2,…} whose transition matrix PPP has first row (k0,k1,k2,… )(k_0,k_1,k_2,\dots)(k0​,k1​,k2​,…) and, for i≥1i \ge 1i≥1, entries pij=kj−i+1p_{ij} = k_{j-i+1}pij​=kj−i+1​ for j≥i−1j \ge i-1j≥i−1 and 000 otherwise. A stationary distribution is a probability vector π\piπ with πP=π\pi P = \piπP=π. Its generating function is Π(z)=∑iπizi\Pi(z) = \sum_i \pi_i z^iΠ(z)=∑i​πi​zi, and that of the arrivals per service is K(z)=∑ikiziK(z) = \sum_i k_i z^iK(z)=∑i​ki​zi, for complex ∣z∣≤1|z| \le 1∣z∣≤1. The Laplace–Stieltjes transform of a distribution FFF on [0,∞)[0,\infty)[0,∞) is F∗(s)=∫0∞e−st dF(t)F^*(s) = \int_0^\infty e^{-st}\,dF(t)F∗(s)=∫0∞​e−stdF(t). In the Lean development these are arrivalProb, transitionMatrix, IsStationaryDist, pgf, utilization and lst in the namespace QueueingFundamentals.MG1.

Formalization targets

Goal: the Pollaczek–Khintchine transform formula (5.15)–(5.16)

If E[S]<∞\mathrm E[S] < \inftyE[S]<∞ and ρ<1\rho < 1ρ<1, the chain has a stationary distribution, and every stationary distribution satisfies π0=1−ρ\pi_0 = 1-\rhoπ0​=1−ρ and

Π(z)=(1−ρ)(1−z)K(z)K(z)−z,∣z∣≤1, z≠1,\Pi(z) = \frac{(1-\rho)(1-z)K(z)}{K(z)-z}, \qquad |z| \le 1,\ z \ne 1,Π(z)=K(z)−z(1−ρ)(1−z)K(z)​,∣z∣≤1, z=1,

with K(z)≠zK(z) \ne zK(z)=z at each such zzz. It leaves the service distribution completely general.

Milestones

  1. The stationary equations (5.12): πi=π0ki+∑j=1i+1πjki−j+1\pi_i = \pi_0 k_i + \sum_{j=1}^{i+1}\pi_j k_{i-j+1}πi​=π0​ki​+∑j=1i+1​πj​ki−j+1​.
  2. The transform (5.14), Π(z)=π0(1−z)K(z)/(K(z)−z)\Pi(z) = \pi_0(1-z)K(z)/(K(z)-z)Π(z)=π0​(1−z)K(z)/(K(z)−z), with π0\pi_0π0​ free and no condition on ρ\rhoρ.
  3. Ergodicity (§5.1.4): a unique stationary distribution exists if and only if ρ<1\rho < 1ρ<1.
  4. The departure-point mean (5.7): L(D)=ρ+(ρ2+λ2σB2)/(2(1−ρ))L^{(D)} = \rho + (\rho^2+\lambda^2\sigma_B^2)/(2(1-\rho))L(D)=ρ+(ρ2+λ2σB2​)/(2(1−ρ)).
  5. K(z)=B∗[λ(1−z)]K(z) = B^*[\lambda(1-z)]K(z)=B∗[λ(1−z)] (5.32).
  6. The system-wait transform (5.29), (5.33): Π(z)=W∗[λ(1−z)]\Pi(z) = W^*[\lambda(1-z)]Π(z)=W∗[λ(1−z)] and W∗(s)=(1−ρ)sB∗(s)/(s−λ[1−B∗(s)])W^*(s) = (1-\rho)sB^*(s)/(s-\lambda[1-B^*(s)])W∗(s)=(1−ρ)sB∗(s)/(s−λ[1−B∗(s)]).
  7. The line-wait transform (5.34): Wq∗(s)=(1−ρ)s/(s−λ[1−B∗(s)])W_q^*(s) = (1-\rho)s/(s-\lambda[1-B^*(s)])Wq∗​(s)=(1−ρ)s/(s−λ[1−B∗(s)]).
  8. The busy-period equation (5.37): G∗(s)=B∗[s+λ−λG∗(s)]G^*(s) = B^*[s+\lambda-\lambda G^*(s)]G∗(s)=B∗[s+λ−λG∗(s)].
  9. The mean busy period: E[X]=1/(μ−λ)\mathrm E[X] = 1/(\mu-\lambda)E[X]=1/(μ−λ) with μ=1/E[S]\mu = 1/\mathrm E[S]μ=1/E[S].

Significance

The transform formula determines the whole stationary departure-point distribution from the service distribution. Its derivatives at z=1z = 1z=1 give every moment of the system size, including the mean-value formula (5.7). Combined with the transform identity (5.32), it gives the waiting-time transforms (5.33)–(5.34). Those in turn give the classical geometric-series representation of the line-wait distribution through the residual service time. The busy-period equation is the starting point for busy-period moments and for the M/G/1 analysis of priority and vacation models later in the book.

All results here are classical and proved in the literature. As far as a search of the platform shows (2026-09-28), none is machine-checked: there is no M/G/1 queue, imbedded departure-point chain, Laplace–Stieltjes transform of a service distribution, or busy-period equation on Prove2Me. Mathlib has Poisson distributions and measure convolution but no generating-function theory for countable Markov chains, no Laplace–Stieltjes transform, and no identity theorem in the form these statements need. The mission produces a checked statement of the Pollaczek–Khintchine formulas that later queueing developments (vacations, priorities, M/G/1-type chains) can build on.

Difficulty

Turning the stationary equations into (5.14) is formal power-series algebra. The difficulties lie elsewhere. First, the formula must hold for complex zzz on the closed disk, which needs the non-vanishing of K(z)−zK(z)-zK(z)−z away from z=1z = 1z=1. That fact fails for ρ>1\rho > 1ρ>1, where KKK has a fixed point inside the disk. Second, (5.15) evaluates π0\pi_0π0​ from Π(1)=1\Pi(1) = 1Π(1)=1 by a limit at the point where the formula is 0/00/00/0, and this uses K′(1)=ρK'(1) = \rhoK′(1)=ρ, an interchange of sum and integral. Third, the existence half of the goal requires positive recurrence of a chain with unbounded jumps. The book obtains it from Foster's criterion, which is not in Mathlib. Fourth, the waiting-time and busy-period transforms are stated for all real s>0s > 0s>0, while the generating-function route reaches only s=λ(1−z)∈(0,2λ]s = \lambda(1-z) \in (0, 2\lambda]s=λ(1−z)∈(0,2λ]. Extending the identity requires either analyticity arguments or a direct derivation. A formal proof of (5.14) alone does not touch any of these.

Formalization scope

The service distribution is a Measure ℝ with IsProbabilityMeasure B and B (Set.Iio 0) = 0; no density is assumed. The arrival rate is lam : ℝ with 0 < lam. Stationarity is IsStationaryDist P π: nonnegative entries, HasSum π 1, and HasSum (fun i => π i * P i j) (π j) for every j. That is global balance on ℕ, as the book writes it. Generating functions take a complex argument with ‖z‖ ≤ 1; transforms take a complex argument, and the waiting-time and busy-period statements use real s. The mean and variance of B are Bochner integrals, and every statement that uses them assumes Integrable. The mean busy period assumes 0 < E[S], so that μ=1/E[S]\mu = 1/\mathrm E[S]μ=1/E[S] is the book's service rate.

Closed forms carried by the statements: π0=1−ρ\pi_0 = 1-\rhoπ0​=1−ρ (5.15); (1−ρ)(1−z)K(z)/(K(z)−z)(1-\rho)(1-z)K(z)/(K(z)-z)(1−ρ)(1−z)K(z)/(K(z)−z) (5.16); π0(1−z)K(z)/(K(z)−z)\pi_0(1-z)K(z)/(K(z)-z)π0​(1−z)K(z)/(K(z)−z) (5.14); ρ+(ρ2+λ2σB2)/(2(1−ρ))\rho + (\rho^2+\lambda^2\sigma_B^2)/(2(1-\rho))ρ+(ρ2+λ2σB2​)/(2(1−ρ)) (5.7); B∗[λ(1−z)]B^*[\lambda(1-z)]B∗[λ(1−z)] (5.32); (1−ρ)sB∗(s)/(s−λ[1−B∗(s)])(1-\rho)sB^*(s)/(s-\lambda[1-B^*(s)])(1−ρ)sB∗(s)/(s−λ[1−B∗(s)]) (5.33); (1−ρ)s/(s−λ[1−B∗(s)])(1-\rho)s/(s-\lambda[1-B^*(s)])(1−ρ)s/(s−λ[1−B∗(s)]) (5.34); B∗[s+λ−λG∗(s)]B^*[s+\lambda-\lambda G^*(s)]B∗[s+λ−λG∗(s)] (5.37); 1/(μ−λ)1/(\mu-\lambda)1/(μ−λ) for the mean busy period.

The waiting-time distribution WWW enters through the book's FCFS relation πn=1n!∫(λt)ne−λt dW(t)\pi_n = \frac1{n!}\int(\lambda t)^n e^{-\lambda t}\,dW(t)πn​=n!1​∫(λt)ne−λtdW(t), and WqW_qWq​ through W=Wq∗BW = W_q * BW=Wq​∗B; both are hypotheses, as in the book. The busy-period distribution GGG enters through the equation (5.36) in CDF form, with nnn-fold convolutions built from Mathlib's Measure.conv.

The goal is not the algebraic consequence of (5.12) for an arbitrary sequence: π\piπ must be a probability vector, π0\pi_0π0​ is determined as 1−ρ1-\rho1−ρ, and the existence of a stationary distribution is part of the conclusion, so the statement cannot hold vacuously. The departure-point/time-average equality (§5.1.3, via PASTA) is not formalized.

Useful infrastructure, reusable beyond this mission: generating functions of stationary distributions on ℕ, Poisson mixtures, Laplace–Stieltjes transforms of measures on [0,∞)[0,\infty)[0,∞), and a Foster-type drift criterion for countable chains. Contributions proving any milestone, or those tools, are welcome.

Selected references

  • D. Gross, J. F. Shortle, J. M. Thompson, C. M. Harris, Fundamentals of Queueing Theory, 4th ed., Wiley, 2008, §5.1. 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 (1953) 338–354. https://doi.org/10.1214/aoms/1177728975
  • F. G. Foster, On the stochastic matrices associated with certain queuing processes, Annals of Mathematical Statistics 24 (1953) 355–360. https://doi.org/10.1214/aoms/1177728976
  • L. Takács, Introduction to the Theory of Queues, Oxford University Press, 1962.
  • F. Pollaczek, Über eine Aufgabe der Wahrscheinlichkeitstheorie, Mathematische Zeitschrift 32 (1930) 64–100. https://doi.org/10.1007/BF01194620
12 thms3 active usersReviewed
🏆Completed
Operations ResearchProbabilityStochastic Systems·Captain: mikedeng1

Fundamentals of Queueing Theory V: Closed Jackson Networks and the Mean-Value RecursionTextbook

Motivation

Networks of queues model systems in which a job visits several service stations in turn: jobs in a computer system alternating between CPU and disks, machines cycling between operation and repair, parts routed through a job shop. In a closed network no job enters or leaves; a fixed population of NNN customers circulates among kkk nodes. Closed networks are the standard model of multiprogrammed computer systems and of machine-repair and finite-source systems, and they are the setting of chapter 4 of Gross, Shortle, Thompson and Harris, Fundamentals of Queueing Theory (4th ed., Wiley 2008, doi:10.1002/9781118625651).

The chapter's results form a short line of computational ideas:

  • Jackson (1957, 1963) showed that open networks of exponential servers with Markovian routing have a product-form steady state; Gordon and Newell (1967) gave the closed-network version, (4.15)–(4.18) of the book.
  • Buzen (1973) gave a convolution recursion for the normalizing constant G(N)G(N)G(N) and for marginal distributions, (4.19)–(4.22).
  • Reiser and Lavenberg (1980) introduced mean-value analysis (MVA), which computes mean queue lengths, waiting times and throughputs population by population without ever forming G(N)G(N)G(N), (4.23)–(4.25); the book presents it following Bruell and Balbo (1980).
  • The book closes the section with a recursion for the full marginal distributions, (4.26), which it proves from the product form (pp.207–209).

This mission formalizes that line, ending at (4.26).

Setting

A closed Jackson network has nodes i=1,…,ki = 1, \dots, ki=1,…,k, each with a single server whose service times are exponential with rate μi>0\mu_i > 0μi​>0. A customer finishing service at node iii moves to node jjj with probability rijr_{ij}rij​; the routing matrix R=(rij)R = (r_{ij})R=(rij​) has nonnegative entries and rows summing to one, and it is irreducible: every node can be reached from every other. The state is nˉ=(n1,…,nk)\bar n = (n_1, \dots, n_k)nˉ=(n1​,…,nk​), the number of customers at each node, with n1+⋯+nk=Nn_1 + \cdots + n_k = Nn1​+⋯+nk​=N; this state space is finite.

The steady-state distribution pnˉp_{\bar n}pnˉ​ is the probability vector on the state space that solves the flow-balance equations (4.14),

∑j=1k∑i=1i≠jkμirij pnˉ;i+j−=∑i=1kμi(1−rii) pnˉ,\sum_{j=1}^{k}\sum_{\substack{i=1\\ i\ne j}}^{k} \mu_i r_{ij}\, p_{\bar n;i^+j^-} = \sum_{i=1}^{k}\mu_i(1-r_{ii})\,p_{\bar n},j=1∑k​i=1i=j​∑k​μi​rij​pnˉ;i+j−​=i=1∑k​μi​(1−rii​)pnˉ​,

where nˉ;i+j−\bar n;i^+j^-nˉ;i+j− has one more customer at iii and one fewer at jjj, and terms with a negative subscript or with μi\mu_iμi​ at an empty node vanish. The traffic equations (4.16) are μiρi=∑jμjrjiρj\mu_i\rho_i = \sum_j \mu_j r_{ji}\rho_jμi​ρi​=∑j​μj​rji​ρj​; they determine ρ=(ρ1,…,ρk)\rho = (\rho_1, \dots, \rho_k)ρ=(ρ1​,…,ρk​) up to a positive factor. The normalizing constant is

G(N)=∑n1+⋯+nk=Nρ1n1⋯ρknk,G(N) = \sum_{n_1+\cdots+n_k=N}\rho_1^{n_1}\cdots\rho_k^{n_k},G(N)=n1​+⋯+nk​=N∑​ρ1n1​​⋯ρknk​​,

and more generally, with fi(n)=ρi n/ai(n)f_i(n) = \rho_i^{\,n}/a_i(n)fi​(n)=ρin​/ai​(n) for cic_ici​-server nodes ((4.13)), G(N)=∑∏ifi(ni)G(N) = \sum \prod_i f_i(n_i)G(N)=∑∏i​fi​(ni​) and Buzen's function gm(n)=∑n1+⋯+nm=n∏i≤mfi(ni)g_m(n) = \sum_{n_1+\cdots+n_m=n}\prod_{i\le m} f_i(n_i)gm​(n)=∑n1​+⋯+nm​=n​∏i≤m​fi​(ni​).

For each population NNN write pi(n,N)=Pr⁡{Ni=n}p_i(n, N) = \Pr\{N_i = n\}pi​(n,N)=Pr{Ni​=n} for the marginal distribution at node iii, Pˉi(n;N)=Pr⁡{Ni≥n}\bar P_i(n; N) = \Pr\{N_i \ge n\}Pˉi​(n;N)=Pr{Ni​≥n}, Li(N)L_i(N)Li​(N) for the mean number at node iii, and

λi(N)=Pr⁡{server busy at node i}⋅μi\lambda_i(N) = \Pr\{\text{server busy at node } i\}\cdot\mu_iλi​(N)=Pr{server busy at node i}⋅μi​

for the throughput of node iii.

Formalization targets

Goal: the marginal recursion (4.26)

For every node iii,

pi(0,0)=1,pi(n,N)=λi(N)μi pi(n−1,N−1)(n,N≥1).p_i(0,0) = 1, \qquad p_i(n, N) = \frac{\lambda_i(N)}{\mu_i}\,p_i(n-1, N-1) \quad (n, N \ge 1).pi​(0,0)=1,pi​(n,N)=μi​λi​(N)​pi​(n−1,N−1)(n,N≥1).

It involves only the steady-state distributions and quantities computed from them; it holds for every irreducible routing matrix and every choice of rates.

Milestones

  1. Product form (4.14)–(4.16). For any positive solution ρ\rhoρ of (4.16), a probability distribution solves (4.14) if and only if pnˉ=G(N)−1ρ1n1⋯ρknkp_{\bar n} = G(N)^{-1}\rho_1^{n_1}\cdots\rho_k^{n_k}pnˉ​=G(N)−1ρ1n1​​⋯ρknk​​.
  2. Buzen's algorithm (4.19)–(4.21). G(N)=gk(N)G(N) = g_k(N)G(N)=gk​(N), gm(n)=∑i=0nfm(i) gm−1(n−i)g_m(n) = \sum_{i=0}^{n} f_m(i)\,g_{m-1}(n-i)gm​(n)=∑i=0n​fm​(i)gm−1​(n−i), g1=f1g_1 = f_1g1​=f1​, gm(0)=1g_m(0) = 1gm​(0)=1.
  3. Marginal at the last node (4.22). pk(n)=fk(n) gk−1(N−n)/G(N)p_k(n) = f_k(n)\,g_{k-1}(N-n)/G(N)pk​(n)=fk​(n)gk−1​(N−n)/G(N) for 0≤n≤N0 \le n \le N0≤n≤N.
  4. Complementary marginal (p.208). Pˉi(ni;N)=ρi niG(N−ni)/G(N)\bar P_i(n_i; N) = \rho_i^{\,n_i}G(N-n_i)/G(N)Pˉi​(ni​;N)=ρini​​G(N−ni​)/G(N).
  5. Mean-value analysis (4.23)–(4.25). Li(0)=0L_i(0) = 0Li​(0)=0; Li(N)=λi(N)Wi(N)L_i(N) = \lambda_i(N)W_i(N)Li​(N)=λi​(N)Wi​(N) with Wi(N)=(1+Li(N−1))/μiW_i(N) = (1 + L_i(N-1))/\mu_iWi​(N)=(1+Li​(N−1))/μi​; and for vvv solving vi=∑jvjrjiv_i = \sum_j v_j r_{ji}vi​=∑j​vj​rji​ with vl=1v_l = 1vl​=1, λl(N)=N/∑iviWi(N)\lambda_l(N) = N/\sum_i v_iW_i(N)λl​(N)=N/∑i​vi​Wi​(N) and λi(N)=λl(N)vi\lambda_i(N) = \lambda_l(N)v_iλi​(N)=λl​(N)vi​.

Significance

The product form reduces a (N+k−1N)\binom{N+k-1}{N}(NN+k−1​)-state Markov chain to the constants G(0),…,G(N)G(0), \dots, G(N)G(0),…,G(N), and Buzen's recursion computes them in O(kN2)O(kN^2)O(kN2) operations. Mean-value analysis goes further and avoids G(N)G(N)G(N), whose magnitude can overflow or underflow for large populations; it is the method used in capacity planning of computer systems. The recursion (4.26) extends MVA from means to full marginal distributions, so a single pass over NNN yields every nodal distribution.

All of these results are classical and proved in the literature; the book proves (4.26) itself. What the mission adds is a machine-checked development of them from the global balance equations: the product form with its uniqueness, the convolution identities, the marginal formulas, and the correctness of the MVA iteration as stated by the book, all over one shared definition layer. A search of the platform on 2026-09-28 found no formal statement of Buzen's algorithm or of MVA. The platform has Kelly's closed migration process theorem (KellyStochasticNetworks.closed_migration_equilibrium), which shows that the unnormalized product form satisfies the equilibrium equations under Kelly's conventions; the normalization, uniqueness and everything downstream of the product form are new here.

Difficulty

The combinatorial identities (Buzen's recursion, the tail marginal) are reindexings of finite sums over compositions of NNN; in Lean the work is in bijections between the state spaces {n1+⋯+nk=N}\{n_1+\cdots+n_k = N\}{n1​+⋯+nk​=N} for different kkk and NNN. The substantive step is uniqueness in the product-form theorem: the global balance equations have a one-dimensional solution space only because the chain on the NNN-customer states is irreducible on the population level, which is a property of the network chain and not of the routing matrix alone. The goal and MVA also need a positive solution of the traffic equations, which is not among the hypotheses and has to come from irreducibility of RRR. The book's own intuitive derivation of MVA via the arrival theorem is not the route the statements require; they are stated in terms of the steady-state distributions alone.

Formalization scope

Nodes are Fin k (book node iii is index i−1i-1i−1); states are n : Fin k → ℕ with ∑ i, n i = N, collected in a Finset, and all sums are finite. A distribution is a real function on Nk\mathbb N^kNk that is nonnegative, vanishes off the NNN-customer states and sums to one there. The balance equations are (4.14) verbatim with the book's boundary convention (p.188), not detailed balance. All results except Buzen's algorithm and (4.22) are for single-server nodes, as in the book; (4.13)'s multiserver factor ai(n)a_i(n)ai​(n) enters only (4.19)–(4.22).

Closed forms instantiated in the statements: the product form G(N)−1∏iρiniG(N)^{-1}\prod_i\rho_i^{n_i}G(N)−1∏i​ρini​​ ((4.15)); G(N)G(N)G(N) as the explicit sum (4.18)/(4.19); ai(n)a_i(n)ai​(n) from (4.13); gmg_mgm​ from (4.20); pk(n)=fk(n)gk−1(N−n)/G(N)p_k(n) = f_k(n)g_{k-1}(N-n)/G(N)pk​(n)=fk​(n)gk−1​(N−n)/G(N) ((4.22)); Pˉi(n;N)=ρinG(N−n)/G(N)\bar P_i(n;N) = \rho_i^nG(N-n)/G(N)Pˉi​(n;N)=ρin​G(N−n)/G(N) (p.208); Wi(N)=(1+Li(N−1))/μiW_i(N) = (1+L_i(N-1))/\mu_iWi​(N)=(1+Li​(N−1))/μi​ ((4.23)); λl(N)=N/∑iviWi(N)\lambda_l(N) = N/\sum_i v_iW_i(N)λl​(N)=N/∑i​vi​Wi​(N) (MVA step (iii)(b)).

Two trivializing formalizations are ruled out: λi(N)\lambda_i(N)λi​(N) in (4.26) and (4.24) is the throughput computed from the steady-state distribution, not a free constant (which would make (4.26) a definition); and gmg_mgm​ is defined by the sum (4.20), so the recursion (4.21) is a theorem rather than rfl. The product-form statement is an equivalence, so it asserts both that the product form is a steady state and that it is the only one.

Needed infrastructure: bijections between compositions of NNN into kkk and k−1k-1k−1 parts, uniqueness of stationary distributions of irreducible finite continuous-time chains (stated directly via the balance equations), and existence of positive solutions of v=vRv = vRv=vR for irreducible stochastic RRR. The last two are reusable beyond this mission. Contributions welcome: proofs of the milestones in any order, and helper lemmas on these three points.

Not formalized: open Jackson networks (4.11) and Burke's theorem (4.5)–(4.6), multiclass networks (§4.2.1), the multiserver recursion (4.27) and cyclic queues (§4.4).

Selected references

  • D. Gross, J. F. Shortle, J. M. Thompson, C. M. Harris, Fundamentals of Queueing Theory, 4th ed., Wiley, 2008, §4.3, pp.195–209. https://doi.org/10.1002/9781118625651
  • J. R. Jackson, "Jobshop-like queueing systems", Management Science 10(1), 1963. https://doi.org/10.1287/mnsc.10.1.131
  • W. J. Gordon, G. F. Newell, "Closed queuing systems with exponential servers", Operations Research 15(2), 1967. https://doi.org/10.1287/opre.15.2.254
  • J. P. Buzen, "Computational algorithms for closed queueing networks with exponential servers", Communications of the ACM 16(9), 1973. https://doi.org/10.1145/362342.362345
  • M. Reiser, S. S. Lavenberg, "Mean-value analysis of closed multichain queuing networks", Journal of the ACM 27(2), 1980. https://doi.org/10.1145/322186.322195
  • S. C. Bruell, G. Balbo, Computational Algorithms for Closed Queueing Networks, North-Holland, 1980.
7 thms3 active usersReviewed
🏆Completed
Operations ResearchProbabilityStochastic Systems·Captain: mikedeng1

Fundamentals of Queueing Theory IV: The Stationary Distribution of the M/M/1 Retrial QueueTextbook

Motivation

In many service systems a customer who finds every server busy does not join a queue. A caller who hears a busy signal hangs up and redials later; a request rejected by a saturated server is resent after a timeout; an aircraft that cannot land circles and tries again. These retrial queues are the subject of a substantial literature in telephone traffic engineering, computer networks and call-centre design, surveyed in the monograph of Falin and Templeton (1997) and the bibliography of Artalejo (1999). Their analysis is harder than that of ordinary queues: the blocked customers form an orbit whose size is part of the state, so even the simplest model is a two-dimensional Markov chain, and explicit stationary distributions are rare.

This mission is the fourth of a series formalizing Gross, Shortle, Thompson and Harris, Fundamentals of Queueing Theory (4th ed., Wiley 2008). Its goal is the explicit stationary distribution of the single-server retrial queue, Eq. (3.57) of §3.5.1, one of the few retrial models solvable in closed form. Chapter 3 of the book treats Markovian queues that are not birth–death processes: bulk arrivals, bulk service, Erlang phases, priority disciplines and retrials. The milestones also collect three capstone formulas from the chapter's other sections: the bulk-input queue, the partial-batch bulk-service queue, and Cobham's formula for nonpreemptive priorities (Cobham, 1954).

Setting

In the M/M/1M/M/1M/M/1 retrial queue customers arrive according to a Poisson process with rate λ\lambdaλ and are served one at a time by a single server, with exponential service times of mean 1/μ1/\mu1/μ. An arrival that finds the server busy enters the orbit and stays there for an exponential time with mean 1/γ1/\gamma1/γ, after which it tries again; each customer in orbit retries independently. No customer leaves because of impatience. With Ns(t)∈{0,1}N_s(t) \in \{0,1\}Ns​(t)∈{0,1} the number in service and No(t)N_o(t)No​(t) the number in orbit, the pair is a continuous-time Markov chain on states {i,n}\{i, n\}{i,n}, i∈{0,1}i \in \{0,1\}i∈{0,1}, n∈{0,1,2,… }n \in \{0,1,2,\dots\}n∈{0,1,2,…}. Writing pi,np_{i,n}pi,n​ for the steady-state probability of {i,n}\{i,n\}{i,n}, the rate-balance equations are

(λ+nγ)p0,n=μp1,n,n≥0,(3.47)(λ+μ)p1,n=λp0,n+(n+1)γp0,n+1+λp1,n−1,n≥1,(3.48)(λ+μ)p1,0=λp0,0+γp0,1.(3.49)\begin{aligned} (\lambda + n\gamma)p_{0,n} &= \mu p_{1,n}, && n \ge 0, && (3.47)\\ (\lambda+\mu)p_{1,n} &= \lambda p_{0,n} + (n+1)\gamma p_{0,n+1} + \lambda p_{1,n-1}, && n \ge 1, && (3.48)\\ (\lambda+\mu)p_{1,0} &= \lambda p_{0,0} + \gamma p_{0,1}. && && (3.49) \end{aligned}(λ+nγ)p0,n​(λ+μ)p1,n​(λ+μ)p1,0​​=μp1,n​,=λp0,n​+(n+1)γp0,n+1​+λp1,n−1​,=λp0,0​+γp0,1​.​​n≥0,n≥1,​​(3.47)(3.48)(3.49)​

Following the book's convention (§1.9, and the footnote on p.118), a steady-state solution is a nonnegative solution of these equations whose total mass ∑n(p0,n+p1,n)\sum_n (p_{0,n} + p_{1,n})∑n​(p0,n​+p1,n​) equals 111. The traffic intensity is ρ=λ/μ\rho = \lambda/\muρ=λ/μ, and the partial generating functions are P0(z)=∑nznp0,nP_0(z) = \sum_n z^n p_{0,n}P0​(z)=∑n​znp0,n​ and P1(z)=∑nznp1,nP_1(z) = \sum_n z^n p_{1,n}P1​(z)=∑n​znp1,n​.

The other models of the mission use the same convention. In the bulk-input queue M[X]/M/1M^{[X]}/M/1M[X]/M/1, batches arrive at rate λ\lambdaλ with batch-size probabilities cn=Pr⁡{X=n}c_n = \Pr\{X = n\}cn​=Pr{X=n}, n≥1n \ge 1n≥1, and batch-size generating function C(z)=∑ncnznC(z) = \sum_n c_n z^nC(z)=∑n​cn​zn. In the partial-batch bulk-service queue M/M[K]/1M/M^{[K]}/1M/M[K]/1, single arrivals come at rate λ\lambdaλ and the server serves up to KKK customers together in an exponential time of mean 1/μ1/\mu1/μ. In the nonpreemptive priority queue there are rrr classes with rates λk\lambda_kλk​ and μk\mu_kμk​, loads ρk=λk/μk\rho_k = \lambda_k/\mu_kρk​=λk​/μk​ and cumulative loads σk=ρ1+⋯+ρk\sigma_k = \rho_1 + \cdots + \rho_kσk​=ρ1​+⋯+ρk​.

Formalization targets

Goal: the stationary distribution (3.57)

For λ,μ,γ>0\lambda, \mu, \gamma > 0λ,μ,γ>0 and ρ<1\rho < 1ρ<1, the numbers

p0,n=(1−ρ)(λ/γ)+1ρnn! γn∏i=0n−1(λ+iγ),p1,n=(1−ρ)(λ/γ)+1ρn+1n! γn∏i=1n(λ+iγ)p_{0,n} = (1-\rho)^{(\lambda/\gamma)+1}\frac{\rho^n}{n!\,\gamma^n}\prod_{i=0}^{n-1}(\lambda+i\gamma), \qquad p_{1,n} = (1-\rho)^{(\lambda/\gamma)+1}\frac{\rho^{n+1}}{n!\,\gamma^n}\prod_{i=1}^{n}(\lambda+i\gamma)p0,n​=(1−ρ)(λ/γ)+1n!γnρn​i=0∏n−1​(λ+iγ),p1,n​=(1−ρ)(λ/γ)+1n!γnρn+1​i=1∏n​(λ+iγ)

form a steady-state solution of (3.47)–(3.49), and every steady-state solution equals them.

Milestones on the retrial queue

The generating functions satisfy (3.50)–(3.52) on (−1,1)(-1,1)(−1,1), including the separable equation

P0′(z)=λργ(1−ρz)P0(z),P_0'(z) = \frac{\lambda\rho}{\gamma(1-\rho z)}P_0(z),P0′​(z)=γ(1−ρz)λρ​P0​(z),

their closed form is (3.55),

P0(z)=(1−ρz)(1−ρ1−ρz)(λ/γ)+1,P1(z)=ρ(1−ρ1−ρz)(λ/γ)+1,P_0(z) = (1-\rho z)\left(\frac{1-\rho}{1-\rho z}\right)^{(\lambda/\gamma)+1}, \qquad P_1(z) = \rho\left(\frac{1-\rho}{1-\rho z}\right)^{(\lambda/\gamma)+1},P0​(z)=(1−ρz)(1−ρz1−ρ​)(λ/γ)+1,P1​(z)=ρ(1−ρz1−ρ​)(λ/γ)+1,

and the mean orbit size is (3.58), Lo=ρ21−ρ⋅μ+γγL_o = \frac{\rho^2}{1-\rho}\cdot\frac{\mu+\gamma}{\gamma}Lo​=1−ρρ2​⋅γμ+γ​.

Milestones from the rest of Chapter 3

The bulk-input generating function (3.3), p0=1−ρp_0 = 1 - \rhop0​=1−ρ with ρ=λE[X]/μ\rho = \lambda\mathrm E[X]/\muρ=λE[X]/μ, and the mean (3.4); the unique root r0∈(0,1)r_0 \in (0,1)r0​∈(0,1) of μrK+1−(λ+μ)r+λ=0\mu r^{K+1} - (\lambda+\mu)r + \lambda = 0μrK+1−(λ+μ)r+λ=0 and the geometric law pn=(1−r0)r0np_n = (1-r_0)r_0^npn​=(1−r0​)r0n​ (3.9); and Cobham's formula (3.41)/(3.43), the unique solution of the linear system (3.40).

Significance

The closed form (3.57) makes every performance measure of the M/M/1M/M/1M/M/1 retrial queue explicit. The server is busy a fraction ρ\rhoρ of the time, exactly as without retrials. The mean orbit size (3.58) is the M/M/1M/M/1M/M/1 mean queue length multiplied by (μ+γ)/γ(\mu+\gamma)/\gamma(μ+γ)/γ, and the mean time in orbit (3.59) follows from Little's law. These formulas quantify the cost of retrials against an ordinary queue and are the reference case against which approximations for multi-server retrial systems are checked.

The results are classical and proved in the book, partly through exercises (Problems 3.39–3.41). None of them is formalized in any proof assistant, as far as the platform's catalogue shows: there is no retrial, bulk or priority queue on Prove2Me. The mission produces machine-checked statements and, once solved, proofs of the chapter's main closed forms. It also produces a small reusable layer: generating functions of probability sequences on the closed unit disc, and the "probability solution of the balance equations" pattern for chains with countable state spaces.

Difficulty

The derivation in the book is formal. It differentiates power series term by term, divides by 1−z1 - z1−z, integrates ln⁡P0\ln P_0lnP0​, and fixes the constant by setting z=1z = 1z=1, without justifying any of these steps. A formal proof has to show that the series converge and are differentiable on (−1,1)(-1,1)(−1,1), that the differential equation determines P0P_0P0​ up to a constant, and that the values at z=1z = 1z=1 are the limits of the values inside the disc (Abel's theorem). The uniqueness half of the goal is the hardest part. The book never proves it; it follows from the ODE argument only once every step is shown to hold for an arbitrary probability solution. Verifying that (3.57) solves (3.47)–(3.49) is only the easy half. The same pattern recurs in the bulk-input queue, where z=1z = 1z=1 is a removable singularity of (3.3). In the bulk-service queue the root r0r_0r0​ is only characterized as the unique root in (0,1)(0,1)(0,1), so existence and uniqueness of the root are part of the claim.

Formalization scope

A steady-state solution is a pair p0 p1 : ℕ → ℝ (resp. one sequence p : ℕ → ℝ) that is pointwise nonnegative, has total mass 111 as a HasSum, and solves the book's balance equations exactly as printed, global balance and not detailed balance. Every "the steady-state solution is X" is stated with both halves: X is a steady-state solution, and every steady-state solution equals X. Stating only that (3.57) solves (3.47)–(3.49), without normalization or uniqueness, would be a trivializing formalization. So would taking r0r_0r0​ as a given root in (3.9), or taking the Wq(i)W_q^{(i)}Wq(i)​ in (3.41) as numbers assumed to satisfy it. None of these is used. The closed forms instantiated are (3.52), (3.55), (3.57), (3.58), (3.3), (3.4), (3.9), (3.41) and (3.43), each written out in full, with the real power (1−ρ)(λ/γ)+1(1-\rho)^{(\lambda/\gamma)+1}(1−ρ)(λ/γ)+1 as Real.rpow.

The conventions are as follows. The retrial generating functions take real arguments, on (−1,1)(-1,1)(−1,1) for the differential equations and on [−1,1][-1,1][−1,1] for the closed form. The bulk-input generating function takes complex arguments with ∣z∣≤1|z| \le 1∣z∣≤1, z≠1z \ne 1z=1, because (3.3) is 0/00/00/0 at z=1z = 1z=1. The condition ρ<1\rho < 1ρ<1 is a hypothesis of every retrial statement. For the bulk-service queue the book's unnamed condition is stated as λ<Kμ\lambda < K\muλ<Kμ. For bulk input, E[X]<∞\mathrm E[X] < \inftyE[X]<∞ is assumed throughout, and the mean (3.4) is asserted under the further condition E[X2]<∞\mathrm E[X^2] < \inftyE[X2]<∞, which it requires. For Cobham's formula only the algebraic content is formalized; the mean-value argument that yields (3.40) and (3.42) is not.

Needed infrastructure: power series of summable nonnegative sequences on the closed unit disc (convergence, term-by-term differentiation, Abel continuity), the binomial series (1−x)−a=∑na(a+1)⋯(a+n−1)n!xn(1 - x)^{-a} = \sum_n \frac{a(a+1)\cdots(a+n-1)}{n!}x^n(1−x)−a=∑n​n!a(a+1)⋯(a+n−1)​xn for real aaa, and uniqueness of invariant probability vectors for irreducible chains. All of this is reusable beyond the mission. Proofs of any milestone, of the easy half of the goal, or of the needed series facts are welcome contributions.

Selected references

  • D. Gross, J. F. Shortle, J. M. Thompson, C. M. Harris, Fundamentals of Queueing Theory, 4th ed., Wiley, 2008, §§3.1, 3.2.0.1, 3.4.2, 3.5.1. https://doi.org/10.1002/9781118625651
  • G. I. Falin, J. G. C. Templeton, Retrial Queues, Chapman & Hall, 1997. https://doi.org/10.1007/978-1-4899-2977-8
  • J. R. Artalejo, Accessible bibliography on retrial queues, Mathematical and Computer Modelling 30 (1999) 1–6. https://doi.org/10.1016/S0895-7177(99)00128-4
  • A. Cobham, Priority assignment in waiting line problems, Journal of the Operations Research Society of America 2 (1954) 70–76. https://doi.org/10.1287/opre.2.1.70
10 thms3 active usersReviewed
🏆Completed
AnalysisOperations ResearchProbability+1·Captain: mikedeng1

Fundamentals of Queueing Theory III: The Transient M/M/1 Queue via Modified Bessel FunctionsTextbook

Motivation

Steady-state formulas describe a queue that has been running forever. Many practical questions are about a queue that has not: a call centre just after opening, a server just after a reset, a system under a burst of load. For these, the relevant quantity is the transient distribution pn(t)=Pr⁡{N(t)=n}p_n(t) = \Pr\{N(t) = n\}pn​(t)=Pr{N(t)=n} of the number N(t)N(t)N(t) in the system at a finite time ttt. It is also what determines how fast the steady state is approached, and it is needed for the busy period: the length of time a server stays busy once a customer arrives at an idle server.

For the single-server Markovian queue M/M/1 the transient distribution has an explicit closed form in modified Bessel functions. Its history is short and well documented. Ledermann and Reuter (1954) obtained it by spectral analysis of the birth–death process. Bailey (1954) found it by generating functions and Laplace transforms, and Champernowne (1956) by combinatorial methods. Bailey's route is the standard textbook derivation, and it is the one Gross, Shortle, Thompson and Harris outline in §2.11 of Fundamentals of Queueing Theory (4th ed., 2008). Abate and Whitt (1989) showed that computing with the resulting series is numerically delicate, which is one reason for having the formula pinned down exactly.

This mission formalizes §§2.11–2.12 of that book: the transient laws of M/M/1/1, M/M/1 and M/M/∞, and the M/M/1 busy period.

Setting

Customers arrive in a Poisson stream of rate λ>0\lambda > 0λ>0. Each service takes an exponential time of rate μ>0\mu > 0μ>0, and ρ=λ/μ\rho = \lambda/\muρ=λ/μ. The number in the system is a continuous-time Markov chain on {0,1,2,… }\{0, 1, 2, \dots\}{0,1,2,…}, and its state probabilities pn(t)p_n(t)pn​(t) satisfy the forward (differential–difference) equations. For M/M/1 started with N(0)=iN(0) = iN(0)=i they are, for t≥0t \ge 0t≥0,

pn′(t)=−(λ+μ)pn(t)+λpn−1(t)+μpn+1(t) (n>0),p0′(t)=−λp0(t)+μp1(t),(2.72)p_n'(t) = -(\lambda+\mu)p_n(t) + \lambda p_{n-1}(t) + \mu p_{n+1}(t)\ (n > 0), \qquad p_0'(t) = -\lambda p_0(t) + \mu p_1(t), \tag{2.72}pn′​(t)=−(λ+μ)pn​(t)+λpn−1​(t)+μpn+1​(t) (n>0),p0′​(t)=−λp0​(t)+μp1​(t),(2.72)

with pn(0)=1p_n(0) = 1pn​(0)=1 if n=in = in=i and 000 otherwise. The other systems are variants:

  • M/M/1/1, no waiting room: two states and equations (2.70).
  • M/M/∞, ample service: the death rate in state nnn is nμn\munμ, giving (2.76).
  • The busy-period system: (2.72) with 000 made absorbing (λ0=0\lambda_0 = 0λ0​=0) and N(0)=1N(0) = 1N(0)=1. Its p0(t)p_0(t)p0​(t) is the distribution function of the busy period TbpT_{bp}Tbp​.

A family (pn)(p_n)(pn​) solves a system on [0,∞)[0,\infty)[0,∞) when each pnp_npn​ has, at every t≥0t \ge 0t≥0, the prescribed derivative (a right derivative at t=0t = 0t=0). It is a probability solution when pn(t)≥0p_n(t) \ge 0pn​(t)≥0 and ∑npn(t)=1\sum_n p_n(t) = 1∑n​pn​(t)=1 for every t≥0t \ge 0t≥0. The modified Bessel function of the first kind is

In(y)=∑k=0∞(y/2)n+2kk! (n+k)!,I−n=In,I_n(y) = \sum_{k=0}^{\infty} \frac{(y/2)^{n+2k}}{k!\,(n+k)!}, \qquad I_{-n} = I_n,In​(y)=k=0∑∞​k!(n+k)!(y/2)n+2k​,I−n​=In​,

and the Laplace transform of fff is fˉ(s)=∫0∞e−stf(t) dt\bar f(s) = \int_0^\infty e^{-st} f(t)\,dtfˉ​(s)=∫0∞​e−stf(t)dt for Re⁡s>0\operatorname{Re} s > 0Res>0.

Formalization targets

Goal: the transient M/M/1 law, (2.75)

With y=2tλμy = 2t\sqrt{\lambda\mu}y=2tλμ​,

pn(t)=e−(λ+μ)t[ρ(n−i)/2In−i(y)+ρ(n−i−1)/2In+i+1(y)+(1−ρ)ρn∑j=n+i+2∞ρ−j/2Ij(y)].p_n(t) = e^{-(\lambda+\mu)t}\Big[\rho^{(n-i)/2} I_{n-i}(y) + \rho^{(n-i-1)/2} I_{n+i+1}(y) + (1-\rho)\rho^n \sum_{j=n+i+2}^{\infty} \rho^{-j/2} I_j(y)\Big].pn​(t)=e−(λ+μ)t[ρ(n−i)/2In−i​(y)+ρ(n−i−1)/2In+i+1​(y)+(1−ρ)ρnj=n+i+2∑∞​ρ−j/2Ij​(y)].

The goal asserts five things for every λ,μ>0\lambda, \mu > 0λ,μ>0 and every iii, with no restriction on ρ\rhoρ:

  1. the series converges;
  2. these functions solve (2.72);
  3. they meet the initial condition;
  4. they form a probability distribution at every ttt;
  5. they are the only probability solution.

Milestones

  1. (2.71): the M/M/1/1 solution p1(t)=λλ+μ(1−e−(λ+μ)t)+p1(0)e−(λ+μ)tp_1(t) = \frac{\lambda}{\lambda+\mu}(1-e^{-(\lambda+\mu)t}) + p_1(0)e^{-(\lambda+\mu)t}p1​(t)=λ+μλ​(1−e−(λ+μ)t)+p1​(0)e−(λ+μ)t, and the matching formula for p0p_0p0​.
  2. (2.74) and Rouché's theorem: for Re⁡s>0\operatorname{Re} s > 0Res>0, the quadratic (λ+μ+s)z−μ−λz2(\lambda+\mu+s)z - \mu - \lambda z^2(λ+μ+s)z−μ−λz2 has exactly one zero in ∣z∣<1|z| < 1∣z∣<1, namely z1=(λ+μ+s−(λ+μ+s)2−4λμ)/(2λ)z_1 = (\lambda+\mu+s-\sqrt{(\lambda+\mu+s)^2-4\lambda\mu})/(2\lambda)z1​=(λ+μ+s−(λ+μ+s)2−4λμ​)/(2λ).
  3. The transform of p0p_0p0​: pˉ0(s)=z1i+1/(μ(1−z1))\bar p_0(s) = z_1^{i+1}/(\mu(1-z_1))pˉ​0​(s)=z1i+1​/(μ(1−z1​)).
  4. The limit of (2.75): pn(t)→(1−ρ)ρnp_n(t) \to (1-\rho)\rho^npn​(t)→(1−ρ)ρn if ρ<1\rho < 1ρ<1, and pn(t)→0p_n(t) \to 0pn​(t)→0 if ρ≥1\rho \ge 1ρ≥1.
  5. (2.77), M/M/∞: started empty, pn(t)=a(t)ne−a(t)/n!p_n(t) = a(t)^n e^{-a(t)}/n!pn​(t)=a(t)ne−a(t)/n! with a(t)=(1−e−μt)λ/μa(t) = (1-e^{-\mu t})\lambda/\mua(t)=(1−e−μt)λ/μ. The statement says that this family solves (2.76), is the unique probability solution, and has generating function exp⁡((z−1)a(t))\exp((z-1)a(t))exp((z−1)a(t)).
  6. The busy-period transform: pˉ0(s)=2μ/(s[λ+μ+s+(λ+μ+s)2−4λμ])\bar p_0(s) = 2\mu/(s[\lambda+\mu+s+\sqrt{(\lambda+\mu+s)^2-4\lambda\mu}])pˉ​0​(s)=2μ/(s[λ+μ+s+(λ+μ+s)2−4λμ​]).
  7. The busy-period density: p0′(t)=μ/λ e−(λ+μ)tI1(2λμ t)/tp_0'(t) = \sqrt{\mu/\lambda}\,e^{-(\lambda+\mu)t} I_1(2\sqrt{\lambda\mu}\,t)/tp0′​(t)=μ/λ​e−(λ+μ)tI1​(2λμ​t)/t.
  8. (2.79): for λ<μ\lambda < \muλ<μ, E[Tbp]=1/(μ−λ)E[T_{bp}] = 1/(\mu-\lambda)E[Tbp​]=1/(μ−λ) and E[Tbc]=1/λ+1/(μ−λ)E[T_{bc}] = 1/\lambda + 1/(\mu-\lambda)E[Tbc​]=1/λ+1/(μ−λ).

Significance

The formula (2.75) is the exact finite-time law of the most basic queue. It gives the rate at which M/M/1 approaches equilibrium, and it gives the distribution of the queue under overload (ρ≥1\rho \ge 1ρ≥1), where no steady state exists. It is the reference against which numerical transient methods, such as the uniformization of Chapter 8 of the same book, are checked. The busy-period density and its mean (2.79) enter server-utilisation and vacation models, and the Laplace-transform method used here recurs in the M/G/1 analysis of Chapter 5.

All of these results are classical and proved in the literature. None of them is machine-checked, as far as the platform's catalogue and Mathlib show. The chain from a countable system of linear ODEs, through generating functions and a root-location argument, to a Bessel series is a standard pattern in applied probability, and a formal version of it is what this mission adds. The formal statements also make explicit what the book leaves implicit: the sense in which the equations hold at t=0t = 0t=0, and the class in which the solution is unique.

Difficulty

The forward equations (2.72) form an infinite linear system. The obvious approach is to treat it like a finite system of ODEs, whose solution is a matrix exponential, and read off (2.75). That fails for two reasons. The generator is an infinite matrix, so its exponential needs a functional-analytic setting. And uniqueness is not automatic for infinite systems: it needs a class, such as probability solutions, and an argument that works in that class.

The Bessel form is a second, independent difficulty. The transform pˉ0(s)\bar p_0(s)pˉ​0​(s) is fixed by a root-location argument in the complex plane. Inverting the transform, or verifying (2.75) directly, requires manipulating the three-term Bessel recurrence and exchanging infinite sums. The tail sum ∑jρ−j/2Ij\sum_{j} \rho^{-j/2} I_j∑j​ρ−j/2Ij​ has to be controlled uniformly enough to be differentiated term by term. For ρ≥1\rho \ge 1ρ≥1 the factor (1−ρ)(1-\rho)(1−ρ) is non-positive, so the nonnegativity of pn(t)p_n(t)pn​(t) is not visible from the formula.

Formalization scope

Conventions committed to:

  • Parameters. Rates are real with λ,μ>0\lambda, \mu > 0λ,μ>0, and ρ=λ/μ\rho = \lambda/\muρ=λ/μ. States are ℕ (Fin 2 for M/M/1/1).
  • Solutions. "Solves on [0,∞)[0,\infty)[0,∞)" is HasDerivWithinAt on Set.Ici 0 at every t≥0t \ge 0t≥0. Uniqueness is asserted among solutions that are probability distributions at every time.
  • Special functions. Half-integer powers of ρ\rhoρ are real powers, and I−m=ImI_{-m} = I_mI−m​=Im​ is part of the definition. Laplace transforms are complex Bochner integrals over (0,∞)(0,\infty)(0,∞), and each statement also asserts the integrability it needs. Square roots with positive real part are hypotheses r2=(λ+μ+s)2−4λμr^2 = (\lambda+\mu+s)^2 - 4\lambda\mur2=(λ+μ+s)2−4λμ, Re⁡r>0\operatorname{Re} r > 0Rer>0.

The closed forms stated exactly as in the book are:

  • (2.71);
  • z1z_1z1​ and z2z_2z2​ of (2.74);
  • pˉ0(s)=z1i+1/(μ(1−z1))\bar p_0(s) = z_1^{i+1}/(\mu(1-z_1))pˉ​0​(s)=z1i+1​/(μ(1−z1​));
  • (2.75), with the Bessel series of p.101;
  • the M/M/∞ law and (2.77);
  • the busy-period transform and density of p.102;
  • (2.79).

The book derives (2.79) by a steady-state ratio argument valid for M/G/1. Here it is stated for M/M/1, as the mean of the explicit density.

A statement of (2.75) that only asserts the right-hand side is well defined, or checks only n=0n = 0n=0, is ruled out: the goal requires the ODE system, the initial condition, the probability property and uniqueness. For the same reason, the M/M/∞ law is tied to the system (2.76) and does not reduce to a Taylor expansion.

Needed infrastructure that Mathlib lacks:

  • modified Bessel functions of integer order;
  • Laplace transforms;
  • a Rouché-type zero count or a direct root-location lemma;
  • uniqueness for countable linear ODE systems with bounded or linearly growing rates.

The Bessel and Laplace definitions, and the uniqueness lemma for birth–death forward equations, are reusable beyond this mission. Contributions of those as separate lemmas are welcome.

Selected references

  • D. Gross, J. F. Shortle, J. M. Thompson, C. M. Harris, Fundamentals of Queueing Theory, 4th ed., Wiley, 2008, §§2.11–2.12, pp.97–103. https://doi.org/10.1002/9781118625651
  • N. T. J. Bailey, "A continuous time treatment of a simple queue using generating functions", J. Royal Statistical Society B 16 (1954) 288–291. https://doi.org/10.1111/j.2517-6161.1954.tb00172.x
  • W. Ledermann, G. E. H. Reuter, "Spectral theory for the differential equations of simple birth and death processes", Phil. Trans. Royal Society A 246 (1954) 321–369. https://doi.org/10.1098/rsta.1954.0001
  • D. G. Champernowne, "An elementary method of solution of the queueing problem with a single server and constant parameters", J. Royal Statistical Society B 18 (1956) 125–128. https://doi.org/10.1111/j.2517-6161.1956.tb00217.x
  • J. Abate, W. Whitt, "Calculating time-dependent performance measures for the M/M/1 queue", IEEE Trans. Communications 37 (1989) 1102–1104. https://doi.org/10.1109/26.41165
15 thms3 active usersReviewed
🏆Completed
Operations ResearchProbabilityStochastic Systems·Captain: mikedeng1

Fundamentals of Queueing Theory II: Erlang's Formulas and the Halfin–Whitt Square-Root Staffing LawTextbook

Why birth–death queues and Erlang's formulas

Every call center, hospital ward, cloud server pool and telephone exchange that is sized by formula is sized by one of a handful of explicit expressions from Markovian queueing theory. The two oldest are A. K. Erlang's: the Erlang-B (loss) formula of 1917, which gives the fraction of calls lost when ccc trunks carry an offered load of rrr erlangs, and the Erlang-C formula, which gives the probability that a customer of a ccc-server queue must wait. Both are still the default dimensioning rules of telecommunications and call-center workforce management (Gans, Koole & Mandelbaum 2003).

This mission formalizes Chapter 2, §§2.1–2.10, of Gross, Shortle, Thompson and Harris, Fundamentals of Queueing Theory, 4th ed. (Wiley 2008), which derives these formulas from a single result about birth–death processes and closes with the modern answer to the staffing question.

Timeline. Erlang (1917) obtained the loss formula; Vaulot (1927), Pollaczek (1932), Palm (1938) and Kosten (1948) completed its proof for general service times. Halfin and Whitt (1981) showed that in the M/M/nM/M/nM/M/n queue the delay probability converges to a limit strictly between 000 and 111 exactly when the number of servers exceeds the offered load by an amount of order n\sqrt nn​. This is the quality-and-efficiency-driven (QED) regime on which square-root staffing rests.

Setting

A birth–death process is a continuous-time Markov chain on the states n∈{0,1,2,… }n \in \{0, 1, 2, \dots\}n∈{0,1,2,…} that moves from nnn to n+1n+1n+1 at rate λn≥0\lambda_n \ge 0λn​≥0 (a birth, or arrival) and, for n≥1n \ge 1n≥1, from nnn to n−1n-1n−1 at rate μn>0\mu_n > 0μn​>0 (a death, or departure). A steady-state solution is a probability sequence {pn}\{p_n\}{pn​} (pn≥0p_n \ge 0pn​≥0, ∑npn=1\sum_n p_n = 1∑n​pn​=1) solving the global balance equations (2.1):

(λn+μn)pn=λn−1pn−1+μn+1pn+1 (n≥1),λ0p0=μ1p1.(\lambda_n + \mu_n)p_n = \lambda_{n-1}p_{n-1} + \mu_{n+1}p_{n+1}\ (n \ge 1), \qquad \lambda_0 p_0 = \mu_1 p_1.(λn​+μn​)pn​=λn−1​pn−1​+μn+1​pn+1​ (n≥1),λ0​p0​=μ1​p1​.

The queues of the chapter are birth–death processes with particular rates. The M/M/1M/M/1M/M/1 queue has λn=λ\lambda_n = \lambdaλn​=λ, μn=μ\mu_n = \muμn​=μ and traffic intensity ρ=λ/μ\rho = \lambda/\muρ=λ/μ. The M/M/cM/M/cM/M/c queue has λn=λ\lambda_n = \lambdaλn​=λ, μn=min⁡(n,c)μ\mu_n = \min(n, c)\muμn​=min(n,c)μ (2.30), offered load r=λ/μr = \lambda/\mur=λ/μ and ρ=r/c\rho = r/cρ=r/c. The M/M/c/cM/M/c/cM/M/c/c loss system is the same with λn=0\lambda_n = 0λn​=0 for n≥cn \ge cn≥c. The M/M/∞M/M/\inftyM/M/∞ queue has μn=nμ\mu_n = n\muμn​=nμ.

The explicit functions are the Erlang-B formula

B(c,r)=rc/c!∑i=0cri/i!,B(c, r) = \frac{r^c/c!}{\sum_{i=0}^{c} r^i/i!},B(c,r)=∑i=0c​ri/i!rc/c!​,

the Erlang-C formula, defined for ρ=r/c<1\rho = r/c < 1ρ=r/c<1,

C(c,r)=rc/(c!(1−ρ))rc/(c!(1−ρ))+∑n=0c−1rn/n!,C(c, r) = \frac{r^c/(c!(1-\rho))}{r^c/(c!(1-\rho)) + \sum_{n=0}^{c-1} r^n/n!},C(c,r)=rc/(c!(1−ρ))+∑n=0c−1​rn/n!rc/(c!(1−ρ))​,

and, with ϕ\phiϕ, Φ\PhiΦ the standard normal density and distribution function,

α(β)=ϕ(β)ϕ(β)+βΦ(β).\alpha(\beta) = \frac{\phi(\beta)}{\phi(\beta) + \beta\Phi(\beta)}.α(β)=ϕ(β)+βΦ(β)ϕ(β)​.

Formalization targets

Goal: the Halfin–Whitt theorem (§2.4, p.75)

For offered loads 0<rn<n0 < r_n < n0<rn​<n,

lim⁡n→∞C(n,rn)=α∈(0,1)  ⟺  lim⁡n→∞n−rnn=β>0,α=α(β).\lim_{n\to\infty} C(n, r_n) = \alpha \in (0,1) \iff \lim_{n\to\infty} \frac{n - r_n}{\sqrt n} = \beta > 0, \qquad \alpha = \alpha(\beta).n→∞lim​C(n,rn​)=α∈(0,1)⟺n→∞lim​n​n−rn​​=β>0,α=α(β).

It is stated as three facts: α\alphaα maps (0,∞)(0, \infty)(0,∞) into (0,1)(0, 1)(0,1); each α∈(0,1)\alpha \in (0, 1)α∈(0,1) has exactly one preimage β>0\beta > 0β>0; and for every β>0\beta > 0β>0 the two limits are equivalent.

Milestones

  1. (2.3)–(2.4): the steady-state solution of a general birth–death process, pn=p0∏i=1nλi−1/μip_n = p_0\prod_{i=1}^n \lambda_{i-1}/\mu_ipn​=p0​∏i=1n​λi−1​/μi​, and its existence if and only if 1+∑n≥1∏i=1nλi−1/μi<∞1 + \sum_{n\ge1}\prod_{i=1}^n \lambda_{i-1}/\mu_i < \infty1+∑n≥1​∏i=1n​λi−1​/μi​<∞.
  2. (2.9): M/M/1M/M/1M/M/1, pn=(1−ρ)ρnp_n = (1-\rho)\rho^npn​=(1−ρ)ρn, existing iff ρ<1\rho < 1ρ<1.
  3. (2.31)–(2.32): the M/M/cM/M/cM/M/c law, existing iff λ/(cμ)<1\lambda/(c\mu) < 1λ/(cμ)<1.
  4. (2.33): Lq=rcρ p0/(c!(1−ρ)2)L_q = r^c\rho\,p_0/(c!(1-\rho)^2)Lq​=rcρp0​/(c!(1−ρ)2).
  5. (2.37)–(2.38): 1−∑n<cpn=C(c,r)1 - \sum_{n<c} p_n = C(c, r)1−∑n<c​pn​=C(c,r).
  6. (2.52)–(2.53): the M/M/c/cM/M/c/cM/M/c/c law and pc=B(c,r)p_c = B(c, r)pc​=B(c,r).
  7. (2.54): B(c,r)=rB(c−1,r)/(c+rB(c−1,r))B(c, r) = rB(c-1, r)/(c + rB(c-1, r))B(c,r)=rB(c−1,r)/(c+rB(c−1,r)), B(0,r)=1B(0, r) = 1B(0,r)=1.
  8. (2.55): C(c,r)=cB(c,r)/(c−r+rB(c,r))C(c, r) = cB(c, r)/(c - r + rB(c, r))C(c,r)=cB(c,r)/(c−r+rB(c,r)).
  9. (2.57): M/M/∞M/M/\inftyM/M/∞, pn=rne−r/n!p_n = r^n e^{-r}/n!pn​=rne−r/n!.

Significance

The results. Items 1–9 are the working formulas of Markovian capacity planning: a stationary law for each basic model and the measures read off from it. (2.54) and (2.55) are how BBB and CCC are computed in practice, since the factorials of the closed forms overflow for c>170c > 170c>170. The Halfin–Whitt theorem is the reason the rule c≈r+βrc \approx r + \beta\sqrt rc≈r+βr​ holds a fixed service level, and it is the entry point to the QED heavy-traffic literature (diffusion limits of many-server queues, Garnett–Mandelbaum–Reiman, Gamarnik–Momčilović).

Formalizing them. All results are classical and proved in the literature. The book states the Halfin–Whitt theorem without proof, and (2.54)–(2.55) are left to exercises. The formalization would supply machine-checked versions of the Erlang identities and of the Halfin–Whitt limit theorem. No Lean development of either was found on the platform when this mission was drafted. A related Erlang-B statement from Kelly and Yudovina is on the platform, stated with detailed balance on a finite state space.

Difficulty

The stationary laws are induction plus geometric and exponential series, and the Erlang identities are finite algebra. The difficulty is concentrated in the goal. C(n,rn)C(n, r_n)C(n,rn​) is a ratio of a Poisson-type tail to a truncated exponential sum in which both nnn and rnr_nrn​ grow. The naive route, substituting Stirling's formula term by term, fails: the sums have Θ(n)\Theta(\sqrt n)Θ(n​) significant terms, each of relative size exp⁡(−k2/2n)\exp(-k^2/2n)exp(−k2/2n), and the error has to be controlled uniformly over them. The converse direction also requires showing that α(⋅)\alpha(\cdot)α(⋅) is strictly monotone. Without that, convergence of C(n,rn)C(n, r_n)C(n,rn​) does not force convergence of (n−rn)/n(n - r_n)/\sqrt n(n−rn​)/n​.

Formalization scope

Rates are real sequences indexed by N\mathbb NN, and a steady-state solution is a real sequence with HasSum p 1, nonnegative entries, and the balance equations (2.1) exactly as printed (global balance, not detailed balance). Every "the steady-state solution is X" is stated in both halves: X is a steady-state solution, and every steady-state solution equals X; the book's existence conditions (ρ<1\rho < 1ρ<1, λ/(cμ)<1\lambda/(c\mu) < 1λ/(cμ)<1, convergence of the series) are part of the statements. The M/M/c/cM/M/c/cM/M/c/c system is the N\mathbb NN-indexed process with λn=0\lambda_n = 0λn​=0 for n≥cn \ge cn≥c, as §2.5 sets it up; the statement records that states above ccc carry no mass.

The closed forms that are fixed in Lean: ∏i=1nλi−1/μi\prod_{i=1}^n \lambda_{i-1}/\mu_i∏i=1n​λi−1​/μi​ over Finset.Icc 1 n; B(c,r)B(c, r)B(c,r) and C(c,r)C(c, r)C(c,r) exactly as displayed above; ϕ\phiϕ = gaussianPDFReal 0 1, Φ\PhiΦ = the CDF of gaussianReal 0 1; Wq(0)=∑n=0c−1pnW_q(0) = \sum_{n=0}^{c-1} p_nWq​(0)=∑n=0c−1​pn​, as evaluated on p.69; Lq=∑n>c(n−c)pnL_q = \sum_{n > c}(n - c)p_nLq​=∑n>c​(n−c)pn​ as a convergent series.

C(c,r)C(c, r)C(c,r) is a total function in Lean, but its value for r≥cr \ge cr≥c carries no meaning. The goal assumes 0<rn<n0 < r_n < n0<rn​<n for n≥1n \ge 1n≥1, the book's standing condition ρ<1\rho < 1ρ<1. A statement about some other function with the same limiting behaviour, or with BBB and CCC left abstract, would not be this mission. Neither would one-directional or existence-only versions of the stationary laws.

Not included: the waiting-time distributions (2.28) and (2.39), which need an FCFS waiting-time model with arrival-point probabilities; the M/M/c/KM/M/c/KM/M/c/K measures (2.45)–(2.48); finite-source and state-dependent models (§§2.8–2.10). Useful contributions beyond the milestones are Poisson tail estimates at the n\sqrt nn​ scale and monotonicity of α(β)\alpha(\beta)α(β). Both are reusable in other many-server heavy-traffic statements.

Selected references

  • D. Gross, J. F. Shortle, J. M. Thompson, C. M. Harris, Fundamentals of Queueing Theory, 4th ed., Wiley, 2008. https://doi.org/10.1002/9781118625651
  • S. Halfin, W. Whitt, Heavy-traffic limits for queues with many exponential servers, Operations Research 29(3), 567–588, 1981. https://doi.org/10.1287/opre.29.3.567
  • N. Gans, G. Koole, A. Mandelbaum, Telephone call centers: tutorial, review, and research prospects, Manufacturing & Service Operations Management 5(2), 79–141, 2003. https://doi.org/10.1287/msom.5.2.79.16071
  • A. K. Erlang, Solution of some problems in the theory of probabilities of significance in automatic telephone exchanges, Elektroteknikeren 13, 1917 (English translation in The Life and Works of A. K. Erlang, 1948).
  • F. P. Kelly, E. Yudovina, Stochastic Networks, Cambridge University Press, 2014. https://doi.org/10.1017/CBO9781139565363
12 thms3 active usersReviewed
🏆Completed
Operations ResearchProbabilityStochastic Systems·Captain: mikedeng1

Stochastic Dynamic Programming and the Control of Queueing Systems XIII: Lyapunov Criteria and z Standard Markov Chains with CostsTextbook

Motivation

Average cost control of queues rests on a small amount of Markov chain theory: when does a chain with costs have a well defined long-run average cost, and how can that be checked for a concrete model with an unbounded state space? Appendix C of L. I. Sennott, Stochastic Dynamic Programming and the Control of Queueing Systems (Wiley, 1999, doi:10.1002/9780470317037) collects this material for countable state spaces and packages it in one hypothesis, the zzz standard chain. Chapters 7–10 of the book verify this hypothesis for the Markov chains induced by stationary policies in admission, routing and service-rate control models, and use its consequences to prove existence of average cost optimal policies.

The tools are Lyapunov functions in the sense of Foster (1953): a nonnegative function on the states whose expected one-step change is negative away from a finite set. Foster's criterion for positive recurrence, and its refinements bounding expected first passage times and costs, are the standard way to verify stability of queueing networks (Meyn and Tweedie, Markov Chains and Stochastic Stability, 1993/2009).

Setting

A Markov chain Γ\GammaΓ on a countable set SSS is given by transition probabilities Pij≥0P_{ij}\ge 0Pij​≥0 with ∑jPij=1\sum_j P_{ij}=1∑j​Pij​=1. XtX_tXt​ is the state at time ttt and Pij(t)P^{(t)}_{ij}Pij(t)​ the ttt-step transition probability (Pij(0)=δijP^{(0)}_{ij}=\delta_{ij}Pij(0)​=δij​). State iii leads to jjj if Pij(t)>0P^{(t)}_{ij}>0Pij(t)​>0 for some t≥0t\ge0t≥0; states that lead to each other communicate, which partitions SSS into communicating classes.

For a nonempty G⊆SG\subseteq SG⊆S the first passage time from iii is TiG=min⁡{t≥1:Xt∈G}T_{iG}=\min\{t\ge1: X_t\in G\}TiG​=min{t≥1:Xt​∈G} given X0=iX_0=iX0​=i, and miG=E[TiG]∈[0,∞]m_{iG}=E[T_{iG}]\in[0,\infty]miG​=E[TiG​]∈[0,∞]; mijm_{ij}mij​ is the case G={j}G=\{j\}G={j} and miim_{ii}mii​ the expected return time. The taboo probability GPik(t)_G P^{(t)}_{ik}G​Pik(t)​ is the probability of going from iii to kkk in ttt steps without visiting GGG at the intermediate times, and Guik_G u_{ik}G​uik​ is the expected number of visits to kkk at times 0≤t<TiG0\le t<T_{iG}0≤t<TiG​. A state is transient if P(Tii<∞)<1P(T_{ii}<\infty)<1P(Tii​<∞)<1 and positive recurrent if mii<∞m_{ii}<\inftymii​<∞; a positive recurrent class is a communicating class of positive recurrent states. The steady state probability is πj=(mjj)−1\pi_j=(m_{jj})^{-1}πj​=(mjj​)−1 (zero when mjj=∞m_{jj}=\inftymjj​=∞).

Each state carries a finite cost C(i)≥0C(i)\ge0C(i)≥0. The expected average cost over [0,n−1][0,n-1][0,n−1] from iii is

Ji(n)=1n E[∑t=0n−1C(Xt) ∣ X0=i]=1n∑t=0n−1∑jPij(t)C(j),J^{(n)}_i=\frac1n\,E\Big[\sum_{t=0}^{n-1}C(X_t)\,\Big|\,X_0=i\Big]=\frac1n\sum_{t=0}^{n-1}\sum_j P^{(t)}_{ij}C(j),Ji(n)​=n1​E[t=0∑n−1​C(Xt​)​X0​=i]=n1​t=0∑n−1​j∑​Pij(t)​C(j),

ciGc_{iG}ciG​ is the expected cost E[∑t=0TiG−1C(Xt)∣X0=i]E[\sum_{t=0}^{T_{iG}-1}C(X_t)\mid X_0=i]E[∑t=0TiG​−1​C(Xt​)∣X0​=i] of a first passage (defined when miG<∞m_{iG}<\inftymiG​<∞), and JR=∑j∈RπjC(j)J_R=\sum_{j\in R}\pi_jC(j)JR​=∑j∈R​πj​C(j) is the average cost on a positive recurrent class RRR. The chain is zzz standard (Definition C.2.5) if for a distinguished state zzz

miz<∞andciz<∞for all i∈S.m_{iz}<\infty\quad\text{and}\quad c_{iz}<\infty\qquad\text{for all } i\in S.miz​<∞andciz​<∞for all i∈S.

Formalization targets

Goal: Proposition C.2.6

If Γ\GammaΓ is zzz standard, then SSS is the union of a positive recurrent class R∋zR\ni zR∋z and a set of transient states, JR<∞J_R<\inftyJR​<∞, and

lim⁡n→∞Ji(n)=JRfor every i∈S.\lim_{n\to\infty}J^{(n)}_i=J_R\qquad\text{for every } i\in S.n→∞lim​Ji(n)​=JR​for every i∈S.

The statement fixes no constants: it asserts that the average cost exists, is finite, and does not depend on the initial state.

Milestones

  1. Proposition C.1.2: π\piπ is the unique stationary distribution of a positive recurrent class, and πj=eij/mii=πieij\pi_j=e_{ij}/m_{ii}=\pi_ie_{ij}πj​=eij​/mii​=πi​eij​.
  2. Proposition C.1.4: the first-step equations (C.2)–(C.4) for taboo probabilities, visit counts and miGm_{iG}miG​; ∑i∈GπimiG=1\sum_{i\in G}\pi_im_{iG}=1∑i∈G​πi​miG​=1 for GGG inside a positive recurrent class; mij<∞m_{ij}<\inftymij​<∞ within such a class.
  3. Proposition C.1.5: if ∑jPij[y(j)−y(i)]≤−ϵ\sum_jP_{ij}[y(j)-y(i)]\le-\epsilon∑j​Pij​[y(j)−y(i)]≤−ϵ off GGG, then miG≤y(i)/ϵm_{iG}\le y(i)/\epsilonmiG​≤y(i)/ϵ.
  4. Corollary C.1.6: the same with G={z}G=\{z\}G={z} and ∑jPzjy(j)<∞\sum_jP_{zj}y(j)<\infty∑j​Pzj​y(j)<∞ makes zzz positive recurrent.
  5. Proposition C.2.1: on a positive recurrent class, Ji(n)→JR=cii/miiJ^{(n)}_i\to J_R=c_{ii}/m_{ii}Ji(n)​→JR​=cii​/mii​.
  6. Proposition C.2.2: ciG=∑kC(k) Guikc_{iG}=\sum_kC(k)\,{}_Gu_{ik}ciG​=∑k​C(k)G​uik​, the first-step equation (C.13), and JR=∑i∈GπiciGJ_R=\sum_{i\in G}\pi_ic_{iG}JR​=∑i∈G​πi​ciG​.
  7. Proposition C.2.3 and Corollary C.2.4: the cost drift condition ∑jPij[r(j)−r(i)]≤−C(i)\sum_jP_{ij}[r(j)-r(i)]\le-C(i)∑j​Pij​[r(j)−r(i)]≤−C(i) off a finite set bounds ciG≤r(i)+FmiGc_{iG}\le r(i)+Fm_{iG}ciG​≤r(i)+FmiG​, and gives czz<∞c_{zz}<\inftyczz​<∞.
  8. Remark C.2.7: the hypotheses of C.1.6 and C.2.4 together imply the chain is zzz standard; so do irreducibility, positive recurrence and finite average cost.

Significance

Proposition C.2.6 is what makes the zzz standard hypothesis useful: an average cost criterion that is a genuine limit, finite, and independent of the initial state, even for chains with transient states and unbounded state spaces. Every average cost optimality result of the book that works with a stationary policy's induced chain (the (SEN) and (BOR) assumption sets, the approximating-sequence method, the continuous-time chapter) calls on this proposition or on the Lyapunov criteria of Remark C.2.7 to establish its hypotheses for queueing models.

All results of the mission are classical and proved in the literature; parts are stated in the book without proof and referred to Chung (1967), Grassmann et al. (1985) and renewal theory. None of them has been machine-checked in this form as far as the platform and Mathlib show: Mathlib has kernels and Ionescu-Tulcea trajectories but no countable-state Markov chain classification, no first passage calculus, and no Foster–Lyapunov criterion. Existing platform results on countable chains (the Levin–Peres–Wilmer series) treat irreducible chains without costs. A complete development here produces a reusable library of first passage identities, Foster–Lyapunov bounds for times and costs, and average cost limits on reducible chains.

Difficulty

The Lyapunov bounds (C.1.5, C.2.3) are telescoping arguments, but they require a clean handling of truncated passages and of sums that may be infinite: (C.7) is an inequality between possibly divergent series, and the step "iterate nnn times and let n→∞n\to\inftyn→∞" must be made rigorous for [0,∞][0,\infty][0,∞]-valued expectations.

The central difficulty is part (iii) of the goal for transient initial states. On the class RRR, the limit of Ji(n)J^{(n)}_iJi(n)​ is a renewal reward theorem over successive returns to zzz; from a transient state the first cycle has a different law, so a delayed renewal reward argument is needed, and it has to cover the case where costs are unbounded. The obvious approach, bounding Ji(n)J^{(n)}_iJi(n)​ between JRJ_RJR​ and the average over the first nnn steps of the chain started in zzz, fails because Pij(t)P^{(t)}_{ij}Pij(t)​ need not converge (periodic classes) and because finite cizc_{iz}ciz​ does not bound individual cost terms. Proposition C.1.2's uniqueness and the Kac-type identity of C.1.4(iv) likewise need the full cycle decomposition of a positive recurrent class.

Formalization scope

The chain is a structure MC S with P : S → S → ℝ≥0∞ and ∑' j, P i j = 1, over a countable type S; costs are C : S → ℝ≥0. Probabilities and expectations are ℝ≥0∞-valued sums over finite paths Fin (t+1) → S, so every quantity is defined without summability side conditions and may be ∞\infty∞. The first passage time is TiG≥1T_{iG}\ge1TiG​≥1; miGm_{iG}miG​ is the expectation of TiGT_{iG}TiG​ from its law (and ∞\infty∞ when P(TiG<∞)<1P(T_{iG}<\infty)<1P(TiG​<∞)<1), not defined by the recursion (C.4), so that (C.4) is a theorem. Guik_Gu_{ik}G​uik​ counts visits at times 0≤t<TiG0\le t<T_{iG}0≤t<TiG​. ciGc_{iG}ciG​ is computed over first passage paths and is used only when miG<∞m_{iG}<\inftymiG​<∞, as in the book. πj\pi_jπj​ is (mjj)−1(m_{jj})^{-1}(mjj​)−1, which the book states equals the Cesàro limit lim⁡nQjj(n)\lim_nQ^{(n)}_{jj}limn​Qjj(n)​. Ji(n)J^{(n)}_iJi(n)​ is meaningful for n≥1n\ge1n≥1, and limits are taken in [0,∞][0,\infty][0,∞]. The drift conditions ∑jPij[y(j)−y(i)]≤−ϵ\sum_jP_{ij}[y(j)-y(i)]\le-\epsilon∑j​Pij​[y(j)−y(i)]≤−ϵ and ∑jPij[r(j)−r(i)]≤−C(i)\sum_jP_{ij}[r(j)-r(i)]\le-C(i)∑j​Pij​[r(j)−r(i)]≤−C(i) are written in the equivalent additive form ∑jPijy(j)+ϵ≤y(i)\sum_jP_{ij}y(j)+\epsilon\le y(i)∑j​Pij​y(j)+ϵ≤y(i), which is equivalent for finite yyy and makes the case ∑jPijy(j)=∞\sum_jP_{ij}y(j)=\infty∑j​Pij​y(j)=∞ fail, as it does in the book.

A trivializing formalization, such as defining miGm_{iG}miG​ or ciGc_{iG}ciG​ by the equations (C.4) or (C.13), defining JRJ_RJR​ as the limit of Ji(n)J^{(n)}_iJi(n)​, or allowing a zzz standard chain whose return time or return cost to zzz is infinite, is ruled out: zzz standard requires miz<∞m_{iz}<\inftymiz​<∞ and ciz<∞c_{iz}<\inftyciz​<∞ for every iii including zzz, and each quantity is defined from path probabilities.

Needed infrastructure: path-sum manipulation in [0,∞][0,\infty][0,∞] (first-step and last-step decompositions), the ratio limit / renewal reward theorem for a positive recurrent class, and the delayed version for transient starts. The first passage calculus and the Lyapunov bounds are reusable by the book's other chapters on average cost, which state the zzz standard property for policy-induced chains. Contributions of lemmas on path sums and of an independent renewal reward library are welcome.

Selected references

  • L. I. Sennott, Stochastic Dynamic Programming and the Control of Queueing Systems, Wiley, 1999, Appendix C, pp. 292–302. doi:10.1002/9780470317037
  • K. L. Chung, Markov Chains with Stationary Transition Probabilities, 2nd ed., Springer, 1967. doi:10.1007/978-3-642-62015-7
  • F. G. Foster, On the stochastic matrices associated with certain queuing processes, Annals of Mathematical Statistics 24 (1953), 355–360. doi:10.1214/aoms/1177728976
  • S. P. Meyn and R. L. Tweedie, Markov Chains and Stochastic Stability, 2nd ed., Cambridge University Press, 2009. doi:10.1017/CBO9780511626630
  • D. P. Heyman and M. J. Sobel, Stochastic Models in Operations Research, Vol. I, McGraw-Hill, 1982.
12 thms3 active usersReviewed
🏆Completed
Dynamic ProgrammingOperations ResearchProbability·Captain: mikedeng1

Stochastic Dynamic Programming and the Control of Queueing Systems VIII: Computing Average Cost Optimal Policies by Approximating SequencesTextbook

Motivation

Control problems for queueing systems (admission control, service rate control, routing to parallel servers) are naturally modelled as Markov decision chains whose state is a vector of queue lengths. The state space is therefore denumerably infinite, and the performance measure of interest is usually the long-run average cost per slot. For such models the existence theory of average cost optimal stationary policies is well developed (Chapter 7 of Sennott's book), but existence gives no algorithm: an optimal policy is a function on an infinite set, and value iteration cannot be run on an infinite state space.

The approximating sequence method answers this by replacing the infinite model Δ\DeltaΔ with a sequence of finite models ΔN\Delta_NΔN​ on truncated state spaces SNS_NSN​, solving the average cost optimality equation in each, and passing to the limit. Chapter 8 of L. I. Sennott, Stochastic Dynamic Programming and the Control of Queueing Systems (Wiley, 1999) gives a set of conditions, the (AC) assumptions, under which this limit procedure provably produces the minimum average cost and an average cost optimal policy of Δ\DeltaΔ.

Timeline. The approximating sequence method for the average cost criterion and the (AC) assumptions were introduced in Sennott (1997a), with further results in Sennott (1997b) (bibliographic notes, p. 194). The book collects these results, adds the four step verification template (Proposition 8.2.1), the finite-set augmentation route based on the (BOR) assumptions (Proposition 8.2.3), and the weakening (WAC) of Section 8.7, which Chapter 9 uses.

Setting

An MDC Δ\DeltaΔ has a countable state space SSS, a finite nonempty action set AiA_iAi​ in each state iii, a finite cost C(i,a)≥0C(i,a)\ge0C(i,a)≥0, and transition probabilities Pij(a)P_{ij}(a)Pij​(a). A general policy θ\thetaθ chooses actions at random using the whole past history. Its average cost is

Jθ(i)=lim sup⁡n→∞1n∑t=0n−1Eθ[C(Xt,At)∣X0=i],J_\theta(i)=\limsup_{n\to\infty}\frac1n\sum_{t=0}^{n-1}E_\theta[C(X_t,A_t)\mid X_0=i],Jθ​(i)=n→∞limsup​n1​t=0∑n−1​Eθ​[C(Xt​,At​)∣X0​=i],

and the minimum average cost is J(i)=inf⁡θJθ(i)∈[0,∞]J(i)=\inf_\theta J_\theta(i)\in[0,\infty]J(i)=infθ​Jθ​(i)∈[0,∞]. A policy is average cost optimal if Jθ≡JJ_\theta\equiv JJθ​≡J.

An approximating sequence (ΔN)N≥N0(\Delta_N)_{N\ge N_0}(ΔN​)N≥N0​​ consists of finite sets SNS_NSN​ increasing to SSS and MDCs ΔN\Delta_NΔN​ on SNS_NSN​ with the same actions and costs and with transition probabilities Pij(a;N)P_{ij}(a;N)Pij​(a;N) on SNS_NSN​ converging to Pij(a)P_{ij}(a)Pij​(a). Write vnNv^N_nvnN​ and VαNV^N_\alphaVαN​ for the nnn-horizon and discounted value functions of ΔN\Delta_NΔN​.

The (AC) assumptions are:

  • (AC1) there are finite constants JNJ^NJN and finite functions rNr^NrN on SNS_NSN​ with
JN+rN(i)=min⁡a{C(i,a)+∑j∈SNPij(a;N) rN(j)},i∈SN;(8.1)J^N+r^N(i)=\min_a\Big\{C(i,a)+\sum_{j\in S_N}P_{ij}(a;N)\,r^N(j)\Big\},\qquad i\in S_N; \tag{8.1}JN+rN(i)=amin​{C(i,a)+j∈SN​∑​Pij​(a;N)rN(j)},i∈SN​;(8.1)
  • (AC2) lim sup⁡NrN(i)<∞\limsup_N r^N(i)<\inftylimsupN​rN(i)<∞;
  • (AC3) lim inf⁡NrN(i)≥−Q\liminf_N r^N(i)\ge -QliminfN​rN(i)≥−Q for a constant Q≥0Q\ge0Q≥0;
  • (AC4) J∗:=lim sup⁡NJN<∞J^*:=\limsup_N J^N<\inftyJ∗:=limsupN​JN<∞ and J∗≤J(i)J^*\le J(i)J∗≤J(i) for all iii.

The (WAC) assumptions of Section 8.7 allow QQQ to depend on the state, at the price of integrability conditions along every stationary policy.

Formalization targets

Goal: Theorem 8.1.1

Under (AC), the limit lim⁡N→∞JN\lim_{N\to\infty}J^NlimN→∞​JN exists and

J(i)=lim⁡N→∞JNfor all i∈S,J(i)=\lim_{N\to\infty}J^N\qquad\text{for all } i\in S,J(i)=N→∞lim​JNfor all i∈S,

and every limit point e∗e^*e∗ of stationary policies eNe^NeN realizing the minimum in (8.1) is average cost optimal for Δ\DeltaΔ. The statement fixes no constants; it asserts the shape of the conclusion for any model satisfying (AC).

Milestones

  • Proposition 8.2.1 (the four step template): unichain and aperiodicity of the finite models, an xxx standard policy at which the approximating sequence is conforming, a comparison of vnNv^N_nvnN​ (or VαNV^N_\alphaVαN​) with vnv_nvn​ (or VαV_\alphaVα​), and a lower bound on vnN−vnN(x)v^N_n - v^N_n(x)vnN​−vnN​(x) together imply that the value iteration limits
rN(i)=lim⁡n→∞(vnN(i)−vnN(x))r^N(i)=\lim_{n\to\infty}\big(v^N_n(i)-v^N_n(x)\big)rN(i)=n→∞lim​(vnN​(i)−vnN​(x))

exist and satisfy (AC).

  • Corollary 8.2.2: on S={0,1,2,… }S=\{0,1,2,\dots\}S={0,1,2,…} with SN={0,…,N}S_N=\{0,\dots,N\}SN​={0,…,N} and excess probability sent to NNN, monotonicity of vnNv^N_nvnN​, vnv_nvn​ and of the first passage moments of a 000 standard policy suffices.
  • Proposition 8.2.3: an augmentation type approximating sequence that sends excess probability to a finite set of cheap states satisfies the template.
  • Proposition 8.5.1: in the single-server queue with Bernoulli(ppp) arrivals and constant service rate a>pa>pa>p,
Jd(a)=Hp(1−p)a−p+pC(a)a.J_{d(a)}=\frac{Hp(1-p)}{a-p}+\frac{pC(a)}{a}.Jd(a)​=a−pHp(1−p)​+apC(a)​.
  • Proposition 8.7.1: the conclusions of Theorem 8.1.1 hold under (WAC).

Significance

The result itself. Theorem 8.1.1 is what turns the existence theory of Chapter 7 into a computation. It certifies that the minimum average costs of the truncations converge to the minimum average cost of the infinite model, that this cost is constant, and that the policies produced by value iteration on ΔN\Delta_NΔN​ converge, along subsequences, to an optimal policy for Δ\DeltaΔ. Propositions 8.2.1–8.2.3 reduce (AC) to properties that can be checked model by model; Section 8.3 checks them for queues with reject option, service rate control, and routing to parallel queues. Proposition 8.7.1 is the version used in Chapter 9 for models whose relative values are not uniformly bounded below. Proposition 8.5.1 gives the closed-form open-loop benchmark used in the numerical study of Section 8.5.

Formalizing it. All results are proved in the book; none has a machine-checked proof. A formalization would give the first verified convergence theorem for truncations of denumerable-state average cost MDPs, and would make the approximating sequence method usable as a certified reduction from infinite to finite models. The template results (8.2.1–8.2.3) additionally require a formal treatment of conformity of approximating Markov chains (Appendix C.4–C.5), which is of independent use.

Difficulty

The naive argument takes limits in (8.1) along NNN: the minimum over aaa and the finite sums pass to the limit only in the inequality direction, and only after a Fatou-type lemma for sums against the converging distributions Pij(a;N)P_{ij}(a;N)Pij​(a;N) with integrands rNr^NrN that are neither bounded nor monotone. The lower bound −Q-Q−Q in (AC3) is exactly what makes this possible; without it the limit inequality can fail. The limit inequality then produces only an average cost optimality inequality, and turning it into optimality of the limit policy requires a separate argument that a function bounded below and satisfying the inequality yields an upper bound on the average cost. Existence of lim⁡NJN\lim_N J^NlimN​JN is not given: (AC4) controls only the limit superior, and the limit must be identified through every subsequence. For the template results, the difficulty is in the Markov chain side: the convergence of first passage times and costs of the truncated chains, which fails for general approximating sequences (Examples C.4.4, C.4.7).

Formalization scope

The Lean development is in the namespace SennottDP.AvgASM. The state space is any countable type; action sets are Finsets, assumed nonempty; costs are finite and nonnegative (ℝ≥0); transition probabilities are ℝ≥0∞-valued, with each row a probability distribution for admissible actions. All value functions and average costs take values in [0,∞][0,\infty][0,∞] (ℝ≥0∞), and every infimum over policies ranges over the full class of history-dependent randomized policies. The JNJ^NJN and rNr^NrN of (AC1) are real; the limits superior and inferior over NNN in (AC2)–(AC4) and (WAC) are taken in EReal, so an unbounded sequence cannot produce a junk finite value. The equality J(i)=lim⁡NJNJ(i)=\lim_N J^NJ(i)=limN​JN is stated in EReal, which also asserts that J(i)J(i)J(i) is finite. Quantities of ΔN\Delta_NΔN​ at states outside SNS_NSN​ are junk values that affect only finitely many NNN for each state.

A trivializing formalization is ruled out: JNJ^NJN and rNr^NrN are the witnesses of (AC1), not free variables, the policies eNe^NeN must realize the minimum in (8.1) for those witnesses, and the minimum average cost JJJ is an infimum over all policies, so the goal cannot be satisfied by choosing J∗J^*J∗ or the limit policy.

A complete development needs: the induced process law of a general policy; the average cost optimality inequality argument (Lemma 7.2.1); the finite-state average cost results of Chapter 6 (Propositions 6.4.1, 6.5.1, 6.6.3); a Fatou lemma for converging distributions (Proposition A.2.5); limit points of policy sequences (Proposition B.5); and, for the template results, the theory of zzz standard chains and conformity (Appendix C.2–C.5). The Markov chain layer and the approximating sequence definitions are reusable beyond this mission. Contributions of any of these intermediate results as separate theorems are welcome.

Selected references

  • L. I. Sennott, Stochastic Dynamic Programming and the Control of Queueing Systems, Wiley Series in Probability and Statistics, John Wiley & Sons, 1999. https://doi.org/10.1002/9780470317037
  • L. I. Sennott, "The computation of average optimal policies in denumerable state Markov decision chains", Advances in Applied Probability 29 (1997), 114–137 (cited as Sennott (1997a) in the book).
  • L. I. Sennott, "On computing average cost optimal policies with application to routing to parallel queues", ZOR — Mathematical Methods of Operations Research 45 (1997), 45–62 (cited as Sennott (1997b) in the book).
14 thms3 active users
🏆Completed
Dynamic ProgrammingOperations ResearchProbability·Captain: mikedeng1

Stochastic Dynamic Programming and the Control of Queueing Systems IV: Average Cost Optimal Stationary Policies Exist for Finite State SpacesTextbook

Why average cost on finite state spaces

Controlled queues, inventories and communication links are run for a long time, and the quantity an operator usually cares about is the long-run average cost per period rather than a discounted total. The average cost criterion is harder to work with than the discounted one: its value is a lim sup⁡\limsuplimsup of Cesàro means, it is not given by a contraction, and for general (history dependent, randomized) policies the limit need not exist. Chapter 6 of L. I. Sennott, Stochastic Dynamic Programming and the Control of Queueing Systems (Wiley, 1999) treats the case of a finite state space, where the strongest results hold: an average cost optimal policy exists, can be taken stationary, and can be obtained as a limit of discount optimal policies as the discount factor tends to one.

The results go back to D. Blackwell, "Discrete dynamic programming", Ann. Math. Statist. 33 (1962), who showed that for finite states and actions some stationary policy is discount optimal for all discount factors close to one. Such a policy is now called Blackwell optimal. Sennott's Chapter 6 derives average cost optimality of this policy and the multichain average cost optimality equation from it, in the notation used throughout the book.

Setting

A Markov decision chain (MDC) Δ\DeltaΔ has a countable state space SSS, a finite nonempty action set AiA_iAi​ in each state iii, nonnegative finite costs C(i,a)C(i,a)C(i,a), and transition probabilities Pij(a)P_{ij}(a)Pij​(a) with ∑jPij(a)=1\sum_j P_{ij}(a) = 1∑j​Pij​(a)=1. A policy θ\thetaθ chooses the action at time ttt from a distribution θ(⋅∣ht)\theta(\cdot \mid h_t)θ(⋅∣ht​) on AitA_{i_t}Ait​​ that may depend on the whole history ht=(i0,a0,…,it)h_t = (i_0,a_0,\ldots,i_t)ht​=(i0​,a0​,…,it​). A stationary policy fff always chooses a fixed action f(i)∈Aif(i) \in A_if(i)∈Ai​ in state iii.

With Xt,AtX_t, A_tXt​,At​ the state and action at time ttt and X0=iX_0 = iX0​=i, define

  • the discounted cost Vθ,α(i)=∑t≥0αtEθ[C(Xt,At)]V_{\theta,\alpha}(i) = \sum_{t \ge 0} \alpha^t E_\theta[C(X_t,A_t)]Vθ,α​(i)=∑t≥0​αtEθ​[C(Xt​,At​)] for 0<α<10<\alpha<10<α<1, and the discounted value function Vα(i)=inf⁡θVθ,α(i)V_\alpha(i) = \inf_\theta V_{\theta,\alpha}(i)Vα​(i)=infθ​Vθ,α​(i);
  • the nnn horizon cost vθ,n(i)=∑t=0n−1Eθ[C(Xt,At)]v_{\theta,n}(i) = \sum_{t=0}^{n-1} E_\theta[C(X_t,A_t)]vθ,n​(i)=∑t=0n−1​Eθ​[C(Xt​,At​)];
  • the average cost Jθ(i)=lim sup⁡nvθ,n(i)/nJ_\theta(i) = \limsup_n v_{\theta,n}(i)/nJθ​(i)=limsupn​vθ,n​(i)/n, its lim inf⁡\liminfliminf version Jθ∗(i)J^*_\theta(i)Jθ∗​(i), and the minimum average cost J(i)=inf⁡θJθ(i)J(i) = \inf_\theta J_\theta(i)J(i)=infθ​Jθ​(i).

All infima range over all general policies, and every quantity may equal +∞+\infty+∞. A policy is α\alphaα discount optimal if Vθ,α=VαV_{\theta,\alpha} = V_\alphaVθ,α​=Vα​, and average cost optimal if Jθ=JJ_\theta = JJθ​=J.

For a stationary policy fff on a finite state space, the induced Markov chain splits into positive recurrent classes R1,…,RKR_1,\ldots,R_KR1​,…,RK​ and transient states. With pk(i)p_k(i)pk​(i) the probability of reaching RkR_kRk​ from iii, distinguished states zk∈Rkz_k \in R_kzk​∈Rk​, and Wα(i)=∑kpk(i)Vα(zk)W_\alpha(i) = \sum_k p_k(i) V_\alpha(z_k)Wα​(i)=∑k​pk​(i)Vα​(zk​), the relative value function is wα(i)=Vα(i)−Wα(i)w_\alpha(i) = V_\alpha(i) - W_\alpha(i)wα​(i)=Vα​(i)−Wα​(i).

Formalization targets

Goal: Proposition 6.2.3

For an MDC with a finite state space there are α0∈(0,1)\alpha_0 \in (0,1)α0​∈(0,1) and one stationary policy fff such that fff is α\alphaα discount optimal for every α∈(α0,1)\alpha \in (\alpha_0,1)α∈(α0​,1), fff is average cost optimal, and

J(i)=lim⁡α→1−(1−α)Vα(i)=lim⁡n→∞vf,n(i)n,i∈S.J(i) = \lim_{\alpha\to 1^-} (1-\alpha) V_\alpha(i) = \lim_{n\to\infty} \frac{v_{f,n}(i)}{n}, \qquad i \in S.J(i)=α→1−lim​(1−α)Vα​(i)=n→∞lim​nvf,n​(i)​,i∈S.

Milestones

  1. Proposition 4.5.3. For finite SSS and stationary eee, α↦Ve,α(i)\alpha \mapsto V_{e,\alpha}(i)α↦Ve,α​(i) is a finite, continuous, rational function on (0,1)(0,1)(0,1).
  2. Proposition 6.1.1. For every policy on a countable state space,
Jθ∗(i)≤lim inf⁡α→1−(1−α)Vθ,α(i)≤lim sup⁡α→1−(1−α)Vθ,α(i)≤Jθ(i),J^*_\theta(i) \le \liminf_{\alpha\to1^-}(1-\alpha)V_{\theta,\alpha}(i) \le \limsup_{\alpha\to1^-}(1-\alpha)V_{\theta,\alpha}(i) \le J_\theta(i),Jθ∗​(i)≤α→1−liminf​(1−α)Vθ,α​(i)≤α→1−limsup​(1−α)Vθ,α​(i)≤Jθ​(i),

with three equivalent conditions for equality. 3. Proposition 6.2.2. For finite SSS and stationary eee, Je(i)=lim⁡α→1−(1−α)Ve,α(i)=lim⁡nve,n(i)/nJ_e(i) = \lim_{\alpha\to1^-}(1-\alpha)V_{e,\alpha}(i) = \lim_n v_{e,n}(i)/nJe​(i)=limα→1−​(1−α)Ve,α​(i)=limn​ve,n​(i)/n. 4. Proposition 4.5.1, Proposition 4.5.4, Corollary 4.5.5. The power series structure of Vθ,αV_{\theta,\alpha}Vθ,α​ in α\alphaα; monotonicity and left continuity of VαV_\alphaVα​; continuity under bounded costs. 5. Theorem 6.3.1. For the policy fff of the goal, lim⁡α→1−wα(i)=w(i)\lim_{\alpha \to 1^-} w_\alpha(i) = w(i)limα→1−​wα​(i)=w(i) exists, and

J(i)+w(i)=C(i,f)+∑jPij(f)w(j) ≥ min⁡a{C(i,a)+∑jPij(a)w(j)},J(i) + w(i) = C(i,f) + \sum_j P_{ij}(f) w(j) \ \ge\ \min_{a} \Big\{C(i,a) + \sum_j P_{ij}(a) w(j)\Big\},J(i)+w(i)=C(i,f)+j∑​Pij​(f)w(j) ≥ amin​{C(i,a)+j∑​Pij​(a)w(j)},

together with the limit identities (i)–(iii) and the optimality criterion (v). 6. Proposition 6.3.3. Vα(i)=J(i)/(1−α)+w∗(i)+εα(i)V_\alpha(i) = J(i)/(1-\alpha) + w^*(i) + \varepsilon_\alpha(i)Vα​(i)=J(i)/(1−α)+w∗(i)+εα​(i) with εα(i)→0\varepsilon_\alpha(i) \to 0εα​(i)→0 as α→1−\alpha \to 1^-α→1−.

Significance

The goal says that on a finite state space nothing is gained by randomizing or by remembering the past when minimizing average cost, and that the minimum average cost is the vanishing-discount limit of the discounted value function. This justifies computing average cost optimal policies through discounted problems and value iteration, the route taken in the rest of Chapter 6 and, via approximating sequences, for countable state spaces in Chapters 7 and 8. Theorem 6.3.1 supplies an optimality equation without any unichain or communication assumption. The book's Example 6.3.2 shows that the inequality in that equation can be strict, and that a stationary policy attaining the minimum need not be optimal.

The results are classical and proved in the book. No machine-checked version of them is known to exist. The platform has average-reward results for unichain finite MDPs with Markov policies (the Puterman series) and an average-cost optimality equation under recurrence assumptions (the Bertsekas series). Neither covers existence of a Blackwell optimal policy against the class of all history dependent randomized policies, or the multichain equation. A formal development also yields reusable infrastructure: the law of a controlled process under a general policy, first passage quantities of finite chains, and the Abelian inequality between Abel and Cesàro means of a nonnegative sequence.

Difficulty

The obvious argument picks, for each α\alphaα, a stationary discount optimal policy fαf_\alphafα​ and lets α→1\alpha \to 1α→1. Finiteness of the set of stationary policies gives one policy that is optimal along some sequence αn→1\alpha_n \to 1αn​→1, but not on an interval. Excluding infinite switching between two policies requires the analytic structure of α↦Vf,α(i)\alpha \mapsto V_{f,\alpha}(i)α↦Vf,α​(i) (Proposition 4.5.3), which in turn rests on matrix inversion of I−αPI - \alpha PI−αP. Passing from the discounted criterion to the average one requires an Abelian inequality for nonnegative series whose terms may be infinite (Proposition 6.1.1), and comparison against general policies rules out any argument that works only within stationary or Markov policies. For Theorem 6.3.1 the difficulty is the multichain structure: the relative value function has to be assembled class by class from first passage times and costs, and its limit must be identified.

Formalization scope

  • States form a type S; [Countable S] for Section 4.5 and Proposition 6.1.1, [Fintype S] from Section 6.2 on, as in the book. Actions form a type Act with A i : Finset Act nonempty. Costs are in ℝ≥0, transition probabilities in ℝ≥0∞.
  • A general policy is a function of the list of past state-action pairs (most recent first) and the current state, giving a distribution on A i. Stationary policies embed as degenerate policies. The law of the process is built from this data, and every infimum ranges over all general policies.
  • Vθ,αV_{\theta,\alpha}Vθ,α​, VαV_\alphaVα​, vθ,nv_{\theta,n}vθ,n​, JθJ_\thetaJθ​, Jθ∗J^*_\thetaJθ∗​, JJJ are in ℝ≥0∞, so +∞+\infty+∞ is represented. α→1−\alpha \to 1^-α→1− is the filter 𝓝[<] 1. On a finite state space these quantities are finite. The real valued objects of Section 6.3 (wαw_\alphawα​, www, w∗w^*w∗, equation (6.6)) are therefore formed with toReal, and this switch from ℝ≥0∞ to ℝ happens only in Theorem 6.3.1 and Proposition 6.3.3.
  • The objects of Section 6.3 (pkp_kpk​, mi∣km_{i|k}mi∣k​, ci∣kc_{i|k}ci∣k​, πs\pi_sπs​, WαW_\alphaWα​) are defined from fff. The distinguished states are a hypothesis quantified over.
  • A trivializing formalization would take the infimum over stationary policies only, let the optimal policy depend on α\alphaα, or state rationality as an equation p/q without requiring q≠0q \ne 0q=0. Each is excluded here: JJJ and VαV_\alphaVα​ are infima over all general policies, one pair (α0,f)(\alpha_0,f)(α0​,f) is quantified before all α\alphaα, and the denominator is required to be nonzero on (0,1)(0,1)(0,1).

Useful infrastructure includes rational functions of one real variable and their finitely many sign changes, the resolvent (I−αP)−1(I-\alpha P)^{-1}(I−αP)−1 of a stochastic matrix, the Abelian inequality for [0,∞][0,\infty][0,∞]-valued sequences, and renewal-reward identities for finite chains. Contributions of general lemmas on these topics are welcome, as are proofs of individual milestones.

Selected references

  • L. I. Sennott, Stochastic Dynamic Programming and the Control of Queueing Systems, Wiley, 1999. https://doi.org/10.1002/9780470317037
  • D. Blackwell, "Discrete dynamic programming", Annals of Mathematical Statistics 33 (1962), 719–726. https://doi.org/10.1214/aoms/1177704593
  • M. L. Puterman, Markov Decision Processes: Discrete Stochastic Dynamic Programming, Wiley, 1994. https://doi.org/10.1002/9780470316887
13 thms3 active usersReviewed
Operations ResearchProbabilityStochastic Systems·Captain: mikedeng1

Analysis and Algorithms for Service Parts Supply Chains VI: The Shortfall Distribution of Capacity-Limited SystemsTextbook

Motivation

Service parts supply chains are often limited by a capacitated resource, such as a production line or a repair shop, instead of by lead times alone. Once capacity binds, the classical tools for setting stock levels (Palm's theorem and the Poisson distribution of units in resupply) no longer apply, and the quantity that determines how much stock is needed is the shortfall: the amount by which the end-of-period inventory falls below its target because capacity was insufficient. Chapter 8 of Muckstadt, Analysis and Algorithms for Service Parts Supply Chains (Springer 2005, DOI 10.1007/b138879) builds its tactical planning models for capacity-limited systems on the distribution of this random variable, and on a continuous-time repair queue in which item counts are geometric.

The shortfall recursion is the Lindley recursion of queueing theory (Lindley 1952), so its stationary law is the law of the maximum of a random walk with negative drift. The exponential tail of that maximum goes back to Cramér's work on ruin probabilities; for capacitated production–inventory systems it was stated by Glasserman (1997), whose theorem the book quotes as Theorem 11. Glasserman and Tayur (1995) used the shortfall to optimize base-stock levels in multi-echelon capacitated systems, and Roundy and Muckstadt (2000) studied the mass-exponential approximation that the theorem motivates.

Setting

A single item is produced in periods n=1,2,…n = 1, 2, \dotsn=1,2,… of an infinite horizon; at most ccc units can be produced per period. The demand of period nnn is DnD_nDn​; the demands are nonnegative, independent and identically distributed, with generic demand DDD and E[D]<cE[D] < cE[D]<c (the standing assumption of Section 8.1.1).

Under the modified (s−1,s)(s-1, s)(s−1,s) policy with target level sss, the facility observes DnD_nDn​ and produces min⁡{c,s−In−1+Dn}\min\{c, s - I_{n-1} + D_n\}min{c,s−In−1​+Dn​} units, where InI_nIn​ is the end-of-period net inventory and I0=sI_0 = sI0​=s. The shortfall Vn=s−InV_n = s - I_nVn​=s−In​ satisfies V0=0V_0 = 0V0​=0 and

Vn=[Vn−1+Dn−c]+.(8.1)V_n = \left[V_{n-1} + D_n - c\right]^+ . \tag{8.1}Vn​=[Vn−1​+Dn​−c]+.(8.1)

With the random walk Sn=∑k=1n(Dk−c)S_n = \sum_{k=1}^{n} (D_k - c)Sn​=∑k=1n​(Dk​−c) (S0=0S_0 = 0S0​=0), the stationary shortfall is

V=sup⁡n≥0Sn.V = \sup_{n \ge 0} S_n .V=n≥0sup​Sn​.

A law on R\mathbb RR is lattice if it is concentrated on a progression a+dZa + d\mathbb Za+dZ with d>0d > 0d>0.

In the discrete case (ccc and DDD integer valued) (Vn)(V_n)(Vn​) is a Markov chain on {0,1,2,… }\{0, 1, 2, \dots\}{0,1,2,…} with transition probabilities pijp_{ij}pij​ (p. 185). In the repair model of Section 8.3.1, reparable units of item iii arrive at rate λi\lambda_iλi​, λ=∑iλi\lambda = \sum_i \lambda_iλ=∑i​λi​, a single exponential server repairs at rate μ>λ\mu > \lambdaμ>λ, NNN is the number of units in repair and NiN_iNi​ the number of item-iii units, and ηi=λi/(μ−λ+λi)\eta_i = \lambda_i/(\mu - \lambda + \lambda_i)ηi​=λi​/(μ−λ+λi​).

Formalization targets

Goal: Theorem 11, corrected (p. 191)

Assume E[eαD]<∞E[e^{\alpha D}] < \inftyE[eαD]<∞ for all α<δ\alpha < \deltaα<δ, with δ>0\delta > 0δ>0; P[D>c]>0P[D > c] > 0P[D>c]>0; the law of DDD is non-lattice; and E[e−α(c−D)]=1E[e^{-\alpha(c-D)}] = 1E[e−α(c−D)]=1 has a root in (0,δ)(0, \delta)(0,δ). Then there are β>0\beta > 0β>0 and α>0\alpha > 0α>0 with

P{V>v}βe−αv→1(v→∞),α the unique positive root of E[e−α(c−D)]=1.\frac{P\{V > v\}}{\beta e^{-\alpha v}} \to 1 \quad (v \to \infty), \qquad \alpha \text{ the unique positive root of } E\left[e^{-\alpha(c - D)}\right] = 1 .βe−αvP{V>v}​→1(v→∞),α the unique positive root of E[e−α(c−D)]=1.

The constant β\betaβ is left unspecified, as in the book.

Milestones, in attack order

  1. Eq. (8.1): under the modified policy, s−In=Vns - I_n = V_ns−In​=Vn​ for every nnn, independently of sss.
  2. Section 8.1.1: V<∞V < \inftyV<∞ almost surely, P{Vn>v}→P{V>v}P\{V_n > v\} \to P\{V > v\}P{Vn​>v}→P{V>v} for every vvv, and the law of VVV is stationary for (8.1).
  3. Eq. (8.2): for v>0v > 0v>0, P{Vn>v}=P{Dn>v+c}+ED[1(d≤v+c) P{Vn−1>v+c−d}]P\{V_n > v\} = P\{D_n > v + c\} + E_D[1(d \le v + c)\, P\{V_{n-1} > v + c - d\}]P{Vn​>v}=P{Dn​>v+c}+ED​[1(d≤v+c)P{Vn−1​>v+c−d}].
  4. Theorem 11, second sentence: E[e−α(c−D)]=1E[e^{-\alpha(c-D)}] = 1E[e−α(c−D)]=1 has at most one positive root.
  5. Section 8.1.2: with integer demand, (Vn)(V_n)(Vn​) is a Markov chain with transition probabilities pijp_{ij}pij​.
  6. Section 8.1.2: πi=lim⁡nP{Vn=i}\pi_i = \lim_n P\{V_n = i\}πi​=limn​P{Vn​=i} exists and solves πP=π\pi\mathcal P = \piπP=π, ∑iπi=1\sum_i \pi_i = 1∑i​πi​=1, πi≥0\pi_i \ge 0πi​≥0.
  7. Section 8.3.1: if NNN is geometric with parameter λ/μ\lambda/\muλ/μ and NiN_iNi​ given N=jN = jN=j is binomial(j,λi/λ)(j, \lambda_i/\lambda)(j,λi​/λ), then P[Ni=j]=(1−ηi)ηijP[N_i = j] = (1 - \eta_i)\eta_i^jP[Ni​=j]=(1−ηi​)ηij​.
  8. Section 8.3.1: ∑j>spi(j)=ηis+1\sum_{j > s} p_i(j) = \eta_i^{s+1}∑j>s​pi​(j)=ηis+1​, and the smallest cost-minimising stock level is the smallest sss with ηis+1≤hi/(hi+b)\eta_i^{s+1} \le h_i/(h_i + b)ηis+1​≤hi​/(hi​+b).

Significance

The exponential tail is the justification the book gives for approximating the shortfall by a mass-exponential law (an atom at zero plus an exponential tail), from which target stock levels and fill rates are computed in closed form. The decay rate α\alphaα depends only on the demand law and the capacity, so the theorem also says how the stock needed for a given service level grows as utilization approaches one. The discrete-chain milestones justify the exact computation of the shortfall distribution behind the book's Table 8.1 and Figures 8.3–8.8. The geometric law of NiN_iNi​ reduces the multi-item repair problem to independent newsvendor problems with an explicit solution.

The asymptotics of the random-walk maximum are proved in the literature (Cramér–Lundberg theory, Feller Vol. II, XII.5; Asmussen, Applied Probability and Queues, XIII.5); no machine-checked proof is known to exist. Mathlib has neither the Lindley recursion, nor ladder-height decompositions, nor the key renewal theorem for non-lattice laws. The printed Theorem 11 is not correct as stated (see Formalization scope), so the mission also records a corrected statement.

Difficulty

The central step of the goal is the passage from the random walk to an exact asymptotic. An exponential change of measure (Esscher tilt) with the root α\alphaα turns P{V>v}P\{V > v\}P{V>v} into an expectation under a law with positive drift, but it only yields the upper bound P{V>v}≤e−αvP\{V > v\} \le e^{-\alpha v}P{V>v}≤e−αv (Lundberg's inequality); it does not show that eαvP{V>v}e^{\alpha v}P\{V > v\}eαvP{V>v} converges, nor that the limit is positive. Convergence needs a renewal theorem for the overshoot of the tilted walk, which fails for lattice laws. That is why the non-lattice hypothesis cannot be dropped. For the milestones, the existence of the stationary law needs the reversal argument that identifies the law of VnV_nVn​ with that of max⁡k≤nSk\max_{k \le n} S_kmaxk≤n​Sk​, plus the strong law of large numbers to show V<∞V < \inftyV<∞ from E[D]<cE[D] < cE[D]<c.

Formalization scope

  • Model. Demands are real, nonnegative, measurable, i.i.d. (iIndepFun plus IdentDistrib with D1D_1D1​), integrable, with E[D]<cE[D] < cE[D]<c; these are fields of ShortfallModel. Periods are numbered from 111 as in the book (demand 0 is an unused i.i.d. copy). The discrete case is a separate structure with N\mathbb NN-valued demand and capacity.
  • Stationary shortfall. The book's "stationary distribution ... Let VVV represent this random variable" is pinned to V=sup⁡n≥0SnV = \sup_{n \ge 0} S_nV=supn≥0​Sn​, taken in [0,∞][0, \infty][0,∞] and converted to a real number; milestone 2 proves that it is the limit law of VnV_nVn​ from V0=0V_0 = 0V0​=0 and a stationary law of (8.1). The discrete πi\pi_iπi​ is pinned to lim⁡nP{Vn=i}\lim_n P\{V_n = i\}limn​P{Vn​=i}.
  • Corrections to Theorem 11. The printed theorem is false. For integer demand P{V>v}P\{V > v\}P{V>v} is a step function, and no βe−αv\beta e^{-\alpha v}βe−αv is asymptotic to it. If E[eαD]E[e^{\alpha D}]E[eαD] is finite only for α<δ\alpha < \deltaα<δ, the equation E[e−α(c−D)]=1E[e^{-\alpha(c-D)}] = 1E[e−α(c−D)]=1 may have no root in (0,δ)(0,\delta)(0,δ). The goal therefore adds two labelled hypotheses: a non-lattice demand law, and a root in (0,δ)(0, \delta)(0,δ). The mass-exponential demand of Section 8.1.3 (an atom at 000 plus a density) is non-lattice. The approximation β≈e−2(.583)(c−E(D))/σ\beta \approx e^{-2(.583)(c-E(D))/\sigma}β≈e−2(.583)(c−E(D))/σ is not stated.
  • Repair model. The M/M/1 queue is not built. The geometric law of NNN (asserted on p. 202) and the binomial split of NNN (quoted from Chapter 3) enter milestone 7 as hypotheses, exactly as the page's proof uses them. The stability condition λ<μ\lambda < \muλ<μ, not written on the page, is a hypothesis. "The optimal sis_isi​" is read as the smallest minimiser of the cost.
  • Ruled out. Stating Theorem 11 with α\alphaα or β\betaβ allowed to depend on vvv, with β=0\beta = 0β=0 (the ratio would be a division by zero, which Lean evaluates to 000), or for a VVV postulated to have an exponential tail proves nothing. Here β,α\beta, \alphaβ,α are quantified before vvv, both are asserted positive, and VVV is constructed from the demands.
  • Not formalized. The mass-exponential approximations (8.3)–(8.4), the Roundy–Muckstadt refinement, the fill-rate formula η(s)\eta(s)η(s) (a definition, whose steady-state identity needs uniform integrability the book does not discuss), the random-capacity chain on p. 186, and the monotonicity of sis_isi​ in μ\muμ.
  • Reusable infrastructure. Welcome: the Lindley recursion and its reversal identity, the Loynes existence theorem, Lundberg's inequality, and a non-lattice renewal theorem. All of these are needed well beyond this mission, in queueing (GI/G/1 waiting times) and ruin theory.

Selected references

  • J. A. Muckstadt, Analysis and Algorithms for Service Parts Supply Chains, Springer, 2005, Chapter 8. https://doi.org/10.1007/b138879
  • P. Glasserman, Bounds and asymptotics for planning critical safety stocks, Operations Research 45(2), 244–257, 1997. https://doi.org/10.1287/opre.45.2.244
  • P. Glasserman and S. Tayur, Sensitivity analysis for base-stock levels in multiechelon production-inventory systems, Management Science 41(2), 263–281, 1995 (the book's reference [97]). https://doi.org/10.1287/mnsc.41.2.263
  • R. O. Roundy and J. A. Muckstadt, Heuristic computation of periodic-review base stock inventory policies, Management Science 46(1), 104–109, 2000. https://doi.org/10.1287/mnsc.46.1.104.15131
  • D. V. Lindley, The theory of queues with a single server, Mathematical Proceedings of the Cambridge Philosophical Society 48(2), 277–289, 1952. https://doi.org/10.1017/S0305004100027638
  • W. Feller, An Introduction to Probability Theory and Its Applications, Vol. II, 2nd ed., Wiley, 1971, Chapter XII.
  • S. Asmussen, Applied Probability and Queues, 2nd ed., Springer, 2003, Chapter XIII. https://doi.org/10.1007/b97236
12 thms3 active usersReviewed
🏆Completed
Dynamic ProgrammingOperations ResearchStochastic Systems·Captain: mikedeng1

Markov-Renewal Programming. I: Formulation, Finite Return Models: Policy Iteration Finds an Optimal Stationary Policy for the Discounted Infinite-Horizon Markov-Renewal ProgramResearch Paper

Motivation

Many operational systems move between a finite number of states at random times: a machine alternates between working and repair, a queue between occupancy levels, an inventory between stock positions. When the time spent in a state is not exponential and not a fixed period, neither discrete-time Markov decision processes nor continuous-time Markov chains describe the system faithfully. William S. Jewell's 1963 paper Markov-Renewal Programming. I extends Howard's Markov decision processes to Markov-renewal processes (also called semi-Markov processes), in which the time between transitions is a random variable whose law depends on the current state, the next state, and the decision taken. The resulting model, now called a semi-Markov decision process, is standard in maintenance, queueing control and reliability.

Timeline:

  • 1954: Lévy, Smith and Takács independently introduce Markov-renewal and semi-Markov processes; Pyke later surveys them.
  • 1960: Howard, Dynamic Programming and Markov Processes, introduces policy iteration for finite discrete-time Markov decision processes.
  • 1962: Blackwell, Discrete Dynamic Programming, shows that for the discounted discrete-time problem a stationary policy is optimal among all policies.
  • 1963: Jewell formulates Markov-renewal programming, with a continuous discount factor α, and carries Howard's algorithm and Blackwell's stationarity result over to it. Part II of the paper treats the undiscounted (infinite-return) models.

Setting

A Markov-renewal program has a finite set of states SSS (the paper's i=1,…,Ni = 1, \dots, Ni=1,…,N) and a finite, nonempty set of alternatives (the paper's z=1,…,Zz = 1, \dots, Zz=1,…,Z), each available in every state. For each alternative zzz and states i,ji, ji,j it specifies:

  • a transition probability pijz≥0p^z_{ij} \ge 0pijz​≥0, with ∑jpijz=1\sum_j p^z_{ij} = 1∑j​pijz​=1;
  • a sojourn-time distribution FijzF^z_{ij}Fijz​, the law of the time τ\tauτ between entering iii and moving to jjj, with τ≥0\tau \ge 0τ≥0 and Fijz(0)=0F^z_{ij}(0) = 0Fijz​(0)=0;
  • for each continuous discount factor α>0\alpha > 0α>0, a real number ρijz(α)\rho^z_{ij}(\alpha)ρijz​(α), the expected discounted return earned during that transition.

The Laplace–Stieltjes transform f~ijz(s)=∫0∞e−st dFijz(t)\tilde f^z_{ij}(s) = \int_0^\infty e^{-st}\,dF^z_{ij}(t)f~​ijz​(s)=∫0∞​e−stdFijz​(t) is the expected discount E[e−sτ]\mathbb E[e^{-s\tau}]E[e−sτ] over one interval. The average one-step return is ρiz(α)=∑jpijzρijz(α)\rho^z_i(\alpha) = \sum_j p^z_{ij}\rho^z_{ij}(\alpha)ρiz​(α)=∑j​pijz​ρijz​(α), and for a vector of returns vvv the test quantity is

ρiz(α)+∑jpijz f~ijz(α) vj.\rho^z_i(\alpha) + \sum_j p^z_{ij}\,\tilde f^z_{ij}(\alpha)\,v_j .ρiz​(α)+j∑​pijz​f~​ijz​(α)vj​.

A stationary policy is a map d:S→Ad : S \to Ad:S→A; a nonstationary policy is a sequence π=(π0,π1,… )\pi = (\pi_0, \pi_1, \dots)π=(π0​,π1​,…) of such maps, πk\pi_kπk​ being used at the kkk-th transition. The nnn-step return Viπ(n)V^\pi_i(n)Viπ​(n) of a policy, with boundary rewards Vi(0,α)V_i(0,\alpha)Vi​(0,α), is the test quantity of π0(i)\pi_0(i)π0​(i) applied to the (n−1)(n-1)(n−1)-step return of the shifted policy; the optimal nnn-step return Vi(n,α)V_i(n,\alpha)Vi​(n,α) of equation (6) replaces π0(i)\pi_0(i)π0​(i) by a maximum over zzz. The value-determination equations (15) of a stationary policy ddd are vi=ρid(i)(α)+∑jpijd(i)f~ijd(i)(α)vjv_i = \rho^{d(i)}_i(\alpha) + \sum_j p^{d(i)}_{ij}\tilde f^{d(i)}_{ij}(\alpha) v_jvi​=ρid(i)​(α)+∑j​pijd(i)​f~​ijd(i)​(α)vj​.

The algorithm of Fig. 1 alternates two steps: solve (15) for the current policy, then in every state pick an alternative maximizing the test quantity, keeping the old alternative if it still attains the maximum. It stops when two successive policies are identical.

Formalization targets

Goal (p. 947)

For every α>0\alpha > 0α>0: (15) has a unique solution for every stationary policy, and every run (dk,vk)(d_k, v_k)(dk​,vk​) of Fig. 1 reaches dK+1=dKd_{K+1} = d_KdK+1​=dK​ with K<ZNK < Z^NK<ZN, where

lim⁡n→∞VidK(n)=(vK)i,lim⁡n→∞Viπ(n)≤(vK)i  ∀π,lim⁡n→∞Vi(n,α)=(vK)i,\lim_{n\to\infty} V^{d_K}_i(n) = (v_K)_i,\qquad \lim_{n\to\infty} V^\pi_i(n) \le (v_K)_i \ \ \forall \pi,\qquad \lim_{n\to\infty} V_i(n,\alpha) = (v_K)_i ,n→∞lim​VidK​​(n)=(vK​)i​,n→∞lim​Viπ​(n)≤(vK​)i​  ∀π,n→∞lim​Vi​(n,α)=(vK​)i​,

for every state iii and all boundary rewards, every limit existing. This is the paper's "the algorithm of Fig. 1 produces an optimal, stationary policy that is as good as any optimal, nonstationary policy".

Milestones

  1. p. 945: 0≤pijzf~ijz(s)<10 \le p^z_{ij}\tilde f^z_{ij}(s) < 10≤pijz​f~​ijz​(s)<1 for s>0s > 0s>0.
  2. Claim (a): (15) has exactly one solution for each stationary policy.
  3. Eq. (15): the nnn-step return of a stationary policy converges to a solution of (15).
  4. p. 946: I−q~(α)I - \tilde q(\alpha)I−q~​(α) is invertible and ([I−q~(α)]−1)ii≥1([I-\tilde q(\alpha)]^{-1})_{ii} \ge 1([I−q~​(α)]−1)ii​≥1.
  5. Claim (b): a change of policy raises the return of some state and lowers none.
  6. Claim (c): a policy reproduced by the improvement step is optimal among stationary policies.
  7. Claim (d): a run of Fig. 1 terminates within ZNZ^NZN cycles.
  8. Eq. (14): Vi(n,α)V_i(n,\alpha)Vi​(n,α) converges, independently of the boundary rewards, to a solution of vi=max⁡z{ρiz(α)+∑jpijzf~ijz(α)vj}v_i = \max_z\{\rho^z_i(\alpha) + \sum_j p^z_{ij}\tilde f^z_{ij}(\alpha) v_j\}vi​=maxz​{ρiz​(α)+∑j​pijz​f~​ijz​(α)vj​}.
  9. p. 946: some stationary policy's return dominates the limiting return of every nonstationary policy.

Significance

The result says that the infinite-step discounted Markov-renewal program is solved exactly, in finitely many cycles, by a finite-dimensional algorithm, and that the answer is a stationary policy. As the paper notes, this matters operationally because a nonstationary policy is hard to follow. The sojourn distributions enter only through the numbers f~ijz(α)\tilde f^z_{ij}(\alpha)f~​ijz​(α), so the same algorithm serves any sojourn-time law. For fixed α\alphaα the model is a discounted Markov decision process whose discount factor depends on the transition, which contains Howard's and Blackwell's constant-discount problem as the case of intervals of fixed length (p. 943).

The results are classical and proved in the literature. The paper itself refers the proofs to Howard and Blackwell. Machine-checked versions exist on this platform for finite stochastic shortest path and constant-discount problems (Bertsekas, Dynamic Programming and Optimal Control, Prop. 7.2.2 and 7.3.1, mission Dynamic Programming and Optimal Control VII). No formal treatment of Markov-renewal programs, of transition-dependent discounting, or of the retention rule of Fig. 1 is known to exist. The mission produces a verified policy-iteration theorem for semi-Markov decision processes, with an explicit termination bound and the comparison against nonstationary policies.

Difficulty

The discount over one transition, f~ijz(α)\tilde f^z_{ij}(\alpha)f~​ijz​(α), varies with iii, jjj and zzz, so the problem is not a constant-γ\gammaγ contraction of textbook form; the relevant bound is that every row of q~(α)\tilde q(\alpha)q~​(α) sums to less than one, which rests on Fijz(0)=0F^z_{ij}(0) = 0Fijz​(0)=0. Entries in [0,1)[0, 1)[0,1) alone, the paper's stated justification of Claim (a), do not make I−q~(α)I - \tilde q(\alpha)I−q~​(α) invertible: the 2×22 \times 22×2 matrix with every entry 1/21/21/2 has entries in [0,1)[0,1)[0,1), yet III minus it is singular.

Finite termination is not automatic either. If the improvement step may switch between tied maximizers, the iterates can cycle forever between two policies with equal returns; the retention rule of Fig. 1 excludes this, and Claim (b) must deliver a strict increase in some state, with no decrease anywhere, to rule out revisiting a policy. Comparing with nonstationary policies requires controlling returns of arbitrary policy sequences, whose limits must be shown to exist, not assumed.

Formalization scope

  • States and alternatives are finite types; alternatives are nonempty. Every alternative is available in every state.
  • FijzF^z_{ij}Fijz​ is a probability measure on R\mathbb RR with no mass on (−∞,0](-\infty, 0](−∞,0]. The transform is integrated over (0,∞)(0, \infty)(0,∞), which carries all the mass.
  • The one-transition returns ρijz(α)\rho^z_{ij}(\alpha)ρijz​(α) are arbitrary real numbers, a generalization of the paper's Stieltjes integral (4), which is not formalized. The reward functions Rijz(t∣τ)R^z_{ij}(t\mid\tau)Rijz​(t∣τ) do not appear.
  • Returns of policies are defined by the one-step recursion (the policy form of (6)); the Markov-renewal process is not built as a stochastic process.
  • Policies are the paper's: deterministic and Markov, nonstationary ones indexed by the number of transitions made. Randomized and history-dependent policies are not in the comparison class.
  • The following informal words are read as follows. "Solve the set of simultaneous equations": (15) has exactly one solution. "Strictly increases the expected return of at least one state": no state's return decreases and one strictly increases, under the hypothesis that the policy changed. "No other policy can lead to higher expected returns" in Claim (c): no stationary policy. "Terminates in a finite number of cycles": two successive policies coincide at some cycle K<ZNK < Z^NK<ZN. "If there is no improvement in the test quantity, retain the same alternative": the old alternative is kept whenever it attains the maximum. "Optimal" and "as good as any nonstationary policy": the limiting return of the returned policy dominates that of every policy from every state, for all boundary rewards. "lim⁡n→∞Vi(n,α)\lim_{n\to\infty} V_i(n,\alpha)limn→∞​Vi​(n,α)": the limit is proved to exist. "max⁡z\max_zmaxz​": a maximum over the finite nonempty set of alternatives.
  • Eq. (14) is printed with vi(α)v_i(\alpha)vi​(α) inside the sum over jjj; the formalization uses vj(α)v_j(\alpha)vj​(α), as (6), (15) and Fig. 1 do.
  • Every statement fixes one α>0\alpha > 0α>0. The undiscounted models (16)–(19), the finite-time and mixed-horizon models (9)–(13), and the infinite-time case of the stationarity result are out of scope.
  • The return of a policy is never defined through a matrix inverse, whose Mathlib value for a singular matrix is 000; (15) is a predicate, and the goal asserts unique solvability, so a vacuous reading through junk inverses or assumed limits is excluded.

Reusable infrastructure: bounds for substochastic matrices with row sums below one (invertibility, Neumann series, nonnegative inverse), convergence of iterated Bellman operators with transition-dependent discount, and the policy-iteration termination argument with a tie-breaking rule. Proofs of any milestone and alternative arguments are welcome.

Selected references

  • W. S. Jewell, Markov-Renewal Programming. I: Formulation, Finite Return Models, Operations Research 11(6), 938–948, 1963. https://doi.org/10.1287/opre.11.6.938
  • W. S. Jewell, Markov-Renewal Programming. II: Infinite Return Models, Example, Operations Research 11(6), 949–971, 1963. https://doi.org/10.1287/opre.11.6.949
  • R. A. Howard, Dynamic Programming and Markov Processes, MIT Press, 1960.
  • D. Blackwell, Discrete Dynamic Programming, Annals of Mathematical Statistics 33(2), 719–726, 1962. https://doi.org/10.1214/aoms/1177704593
  • R. Pyke, Markov Renewal Processes: Definitions and Preliminary Properties, Annals of Mathematical Statistics 32(4), 1231–1242, 1961. https://doi.org/10.1214/aoms/1177704863
  • D. P. Bertsekas, Dynamic Programming and Optimal Control, Vol. I, 3rd ed., Athena Scientific, 2005, Section 7.2–7.3.
12 thms3 active usersReviewed
Machine LearningOperations ResearchReinforcement Learning·Captain: mikedeng1

Nonstationary Reinforcement Learning: The Blessing of (More) Optimism II: Per-Step Dynamic Regret of SWUCRL2-CW When the Widened Confidence Region Contains an MDP of Diameter at Most DResearch Paper

Why changing environments matter

A reinforcement-learning agent chooses actions while learning how those actions affect future states. In a stationary model, observations collected long ago remain relevant to the current transition law. In a nonstationary Markov decision process, rewards and transition probabilities may change at each round. Old observations can then bias an estimate even when the agent has collected many samples. The challenge is to keep learning from recent observations without becoming blind to actions that the agent has not tried recently. Cheung, Simchi-Levi and Zhu study this tension for finite-state average-reward learning and introduce confidence widening in their SWUCRL2-CW algorithm Cheung et al., §4.

The paper's broad regret theorems suppress constants inside asymptotic notation. Proposition 2 gives an explicit one-round inequality that exposes the roles of estimation error, temporal variation, confidence widening, and the diameter of a plausible transition model. This mission targets that proposition and the stated auxiliary results used around it Cheung et al., pp. 14, 38–41.

The finite changing MDP

Let S\mathcal SS be a finite state set. Each state sss has a nonempty finite set As\mathcal A_sAs​ of permitted actions. At round ttt, taking action a∈Asa\in\mathcal A_sa∈As​ in state sss gives expected reward rt(s,a)∈[0,1]r_t(s,a)\in[0,1]rt​(s,a)∈[0,1] and moves to state s′s's′ with probability pt(s′∣s,a)p_t(s'\mid s,a)pt​(s′∣s,a). The one-step variation Br,tB_{r,t}Br,t​ is the greatest change ∣rt+1(s,a)−rt(s,a)∣|r_{t+1}(s,a)-r_t(s,a)|∣rt+1​(s,a)−rt​(s,a)∣ over permitted pairs; Bp,tB_{p,t}Bp,t​ is the corresponding greatest ℓ1\ell_1ℓ1​ distance between transition rows. These definitions make no stationarity assumption Cheung et al., pp. 6, 33.

At the start τ(m)\tau(m)τ(m) of an episode, the algorithm counts visits to each pair in a recent window of length WWW. It divides empirical sums by N+=max⁡{1,N}N^+=\max\{1,N\}N+=max{1,N}, where NNN is the visit count. Thus an unvisited pair has estimated reward and transition vector equal to zero. Reward confidence sets lie in [0,1][0,1][0,1]; transition confidence sets lie in the probability simplex and use an ℓ1\ell_1ℓ1​ radius enlarged by a nonnegative parameter η\etaη. Write rad⁡r,τ(m)(s,a)\operatorname{rad}_{r,\tau(m)}(s,a)radr,τ(m)​(s,a) and rad⁡p,τ(m)(s,a)\operatorname{rad}_{p,\tau(m)}(s,a)radp,τ(m)​(s,a) for their respective radii. The algorithm chooses a stationary policy π~τ(m)\tilde\pi_{\tau(m)}π~τ(m)​ and an optimistic model, gain ρ~τ(m)\tilde\rho_{\tau(m)}ρ~​τ(m)​, and bias γ~τ(m)\tilde\gamma_{\tau(m)}γ~​τ(m)​ from extended value iteration Cheung et al., pp. 11–13.

The diameter of a transition model is the largest, over ordered source and target states, of the smallest expected number of transitions needed to reach the target under a stationary policy. Source equal to target means a return time after at least one transition. The round-ttt optimal gain ρt∗\rho_t^*ρt∗​ is the value of the stationary occupancy-measure linear program for (rt,pt)(r_t,p_t)(rt​,pt​) with only permitted actions. From the window's first round through the round before ttt, let var⁡r,t\operatorname{var}_{r,t}varr,t​ and var⁡p,t\operatorname{var}_{p,t}varp,t​ be the sums of the corresponding one-step variations Cheung et al., pp. 8, 14, 33.

Formalization targets

The main target is Proposition 2. Condition on the local reward and transition estimation events at τ(m)\tau(m)τ(m). Assume that the widened transition confidence sets contain every permitted row of an MDP of diameter at most DDD. For a round in which at=π~τ(m)(st)a_t=\tilde\pi_{\tau(m)}(s_t)at​=π~τ(m)​(st​), the target is

ρt∗−rt(st,at)≤∑s′pt(s′∣st,at)γ~τ(m)(s′)−γ~τ(m)(st)+1τ(m)+2var⁡r,t+4D(var⁡p,t+η)+2rad⁡r,τ(m)(st,at)+4Drad⁡p,τ(m)(st,at).\begin{aligned} \rho_t^*-r_t(s_t,a_t)\le{}&\sum_{s'}p_t(s'\mid s_t,a_t)\tilde\gamma_{\tau(m)}(s')-\tilde\gamma_{\tau(m)}(s_t)+\frac1{\sqrt{\tau(m)}}\\ &+2\operatorname{var}_{r,t}+4D(\operatorname{var}_{p,t}+\eta)\\ &+2\operatorname{rad}_{r,\tau(m)}(s_t,a_t)+4D\operatorname{rad}_{p,\tau(m)}(s_t,a_t). \end{aligned}ρt∗​−rt​(st​,at​)≤​s′∑​pt​(s′∣st​,at​)γ~​τ(m)​(s′)−γ~​τ(m)​(st​)+τ(m)​1​+2varr,t​+4D(varp,t​+η)+2radr,τ(m)​(st​,at​)+4Dradp,τ(m)​(st​,at​).​

The five milestones are the paper's Lemmas 2–5 and displayed inequality (32): a dual-bias span bound, a drift estimate for window averages, bounded optimistic bias, optimism under drift, and a transition-value error bound. Their exact constants are part of the targets Cheung et al., pp. 33, 38–39.

What the result supplies

Proposition 2 separates the per-round change in optimal gain from the cost of the current action. Its first term tracks changes in the optimistic bias along transitions; the other terms identify window drift, reward and transition estimation, and widening. This decomposition can be summed across episodes when analyzing the algorithm. The result has a concrete role even though the later horizon-wide theorem is given in asymptotic notation Cheung et al., pp. 14, 41.

The paper proves these claims mathematically. The mission asks for machine-checked proofs of the explicit statements and for reusable definitions of finite nonstationary MDP variation, window estimators, confidence sets, occupancy gain, and hitting-time diameter. The source's Theorems 1–4 are not posed here: their displayed bounds hide constants in O~(⋅)\widetilde O(\cdot)O(⋅) and, in one case, use an unspecified O(δ)O(\delta)O(δ) failure probability Cheung et al., pp. 14–25. This proposal supplies statements for solvers; it does not claim that these new statements already have machine-checked proofs.

Where the difficulty lies

The current model need not resemble the model that generated every observation in the window. A direct stationary confidence argument cannot control the resulting temporal error. The challenge is especially visible at a pair with no recent visits: its comparison transition vector is zero, although a genuine transition row has total mass one. The paper's Lemma 3, read literally for every pair, fails in that case. The mission states its positive-count condition explicitly while keeping the proposition and the later optimism and transition milestones valid at unvisited pairs Cheung et al., pp. 12, 38–40.

There is a separate issue with the printed dual-bias lemma. Feasibility alone permits an arbitrarily large dual gain and does not force the asserted 2D2D2D span bound. The mission adds ρ≤2\rho\le2ρ≤2 to Lemma 2 and records the change for audit. The EVI output is represented by its selected-model membership, bias normalization, optimism, and near-optimality properties; this is the contract stated for the algorithm's output, rather than a formal execution of extended value iteration Cheung et al., pp. 13, 33, 35–36.

Formalization scope

States and ambient actions are Fin S and Fin A; permitted actions are state-dependent finite subsets. The setup has S>1S>1S>1, 0<δ<10<\delta<10<δ<1, η≥0\eta\ge0η≥0, and a nonempty action set at each state. Time is zero-based in Lean, while the paper's rounds are one-based; in particular its 1/τ(m)1/\sqrt{\tau(m)}1/τ(m)​ is represented by 1/τm+11/\sqrt{\tau_m+1}1/τm​+1​. Counts and confidence sets are evaluated at the episode start. Variations continue up to the target round. The estimation events are assumed at the episode start, which is the only time used by these statements.

Hitting times and diameter take values in extended nonnegative reals, so an unreachable target does not acquire a false finite diameter. The diameter includes return times and minimizes over deterministic stationary policies. The confidence-radius product SASASA counts actual permitted pairs. At an unvisited pair, the comparison averages remain zero and N+=1N^+=1N+=1; the large confidence radii under the stated bounds are essential. The local transition event uses the ℓ1\ell_1ℓ1​ error condition: literal membership of the zero comparison vector in a simplex would make the paper's event fail. The printed coordinatewise maxima in Property 1 imply the standard joint-distribution optimism condition used here. The free (s,a)(s,a)(s,a) printed in the last radius of Proposition 2 means (st,at)(s_t,a_t)(st​,at​), as the proof's context confirms Cheung et al., pp. 12, 14, 36, 40–41.

Two milestones carry a pinned hypothesis because the printed statement is false without it: Lemma 2 assumes the dual gain satisfies ρ≤2\rho\le 2ρ≤2 (an arbitrary feasible ρ\rhoρ can make the bias span exceed 2D2D2D), and Lemma 3 assumes the pair was visited in the episode-start window (at an unvisited pair the comparison averages are zero). Proposition 2 is stated for every round t≥τ(m)t\ge\tau(m)t≥τ(m) before the horizon at which the action is the episode policy's choice, which covers the rounds of episode mmm; the coefficient 4D4D4D of η\etaη is kept as printed.

The witness MDP has genuine probability rows in the widened sets and a diameter bound. The EVI tuple obeys both stated properties, and the chosen action obeys its policy. These conditions prevent an unconstrained bias, a spurious zero diameter, a confidence event at the wrong time, or a reward bound for an unrelated action. The published FiniteMDPLearning model supplies probability rows and rewards in [0,1][0,1][0,1]; its different travel-time convention is not substituted for the paper's diameter. Contributions to the MDP linear program, finite-state hitting times, window-average inequalities, and confidence-region geometry are all useful beyond this mission.

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. Preprint; journal DOI.
  • T. Jaksch, R. Ortner and P. Auer, Near-optimal regret bounds for reinforcement learning, Journal of Machine Learning Research 11, 2010. Article.
10 thms2 active usersReviewed
Linear OptimizationOperations ResearchReinforcement Learning·Captain: mikedeng1

Nonstationary Reinforcement Learning: The Blessing of (More) Optimism I: No Policy Earns More Than the Sum of Per-Step Optimal Gains Plus 4(D_max+1)√((B_r+2D_max B_p)T)Research Paper

Motivation

Reinforcement learning in a changing environment needs a benchmark that remains meaningful when the transition law and rewards vary from round to round. For a stationary Markov decision process (MDP), the optimal long-run average reward is a standard benchmark. In a nonstationary MDP, summing those stationary optima across rounds is convenient, but it need not equal the best expected reward achievable over the whole horizon: today's action changes tomorrow's state. Cheung, Simchi-Levi and Zhu use Proposition 1 to quantify this gap in their analysis of nonstationary reinforcement learning (preprint, pp. 7–8). This mission formalizes that proposition and the explicit estimates in its proof.

The paper develops algorithms for MDPs with drifting rewards and transitions. Its oracle comparison is useful before any algorithm is chosen: it relates a sum of local, stationary benchmarks to the reward of every non-anticipatory policy, including policies that adapt to the observed trajectory. This separates a property of the environment from the performance of a learning rule. The paper was published in Management Science in 2023; this mission follows the numbered statements and pages of the authors' pinned arXiv preprint (Cheung et al., 2020, pp. 6–8).

Setting

A finite nonstationary MDP has a finite state set S\mathcal SS, a nonempty available-action set As\mathcal A_sAs​ at each state sss, and a horizon of TTT rounds. At round ttt, taking action a∈Asa\in\mathcal A_sa∈As​ in state sss gives a stochastic reward with mean rt(s,a)∈[0,1]r_t(s,a)\in[0,1]rt​(s,a)∈[0,1] and moves to a new state according to the probability distribution pt(⋅∣s,a)p_t(\cdot\mid s,a)pt​(⋅∣s,a). A non-anticipatory policy selects an allowed action using the current state and observations from previous rounds. The target concerns expected sums of the mean rewards, so the distributional shape of the reward noise does not enter its formula (preprint, §2.2, pp. 6–7).

The one-step reward variation Br,tB_{r,t}Br,t​ is the largest value of ∣rt+1(s,a)−rt(s,a)∣|r_{t+1}(s,a)-r_t(s,a)|∣rt+1​(s,a)−rt​(s,a)∣ over allowed state–action pairs. The transition variation Bp,tB_{p,t}Bp,t​ is the largest ℓ1\ell_1ℓ1​ distance between the corresponding transition distributions. Their variation budgets are Br=∑t=1T−1Br,tB_r=\sum_{t=1}^{T-1}B_{r,t}Br​=∑t=1T−1​Br,t​ and Bp=∑t=1T−1Bp,tB_p=\sum_{t=1}^{T-1}B_{p,t}Bp​=∑t=1T−1​Bp,t​, exactly as in equation (1). The budgets are computed from the MDP sequence; they are not independent inputs to the theorem (preprint, p. 6, (1)).

For the stationary MDP at round ttt, ρt∗\rho_t^*ρt∗​ is its optimal long-run average reward. The mission represents it as the optimum of the paper's occupancy linear program (15), whose variables are nonnegative state–action occupancies, satisfy flow balance, and sum to one. A diameter DtD_tDt​ bounds the least expected hitting time between any two states under an allowed stationary policy. The paper's Definition 1 includes equal initial and target states, so this includes a return time. Assumption 1 requires a finite diameter at every round; Dmax⁡D_{\max}Dmax​ is a common bound on those diameters (preprint, pp. 7–8, Definition 1 and Assumption 1; p. 33, (15)).

Formalization targets

Proposition 1: the oracle gap

Write B=Br+2Dmax⁡BpB=B_r+2D_{\max}B_pB=Br​+2Dmax​Bp​. For 0<B≤T0<B\le T0<B≤T and the necessary small-budget condition BT≥1BT\ge1BT≥1, the target is

∑t=1Tρt∗≥EΠ ⁣[∑t=1Trt(st,at)]−4(Dmax⁡+1)BT\sum_{t=1}^{T}\rho_t^*\ge \mathbb E^{\Pi}\!\left[\sum_{t=1}^{T}r_t(s_t,a_t)\right] -4(D_{\max}+1)\sqrt{BT}t=1∑T​ρt∗​≥EΠ[t=1∑T​rt​(st​,at​)]−4(Dmax​+1)BT​

for every initial state and every allowed non-anticipatory policy Π\PiΠ. Quantifying over every policy expresses the paper's maximum over policies without introducing a supremum over an unbounded real-valued function space. The first five targets follow Appendix A.2: a bounded optimal dual potential, the gain-drift inequality (18), the pathwise dual inequality (19), the window inequality (23), and the full-horizon inequality (24). Their constants and index ranges are part of the targets (preprint, pp. 8, 33–34).

Significance

The result gives a finite-horizon comparison between two different benchmarks. The sum of stationary gains is additive over time, while the best expected cumulative reward accounts for how actions alter later states. Proposition 1 says that their difference is controlled by variation and diameter under its hypotheses. This is the paper's justification for using the additive oracle in its dynamic-regret definition; the authors note that the later algorithmic bounds are larger than this comparison term (preprint, p. 8, text after Proposition 1).

The mathematical result is already claimed in the paper. This mission asks for a machine-checked version with explicit finite-horizon distributions, the occupancy LP, the diameter convention, and the drift sums. The new Lean statements currently have placeholders for their proofs; the imported finite-MDP definitions are already published. A completed development would provide reusable code for time-dependent MDP trajectory laws and for comparing stationary LP values as a model drifts. It would also make the precise domain of the square-root bound reviewable independently of the algorithms in the remainder of the paper.

Difficulty

The stationary gain ρt∗\rho_t^*ρt∗​ is not a per-round reward guarantee. An action can collect reward now and put the process in a state whose future reward is poor, so summing stationary optima does not directly bound a nonstationary trajectory. Conversely, treating each round as an independent stationary experiment discards the state dependence that the policy exploits. The diameter controls the cost of that dependence, and variation controls changes between the stationary problems. The proof must connect these objects while preserving the exact factors 2Dmax⁡2D_{\max}2Dmax​, 2W2W2W, and 4TDmax⁡/W4TD_{\max}/W4TDmax​/W in Appendix A.2 (preprint, pp. 33–35).

There is also a small-budget obstruction in the printed Proposition 1. Its stated 0<B≤T0<B\le T0<B≤T permits BT<1BT<1BT<1, where the displayed inequality is false: a two-state, one-action example with a slowly returning state, T=2T=2T=2, and reward drift 10−1210^{-12}10−12 has an oracle sum near 2/112/112/11 while the proposed lower bound on that sum is near 111. The mission therefore adds BT≥1BT\ge1BT≥1 and records the difference from the page. Inequality (24), posed separately, retains the paper's every-integer-window form and needs no such pin.

Formalization scope

States and actions are Fin S and Fin A; available actions form a nonempty Finset at each state, and S>0S>0S>0. The imported FiniteMDPLearning structure supplies reward rows in [0,1][0,1][0,1] and transition probability rows. It has rows for actions unavailable at a particular state; all mathematical maxima, LP constraints, policy restrictions, and drift formulas use only allowed pairs. The source's time t∈{1,…,T}t\in\{1,\ldots,T\}t∈{1,…,T} is stored at Lean index t−1t-1t−1. No value of the MDP sequence after the horizon enters a stated budget or reward sum.

The occupancy LP has a nonempty bounded feasible-value set under the standing MDP assumptions; its real supremum denotes ρ∗\rho^*ρ∗. Hitting times and diameters use extended nonnegative reals to retain infinity, rather than silently converting an infinite hitting time to zero. The diameter includes same-state return times and minimizes over deterministic stationary policies; such policies attain the hitting-time minimum. The policy used for cumulative reward is a history-dependent randomized kernel on state–action histories. Conditioning an action rule that also observes past rewards on that history yields the same state–action trajectory law. The nonstationary measure samples the next state with the current round's transition law and is a probability measure.

The fixed Dmax⁡D_{\max}Dmax​ is constrained to bound every round's diameter; it is not an unrelated parameter. The stated BT≥1BT\ge1BT≥1 pin rules out the false small-budget case. In (23), the paper's last-window drift sum includes B⋅,TB_{\cdot,T}B⋅,T​, which equation (1) does not define; the formal sum retains all defined terms through T−1T-1T−1. The goal and milestones do not weaken ρt∗\rho_t^*ρt∗​, restrict the policy class to a convenient subclass, or omit a time step. Contributions on LP duality, finite-horizon trajectory expectations, hitting-time bounds, and drift inequalities are useful beyond this proposition. The paper's headline Theorems 1–4 are not posed here because their O~\widetilde OO notation hides constants (preprint, p. 6, §2.1).

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. Preprint; published article.
  • T. Jaksch, R. Ortner and P. Auer, Near-Optimal Regret Bounds for Reinforcement Learning, Journal of Machine Learning Research 11, 2010. Article. The source paper cites its diameter and bias-span results in Definition 1 and Appendix A.1.
  • M. L. Puterman, Markov Decision Processes: Discrete Stochastic Dynamic Programming, Wiley, 1994. Book. The source paper cites it for the average-reward occupancy LP on p. 33.
9 thms2 active usersReviewed
Operations ResearchProbabilityReinforcement Learning·Captain: mikedeng1

Optimistic Posterior Sampling for Reinforcement Learning: Worst-Case Regret Bounds I: An Extended MDP with δ-Optimistic Samples for Hitting Times Has Diameter at Most D/(1−δ)Research Paper

Motivation

Regret bounds for reinforcement learning in a single, non-episodic Markov decision process (MDP) are stated in terms of the diameter DDD of the MDP: the worst expected time needed to travel between two states when the travel policy is chosen well. UCRL2 (Jaksch, Ortner and Auer, 2010) achieves regret O~(DSAT)\tilde O(DS\sqrt{AT})O~(DSAT​), against a lower bound of Ω(DSAT)\Omega(\sqrt{DSAT})Ω(DSAT​), by planning in an extended MDP, whose action set lets the planner also pick a transition law from a confidence set. Posterior-sampling methods replace the confidence set with random samples from a posterior. Agrawal and Jia (arXiv:1705.07041v3, published in Mathematics of Operations Research, 2023) show that such a method attains a high-probability worst-case regret bound of O~(DSAT)\tilde O(DS\sqrt{AT})O~(DSAT​) for every communicating MDP (their Theorem 1).

Their analysis plans in an extended MDP built from finitely many sampled transition vectors. Optimal-gain policies of that MDP are only useful if it is itself communicating with a diameter comparable to DDD, so the paper needs a deterministic statement: if every state-action pair has a sample that is optimistic about travel times, the diameter of the extended MDP is at most D/(1−δ)D/(1-\delta)D/(1−δ). This mission formalizes that statement, Lemma 5.6 of the paper (p. 12), together with three claims from its proof.

Setting

A finite MDP M\mathcal MM has a finite state set S\mathcal SS of size SSS, a finite action set A\mathcal AA of size AAA, a probability vector Ps,a∈ΔSP_{s,a}\in\Delta^{S}Ps,a​∈ΔS for each state sss and action aaa, and rewards rs,a∈[0,1]r_{s,a}\in[0,1]rs,a​∈[0,1]. A deterministic policy is a map π:S→A\pi:\mathcal S\to\mathcal Aπ:S→A; under π\piπ the state process is the Markov chain with transition rows Ps,π(s)P_{s,\pi(s)}Ps,π(s)​.

For states s′s's′ and sss, Ts′→sπ∈[0,∞]T^{\pi}_{s'\to s}\in[0,\infty]Ts′→sπ​∈[0,∞] is the expected number of steps to reach sss when starting at s′s's′ and following π\piπ. It is 000 when s′=ss'=ss′=s. The diameter is

D(M)=max⁡s≠s′ min⁡π:S→ATs→s′π,D(\mathcal M)=\max_{s\neq s'}\ \min_{\pi:\mathcal S\to\mathcal A} T^{\pi}_{s\to s'},D(M)=s=s′max​ π:S→Amin​Ts→s′π​,

and M\mathcal MM is communicating when D(M)<∞D(\mathcal M)<\inftyD(M)<∞ (Definitions 1–3, p. 3). For a target sss, the vector EsE^{s}Es collects the minimum expected times, Es′s=min⁡πTs′→sπE^{s}_{s'}=\min_{\pi}T^{\pi}_{s'\to s}Es′s​=minπ​Ts′→sπ​, so Ess=0E^{s}_{s}=0Ess​=0.

The extended MDP (§3, p. 5) starts from ψ\psiψ probability vectors Qs,a1,…,Qs,aψQ^{1}_{s,a},\dots,Q^{\psi}_{s,a}Qs,a1​,…,Qs,aψ​ for every pair (s,a)(s,a)(s,a). In the algorithm these are posterior samples, but here they are arbitrary. The extended MDP M~\tilde{\mathcal M}M~ has the same states and, for every action aaa, the actions a1,…,aψa^{1},\dots,a^{\psi}a1,…,aψ. Taking aja^{j}aj in sss gives reward rs,ar_{s,a}rs,a​, and the next state is drawn from Qs,ajQ^{j}_{s,a}Qs,aj​. Its diameter D(M~)D(\tilde{\mathcal M})D(M~) is defined as above, minimizing over policies π~:S→{aj}\tilde\pi:\mathcal S\to\{a^{j}\}π~:S→{aj}.

Formalization targets

Goal: Lemma 5.6

Let δ∈[0,1)\delta\in[0,1)δ∈[0,1). Suppose that for every target state sss, every state s′s's′ and every action aaa there is a sample index jjj with

Qs′,aj⋅Es ≤ Ps′,a⋅Es+δ.(16)Q^{j}_{s',a}\cdot E^{s}\ \le\ P_{s',a}\cdot E^{s}+\delta. \tag{16}Qs′,aj​⋅Es ≤ Ps′,a​⋅Es+δ.(16)

Then

D(M~) ≤ D(M)1−δ.D(\tilde{\mathcal M})\ \le\ \frac{D(\mathcal M)}{1-\delta}.D(M~) ≤ 1−δD(M)​.

Milestones (claims of the proof, p. 13)

  1. In a communicating MDP with at least one action, for every target s2s_2s2​ there is one deterministic policy π\piπ with Ts′→s2π=Es′s2T^{\pi}_{s'\to s_2}=E^{s_2}_{s'}Ts′→s2​π​=Es′s2​​ for every s′s's′.
  2. First-step analysis: for every policy π\piπ and s≠s2s\neq s_2s=s2​,
Ts→s2π=1+∑s′≠s2Ps,π(s)(s′) Ts′→s2π.T^{\pi}_{s\to s_2}=1+\sum_{s'\neq s_2}P_{s,\pi(s)}(s')\,T^{\pi}_{s'\to s_2}.Ts→s2​π​=1+s′=s2​∑​Ps,π(s)​(s′)Ts′→s2​π​.
  1. Comparison (display (17)): if E∈[0,∞]SE\in[0,\infty]^{\mathcal S}E∈[0,∞]S satisfies 1+∑s′≠s2Qs,π~(s)(s′)Es′≤Es+δ1+\sum_{s'\neq s_2}Q_{s,\tilde\pi(s)}(s')E_{s'}\le E_s+\delta1+∑s′=s2​​Qs,π~(s)​(s′)Es′​≤Es​+δ for all s≠s2s\neq s_2s=s2​, then (1−δ) Ts→s2π~≤Es(1-\delta)\,T^{\tilde\pi}_{s\to s_2}\le E_s(1−δ)Ts→s2​π~​≤Es​ for all s≠s2s\neq s_2s=s2​.

Significance

The result. Lemma 5.6 turns a per-pair, one-sided condition on samples into a global bound on the diameter. Agrawal and Jia combine it with their Lemma 5.7, which shows that (16) holds with δ≤1/2\delta\le 1/2δ≤1/2 with high probability for their posterior samples. Together these give D(M~k)≤2DD(\tilde{\mathcal M}^{k})\le 2DD(M~k)≤2D in every epoch, which is what lets the bias span of the sampled MDP enter their regret analysis. The lemma is deterministic and makes no use of how the samples were drawn, so it applies to any optimistic-sampling or perturbation scheme that produces vectors satisfying (16).

Formalizing it. The lemma is proved in the paper; no machine-checked version exists. The paper's proof assumes that every sampled entry is strictly positive ("drawn from Dirichlet distribution") so that the absorbing chain and its fundamental matrix are well defined. That assumption fails for the simple optimistic samples of the same algorithm, which can have zero entries. The statements here drop it, so a formal proof also settles the general case. Milestones 1 and 2 are standard facts about minimum expected hitting times (stochastic shortest paths) that the platform's finite-MDP library does not yet contain. They are reusable for any diameter-based regret analysis.

The main regret bound (Theorem 1) is not posed. Its constants are hidden in O(⋅)O(\cdot)O(⋅), and the algorithm's parameters are given only up to Θ(⋅)\Theta(\cdot)Θ(⋅).

Difficulty

The paper's argument inverts I−Qπ~†I-Q^{\dagger}_{\tilde\pi}I−Qπ~†​ and uses the nonnegativity of the fundamental matrix of an absorbing chain. Without positive entries the policy π~\tilde\piπ~ can have closed classes that avoid the target, so I−Qπ~†I-Q^{\dagger}_{\tilde\pi}I−Qπ~†​ can be singular and the matrix argument does not apply as written. The comparison has to be made with expected travel times that may be infinite.

A second obstacle is that (16) constrains only the minimizing vectors EsE^{s}Es of the true MDP. The bound therefore needs a policy of M\mathcal MM whose travel times equal Es2E^{s_2}Es2​ from every state at once, not merely from the starting state s1s_1s1​. The existence of such a uniformly optimal deterministic policy is not immediate from the definition of the diameter, which minimizes separately for each pair of states.

Finally, the platform's expected travel time is defined through finite-horizon trajectory laws, so first-step analysis is a Markov-property computation on those measures. It does not follow from the definition by unfolding alone.

Formalization scope

  • Library. The mission reuses the published definitions FiniteMDPLearning (namespace BanditAlgorithm): FiniteMDP S A, mdpTravelTime M f src tgt (the expected hitting time minus one, valued in [0,∞][0,\infty][0,∞], equal to Tsrc→tgtfT^{f}_{src\to tgt}Tsrc→tgtf​), and mdpDiameterENN M (Definition 2 verbatim, valued in [0,∞][0,\infty][0,∞]). The mission's own definitions file adds extendedMDP, extendedAction and minTravel (the vector EsE^{s}Es).
  • Indexing. States, actions and samples are 0-based (Fin S, Fin A, Fin ψ). The action aja^{j}aj of the extended MDP is finProdFinEquiv (a, j) : Fin (A * ψ). The epoch index kkk plays no role and is dropped.
  • Extended values. Travel times, diameters, the vectors EsE^{s}Es and the inner products Q⋅EsQ\cdot E^{s}Q⋅Es are computed in [0,∞][0,\infty][0,∞] with 0⋅∞=00\cdot\infty=00⋅∞=0. The bound D/(1−δ)D/(1-\delta)D/(1−δ) is division in [0,∞][0,\infty][0,∞] by the positive real 1−δ1-\delta1−δ, with δ∈[0,1)\delta\in[0,1)δ∈[0,1) as δ : ℝ≥0, δ < 1.
  • Quantifiers of (16). The printed (16) uses the letter sss both for the target of EsE^{s}Es and for the state in Ps,aP_{s,a}Ps,a​. The proof applies it at the current state with a different target, so the goal quantifies the target separately: for every target, state and action there is a sample.
  • Pinned hypotheses. Milestone 1 assumes D(M)<∞D(\mathcal M)<\inftyD(M)<∞ (the paper's "M\mathcal MM has diameter DDD") and A≥1A\ge1A≥1. The goal assumes neither: if D(M)=∞D(\mathcal M)=\inftyD(M)=∞ its bound is trivially true, so it generalizes the paper's statement. No statement assumes positivity of the sampled entries or any distribution of the samples.
  • Ruled-out trivializations. An extended MDP whose transitions ignore jjj or QQQ, an EsE^{s}Es that is not the infimum over policies, a hypothesis comparing QQQ and PPP against different vectors, and a real-valued conclusion through a truncation with junk value 000 for non-communicating MDPs would each make the goal vacuous or different. None is used.
  • Useful existing result. The platform has the proved drift criterion BanditAlgorithm.mdp_travel_time_le_of_lyapunov_drift (a real-valued nonnegative VVV with ∑s′Ps,f(s)(s′)V(s′)+1≤V(s)\sum_{s'}P_{s,f(s)}(s')V(s')+1\le V(s)∑s′​Ps,f(s)​(s′)V(s′)+1≤V(s) off the target bounds the travel time by VVV), which covers the case δ=0\delta=0δ=0 of milestone 3 for finite EEE.
  • Welcome contributions. Proofs of the three milestones and of the goal; a general first-step (Markov property) lemma for mdpMeasure; an existence theorem for uniformly optimal deterministic policies of minimum expected hitting time.

Selected references

  • S. Agrawal and R. Jia, Posterior sampling for reinforcement learning: worst-case regret bounds, arXiv:1705.07041v3, 2020; published as Optimistic posterior sampling for reinforcement learning: worst-case regret bounds, Mathematics of Operations Research, 2023. https://arxiv.org/abs/1705.07041
  • T. Jaksch, R. Ortner and P. Auer, Near-optimal regret bounds for reinforcement learning, Journal of Machine Learning Research 11, 2010. https://www.jmlr.org/papers/v11/jaksch10a.html
  • D. P. Bertsekas and J. N. Tsitsiklis, An analysis of stochastic shortest path problems, Mathematics of Operations Research 16(3), 1991. https://doi.org/10.1287/moor.16.3.580
  • C. M. Grinstead and J. L. Snell, Introduction to Probability, American Mathematical Society, 2nd revised edition, 1997 (Chapter 11, absorbing Markov chains). https://math.dartmouth.edu/~prob/prob/prob.pdf
  • T. Lattimore and C. Szepesvári, Bandit Algorithms, Cambridge University Press, 2020 (Chapter 38, MDPs and the diameter). https://tor-lattimore.com/downloads/book/book.pdf
6 thms2 active usersReviewed
CombinatoricsOperations ResearchProbability·Captain: mikedeng1

Stall Economy: The Value of Mobility in Retail on Wheels I: The Magnet Rule Makes the Rendezvous Chain Doubly Stochastic, and Its Stationary Distribution Is Uniform on the Inner DiamondResearch Paper

Motivation

A mobile retail stall can travel toward its next customer while that customer walks toward the stall. The customer's walking allowance changes where the stall stops, so it also changes the location from which the next trip begins. A useful trip-length calculation therefore needs a distribution for successive meeting points, not just a rule for one meeting. Cao and Qi study this question in a service zone assigned to one stall and give a particular magnet rule whose rendezvous chain has a simple stationary law Cao and Qi, §3.3. The result supplies the location model used in their analysis of repositioning distances.

The rule matters because different choices of a meeting point can produce different chains even when each choice lets the customer walk the same maximum distance. The paper's Theorem 1 establishes a distributional property of the specified rule, for every admissible finite grid. Its proof is in Appendix B, pp. 46–49 of the cited SSRN manuscript.

Setting

The service zone is a square drawn as a diamond in ordinary horizontal and vertical coordinates. Its edge length is RRR in Euclidean distance, while stall and customer travel is measured in Manhattan distance. For the chain, use the paper's two edge coordinates, aligned with the lower edges of the zone. The full customer grid is Gk={0,…,k}2G_k=\{0,\ldots,k\}^2Gk​={0,…,k}2, so it contains (k+1)2(k+1)^2(k+1)2 points. A customer is uniform on this full grid.

Write h=ϕkh=\phi kh=ϕk, where ϕ=r/(2R)\phi=r/(\sqrt2R)ϕ=r/(2​R) and rrr is the customer's maximum walking distance. The paper chooses kkk so that hhh is an integer and assumes 2h≤k2h\le k2h≤k. The stall docks only at points of the inner diamond

I0=[h,k−h]2∩Z2.\mathcal I_0=[h,k-h]^2\cap\mathbb Z^2.I0​=[h,k−h]2∩Z2.

The name “diamond” refers to its appearance in ordinary coordinates; in edge coordinates it is an axis-aligned square. A type-1 origin lies in I1=[2h,k−2h]2∩Z2\mathcal I_1=[2h,k-2h]^2\cap\mathbb Z^2I1​=[2h,k−2h]2∩Z2. The other origins in I0\mathcal I_0I0​ are type 2. The closed small diamond around an origin zo=(xo,yo)z_o=(x_o,y_o)zo​=(xo​,yo​) is I(zo)=[xo−h,xo+h]×[yo−h,yo+h]∩Z2\mathcal I(z_o)=[x_o-h,x_o+h]\times[y_o-h,y_o+h]\cap\mathbb Z^2I(zo​)=[xo​−h,xo​+h]×[yo​−h,yo​+h]∩Z2.

The magnet rule maps the origin zoz_ozo​ and next customer location zcz_czc​ to a rendezvous zdz_dzd​. The stall stays at zoz_ozo​ when zc∈I(zo)z_c\in\mathcal I(z_o)zc​∈I(zo​). Otherwise, the location of zcz_czc​ in one of eight surrounding regions selects one of eight customer movement arrows. At a type-1 origin the head of that arrow is the rendezvous. At a type-2 origin the rule changes an arrow whose head would leave I0\mathcal I_0I0​, keeping the rendezvous inside it while preserving the customer's allowed walking distance. These are Definitions 1 and 2 of the paper pp. 14–16.

For zo,zd∈I0z_o,z_d\in\mathcal I_0zo​,zd​∈I0​, let A(zo,zd)\mathcal A(z_o,z_d)A(zo​,zd​) be the customer grid locations sent from zoz_ozo​ to zdz_dzd​. The transition probability is

P(zo,zd)=∣A(zo,zd)∣(k+1)2.\mathbb P(z_o,z_d)=\frac{|\mathcal A(z_o,z_d)|}{(k+1)^2}.P(zo​,zd​)=(k+1)2∣A(zo​,zd​)∣​.

Thus the denominator is the number of possible customers, not the number of stall locations. Repeated independent customer locations produce a finite Markov chain on I0\mathcal I_0I0​.

Formalization targets

The goal is Theorem 1 p. 17. For every k,h∈Nk,h\in\mathbb Nk,h∈N with 2h≤k2h\le k2h≤k, its first part says that P\mathbb PP is doubly stochastic:

∑zd∈I0P(zo,zd)=1and∑zo∈I0P(zo,zd)=1.\sum_{z_d\in\mathcal I_0}\mathbb P(z_o,z_d)=1 \quad\text{and}\quad \sum_{z_o\in\mathcal I_0}\mathbb P(z_o,z_d)=1.zd​∈I0​∑​P(zo​,zd​)=1andzo​∈I0​∑​P(zo​,zd​)=1.

Its second part says that the stationary distribution is uniform on I0\mathcal I_0I0​. The formal target states existence and uniqueness: a probability vector π\piπ is stationary for P\mathbb PP if and only if π(z)=1/∣I0∣\pi(z)=1/|\mathcal I_0|π(z)=1/∣I0​∣ for every state zzz.

The milestones follow the source's intermediate assertions: the rule keeps the rendezvous in I0\mathcal I_0I0​ at the prescribed customer distance; each row counts (k+1)2(k+1)^2(k+1)2 customers; the type-1 self-transition counts (2h+1)2(2h+1)^2(2h+1)2 customers; type-1 and type-2 columns each count (k+1)2(k+1)^2(k+1)2 incoming customer events; and every transition entry is positive. The last assertion supports the uniqueness clause.

Significance

A uniform stationary law replaces an unknown, history-dependent location distribution with one specified directly by the inner diamond. In the paper, that distribution is the location input for later within-radius repositioning calculations Cao and Qi, §§3.2–3.3. The result is specific to the magnet rule. It does not say that every reasonable meeting rule has a uniform stationary law.

The paper proves the finite-grid theorem in Appendix B. This mission asks for a machine-checked account of its exact finite combinatorial statement. The development will provide reusable definitions of the grid rule and its transition counts, while using an existing formal library interface for finite Markov chains. The theorem statements are open proof targets; a successful local compilation of their statements alone is not a proof.

Difficulty

Unit row sums follow from assigning each customer location to one next rendezvous. Unit column sums are subtler: fixing a destination and varying the origin gives overlapping sets of customer locations. Interior destinations and boundary destinations have different counts because a type-2 origin can redirect an arrow that would otherwise leave the allowed stall region. The source treats these as Case I and Case II on pp. 46–49. An interior-only count cannot establish the theorem for all of I0\mathcal I_0I0​, and positivity of every transition is a separate requirement for identifying the unique stationary law.

Formalization scope

Lean uses integer coordinate pairs for grid points and finite sets for GkG_kGk​, I0\mathcal I_0I0​, I1\mathcal I_1I1​, and I(zo)\mathcal I(z_o)I(zo​). The region boundaries use the paper's strict or inclusive inequalities exactly. The permitted parameters are all natural numbers k,hk,hk,h satisfying 2h≤k2h\le k2h≤k, including h=0h=0h=0, k=0k=0k=0, and 2h=k2h=k2h=k. In physical units h=ϕkh=\phi kh=ϕk; no division by kkk occurs in the formal statements. When k=0k=0k=0, there is one customer point and one state.

The matrix is computed from the paper's two-part magnet rule and uniform demand on the full grid. Defining it as a uniform matrix, using a nearest-point rule, dropping the type-2 correction, fixing one grid size, or proving only column sums would miss the target. The definition of A\mathcal AA counts customer locations that induce a transition. This includes customers already inside I(zo)\mathcal I(z_o)I(zo​) in a self-transition, as required by the paper's Case I(IX) and row-count formula. The paper's separate Proposition 2 is not a claim of this mission because it is false as printed; none of these targets assumes it. The finite-grid theorem does not formalize the subsequent informal k→∞k\to\inftyk→∞ statement.

The complete development needs finite-set counting, integer interval bounds, real-valued stochastic matrices, and the stationary-distribution interface of the published MarkovChain definition. Contributions proving any of the stated counting milestones or strengthening the finite-chain consequences are welcome. The paper's own proof is in Appendix B, pp. 46–49.

Selected references

  • J. Cao and W. Qi, Stall Economy: The Value of Mobility in Retail on Wheels, SSRN manuscript 3711896, 2022, §§3.2–3.3 and Appendix B, pp. 46–49. Manuscript.
11 thms2 active usersReviewed
Algorithmic Game TheoryControl TheoryStochastic Systems·Captain: mikedeng1

Strong and Weak Equilibria for Time-Inconsistent Stochastic Control in Continuous Time 1: Weak and Strong Equilibria Exist When the Admissible Generator Rows Form Convex Compact SetsResearch Paper

Motivation

An agent whose preferences change over time cannot simply optimize. Under non-exponential discounting, for instance hyperbolic or pseudo-exponential discount functions, a plan that is optimal today stops being optimal tomorrow, and a later self deviates from it. Strotz (1955) proposed that a sophisticated agent treat future selves as players in a game and look for a subgame-perfect equilibrium strategy instead. In discrete time this notion is unambiguous. In continuous time, Ekeland and Lazrak (2006) gave the first rigorous definition, through a first-order (derivative-type) condition, and nearly all later work on time-inconsistent stochastic control in continuous time uses it.

Huang and Zhou (2021) point out that this standard notion, here called a weak equilibrium, can admit strategies that the agent strictly wants to abandon over arbitrarily short intervals. They introduce a strong equilibrium, which rules out every profitable short deviation. For a controlled finite-state Markov chain they characterize both notions and prove that both exist under compactness. This mission formalizes that existence theorem together with the expansions and characterizations it rests on.

Setting

Let S={1,…,N}S=\{1,\dots,N\}S={1,…,N}. A continuous-time Markov chain XXX on SSS is controlled through its generator Q∈RN×NQ\in\mathbb R^{N\times N}Q∈RN×N, with iii-th row QiQ_iQi​. A row must lie in

Ei={q∈RN:qj≥0 (j≠i), qi=−∑j≠iqj},E_i=\Big\{q\in\mathbb R^N: q_j\ge0\ (j\ne i),\ q_i=-\sum_{j\ne i}q_j\Big\},Ei​={q∈RN:qj​≥0 (j=i), qi​=−j=i∑​qj​},

and an admissible set Di⊆EiD_i\subseteq E_iDi​⊆Ei​ is fixed for each state. The control space is Q={Q:Qi∈Di ∀i}\mathcal Q=\{Q: Q_i\in D_i\ \forall i\}Q={Q:Qi​∈Di​ ∀i}.

A payoff rate f(t,i,q)f(t,i,q)f(t,i,q) is paid at time difference t≥0t\ge0t≥0 when the chain is in state iii and uses row qqq. The standing assumptions are that t↦f(t,i,q)t\mapsto f(t,i,q)t↦f(t,i,q) is continuous on [0,∞)[0,\infty)[0,∞) and that, for every c>0c>0c>0, sup⁡i, q∈Di, ∥q∥≤c∣f(t,i,q)∣\sup_{i,\,q\in D_i,\,\|q\|\le c}|f(t,i,q)|supi,q∈Di​,∥q∥≤c​∣f(t,i,q)∣ is integrable in ttt. The expected payoff is

F(i,Q)=Ei,Q[∫0∞f(t,Xt,QXt) dt],F(Q)=(F(1,Q),…,F(N,Q)).F(i,Q)=\mathbb E_{i,Q}\Big[\int_0^\infty f(t,X_t,Q_{X_t})\,dt\Big],\qquad F(Q)=(F(1,Q),\dots,F(N,Q)).F(i,Q)=Ei,Q​[∫0∞​f(t,Xt​,QXt​​)dt],F(Q)=(F(1,Q),…,F(N,Q)).

For ε>0\varepsilon>0ε>0, the concatenation Q⊗εQ∗Q\otimes_\varepsilon Q^*Q⊗ε​Q∗ follows QQQ on [0,ε][0,\varepsilon][0,ε] and Q∗Q^*Q∗ afterwards.

  • Q∗∈QQ^*\in\mathcal QQ∗∈Q is a weak equilibrium if lim inf⁡ε↓0(F(i,Q∗)−F(i,Q⊗εQ∗))/ε≥0\liminf_{\varepsilon\downarrow0}\big(F(i,Q^*)-F(i,Q\otimes_\varepsilon Q^*)\big)/\varepsilon\ge0liminfε↓0​(F(i,Q∗)−F(i,Q⊗ε​Q∗))/ε≥0 for all Q∈QQ\in\mathcal QQ∈Q and i∈Si\in Si∈S.
  • Q∗∈QQ^*\in\mathcal QQ∗∈Q is a strong equilibrium if for all iii and QQQ there is ε>0\varepsilon>0ε>0 with F(i,Q∗)≥F(i,Q⊗ε′Q∗)F(i,Q^*)\ge F(i,Q\otimes_{\varepsilon'}Q^*)F(i,Q∗)≥F(i,Q⊗ε′​Q∗) for every 0<ε′≤ε0<\varepsilon'\le\varepsilon0<ε′≤ε.

The first-order gain of a row qqq in state iii is ΓQ∗(q)=f(0,i,q)+q⋅F(Q∗)\Gamma^{Q^*}(q)=f(0,i,q)+q\cdot F(Q^*)ΓQ∗(q)=f(0,i,q)+q⋅F(Q∗).

Formalization targets

Goal: Theorem 3.3 (p. 10)

Suppose every DiD_iDi​ is nonempty, convex and compact, q↦f(t,i,q)q\mapsto f(t,i,q)q↦f(t,i,q) is continuous on DiD_iDi​, and f(0,i,⋅)f(0,i,\cdot)f(0,i,⋅) is concave. Then

∃ Q∗∈Q weak equilibrium.\exists\,Q^*\in\mathcal Q\ \text{weak equilibrium}.∃Q∗∈Q weak equilibrium.

If moreover f(0,i,⋅)f(0,i,\cdot)f(0,i,⋅) is strictly concave and fff satisfies the C1C^1C1 and remainder conditions of Lemma 3.2, then

∃ Q∗∈Q strong equilibrium.\exists\,Q^*\in\mathcal Q\ \text{strong equilibrium}.∃Q∗∈Q strong equilibrium.

Milestones

  1. Lemma 3.1 (p. 6): the first-order expansions (3.2) and, under the shift bound (3.3)–(3.5),
F(i,Q∗)−F(i,Q⊗εQ∗)=(ΓQ∗(Qi∗)−ΓQ∗(Qi))ε+o(ε).F(i,Q^*)-F(i,Q\otimes_\varepsilon Q^*)=\big(\Gamma^{Q^*}(Q^*_i)-\Gamma^{Q^*}(Q_i)\big)\varepsilon+o(\varepsilon).F(i,Q∗)−F(i,Q⊗ε​Q∗)=(ΓQ∗(Qi∗​)−ΓQ∗(Qi​))ε+o(ε).
  1. Theorem 3.1 (p. 7): Q∗Q^*Q∗ is a weak equilibrium iff ΓQ∗(Qi∗)≥ΓQ∗(Qi)\Gamma^{Q^*}(Q^*_i)\ge\Gamma^{Q^*}(Q_i)ΓQ∗(Qi∗​)≥ΓQ∗(Qi​) for all (i,Q)(i,Q)(i,Q).
  2. Continuity of Q↦F(Q)Q\mapsto F(Q)Q↦F(Q) on Q\mathcal QQ (proof of Theorem 3.3, p. 26).
  3. The best-response map Φ(Q)={R∈Q:Ri∈arg⁡max⁡q∈Di[f(0,i,q)+F(Q)⋅q]}\Phi(Q)=\{R\in\mathcal Q: R_i\in\arg\max_{q\in D_i}[f(0,i,q)+F(Q)\cdot q]\}Φ(Q)={R∈Q:Ri​∈argmaxq∈Di​​[f(0,i,q)+F(Q)⋅q]} has nonempty closed convex values and is upper semicontinuous (p. 26).
  4. Kakutani's fixed-point theorem, already proved on the platform, as used on p. 26.
  5. Lemma 3.2 (p. 8): the second-order expansion (3.16) with coefficient ΛQ∗\Lambda^{Q^*}ΛQ∗ (3.17).
  6. Proposition 3.2 (p. 9): strict inequality in the gain whenever Qi≠Qi∗Q_i\ne Q^*_iQi​=Qi∗​ implies a strong equilibrium.
  7. Remark 2.3 (p. 5): every strong equilibrium is weak.

Significance

Theorem 3.3 is the general existence result of the paper. Theorem 3.1 and Proposition 3.2 give a way to find equilibria in a given model, but they do not say whether one exists. Remark 3.4 shows that without compactness of the DiD_iDi​, no equilibrium need exist. The strong half shows that the stricter concept is not empty in general: under strict concavity a strong equilibrium exists. Example 4.3 of the paper shows that weak equilibria need not be strong, so the two halves are different results.

The paper gives a proof, and none of it has been formalized. A formalization produces a checked equilibrium-existence theorem for a controlled continuous-time Markov chain. It also produces reusable small-time expansions of matrix-exponential payoffs. These expansions are shared by the paper's other results: the two-state example and the convergence of discrete-time equilibria.

Difficulty

The fixed-point step itself is routine once its hypotheses are in place. The work lies in the analysis that feeds it. First, the continuity of Q↦F(Q)Q\mapsto F(Q)Q↦F(Q) needs a limit passage under an infinite-horizon integral, which requires a uniform integrable bound on fff along a converging sequence of generators. Second, the step from a fixed point to a weak equilibrium goes through Theorem 3.1, whose hypothesis (3.3) is not among those of Theorem 3.3. Showing that Fε(i,Q)→F(i,Q)F_\varepsilon(i,Q)\to F(i,Q)Fε​(i,Q)→F(i,Q) without (3.3) is not one of the paper's numbered statements. Third, the strong half needs Proposition 3.2. Its proof treats deviations that agree with Q∗Q^*Q∗ in the current state, which are felt only at second or higher order in ε\varepsilonε, through the first order at which the chain can reach a state where the deviation differs. The obvious argument, comparing first-order terms only, says nothing in that case.

Formalization scope

States are Fin N, so state kkk of the paper is index k−1k-1k−1. Rows are Fin N → ℝ and generators are Matrix (Fin N) (Fin N) ℝ with the entrywise topology. Expectations are not built from a Markov process. Under QQQ the law of XtX_tXt​ given X0=iX_0=iX0​=i is the iii-th row of etQe^{tQ}etQ, so F(i,Q)=∫0∞∑j(etQ)ijf(t,j,Qj) dtF(i,Q)=\int_0^\infty\sum_j(e^{tQ})_{ij}f(t,j,Q_j)\,dtF(i,Q)=∫0∞​∑j​(etQ)ij​f(t,j,Qj​)dt. Under Q⊗εQ′Q\otimes_\varepsilon Q'Q⊗ε​Q′ the transition matrix is etQe^{tQ}etQ for t≤εt\le\varepsilont≤ε and eεQe(t−ε)Q′e^{\varepsilon Q}e^{(t-\varepsilon)Q'}eεQe(t−ε)Q′ afterwards. Integrals are Bochner integrals over (0,∞)(0,\infty)(0,∞). The norm in (2.3) is the sup norm, which is equivalent because (2.3) quantifies over every c>0c>0c>0. The liminf in the weak-equilibrium definition is encoded as "for every η>0\eta>0η>0, eventually ≥−η\ge-\eta≥−η". "Increasing" in (3.4) and (3.15) means nondecreasing.

Two hypotheses are added to the printed Theorem 3.3:

  • Di≠∅D_i\neq\emptysetDi​=∅. Otherwise Q\mathcal QQ is empty.
  • Continuity of q↦f(t,i,q)q\mapsto f(t,i,q)q↦f(t,i,q) on DiD_iDi​. The proof uses it, and the printed statement is false without it: a payoff whose sign jumps in qqq admits no weak equilibrium.

The shift bound (3.3) is deliberately not assumed in the weak half. No statement assumes integrability of a payoff; it follows from (2.3) because etQe^{tQ}etQ is a stochastic matrix. The time derivative ftf_tft​ in Lemma 3.2 is tied to fff by a derivative condition, and Λ\LambdaΛ is meaningless otherwise. These choices rule out formalizations that are trivially true because an integral is junk or an admissible set is empty. Every hypothesis on fff ranges over q∈Diq\in D_iq∈Di​ only.

A complete development needs:

  • dominated convergence for integrals over (0,∞)(0,\infty)(0,∞);
  • small-time expansions of eεQe^{\varepsilon Q}eεQ;
  • the fact that etQe^{tQ}etQ is stochastic for a generator;
  • the identification of RN×N\mathbb R^{N\times N}RN×N with a Euclidean space, to apply the referenced Kakutani theorem.

The matrix-exponential facts about generators are reusable beyond this mission. Contributions to any milestone are welcome, and so are lemmas on generators and etQe^{tQ}etQ.

Selected references

  • Y.-J. Huang and Z. Zhou, Strong and Weak Equilibria for Time-Inconsistent Stochastic Control in Continuous Time, Mathematics of Operations Research 46(2), 2021; read as arXiv:1809.09243v3. https://arxiv.org/abs/1809.09243 , https://doi.org/10.1287/moor.2020.1066
  • I. Ekeland and A. Lazrak, Being serious about non-commitment: subgame perfect equilibrium in continuous time, technical report, University of British Columbia, 2006. https://arxiv.org/abs/math/0604264
  • R. H. Strotz, Myopia and inconsistency in dynamic utility maximization, Review of Economic Studies 23(3), 1955. https://doi.org/10.2307/2295722
  • K. Fan, Fixed-point and minimax theorems in locally convex topological linear spaces, PNAS 38(2), 1952. https://doi.org/10.1073/pnas.38.2.121
  • S. Kakutani, A generalization of Brouwer's fixed point theorem, Duke Mathematical Journal 8(3), 1941. https://doi.org/10.1215/S0012-7094-41-00838-4
13 thms2 active usersReviewed
Control TheoryDynamic ProgrammingStochastic Systems·Captain: mikedeng1

Strong and Weak Equilibria for Time-Inconsistent Stochastic Control in Continuous Time 3: Discrete-Time Equilibria Exist on an Infinite Horizon for Closed Convex Admissible Transition RowsResearch Paper

Motivation

In many dynamic decision problems the criterion an agent uses today is not the one it will use tomorrow. The standard example is non-exponential discounting: if a payoff received ttt periods from now is weighted by δ(t)\delta(t)δ(t) and δ\deltaδ is not geometric, then the plan that is optimal from today's point of view will be abandoned by the agent's future selves. Such problems are called time-inconsistent, and since Strotz (1955) the usual response is to look not for an optimal plan but for an equilibrium: a plan that no future self wants to deviate from, given that all later selves follow it.

Huang and Zhou (arXiv:1809.09243v3, Math. Oper. Res. 2021) study this for finite-state Markov chains, mainly in continuous time. Section 5 of their paper turns to discrete time. On a finite horizon a discrete-time equilibrium is built by backward induction; on an infinite horizon there is no last period to start from, and, as the authors note, "little is known about the existence and characterization of equilibria, even in discrete time" (p. 15). Their Theorem 5.1 gives a general existence result for this case. This mission formalizes it.

Setting

Let S={1,…,N}S=\{1,\dots,N\}S={1,…,N} and Nˉ={0,1,2,… }\bar{\mathbb N}=\{0,1,2,\dots\}Nˉ={0,1,2,…}. A time-homogeneous Markov chain X=(Xt)t∈NˉX=(X_t)_{t\in\bar{\mathbb N}}X=(Xt​)t∈Nˉ​ on SSS is controlled by choosing its transition matrix u=(uij)u=(u_{ij})u=(uij​); the iii-th row uiu_iui​ is the distribution of Xt+1X_{t+1}Xt+1​ given Xt=iX_t=iXt​=i. Rows live in the probability simplex

P={α∈R+N: ∑iαi=1}.(5.1)\mathfrak P=\Big\{\alpha\in\mathbb R^N_+:\ \sum_i\alpha_i=1\Big\}. \qquad (5.1)P={α∈R+N​: i∑​αi​=1}.(5.1)

For each state iii a set Ai⊆P\mathcal A_i\subseteq\mathfrak PAi​⊆P of admissible rows is given, and A={u∈RN×N:ui∈Ai ∀i}\mathcal A=\{u\in\mathbb R^{N\times N}: u_i\in\mathcal A_i\ \forall i\}A={u∈RN×N:ui​∈Ai​ ∀i}.

A payoff κ:Nˉ×S×P→R\kappa:\bar{\mathbb N}\times S\times\mathfrak P\to\mathbb Rκ:Nˉ×S×P→R is continuous, and κ(t,i,α)\kappa(t,i,\alpha)κ(t,i,α) is the reward ttt periods from now when the chain is at iii and uses row α\alphaα. The dependence on ttt, the time difference from the present, is what makes the problem time-inconsistent. It is assumed that

∑t=0∞ sup⁡(i,α)∈S×P∣κ(t,i,α)∣<∞.(5.2)\sum_{t=0}^\infty\ \sup_{(i,\alpha)\in S\times\mathfrak P}|\kappa(t,i,\alpha)|<\infty. \qquad (5.2)t=0∑∞​ (i,α)∈S×Psup​∣κ(t,i,α)∣<∞.(5.2)

The value of uuu from state iii is V(i,u)=Ei,u[∑t≥0κ(t,Xt,uXt)]V(i,u)=\mathbb E_{i,u}\big[\sum_{t\ge0}\kappa(t,X_t,u_{X_t})\big]V(i,u)=Ei,u​[∑t≥0​κ(t,Xt​,uXt​​)], and Hj(u)=Ej,u[∑t≥0κ(t+1,Xt,uXt)]H_j(u)=\mathbb E_{j,u}\big[\sum_{t\ge0}\kappa(t+1,X_t,u_{X_t})\big]Hj​(u)=Ej,u​[∑t≥0​κ(t+1,Xt​,uXt​​)] is the same with the clock shifted by one.

For u,u∗∈Au,u^*\in\mathcal Au,u∗∈A the concatenation u⊗1u∗u\otimes_1u^*u⊗1​u∗ uses uuu for the step at time 000 and u∗u^*u∗ for every later step. A matrix u∗∈Au^*\in\mathcal Au∗∈A is an equilibrium (Definition 5.1) if

V(i,u∗) ≥ V(i,u⊗1u∗)for all (i,u)∈S×A:V(i,u^*)\ \ge\ V(i,u\otimes_1u^*)\qquad\text{for all }(i,u)\in S\times\mathcal A:V(i,u∗) ≥ V(i,u⊗1​u∗)for all (i,u)∈S×A:

the self at time 000 cannot gain by a one-step deviation, given that all later selves use u∗u^*u∗.

Formalization targets

Goal: Theorem 5.1 (p. 16)

If every Ai\mathcal A_iAi​ is nonempty, convex and closed and every κ(0,i,⋅)\kappa(0,i,\cdot)κ(0,i,⋅) is concave on P\mathfrak PP, then

∃ u∗∈AwithV(i,u∗)≥V(i,u⊗1u∗)  ∀(i,u)∈S×A.\exists\,u^*\in\mathcal A\quad\text{with}\quad V(i,u^*)\ge V(i,u\otimes_1u^*)\ \ \forall(i,u)\in S\times\mathcal A.∃u∗∈AwithV(i,u∗)≥V(i,u⊗1​u∗)  ∀(i,u)∈S×A.

Milestones (proof of Theorem 5.1, Appendix B.1)

  1. (5.4), p. 15: the one-step decomposition
V(i,u⊗1u∗)=κ(0,i,ui)+∑j=1NHj(u∗) uij.V(i,u\otimes_1u^*)=\kappa(0,i,u_i)+\sum_{j=1}^N H_j(u^*)\,u_{ij}.V(i,u⊗1​u∗)=κ(0,i,ui​)+j=1∑N​Hj​(u∗)uij​.
  1. Continuity of hhh, p. 27: for each jjj, u↦Hj(u)u\mapsto H_j(u)u↦Hj​(u) is continuous on A\mathcal AA.
  2. Best response, p. 27: the correspondence Φ(u)={w∈A:w∈arg⁡max⁡u′∈AV(i,u′⊗1u) ∀i}\Phi(u)=\{w\in\mathcal A: w\in\arg\max_{u'\in\mathcal A}V(i,u'\otimes_1u)\ \forall i\}Φ(u)={w∈A:w∈argmaxu′∈A​V(i,u′⊗1​u) ∀i} has nonempty, closed, convex values and is upper semicontinuous on A\mathcal AA.
  3. Kakutani's fixed-point theorem (already proved on the platform, referenced).

Significance

The result. Theorem 5.1 says that infinite-horizon, discrete-time, finite-state time-inconsistent control always admits an equilibrium under convexity and concavity alone: no discounting structure, no stationarity of κ\kappaκ in ttt, and no compactness beyond what P\mathfrak PP provides. Remark 5.2 of the paper shows that concavity of κ(0,i,⋅)\kappa(0,i,\cdot)κ(0,i,⋅) cannot simply be dropped: with strictly convex time-000 payoffs, a two-state example has no equilibrium. The discrete-time model is also the bridge to the continuous-time theory: Theorem 5.2 of the same paper (a companion mission) shows that limits of equilibria of time-discretizations are weak equilibria in continuous time.

Formalizing it. The result is proved on paper in one page. The formalization produces a machine-checked existence theorem whose definitions make the probabilistic content explicit (the value is written through the marginals (ut)ij(u^t)_{ij}(ut)ij​ of the chain), together with a reusable decomposition (5.4) and continuity of the shifted value HHH in the transition matrix. None of this is formalized elsewhere on the platform; Kakutani's theorem, the one external ingredient, is.

Difficulty

Backward induction, the standard construction of discrete-time equilibria, has no starting point on an infinite horizon, so existence cannot be obtained by a recursion. The value Hj(u)H_j(u)Hj​(u) is an infinite sum of products of matrix powers (ut)jk(u^t)_{jk}(ut)jk​ with κ(t+1,k,uk)\kappa(t+1,k,u_k)κ(t+1,k,uk​), and its regularity in the transition matrix uuu is not automatic: each term is continuous, but passing limits through the sum, and exchanging it with the finite sum over states in (5.4), needs the uniform tail control of (5.2) combined with the stochasticity of every power utu^tut. Without concavity of κ(0,i,⋅)\kappa(0,i,\cdot)κ(0,i,⋅) the statement fails (Remark 5.2, p. 16, gives a two-state counterexample), so any argument must use it. Finally, the referenced fixed-point theorem is stated on Euclidean space, while the controls are N×NN\times NN×N matrices.

Formalization scope

  • States are Fin N (state kkk of the paper is index k−1k-1k−1); rows are Fin N → ℝ; transition matrices are Matrix (Fin N) (Fin N) ℝ with the product topology.
  • Expectations are written through the one-dimensional marginals of the chain: V(i,u)=∑t∑j(ut)ijκ(t,j,uj)V(i,u)=\sum_t\sum_j(u^t)_{ij}\kappa(t,j,u_j)V(i,u)=∑t​∑j​(ut)ij​κ(t,j,uj​), Hi(u)=∑t∑j(ut)ijκ(t+1,j,uj)H_i(u)=\sum_t\sum_j(u^t)_{ij}\kappa(t+1,j,u_j)Hi​(u)=∑t​∑j​(ut)ij​κ(t+1,j,uj​), and V(i,u⊗1u∗)=κ(0,i,ui)+∑t∑j(u(u∗)t)ijκ(t+1,j,uj∗)V(i,u\otimes_1u^*)=\kappa(0,i,u_i)+\sum_t\sum_j(u(u^*)^t)_{ij}\kappa(t+1,j,u^*_j)V(i,u⊗1​u∗)=κ(0,i,ui​)+∑t​∑j​(u(u∗)t)ij​κ(t+1,j,uj∗​). This is Fubini plus the marginal laws of a finite chain; no Markov process is constructed. The concatenated value is defined from the process, not by (5.4), so (5.4) is a genuine statement.
  • The infinite sums are tsums. A tsum of a non-summable family is 000 in Lean; here (5.2) and the stochasticity of utu^tut make every sum absolutely convergent, and no summability hypothesis appears in any statement.
  • The standing assumptions of §5 are one structure: Ai⊆P\mathcal A_i\subseteq\mathfrak PAi​⊆P; κ(t,i,⋅)\kappa(t,i,\cdot)κ(t,i,⋅) continuous on P\mathfrak PP for all t,it,it,i (continuity on Nˉ×S×P\bar{\mathbb N}\times S\times\mathfrak PNˉ×S×P, both first factors being discrete); (5.2) as a summable majorant bt≥∣κ(t,i,α)∣b_t\ge|\kappa(t,i,\alpha)|bt​≥∣κ(t,i,α)∣ on P\mathfrak PP.
  • Added hypothesis: every Ai\mathcal A_iAi​ is nonempty. The page's "convex and closed" allows Ai=∅\mathcal A_i=\emptysetAi​=∅, in which case A=∅\mathcal A=\emptysetA=∅ and no equilibrium exists.
  • Concavity of κ(0,i,⋅)\kappa(0,i,\cdot)κ(0,i,⋅) is assumed on all of P\mathfrak PP, as on the page; closedness of Ai\mathcal A_iAi​ gives compactness because P\mathfrak PP is compact, and no compactness is assumed.
  • Upper semicontinuity of Φ\PhiΦ is stated with sequences, as on the page.
  • A trivializing formalization would define V(i,u⊗1u∗)V(i,u\otimes_1u^*)V(i,u⊗1​u∗) by formula (5.4), or add summability or equilibrium-shaped hypotheses to the goal; none of these is done.
  • Infrastructure a complete development needs: bounds on entries of products of stochastic matrices, dominated (Weierstrass M-test) continuity of tsums, a linear homeomorphism between Matrix (Fin N) (Fin N) ℝ and EuclideanSpace ℝ (Fin (N*N)) to apply the referenced Kakutani theorem. The first two are reusable for any finite-state Markov reward model. Proofs of the milestones in any order are welcome.

Selected references

  • Y.-J. Huang and Z. Zhou, Strong and Weak Equilibria for Time-Inconsistent Stochastic Control in Continuous Time, Math. Oper. Res. 46(2), 2021; read as arXiv:1809.09243v3. https://arxiv.org/abs/1809.09243 , https://doi.org/10.1287/moor.2020.1066
  • S. Kakutani, A generalization of Brouwer's fixed point theorem, Duke Math. J. 8(3), 457–459, 1941. https://doi.org/10.1215/S0012-7094-41-00838-4
  • R. H. Strotz, Myopia and inconsistency in dynamic utility maximization, Rev. Econ. Stud. 23(3), 165–180, 1955. https://doi.org/10.2307/2295722
7 thms2 active usersReviewed
🏆Completed
Dynamic ProgrammingOperations ResearchOptimization·Captain: mikedeng1

Robust Markov Decision Processes 1: Over s-Rectangular Ambiguity Sets, Robust Policy Improvement Is Solved by a Stationary Randomized Policy and the Fixed Point of the Robust Bellman MapResearch Paper

Motivation

A Markov decision process (MDP) is evaluated with a transition kernel that, in practice, is estimated from data. The expected total reward of a policy can be very sensitive to small errors in that estimate (Mannor, Simester, Sun and Tsitsiklis, 2007). Robust MDPs address this by letting the kernel range over an ambiguity set and optimizing the worst-case expected reward. Iyengar (2005) and Nilim and El Ghaoui (2005) showed that when the ambiguity set is (s, a)-rectangular (the transition law of each state–action pair varies independently of all others), the robust problem is solved by a robust Bellman recursion and a deterministic stationary policy is optimal.

Wiesemann, Kuhn and Rustem (Robust Markov Decision Processes, Mathematics of Operations Research 38(1), 2013) widen this to s-rectangular ambiguity sets, in which the transition laws of different actions in the same state may be coupled. Their Theorem 4.1 shows that robust policy improvement over such sets is still solved by a robust Bellman fixed point, but the optimal stationary policy may need to randomize. This mission formalizes that theorem and the chain of results its proof uses.

Timeline:

  • 2005: Iyengar; Nilim and El Ghaoui — robust dynamic programming over (s, a)-rectangular sets, deterministic stationary optimal policies.
  • 2010–2013: Wiesemann, Kuhn and Rustem — s-rectangular sets with affinely parametrized kernels; robust value iteration for evaluation (Theorem 3.2) and improvement (Theorem 4.1); randomization needed in general.

Setting

States form a finite set S\mathcal SS, actions a finite set A\mathcal AA. Choosing action aaa in state sss and moving to s′s's′ pays a reward r(s,a,s′)≥0r(s,a,s')\ge 0r(s,a,s′)≥0; rewards are discounted by λ∈(0,1)\lambda\in(0,1)λ∈(0,1) and the initial state has a known law p0p_0p0​ in the probability simplex M(S)\mathcal M(\mathcal S)M(S).

The uncertain parameter ξ\xiξ lies in

Ξ={ξ∈Rq: ξ⊤Olξ+ol⊤ξ+ωl≥0, l=1,…,L},\Xi=\{\xi\in\mathbb R^q:\ \xi^\top O_l\xi+o_l^\top\xi+\omega_l\ge 0,\ l=1,\dots,L\},Ξ={ξ∈Rq: ξ⊤Ol​ξ+ol⊤​ξ+ωl​≥0, l=1,…,L},

with OlO_lOl​ symmetric negative semidefinite, Ξ\XiΞ bounded and containing a Slater point. Transition probabilities are affine in the parameter, pξ(⋅∣s,a)=ksa+Ksaξ∈M(S)p^\xi(\cdot\mid s,a)=k_{sa}+K_{sa}\xi\in\mathcal M(\mathcal S)pξ(⋅∣s,a)=ksa​+Ksa​ξ∈M(S) for ξ∈Ξ\xi\in\Xiξ∈Ξ. The ambiguity set P\mathcal PP is the set of kernels (pξ(⋅∣s,a))s,a(p^\xi(\cdot\mid s,a))_{s,a}(pξ(⋅∣s,a))s,a​, ξ∈Ξ\xi\in\Xiξ∈Ξ. It is s-rectangular if P=×sPs\mathcal P=\times_{s}\mathcal P_sP=×s​Ps​, where Ps\mathcal P_sPs​ collects the blocks (Ps1,…,PsA)(P_{s1},\dots,P_{sA})(Ps1​,…,PsA​) of members of P\mathcal PP: the parameter may be chosen separately in each state.

A stationary randomized policy π∈Π\pi\in\Piπ∈Π assigns to each state a distribution π(⋅∣s)\pi(\cdot\mid s)π(⋅∣s) over actions. It induces the Markov reward process

P^ss′(π;ξ)=∑aπ(a∣s)pξ(s′∣s,a),r^s(π;ξ)=∑aπ(a∣s)∑s′pξ(s′∣s,a)r(s,a,s′),\widehat P_{ss'}(\pi;\xi)=\sum_a\pi(a\mid s)p^\xi(s'\mid s,a),\qquad \widehat r_s(\pi;\xi)=\sum_a\pi(a\mid s)\sum_{s'}p^\xi(s'\mid s,a)r(s,a,s'),Pss′​(π;ξ)=a∑​π(a∣s)pξ(s′∣s,a),rs​(π;ξ)=a∑​π(a∣s)s′∑​pξ(s′∣s,a)r(s,a,s′),

and the reward to-go v(π;ξ)=∑t≥0[λP^(π;ξ)]tr^(π;ξ)v(\pi;\xi)=\sum_{t\ge0}[\lambda\widehat P(\pi;\xi)]^t\widehat r(\pi;\xi)v(π;ξ)=∑t≥0​[λP(π;ξ)]tr(π;ξ). The worst-case expected total reward of π\piπ is inf⁡ξ∈Ξp0⊤v(π;ξ)\inf_{\xi\in\Xi}p_0^\top v(\pi;\xi)infξ∈Ξ​p0⊤​v(π;ξ).

Two robust Bellman maps on RS\mathbb R^SRS carry the results:

ϕs(π;w)=min⁡ξ∈Ξ{r^s(π;ξ)+λ∑s′P^ss′(π;ξ)ws′},φs(w)=max⁡π∈Πϕs(π;w).\phi_s(\pi;w)=\min_{\xi\in\Xi}\Big\{\widehat r_s(\pi;\xi)+\lambda\sum_{s'}\widehat P_{ss'}(\pi;\xi)w_{s'}\Big\},\qquad \varphi_s(w)=\max_{\pi\in\Pi}\phi_s(\pi;w).ϕs​(π;w)=ξ∈Ξmin​{rs​(π;ξ)+λs′∑​Pss′​(π;ξ)ws′​},φs​(w)=π∈Πmax​ϕs​(π;w).

In Lean these are phiEval and phiImprove, in the namespace WiesemannRMDP.SRect.

Formalization targets

Goal: Theorem 4.1 (robust policy improvement)

For an s-rectangular P\mathcal PP, φ\varphiφ has a unique fixed point w∗w^*w∗, per-state maximizers πs∈arg⁡max⁡π∈Πϕs(π;w∗)\pi^s\in\arg\max_{\pi\in\Pi}\phi_s(\pi;w^*)πs∈argmaxπ∈Π​ϕs​(π;w∗) exist, and the glued policy π∗(a∣s)=πs(a∣s)\pi^*(a\mid s)=\pi^s(a\mid s)π∗(a∣s)=πs(a∣s) together with the constant function ϑ∗≡w∗\vartheta^*\equiv w^*ϑ∗≡w∗ attains

sup⁡π∈Π sup⁡ϑ:Ξ→cRS{inf⁡ξ∈Ξp0⊤ϑ(ξ): ϑ(ξ)≤r^(π;ξ)+λP^(π;ξ)ϑ(ξ) ∀ξ∈Ξ}=p0⊤w∗.\sup_{\pi\in\Pi}\ \sup_{\vartheta:\Xi\overset{c}{\to}\mathbb R^S}\Big\{\inf_{\xi\in\Xi}p_0^\top\vartheta(\xi):\ \vartheta(\xi)\le\widehat r(\pi;\xi)+\lambda\widehat P(\pi;\xi)\vartheta(\xi)\ \forall\xi\in\Xi\Big\}=p_0^\top w^*.π∈Πsup​ ϑ:Ξ→cRSsup​{ξ∈Ξinf​p0⊤​ϑ(ξ): ϑ(ξ)≤r(π;ξ)+λP(π;ξ)ϑ(ξ) ∀ξ∈Ξ}=p0⊤​w∗.

Milestones

  1. Proposition 3.1 (b), (c), (a): v(π;ξ)v(\pi;\xi)v(π;ξ) is the unique solution of w=r^+λP^ww=\widehat r+\lambda\widehat Pww=r+λPw; every sub-solution lies below it; vvv is Lipschitz on Π×Ξ\Pi\times\XiΠ×Ξ.
  2. Reformulation (10): for fixed π\piπ, inf⁡ξp0⊤v(π;ξ)\inf_\xi p_0^\top v(\pi;\xi)infξ​p0⊤​v(π;ξ) equals the inner supremum above, over all and over continuous ϑ\varthetaϑ.
  3. ϕ(π;⋅)\phi(\pi;\cdot)ϕ(π;⋅) is a contraction (proof of Theorem 3.2).
  4. Theorem 3.2: for s-rectangular P\mathcal PP and fixed π\piπ, the constant fixed point of ϕ(π;⋅)\phi(\pi;\cdot)ϕ(π;⋅) solves the evaluation problem (10).
  5. From the proof of Theorem 4.1: the glued policy satisfies w∗=ϕ(π∗;w∗)w^*=\phi(\pi^*;w^*)w∗=ϕ(π∗;w∗), and φ\varphiφ is a contraction.

Significance

Theorem 4.1 reduces robust policy improvement over s-rectangular sets to computing the fixed point of one map on RS\mathbb R^SRS, each evaluation of which is a finite convex program; the paper derives a polynomial-time method from it (Corollary 4.2). It also shows that the optimal policy is stationary but generally randomized, which separates s-rectangular from (s, a)-rectangular robust MDPs. Theorem 3.2 is the evaluation counterpart and is used again when the paper compares s-rectangular and general ambiguity sets (Proposition 3.10).

The results are proved in the paper; none is formalized. On the platform, the (s, a)-rectangular analogue with deterministic policies and costs (Nilim and El Ghaoui) and a related robust linear-programming characterization in another model (Derman, Geist and Mannor) exist, but neither covers coupled actions, randomized policies or rewards depending on the next state. A complete development would give machine-checked robust value iteration for s-rectangular sets and reusable facts on the reward to-go of a finite Markov reward process.

Difficulty

The obvious argument copies the nominal proof: the optimum of the constant-ϑ\varthetaϑ restriction is the fixed point w∗w^*w∗, so the constant function is optimal. That only solves the restriction to constant ϑ\varthetaϑ; the problems optimize over all continuous reward to-go functions ϑ:Ξ→RS\vartheta:\Xi\to\mathbb R^Sϑ:Ξ→RS, and showing that no non-constant ϑ\varthetaϑ does better is where s-rectangularity enters. Without it the claim is false: the paper's Example 3.11 gives a non-rectangular set where the constant bound is strictly below the worst-case reward. A second subtlety is that ϕs(π;w)\phi_s(\pi;w)ϕs​(π;w) depends on π\piπ only through the row π(⋅∣s)\pi(\cdot\mid s)π(⋅∣s), which is what lets per-state maximizers be assembled into a single policy; the maximizers are in general not deterministic.

Formalization scope

States and actions are finite nonempty types; policies are functions π(a∣s)\pi(a\mid s)π(a∣s) satisfying the published IsPolicy, and the simplex condition on pξ(⋅∣s,a)p^\xi(\cdot\mid s,a)pξ(⋅∣s,a) is the published IsTransitionKernel. P^\widehat PP and r^\widehat rr are built from the published InducedTransition and InducedReward. The model is a structure Model with the standing assumptions in Model.Standing. The reward to-go is defined by the series ∑t[λP^]tr^\sum_t[\lambda\widehat P]^t\widehat r∑t​[λP]tr, not as the solution of the evaluation equation, so Proposition 3.1 (b) is not definitional. The minimum over Ξ\XiΞ and the maximum over Π\PiΠ are infima and suprema over subtypes, attained under the standing assumptions; the objective inf⁡ξp0⊤ϑ(ξ)\inf_\xi p_0^\top\vartheta(\xi)infξ​p0⊤​ϑ(ξ) is used only for ϑ\varthetaϑ continuous on Ξ\XiΞ, and where arbitrary ϑ\varthetaϑ appear (the middle line of (10)) the infimum is taken in the extended reals. Inequalities on RS\mathbb R^SRS are componentwise; contractions are with respect to the sup norm. The paper's ω\omegaω in (3b) carries the index lll, as elsewhere in the paper.

A statement that compares the fixed point only with constant reward to-go functions, or that takes w∗w^*w∗ and π∗\pi^*π∗ as hypotheses satisfying the conclusion, is not Theorem 4.1; the goal asserts existence and uniqueness of w∗w^*w∗, existence of the maximizers, and optimality against every policy and every continuous feasible ϑ\varthetaϑ.

Useful infrastructure: Neumann series for λ\lambdaλ times a row-stochastic matrix, continuity of infima over compact parameter sets, and contraction properties of min/max Bellman operators. Proofs of the milestones, and of nonvacuity of richer instances, are welcome.

Selected references

  • W. Wiesemann, D. Kuhn, B. Rustem, Robust Markov Decision Processes, Mathematics of Operations Research 38(1):153–183, 2013. https://doi.org/10.1287/moor.1120.0566 (formalized from the Optimization Online revision of February 9, 2012: https://optimization-online.org/wp-content/uploads/2010/05/2610.pdf)
  • 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, 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
  • S. Mannor, D. Simester, P. Sun, J. N. Tsitsiklis, Bias and Variance Approximation in Value Function Estimates, Management Science 53(2):308–322, 2007. https://doi.org/10.1287/mnsc.1060.0614
  • M. L. Puterman, Markov Decision Processes: Discrete Stochastic Dynamic Programming, Wiley, 1994. https://doi.org/10.1002/9780470316887
14 thms2 active usersReviewed
Functional AnalysisProbabilityStatistics·Captain: mikedeng1

Spectral Gaps for a Metropolis–Hastings Algorithm in Infinite Dimensions I: The pCN Algorithm Has a Wasserstein Spectral Gap Uniform in the Dimension When the Potential Is Globally LipschitzResearch Paper

Motivation

Sampling from a distribution described relative to a Gaussian reference law is common in Bayesian inverse problems, where an unknown function or initial condition is inferred from noisy observations. Such a distribution is naturally infinite dimensional before it is approximated on a computer. A numerical method must therefore behave reliably as the approximation dimension grows. Hairer, Stuart and Vollmer study this question for Metropolis–Hastings chains and prove that the preconditioned Crank–Nicolson (pCN) chain admits a Wasserstein mixing bound with an iteration count independent of the projection dimension Hairer, Stuart and Vollmer (2014). This mission formalizes their globally Lipschitz case, Theorem 2.12.

The central practical concern is concrete: refining a discretization should improve the target approximation without forcing the number of Markov steps needed for a fixed contraction to grow with the number of coordinates. A bound on each finite dimensional chain separately would not settle that concern, because its constants could deteriorate with dimension. The theorem requires one set of constants for the infinite dimensional chain and every finite dimensional projection.

Setting

Let HHH be a separable real Hilbert space. Its Gaussian reference measure γ\gammaγ has mean zero and a covariance eigenbasis e1,e2,…e_1,e_2,\ldotse1​,e2​,…. The subspace KmK_mKm​ is the span of the first mmm eigenvectors, and γm\gamma_mγm​ is the law of the orthogonal projection of a γ\gammaγ-distributed vector onto KmK_mKm​. The potential Φ:H→R\Phi:H\to\mathbb RΦ:H→R determines the target measures

μ(dx)=Me−Φ(x)γ(dx),μm(dx)=Mme−Φ(x)γm(dx),\mu(dx)=M e^{-\Phi(x)}\gamma(dx),\qquad \mu_m(dx)=M_m e^{-\Phi(x)}\gamma_m(dx),μ(dx)=Me−Φ(x)γ(dx),μm​(dx)=Mm​e−Φ(x)γm​(dx),

where MMM and MmM_mMm​ normalize each measure. The paper's finite dimensional chain has state space KmK_mKm​, rather than the whole space HHH with unused coordinates Hairer, Stuart and Vollmer (2014), (1.1)–(1.2).

At step size 0<δ≤1/20<\delta\le1/20<δ≤1/2, the pCN proposal from xxx is y=1−2δ x+2δ ξy=\sqrt{1-2\delta}\,x+\sqrt{2\delta}\,\xiy=1−2δ​x+2δ​ξ, with ξ\xiξ drawn from γ\gammaγ or γm\gamma_mγm​ as appropriate. The move is accepted with probability 1∧eΦ(x)−Φ(y)1\wedge e^{\Phi(x)-\Phi(y)}1∧eΦ(x)−Φ(y); rejection leaves the state at xxx. Write PPP and PmP_mPm​ for these transition kernels Hairer, Stuart and Vollmer (2014), (1.3), (1.5)–(1.6).

The potential is globally Lipschitz, e−Φe^{-\Phi}e−Φ is γ\gammaγ-integrable, and the acceptance probability has a positive lower bound in specified balls centered at 1−2δ x\sqrt{1-2\delta}\,x1−2δ​x outside a bounded region. These are Assumptions 2.10 and 2.11 Hairer, Stuart and Vollmer (2014), p. 12. The allowed ball radius is either a positive constant or r0∥x∥ar_0\|x\|^ar0​∥x∥a with r0>0r_0>0r0​>0 and 1/2<a<11/2<a<11/2<a<1.

Formalization targets

Uniform Wasserstein contraction

For ε>0\varepsilon>0ε>0, set dε(x,y)=1∧∥x−y∥/εd_\varepsilon(x,y)=1\wedge\|x-y\|/\varepsilondε​(x,y)=1∧∥x−y∥/ε. Choose the Lyapunov function V(x)=∥x∥iV(x)=\|x\|^iV(x)=∥x∥i, where i≥1i\ge1i≥1, or, in the growing-radius case, V(x)=ev∥x∥V(x)=e^{v\|x\|}V(x)=ev∥x∥ with v>0v>0v>0. The weighted cost is d~(x,y)=dε(x,y)(1+V(x)+V(y))\widetilde d(x,y)=\sqrt{d_\varepsilon(x,y)(1+V(x)+V(y))}d(x,y)=dε​(x,y)(1+V(x)+V(y))​, and Wd~W_{\widetilde d}Wd​ is its infimum over couplings.

Theorem 2.12 asserts that μ\muμ and each μm\mu_mμm​ are the unique invariant probability measures of PPP and PmP_mPm​. It also asserts that, for every sufficiently small ε\varepsilonε, there is one integer n~\widetilde nn satisfying both bounds for all probability measures on the respective spaces and for every mmm Hairer, Stuart and Vollmer (2014), p. 12:

Wd~(ν1Pn~,ν2Pn~)≤12Wd~(ν1,ν2),W_{\widetilde d}(\nu_1P^{\widetilde n},\nu_2P^{\widetilde n})\le\tfrac12 W_{\widetilde d}(\nu_1,\nu_2),Wd​(ν1​Pn,ν2​Pn)≤21​Wd​(ν1​,ν2​), Wd~m(ν1Pmn~,ν2Pmn~)≤12Wd~m(ν1,ν2).W_{\widetilde d_m}(\nu_1P_m^{\widetilde n},\nu_2P_m^{\widetilde n})\le\tfrac12 W_{\widetilde d_m}(\nu_1,\nu_2).Wdm​​(ν1​Pmn​,ν2​Pmn​)≤21​Wdm​​(ν1​,ν2​).

Here d~m\widetilde d_mdm​ is the same formula restricted to KmK_mKm​. The milestone list includes the uniform Lyapunov, contraction and smallness claims and the cited weak Harris theorem; the Gaussian projection comparison of Lemma 3.1 is a further stated lemma of the mission. Fernique's Gaussian exponential-moment result is linked to its existing published formalization.

Significance

The result bounds the number of pCN iterations needed for a fixed Wasserstein contraction uniformly over the finite dimensional approximations. It also identifies the intended target as the only invariant probability measure, so the contraction describes convergence toward the measure used by the inverse problem. The weighted Wasserstein cost permits this statement on an unbounded Hilbert space, where an ordinary total variation small-set argument would impose a different kind of regularity Hairer, Stuart and Vollmer (2014), §§2.2–2.3.

The paper proved Theorem 2.12 in 2014. The remaining work here is a machine-checked development of the pCN kernels, Gaussian projections, Wasserstein estimates, and weak Harris application. A formalized Fernique theorem already exists in the platform library; the pCN estimates and Theorem 2.12 are open draft statements in this proposal. They will be reusable in the locally Lipschitz pCN regime and in analyses of other Metropolis kernels that satisfy the same abstract contraction conditions.

Difficulty

The pCN proposal contracts the starting points, but the accept–reject step can break that direct coupling: one chain may accept a proposal while the other rejects it. A bound on the proposal distance alone therefore does not imply a bound on the transition laws. The probability of that mismatched decision must be controlled near each pair of starting points, while the acceptance lower bound must remain uniform on the projected spaces. Large starting points also require a Lyapunov estimate to enter the bounded region used by the weak Harris theorem Hairer, Stuart and Vollmer (2014), §§3.1.1–3.1.3.

Formalization scope

The Lean development represents HHH as a complete separable real inner product space with Borel measurable structure, γ\gammaγ as a centered Gaussian probability measure, and the chosen Hilbert basis as diagonalizing its covariance. Second countability is stated explicitly for the measurable pCN construction; for a separable metric space it follows from the standing setting. The projected law is the pushforward by the orthogonal projection onto KmK_mKm​, a reading of the Karhunen–Loève formula in the paper. A measurable map is essential here: Mathlib's pushforward returns zero for a nonmeasurable map.

The target is Mathlib's normalized tilted measure. The theorem explicitly concludes that both the infinite dimensional and projected targets are probability measures, so the possible junk zero from a nonintegrable tilt cannot satisfy the result. Wasserstein costs and Lyapunov expectations use extended nonnegative integrals. This avoids the junk zero of a nonintegrable Bochner integral and the junk values of a real infimum. Couplings are measures with the prescribed marginals. The acceptance kernel uses the paper's 1∧eΦ(x)−Φ(y)1\wedge e^{\Phi(x)-\Phi(y)}1∧eΦ(x)−Φ(y), including the first proposal and its rejection probability.

“Sufficiently small ε\varepsilonε” means ∃ε0>0 ∀ε∈(0,ε0]\exists\varepsilon_0>0\,\forall\varepsilon\in(0,\varepsilon_0]∃ε0​>0∀ε∈(0,ε0​]. The iteration count is chosen before mmm and before the input probability measures. Positive radius, positive power exponent and positive exponential coefficient exclude empty acceptance balls and the constant Lyapunov function. The m=0m=0m=0 projection is retained as the zero dimensional subspace. Contributions that establish the Gaussian comparison, the three pCN estimates, or the abstract weak Harris statement are within scope.

Selected references

  • M. Hairer, A. M. Stuart and S. J. Vollmer, Spectral gaps for a Metropolis–Hastings algorithm in infinite dimensions, Annals of Applied Probability 24(6), 2014, 2455–2490. arXiv:1112.1392v4, DOI:10.1214/13-AAP982.
10 thms2 active usersReviewed
Dynamical SystemsProbabilityStochastic Systems·Captain: mikedeng1

Coexistence and Extinction for Stochastic Kolmogorov Systems 1: If Every Boundary Ergodic Measure Repels, X Converges Exponentially Fast in Total Variation to a Unique Interior Stationary LawResearch Paper

Motivation

Whether interacting species can coexist in a fluctuating environment is one of the basic questions of mathematical ecology. Deterministic models (Lotka–Volterra competition, predator–prey systems, food chains) answer it through invasion criteria: a population persists if, whenever it is rare, it grows. In a random environment the analogous criterion is phrased through Lyapunov exponents (long-run per-capita growth rates) computed against stationary distributions of the subcommunities in which some species are absent. Schreiber, Benaïm and Atchadé ([SBA11], J. Math. Biol. 62 (2011), MR 2786721) proved such a criterion for stochastic differential equations on a compact state space; A. Hening and D. H. Nguyen (arXiv:1704.06984, Ann. Appl. Probab. 2018) extended it to the non-compact orthant R+n\mathbb R^n_+R+n​, which is where population sizes actually live, and added an exponential rate of convergence.

Timeline. [SBA11] (2011) gave the compact-state SDE criterion via a minimax principle; Hening and Nguyen (2017/2018) removed compactness, proved convergence in total variation at a geometric rate, and in the same paper gave matching extinction results (the second and third missions of this series).

Setting

Let n≥1n\ge1n≥1 be the number of populations and X(t)=(X1(t),…,Xn(t))∈R+n=[0,∞)nX(t)=(X_1(t),\dots,X_n(t))\in\mathbb R^n_+=[0,\infty)^nX(t)=(X1​(t),…,Xn​(t))∈R+n​=[0,∞)n their sizes. The stochastic Kolmogorov system is

dXi(t)=Xi(t)fi(X(t)) dt+Xi(t)gi(X(t)) dEi(t),i=1,…,n,dX_i(t)=X_i(t)f_i(X(t))\,dt+X_i(t)g_i(X(t))\,dE_i(t),\qquad i=1,\dots,n,dXi​(t)=Xi​(t)fi​(X(t))dt+Xi​(t)gi​(X(t))dEi​(t),i=1,…,n,

where fif_ifi​ are per-capita growth rates, gig_igi​ noise intensities, and E(t)=Γ⊤B(t)E(t)=\Gamma^\top B(t)E(t)=Γ⊤B(t) with BBB an nnn-dimensional standard Brownian motion and Σ=Γ⊤Γ=(σij)\Sigma=\Gamma^\top\Gamma=(\sigma_{ij})Σ=Γ⊤Γ=(σij​). Write R+n,∘=(0,∞)n\mathbb R^{n,\circ}_+=(0,\infty)^nR+n,∘​=(0,∞)n for the states with all species present, ∂R+n\partial\mathbb R^n_+∂R+n​ for its complement (some species absent) and ∥x∥=∑i∣xi∣\|x\|=\sum_i|x_i|∥x∥=∑i​∣xi​∣.

Assumption 1.1 (standing) requires: the matrix (gi(x)gj(x)σij)(g_i(x)g_j(x)\sigma_{ij})(gi​(x)gj​(x)σij​) is positive definite on R+n\mathbb R^n_+R+n​; fi,gif_i,g_ifi​,gi​ are locally Lipschitz; and for some c∈R+n,∘c\in\mathbb R^{n,\circ}_+c∈R+n,∘​, γb>0\gamma_b>0γb​>0,

lim sup⁡∥x∥→∞[∑icixifi(x)1+c⊤x−12∑i,jσijcicjxixjgi(x)gj(x)(1+c⊤x)2+γb(1+∑i(∣fi(x)∣+gi2(x)))]<0,\limsup_{\|x\|\to\infty}\Big[\frac{\sum_ic_ix_if_i(x)}{1+c^\top x}-\frac12\frac{\sum_{i,j}\sigma_{ij}c_ic_jx_ix_jg_i(x)g_j(x)}{(1+c^\top x)^2}+\gamma_b\Big(1+\sum_i(|f_i(x)|+g_i^2(x))\Big)\Big]<0,∥x∥→∞limsup​[1+c⊤x∑i​ci​xi​fi​(x)​−21​(1+c⊤x)2∑i,j​σij​ci​cj​xi​xj​gi​(x)gj​(x)​+γb​(1+i∑​(∣fi​(x)∣+gi2​(x)))]<0,

a dissipativity condition satisfied by logistic and competitive Lotka–Volterra models.

PX(t,x,⋅)P_X(t,x,\cdot)PX​(t,x,⋅) is the law of X(t)X(t)X(t) started at xxx. A probability measure μ\muμ is invariant if ∫PX(t,x,⋅) μ(dx)=μ\int P_X(t,x,\cdot)\,\mu(dx)=\mu∫PX​(t,x,⋅)μ(dx)=μ for all ttt; ergodic invariant measures are the extreme points of that convex set. M\mathcal MM is the set of ergodic invariant probability measures supported on ∂R+n\partial\mathbb R^n_+∂R+n​ (it contains the Dirac mass δ∗\delta^*δ∗ at 000), and Conv(M)\mathrm{Conv}(\mathcal M)Conv(M) its finite convex combinations. The Lyapunov exponent of species iii at μ\muμ is

λi(μ)=∫(fi(x)−σiigi2(x)2)μ(dx).\lambda_i(\mu)=\int\Big(f_i(x)-\frac{\sigma_{ii}g_i^2(x)}{2}\Big)\mu(dx).λi​(μ)=∫(fi​(x)−2σii​gi2​(x)​)μ(dx).

Assumption 1.2: max⁡iλi(μ)>0\max_i\lambda_i(\mu)>0maxi​λi​(μ)>0 for every μ∈Conv(M)\mu\in\mathrm{Conv}(\mathcal M)μ∈Conv(M) — every boundary state is invadable by some missing species.

Formalization targets

Goal: Theorem 1.1 (p. 6)

Under Assumptions 1.1 and 1.2 there is an invariant probability measure π∗\pi^*π∗ with π∗(R+n,∘)=1\pi^*(\mathbb R^{n,\circ}_+)=1π∗(R+n,∘​)=1, it is the only invariant probability measure concentrated on R+n,∘\mathbb R^{n,\circ}_+R+n,∘​, and for some r∈(0,1)r\in(0,1)r∈(0,1) and every x∈R+n,∘x\in\mathbb R^{n,\circ}_+x∈R+n,∘​ there is CxC_xCx​ with

∥PX(t,x,⋅)−π∗∥TV≤Cx rt,t≥0.\|P_X(t,x,\cdot)-\pi^*\|_{TV}\le C_x\,r^t,\qquad t\ge0.∥PX​(t,x,⋅)−π∗∥TV​≤Cx​rt,t≥0.

This is strong stochastic persistence (Definition 1.1) with an exponential rate; it leaves the rate rrr and the constants unspecified, as the paper does.

Milestones

The milestones follow the proof: well-posedness, invariant faces and the moment bound (3.6) (Lemma 3.1); uniform moment bounds and the Feller property (Lemma 3.2); integrability under invariant measures (Lemma 3.3); δ∗∈M\delta^*\in\mathcal Mδ∗∈M; convergence of occupation-measure integrals (Lemma 3.4); the log-Laplace bound (Lemma 3.5); irreducibility, aperiodicity and petite compacts for the skeleton chain (Lemma 3.6); the weighted invasion rate (4.1); boundary repulsion on average (Lemma 4.1); the Lyapunov contraction near the boundary (Proposition 4.1); the geometric drift (4.18); geometric ergodicity of the skeleton chain (4.26).

Significance

The result. Theorem 1.1 turns coexistence into a checkable condition on boundary subcommunities: one computes invasion rates of missing species against the stationary laws of the smaller systems. It is the persistence half of a dichotomy whose extinction half (Theorems 1.2–1.3) uses the same exponents, and it underlies the classification of stochastic food chains in the paper's own §2 (Theorem 2.1). The exponential rate gives quantitative mixing and supports further limit theorems for time averages.

Formalizing it. The theorem is proved in the paper but no machine-checked proof is recorded in this mission. A formalization exercises a chain of tools largely absent from current libraries: strong solutions of SDEs with locally Lipschitz coefficients on a closed orthant, the Feller property, tightness and weak limits of occupation measures, invariant and ergodic measures of diffusions, Meyn–Tweedie theory for skeleton chains, and log-Laplace (cumulant) estimates. Each milestone is a self-contained target; several (Lemma 3.5, the Meyn–Tweedie step) are independent of the population model.

Difficulty

The naive argument — positive invasion rates at each boundary ergodic measure imply that the process is pushed away from the boundary — fails twice. First, the state space is non-compact, so occupation measures need not be tight and the growth-rate functionals are unbounded; Assumption 1.1(3) and the moment bounds of Lemmas 3.2–3.4 are what replace compactness. Second, invasion rates are averages along the boundary dynamics, not pointwise drifts: the Lyapunov function V(x)=(1+c⊤x)/∏ixipiV(x)=(1+c^\top x)/\prod_ix_i^{p_i}V(x)=(1+c⊤x)/∏i​xipi​​ decreases only on average over a time window of length T∗T^*T∗, and turning this into a uniform contraction of VθV^\thetaVθ requires controlling the full log-Laplace transform of the increment ln⁡V(X(T))−ln⁡V(x)\ln V(X(T))-\ln V(x)lnV(X(T))−lnV(x) (Proposition 4.1), not just its mean. Uniformity of all constants in the starting point is the delicate part.

Formalization scope

The process is a family X x of strong solutions, one from each x∈R+nx\in\mathbb R^n_+x∈R+n​, on one probability space driven by one Brownian motion, using the published Ethier–Kurtz definitions SolvesBrownianSDE and IsStandardBrownian on Rn=\mathbb R^n=Rn= SDEState n. Coordinates are Fin n; n≥1n\ge1n≥1. The coefficients are functions on Rn\mathbb R^nRn read at the positive part x+x^+x+, which agrees with the model on R+n\mathbb R^n_+R+n​. The norm is ℓ1\ell^1ℓ1. Invariance is stated through the transition probabilities PX(t,x,⋅)=P_X(t,x,\cdot)=PX​(t,x,⋅)= law of Xx(t)X^x(t)Xx(t); ergodic means extremal invariant. The lim sup⁡<0\limsup<0limsup<0 of (1.2) is written as "≤−ε\le-\varepsilon≤−ε for ∥x∥≥R\|x\|\ge R∥x∥≥R". Total variation is the published MarkovChainCLT.tvDist, sup⁡A∣μ(A)−ν(A)∣\sup_A|\mu(A)-\nu(A)|supA​∣μ(A)−ν(A)∣; the paper does not fix the factor 222, and geometric convergence is insensitive to it. The constants M>0,δ0M>0,\delta_0M>0,δ0​ of §3 are data satisfying (3.1), (3.2); HHH is the supremum (3.5).

Deviations, all disclosed in the items: aperiodicity is the Meyn–Tweedie notion (no cycle of d≥2d\ge2d≥2 nonempty disjoint sets), because the literal definition on p. 15 makes every chain aperiodic; (4.1), cited from [SBA11, Lemma 4], retains the attained minimum 2ρ∗2\rho^*2ρ∗ and is stated only in the direction used. Lemma 3.5 allows K2K_2K2​ to depend on the fixed θ0\theta_0θ0​ as its proof requires, despite the page saying “only on K1K_1K1​”. Expectations of nonnegative quantities are lower Lebesgue integrals; wherever a Bochner integral appears, its integrability is part of the conclusion.

Trivializing readings are excluded: uniqueness is among invariant measures on R+n,∘\mathbb R^{n,\circ}_+R+n,∘​ only (boundary invariant measures always exist), M\mathcal MM is nonempty (δ∗∈M\delta^*\in\mathcal Mδ∗∈M is a milestone, so Assumption 1.2 is never vacuous), and every existential constant is quantified before the points it must be uniform in. The logistic model on p. 4 gives a nonvacuous instance of Assumption 1.1.

Contributions welcome: general SDE well-posedness on invariant closed sets, Feller and tightness results for diffusions, Meyn–Tweedie geometric ergodicity for kernels, and cumulant-generating-function bounds, all reusable beyond this mission.

Selected references

  • A. Hening, D. H. Nguyen, Coexistence and extinction for stochastic Kolmogorov systems, Ann. Appl. Probab. 28(3), 2018. arXiv:1704.06984v1. https://arxiv.org/abs/1704.06984
  • S. J. Schreiber, M. Benaïm, K. A. S. Atchadé, Persistence in fluctuating environments, J. Math. Biol. 62(5), 655–683, 2011. MR 2786721, https://mathscinet.ams.org/mathscinet-getitem?mr=2786721
  • S. P. Meyn, R. L. Tweedie, Stability of Markovian processes I: criteria for discrete-time chains, Adv. Appl. Probab. 24(3), 542–574, 1992. MR 1174380, https://mathscinet.ams.org/mathscinet-getitem?mr=1174380
  • R. Khasminskii, Stochastic Stability of Differential Equations, 2nd ed., Springer, 2012. MR 2894052, https://mathscinet.ams.org/mathscinet-getitem?mr=2894052
20 thms2 active usersReviewed
ProbabilityStochastic Systems·Captain: mikedeng1

Generalized Couplings and Ergodic Rates for SPDEs and Other Markov Models: A Generalized Coupling and a Lyapunov Function Give a Unique Invariant Measure and Wasserstein Ergodic RatesResearch Paper

Motivation

Many Markov processes that arise as solutions of stochastic partial differential equations, stochastic delay equations, or other infinite-dimensional models are not strong Feller: their transition probabilities from two nearby starting points can be mutually singular. For such processes convergence to equilibrium cannot hold in total variation, and the classical Harris theorem (a Lyapunov function plus a minorization on a small set) does not apply. Hairer, Mattingly and Scheutzow ([23], 2011) replaced total variation by a coupling distance WdW_dWd​ built from a suitable distance-like function ddd, and proved a weak Harris theorem: contraction of WdW_dWd​ on the whole space, ddd-smallness of the level sets of a Lyapunov function, and the Lyapunov drift together give a unique invariant measure and a rate of convergence. Butkovsky ([6], 2014) extended it to subgeometric rates, and Kulik's monograph ([25], 2017) gives a systematic account.

The remaining difficulty is to verify the contraction hypothesis for a concrete model. Butkovsky, Kulik and Scheutzow (arXiv:1806.00395, Ann. Appl. Probab. 2020) show that it suffices to build a generalized coupling: a pair of processes whose first component has the correct law, whose second component is only close in law to the process started at the other point, and whose components approach each other. Their abstract theorem of §2 is the input to the paper's applications to stochastic functional differential equations and to the 2D Navier–Stokes, Euler-type and Boussinesq SPDEs of §4.

Setting

Let (E,ρ)(E,\rho)(E,ρ) be a Polish space with Borel σ\sigmaσ-field E\mathcal EE, and let {Pt}t≥0\{P_t\}_{t\ge0}{Pt​}t≥0​ be a Markov transition function: Markov kernels with P0(x,⋅)=δxP_0(x,\cdot)=\delta_xP0​(x,⋅)=δx​ and the Chapman–Kolmogorov identity. Write Ptf(x)=∫f(y) Pt(x,dy)P_tf(x)=\int f(y)\,P_t(x,dy)Pt​f(x)=∫f(y)Pt​(x,dy). The semigroup is Feller if PtP_tPt​ maps bounded continuous functions to continuous functions.

A distance-like function d:E×E→R+d:E\times E\to\mathbb R_+d:E×E→R+​ is symmetric, lower semicontinuous and vanishes exactly on the diagonal. A premetric θ\thetaθ is lower semicontinuous and vanishes exactly on the diagonal, but need not be symmetric. For probability measures μ,ν\mu,\nuμ,ν, C(μ,ν)\mathcal C(\mu,\nu)C(μ,ν) is the set of couplings and

Wd(μ,ν)=inf⁡λ∈C(μ,ν)∫d dλ∈[0,∞].W_d(\mu,\nu)=\inf_{\lambda\in\mathcal C(\mu,\nu)}\int d\,d\lambda\in[0,\infty].Wd​(μ,ν)=λ∈C(μ,ν)inf​∫ddλ∈[0,∞].

dTV(μ,ν)=sup⁡A∣μ(A)−ν(A)∣d_{TV}(\mu,\nu)=\sup_{A}|\mu(A)-\nu(A)|dTV​(μ,ν)=supA​∣μ(A)−ν(A)∣ is the total variation distance.

A measurable V≥0V\ge0V≥0 satisfies the Lyapunov condition if, for a concave differentiable φ:R+→R+\varphi:\mathbb R_+\to\mathbb R_+φ:R+​→R+​ increasing to infinity with φ(0)=0\varphi(0)=0φ(0)=0 and a constant K>0K>0K>0,

PtV(x)≤V(x)−∫0tPs(φ∘V)(x) ds+Kt,t≥0, x∈E.P_tV(x)\le V(x)-\int_0^tP_s(\varphi\circ V)(x)\,ds+Kt,\qquad t\ge0,\ x\in E.Pt​V(x)≤V(x)−∫0t​Ps​(φ∘V)(x)ds+Kt,t≥0, x∈E.

Put Hφ(x)=∫1xdu/φ(u)H_\varphi(x)=\int_1^x du/\varphi(u)Hφ​(x)=∫1x​du/φ(u) for x≥1x\ge1x≥1.

Assumption A asks for a non-increasing rrr with r(t)→0r(t)\to0r(t)→0, a locally bounded LLL, and for every x,yx,yx,y a pair of processes (Xx,y,Yx,y)(X^{x,y},Y^{x,y})(Xx,y,Yx,y) with Law(Xx,y)=Px\mathrm{Law}(X^{x,y})=\mathsf P_xLaw(Xx,y)=Px​,

dTV(Law(Ytx,y),Pt(y,⋅))≤L(t)θ(x,y),E θ(Xtx,y,Ytx,y)≤r(t)θ(x,y).d_{TV}\bigl(\mathrm{Law}(Y^{x,y}_t),P_t(y,\cdot)\bigr)\le L(t)\theta(x,y),\qquad \mathsf E\,\theta(X^{x,y}_t,Y^{x,y}_t)\le r(t)\theta(x,y).dTV​(Law(Ytx,y​),Pt​(y,⋅))≤L(t)θ(x,y),Eθ(Xtx,y​,Ytx,y​)≤r(t)θ(x,y).

Assumption B1 for a set BBB and t0>0t_0>0t0​>0: for every ε>0\varepsilon>0ε>0 there is a set DDD with inf⁡x∈BPt0(x,D)>0\inf_{x\in B}P_{t_0}(x,D)>0infx∈B​Pt0​​(x,D)>0 and sup⁡x,y∈Dθ(x,y)≤ε\sup_{x,y\in D}\theta(x,y)\le\varepsilonsupx,y∈D​θ(x,y)≤ε. Assumption B2 is a generalized-coupling version of B1 on a set BBB. The paper's auxiliary distance is dN=Nθ(x,y)∧Nθ(y,x)∧1d_N=N\theta(x,y)\wedge N\theta(y,x)\wedge1dN​=Nθ(x,y)∧Nθ(y,x)∧1.

Formalization targets

Goal: Theorem 2.5

Assume PPP is Feller, VVV satisfies the Lyapunov condition, ρ∧1≤θ\rho\wedge1\le\thetaρ∧1≤θ, Assumption A holds, and there is t0>0t_0>0t0​>0 such that B1 holds for every level set {V≤M}\{V\le M\}{V≤M} and t0t_0t0​. Then (Pt)(P_t)(Pt​) has a unique invariant probability measure π\piπ, and for every δ∈(0,1)\delta\in(0,1)δ∈(0,1) there are C1,C2>0C_1,C_2>0C1​,C2​>0 with

Wρ∧1(Pt(x,⋅),π)≤C1(1+φ(V(x))δ)φ(Hφ−1(C2t))δ,x∈E, t≥0.W_{\rho\wedge1}(P_t(x,\cdot),\pi)\le\frac{C_1\bigl(1+\varphi(V(x))^\delta\bigr)}{\varphi\bigl(H_\varphi^{-1}(C_2t)\bigr)^\delta},\qquad x\in E,\ t\ge0.Wρ∧1​(Pt​(x,⋅),π)≤φ(Hφ−1​(C2​t))δC1​(1+φ(V(x))δ)​,x∈E, t≥0.

The constants are existential, so the goal survives any improvement of them.

Companion: Theorem 2.6

In the exponential case φ(x)=γx\varphi(x)=\gamma xφ(x)=γx, hypothesis B1 on all level sets may be replaced by B2 on the single level set {V≤4K/γ}\{V\le4K/\gamma\}{V≤4K/γ}; the same bound then holds and is exponential in ttt.

Milestones

In attack order: dNd_NdN​ is distance-like (2.6); the coupling lemma, the gluing lemma and the reimbursement bound used inside the proof of Theorem 2.3(i); Theorem 2.3(i) (contractivity of dNd_NdN​ under A) and (ii) (dNd_NdN​-smallness under B1); the remark after Definition 2.2 that contractivity and smallness give (2.3)–(2.4); the non-expansion step of the proof of Theorem 2.5; Proposition 2.1 (cited weak Harris theorem); and, for the companion, Theorem 2.3(iii), Proposition 2.2 (cited) and Theorem 2.6.

Significance

Theorem 2.5 turns the verification of the weak Harris theorem into two checks that can be carried out model by model: construct a controlled process that is close in law to the true one (Assumption A), and check a support condition on level sets (B1). It covers subexponential rates, given by the function φ\varphiφ of the Lyapunov drift, and the Wasserstein distance it controls metrizes weak convergence. Theorem 2.6 is the abstract result behind the exponential ergodicity statements for SPDEs in §4 of the paper.

The results are proved in the paper; none of them, nor the weak Harris theorems of [6] and [23] they rely on, has a machine-checked proof. Mathlib has Markov kernels, their composition and invariant measures, but no coupling distances for lower semicontinuous costs, no maximal coupling or gluing lemma on Polish spaces, and no weak Harris theorem. Propositions 2.1 and 2.2 are cited by the paper, not proved there; formalizing them is part of the mission.

Difficulty

The obvious route to contraction is a true coupling of Pt(x,⋅)P_t(x,\cdot)Pt​(x,⋅) and Pt(y,⋅)P_t(y,\cdot)Pt​(y,⋅) whose components meet or approach. For processes without the strong Feller property, such a coupling is generally not available explicitly; the generalized coupling only gives the second marginal up to a total variation error. Turning the error-in-law bound into a statement about WdNW_{d_N}WdN​​ needs a maximal coupling of two laws on a Polish space and a gluing of two couplings along a common marginal, both of which rest on disintegration of measures. The cited Proposition 2.1 is itself a substantial result: existence of an invariant measure needs tightness from the Lyapunov drift and the Feller property, and the subexponential rate needs a careful interpolation between the drift and the contraction.

Formalization scope

The state space is any type with MetricSpace, CompleteSpace, SeparableSpace and the Borel σ-algebra; ρ\rhoρ is dist. Time is ℝ≥0 and PPP is a map ℝ≥0 → Kernel E E with Markov kernels, P0=idP_0=\mathrm{id}P0​=id, Chapman–Kolmogorov, and measurability of s↦Ps(x,A)s\mapsto P_s(x,A)s↦Ps​(x,A), which the time integral in (2.2) presupposes. Expectations, PtVP_tVPt​V and WdW_dWd​ are lower Lebesgue integrals in [0,∞][0,\infty][0,∞], and (2.2) is stated without subtraction (PtV+∫0tPs(φ∘V) ds≤V+KtP_tV+\int_0^tP_s(\varphi\circ V)\,ds\le V+KtPt​V+∫0t​Ps​(φ∘V)ds≤V+Kt), which is equivalent. A pair of processes is represented by its joint law on path space; Law(Xx,y)=Px\mathrm{Law}(X^{x,y})=\mathsf P_xLaw(Xx,y)=Px​ is read through the one-dimensional marginals Law(Xtx,y)=Pt(x,⋅)\mathrm{Law}(X^{x,y}_t)=P_t(x,\cdot)Law(Xtx,y​)=Pt​(x,⋅), a weaker hypothesis. Total variation is the published MarkovChainCLT.tvDist, without a factor 2. "Unique invariant measure" means unique among probability measures, with invariance ∫Pt(x,⋅) π(dx)=π\int P_t(x,\cdot)\,\pi(dx)=\pi∫Pt​(x,⋅)π(dx)=π for every ttt. Hφ−1(C2t)H_\varphi^{-1}(C_2t)Hφ−1​(C2​t) is encoded by quantifying over every u≥1u\ge1u≥1 with Hφ(u)=C2tH_\varphi(u)=C_2tHφ​(u)=C2​t; such a uuu exists and is unique under the Lyapunov condition. In Proposition 2.1 condition 2 is stated as ρ∧1≤d\rho\wedge1\le dρ∧1≤d, which is Proposition 2.1 for the equivalent complete metric ρ∧1\rho\wedge1ρ∧1 and is the form the proof of Theorem 2.5 uses.

No statement relies on a junk value: no Bochner integral of a possibly non-integrable function, no real-valued infimum over a possibly empty or unbounded set, no Measure.map along a non-measurable map, no default-valued inverse of HφH_\varphiHφ​ (which would make the bound read W≤0W\le0W≤0), and "invariant" is never used without "probability".

A complete development needs: Kantorovich-type coupling distances for lower semicontinuous costs, maximal couplings and gluing on Polish spaces, the transfer of WdW_dWd​-bounds through Markov kernels, and the weak Harris theorem with subexponential rates. All of these are reusable well beyond this mission. Contributions to any milestone, including the cited Propositions 2.1 and 2.2, are welcome.

Selected references

  • O. Butkovsky, A. Kulik, M. Scheutzow, Generalized couplings and ergodic rates for SPDEs and other Markov models, Ann. Appl. Probab. 30(1), 2020. arXiv:1806.00395, doi:10.1214/19-AAP1485
  • M. Hairer, J. C. Mattingly, M. Scheutzow, Asymptotic coupling and a general form of Harris' theorem with applications to stochastic delay equations, Probab. Theory Related Fields 149, 2011. arXiv:0902.4495
  • O. Butkovsky, Subgeometric rates of convergence of Markov processes in the Wasserstein metric, Ann. Appl. Probab. 24(2), 2014. arXiv:1211.4273
  • A. Kulik, Ergodic Behavior of Markov Processes, De Gruyter, Berlin, 2017. doi:10.1515/9783110458930
  • C. Villani, Optimal Transport: Old and New, Springer, 2009 (coupling lemma, Theorem 4.1; gluing, p. 23). doi:10.1007/978-3-540-71050-9
15 thms2 active usersReviewed
Optimal TransportProbability·Captain: mikedeng1

Coupling and Convergence for Hamiltonian Monte Carlo 2: Lyapunov Bounds and Local Contractivity Give W_ρ(νπⁿ, ηπⁿ) ≤ e^{−cn}W_ρ(ν, η) + βⁿλⁿ⁻¹(∫ψdν + ∫ψdη)δ(C)Research Paper

Motivation

Markov chain Monte Carlo methods approximate a target probability measure by the law after nnn steps of a Markov chain. A quantitative guarantee for such a method is a bound on the distance between the law after nnn steps and the target, or between the laws of two copies of the chain started from different initial distributions. A standard route to such bounds is contractivity in a Kantorovich (Wasserstein) distance: if one step of the chain contracts the distance between any two initial laws by a factor e−c<1e^{-c}<1e−c<1, the laws converge geometrically.

For many chains of practical interest, including Hamiltonian Monte Carlo with a numerical integrator, contractivity can only be proved on a bounded region of the state space. Outside it, the integrator may be unstable, or the coupling used to prove contraction may fail. Bou-Rabee, Eberle and Zimmer (arXiv:1805.00452, Ann. Appl. Probab. 30(3), 2020) isolate a general principle that turns such local contractivity into a global distance bound. It requires two Lyapunov functions: one controls how quickly the chain can leave the region of contraction, and one controls the distance once it has left. The principle is their Theorem 2.11. It is stated for an arbitrary Markov kernel on a complete separable metric space, and they apply it to adjusted numerical HMC (their Theorem 2.12).

Setting

Let (S,ρ)(S,\rho)(S,ρ) be a complete separable metric space with Borel σ\sigmaσ-algebra B(S)\mathcal B(S)B(S), and let π(x,dy)\pi(x,dy)π(x,dy) be a Markov transition kernel on SSS. For a probability measure ν\nuν, the law after nnn steps is νπn\nu\pi^nνπn, where π0(x,⋅)=δx\pi^0(x,\cdot)=\delta_xπ0(x,⋅)=δx​ and πn+1=ππn\pi^{n+1}=\pi\pi^nπn+1=ππn. For a non-negative function fff, (πf)(x)=∫f(y) π(x,dy)(\pi f)(x)=\int f(y)\,\pi(x,dy)(πf)(x)=∫f(y)π(x,dy).

A coupling of probability measures ν,η\nu,\etaν,η on SSS is a probability measure on S×SS\times SS×S with marginals ν\nuν and η\etaη; C(ν,η)C(\nu,\eta)C(ν,η) is the set of couplings. The Kantorovich distance is

Wρ(ν,η)=inf⁡γ∈C(ν,η)∫ρ(x,y) γ(dx dy)∈[0,∞].\mathcal W_\rho(\nu,\eta)=\inf_{\gamma\in C(\nu,\eta)}\int\rho(x,y)\,\gamma(dx\,dy)\in[0,\infty].Wρ​(ν,η)=γ∈C(ν,η)inf​∫ρ(x,y)γ(dxdy)∈[0,∞].

Assumption 2.3 asks for a constant C∈(0,∞)C\in(0,\infty)C∈(0,∞) and measurable functions ψ,φ:S→(0,∞)\psi,\varphi:S\to(0,\infty)ψ,φ:S→(0,∞) such that:

  • (C1) main Lyapunov condition: for some λ∈[1,∞)\lambda\in[1,\infty)λ∈[1,∞), (πψ)(x)≤λψ(x)(\pi\psi)(x)\le\lambda\psi(x)(πψ)(x)≤λψ(x) whenever ψ(x)≤C\psi(x)\le Cψ(x)≤C;
  • (C2) global Lyapunov condition: for some β∈[1,∞)\beta\in[1,\infty)β∈[1,∞), (πφ)(x)≤βφ(x)(\pi\varphi)(x)\le\beta\varphi(x)(πφ)(x)≤βφ(x) and ρ(x,y)≤φ(x)+φ(y)\rho(x,y)\le\varphi(x)+\varphi(y)ρ(x,y)≤φ(x)+φ(y) for all x,yx,yx,y;
  • (C3) local contractivity: there are a probability space (Ω,A,P)(\Omega,\mathcal A,P)(Ω,A,P), a constant c∈(0,∞)c\in(0,\infty)c∈(0,∞) and a measurable map (X′,Y′):S×S×Ω→S×S(X',Y'):S\times S\times\Omega\to S\times S(X′,Y′):S×S×Ω→S×S. For every x,yx,yx,y, the pair (X′(x,y,⋅),Y′(x,y,⋅))(X'(x,y,\cdot),Y'(x,y,\cdot))(X′(x,y,⋅),Y′(x,y,⋅)) is a coupling of π(x,⋅)\pi(x,\cdot)π(x,⋅) and π(y,⋅)\pi(y,\cdot)π(y,⋅), and E[ρ(X′(x,y,⋅),Y′(x,y,⋅))]≤e−cρ(x,y)E[\rho(X'(x,y,\cdot),Y'(x,y,\cdot))]\le e^{-c}\rho(x,y)E[ρ(X′(x,y,⋅),Y′(x,y,⋅))]≤e−cρ(x,y) whenever ψ(x)≤C\psi(x)\le Cψ(x)≤C and ψ(y)≤C\psi(y)\le Cψ(y)≤C.

Finally,

δ(C)=sup⁡{φ(x)+φ(y)ψ(x)+ψ(y):x,y∈S, ψ(x)>C or ψ(y)>C}∈[0,∞].\delta(C)=\sup\Big\{\frac{\varphi(x)+\varphi(y)}{\psi(x)+\psi(y)}:x,y\in S,\ \psi(x)>C\text{ or }\psi(y)>C\Big\}\in[0,\infty].δ(C)=sup{ψ(x)+ψ(y)φ(x)+φ(y)​:x,y∈S, ψ(x)>C or ψ(y)>C}∈[0,∞].

Formalization targets

Goal: Theorem 2.11

Under Assumption 2.3, for every n∈Nn\in\mathbb Nn∈N and all probability measures ν,η\nu,\etaν,η on (S,B(S))(S,\mathcal B(S))(S,B(S)),

Wρ(νπn,ηπn)≤e−cnWρ(ν,η)+βnλn−1(∫ψ dν+∫ψ dη)δ(C).(42)\mathcal W_\rho(\nu\pi^n,\eta\pi^n)\le e^{-cn}\mathcal W_\rho(\nu,\eta)+\beta^n\lambda^{n-1}\Big(\int\psi\,d\nu+\int\psi\,d\eta\Big)\delta(C).\tag{42}Wρ​(νπn,ηπn)≤e−cnWρ​(ν,η)+βnλn−1(∫ψdν+∫ψdη)δ(C).(42)

The constants are those of the paper and are not weakened. Each quantity may be infinite, and the bound is read in [0,∞][0,\infty][0,∞].

Milestones

  1. Lemma 6.1. If a measurable coupling contracts ρ\rhoρ by e−ce^{-c}e−c in one step from every pair in A×AA\times AA×A, then for every initial coupling γ\gammaγ there is a coupled Markov chain (Xn,Yn)(X_n,Y_n)(Xn​,Yn​) with (X0,Y0)∼γ(X_0,Y_0)\sim\gamma(X0​,Y0​)∼γ and both marginals Markov with kernel π\piπ. Along this chain, Mn=ec(n∧T)ρ(Xn∧T,Yn∧T)M_n=e^{c(n\wedge T)}\rho(X_{n\wedge T},Y_{n\wedge T})Mn​=ec(n∧T)ρ(Xn∧T​,Yn∧T​) is a non-negative supermartingale, where TTT is the exit time from A×AA\times AA×A.
  2. (134). ecnE[ρ(Xn,Yn);n≤T]≤E[Mn]≤∫ρ dγe^{cn}E[\rho(X_n,Y_n);n\le T]\le E[M_n]\le\int\rho\,d\gammaecnE[ρ(Xn​,Yn​);n≤T]≤E[Mn​]≤∫ρdγ.
  3. (135). E[ρ(Xn,Yn);n>T]≤βnE[ψ(XT)+ψ(YT);n>T] δ(C)E[\rho(X_n,Y_n);n>T]\le\beta^nE[\psi(X_T)+\psi(Y_T);n>T]\,\delta(C)E[ρ(Xn​,Yn​);n>T]≤βnE[ψ(XT​)+ψ(YT​);n>T]δ(C), through the intermediate bounds by φ\varphiφ.
  4. (136). E[ψ(XT)+ψ(YT);n>T]≤λn−1(∫ψ dν+∫ψ dη)E[\psi(X_T)+\psi(Y_T);n>T]\le\lambda^{n-1}\big(\int\psi\,d\nu+\int\psi\,d\eta\big)E[ψ(XT​)+ψ(YT​);n>T]≤λn−1(∫ψdν+∫ψdη).

Significance

The result. Theorem 2.11 separates two tasks that are usually entangled in convergence proofs for Markov chains on unbounded spaces. One is a contraction estimate that only has to hold on a sublevel set {ψ≤C}\{\psi\le C\}{ψ≤C}. The other is a pair of drift conditions that control excursions out of that set. The second term of (42) is made small by choosing CCC large, and the first by choosing nnn large. In the paper this gives W1\mathcal W^1W1 bounds to the invariant measure for adjusted numerical HMC (Theorem 2.12), whose contraction (Theorems 2.4 and 2.7) is only established on a ball. The theorem uses nothing about HMC and applies to any chain with a locally contractive coupling and the two Lyapunov conditions. Examples are other discretized diffusions and Metropolis-adjusted samplers.

Formalizing it. The result is proved in the paper. As far as is known, it has no machine-checked proof. A formalization requires constructing a Markovian coupling on a general measurable space and working with a generalized, [0,∞][0,\infty][0,∞]-valued supermartingale stopped at an exit time. It also needs the Markov property with respect to the joint filtration of a coupled pair. Both pieces are reusable in coupling arguments for Markov chains in general.

Difficulty

Contraction on {ψ≤C}2\{\psi\le C\}^2{ψ≤C}2 gives no control once either copy leaves that set, and the exit time TTT is random and may be infinite. The bound therefore has to be split at TTT. On {n≤T}\{n\le T\}{n≤T} the contraction accumulates, which requires optional stopping for a supermartingale that need not be integrable, because ∫ρ dγ\int\rho\,d\gamma∫ρdγ may be +∞+\infty+∞. On {n>T}\{n>T\}{n>T} the distance at time nnn has to be bounded by quantities at the random time TTT. This requires the Markov property of each copy with respect to the filtration of the pair: the event {T=k}\{T=k\}{T=k} depends on both copies. A Markov property of each copy in its own filtration does not suffice. Finally, ψ\psiψ at the exit time has to be controlled by its initial integral, which is a second stopped supermartingale built from (C1).

Formalization scope

  • (S,ρ)(S,\rho)(S,ρ) is a Lean MetricSpace with its Borel σ\sigmaσ-algebra, complete and separable; ρ\rhoρ is dist. π\piπ is a Markov kernel (Kernel S S with IsMarkovKernel), and νπn\nu\pi^nνπn is the bind of ν\nuν with the nnn-fold composition of π\piπ.
  • Every expectation of a non-negative quantity, every ∫ψ dν\int\psi\,d\nu∫ψdν, δ(C)\delta(C)δ(C) and Wρ\mathcal W_\rhoWρ​ is valued in [0,∞][0,\infty][0,∞] (lower Lebesgue integrals, ℝ≥0∞). No Bochner integral appears, so a non-integrable quantity can never be replaced by a junk 000. In particular, ∫ψ dν=∞\int\psi\,d\nu=\infty∫ψdν=∞ is allowed, as on the page.
  • Couplings are the published definition MongeKantorovichYao.transferencePlans.
  • (C3)'s probability space and coupling map are parameters of the theorem, which then holds for every such realization.
  • λn−1\lambda^{n-1}λn−1 is an integer power, so n=0n=0n=0 is included (and (42) is then trivially true).
  • Lemma 6.1's chain is the coordinate process on the path space (S×S)N(S\times S)^{\mathbb N}(S×S)N, which is determined up to its law. The supermartingale property is the generalized one, E[Mn+1;F]≤E[Mn;F]E[M_{n+1};F]\le E[M_n;F]E[Mn+1​;F]≤E[Mn​;F] for F∈FnF\in\mathcal F_nF∈Fn​. Mathlib's Supermartingale requires integrability, which the page does not assume. The exit time is N∪{∞}\mathbb N\cup\{\infty\}N∪{∞}-valued, and n∧T=nn\wedge T=nn∧T=n when the chain never leaves.
  • The marginal Markov property is stated with respect to the filtration of the pair. This is what the proof of (135) and (136) uses, and it implies the marginal Markov property in each copy's own filtration.
  • The proof on p. 43 applies Lemma 6.1 "with A={ψ>C}A=\{\psi>C\}A={ψ>C}". The set on which (C3) contracts and whose exit time is TTT is {ψ≤C}\{\psi\le C\}{ψ≤C}, and that set is used. The text before (135) says "{n<T}\{n<T\}{n<T}" where its displays use {n>T}\{n>T\}{n>T}, and the displays are formalized.
  • A formalization in which Wρ\mathcal W_\rhoWρ​ or δ(C)\delta(C)δ(C) is a real number obtained by truncating +∞+\infty+∞, or in which the measures need not be probability measures (so that the coupling set is empty and Wρ=∞\mathcal W_\rho=\inftyWρ​=∞), would make (42) vacuous and is excluded.

A complete development needs Ionescu-Tulcea's construction of a Markov chain on a general measurable space (ProbabilityTheory.Kernel.traj in Mathlib), the measurability of the coupling kernel (x,y)↦P∘(X′,Y′)(x,y,⋅)−1(x,y)\mapsto P\circ(X',Y')(x,y,\cdot)^{-1}(x,y)↦P∘(X′,Y′)(x,y,⋅)−1, and optional stopping for [0,∞][0,\infty][0,∞]-valued supermartingales stopped at an exit time. Contributions are welcome on the milestones individually. The optional-stopping and joint-Markov-property lemmas are reusable beyond this mission.

Selected references

  • N. Bou-Rabee, A. Eberle, R. Zimmer, Coupling and convergence for Hamiltonian Monte Carlo, Ann. Appl. Probab. 30(3), 2020. arXiv:1805.00452 (v2 is the version cited here).
  • A. Joulin, Y. Ollivier, Curvature, concentration and error estimates for Markov chain Monte Carlo, Ann. Probab. 38(6), 2010. doi:10.1214/10-AOP541
  • C. Villani, Optimal Transport: Old and New, Springer, 2009. doi:10.1007/978-3-540-71050-9
7 thms2 active usersReviewed
Numerical AnalysisOptimal TransportProbability·Captain: mikedeng1

Coupling and Convergence for Hamiltonian Monte Carlo 1: Exact HMC Contracts the Concave Kantorovich Distance W_ρ at Rate c = (1/10)·min(1, ½KT²(1+ℛ/T)e^{−ℛ/(2T)})·e^{−2ℛ/T}Research Paper

Why convergence bounds for Hamiltonian Monte Carlo matter

Hamiltonian Monte Carlo (HMC) is one of the most widely used Markov chain Monte Carlo methods for sampling from a probability density μ(dx)∝e−U(x) dx\mu(dx)\propto e^{-U(x)}\,dxμ(dx)∝e−U(x)dx on Rd\mathbb R^dRd. It is the default sampler of probabilistic programming systems such as Stan, and it is used throughout Bayesian statistics, molecular dynamics and machine learning. In practice the chain is run for a finite number of steps, and a user needs to know how many steps make its law close to μ\muμ. That requires a quantitative, dimension-explicit convergence bound.

Before the paper of Bou-Rabee, Eberle and Zimmer, such bounds were known essentially only when UUU is strongly convex everywhere: then two copies of the chain driven by the same random velocity contract deterministically (Mangoubi and Smith, arXiv:1708.07114). Bou-Rabee, Eberle and Zimmer (arXiv:1805.00452, Ann. Appl. Probab. 30(3), 2020) remove global convexity. They require UUU to be strongly convex only outside a ball, and they introduce a coupling of two HMC transitions under which a suitably concave distance contracts on average for every pair of starting points. This mission formalizes that contraction theorem for exact HMC, together with its consequence, exponential convergence in the L1L^1L1 Wasserstein distance.

Setting

Let U:Rd→RU:\mathbb R^d\to\mathbb RU:Rd→R be four times continuously differentiable with ∫e−U<∞\int e^{-U}<\infty∫e−U<∞. The Hamiltonian is H(x,v)=U(x)+12∣v∣2H(x,v)=U(x)+\tfrac12|v|^2H(x,v)=U(x)+21​∣v∣2, and the exact Hamiltonian flow (qt,pt)(q_t,p_t)(qt​,pt​) solves

ddtqt=pt,ddtpt=−∇U(qt),(q0(x,v),p0(x,v))=(x,v).\tfrac{d}{dt}q_t=p_t,\qquad \tfrac{d}{dt}p_t=-\nabla U(q_t),\qquad (q_0(x,v),p_0(x,v))=(x,v).dtd​qt​=pt​,dtd​pt​=−∇U(qt​),(q0​(x,v),p0​(x,v))=(x,v).

Fix a duration T>0T>0T>0. One step of exact HMC from xxx draws a fresh velocity ξ∼N(0,Id)\xi\sim N(0,I_d)ξ∼N(0,Id​) and moves to X′(x)=qT(x,ξ)X'(x)=q_T(x,\xi)X′(x)=qT​(x,ξ); its transition kernel is π(x,⋅)=law(qT(x,ξ))\pi(x,\cdot)=\mathrm{law}(q_T(x,\xi))π(x,⋅)=law(qT​(x,ξ)), and μ\muμ is invariant for π\piπ.

Assumption 2.1 asks that (A1) UUU has a local minimum at 000 with U(0)=0U(0)=0U(0)=0; (A2) the second, third and fourth derivatives of UUU are bounded, with L=sup⁡∥∇2U∥L=\sup\|\nabla^2U\|L=sup∥∇2U∥, M=sup⁡∥∇3U∥M=\sup\|\nabla^3U\|M=sup∥∇3U∥ and N=sup⁡∥∇4U∥N=\sup\|\nabla^4U\|N=sup∥∇4U∥; and (A3) there are R≥0\mathcal R\ge0R≥0 and K>0K>0K>0 such that

(x−y)⋅(∇U(x)−∇U(y))≥K∣x−y∣2whenever ∣x−y∣≥R.(x-y)\cdot(\nabla U(x)-\nabla U(y))\ge K|x-y|^2\quad\text{whenever }|x-y|\ge\mathcal R.(x−y)⋅(∇U(x)−∇U(y))≥K∣x−y∣2whenever ∣x−y∣≥R.

The coupling. For two starting points x,yx,yx,y with z=x−yz=x-yz=x−y, e=z/∣z∣e=z/|z|e=z/∣z∣, both copies use the same ξ\xiξ. If ∣x−y∣≥2R|x-y|\ge2\mathcal R∣x−y∣≥2R the second copy also uses ξ\xiξ (synchronous coupling). If ∣x−y∣<2R|x-y|<2\mathcal R∣x−y∣<2R it uses

η={ξ+γzif U~≤φ0,1(e⋅ξ+γ∣z∣)/φ0,1(e⋅ξ),ξ−2(e⋅ξ)eotherwise,\eta=\begin{cases}\xi+\gamma z&\text{if }\tilde{\mathcal U}\le\varphi_{0,1}(e\cdot\xi+\gamma|z|)/\varphi_{0,1}(e\cdot\xi),\\ \xi-2(e\cdot\xi)e&\text{otherwise,}\end{cases}η={ξ+γzξ−2(e⋅ξ)e​if U~≤φ0,1​(e⋅ξ+γ∣z∣)/φ0,1​(e⋅ξ),otherwise,​

with U~∼Unif(0,1)\tilde{\mathcal U}\sim\mathrm{Unif}(0,1)U~∼Unif(0,1) independent of ξ\xiξ and φ0,1\varphi_{0,1}φ0,1​ the standard normal density. This is a maximal coupling of N(0,Id)N(0,I_d)N(0,Id​) with its shift by γz\gamma zγz, completed by a reflection. The coupled positions are X′=qT(x,ξ)X'=q_T(x,\xi)X′=qT​(x,ξ) and Y′=qT(y,η)Y'=q_T(y,\eta)Y′=qT​(y,η), with R′(x,y)=∣X′−Y′∣R'(x,y)=|X'-Y'|R′(x,y)=∣X′−Y′∣.

The distance and the parameters. With γ=min⁡(T−1,R−1/4)\gamma=\min(T^{-1},\mathcal R^{-1}/4)γ=min(T−1,R−1/4), a=T−1a=T^{-1}a=T−1 and R1=52(R+T)R_1=\tfrac52(\mathcal R+T)R1​=25​(R+T), set

f(r)=∫0re−amin⁡(s,R1) ds,ρ(x,y)=f(∣x−y∣),f(r)=\int_0^r e^{-a\min(s,R_1)}\,ds,\qquad \rho(x,y)=f(|x-y|),f(r)=∫0r​e−amin(s,R1​)ds,ρ(x,y)=f(∣x−y∣),

and let Wρ(ν,η)=inf⁡γ∈C(ν,η)∫ρ dγ\mathcal W_\rho(\nu,\eta)=\inf_{\gamma\in C(\nu,\eta)}\int\rho\,d\gammaWρ​(ν,η)=infγ∈C(ν,η)​∫ρdγ be the Kantorovich distance over couplings C(ν,η)C(\nu,\eta)C(ν,η).

Formalization targets

Goal: Theorem 2.3

Under Assumption 2.1 and LT2≤min⁡(K/L,14,116Λ)LT^2\le\min(K/L,\tfrac14,\tfrac1{16\Lambda})LT2≤min(K/L,41​,16Λ1​) with Λ=16LR2\Lambda=16L\mathcal R^2Λ=16LR2, for all x,y∈Rdx,y\in\mathbb R^dx,y∈Rd,

E[f(R′(x,y))]≤(1−c) f(∣x−y∣),c=110min⁡(1,12KT2(1+RT)e−R/(2T))e−2R/T.E\bigl[f(R'(x,y))\bigr]\le(1-c)\,f(|x-y|),\qquad c=\frac1{10}\min\Bigl(1,\frac12KT^2\Bigl(1+\frac{\mathcal R}{T}\Bigr)e^{-\mathcal R/(2T)}\Bigr)e^{-2\mathcal R/T}.E[f(R′(x,y))]≤(1−c)f(∣x−y∣),c=101​min(1,21​KT2(1+TR​)e−R/(2T))e−2R/T.

This is the paper's main result for exact HMC, stated with its own constants.

Milestones (in the order of the proof)

  1. (112)–(116): the parameter inequalities γT≤1\gamma T\le1γT≤1, LT≤γ/4LT\le\gamma/4LT≤γ/4, γR≤14\gamma\mathcal R\le\tfrac14γR≤41​, aT≥1aT\ge1aT≥1, R1≥52(1+γT)RR_1\ge\tfrac52(1+\gamma T)\mathcal RR1​≥25​(1+γT)R.
  2. Lemma 3.4 (h=0h=0h=0): ∣qt(x,v)−qt(y,v)∣2≤(1−Kt2/2)∣x−y∣2|q_t(x,v)-q_t(y,v)|^2\le(1-Kt^2/2)|x-y|^2∣qt​(x,v)−qt​(y,v)∣2≤(1−Kt2/2)∣x−y∣2 for ∣x−y∣≥2R|x-y|\ge2\mathcal R∣x−y∣≥2R.
  3. Theorem 2.1: the synchronous coupling contracts far-apart points, R′2≤(1−12KT2)r2R'^2\le(1-\tfrac12KT^2)r^2R′2≤(1−21​KT2)r2.
  4. (119)–(120): inf⁡r>0rf′(r)/f(r)≥max⁡(1,aR1)e−aR1\inf_{r>0}rf'(r)/f(r)\ge\max(1,aR_1)e^{-aR_1}infr>0​rf′(r)/f(r)≥max(1,aR1​)e−aR1​, and the resulting bound on c1c_1c1​.
  5. Lemma 3.2 (h=0h=0h=0): first-variation bounds for the flow.
  6. Term I: on {η=ξ+γz}\{\eta=\xi+\gamma z\}{η=ξ+γz}, R′≤(1−34γT)rR'\le(1-\tfrac34\gamma T)rR′≤(1−43​γT)r.
  7. Lemma 3.7 (62): P[ξ−η≠−γz]≤∣γz∣/2πP[\xi-\eta\ne-\gamma z]\le|\gamma z|/\sqrt{2\pi}P[ξ−η=−γz]≤∣γz∣/2π​.
  8. (123): the truncated loss on the reflection event is at most (γT/2π) rf′(r)(\gamma T/\sqrt{2\pi})\,rf'(r)(γT/2π​)rf′(r).
  9. Term III: E[(R′−R1)+; ξ−η≠−γz]≤54γrTE[(R'-R_1)^+;\,\xi-\eta\ne-\gamma z]\le\tfrac54\gamma rTE[(R′−R1​)+;ξ−η=−γz]≤45​γrT.
  10. (127): 15γTmax⁡(1,2aR)e−2aR≥110e−2R/T\tfrac15\gamma T\max(1,2a\mathcal R)e^{-2a\mathcal R}\ge\tfrac1{10}e^{-2\mathcal R/T}51​γTmax(1,2aR)e−2aR≥101​e−2R/T.

Companions

The coupling property (η∼N(0,Id)\eta\sim N(0,I_d)η∼N(0,Id​), p. 9), Corollary 2.8 (Wρ(νπn,ηπn)≤e−cnWρ(ν,η)\mathcal W_\rho(\nu\pi^n,\eta\pi^n)\le e^{-cn}\mathcal W_\rho(\nu,\eta)Wρ​(νπn,ηπn)≤e−cnWρ​(ν,η), the W1\mathcal W^1W1 bound with factor M=e52(1+R/T)M=e^{\frac52(1+\mathcal R/T)}M=e25​(1+R/T), and the step count (41)), and the comparison (133), e−aR1∣x−y∣≤ρ(x,y)≤∣x−y∣e^{-aR_1}|x-y|\le\rho(x,y)\le|x-y|e−aR1​∣x−y∣≤ρ(x,y)≤∣x−y∣.

Significance

Theorem 2.3 gives a contraction rate for exact HMC that depends on ddd only through the constants LLL, KKK and R\mathcal RR of the potential, and that holds without global convexity. Through the coupling characterization of Wρ\mathcal W_\rhoWρ​ it yields Corollary 2.8, an explicit number of steps after which the law of the chain is within ϵ\epsilonϵ of μ\muμ in W1\mathcal W^1W1. The same coupling and concave-distance technique underlies the paper's results for numerical (velocity Verlet) HMC and later work on Langevin and HMC couplings.

The theorems are proved in the paper; none of them is machine-checked. Formalizing them requires the Hamiltonian ODE flow and its first-variation estimates, a Gaussian maximal/reflection coupling, and the transfer from one-step contraction to Kantorovich contraction of Markov kernels. Each of these is reusable well beyond HMC. A formal development also settles the constants. Three printed displays of the proof are not delivered by the printed argument, and Theorem 2.1 as printed is false, while the goal itself survives: see Formalization scope.

Difficulty

The obvious argument fails for nearby points. When ∣x−y∣<2R|x-y|<2\mathcal R∣x−y∣<2R, UUU may be non-convex between them, and the synchronous coupling can push the two trajectories apart. The coupling must therefore change the velocity of one copy, and doing so makes the contraction only hold on average, on the event η=ξ+γz\eta=\xi+\gamma zη=ξ+γz. On the complementary reflection event the distance can grow, and the growth must be paid for by the concavity of fff, through the truncation at R1R_1R1​ and the tail term. Balancing these terms, uniformly in xxx, yyy and ddd, is the heart of the proof. For far-apart points the difficulty is different: the contraction of Lemma 3.4 needs the trajectories to stay outside the non-convex region over the whole time interval, which is where the condition LT2<K/LLT^2<K/LLT2<K/L enters.

Formalization scope

  • Space and objects. Rd\mathbb R^dRd is EuclideanSpace ℝ (Fin d); ∇U\nabla U∇U is Mathlib's gradient, and ∇kU\nabla^kU∇kU is iteratedFDeriv. L,M,NL,M,NL,M,N are upper bounds on the derivative norms, which is equivalent for every statement here. The flow is pinned by a predicate on (q,p)(q,p)(q,p) (initial values and the ODE for all t∈Rt\in\mathbb Rt∈R); it is never a free function. Assumption 2.1 includes the standing hypotheses of §2.1: U∈C4U\in C^4U∈C4, ∫e−U<∞\int e^{-U}<\infty∫e−U<∞, and TTT deterministic.
  • Probability. The randomness of one step is (ξ,U~)(\xi,\tilde{\mathcal U})(ξ,U~) with law N(0,Id)⊗Unif(0,1)N(0,I_d)\otimes\mathrm{Unif}(0,1)N(0,Id​)⊗Unif(0,1). Expectations of nonnegative quantities are Lebesgue integrals in [0,∞][0,\infty][0,∞]. The signed expectation in (123) uses a Bochner integral together with an explicit integrability conclusion, so no bound can hold because a non-integrable integral is read as 000. Kantorovich distances take values in [0,∞][0,\infty][0,∞] over the published set of couplings MongeKantorovichYao.transferencePlans. The nnn-step kernel is the iterated composition πn+1=π∘πn\pi^{n+1}=\pi\circ\pi^nπn+1=π∘πn.
  • Conventions at R=0\mathcal R=0R=0. γ\gammaγ is T−1T^{-1}T−1 and LT2≤1/(16Λ)LT^2\le1/(16\Lambda)LT2≤1/(16Λ) is written 256L2R2T2≤1256L^2\mathcal R^2T^2\le1256L2R2T2≤1, so that no division by zero decides a constant.
  • Corrections. The strict condition (56) in Lemma 3.4 is written L2t2<KL^2t^2<KL2t2<K, which preserves its meaning at L=0L=0L=0. Theorem 2.1 is stated as its proof delivers it, R′2≤(1−12KT2)r2R'^2\le(1-\tfrac12KT^2)r^2R′2≤(1−21​KT2)r2. The printed R′≤(1−12KT2)rR'\le(1-\tfrac12KT^2)rR′≤(1−21​KT2)r fails for U(x)=12∣x∣2U(x)=\tfrac12|x|^2U(x)=21​∣x∣2, where R′=∣cos⁡T∣ rR'=|\cos T|\,rR′=∣cosT∣r. The displays (117), (122), the last inequality of (124), and (126) are not posed, because the printed argument does not deliver their constants. The goal's rate ccc of (32) is nevertheless unaffected: under the step condition and d≥1d\ge1d≥1, c=120KT2(1+R/T)e−5R/(2T)c=\tfrac1{20}KT^2(1+\mathcal R/T)e^{-5\mathcal R/(2T)}c=201​KT2(1+R/T)e−5R/(2T), which lies below both corrected rates c1c_1c1​ and c2c_2c2​.
  • Ruled out. The goal is not trivialized by a vacuous hypothesis: the hypotheses are met by U(x)=12∣x∣2U(x)=\tfrac12|x|^2U(x)=21​∣x∣2, L=K=1L=K=1L=K=1, R=0\mathcal R=0R=0, T=12T=\tfrac12T=21​. Nor is it trivialized by a junk value: fff, R′R'R′ and the integral are genuine, and the flow is the unique solution of the ODE.
  • Contributions welcome. Gronwall-type first-variation bounds for Lipschitz Hamiltonian flows, the Gaussian maximal/reflection coupling (Lemma 3.7 and the coupling property), and the general passage from a one-step average contraction to Wρ\mathcal W_\rhoWρ​ contraction of a Markov kernel.

Selected references

  • N. Bou-Rabee, A. Eberle, R. Zimmer, Coupling and convergence for Hamiltonian Monte Carlo, Ann. Appl. Probab. 30(3), 2020. arXiv:1805.00452, doi:10.1214/19-AAP1528
  • O. Mangoubi, A. Smith, Rapid mixing of Hamiltonian Monte Carlo on strongly log-concave distributions, 2017. arXiv:1708.07114
  • A. Eberle, Reflection couplings and contraction rates for diffusions, Probab. Theory Related Fields 166, 2016. arXiv:1305.1233
  • A. Eberle, A. Guillin, R. Zimmer, Couplings and quantitative contraction rates for Langevin dynamics, Ann. Probab. 47(4), 2019. arXiv:1703.01617
13 thms2 active usersReviewed
Dynamic ProgrammingOperations ResearchOptimization·Captain: mikedeng1

Optimality of (s, S) Policies in Inventory Models with Markovian Demand II: In the Nonstationary Discounted Infinite-Horizon Problem, a State-Dependent (s, S) Policy Is OptimalResearch Paper

Motivation

Periodic-review inventory models with a fixed ordering cost are the setting in which the (s,S)(s,S)(s,S) policy is optimal: when the stock falls below a reorder point sss, order up to a level SSS, otherwise order nothing. Scarf (1960) proved this for independent demands over a finite horizon by introducing KKK-convexity, and Iglehart (1963) extended it to the discounted infinite horizon. In practice the demand distribution changes with an exogenous environment: the economy, the season, the stage of a product's life cycle. Song and Zipkin (Oper. Res. 41(2), 1993) modelled this environment as a Markov chain of demand states in continuous time with Poisson demand.

Sethi and Cheng (Oper. Res. 45(6), 1997) treat the discrete-time version with general demand densities, nonstationary costs and convex surplus costs of linear growth. The companion mission (I) covers their finite-horizon result, Theorem 4.1. This mission covers the nonstationary discounted infinite-horizon result, Theorem 6.2, together with the existence theory (Theorem 6.1, proved in the paper's Appendix) on which it rests.

Setting

Demand states form the finite set I={1,…,L}I = \{1,\dots,L\}I={1,…,L} and follow a Markov chain with transition matrix P=(pij)P = (p_{ij})P=(pij​). In period k=0,1,2,…k = 0,1,2,\dotsk=0,1,2,… the demand ξk≥0\xi_k \ge 0ξk​≥0 has the conditional density φi,k\varphi_{i,k}φi,k​ given ik=ii_k = iik​=i, with mean at most MMM. Orders are placed at the start of a period and delivered at once, and unmet demand is backlogged, so the surplus evolves by xk+1=xk+uk−ξkx_{k+1} = x_k + u_k - \xi_kxk+1​=xk​+uk​−ξk​ (2.4). Ordering u≥0u \ge 0u≥0 costs ck(i,u)=Kki δ(u)+ckiuc_k(i,u) = K^i_k\,\delta(u) + c^i_k uck​(i,u)=Kki​δ(u)+cki​u with Kki,cki≥0K^i_k, c^i_k \ge 0Kki​,cki​≥0 (2.1), where δ(z)=1\delta(z) = 1δ(z)=1 for z>0z > 0z>0 and 000 otherwise. The surplus cost fk(i,⋅)f_k(i,\cdot)fk​(i,⋅) is convex and nonnegative, vanishes at 000, and satisfies fk(i,x)≤C(1+∣x∣)f_k(i,x) \le C(1+|x|)fk​(i,x)≤C(1+∣x∣) (2.2).

An admissible policy UUU chooses each order uk≥0u_k \ge 0uk​≥0 as a measurable function of the past demand states and demands. With a discount factor α\alphaα, the objective from period nnn, state iii and surplus xxx is

Jn(i,x;U)=∑k=n∞αk−n E[ck(ik,uk)+fk(ik,xk)],(6.1)J_n(i,x;U) = \sum_{k=n}^{\infty} \alpha^{k-n}\,E\big[c_k(i_k,u_k) + f_k(i_k,x_k)\big], \tag{6.1}Jn​(i,x;U)=k=n∑∞​αk−nE[ck​(ik​,uk​)+fk​(ik​,xk​)],(6.1)

and the value function is vn(i,x)=inf⁡UJn(i,x;U)v_n(i,x) = \inf_U J_n(i,x;U)vn​(i,x)=infU​Jn​(i,x;U). With Fn+1(b)(i,y)=∑jpij∫0∞b(j,y−z) φi,n(z) dzF_{n+1}(b)(i,y) = \sum_j p_{ij}\int_0^\infty b(j,y-z)\,\varphi_{i,n}(z)\,dzFn+1​(b)(i,y)=∑j​pij​∫0∞​b(j,y−z)φi,n​(z)dz (3.1), the dynamic programming equations are

vn(i,x)=fn(i,x)+inf⁡u≥0{cn(i,u)+αFn+1(vn+1)(i,x+u)},n=0,1,2,…(6.2)v_n(i,x) = f_n(i,x) + \inf_{u\ge0}\big\{c_n(i,u) + \alpha F_{n+1}(v_{n+1})(i,x+u)\big\}, \qquad n = 0,1,2,\dots \tag{6.2}vn​(i,x)=fn​(i,x)+u≥0inf​{cn​(i,u)+αFn+1​(vn+1​)(i,x+u)},n=0,1,2,…(6.2)

The truncations Jn,kJ_{n,k}Jn,k​ keep the first kkk periods of (6.1) (6.3), their values are vn,kv_{n,k}vn,k​ (6.4), and wn=Jn(⋅;0)w_n = J_n(\cdot;\mathbf 0)wn​=Jn​(⋅;0) is the cost of never ordering (6.6). The function classes are B0B_0B0​ (nonnegative pointwise limits of continuous functions), B1B_1B1​ (those of linear growth) and C1C_1C1​ (those also uniformly continuous in xxx). A function ggg is KKK-convex if K+g(z+y)≥g(y)+z (g(y)−g(y−b))/bK + g(z+y) \ge g(y) + z\,(g(y)-g(y-b))/bK+g(z+y)≥g(y)+z(g(y)−g(y−b))/b for all z≥0z \ge 0z≥0, b>0b > 0b>0 (4.3). Assumption (4.1) asks Kni≥∑jpijKn+1j≥0K^i_n \ge \sum_j p_{ij}K^j_{n+1} \ge 0Kni​≥∑j​pij​Kn+1j​≥0, and (4.2) asks cnix+Fn+1(fn+1)(i,x)→+∞c^i_n x + F_{n+1}(f_{n+1})(i,x) \to +\inftycni​x+Fn+1​(fn+1​)(i,x)→+∞ as x→∞x \to \inftyx→∞.

Formalization targets

Goal: Theorem 6.2

Under (2.1), (2.2), (4.1), (4.2) and 0<α<10 < \alpha < 10<α<1, there are sni≤Snis^i_n \le S^i_nsni​≤Sni​ in [−∞,∞)[-\infty,\infty)[−∞,∞) such that

u^n(i,x)=(Sni−x) δ(sni−x)\hat u_n(i,x) = (S^i_n - x)\,\delta(s^i_n - x)u^n​(i,x)=(Sni​−x)δ(sni​−x)

attains the infimum in (6.2) at every (n,i,x)(n,i,x)(n,i,x), and its feedback policy, started at any period nnn and surplus xxx, has cost Jn(i,x;U^)=vn(i,x)J_n(i,x;\hat U) = v_n(i,x)Jn​(i,x;U^)=vn​(i,x): it is optimal among all history-dependent policies.

Milestones

  1. The order-nothing cost wnw_nwn​ is finite, lies in C1C_1C1​, and is the unique C1C_1C1​ solution of wn=fn+αFn+1(wn+1)w_n = f_n + \alpha F_{n+1}(w_{n+1})wn​=fn​+αFn+1​(wn+1​) (6.7).
  2. The truncated values solve the dynamic programming equations (6.5), vn,0=0v_{n,0} = 0vn,0​=0, vn,k∈C1v_{n,k} \in C_1vn,k​∈C1​, and under (4.2) the infimum in (6.4) is attained.
  3. Theorem 6.1, (6.8): 0=vn,0≤vn,1≤⋯≤vn,k≤wn0 = v_{n,0} \le v_{n,1} \le \cdots \le v_{n,k} \le w_n0=vn,0​≤vn,1​≤⋯≤vn,k​≤wn​.
  4. Appendix: ∣vn,k(i,x′)−vn,k(i,x)∣≤C∣x′−x∣/(1−α)|v_{n,k}(i,x') - v_{n,k}(i,x)| \le C|x'-x|/(1-\alpha)∣vn,k​(i,x′)−vn,k​(i,x)∣≤C∣x′−x∣/(1−α), and the same for vn=lim⁡kvn,kv_n = \lim_k v_{n,k}vn​=limk​vn,k​.
  5. Theorem 6.1, (6.9): vn,k↑vnv_{n,k} \uparrow v_nvn,k​↑vn​, a solution of (6.2) in B1B_1B1​.
  6. Theorem 6.1, (6.10): vn∈C1v_n \in C_1vn​∈C1​, a B0B_0B0​ minimizer U^\hat UU^ of (6.2) exists, and every such U^\hat UU^ is optimal: vn(i,x)=min⁡UJn(i,x;U)=Jn(i,x;U^)v_n(i,x) = \min_U J_n(i,x;U) = J_n(i,x;\hat U)vn​(i,x)=minU​Jn​(i,x;U)=Jn​(i,x;U^).
  7. Proof of Theorem 6.2: vn,k(i,⋅)v_{n,k}(i,\cdot)vn,k​(i,⋅) is KniK^i_nKni​-convex.
  8. Proof of Theorem 6.2: vn(i,⋅)v_n(i,\cdot)vn​(i,⋅) is KniK^i_nKni​-convex.

The structural lemma behind the step from KKK-convexity to the (s,S)(s,S)(s,S) form, Proposition 4.2 of the paper (an extension of Bertsekas' lemma to lower semicontinuous functions coercive only at +∞+\infty+∞, with possibly infinite sss, SSS), is posed in the companion finite-horizon mission and is not repeated here.

Significance

Theorem 6.2 says that the classical (s,S)(s,S)(s,S) structure survives two generalizations at once: demand driven by a Markov environment, and nonstationary data over an infinite horizon. The two levels may depend on the period and on the current demand state, so only 2L2L2L numbers per period describe an optimal policy, and with cyclic demand only LLL pairs are needed (Corollary 7.1 of the paper). Theorem 6.1 is a self-contained existence result for a positive-cost, unbounded-state dynamic program: value iteration from zero converges to the value function, which solves the optimality equation, and any measurable minimizer is optimal among history-dependent policies.

The results are proved in the paper, with the finite-horizon existence theory delegated to Beyer, Sethi and Taksar (1998). No machine-checked proof of any of them is known. The platform has KKK-convexity (BertsekasKConvex) and the (s,S)(s,S)(s,S) structure lemma of Bertsekas for continuous functions coercive at both ends; it has no discounted infinite-horizon (s,S)(s,S)(s,S) theorem with Markov-modulated demand. The related posed items SongZipkinFluct.FixedCost.theorem5e_theorem6 and theorem5ab concern the Song–Zipkin model (continuous time, Poisson demand, integer levels, stationary data), a different model.

Difficulty

The obvious argument is "the finite-horizon value functions are KKK-convex, so their limit is, and a minimizer of a KKK-convex optimality equation is (s,S)(s,S)(s,S)". Three steps of it fail as stated.

First, the limit of value iteration need not be the value function, nor solve (6.2), in a positive-cost problem with unbounded actions: exchanging lim⁡k\lim_klimk​ with inf⁡u\inf_uinfu​ requires the minimizers of the truncated problems to stay in a compact set uniformly in kkk, and that bound is where the coercivity assumption (4.2) enters. Second, optimality against history-dependent policies, not only Markov ones, requires a verification argument along histories of states and demands. Third, the functions zn(i,y)=cniy+αFn+1(vn+1)(i,y)z_n(i,y) = c^i_n y + \alpha F_{n+1}(v_{n+1})(i,y)zn​(i,y)=cni​y+αFn+1​(vn+1​)(i,y) may be unbounded below, in which case the reorder level is s=−∞s = -\inftys=−∞ and the order-up-to level does not exist; the goal allows this case.

Formalization scope

The Lean development (namespace SethiChengSS.Infinite) commits to the following.

  • Demand states are Fin L; periods are natural numbers with the paper's base 000.
  • Expectations are sums over state paths of Lebesgue integrals against the product weight ∏tpitit+1φit,t(ξt)\prod_t p_{i_t i_{t+1}}\varphi_{i_t,t}(\xi_t)∏t​pit​it+1​​φit​,t​(ξt​), valued in [0,∞][0,\infty][0,∞]. This builds in the conditional independence of ξk\xi_kξk​ and ik+1i_{k+1}ik+1​ given iki_kik​ that (3.1) uses.
  • A policy is a function of the state history and the past demands; admissible means nonnegative and measurable in the demands. The comparison class is never restricted to Markov policies.
  • JnJ_nJn​ (6.1) is the supremum over kkk of the truncations Jn,kJ_{n,k}Jn,k​ (6.3), which equals the series because all costs are nonnegative.
  • Fn+1F_{n+1}Fn+1​ uses the Bochner integral, which is 000 on non-integrable integrands; the C1C_1C1​ conclusions are what make it genuine.
  • The levels sss, SSS are extended reals with s≤Ss \le Ss≤S, S≠+∞S \ne +\inftyS=+∞, and SSS real whenever sss is (Remark 4.4).

Pins. The paper prints 0<α≤10 < \alpha \le 10<α≤1; the mission assumes 0<α<10 < \alpha < 10<α<1, since wnw_nwn​ is infinite at α=1\alpha = 1α=1 and the Appendix divides by 1−α1-\alpha1−α. Theorem 6.2 is printed without (4.1), which its proof uses through the induction of Section 4; (4.1) is assumed for every period. Theorem 6.1 is printed under (2.1)–(2.2) only, but attainment in (6.2) can fail without coercivity and the Appendix bound (A.3) divides by cnic^i_ncni​; (4.2) is added to (6.9), (6.10) and to the attainment clause of (6.5). "In class C1C_1C1​" for the sequence wnw_nwn​ is read with one growth constant for all periods. The boundary condition "vn+k,0=0v_{n+k,0} = 0vn+k,0​=0" of (6.5) is read as vn,0=0v_{n,0} = 0vn,0​=0, as the next sentence of the paper states.

The goal cannot be met by a degenerate encoding: the value function is the infimum over all admissible history-dependent policies (not the solution of (6.2) by definition), the demand data must be genuine probability densities with bounded mean, and the levels may not be S=+∞S = +\inftyS=+∞.

A complete development needs: monotone convergence for the path-measure costs, measurable selection of minimizers, the KKK-convexity closure properties (Proposition 4.1 of the paper; several are proved on the platform as BertsekasDP.kconvex_*), and Proposition 4.2. The model file and the infinite-horizon verification argument are reusable for other Markov-modulated inventory models. Contributions toward any milestone, or toward general lemmas on positive-cost dynamic programs, are welcome.

Selected references

  • S. P. Sethi and F. Cheng, Optimality of (s, S) policies in inventory models with Markovian demand, Operations Research 45(6), 931–939, 1997. https://doi.org/10.1287/opre.45.6.931
  • J.-S. Song and P. Zipkin, Inventory control in a fluctuating demand environment, Operations Research 41(2), 351–370, 1993. https://doi.org/10.1287/opre.41.2.351
  • H. Scarf, The optimality of (S, s) policies in the dynamic inventory problem, in Mathematical Methods in the Social Sciences, Stanford University Press, 1960.
  • D. L. Iglehart, Optimality of (s, S) policies in the infinite horizon dynamic inventory problem, Management Science 9(2), 259–267, 1963. https://doi.org/10.1287/mnsc.9.2.259
  • D. P. Bertsekas, Dynamic Programming and Stochastic Control, Academic Press, 1976.
  • A. Bensoussan, M. Crouhy and J.-M. Proth, Mathematical Theory of Production Planning, North-Holland, 1983.
  • D. Beyer, S. P. Sethi and M. Taksar, Inventory models with Markovian demands and cost functions of polynomial growth, Journal of Optimization Theory and Applications 98, 1998 (cited by Sethi and Cheng as forthcoming).
11 thms2 active usersReviewed
Linear algebraQuantum Information·Captain: mikedeng1

Search via Quantum Walk 2: Phase Estimation Repeated k Times on the Szegedy Walk W(P) Fixes |π⟩ and Reflects A + B ⊖ |π⟩ up to Error 2^{1−k}Research Paper

Motivation

Many classical search algorithms are random walks: a Markov chain PPP on a finite state space XXX is run until it hits a marked state. Szegedy (2004) attached to every such chain a unitary quantum walk W(P)W(P)W(P), and Magniez, Nayak, Roland and Santha (SIAM J. Comput. 2011, arXiv:quant-ph/0608026) used it to search quadratically faster than the classical walk for every reversible ergodic chain. The search runs Grover-style rotations, and each rotation needs the reflection ref(π)\mathrm{ref}(\pi)ref(π) about the stationary state ∣π⟩|\pi\rangle∣π⟩. Preparing ∣π⟩|\pi\rangle∣π⟩ exactly can cost far more than one step of the walk, so the paper builds an approximate reflection R(P)R(P)R(P) from the walk alone, by phase estimation. Theorem 6 of the paper is the guarantee for that circuit, and this mission formalizes it.

Timeline:

  • Jordan, 1875. Two subspaces of a Euclidean space decompose it into one- and two-dimensional invariant pieces ("principal angles").
  • Cleve, Ekert, Macchiavello and Mosca, 1998 (Proc. R. Soc. A). The phase-estimation circuit C(U)C(U)C(U) and its output distribution (Theorem 5 of the paper).
  • Szegedy, 2004. The walk W(P)W(P)W(P), and its spectrum in terms of the singular values of the discriminant matrix (Theorem 4 of the paper).
  • Magniez, Nayak, Roland and Santha, 2007/2011. The circuit R(P)R(P)R(P) and Theorem 6, the search algorithm (Theorem 7), and the bound Δ(P)≥2δ(P)\Delta(P)\ge2\sqrt{\delta(P)}Δ(P)≥2δ(P)​ relating the phase gap to the eigenvalue gap.

Setting

XXX is a finite set of size nnn. A Markov chain is a row-stochastic matrix P=(pxy)x,y∈XP=(p_{xy})_{x,y\in X}P=(pxy​)x,y∈X​. It is ergodic if some power of PPP has all entries positive. A stationary distribution π\piπ satisfies πx>0\pi_x>0πx​>0, ∑xπx=1\sum_x\pi_x=1∑x​πx​=1 and ∑xπxpxy=πy\sum_x\pi_xp_{xy}=\pi_y∑x​πx​pxy​=πy​. The time-reversed chain P∗P^*P∗ is defined by πxpxy=πypyx∗\pi_xp_{xy}=\pi_yp^*_{yx}πx​pxy​=πy​pyx∗​, and PPP is reversible if P∗=PP^*=PP∗=P.

The space is H=CX×X\mathcal H=\mathbb C^{X\times X}H=CX×X with basis ∣x⟩∣y⟩|x\rangle|y\rangle∣x⟩∣y⟩. Put ∣px⟩=∑ypxy ∣y⟩|p_x\rangle=\sum_y\sqrt{p_{xy}}\,|y\rangle∣px​⟩=∑y​pxy​​∣y⟩ and ∣py∗⟩=∑xpyx∗ ∣x⟩|p^*_y\rangle=\sum_x\sqrt{p^*_{yx}}\,|x\rangle∣py∗​⟩=∑x​pyx∗​​∣x⟩, and

A=Span(∣x⟩∣px⟩:x∈X),B=Span(∣py∗⟩∣y⟩:y∈X).\mathcal A=\mathrm{Span}(|x\rangle|p_x\rangle:x\in X),\qquad \mathcal B=\mathrm{Span}(|p^*_y\rangle|y\rangle:y\in X).A=Span(∣x⟩∣px​⟩:x∈X),B=Span(∣py∗​⟩∣y⟩:y∈X).

For a subspace K\mathcal KK, ref(K)=2ΠK−Id\mathrm{ref}(\mathcal K)=2\Pi_{\mathcal K}-\mathrm{Id}ref(K)=2ΠK​−Id, where ΠK\Pi_{\mathcal K}ΠK​ is the orthogonal projector onto K\mathcal KK. The quantum walk is W(P)=ref(B)⋅ref(A)W(P)=\mathrm{ref}(\mathcal B)\cdot\mathrm{ref}(\mathcal A)W(P)=ref(B)⋅ref(A), and the stationary state is ∣π⟩=∑xπx ∣x⟩∣px⟩|\pi\rangle=\sum_x\sqrt{\pi_x}\,|x\rangle|p_x\rangle∣π⟩=∑x​πx​​∣x⟩∣px​⟩.

The discriminant matrix is D(P)=(pxypyx∗)x,yD(P)=(\sqrt{p_{xy}p^*_{yx}})_{x,y}D(P)=(pxy​pyx∗​​)x,y​. Its singular values lie in [0,1][0,1][0,1]. The phase gap Δ(P)\Delta(P)Δ(P) is 2θ2\theta2θ, where θ\thetaθ is the smallest angle in (0,π/2)(0,\pi/2)(0,π/2) such that cos⁡θ\cos\thetacosθ is a singular value of D(P)D(P)D(P).

The phase-estimation circuit C(U)C(U)C(U) acts on Cι⊗C2s\mathbb C^\iota\otimes\mathbb C^{2^s}Cι⊗C2s. It is

C(U)=(Id⊗F†)(∑j<2sUj⊗∣j⟩⟨j∣)(Id⊗H⊗s),C(U)=(\mathrm{Id}\otimes F^\dagger)\Big(\sum_{j<2^s}U^j\otimes|j\rangle\langle j|\Big)(\mathrm{Id}\otimes H^{\otimes s}),C(U)=(Id⊗F†)(j<2s∑​Uj⊗∣j⟩⟨j∣)(Id⊗H⊗s),

where H⊗sH^{\otimes s}H⊗s is the Walsh–Hadamard matrix and FFF is the 2s2^s2s-point Fourier transform.

The circuit R(P)R(P)R(P) uses s=⌈log⁡2(2π/Δ(P))⌉s=\lceil\log_2(2\pi/\Delta(P))\rceils=⌈log2​(2π/Δ(P))⌉ and acts on H⊗(C2s)⊗k\mathcal H\otimes(\mathbb C^{2^s})^{\otimes k}H⊗(C2s)⊗k. It is built in three steps:

  1. VVV applies C(W(P))C(W(P))C(W(P)) kkk times, each time to the system register and a fresh ancilla register.
  2. F≠0F_{\neq0}F=0​ multiplies by −1-1−1 every basis state with a non-zero estimate in some register.
  3. Then R(P)=V†F≠0VR(P)=V^\dagger F_{\neq0}VR(P)=V†F=0​V.

Formalization targets

Goal: Theorem 6, properties 2 and 3

For PPP ergodic and reversible on n≥2n\ge2n≥2 states, and every integer k≥0k\ge0k≥0:

R(P) ∣π⟩∣0ks⟩=∣π⟩∣0ks⟩,∥(R(P)+Id) ∣ψ⟩∣0ks⟩∥≤21−k∥ψ∥(ψ∈A+B, ψ⊥∣π⟩).R(P)\,|\pi\rangle|0^{ks}\rangle=|\pi\rangle|0^{ks}\rangle,\qquad \big\|(R(P)+\mathrm{Id})\,|\psi\rangle|0^{ks}\rangle\big\|\le2^{1-k}\|\psi\|\quad(\psi\in\mathcal A+\mathcal B,\ \psi\perp|\pi\rangle).R(P)∣π⟩∣0ks⟩=∣π⟩∣0ks⟩,​(R(P)+Id)∣ψ⟩∣0ks⟩​≤21−k∥ψ∥(ψ∈A+B, ψ⊥∣π⟩).

Milestones

The milestones follow the order in which the paper's proof uses them:

  1. Theorem 4 (Szegedy). The spectrum of W(P)W(P)W(P) on A+B\mathcal A+\mathcal BA+B. On that space W(P)W(P)W(P) has the eigenvalues 111 (on A∩B\mathcal A\cap\mathcal BA∩B), −1-1−1, and e±2iθe^{\pm2i\theta}e±2iθ for cos⁡θ\cos\thetacosθ a singular value of D(P)D(P)D(P) in (0,1)(0,1)(0,1), with matching multiplicities. The mission has two items for it: the full statement, and the direction the proof uses.
  2. §3.2. For ergodic reversible PPP, ∣π⟩|\pi\rangle∣π⟩ is the only 111-eigenvector of W(P)W(P)W(P) in A+B\mathcal A+\mathcal BA+B, up to scalars, and every other eigenvalue μ\muμ there satisfies ∣1−μ∣≥∣1−eiΔ(P)∣|1-\mu|\ge|1-e^{i\Delta(P)}|∣1−μ∣≥∣1−eiΔ(P)∣.
  3. Theorem 5, properties 2 and 3. C(U)C(U)C(U) fixes ∣ψ⟩∣0s⟩|\psi\rangle|0^s\rangle∣ψ⟩∣0s⟩ when Uψ=ψU\psi=\psiUψ=ψ. If Uψ=e2iθψU\psi=e^{2i\theta}\psiUψ=e2iθψ with θ∈(0,π)\theta\in(0,\pi)θ∈(0,π), it outputs ∣ψ⟩∣ω⟩|\psi\rangle|\omega\rangle∣ψ⟩∣ω⟩ with ∣⟨0s∣ω⟩∣=∣sin⁡(2sθ)∣/(2ssin⁡θ)|\langle0^s|\omega\rangle|=|\sin(2^s\theta)|/(2^s\sin\theta)∣⟨0s∣ω⟩∣=∣sin(2sθ)∣/(2ssinθ).
  4. Single-copy bound. For Δ/2≤θ≤π−Δ/2\Delta/2\le\theta\le\pi-\Delta/2Δ/2≤θ≤π−Δ/2 and the sss above, ∣sin⁡(2sθ)∣/(2ssin⁡θ)≤1/2|\sin(2^s\theta)|/(2^s\sin\theta)\le1/2∣sin(2sθ)∣/(2ssinθ)≤1/2.
  5. kkk-copy bound. For ψ∈A+B\psi\in\mathcal A+\mathcal Bψ∈A+B with ψ⊥∣π⟩\psi\perp|\pi\rangleψ⊥∣π⟩, the all-zero-estimate component ψ0\psi_0ψ0​ of V∣ψ⟩∣0ks⟩V|\psi\rangle|0^{ks}\rangleV∣ψ⟩∣0ks⟩ has ∥ψ0∥≤2−k∥ψ∥\|\psi_0\|\le2^{-k}\|\psi\|∥ψ0​∥≤2−k∥ψ∥. For every ψ\psiψ, ∥(R(P)+Id)∣ψ⟩∣0ks⟩∥=2∥ψ0∥\|(R(P)+\mathrm{Id})|\psi\rangle|0^{ks}\rangle\|=2\|\psi_0\|∥(R(P)+Id)∣ψ⟩∣0ks⟩∥=2∥ψ0​∥.

Significance

Theorem 6 replaces the reflection about ∣π⟩|\pi\rangle∣π⟩ with a circuit that only calls the walk. Its cost scales as 1/Δ(P)1/\Delta(P)1/Δ(P) rather than as the cost of preparing ∣π⟩|\pi\rangle∣π⟩. Combined with Δ(P)≥2δ(P)\Delta(P)\ge2\sqrt{\delta(P)}Δ(P)≥2δ(P)​, where δ(P)\delta(P)δ(P) is the eigenvalue gap, this gives the search cost S+1ε(1δU+C)S+\frac1{\sqrt\varepsilon}\big(\frac1{\sqrt\delta}U+C\big)S+ε​1​(δ​1​U+C) of Theorem 7, up to logarithmic factors. The same approximate-reflection device recurs in later quantum-walk and amplitude-amplification algorithms.

The results are proved in the paper, which takes Theorem 4 from Szegedy and Theorem 5 from Cleve et al. As far as the platform index shows, none of Theorems 4, 5 or 6 has a machine-checked proof. The mission produces three reusable components: a Lean definition of the Szegedy walk and of the phase-estimation circuit, a formal Jordan-type spectral theorem for products of two reflections, and the analysis of phase estimation on an eigenvector.

Difficulty

Most of the work is linear algebra. The proof of Theorem 6 has a short outline: expand ψ\psiψ in eigenvectors of W(P)W(P)W(P), apply Theorem 5 to each, and bound each amplitude by 1/21/21/2. Three steps carry the weight:

  • Theorem 4. The eigen-decomposition of W(P)W(P)W(P) on A+B\mathcal A+\mathcal BA+B is Jordan's two-subspace decomposition, with the multiplicities read off the singular value decomposition of D(P)D(P)D(P). The decomposition has to be built, and the cases at singular values 000 and 111 have to be handled separately.
  • Uniqueness of ∣π⟩|\pi\rangle∣π⟩. This step needs ergodicity, through Perron–Frobenius, and reversibility, because D(P)D(P)D(P) is then symmetric and its singular values are the moduli of the eigenvalues of PPP. Without reversibility D(P)D(P)D(P) can have the singular value 111 twice, and property 3 then fails.
  • Repetition. The kkk phase estimations share one system register. Their product acts on an eigenvector as a tensor power on the ancillas. This needs the eigenvectors of the unitary W(P)W(P)W(P) restricted to the invariant subspace A+B\mathcal A+\mathcal BA+B to be orthogonal.

Formalization scope

  • H\mathcal HH is EuclideanSpace ℂ (X × X), with the first coordinate the first register.
  • The ancilla register is indexed by Fin (2^s), and kkk registers by Fin k → Fin (2^s); the all-zeros state is the zero index.
  • ref(K)\mathrm{ref}(\mathcal K)ref(K) is Mathlib's Submodule.reflection.
  • The stationary distribution π\piπ is passed as data with its defining hypotheses. "Ergodic" is Matrix.IsPrimitive.
  • Singular values of the real matrix D(P)D(P)D(P) are LinearMap.singularValues.
  • When D(P)D(P)D(P) has no singular value in (0,1)(0,1)(0,1), the paper leaves Δ(P)\Delta(P)Δ(P) undefined, and the formalization sets Δ(P)=π\Delta(P)=\piΔ(P)=π.
  • log⁡2\log_2log2​ is Real.logb 2 and the ceiling is Nat.ceil.

Deviations from the page.

  • Reversibility, the standing assumption of §3.2, is a hypothesis of the goal.
  • Property 3 is stated for vectors and is homogeneous in ∥ψ∥\|\psi\|∥ψ∥.
  • Theorem 5 is stated for any finite-dimensional unitary, not only 2m×2m2^m\times2^m2m×2m, and with ∣sin⁡(2sθ)∣|\sin(2^s\theta)|∣sin(2sθ)∣, because the printed right-hand side can be negative.
  • The single-copy bound also covers the eigenvalue −1-1−1.

Only exact statements are formalized. The cost halves (gate counts, calls to ccc-W(P)W(P)W(P), "s∈log⁡2(1/Δ)+O(1)s\in\log_2(1/\Delta)+O(1)s∈log2​(1/Δ)+O(1)", the qubit count, uniformity) are out of scope.

The circuit R(P)R(P)R(P) is the explicit composition above, built from C(W(P))C(W(P))C(W(P)). It is neither "some circuit with properties 2–3" nor anything defined through the projector onto ∣π⟩|\pi\rangle∣π⟩, either of which would make the goal a tautology.

Contributions welcome: proofs of the milestones, Jordan's lemma for two subspaces as a standalone result, and the bound Δ(P)≥2δ(P)\Delta(P)\ge2\sqrt{\delta(P)}Δ(P)≥2δ(P)​ of §3.3.

Selected references

  • F. Magniez, A. Nayak, J. Roland, M. Santha, Search via Quantum Walk, SIAM J. Comput. 40(1), 2011. https://arxiv.org/abs/quant-ph/0608026 (v4), https://doi.org/10.1137/090745854
  • M. Szegedy, Quantum speed-up of Markov chain based algorithms, FOCS 2004. https://doi.org/10.1109/FOCS.2004.53
  • R. Cleve, A. Ekert, C. Macchiavello, M. Mosca, Quantum algorithms revisited, Proc. R. Soc. Lond. A 454, 1998. https://doi.org/10.1098/rspa.1998.0164
  • C. Jordan, Essai sur la géométrie à n dimensions, Bull. Soc. Math. France 3, 1875. https://doi.org/10.24033/bsmf.90
11 thms2 active usersReviewed
Machine LearningProbabilityReinforcement Learning·Captain: mikedeng1

An Analysis of Temporal-Difference Learning with Function Approximation 2: For Every Sampling Distribution q and 5/6 < α < 1, Off-Line q-Sampled TD(0) Can Diverge in ExpectationResearch Paper

Motivation

Temporal-difference learning estimates the future cost of a system from observed transitions. In a Markov model, a state has a distribution of possible successors and each transition carries a cost. An agent may approximate the future cost with a small number of basis functions rather than store one number per state. This is useful when the state set is large or countably infinite, but the sampling rule then matters: the states used to update the approximation need not arrive in the same proportions as visits to the underlying Markov chain.

Tsitsiklis and Van Roy distinguish sampling along the chain from drawing current states independently from a chosen distribution qqq. Their 1996 LIDS report, §9 constructs an example where the latter version of TD(0) has a mean parameter vector whose norm grows without bound. The example applies to every sampling distribution qqq on a countable state space with at least two states and every discount factor α\alphaα strictly between 5/65/65/6 and 111. The mission formalizes that quantified counterexample, rather than selecting a particular two-state distribution.

Setting

Let SSS be a finite or countably infinite set of states. A transition matrix PPP assigns a probability distribution pijp_{ij}pij​ over next states jjj to each current state iii. A transition cost g(i,j)g(i,j)g(i,j) is incurred when the chain moves from iii to jjj, and 0<α<10<\alpha<10<α<1 discounts later costs. The cost-to-go J∗(i)J^*(i)J∗(i) is the expected sum of discounted costs along a chain started at iii. An invariant distribution π\piπ satisfies πTP=πT\pi^{\mathsf T}P=\pi^{\mathsf T}πTP=πT.

A feature vector ϕ(i)∈RK\phi(i)\in\mathbb R^Kϕ(i)∈RK represents an approximate cost ϕ(i)Tr\phi(i)^{\mathsf T}rϕ(i)Tr, where r∈RKr\in\mathbb R^Kr∈RK is learned. The weighted norm ∥J∥D\|J\|_D∥J∥D​ uses the weights π(i)\pi(i)π(i), and Π\PiΠ projects onto the span of the features in that norm. The one-step operator T(0)T^{(0)}T(0) sends JJJ to the expected immediate cost plus α\alphaα times the next-state value. These are the objects of §§2–4 of the report.

In qqq-sampled TD(0), each current state ItI_tIt​ is drawn independently from a probability distribution qqq; a successor JtJ_tJt​ is then drawn from row P(It,⋅)P(I_t,\cdot)P(It​,⋅). Each new pair is independent of the earlier pairs. The parameter changes by

rt+1=rt+γtϕ(It)[g(It,Jt)+αϕ(Jt)Trt−ϕ(It)Trt].r_{t+1}=r_t+\gamma_t\phi(I_t)\left[g(I_t,J_t)+\alpha\phi(J_t)^{\mathsf T}r_t-\phi(I_t)^{\mathsf T}r_t\right].rt+1​=rt​+γt​ϕ(It​)[g(It​,Jt​)+αϕ(Jt​)Trt​−ϕ(It​)Trt​].

The step sizes γt\gamma_tγt​ satisfy the report's Assumption 4: they are chosen in advance, nonnegative and nonincreasing, their sum diverges, and the sum of their squares converges. Assumption 1 asks for a unique positive invariant law, finite stationary second moment of the transition costs, and finite cost-to-go from each state. Assumption 2 asks for linearly independent features with finite stationary second moments.

Formalization targets

Divergence of the mean

For every qqq and 5/6<α<15/6<\alpha<15/6<α<1, Theorem 3 asserts the existence of PPP, ggg, and a feature map satisfying Assumptions 1 and 2, together with a unique projected fixed-point parameter r∗r^*r∗, such that for every r0≠r∗r_0\ne r^*r0​=r∗,

ΠT(0)(ϕTr)=ϕTr  ⟺  r=r∗,lim⁡t→∞∥E[rt∣r0]∥=∞.\Pi T^{(0)}(\phi^{\mathsf T}r)=\phi^{\mathsf T}r\iff r=r^*, \qquad \lim_{t\to\infty}\bigl\|\mathbb E[r_t\mid r_0]\bigr\|=\infty.ΠT(0)(ϕTr)=ϕTr⟺r=r∗,t→∞lim​​E[rt​∣r0​]​=∞.

The expectation is over the independent state–successor samples. The target is the norm of the mean vector; it does not assert divergence of individual sample paths. The formal goal quantifies over every probability space carrying samples with the stated joint law, so a choice of representation for the random process does not change the theorem.

Supporting statements

The milestones follow the claims in the proof of Theorem 3, pp. 24–25: existence of a full-support transition distribution; the one-feature construction and its assumptions; the general and specialized recurrences for E[rt]\mathbb E[r_t]E[rt​]; a positive lower bound for their coefficient Δ\DeltaΔ; and unbounded growth from that lower bound. The numerical inequality retains the report's threshold 5/(6α)5/(6\alpha)5/(6α) and its explicit positive factor 6αp(s2)−56\alpha p(s_2)-56αp(s2​)−5.

Significance

The theorem identifies a limit of using TD(0) with linear approximation when the current states are sampled according to a distribution unrelated to the chain's invariant law. The constructed Markov chain itself has a well-defined zero cost-to-go, and the approximation uses only one nonzero feature direction. Nevertheless, the mean of the parameter sequence diverges for every nonfixed initialization. Thus the issue is present even without noisy costs or a complicated feature space. The report contrasts this with its convergence result for the on-line algorithm under additional assumptions; the counterexample says that those conclusions cannot be transferred to arbitrary independent state sampling by changing only the sample source. Tsitsiklis and Van Roy, §9.

The report proves Theorem 3 on paper. This mission asks for a machine-checked proof of its full quantifier structure, including countably infinite state spaces and arbitrary qqq. A completed development would supply reusable Lean interfaces for countable Markov kernels, path laws, weighted projections, independent state–successor samples, and expected stochastic recurrences. The proposal currently contains the statements and definitions; the theorem proofs are open.

Difficulty

The apparent simplicity of the one-dimensional example hides two issues. First, the statement is uniform over qqq, including distributions that put zero mass on nearly every state. A proof must choose the two feature states in response to qqq while preserving the strict positivity needed for growth. Second, the recurrence concerns E[rt]\mathbb E[r_t]E[rt​], where rtr_trt​ depends on all earlier random pairs. The step at time ttt uses a fresh pair, and the factorization of its mean requires that temporal independence, plus justified integrability. Writing a positive scalar coefficient alone does not establish divergence of the expected parameter sequence for the sampled process.

Formalization scope

The Lean state space is a countable discrete measurable type with at least two elements. PPP is a Markov kernel, its path law comes from the Ionescu–Tulcea construction, and the cost-to-go is the expectation of the discounted path sum. Weighted L2(S,D)L_2(S,D)L2​(S,D) membership is expressed by summability of π(i)J(i)2\pi(i)J(i)^2π(i)J(i)2. The projection uses the inverse of the weighted Gram matrix under the independence and positive-mass assumptions that make it invertible. Only T(0)T^{(0)}T(0) is needed here. The number KKK of basis functions is existential, like the report's matrix Φ\PhiΦ, but must be at least one: an empty parameter space would leave the universal divergence clause with no nonfixed initializations. The report's own example has K=1K=1K=1.

Assumption 1 includes uniqueness of π\piπ, positive mass at each state, the stationary squared-cost moment, and absolute integrability of the cost-to-go. Assumption 2 includes linear independence and integrability of squared features. Assumption 4 retains square-summability even though the displayed growth argument uses the divergent first-power sum. The general mean recurrence assumes bounded costs and features so its integrals and countable sums are meaningful; the constructed example satisfies those bounds. The goal additionally states finite-time integrability of the parameter vector. The source indexes states by 1 and 2; the formalization uses two distinct states s1,s2s_1,s_2s1​,s2​ and records the proof's ordering 0<q(s1)0<q(s_1)0<q(s1​) and q(s2)≤q(s1)q(s_2)\le q(s_1)q(s2​)≤q(s1​) in the growth milestone. The goal's quantification over probability spaces is restricted to Lean's Type universe.

The general mean recurrence is written with the immediate cost outside the matrix factor multiplying E[rt]\mathbb E[r_t]E[rt​]. This follows the algorithm displayed on p. 24 and corrects two slips in the printed recurrence on p. 25: its next-state subscript and the placement of the mean-cost term. Contributions to the path-law facts, independent-sampling calculations, countable weighted sums, and scalar growth theorem all support the same fixed goal.

Selected references

  • J. N. Tsitsiklis and B. Van Roy, An Analysis of Temporal-Difference Learning with Function Approximation, MIT Laboratory for Information and Decision Systems report LIDS-P-2322, 1996; published in IEEE Transactions on Automatic Control 42(5), 1997. MIT record.
9 thms2 active usersReviewed
PreviousPage 3 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