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
Mathematical PhysicsProbability·Captain: wurtle

A spectral gap throughout the high-temperature Sherrington–Kirkpatrick phaseResearch Paper

Motivation

The Sherrington–Kirkpatrick (SK) model (1975) is the basic mean-field spin glass: nnn Ising spins interact through independent Gaussian couplings of variance β2/n\beta^2/nβ2/n, so each spin is weakly coupled to every other one with random signs. The model is the testing ground for questions about disordered systems, about sampling from Gibbs measures, and about the performance of Markov chain Monte Carlo. A central question is whether Glauber (heat-bath) dynamics, which resamples one spin at a time from its conditional law, relaxes at a rate independent of the system size. Equivalently: does the Gibbs measure satisfy a dimension-free Poincaré inequality with respect to the heat-bath Dirichlet form?

The equilibrium high-temperature phase is β<1\beta<1β<1, where the free energy equals its annealed value (Aizenman, Lebowitz and Ruelle 1987). Dynamical results had reached only part of this range.

Timeline

  • 1963. Glauber introduces local stochastic spin dynamics (doi:10.1063/1.1703954).
  • 1975. Sherrington and Kirkpatrick introduce the model (doi:10.1103/PhysRevLett.35.1792).
  • 1987. Aizenman, Lebowitz and Ruelle prove the annealed free energy log⁡2+β2/4\log2+\beta^2/4log2+β2/4 for all β<1\beta<1β<1 (doi:10.1007/BF01217677).
  • 2006. Wu proves Poincaré inequalities under a Dobrushin-type condition (doi:10.1214/009117906000000368).
  • 2019. Bauerschmidt and Bodineau prove a high-temperature log-Sobolev inequality for a different (full spin-flip) Dirichlet form (doi:10.1016/j.jfa.2019.01.007).
  • 2022. Eldan, Koehler and Zeitouni give a spectral condition yielding a heat-bath gap for β<1/4\beta<1/4β<1/4 (doi:10.1007/s00440-021-01085-x); Anari, Jain, Koehler, Pham and Vuong prove O(nlog⁡n)O(n\log n)O(nlogn) mixing in the same range (arXiv:2106.04105).
  • 2024. Anari, Koehler and Vuong extend this to β≈0.295\beta\approx0.295β≈0.295 (doi:10.1145/3618260.3649622); Adhikari, Brennecke, Xu and Yau obtain gaps for mixed ppp-spin models under a small-coefficient condition (doi:10.1007/s00440-024-01261-9); El Alaoui and Gaitonde, and Brennecke, Schertzer, Xu and Yau, control the spin covariance for all β<1\beta<1β<1 (arXiv:2212.02445, doi:10.2140/pmp.2024.5.131).
  • 2026. Wang proves optimal mixing for β<1/2\beta<1/2β<1/2 (arXiv:2608.22159); Boban, Li and Oveis Gharan reach β<1/2+ε0\beta<1/2+\varepsilon_0β<1/2+ε0​ (arXiv:2609.13138).

The source of this mission is an OpenAI preprint dated September 24, 2026, which treats every fixed β<1\beta<1β<1.

Setting

Fix 0<β<10<\beta<10<β<1. Let JJJ be a symmetric n×nn\times nn×n matrix with zero diagonal and independent entries Jik∼N(0,β2/n)J_{ik}\sim N(0,\beta^2/n)Jik​∼N(0,β2/n) for i<ki<ki<k. The zero-field Gibbs law on {−1,1}n\{-1,1\}^n{−1,1}n is

μ0(x)=1Zexp⁡{12xTJx}.\mu_0(x)=\frac1{Z}\exp\Bigl\{\tfrac12x^{\mathsf T}Jx\Bigr\}.μ0​(x)=Z1​exp{21​xTJx}.

Let PiP_iPi​ be the conditional expectation under μ0\mu_0μ0​ given all spins except xix_ixi​; it averages fff over xxx and its iii-th flip with Gibbs weights. The unscaled Dirichlet form is

D(f)=∑i=1nEμ0(f−Pif)2.\mathcal D(f)=\sum_{i=1}^n\mathbb E_{\mu_0}\bigl(f-P_if\bigr)^2 .D(f)=i=1∑n​Eμ0​​(f−Pi​f)2.

The discrete heat-bath chain picks a uniform site and resamples it, with transition operator n−1∑iPin^{-1}\sum_iP_in−1∑i​Pi​; its spectral gap is inf⁡fD(f)/(nVar⁡μ0f)\inf_f \mathcal D(f)/(n\operatorname{Var}_{\mu_0}f)inff​D(f)/(nVarμ0​​f) over nonconstant fff.

Formalization targets

Goal: Theorem 1.1

There is a finite constant CβC_\betaCβ​ such that

PJ{Var⁡μ0(f)≤Cβ D(f) for every f:{−1,1}n→R} ⟶ 1,\mathbb P_J\Bigl\{\operatorname{Var}_{\mu_0}(f)\le C_\beta\,\mathcal D(f)\ \text{for every }f:\{-1,1\}^n\to\mathbb R\Bigr\}\ \longrightarrow\ 1,PJ​{Varμ0​​(f)≤Cβ​D(f) for every f:{−1,1}n→R} ⟶ 1,

and consequently the discrete heat-bath chain has spectral gap at least 1/(Cβn)1/(C_\beta n)1/(Cβ​n) with probability tending to one. Lean: OAI.SKGap.sk_main, open on the platform.

Significance

The theorem gives a size-independent relaxation time for continuous-time heat-bath dynamics (rate-one clocks) throughout the high-temperature phase, for every observable simultaneously on one disorder event. It extends the dynamical picture from β<1/2+ε0\beta<1/2+\varepsilon_0β<1/2+ε0​ to the full equilibrium range β<1\beta<1β<1, where only linear-observable (covariance) control was previously known. A Poincaré inequality is the input for L2L^2L2 mixing bounds and for companion results on cutoff and critical slowing down.

The result is proved in an OpenAI preprint; it has not been peer reviewed, and no machine-checked proof exists.

Difficulty

Dobrushin-type influence bounds fail because the sum of absolute couplings at a site grows like n\sqrt nn​; any argument must exploit cancellations from the random signs. Covariance bounds control only linear observables, while the Poincaré inequality must hold for all 22n2^{2^n}22n-dimensional families of test functions at once. The natural route through stochastic localization runs into rare observation events: an event of exponentially small probability can still carry most of the variance of a particular test function, and invertibility of the field equation must hold at every sufficiently accurate solution along the observation path.

Formalization scope

  • Spins are Fin n → Bool, with spinValue mapping to ±1\pm1±1; couplings are indexed by pairs i<ki<ki<k (Edge n) and symmetrized with zero diagonal by coupling.
  • hamiltonian g 0 x = ½ ∑_{i,k} x_i J_{ik} x_k; mass, expectation, variance are exact finite sums over {−1,1}n\{-1,1\}^n{−1,1}n.
  • conditionalExpectation g h i f x is the two-point Gibbs average over xxx and its iii-th flip; dirichlet is the unscaled form ∑iE(f−Pif)2\sum_i\mathbb E(f-P_if)^2∑i​E(f−Pi​f)2.
  • disorderLaw β n = Measure.pi (fun _ => gaussianReal 0 (β^2/n)) over the edges (variance β2/n\beta^2/nβ2/n).
  • discreteGap g is the infimum of D(f)/(nVar⁡f)\mathcal D(f)/(n\operatorname{Var}f)D(f)/(nVarf) over fff with positive variance.
  • MainStatement β asserts a single C>0C>0C>0 for which both the Poincaré event and the gap event have probability tending to 111.

Formalization needs Gaussian product measures, finite Gibbs measures and heat-bath operators, and the analysis behind the proof: matrix concentration, TAP/AMP-type field recursions and stochastic localization. Formal versions of the paper's intermediate results (for example Proposition 8.3, the terminal observation gap) are welcome.

Selected references

  • OpenAI, A spectral gap throughout the high-temperature Sherrington–Kirkpatrick phase, preprint, September 24, 2026. https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/A-spectral-gap-throughout-the-high-temperature-Sherrington-Kirkpatrick-phase-September-24-2026/main.pdf
  • D. Sherrington, S. Kirkpatrick, Solvable model of a spin-glass, Phys. Rev. Lett., 1975. https://doi.org/10.1103/PhysRevLett.35.1792
  • M. Aizenman, J. L. Lebowitz, D. Ruelle, Some rigorous results on the Sherrington–Kirkpatrick spin glass model, Comm. Math. Phys., 1987. https://doi.org/10.1007/BF01217677
  • R. Eldan, F. Koehler, O. Zeitouni, A spectral condition for spectral gap: fast mixing in high-temperature Ising models, Probab. Theory Related Fields, 2022. https://doi.org/10.1007/s00440-021-01085-x
  • N. Anari, F. Koehler, T.-D. Vuong, Trickle-down in localization schemes and applications, STOC 2024. https://doi.org/10.1145/3618260.3649622
  • S. Wang, Optimal mixing of Glauber dynamics for the Sherrington–Kirkpatrick model at β<1/2\beta<1/2β<1/2, preprint, 2026. https://arxiv.org/abs/2608.22159
  • M. Boban, A. Li, S. Oveis Gharan, Rank-1-perturbed trickledown theorems, preprint, 2026. https://arxiv.org/abs/2609.13138
  • C. Brennecke, A. Schertzer, C. Xu, H.-T. Yau, The two point function of the SK model without external field at high temperature, Probab. Math. Phys., 2024. https://doi.org/10.2140/pmp.2024.5.131
  • Y. Chen, R. Eldan, Localization schemes: a framework for proving mixing bounds for Markov chains, Duke Math. J., 2025. https://doi.org/10.1215/00127094-2024-0063
  • R. Eldan, Thin shell implies spectral gap up to polylog via a stochastic localization scheme, Geom. Funct. Anal., 2013. https://doi.org/10.1007/s00039-013-0214-y
2 thms1 active userReviewed
CombinatoricsTheoretical Computer Science·Captain: wurtle

An FPRAS for Cell-Bounded Contingency TablesResearch Paper

Motivation

A cell-bounded contingency table is a nonnegative integer matrix with prescribed row sums, column sums and an upper bound on each entry. Bounds of zero forbid entries (structural zeros), and bounds of one give bipartite graphs with prescribed degrees, so the model contains degree-constrained subgraph counting and perfect matchings (the permanent). Counting such tables is central to exact conditional inference in statistics and is equivalent to counting integer flows in bipartite networks. Exact counting is #P-complete even for two-row ordinary tables (Dyer, Kannan and Mount, 1997), so the target is a fully polynomial randomized approximation scheme (FPRAS): a randomized algorithm that, for any ε,δ∈(0,1)\varepsilon,\delta\in(0,1)ε,δ∈(0,1), returns a (1±ε)(1\pm\varepsilon)(1±ε)-approximation with probability at least 1−δ1-\delta1−δ in time polynomial in the input length, 1/ε1/\varepsilon1/ε and log⁡(1/δ)\log(1/\delta)log(1/δ).

Timeline

  • 1986. Jerrum, Valiant and Vazirani relate approximate counting and sampling through self-reducibility.
  • 1995. Diaconis and Gangolli survey fixed-margin arrays (doi:10.1007/978-1-4612-0801-3_3).
  • 1997. Dyer, Kannan and Mount prove #P-completeness for two-row tables and give geometric methods for large margins; Morris improves the margin requirements in 2002 (doi:10.1002/rsa.10049).
  • 2000–2003. Dyer and Greenhill (two rows), Cryan and Dyer (fixed number of rows), Dyer (dynamic programming) give approximate counting for a bounded number of rows.
  • 2004. Jerrum, Sinclair and Vigoda's permanent algorithm yields an FPRAS for all 0/1 caps (doi:10.1145/1008731.1008738).
  • 2009–2010. Barvinok bounds weighted table counts within NO(m+n)N^{O(m+n)}NO(m+n) (doi:10.1093/imrn/rnn133); Barvinok, Luria, Samorodnitsky and Yong give quasipolynomial randomized approximations for smooth margins (doi:10.1002/rsa.20301).
  • 2010. Cryan, Dyer and Randall give an FPRAS for integral flows with large tight capacities and for cell-bounded tables with a fixed number of rows, and list unrestricted approximation as open (doi:10.1137/060650544).
  • 2023. Brändén, Leake and Pak give capacity lower bounds via Lorentzian polynomials (doi:10.1007/s11856-022-2364-9); Guo and Jerrum count vertices of certain 0/1 polytopes (doi:10.1007/s00454-022-00406-8).

The source of this mission, an OpenAI preprint dated September 24, 2026, claims an FPRAS with no restriction on dimensions, margins or caps.

Setting

For positive integers m,nm,nm,n, margins r∈Z≥0mr\in\mathbb Z_{\ge0}^mr∈Z≥0m​, c∈Z≥0nc\in\mathbb Z_{\ge0}^nc∈Z≥0n​ with equal totals, and bounds b∈Z≥0m×nb\in\mathbb Z_{\ge0}^{m\times n}b∈Z≥0m×n​,

Ω(r,c,b)={X∈Z≥0m×n: ∑jXij=ri, ∑iXij=cj, Xij≤bij},Z(r,c,b)=∣Ω(r,c,b)∣.\Omega(r,c,b)=\Bigl\{X\in\mathbb Z_{\ge0}^{m\times n}:\ \textstyle\sum_jX_{ij}=r_i,\ \sum_iX_{ij}=c_j,\ X_{ij}\le b_{ij}\Bigr\},\qquad Z(r,c,b)=|\Omega(r,c,b)|.Ω(r,c,b)={X∈Z≥0m×n​: ∑j​Xij​=ri​, ∑i​Xij​=cj​, Xij​≤bij​},Z(r,c,b)=∣Ω(r,c,b)∣.

All numbers are written in binary, so a capacity can be exponentially larger than its description. LLL denotes the total binary input length including the rational accuracy parameters ε,δ\varepsilon,\deltaε,δ. The algorithm uses independent unbiased random bits and is charged for every bit operation.

Formalization targets

Goal: Theorem 1.1 (FPRAS)

One randomized algorithm, given (r,c,b)(r,c,b)(r,c,b) and rational ε,δ∈(0,1)\varepsilon,\delta\in(0,1)ε,δ∈(0,1), outputs a nonnegative rational Z^\widehat ZZ with

Pr⁡[(1−ε)Z(r,c,b)≤Z^≤(1+ε)Z(r,c,b)]≥1−δ,\Pr\bigl[(1-\varepsilon)Z(r,c,b)\le\widehat Z\le(1+\varepsilon)Z(r,c,b)\bigr]\ge1-\delta,Pr[(1−ε)Z(r,c,b)≤Z≤(1+ε)Z(r,c,b)]≥1−δ,

outputs exactly 000 on every execution when Ω(r,c,b)=∅\Omega(r,c,b)=\emptysetΩ(r,c,b)=∅, and performs at most poly(L,ε−1,log⁡δ−1)\mathrm{poly}(L,\varepsilon^{-1},\log\delta^{-1})poly(L,ε−1,logδ−1) bit operations on every execution. Lean: OAI.ContingencyTables.counting, open on the platform.

Significance

The theorem would answer the question left open by Cryan, Dyer and Randall in 2010: approximate counting of cell-bounded tables (equivalently, integral flows in bipartite networks with arbitrary capacities) without any fixed-dimension, large-capacity, density or balance assumption, with polynomial cost on every execution and no oracle. It contains the 0/1 case handled by Jerrum–Sinclair–Vigoda and the fixed-row results as special cases, and via self-reduction it gives approximate samplers for integer flows. A companion preprint of the same family treats exact uniform sampling of uncapped tables. The result is claimed in an OpenAI preprint that has not been peer reviewed; no machine-checked proof exists.

Difficulty

Two regimes clash. Large capacities cannot be expanded into that many binary choices without exponential blow-up, so geometric (polytope volume) methods are needed for them; but those methods require every cell to be large. Small capacities need combinatorial Markov chains, which in turn must preserve exactly one unit of mass per table despite the multiplicities created by encoding a bounded integer by binary choices. Arbitrary mixtures of tiny and huge caps, zero caps and variable dimensions defeat each approach used alone.

Formalization scope

  • Algorithms are MatchingFPRAS.RandomMachines: a single finite transition table on an 8-symbol alphabet, one random bit per tick; time is counted in ticks (polynomially equivalent to bit operations).
  • Inputs are delimited binary encodings of m,n,r,c,bm,n,r,c,bm,n,r,c,b and of ε,δ\varepsilon,\deltaε,δ as reduced fractions (encodeCountingInput); outputs are encoded rationals.
  • count r c b is Fintype.card of bounded tables.
  • CountingStatement: one machine and constants C>0C>0C>0, ddd; with t=C(∣input∣+⌈1/ε⌉+⌈log⁡2⌈1/δ⌉⌉+1)dt=C(|\text{input}|+\lceil1/\varepsilon\rceil+\lceil\log_2\lceil1/\delta\rceil\rceil+1)^dt=C(∣input∣+⌈1/ε⌉+⌈log2​⌈1/δ⌉⌉+1)d, every tape of length ttt halts with a rational q≥0q\ge0q≥0; if count = 0 every tape outputs 000; and the fraction of tapes with (1−ε)Z≤q≤(1+ε)Z(1-\varepsilon)Z\le q\le(1+\varepsilon)Z(1−ε)Z≤q≤(1+ε)Z is at least 1−δ1-\delta1−δ.
  • m,n≥1m,n\ge1m,n≥1 and equal margin totals are hypotheses, as in the paper.

Needed infrastructure: randomized Turing machines, Markov chain mixing and Poincaré inequalities, log-concavity (Prékopa–Leindler), and network-flow feasibility. The machine model and encodings are shared with the exact-sampling mission of this family. Contributions formalizing Proposition 2.2 (contamination bound), Lemma 3.3 (log-concave tree marginals), Proposition 6.1 (weight evaluation) or Proposition 7.2 are welcome.

Selected references

  • OpenAI, An FPRAS for Cell-Bounded Contingency Tables, preprint, September 24, 2026. https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/An-FPRAS-for-Cell-Bounded-Contingency-Tables-September-24-2026/main.pdf
  • M. Cryan, M. Dyer, D. Randall, Approximately counting integral flows and cell-bounded contingency tables, SIAM J. Comput., 2010. https://doi.org/10.1137/060650544
  • M. Jerrum, A. Sinclair, E. Vigoda, A polynomial-time approximation algorithm for the permanent of a matrix with nonnegative entries, J. ACM, 2004. https://doi.org/10.1145/1008731.1008738
  • B. Morris, Improved bounds for sampling contingency tables, Random Structures Algorithms, 2002. https://doi.org/10.1002/rsa.10049
  • A. Barvinok, Asymptotic estimates for the number of contingency tables, integer flows, and volumes of transportation polytopes, IMRN, 2009. https://doi.org/10.1093/imrn/rnn133
  • A. Barvinok, Z. Luria, A. Samorodnitsky, A. Yong, An approximation algorithm for counting contingency tables, Random Structures Algorithms, 2010. https://doi.org/10.1002/rsa.20301
  • P. Brändén, J. Leake, I. Pak, Lower bounds for contingency tables via Lorentzian polynomials, Israel J. Math., 2023. https://doi.org/10.1007/s11856-022-2364-9
  • H. Guo, M. Jerrum, Counting vertices of integral polytopes defined by facets, Discrete Comput. Geom., 2023. https://doi.org/10.1007/s00454-022-00406-8
2 thms1 active userReviewed
CombinatoricsTheoretical Computer Science·Captain: wurtle

Exact Uniform Sampling of Contingency Tables with Arbitrary MarginsResearch Paper

Motivation

A contingency table with margins r=(r1,…,rm)r=(r_1,\dots,r_m)r=(r1​,…,rm​) and c=(c1,…,cn)c=(c_1,\dots,c_n)c=(c1​,…,cn​) is a nonnegative integer matrix whose row sums are rrr and column sums are ccc. Such tables are the basic objects of categorical data analysis: conditional tests of independence (Fisher's exact test and its generalizations) compare an observed table with the uniform distribution on all tables with the same margins, and in practice this requires sampling uniformly from that set. The set is finite but can be exponentially large in the input size when margins are written in binary. Whether one can sample it (approximately or exactly) in time polynomial in both dimensions and in the bit length of the margins has been open since the 1990s.

Timeline

  • 1995. Diaconis and Gangolli survey enumeration and random generation of rectangular arrays with fixed margins (doi:10.1007/978-1-4612-0801-3_3).
  • 1997–2002. Dyer, Kannan and Mount sample dense tables via the transportation polytope; Morris improves the dense bounds (doi:10.1002/rsa.10049).
  • 2000. Dyer and Greenhill give polynomial-time approximate counting and sampling for two-rowed tables.
  • 2003. Kijima and Matsui give exact sampling for two rows by coupling from the past; Cryan and Dyer approximately count for a fixed number of rows (doi:10.1016/S0022-0000(03)00014-X); Dyer gives an exact dynamic-programming sampler for fixed row count.
  • 2006. Cryan, Dyer, Goldberg, Jerrum and Martin prove rapid mixing of the heat-bath chain for every fixed number of rows (doi:10.1137/S0097539703434243).
  • 2016. DeSalvo and Zhao give an exact divide-and-conquer sampler whose polynomial runtime is conditional on a conjecture (arXiv:1507.00070).
  • 2021. Arman, Gao and Wormald give linear-time exact generation for sparse margins with 5Δ4<N5\Delta^4<N5Δ4<N, and report that no polynomial-time approximately uniform sampler for arbitrary margins was known (arXiv:2104.09413).
  • 2024. Göbel, Liu, Manurangsi and Pappik turn sufficiently accurate samplers into perfect samplers (arXiv:2410.00882).

The source of this mission, an OpenAI preprint dated September 24, 2026, claims both an almost-uniform and an exactly uniform sampler for arbitrary margins.

Setting

For nonnegative integer vectors r∈Z≥0mr\in\mathbb Z_{\ge0}^mr∈Z≥0m​, c∈Z≥0nc\in\mathbb Z_{\ge0}^nc∈Z≥0n​ with common total N=∑iri=∑jcjN=\sum_ir_i=\sum_jc_jN=∑i​ri​=∑j​cj​, let

Ω(r,c)={X∈Z≥0m×n: ∑jXij=ri, ∑iXij=cj}.\Omega(r,c)=\Bigl\{X\in\mathbb Z_{\ge0}^{m\times n}:\ \textstyle\sum_jX_{ij}=r_i,\ \sum_iX_{ij}=c_j\Bigr\}.Ω(r,c)={X∈Z≥0m×n​: ∑j​Xij​=ri​, ∑i​Xij​=cj​}.

The input is (m,n,r,c)(m,n,r,c)(m,n,r,c) with margins in binary, so its length is polynomial in mmm, nnn and log⁡(N+1)\log(N+1)log(N+1). An algorithm uses unbiased random bits. For laws on a finite set, TV(μ,ν)=12∑x∣μ(x)−ν(x)∣\mathrm{TV}(\mu,\nu)=\tfrac12\sum_x|\mu(x)-\nu(x)|TV(μ,ν)=21​∑x​∣μ(x)−ν(x)∣.

Formalization targets

Milestone: Theorem 1.1(i) (almost-uniform, bounded time)

For each k≥1k\ge1k≥1, an algorithm halts on every execution in time poly(m,n,log⁡(N+1),k)\mathrm{poly}(m,n,\log(N+1),k)poly(m,n,log(N+1),k) and outputs X∈Ω(r,c)X\in\Omega(r,c)X∈Ω(r,c) with

TV(law(X), Unif Ω(r,c))≤2−k.\mathrm{TV}\bigl(\mathrm{law}(X),\ \mathrm{Unif}\,\Omega(r,c)\bigr)\le2^{-k}.TV(law(X), UnifΩ(r,c))≤2−k.

Goal: Theorem 1.1(ii) (exact uniform sampling)

An algorithm outputs X∈Ω(r,c)X\in\Omega(r,c)X∈Ω(r,c) with

Pr⁡[X=Y]=1∣Ω(r,c)∣(Y∈Ω(r,c)),\Pr[X=Y]=\frac1{|\Omega(r,c)|}\quad(Y\in\Omega(r,c)),Pr[X=Y]=∣Ω(r,c)∣1​(Y∈Ω(r,c)),

terminates almost surely, and has expected running time poly(m,n,log⁡(N+1))\mathrm{poly}(m,n,\log(N+1))poly(m,n,log(N+1)), with polynomials uniform over all margins. Lean: OAI.ContingencyTables.exactSampling, open on the platform.

Significance

The theorem would give the first unconditional polynomial-time exact uniform sampler for contingency tables with arbitrary dimensions and binary margins, with no positivity, sparsity, balance or fixed-dimension restriction, and with all random bits and integer arithmetic counted. It removes the fixed-row restriction of the Dyer–Greenhill and Cryan–Dyer line and the sparsity condition of Arman–Gao–Wormald. The exponents are deliberately large; the contribution is the existence of a polynomial algorithm. Exact time is polynomial in expectation, not on every run. A companion preprint of the same family gives an FPRAS for counting tables with cell bounds. The result is claimed in an OpenAI preprint that has not been peer reviewed; no machine-checked proof exists.

Difficulty

Markov-chain approaches mix rapidly for a fixed number of rows, but the bounds degrade with the row count. Geometric (polytope) methods need all margins to be large, and fail when some margins are tiny while others are huge, which is exactly the mixed regime that arbitrary binary margins allow. Making the sampler exact rather than approximate adds a separate difficulty: the residual-mixture correction requires that the actual output law of the approximate sampler can be computed, with cost polynomial in the accuracy bits.

Formalization scope

  • Algorithms are MatchingFPRAS.RandomMachines: a single finite transition table over an 8-symbol tape alphabet; each tick reads one random bit and either moves, writes or halts. Time is counted in ticks, polynomially equivalent to bit operations.
  • Inputs are binary encodings with delimiters (encodeNat, encodeMargins); outputs are row-major matrix encodings left on the tape (OutputsTable).
  • tableMass A input t X and haltMass A input t are the fractions of the 2t2^t2t random tapes of length ttt that halt with output XXX, respectively halt at all, within ttt ticks.
  • ExactSamplingStatement: one machine and constants C>0C>0C>0, ddd such that for all m,n,r,cm,n,r,cm,n,r,c with equal totals: every halted output is in Ω(r,c)\Omega(r,c)Ω(r,c); tableMass → 1/|Ω| for each table; haltMass → 1; and ∑t(1−haltMasst)\sum_t(1-\text{haltMass}_t)∑t​(1−haltMasst​), the expected running time, is at most C(m+n+⌈log⁡2(N+1)⌉+1)dC(m+n+\lceil\log_2(N+1)\rceil+1)^dC(m+n+⌈log2​(N+1)⌉+1)d.
  • BoundedSamplingStatement: every tape of length t=C(m+n+⌈log⁡2(N+1)⌉+k+1)dt=C(m+n+\lceil\log_2(N+1)\rceil+k+1)^dt=C(m+n+⌈log2​(N+1)⌉+k+1)d halts with a feasible table, and the TV distance to uniform is at most 2−k2^{-k}2−k.
  • Dimensions m,nm,nm,n vary freely (zero allowed); the machine is uniform, not one per size.

Needed infrastructure: randomized Turing machines and their output laws, Markov chain mixing (conductance, Poincaré inequalities), and log-concave sampling. Contributions formalizing Theorem 4.3 (graph Poincaré inequality), Theorem 5.1 (dense completion draw), Proposition 6.3 (law tabulation) or the Göbel–Liu–Manurangsi–Pappik correction are welcome.

Selected references

  • OpenAI, Exact Uniform Sampling of Contingency Tables with Arbitrary Margins, preprint, September 24, 2026. https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/Exact-Uniform-Sampling-of-Contingency-Tables-with-Arbitrary-Margins-September-24-2026/main.pdf
  • P. Diaconis, A. Gangolli, Rectangular arrays with fixed margins, Discrete Probability and Algorithms, 1995. https://doi.org/10.1007/978-1-4612-0801-3_3
  • B. Morris, Improved bounds for sampling contingency tables, Random Structures Algorithms, 2002. https://doi.org/10.1002/rsa.10049
  • M. Cryan, M. Dyer, A polynomial-time algorithm to approximately count contingency tables when the number of rows is constant, J. Comput. System Sci., 2003. https://doi.org/10.1016/S0022-0000(03)00014-X
  • M. Cryan, M. Dyer, L. A. Goldberg, M. Jerrum, R. Martin, Rapidly mixing Markov chains for sampling contingency tables with a constant number of rows, SIAM J. Comput., 2006. https://doi.org/10.1137/S0097539703434243
  • S. DeSalvo, J. Y. Zhao, Random sampling of contingency tables via probabilistic divide-and-conquer, preprint, 2016. https://arxiv.org/abs/1507.00070
  • A. Arman, P. Gao, N. Wormald, Linear-time uniform generation of random sparse contingency tables with specified marginals, preprint, 2021. https://arxiv.org/abs/2104.09413
  • A. Göbel, J. Liu, P. Manurangsi, M. Pappik, Perfect sampling from rapidly mixing Markov chains, preprint, 2024. https://arxiv.org/abs/2410.00882
3 thms1 active userReviewed
CombinatoricsTheoretical Computer Science·Captain: wurtle

Approximate counting of common bases of two matroidsResearch Paper

Motivation: counting common bases of two matroids

A matroid abstracts linear independence: a finite ground set with a family of "independent" subsets that is closed under subsets and satisfies the augmentation axiom. Its maximal independent sets, the bases, all have the same size, the rank. Matroid intersection, finding a common basis of two matroids, is one of the central polynomially solvable problems of combinatorial optimization (Edmonds, 1979). Counting common bases is much harder. It contains counting bases of a single matroid (take both matroids equal) and counting perfect matchings of a bipartite graph (take two partition matroids), and exact counting is #P-hard. The natural goal is therefore a fully polynomial randomized approximation scheme (FPRAS): an algorithm whose output is within relative error ϵ\epsilonϵ with probability at least 1−δ1-\delta1−δ, in time polynomial in the input size, ϵ−1\epsilon^{-1}ϵ−1 and log⁡δ−1\log\delta^{-1}logδ−1. The matroids should be accessible only through independence oracles.

Background and timeline

  • 1979 — Edmonds gives a polynomial-time algorithm for matroid intersection (Ann. Discrete Math. 4).
  • 1992 — Feder and Mihail give sampling and approximate counting for balanced matroids (STOC 1992).
  • 2004 — Jerrum, Sinclair and Vigoda give an FPRAS for the permanent of nonnegative matrices, covering bipartite perfect matchings (J. ACM 51).
  • 2007 — Barvinok and Samorodnitsky obtain coarse logarithmic estimates via random weighting (Israel J. Math. 158).
  • 2016–2017 — Anari, Oveis Gharan and Rezaei prove rapid mixing for strongly Rayleigh distributions (COLT 2016); Anari and Oveis Gharan obtain exponential-factor approximations from real-stable polynomials (arXiv:1702.02937).
  • 2020 — Brändén and Huh develop Lorentzian polynomials (Ann. of Math. 192).
  • 2021 — Anari, Oveis Gharan and Vinzant give a deterministic 2O(r)2^{O(r)}2O(r)-factor approximation for common bases of rank-rrr matroids (Duke Math. J. 170); Cryan, Guo and Mousa ask for a rapidly mixing chain for common bases (Ann. Probab. 49).
  • 2023–2024 — Liu's dissertation records the FPRAS question for two arbitrary oracle matroids (Section 13.2, Problem 1, thesis); Anari, Liu, Oveis Gharan and Vinzant give an FPRAS for bases of a single matroid (Ann. of Math. 199).
  • 2026 — An OpenAI preprint, Approximate counting of common bases of two matroids (OpenAI Math Release, September 23, 2026), claims an independence-oracle FPRAS for common bases of two arbitrary matroids of equal rank. It has not been peer reviewed, and its proof is not formally verified.

Setting

Let M1,M2M_1,M_2M1​,M2​ be matroids of the same rank rrr on the ground set [n][n][n], supplied by exact independence oracles: a query is an nnn-bit indicator of a subset, and the answer says whether it is independent. The quantity to estimate is

Z(M1,M2)=∣B(M1)∩B(M2)∣,Z(M_1,M_2)=\bigl|\mathcal B(M_1)\cap\mathcal B(M_2)\bigr|,Z(M1​,M2​)=​B(M1​)∩B(M2​)​,

the number of common bases. The input also contains rationals ϵ,δ∈(0,1)\epsilon,\delta\in(0,1)ϵ,δ∈(0,1); ℓ\ellℓ denotes the binary encoding length of n,r,ϵ,δn,r,\epsilon,\deltan,r,ϵ,δ. Oracle calls are counted separately from the bit operations used to build queries and process answers.

Formalization targets

Goal: an FPRAS for common bases in the independence-oracle model (Theorem 1.1)

There is a single randomized oracle algorithm and a fixed polynomial ppp such that, for all rank-rrr matroids M1,M2M_1,M_2M1​,M2​ on [n][n][n] and rational ϵ,δ∈(0,1)\epsilon,\delta\in(0,1)ϵ,δ∈(0,1), it outputs a nonnegative rational Z^\widehat ZZ with

Pr⁡[(1−ϵ)Z≤Z^≤(1+ϵ)Z] ≥ 1−δ,\Pr\bigl[(1-\epsilon)Z\le\widehat Z\le(1+\epsilon)Z\bigr]\ \ge\ 1-\delta,Pr[(1−ϵ)Z≤Z≤(1+ϵ)Z] ≥ 1−δ,

the output is always 000 when Z=0Z=0Z=0, and on every execution the numbers of oracle calls and bit operations are at most p(n,ℓ,ϵ−1,log⁡δ−1)p(n,\ell,\epsilon^{-1},\log\delta^{-1})p(n,ℓ,ϵ−1,logδ−1). The algorithm uses only independent fair random bits. The goal statement is published on the platform with status Open.

Significance

The result itself. Theorem 1.1 answers the question recorded by Liu (2023) and extends both the single-matroid FPRAS of Anari–Liu–Oveis Gharan–Vinzant and, in the bipartite-matching case, the permanent FPRAS of Jerrum–Sinclair–Vigoda. It needs no representation of either matroid and holds for unrestricted rank, whereas the previous oracle-model scheme was fully polynomial only for r=O(log⁡n)r=O(\log n)r=O(logn). The source derives FPRASs and almost-uniform samplers for common independent sets of prescribed, unrestricted or maximum size, even for matroids of different ranks (Corollary 9.1).

Formalizing it. The Lean goal fixes a concrete machine model, so it states a complete complexity-theoretic claim with no informal "polynomial-time" left. A proof would combine Lorentzian-polynomial inequalities (Brändén–Huh), a transport inequality, a Markov-chain Poincaré bound, and simulated annealing with explicit bit accounting. Each layer is reusable: Mathlib has matroids, but no Lorentzian polynomials, no mixing-time theory of this kind and no randomized-algorithm framework.

Difficulty

For one matroid, the bases-exchange walk mixes rapidly because the basis generating polynomial is log-concave. The intersection of two matroids has no such structure: its common bases need not be connected by short exchanges, and the natural chain on transversals of the paired construction passes through states of exponentially small weight, so positivity and connectivity alone give no polynomial bound. Earlier approaches either lost exponential factors or needed real-stable polynomials that an independence oracle does not provide. The proof must balance defect classes, as in Jerrum–Sinclair–Vigoda, and establish a Poincaré inequality for observables from matroid-theoretic inequalities alone.

Formalization scope

  • Matroids are Mathlib Matroid (Fin n) with ground set univ and eRank = r for both. Oracles are functions Bool → (Fin n → Bool) → Bool, required to answer independence queries exactly.
  • The algorithm is one fixed Program k s for a register machine with k+8k+8k+8 binary stacks: push/pop, fair coin, oracle query on an nnn-bit register, and halt with output (register 6)/(register 7) as a rational. Inputs n,r,ϵ,δn,r,\epsilon,\deltan,r,ϵ,δ are loaded in binary.
  • The resource bound is B=C(1+n+ℓ+⌈ϵ−1⌉+⌈log⁡2⌈δ−1⌉⌉)dB=C(1+n+\ell+\lceil\epsilon^{-1}\rceil+\lceil\log_2\lceil\delta^{-1}\rceil\rceil)^dB=C(1+n+ℓ+⌈ϵ−1⌉+⌈log2​⌈δ−1⌉⌉)d with constants C>0,dC>0,dC>0,d fixed before the instance. For every infinite bit stream, the run halts within BBB steps with at most BBB oracle calls and BBB bit operations, outputs a nonnegative rational, and outputs 000 when Z=0Z=0Z=0.
  • The success probability is expressed by counting: at least (1−δ)2B(1-\delta)2^B(1−δ)2B of the 2B2^B2B bit strings of length BBB lead to an output within relative error ϵ\epsilonϵ of ZZZ.
  • A trivializing reading is excluded: the program and constants come first and must work for every n,rn,rn,r, matroid pair, oracle and ϵ,δ\epsilon,\deltaϵ,δ.
  • Needed infrastructure: Lorentzian polynomials and the homogeneous Tutte inequalities, Markov chains on finite state spaces with Poincaré/variance bounds, annealing estimators, and correctness proofs for the register machine. Contributions on any layer are welcome.

Selected references

  • J. Edmonds, Matroid intersection, Ann. Discrete Math. 4 (1979), 39–49. https://doi.org/10.1016/S0167-5060(08)70817-3
  • T. Feder and M. Mihail, Balanced matroids, STOC 1992. https://doi.org/10.1145/129712.129716
  • M. Jerrum, A. Sinclair and E. Vigoda, A polynomial-time approximation algorithm for the permanent of a matrix with nonnegative entries, J. ACM 51 (2004), 671–697. https://doi.org/10.1145/1008731.1008738
  • A. Barvinok and A. Samorodnitsky, Random weighting, asymptotic counting, and inverse isoperimetry, Israel J. Math. 158 (2007). https://doi.org/10.1007/s11856-007-0008-8
  • P. Brändén and J. Huh, Lorentzian polynomials, Ann. of Math. 192 (2020), 821–891. https://doi.org/10.4007/annals.2020.192.3.4
  • N. Anari, S. Oveis Gharan and C. Vinzant, Log-concave polynomials I, Duke Math. J. 170 (2021). https://doi.org/10.1215/00127094-2020-0091
  • M. Cryan, H. Guo and G. Mousa, Modified log-Sobolev inequalities for strongly log-concave distributions, Ann. Probab. 49 (2021). https://doi.org/10.1214/20-AOP1453
  • N. Anari, K. Liu, S. Oveis Gharan and C. Vinzant, Log-concave polynomials II: high-dimensional walks and an FPRAS for counting bases of a matroid, Ann. of Math. 199 (2024). https://doi.org/10.4007/annals.2024.199.1.4
  • K. Liu, Spectral Independence: A New Tool to Analyze Markov Chains, PhD thesis, University of Washington, 2023. https://kuikuiliu.github.io/files/dissertation.pdf
  • OpenAI, Approximate counting of common bases of two matroids, OpenAI Math Release preprint, September 23, 2026 (Theorem 1.1, p. 2). https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/Approximate-counting-of-common-bases-of-two-matroids-September-23-2026/main.pdf
2 thms1 active userReviewed
CombinatoricsTheoretical Computer Science·Captain: wurtle

A Fully Polynomial Randomized Approximation Scheme for Perfect Matchings in General GraphsResearch Paper

Motivation: approximately counting perfect matchings

A perfect matching of a graph is a set of edges covering every vertex exactly once. Finding one is easy — Edmonds (1965) gave a polynomial-time algorithm for general graphs — but counting them is hard: Valiant (1979) proved exact counting #P-complete already for bipartite graphs, where the count is the permanent of a 0–1 matrix. Exact counting is tractable only in special classes, such as planar graphs via Pfaffians (Kasteleyn 1963). The natural relaxation is a fully polynomial randomized approximation scheme (FPRAS): an algorithm that, with probability at least 1−δ1-\delta1−δ, returns the count within relative error ε\varepsilonε, in time polynomial in the input size, 1/ε1/\varepsilon1/ε and log⁡(1/δ)\log(1/\delta)log(1/δ). Whether perfect matchings in general (nonbipartite) graphs admit an FPRAS was explicitly raised by Jerrum and Sinclair in 1989 and has been a benchmark question in approximate counting since. Perfect-matching counts are partition functions of the monomer–dimer model, so the question also connects to statistical physics.

Timeline

  • 1963 — Kasteleyn: exact counting of perfect matchings in planar graphs (J. Math. Phys. 1963).
  • 1965 — Edmonds: polynomial-time maximum matching in general graphs (Canad. J. Math. 1965).
  • 1979 — Valiant: computing the permanent is #P-complete (TCS 1979).
  • 1986 — Jerrum, Valiant and Vazirani: equivalence of approximate counting and almost-uniform sampling for self-reducible problems (TCS 1986).
  • 1989 — Jerrum and Sinclair: FPRAS for the number of all matchings in any graph, and for perfect matchings when the near-perfect/perfect ratio is polynomially bounded; they raise the general question (SIAM J. Comput. 1989, Section 7(i)).
  • 2004 — Jerrum, Sinclair and Vigoda: FPRAS for the permanent of every nonnegative matrix, i.e. bipartite perfect matchings (J. ACM 2004); accelerated by Bezáková, Štefankovič, Vazirani and Vigoda (SIAM J. Comput. 2008).
  • 2018 — Štefankovič, Vigoda and Wilmes: graphs on which every chain of Jerrum–Sinclair–Vigoda type either gives perfect matchings exponentially small mass or mixes exponentially slowly (LATIN 2018).
  • 2020–2025 — Cai and Liu relate the problem to the eight-vertex model (ICALP 2020); Fei, Goldberg and Lu locate it among two-state spin systems (Inf. Comput. 2025).
  • 2026 — Further permanent speedups by Chen, Vigoda and Yang (arXiv:2608.26599) and Chen, Guo, Vigoda and Yang (arXiv:2609.20717); deterministic hafnian approximation for dense graphs by Yi (arXiv:2609.04079). An OpenAI preprint, A Fully Polynomial Randomized Approximation Scheme for Perfect Matchings in General Graphs (OpenAI Math Release, September 23, 2026), claims an FPRAS for every finite simple graph. The preprint has not been peer reviewed, and its main theorem is not formally verified.

Setting

A finite simple undirected graph GGG on vertices {0,…,n−1}\{0,\dots,n-1\}{0,…,n−1} is given by a set of edges, each written once as a pair (u,v)(u,v)(u,v) with u<vu<vu<v. A set M⊆EM\subseteq EM⊆E is a perfect matching if every vertex lies in exactly one edge of MMM, and

Z(G)=#{M⊆E:M is a perfect matching of G}.Z(G)=\#\{M\subseteq E: M\text{ is a perfect matching of }G\}.Z(G)=#{M⊆E:M is a perfect matching of G}.

(The graph with no vertices has Z=1Z=1Z=1; any graph with an odd number of vertices has Z=0Z=0Z=0.)

A randomized algorithm is modelled as a single fixed machine with a finite transition table over a finite tape alphabet, which at each step reads the current tape symbol and one fresh fair random bit, then writes, moves, or halts. The input is the graph in binary (number of vertices, number of edges, the sorted edge list) followed by the rationals ε\varepsilonε and δ\deltaδ in reduced form; the output is a rational number written on the tape when the machine halts.

Formalization targets

Goal: Theorem 1.1 (FPRAS for perfect matchings)

There are a machine AAA and constants C>0C>0C>0, ddd such that for every graph GGG and rationals 0<ε<10<\varepsilon<10<ε<1, 0<δ<1/20<\delta<1/20<δ<1/2, with t=C (∣input∣+⌈ε−1⌉+⌈log⁡2⌈δ−1⌉⌉+1)dt=C\,(|\mathrm{input}|+\lceil\varepsilon^{-1}\rceil+\lceil\log_2\lceil\delta^{-1}\rceil\rceil+1)^dt=C(∣input∣+⌈ε−1⌉+⌈log2​⌈δ−1⌉⌉+1)d:

  • on every random string of length ttt, AAA halts within ttt steps with a nonnegative rational output Z^\widehat ZZ;
  • if Z(G)=0Z(G)=0Z(G)=0, the output is 000 on every random string;
Pr⁡bits[(1−ε)Z(G)≤Z^≤(1+ε)Z(G)]  ≥  1−δ.\Pr_{\text{bits}}\big[(1-\varepsilon)Z(G)\le\widehat Z\le(1+\varepsilon)Z(G)\big]\;\ge\;1-\delta.bitsPr​[(1−ε)Z(G)≤Z≤(1+ε)Z(G)]≥1−δ.

The goal statement is published on the platform with status Open: no machine-checked proof exists yet.

Significance

The result itself. The theorem answers the Jerrum–Sinclair question affirmatively: perfect matchings in arbitrary graphs can be approximately counted as efficiently, up to polynomial factors, as in the bipartite case. The worst-case time bound holds for every execution, not just in expectation. Via standard reductions, the source also derives counting schemes for edge subsets with prescribed vertex degrees and for matchings of a fixed size (Corollary 10.1). The accompanying samplers for those families always return a feasible object and approximate the uniform law in total variation.

Formalizing it. The statement fixes a concrete machine model, input encoding and time bound, so a formal proof would certify both correctness of the estimator and the polynomial running time of an explicit algorithm — a level of rigor rarely reached for Markov-chain Monte Carlo results, whose analyses involve many interacting constants.

Difficulty

The natural approach extends the Jerrum–Sinclair–Vigoda Markov chain on perfect and near-perfect matchings, with weights learned while edge activities are gradually lowered. In general graphs this approach provably fails: Štefankovič, Vigoda and Wilmes constructed graphs on which every chain of that type, for any hole-dependent weights, has either exponentially small stationary mass on perfect matchings or exponentially slow mixing. Odd cycles (blossoms) are the reason the bipartite canonical-path arguments do not carry over. A solution needs a different state space and a different mixing analysis.

Formalization scope

  • GraphInput is a vertex count n and a Finset (Fin n × Fin n) of edges with strictly increasing endpoints, so loops and duplicate edges are excluded. Perfect G M requires M ⊆ edges and that each vertex is incident to exactly one edge of M; Z G is the number of such M.
  • The machine model is RandomMachine: a finite transition table on Fin 8 symbols, whose step consumes one random bit and performs a Turing.TM0 write or move, or halts. run folds tick over a list of t bits; halted configurations are absorbing.
  • encodeInput writes the vertex count, edge count and lexicographically sorted edges in binary, then encodeRat ε and encodeRat δ (reduced numerator with sign, denominator). Outputs requires that the machine has halted and the tape to the right of the head is exactly the encoding of the output rational.
  • The time bound is a fixed polynomial with natural ceilings; the success probability is the fraction of good tapes among all 2t2^t2t tapes.
  • The scheme must be uniform: one machine for all inputs, quantified before the graph. A trivializing reading is excluded because every tape must halt within the bound with a nonnegative output, and zero must be returned exactly when Z(G)=0Z(G)=0Z(G)=0.
  • Infrastructure needed: a compiler-style layer turning structured randomized algorithms into RandomMachine transitions, Markov-chain spectral-gap bounds, and sampling-to-counting reductions. The machine model and encodings are reusable for other approximate-counting missions.

Selected references

  • P. W. Kasteleyn, Dimer statistics and phase transitions, J. Math. Phys. 4 (1963), 287–293. https://doi.org/10.1063/1.1703953
  • J. Edmonds, Paths, trees, and flowers, Canad. J. Math. 17 (1965), 449–467. https://doi.org/10.4153/CJM-1965-045-4
  • L. G. Valiant, The complexity of computing the permanent, Theoret. Comput. Sci. 8 (1979), 189–201. https://doi.org/10.1016/0304-3975(79)90044-6
  • M. R. Jerrum, L. G. Valiant, V. V. Vazirani, Random generation of combinatorial structures from a uniform distribution, Theoret. Comput. Sci. 43 (1986), 169–188. https://doi.org/10.1016/0304-3975(86)90174-X
  • M. Jerrum, A. Sinclair, Approximating the permanent, SIAM J. Comput. 18 (1989), 1149–1178. https://doi.org/10.1137/0218077
  • M. Jerrum, A. Sinclair, E. Vigoda, A polynomial-time approximation algorithm for the permanent of a matrix with nonnegative entries, J. ACM 51 (2004), 671–697. https://doi.org/10.1145/1008731.1008738
  • I. Bezáková, D. Štefankovič, V. V. Vazirani, E. Vigoda, Accelerating simulated annealing for the permanent and combinatorial counting problems, SIAM J. Comput. 37 (2008), 1429–1454. https://doi.org/10.1137/050644033
  • D. Štefankovič, E. Vigoda, J. Wilmes, On counting perfect matchings in general graphs, LATIN 2018, LNCS 10807, 873–885. https://doi.org/10.1007/978-3-319-77404-6_63
  • J.-Y. Cai, T. Liu, Counting perfect matchings and the eight-vertex model, ICALP 2020, LIPIcs 168, 23:1–23:18. https://doi.org/10.4230/LIPIcs.ICALP.2020.23
  • Y. Fei, L. A. Goldberg, P. Lu, Two-state spin systems with negative interactions, Inf. Comput. 307 (2025), 105340. https://doi.org/10.1016/j.ic.2025.105340
  • OpenAI, A Fully Polynomial Randomized Approximation Scheme for Perfect Matchings in General Graphs, OpenAI Math Release preprint, September 23, 2026 (source of the goal; Theorem 1.1, p. 2). https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/A-Fully-Polynomial-Randomized-Approximation-Scheme-for-Perfect-Matchings-in-General-Graphs-September-23-2026/main.pdf
2 thms1 active userReviewed
ProbabilityReinforcement LearningStochastic Systems·Captain: mikedeng1

On Actor-Critic Algorithms: Convergence of Actor-Critic Algorithms with TD(1) and TD(λ) Critics on Finite MDPsResearch Paper

Motivation

Reinforcement-learning methods for Markov decision processes split into critic-only methods, which learn an approximate value function and act greedily with respect to it, and actor-only methods, which adjust a parameterized policy along a simulated estimate of the gradient of its performance. Critic-only methods with function approximation can fail to converge; actor-only gradient estimates have high variance. Actor–critic methods combine the two: a critic learns, by temporal-difference (TD) learning, just enough about the value function to give the actor a low-variance gradient direction.

Konda and Tsitsiklis (SIAM J. Control Optim. 42 (2003)) gave the first convergence proof for actor–critic algorithms whose critic uses linear function approximation. Their key observation, found independently by Sutton, McAllester, Singh and Mansour (NIPS 1999), is that the critic need not approximate the value function: it suffices to compute its projection onto a low-dimensional subspace spanned by features determined by the policy parameterization. Earlier convergence results (Konda and Borkar, 1999) covered lookup-table representations only. Actor–critic algorithms, in many later variants, are now a standard tool of reinforcement learning, and this paper is the reference for their asymptotic analysis in the average-cost setting.

Setting

A finite cost MDP consists of finite sets X\mathbb XX (states) and U\mathbb UU (actions), transition probabilities p(y∣x,u)p(y\mid x,u)p(y∣x,u) and a one-stage cost c(x,u)∈Rc(x,u)\in\mathbb Rc(x,u)∈R. A randomized stationary policy with parameter θ∈Rn\theta\in\mathbb R^nθ∈Rn chooses action uuu in state xxx with probability μθ(u∣x)\mu_\theta(u\mid x)μθ​(u∣x). Under the policy θ\thetaθ, the states {Xk}\{X_k\}{Xk​} form a Markov chain with transition matrix P(θ)xy=∑uμθ(u∣x)p(y∣x,u)P(\theta)_{xy}=\sum_u\mu_\theta(u\mid x)p(y\mid x,u)P(θ)xy​=∑u​μθ​(u∣x)p(y∣x,u), and the pairs {Xk,Uk}\{X_k,U_k\}{Xk​,Uk​} a chain with matrix PθP_\thetaPθ​. When these chains are irreducible and aperiodic, πθ\pi_\thetaπθ​ denotes the stationary law of {Xk}\{X_k\}{Xk​}, ηθ(x,u)=πθ(x)μθ(u∣x)\eta_\theta(x,u)=\pi_\theta(x)\mu_\theta(u\mid x)ηθ​(x,u)=πθ​(x)μθ​(u∣x), and the average cost is

αˉ(θ)=∑x,uc(x,u) ηθ(x,u).\bar\alpha(\theta)=\sum_{x,u}c(x,u)\,\eta_\theta(x,u).αˉ(θ)=x,u∑​c(x,u)ηθ​(x,u).

The score is ψθ(x,u)=∇ln⁡μθ(u∣x)∈Rn\psi_\theta(x,u)=\nabla\ln\mu_\theta(u\mid x)\in\mathbb R^nψθ​(x,u)=∇lnμθ​(u∣x)∈Rn, and ⟨f,g⟩θ=∑x,uηθ(x,u)f(x,u)g(x,u)\langle f,g\rangle_\theta=\sum_{x,u}\eta_\theta(x,u)f(x,u)g(x,u)⟨f,g⟩θ​=∑x,u​ηθ​(x,u)f(x,u)g(x,u).

The critic approximates Q-values by r′ϕθ(x,u)r'\phi_\theta(x,u)r′ϕθ​(x,u) with features ϕθ(x,u)∈Rm\phi_\theta(x,u)\in\mathbb R^mϕθ​(x,u)∈Rm whose span contains the components of ψθ\psi_\thetaψθ​. Along one simulated trajectory (X^k,U^k)(\hat X_k,\hat U_k)(X^k​,U^k​), where U^k+1\hat U_{k+1}U^k+1​ is drawn from μθk(⋅∣X^k+1)\mu_{\theta_k}(\cdot\mid\hat X_{k+1})μθk​​(⋅∣X^k+1​), the algorithm updates an average-cost estimate αk\alpha_kαk​, the critic parameter rkr_krk​ and an eligibility trace Z^k\hat Z_kZ^k​ at step size γk\gamma_kγk​ (equation (3.1)), and the actor parameter by

θk+1=θk−βkΓ(rk) rk′ϕθk(X^k+1,U^k+1) ψθk(X^k+1,U^k+1)(3.2)\theta_{k+1}=\theta_k-\beta_k\Gamma(r_k)\,r_k'\phi_{\theta_k}(\hat X_{k+1},\hat U_{k+1})\,\psi_{\theta_k}(\hat X_{k+1},\hat U_{k+1})\qquad(3.2)θk+1​=θk​−βk​Γ(rk​)rk′​ϕθk​​(X^k+1​,U^k+1​)ψθk​​(X^k+1​,U^k+1​)(3.2)

at a slower step size βk\beta_kβk​. The TD(1) critic resets its trace when the state x∗x^*x∗ is entered; the TD(λ\lambdaλ) critic discounts it by λ∈(0,1)\lambda\in(0,1)λ∈(0,1).

Formalization targets

Goal: Theorem 3.4

Under Assumptions 2.1 (positive, smooth policies; irreducible aperiodic chains; uniform reachability of x∗x^*x∗), 3.1–3.2 (bounded smooth features spanning the scores, uniformly nondegenerate) and 3.3 (two-time-scale step sizes and the scaling Γ\GammaΓ),

(a) TD(1):  lim inf⁡k∣∇αˉ(θk)∣=0  w.p.1;(b) ∀ϵ>0 ∃λˉ<1 ∀λ∈[λˉ,1): lim inf⁡k∣∇αˉ(θk)∣<ϵ  w.p.1.\text{(a) TD(1): }\ \liminf_k|\nabla\bar\alpha(\theta_k)|=0\ \text{ w.p.1};\qquad \text{(b) }\forall\epsilon>0\ \exists\bar\lambda<1\ \forall\lambda\in[\bar\lambda,1):\ \liminf_k|\nabla\bar\alpha(\theta_k)|<\epsilon\ \text{ w.p.1}.(a) TD(1):  kliminf​∣∇αˉ(θk​)∣=0  w.p.1;(b) ∀ϵ>0 ∃λˉ<1 ∀λ∈[λˉ,1): kliminf​∣∇αˉ(θk​)∣<ϵ  w.p.1.

The statement leaves the initial parameters and the initial state–action law arbitrary.

Milestones

In attack order: the gradient formula ∇αˉ(θ)=⟨ψθ,Qθ⟩θ\nabla\bar\alpha(\theta)=\langle\psi_\theta,Q_\theta\rangle_\theta∇αˉ(θ)=⟨ψθ​,Qθ​⟩θ​ for every Poisson solution, with bounded Hessian (Theorem 4.6); boundedness of the regenerative quantities (Lemma 5.1) and of the trace moments (Lemma 5.2); uniform positive definiteness of the critic's mean matrix Gˉ(θ)\bar G(\theta)Gˉ(θ) for TD(1) and TD(λ\lambdaλ) (Lemmas 5.3, 5.6); critic tracking, ∣Gˉ(θk)Rk−hˉ(θk)∣→0|\bar G(\theta_k)R_k-\bar h(\theta_k)|\to0∣Gˉ(θk​)Rk​−hˉ(θk​)∣→0 (Theorem 5.7); the bias of the actor direction, sup⁡θ∣f(θ)−∇αˉ(θ)∣≤C(1−λ)\sup_\theta|f(\theta)-\nabla\bar\alpha(\theta)|\le C(1-\lambda)supθ​∣f(θ)−∇αˉ(θ)∣≤C(1−λ) (Lemma 6.1); the descent inequality (6.1); and the convergence of the noise terms (Lemma 6.2).

Significance

The theorem says that a policy-gradient method whose gradient is estimated by a linearly parameterized TD critic, rather than by Monte Carlo returns, still converges to a stationary point of the average cost (exactly for TD(1), approximately for TD(λ\lambdaλ)). It justifies the compatible features principle (the critic's features must span the score functions), the two-time-scale step-size design, and the trade-off in λ\lambdaλ between variance and bias of the actor direction. The intermediate results are of independent use: Theorem 4.6 is the average-cost policy-gradient theorem for arbitrary Poisson solutions, and Theorem 5.7 is a tracking result for linear stochastic approximation driven by a Markov chain whose kernel changes slowly.

The result is proved in the paper, but the proofs of Theorem 4.6, of parts of the verification of the stochastic-approximation hypotheses and of Theorem 6.3 are given as outlines, with details deferred to a separate appendix and to Theorem A.7, recalled from another paper. No machine-checked proof of the theorem, or of the convergence of any actor–critic method, is known. The mission asks for a formal proof of the finite-case theorem and its milestones, which fills in the outlined steps. The finite-case gradient formula of §2 (Theorem 2.2, recalled from Marbach and Tsitsiklis) is posed, unproved, elsewhere on the platform in a reward-MDP form; it is a special case of milestone Theorem 4.6.

Difficulty

The obvious argument treats the actor as a stochastic gradient method with a noisy gradient estimate. It fails at the first step: the critic's estimate rk′ϕθkr_k'\phi_{\theta_k}rk′​ϕθk​​ is biased at every finite time, and the bias does not vanish unless the critic converges, while the critic's target rˉ(θk)\bar r(\theta_k)rˉ(θk​) moves with the actor. The noise is Markovian, generated by a chain whose transition kernel depends on the current parameter, not a martingale difference sequence. Making the two time scales interact correctly requires a Poisson-equation decomposition of the Markov noise that is uniform in θ\thetaθ, together with moment bounds for the eligibility trace, which for TD(1) is an unbounded sum over a regeneration cycle. Uniformity in θ\thetaθ is essential, because the actor iterates θk\theta_kθk​ are not assumed to stay in a bounded set.

Formalization scope

State and action sets are finite types; parameters live in EuclideanSpace ℝ (Fin n) and EuclideanSpace ℝ (Fin m), so ∣⋅∣|\cdot|∣⋅∣ is the Euclidean norm and Mathlib's gradient is ∇\nabla∇. The transition probability p(y∣x,u)p(y\mid x,u)p(y∣x,u) is stored as p x u y. πθ\pi_\thetaπθ​ is a stationary probability vector of P(θ)P(\theta)P(θ), unique under Assumption 2.1(c). The law of the simulated path is built on (X×U)N(\mathbb X\times\mathbb U)^{\mathbb N}(X×U)N by the Ionescu-Tulcea construction (Kernel.trajMeasure), with the next action drawn under the actor parameter that the recursion computes from the history; nothing about the critic or the actor's behaviour is assumed.

Readings and corrections, each also recorded in the affected items:

  • Assumption 3.3(b) is corrected. The printed ∣r∣Γ(r)∈[C1,C2]|r|\Gamma(r)\in[C_1,C_2]∣r∣Γ(r)∈[C1​,C2​] for all rrr is unsatisfiable at r=0r=0r=0 and would make the theorem vacuous; it is formalized as (1+∣r∣)Γ(r)∈[C1,C2](1+|r|)\Gamma(r)\in[C_1,C_2](1+∣r∣)Γ(r)∈[C1​,C2​], which Γ(r)=1/(1+∣r∣)\Gamma(r)=1/(1+|r|)Γ(r)=1/(1+∣r∣) satisfies. The second inequality of (3.3) is quantified over Rm\mathbb R^mRm, the domain of Γ\GammaΓ, not the printed Rn\mathbb R^nRn.
  • Assumption 4.9 (the features have zero mean under μθ(⋅∣x∗)\mu_\theta(\cdot\mid x^*)μθ​(⋅∣x∗)) is added to part (a), and to the TD(1) cases of Theorem 5.7 and Lemma 6.2: the TD(1) analysis uses it and Theorem 6.3 assumes it, though Theorem 3.4 does not list it.
  • "λ\lambdaλ sufficiently close to 1" means: some λˉ<1\bar\lambda<1λˉ<1 such that all λ∈[λˉ,1)\lambda\in[\bar\lambda,1)λ∈[λˉ,1) work.
  • The α\alphaα-update of (3.1) uses c(X^k+1,U^k+1)c(\hat X_{k+1},\hat U_{k+1})c(X^k+1​,U^k+1​) as printed.
  • In (6.1), Γ(rˉ(θ))\Gamma(\bar r(\theta))Γ(rˉ(θ)) is read as Γ(rˉ(θk))\Gamma(\bar r(\theta_k))Γ(rˉ(θk​)).
  • The matrix ⟨Pθk+1ϕθ,ϕθ′⟩θ\langle P_\theta^{k+1}\phi_\theta,\phi_\theta'\rangle_\theta⟨Pθk+1​ϕθ​,ϕθ′​⟩θ​ in the TD(λ\lambdaλ) Gˉ1\bar G_1Gˉ1​ is oriented so that Gˉ1\bar G_1Gˉ1​ is the steady-state mean of the critic's update matrix.
  • Results stated in the paper for Polish spaces (Theorems 4.6, 5.7) are stated under the finite assumptions that the paper says imply them; "w.p.1" in Theorem 5.7 is made explicit.

The lim inf⁡\liminfliminf is taken in [0,∞][0,\infty][0,∞], so a sequence with ∣∇αˉ(θk)∣→∞|\nabla\bar\alpha(\theta_k)|\to\infty∣∇αˉ(θk​)∣→∞ cannot satisfy the conclusion through a junk value, and differentiability of αˉ\bar\alphaαˉ is part of the conclusion, so the statement cannot hold because Lean's gradient returns 000 at non-differentiable points. Series (tsum) and matrix inverses in the milestone objects converge, respectively are invertible, under the assumptions. The hypotheses are satisfiable: Γ(r)=1/(1+∣r∣)\Gamma(r)=1/(1+|r|)Γ(r)=1/(1+∣r∣), βk=(k+1)−1\beta_k=(k+1)^{-1}βk​=(k+1)−1, γk=(k+1)−2/3\gamma_k=(k+1)^{-2/3}γk​=(k+1)−2/3 and the features ϕθ=ψθ\phi_\theta=\psi_\thetaϕθ​=ψθ​ (which satisfy Assumption 4.9 at every state) meet the parts that could be in doubt.

A complete development needs finite Markov-chain theory uniform in a parameter (existence, uniqueness and smooth dependence of stationary laws; geometric ergodicity; Poisson equations; regeneration), differentiation of θ↦πθ\theta\mapsto\pi_\thetaθ↦πθ​, almost-sure convergence of linear stochastic approximation with Markov noise, and martingale convergence. The Markov-chain and stochastic-approximation parts are reusable well beyond this mission. Contributions of proofs of any milestone, of auxiliary lemmas on parameterized finite Markov chains, and of the general two-time-scale tracking theorem (the paper's Theorem A.7) are welcome.

Selected references

  • V. R. Konda and J. N. Tsitsiklis, On Actor-Critic Algorithms, SIAM J. Control Optim. 42(4), 1143–1166, 2003. https://doi.org/10.1137/S0363012901385691
  • R. S. Sutton, D. McAllester, S. Singh and Y. Mansour, Policy Gradient Methods for Reinforcement Learning with Function Approximation, NIPS 12, 2000. https://papers.nips.cc/paper/1713-policy-gradient-methods-for-reinforcement-learning-with-function-approximation
  • V. R. Konda and V. S. Borkar, Actor-Critic–Type Learning Algorithms for Markov Decision Processes, SIAM J. Control Optim. 38(1), 94–123, 1999. https://doi.org/10.1137/S036301299731669X
  • J. N. Tsitsiklis and B. Van Roy, Average Cost Temporal-Difference Learning, Automatica 35(11), 1799–1808, 1999. https://doi.org/10.1016/S0005-1098(99)00099-0
  • P. Marbach and J. N. Tsitsiklis, Simulation-Based Optimization of Markov Reward Processes, IEEE Trans. Automat. Control 46(2), 191–209, 2001. https://doi.org/10.1109/9.905687
14 thms1 active userReviewed
Algorithmic Game TheoryProbability·Captain: mikedeng1

The Evolution of Conventions III: In 2 × 2 Games with Two Strict Equilibria, the Generically Stable Equilibria of Adaptive Play Are the Weakly Risk Dominant OnesResearch Paper

Motivation

Many games have several strict Nash equilibria, and equilibrium analysis alone does not say which one a population will settle on. Harsanyi and Selten (1988) proposed risk dominance as a selection criterion for 2×22\times22×2 games: of two strict equilibria, select the one whose basin is "larger" in a precise payoff sense. That criterion is axiomatic. H. Peyton Young's The Evolution of Conventions (Econometrica, 1993) derives a selection from a dynamic model instead: boundedly rational players with finite memory, incomplete information about the past and occasional mistakes. Its Theorem 3 says that, in 2×22\times22×2 games, the dynamic selection and risk dominance coincide.

Timeline.

  • 1984. Freidlin and Wentzell develop the theory of small random perturbations of dynamical systems, including the tree characterization of limiting stationary measures.
  • 1990. Foster and Young introduce stochastic stability for evolutionary processes with vanishing noise.
  • 1993. Kandori, Mailath and Rob prove that in symmetric 2×22\times22×2 games with a single population, the long-run equilibrium of a mutation process is the risk dominant one. Young (1993) proves the same selection for adaptive play, a two-population model with sampling from a finite memory, for every 2×22\times22×2 game with two strict equilibria, not only symmetric ones. Its Example 3 shows that in 3×33\times33×3 games the selected equilibrium can differ from both the risk dominant and the Pareto optimal one.

Setting

A finite game Γ\GammaΓ has players iii with finite strategy sets SiS_iSi​ and payoffs ui(s)u_i(s)ui​(s). Fix a memory mmm and a sample size kkk with 1≤k≤m1\le k\le m1≤k≤m. A state is the sequence hhh of the last mmm plays (strategy-tuples), oldest first; a successor of hhh drops the oldest play and appends a new one. In each period each player draws a sample of kkk of the mmm recorded plays and chooses a best reply to it (maximizing total payoff against the sampled plays). The choice probabilities pi(s∣h)p_i(s\mid h)pi​(s∣h) form a best-reply distribution: pi(s∣h)>0p_i(s\mid h)>0pi​(s∣h)>0 exactly when sss is a best reply to some sample of size kkk. This gives adaptive play P0P^0P0, display (1).

With mistakes, each player iii independently experiments with probability ελi\varepsilon\lambda_iελi​ and then plays sss with probability qi(s∣h)>0q_i(s\mid h)>0qi​(s∣h)>0. This gives the perturbed chain PεP^\varepsilonPε of display (2). It has a unique stationary distribution με\mu^\varepsilonμε. A state hhh is stochastically stable if lim⁡ε→0μhε>0\lim_{\varepsilon\to0}\mu^\varepsilon_h>0limε→0​μhε​>0. A convention is mmm repetitions of a strict pure Nash equilibrium. With LΓL_\GammaLΓ​ the longest shortest best-reply path to a strict equilibrium, a strict equilibrium is generically stable if its convention is stochastically stable for all sufficiently large kkk and all mmm with k≤m/(LΓ+2)k\le m/(L_\Gamma+2)k≤m/(LΓ​+2).

For a 2×22\times22×2 game in normal form, with Row's payoffs arca_{rc}arc​ and Column's brcb_{rc}brc​ satisfying a11>a21a_{11}>a_{21}a11​>a21​, b11>b12b_{11}>b_{12}b11​>b12​, a22>a12a_{22}>a_{12}a22​>a12​, b22>b21b_{22}>b_{21}b22​>b21​, set

R1=min⁡{a11−a21a11−a12−a21+a22,b11−b12b11−b12−b21+b22},R2=min⁡{a22−a12a11−a12−a21+a22,b22−b21b11−b12−b21+b22}.R_1=\min\Big\{\tfrac{a_{11}-a_{21}}{a_{11}-a_{12}-a_{21}+a_{22}},\tfrac{b_{11}-b_{12}}{b_{11}-b_{12}-b_{21}+b_{22}}\Big\},\qquad R_2=\min\Big\{\tfrac{a_{22}-a_{12}}{a_{11}-a_{12}-a_{21}+a_{22}},\tfrac{b_{22}-b_{21}}{b_{11}-b_{12}-b_{21}+b_{22}}\Big\}.R1​=min{a11​−a12​−a21​+a22​a11​−a21​​,b11​−b12​−b21​+b22​b11​−b12​​},R2​=min{a11​−a12​−a21​+a22​a22​−a12​​,b11​−b12​−b21​+b22​b22​−b21​​}.

(1,1)(1,1)(1,1) weakly risk dominates (2,2)(2,2)(2,2) if R1≥R2R_1\ge R_2R1​≥R2​.

Formalization targets

Goal: Theorem 3 (p. 72)

(1,1) generically stable  ⟺  R1≥R2,(2,2) generically stable  ⟺  R2≥R1.(1,1)\text{ generically stable}\iff R_1\ge R_2,\qquad (2,2)\text{ generically stable}\iff R_2\ge R_1.(1,1) generically stable⟺R1​≥R2​,(2,2) generically stable⟺R2​≥R1​.

This holds for every 2×22\times22×2 game in normal form, for every best-reply distribution and every admissible experimentation.

Milestones, in the order the proof uses them

  1. PεP^\varepsilonPε is irreducible and aperiodic and has a unique stationary distribution (§6, pp. 67–68).
  2. (2) is a regular perturbation of (1): Pε→P0P^\varepsilon\to P^0Pε→P0, and Phh′εP^\varepsilon_{hh'}Phh′ε​ is of exact order εr(h,h′)\varepsilon^{r(h,h')}εr(h,h′), with r(h,h′)r(h,h')r(h,h′) the number of mistakes (Appendix, p. 77).
  3. Theorem 2 (p. 69): the stochastically stable states are those in the recurrent classes of P0P^0P0 of minimum stochastic potential, independently of λ\lambdaλ and qqq.
  4. Corollary (p. 70): for weakly acyclic games with k≤m/(LΓ+2)k\le m/(L_\Gamma+2)k≤m/(LΓ​+2), the stable states are the conventions of minimum stochastic potential.
  5. The 2×22\times22×2 case is acyclic with LΓ=1L_\Gamma=1LΓ​=1, and for k≤m/3k\le m/3k≤m/3 the recurrent classes of P0P^0P0 are {h1}\{h_1\}{h1​} and {h2}\{h_2\}{h2​} (p. 70).
  6. r12=⌈R1k⌉r_{12}=\lceil R_1k\rceilr12​=⌈R1​k⌉ and 7. r21=⌈R2k⌉r_{21}=\lceil R_2k\rceilr21​=⌈R2​k⌉ (pp. 71–72).
  7. If R1>R2R_1>R_2R1​>R2​, then h1h_1h1​ is the unique stable convention, and if R1=R2R_1=R_2R1​=R2​, both are, for all large kkk and m≥3km\ge3km≥3k (p. 72).

Significance

Theorem 3 gives a dynamic foundation for risk dominance: an equilibrium selection criterion defined from payoffs alone is the long-run outcome of a decentralized learning process with sampling and rare mistakes. It requires no symmetry between the two player roles. Theorem 2 makes stochastic stability computable: a limit of stationary distributions is reduced to a minimum-weight arborescence over recurrent classes. That reduction is what the 2×22\times22×2 computation, and later applications of the method to bargaining and contracting, rely on. The equivalence of the RRR-form with the product form (a11−a21)(b11−b12)≥(a22−a12)(b22−b21)(a_{11}-a_{21})(b_{11}-b_{12})\ge(a_{22}-a_{12})(b_{22}-b_{21})(a11​−a21​)(b11​−b12​)≥(a22​−a12​)(b22​−b21​) of Harsanyi and Selten is elementary algebra and is not a target here.

The results are proved in the paper. To our knowledge none of them has a machine-checked proof. The mission produces formal statements of the model (adaptive play, its perturbation, stochastic stability, resistance and stochastic potential) that are reusable for other stochastic-stability results. Closing the goal also requires formalizing Young's finite version of the Freidlin–Wentzell theorem, the subject of the companion mission The Evolution of Conventions II.

Difficulty

The paper's argument has two hard parts. The first is Theorem 2: identifying the limit of με\mu^\varepsilonμε requires the Markov chain tree theorem (the stationary distribution of an irreducible chain as a ratio of sums over spanning in-trees) together with an order-of-magnitude analysis in ε\varepsilonε. The second is the exact resistance ⌈R1k⌉\lceil R_1k\rceil⌈R1​k⌉. The page constructs a path with that many mistakes (Table 1), but the matching lower bound, that no combination of mistakes by both players does better, is only asserted. It needs an argument about the first period in which some player's best reply switches. A naive count of single-player mistake runs gives only the upper bound. The tie case of (5) also matters: equality makes strategy 2 a best reply, which is why the ceiling and not the floor appears.

Formalization scope

Players are a finite type and strategies finite types. A state is Fin m → (∀ i, S i) with position 0 the oldest play. A sample is a set of kkk positions, and a best reply maximizes the summed payoff against the sampled plays. Transition matrices are Matrix H H ℝ. Stochastic stability is a one-sided limit ε→0+\varepsilon\to0^+ε→0+ of the stationary distributions of PεP^\varepsilonPε, over the admissible range 0<ε0<\varepsilon0<ε, ελi≤1\varepsilon\lambda_i\le1ελi​≤1. Resistances are natural numbers on successor pairs. Recurrent classes are the essential classes of P0P^0P0, and iii-trees are parent maps on the set of classes that reach the root. "k≤m/(LΓ+2)k\le m/(L_\Gamma+2)k≤m/(LΓ​+2)" is the natural-number inequality k(LΓ+2)≤mk(L_\Gamma+2)\le mk(LΓ​+2)≤m. In the 2×22\times22×2 game, players and strategies are Fin 2, with the paper's 1,21,21,2 written as 0, 1.

Two corrected slips are recorded in the statements. On p. 68 the recurrent classes are "of PεP^\varepsilonPε" for P0P^0P0, and on p. 77 "the process PεP^\varepsilonPε defined in (1)" is P0P^0P0.

Trivializing formalizations are ruled out. Stochastic stability is defined from stationary distributions, not from resistances, and generic stability is defined from stochastic stability, not from ⌈R1k⌉\lceil R_1k\rceil⌈R1​k⌉ versus ⌈R2k⌉\lceil R_2k\rceil⌈R2​k⌉. Both definitions quantify over every best-reply distribution and every admissible (λ,q)(\lambda,q)(λ,q) rather than a fixed sampling law. "Sufficiently large kkk" is an eventual statement with a threshold, not "for some kkk".

A complete development needs Markov chain stationary distributions on finite spaces, the Markov chain tree theorem, limits of rational functions of ε\varepsilonε, and the combinatorics of sampling in 2×22\times22×2 games. The perturbation theory (milestones 1–3) is reusable for any finite stochastic-stability model. Contributions to the tree theorem and to the two resistance computations are particularly welcome.

Related platform work: stochastic fictitious play (StochFictPlay.*, Hofbauer–Sandholm) and calibrated learning to correlated equilibrium (CalibratedCE.*, Foster–Vohra) study other learning dynamics in games. The sibling missions The Evolution of Conventions I (Theorem 1, convergence of adaptive play) and II (Theorem 4, regular perturbations of Markov chains) formalize the results this mission's milestones invoke.

Selected references

  • H. P. Young, The Evolution of Conventions, Econometrica 61(1), 1993, 57–84. https://doi.org/10.2307/2951778
  • J. C. Harsanyi and R. Selten, A General Theory of Equilibrium Selection in Games, MIT Press, 1988.
  • M. Kandori, G. J. Mailath and R. Rob, Learning, Mutation, and Long Run Equilibria in Games, Econometrica 61(1), 1993, 29–56. https://doi.org/10.2307/2951777
  • D. Foster and H. P. Young, Stochastic Evolutionary Game Dynamics, Theoretical Population Biology 38, 1990, 219–232. https://doi.org/10.1016/0040-5809(90)90011-J
  • M. I. Freidlin and A. D. Wentzell, Random Perturbations of Dynamical Systems, Springer, 1984. https://doi.org/10.1007/978-1-4684-0176-9
45 thms1 active userReviewed
Dynamic ProgrammingOperations Research·Captain: mikedeng1

Discrete Dynamic Programming with Sensitive Discount Optimality Criteria 2: No Improvement of Order n+1 Implies n-Discount Optimality, Which Rules Out Improvement of Order nResearch Paper

Motivation

A finite Markov decision process is usually solved under one of two criteria: the expected total discounted reward, for a fixed interest rate, or the long-run average reward. Neither is satisfactory when the interest rate is small and not known precisely. Blackwell (Blackwell 1962) showed that some stationary policy is optimal for every discount factor close enough to one, and that the average-reward criterion cannot tell apart policies with the same gain but very different transient rewards. Veinott's 1969 paper interpolates between these two: it introduces a hierarchy of nnn-discount optimality criteria, indexed by n=−1,0,1,…n=-1,0,1,\dotsn=−1,0,1,…, each more selective than the previous, and characterizes the stationary policies that meet each level through the Laurent expansion of the discounted return in the interest rate.

Timeline. Blackwell (1962) introduced the expansion of the discounted return near β=1\beta=1β=1 to first order and the criteria now called −1+-1^+−1+ and ∞+\infty^+∞+ discount optimality. Veinott (1966) gave a policy improvement method for the bias (0+0^+0+) criterion. Miller and Veinott (1969) gave the full Laurent expansion and a policy improvement algorithm for Blackwell optimality in the stochastic case. The present paper (1969) extends this to substochastic transition matrices and to negative interest rates in the transient case, defines the n±n^\pmn± criteria, and proves Theorem 4, the subject of this mission.

Setting

There are finitely many states sss (the paper's 1,…,S1,\dots,S1,…,S); in each state a finite nonempty action set AsA_sAs​. Action aaa in state sss earns r(s,a)∈Rr(s,a)\in\mathbb Rr(s,a)∈R and leads to state ttt with weight p(t∣s,a)≥0p(t\mid s,a)\ge0p(t∣s,a)≥0, where ∑tp(t∣s,a)≤1\sum_t p(t\mid s,a)\le1∑t​p(t∣s,a)≤1 (the remaining mass is the probability of stopping). A decision rule f∈F=×sAsf\in F=\times_s A_sf∈F=×s​As​ picks one action per state; r(f)r(f)r(f) and P(f)P(f)P(f) are its reward vector and substochastic transition matrix, Q(f)=P(f)−IQ(f)=P(f)-IQ(f)=P(f)−I. A policy is a sequence π=(f1,f2,… )\pi=(f_1,f_2,\dots)π=(f1​,f2​,…) of decision rules, f∞=(f,f,… )f^\infty=(f,f,\dots)f∞=(f,f,…) is a stationary policy, and PN(π)=P(f1)⋯P(fN)P^N(\pi)=P(f_1)\cdots P(f_N)PN(π)=P(f1​)⋯P(fN​).

For an interest rate ρ>−1\rho>-1ρ>−1 and β=(1+ρ)−1\beta=(1+\rho)^{-1}β=(1+ρ)−1, the discounted return is

Vρ(π)=∑N=1∞βNPN−1(π) r(fN).V_\rho(\pi)=\sum_{N=1}^{\infty}\beta^N P^{N-1}(\pi)\,r(f_N).Vρ​(π)=N=1∑∞​βNPN−1(π)r(fN​).

For a substochastic PPP, P∗P^*P∗ is the Cesàro limit of its powers and H=(I−P+P∗)−1−P∗H=(I-P+P^*)^{-1}-P^*H=(I−P+P∗)−1−P∗ its deviation matrix.

A policy π∗\pi^*π∗ is n±n^\pmn± discount optimal if, componentwise,

lim inf⁡ρ→0±∣ρ∣−n [Vρ(π∗)−Vρ(π)]≥0for all policies π.\liminf_{\rho\to0\pm}|\rho|^{-n}\,[V_\rho(\pi^*)-V_\rho(\pi)]\ge0\quad\text{for all policies }\pi .ρ→0±liminf​∣ρ∣−n[Vρ​(π∗)−Vρ​(π)]≥0for all policies π.

Dn±D_n^\pmDn±​ is the set of fff with f∞f^\inftyf∞ n±n^\pmn± discount optimal, and D−2=FD_{-2}=FD−2​=F. The sign −-− (interest rate approaching zero from below) is considered only in the transient case, where ∑NP(f)N\sum_N P(f)^N∑N​P(f)N converges for every fff.

The Laurent coefficients of Vρ(f∞)V_\rho(f^\infty)Vρ​(f∞) are y−1±(f)=±P∗(f)r(f)y_{-1}^\pm(f)=\pm P^*(f)r(f)y−1±​(f)=±P∗(f)r(f) and yn±(f)=(∓1)nH(f)n+1r(f)y_n^\pm(f)=(\mp1)^nH(f)^{n+1}r(f)yn±​(f)=(∓1)nH(f)n+1r(f), n≥0n\ge0n≥0; with y−2±=0y_{-2}^\pm=0y−2±​=0 and r0=rr_0=rr0​=r, rn=0r_n=0rn​=0 otherwise, the test quantities are

ψn±(g,f)=rn(g)+Q(g) yn±(f)∓yn−1±(f),n≥−1.\psi_n^\pm(g,f)=r_n(g)+Q(g)\,y_n^\pm(f)\mp y_{n-1}^\pm(f),\qquad n\ge-1 .ψn±​(g,f)=rn​(g)+Q(g)yn±​(f)∓yn−1±​(f),n≥−1.

Ψn±(g,f)\Psi_n^\pm(g,f)Ψn±​(g,f) is the matrix with columns ψ−1±,…,ψn±\psi_{-1}^\pm,\dots,\psi_n^\pmψ−1±​,…,ψn±​, and Gn±(f)={g∈F:Ψn±(g,f)≻0}G_n^\pm(f)=\{g\in F:\Psi_n^\pm(g,f)\succ0\}Gn±​(f)={g∈F:Ψn±​(g,f)≻0}, where C≻0C\succ0C≻0 means that the first nonzero entry of every row of CCC is positive and C≠0C\ne0C=0.

Formalization targets

Goal: Theorem 4

For f∈Ff\in Ff∈F and n=−2,−1,…,S−1n=-2,-1,\dots,S-1n=−2,−1,…,S−1:

Gn+1±(f)=∅ ⟹ f∈Dn±,f∈Dn± ⟹ Gn±(f)=∅.G_{n+1}^\pm(f)=\varnothing\ \Longrightarrow\ f\in D_n^\pm,\qquad f\in D_n^\pm\ \Longrightarrow\ G_n^\pm(f)=\varnothing .Gn+1±​(f)=∅ ⟹ f∈Dn±​,f∈Dn±​ ⟹ Gn±​(f)=∅.

The two halves bracket Dn±D_n^\pmDn±​ between two finitely checkable conditions.

Milestones

In the order the proof uses them: the Cesàro limit and (15); Lemma 5 (the reduced resolvent); Theorem 2 (the Laurent expansion Rρ(Q)=ρ−1P∗+∑n≥0(−ρ)nHn+1R_\rho(Q)=\rho^{-1}P^*+\sum_{n\ge0}(-\rho)^nH^{n+1}Rρ​(Q)=ρ−1P∗+∑n≥0​(−ρ)nHn+1); Lemma 7 (P∗+ρHP^*+\rho HP∗+ρH nonnegative, positive diagonal, nonsingular for small ρ>0\rho>0ρ>0); Theorem 3 (the expansion of Vρ(f∞)V_\rho(f^\infty)Vρ​(f∞)); (30)–(31) (the comparison identity); Lemma 8 (the expansion of the test quantity); Lemma 9 (the coefficient identity); the nonemptiness of D∞±D_\infty^\pmD∞±​; the characterization Dn±={f:Yn±(f)⪰Yn±(g) ∀g}D_n^\pm=\{f: Y_n^\pm(f)\succeq Y_n^\pm(g)\ \forall g\}Dn±​={f:Yn±​(f)⪰Yn±​(g) ∀g}; Theorem 5 (lexicographic improvement).

Significance

Theorem 4 turns a criterion stated through limits over all, possibly non-stationary, policies into a finite test on one-step switches. It is what lets the policy improvement method of Miller and Veinott stop early when only an n±n^\pmn± discount optimal policy is sought, rather than an S±S^\pmS± (Blackwell) optimal one, and it recovers Blackwell's algorithm for −1+-1^+−1+ and Veinott's 1966 algorithm for 0+0^+0+ as the cases n=−1,0n=-1,0n=−1,0. The nnn-discount hierarchy is the standard framework for sensitive optimality in Markov decision processes and underlies the average-overtaking and bias criteria used in later work.

The results are proved in the paper (Theorem 3 and Lemma 8 by reference to Miller–Veinott). None of them is formalized: the platform has the Cesàro limit matrix and the deviation matrix as definitions (from Blackwell 1962), and an open statement of their basic properties for stochastic matrices only. This mission adds the substochastic matrix theory of §3, the Laurent expansion of discounted returns with Veinott's normalization, and the lexicographic characterization of n±n^\pmn± discount optimality.

Difficulty

The definition of Dn±D_n^\pmDn±​ compares f∞f^\inftyf∞ with every policy, and the comparison is a liminf of a scaled difference of infinite series. The obvious route, comparing Laurent coefficients, applies only to stationary policies, whose returns have Laurent expansions; reducing the comparison with arbitrary policies to stationary ones requires the existence of an ∞±\infty^\pm∞± discount optimal stationary policy, which is a separate existence theorem. The second difficulty is that P∗P^*P∗ may be singular or zero and the chain may have several recurrent classes: Lemma 7 is what replaces an analysis of the chain structure in the inductive step of the proof.

Formalization scope

Lean 4 with Mathlib, namespace VeinottSensitiveDP.Sensitive. States form a nonempty Fintype; each state has its own finite nonempty action type A s; policies are sequences ℕ → F with π 0 the paper's f1f_1f1​. All quantities are real. P∗P^*P∗ and HHH are the published limitMatrix and deviationMatrix; their properties for substochastic matrices are milestones, not assumptions. VρV_\rhoVρ​ is a tsum with Veinott's extra factor β\betaβ; every theorem about it carries the hypotheses under which the series converges. The spectral radius is that of the complexified matrix. The sign ±\pm± is a real parameter σ∈{1,−1}\sigma\in\{1,-1\}σ∈{1,−1}, and statements for σ=−1\sigma=-1σ=−1 assume the transient case. The liminf in (27) is encoded as "for every ε>0\varepsilon>0ε>0, eventually ≥−ε\ge-\varepsilon≥−ε", which is the extended-real liminf. Matrices with columns −1,…,n-1,\dots,n−1,…,n are functions of an integer column index read on [−1,n][-1,n][−1,n].

A trivializing formalization would define Dn±D_n^\pmDn±​ by comparison with stationary policies only, or directly as the lexicographic maximizers of Yn±Y_n^\pmYn±​; here Dn±D_n^\pmDn±​ is defined by (27) against all policies, and the lexicographic characterization is a milestone.

Contributions welcome: proofs of the matrix results of §3 (reusable for any work on deviation matrices and Laurent expansions of Markov chains), of the Laurent expansions, and of the existence of ∞±\infty^\pm∞± discount optimal stationary policies.

Selected references

  • A. F. Veinott, Jr., Discrete dynamic programming with sensitive discount optimality criteria, Ann. Math. Statist. 40(5):1635–1660, 1969. https://doi.org/10.1214/aoms/1177697379
  • D. Blackwell, Discrete dynamic programming, Ann. Math. Statist. 33(2):719–726, 1962. https://doi.org/10.1214/aoms/1177704593
  • A. F. Veinott, Jr., On finding optimal policies in discrete dynamic programming with no discounting, Ann. Math. Statist. 37(5):1284–1294, 1966. https://doi.org/10.1214/aoms/1177699272
  • B. L. Miller and A. F. Veinott, Jr., Discrete dynamic programming with a small interest rate, Ann. Math. Statist. 40(2):366–370, 1969. https://doi.org/10.1214/aoms/1177697700
17 thms1 active userReviewed
Dynamic ProgrammingOperations Research·Captain: mikedeng1

On Finding Optimal Policies in Discrete Dynamic Programming with No Discounting 2: f Maximizes Gain and Then Bias Exactly When Its Averaged Finite-Horizon Returns Dominate Every Stationary Policy'sResearch Paper

Motivation

A Markov decision process with finitely many states and actions is usually run either with a discount factor β<1\beta<1β<1 or under the long-run average criterion. Without discounting, the total return over an infinite horizon is typically infinite, and the average return per period ignores everything that happens in any finite stretch of time: two policies with equal gain (average return per period) can differ by a fixed amount of income forever, and the average criterion cannot tell them apart. Finer, undiscounted criteria that break such ties are a standard topic of the MDP literature (Puterman, Markov Decision Processes, Ch. 10), and the paper of this mission is one of their starting points.

Timeline. Howard (1960) introduced policy iteration for the average-return problem. Blackwell (1962) expanded the discounted return of a stationary policy near β=1\beta=1β=1 as x(f)/(1−β)+y(f)+o(1)x(f)/(1-\beta)+y(f)+o(1)x(f)/(1−β)+y(f)+o(1), defined 1-optimal ("nearly optimal") policies, and showed that the stationary 1-optimal policies are exactly those that maximize the gain x(f)x(f)x(f) and then the bias y(f)y(f)y(f). Veinott (1966), the source of this mission, gave a finite algorithm for such policies and, in §5, a characterization of the same set by an undiscounted criterion: comparing the Cesàro averages of the finite-horizon total returns. Later work (Veinott 1969) developed the hierarchy of nnn-discount optimality criteria from this starting point.

Setting

There are finitely many states sss and a finite set of actions; in state sss, action aaa earns the income i(s,a)i(s,a)i(s,a) and moves the system to state s′s's′ with probability q(s′∣s,a)q(s'\mid s,a)q(s′∣s,a). A decision rule f∈Ff\in Ff∈F chooses an action f(s)f(s)f(s) in each state; r(f)r(f)r(f) is the vector with entries i(s,f(s))i(s,f(s))i(s,f(s)), and Q(f)Q(f)Q(f) is the Markov matrix with entries q(s′∣s,f(s))q(s'\mid s,f(s))q(s′∣s,f(s)). A policy is a sequence π=(f1,f2,… )\pi=(f_1,f_2,\dots)π=(f1​,f2​,…) of decision rules, Qn(π)=Q(f1)⋯Q(fn)Q_n(\pi)=Q(f_1)\cdots Q(f_n)Qn​(π)=Q(f1​)⋯Q(fn​) with Q0(π)=IQ_0(\pi)=IQ0​(π)=I, and f∞=(f,f,… )f^\infty=(f,f,\dots)f∞=(f,f,…) is the stationary policy that uses fff every period.

The limit matrix Q∗(f)=lim⁡N→∞N−1∑i=0N−1Q(f)iQ^*(f)=\lim_{N\to\infty}N^{-1}\sum_{i=0}^{N-1}Q(f)^iQ∗(f)=limN→∞​N−1∑i=0N−1​Q(f)i exists for every Markov matrix. The gain and bias of fff are

x(f)=Q∗(f) r(f),y(f)=H(f) r(f),H(f)=(I−Q(f)+Q∗(f))−1−Q∗(f).x(f)=Q^*(f)\,r(f),\qquad y(f)=H(f)\,r(f),\qquad H(f)=\bigl(I-Q(f)+Q^*(f)\bigr)^{-1}-Q^*(f).x(f)=Q∗(f)r(f),y(f)=H(f)r(f),H(f)=(I−Q(f)+Q∗(f))−1−Q∗(f).

Vectors are compared coordinatewise. The decision rules of maximal gain form

F′={f∈F:x(f)≥x(g) for all g∈F},F'=\{f\in F: x(f)\ge x(g)\text{ for all }g\in F\},F′={f∈F:x(f)≥x(g) for all g∈F},

and those of maximal bias among them form

F′′={f∈F′:y(f)≥y(g) for all g∈F′}.F''=\{f\in F': y(f)\ge y(g)\text{ for all }g\in F'\}.F′′={f∈F′:y(f)≥y(g) for all g∈F′}.

Finally, the nnn-period total expected return of a policy π\piπ, starting from each state, is

Vn(π)=∑i=0n−1Qi(π) r(fi+1).V^n(\pi)=\sum_{i=0}^{n-1}Q_i(\pi)\,r(f_{i+1}).Vn(π)=i=0∑n−1​Qi​(π)r(fi+1​).

Formalization targets

Goal: Theorem 7

For every f∈Ff\in Ff∈F,

f∈F′′  ⟺  lim⁡N→∞1N∑n=1N[Vn(f∞)−Vn(g∞)] ≥ 0for all g∈F,f\in F''\iff \lim_{N\to\infty}\frac1N\sum_{n=1}^{N}\bigl[V^n(f^\infty)-V^n(g^\infty)\bigr]\ \ge\ 0\quad\text{for all }g\in F,f∈F′′⟺N→∞lim​N1​n=1∑N​[Vn(f∞)−Vn(g∞)] ≥ 0for all g∈F,

where the inequality is coordinatewise and the limit is taken in [−∞,+∞][-\infty,+\infty][−∞,+∞].

Milestones

  1. Theorem 3 (Blackwell): Vβ(f∞)=x(f)/(1−β)+y(f)+ε(β,f)V_\beta(f^\infty)=x(f)/(1-\beta)+y(f)+\varepsilon(\beta,f)Vβ​(f∞)=x(f)/(1−β)+y(f)+ε(β,f) with ε(β,f)→0\varepsilon(\beta,f)\to0ε(β,f)→0 as β→1−\beta\to1^-β→1−, where x(f)x(f)x(f) and y(f)y(f)y(f) are the unique solutions of [I−Q(f)]x=0, Q∗(f)x=Q∗(f)r(f)[I-Q(f)]x=0,\ Q^*(f)x=Q^*(f)r(f)[I−Q(f)]x=0, Q∗(f)x=Q∗(f)r(f) and [I−Q(f)]y=r(f)−x(f), Q∗(f)y=0[I-Q(f)]y=r(f)-x(f),\ Q^*(f)y=0[I−Q(f)]y=r(f)−x(f), Q∗(f)y=0.
  2. The nnn-step identity (p. 1293): y(f)=Vn(f∞)−n x(f)+Q(f)ny(f)y(f)=V^n(f^\infty)-n\,x(f)+Q(f)^n y(f)y(f)=Vn(f∞)−nx(f)+Q(f)ny(f) for every nnn.
  3. (27): y(f)=lim⁡N→∞N−1∑n=1N[Vn(f∞)−n x(f)]y(f)=\lim_{N\to\infty}N^{-1}\sum_{n=1}^N[V^n(f^\infty)-n\,x(f)]y(f)=limN→∞​N−1∑n=1N​[Vn(f∞)−nx(f)].
  4. (28): N−1∑n=1NVn(f∞)=N+12x(f)+y(f)+σ(N,f)N^{-1}\sum_{n=1}^N V^n(f^\infty)=\tfrac{N+1}{2}x(f)+y(f)+\sigma(N,f)N−1∑n=1N​Vn(f∞)=2N+1​x(f)+y(f)+σ(N,f) with σ(N,f)→0\sigma(N,f)\to0σ(N,f)→0.
  5. Theorem 4 (Blackwell): F′′F''F′′ is nonempty and is exactly the set of fff for which f∞f^\inftyf∞ is 1-optimal.

Significance

The result. Theorem 7 gives the set F′′F''F′′, defined through the discount-factor expansion, an interpretation that involves no discounting at all: f∞f^\inftyf∞ maximizes gain and then bias exactly when, from every starting state, its Cesàro-averaged finite-horizon returns are in the limit at least those of every other stationary policy. Combined with Theorem 4 it identifies the stationary 1-optimal policies with the stationary policies that are optimal under this average-overtaking comparison. The paper records a consequence (an optimal policy in the average-overtaking sense (26) that is stationary is 1-optimal) and conjectures the converse; that remark and conjecture are not part of this mission.

Formalizing it. The results are proved in the paper (Theorems 3 and 4 are Blackwell's). None of them is formalized: the Blackwell expansion (Theorem 3) is an open item on Prove2Me, referenced here, and Theorem 4, the nnn-step identity, (27), (28) and Theorem 7 have no machine-checked proof. A complete development gives the first formal treatment of Cesàro-averaged finite-horizon returns of a finite MDP and their relation to gain and bias.

Difficulty

The paper calls Theorem 7 "an immediate consequence of the representation (28)". For the direction "the limit condition implies f∈F′′f\in F''f∈F′′" this is accurate: a state where x(f)<x(g)x(f)<x(g)x(f)<x(g) would drive the average to −∞-\infty−∞, so f∈F′f\in F'f∈F′, and then the constant terms give the bias comparison over F′F'F′. The converse is where the obvious argument stops. It must hold for every g∈Fg\in Fg∈F, including g∉F′g\notin F'g∈/F′; at a state where x(f)s=x(g)sx(f)_s=x(g)_sx(f)s​=x(g)s​ for such a ggg, (28) needs y(f)s≥y(g)sy(f)_s\ge y(g)_sy(f)s​≥y(g)s​, and the definition of F′′F''F′′ only compares biases with gain-maximal rules. That inequality comes from 1-optimality of f∞f^\inftyf∞ (Theorem 4) together with the expansion of Theorem 3, not from (28). Proving (27) itself requires the Cesàro convergence N−1∑n<NQ(f)n→Q∗(f)N^{-1}\sum_{n<N}Q(f)^n\to Q^*(f)N−1∑n<N​Q(f)n→Q∗(f) and the identity Q∗(f)y(f)=0Q^*(f)y(f)=0Q∗(f)y(f)=0, which rest on Blackwell's Lemma 1 about Markov matrices.

Formalization scope

The development builds on the published Lean model of Blackwell (1962): Model (states St, actions Act, incomes, transition law), Policy (indexed from 000, so π 0 is f1f_1f1​), Qn, V, IsNearlyOptimal (= 1-optimal), limitMatrix, and the closed forms x, y. Conventions:

  • State and action sets are finite and nonempty, and every action is available in every state (As=AA_s=AAs​=A).
  • Vectors are real functions on states with the pointwise order; limits of vectors are coordinatewise; limits in NNN are along the natural numbers. The Cesàro mean in limitMatrix uses N+1N+1N+1 terms rather than Veinott's NNN; the limit is the same.
  • x(f)x(f)x(f) and y(f)y(f)y(f) are their closed forms; Theorem 3 asserts they are the unique solutions of Veinott's (2) and (3).
  • 1-optimality is Blackwell's "nearly optimal", formulated without U(β)U(\beta)U(β), against all policies.
  • In Theorem 7 the limit is an extended-real limit, stated as: for every ggg and every state, the real sequence converges in [−∞,+∞][-\infty,+\infty][−∞,+∞] to some L≥0L\ge0L≥0. A real-valued limit would make the statement false whenever x(f)s≠x(g)sx(f)_s\ne x(g)_sx(f)s​=x(g)s​; the comparison class is the stationary policies g∞g^\inftyg∞ only, and it must not be narrowed to g∈F′g\in F'g∈F′.

The shared module defines F′F'F′ and F′′F''F′′; this chunk defines Vn(π)V^n(\pi)Vn(π). Contributions are welcome for any milestone, and in particular for reusable lemmas about Cesàro means of powers of a Markov matrix, which the proofs of (27) and (28) and Blackwell's Lemma 1 share.

Selected references

  • A. F. Veinott, Jr., On Finding Optimal Policies in Discrete Dynamic Programming with No Discounting, Ann. Math. Statist. 37(5):1284–1294, 1966. https://doi.org/10.1214/aoms/1177699272
  • D. Blackwell, Discrete Dynamic Programming, Ann. Math. Statist. 33(2):719–726, 1962. https://doi.org/10.1214/aoms/1177704593
  • R. A. Howard, Dynamic Programming and Markov Processes, Wiley, New York, 1960.
  • A. F. Veinott, Jr., Discrete Dynamic Programming with Sensitive Discount Optimality Criteria, Ann. Math. Statist. 40(5):1635–1660, 1969. https://doi.org/10.1214/aoms/1177697379
  • M. L. Puterman, Markov Decision Processes: Discrete Stochastic Dynamic Programming, Wiley, 1994. https://doi.org/10.1002/9780470316887
11 thms1 active userReviewed
Dynamic ProgrammingMachine LearningProbability+1·Captain: mikedeng1

An Analysis of Temporal-Difference Learning with Function Approximation 1: Linear TD(λ) Converges with Probability 1 to the Fixed Point of ΠT^(λ), with Error ≤ ‖ΠJ* − J*‖_D/(1 − α(1−λ)/(1−αλ))Research Paper

Motivation

Temporal-difference learning, TD(λ\lambdaλ), is the basic algorithm of reinforcement learning for estimating the expected discounted cost of a Markov chain from observed transitions (Sutton, 1988). On large or infinite state spaces it is run with a linear function approximator: the cost-to-go is represented as a weighted sum of KKK fixed basis functions, and the algorithm updates the weights. With a lookup table (one basis function per state) its convergence follows from general results on contraction mappings. With function approximation that argument breaks down. Before 1996 there were only results on convergence in the mean (Dayan, 1992), sketches restricted to linearly independent feature vectors ϕ(i)\phi(i)ϕ(i), and counterexamples in which related algorithms diverge.

Tsitsiklis and Van Roy (MIT report LIDS-P-2322, 1996; IEEE Trans. Automatic Control 42(5), 1997) proved that on-line TD(λ\lambdaλ) with linear function approximation converges with probability 1 on finite or countably infinite ergodic chains. They identified the limit as the fixed point of a projected Bellman-type operator ΠT(λ)\Pi T^{(\lambda)}ΠT(λ) and bounded its error. This analysis is the reference point for later results: finite-time bounds for linear TD, the off-policy divergence examples, and the gradient-TD family.

Timeline:

  • 1988: Sutton introduces TD(λ\lambdaλ) and proves convergence in the mean for TD(0) on absorbing chains with linearly independent features.
  • 1992: Dayan extends convergence in the mean to general λ\lambdaλ.
  • 1994: Jaakkola, Jordan and Singh, and Tsitsiklis, prove almost-sure convergence for lookup tables, using maximum-norm contraction.
  • 1996: Tsitsiklis and Van Roy prove almost-sure convergence with linear function approximation and the error bound below.

Setting

A Markov chain i0,i1,…i_0, i_1, \dotsi0​,i1​,… lives on a finite or countably infinite state space SSS, with transition matrix P=(pij)P = (p_{ij})P=(pij​). A transition from iii to jjj costs g(i,j)g(i,j)g(i,j), and α∈(0,1)\alpha \in (0,1)α∈(0,1) is a discount factor. The cost-to-go is

J∗(i)=E[∑t=0∞αtg(it,it+1) ∣ i0=i].J^*(i) = E\Big[\sum_{t=0}^\infty \alpha^t g(i_t,i_{t+1}) \,\Big|\, i_0 = i\Big].J∗(i)=E[t=0∑∞​αtg(it​,it+1​)​i0​=i].

Basis functions ϕ1,…,ϕK:S→R\phi_1,\dots,\phi_K : S \to \mathbb Rϕ1​,…,ϕK​:S→R give the feature vector ϕ(i)∈RK\phi(i) \in \mathbb R^Kϕ(i)∈RK and the approximation J~(i,r)=r′ϕ(i)\tilde J(i,r) = r'\phi(i)J~(i,r)=r′ϕ(i), written Φ′r\Phi' rΦ′r as a vector over SSS.

Starting from an arbitrary r0r_0r0​, TD(λ\lambdaλ) with λ∈[0,1]\lambda \in [0,1]λ∈[0,1] and step sizes γt\gamma_tγt​ forms the eligibility vector zt=∑k=0t(αλ)t−kϕ(ik)z_t = \sum_{k=0}^t (\alpha\lambda)^{t-k}\phi(i_k)zt​=∑k=0t​(αλ)t−kϕ(ik​) and the temporal difference dt=g(it,it+1)+αϕ(it+1)′rt−ϕ(it)′rtd_t = g(i_t,i_{t+1}) + \alpha\phi(i_{t+1})'r_t - \phi(i_t)'r_tdt​=g(it​,it+1​)+αϕ(it+1​)′rt​−ϕ(it​)′rt​, and updates rt+1=rt+γtdtztr_{t+1} = r_t + \gamma_t d_t z_trt+1​=rt​+γt​dt​zt​.

Let π\piπ be the invariant distribution, D=diag(π)D = \mathrm{diag}(\pi)D=diag(π), ∥J∥D2=∑iπ(i)J(i)2\|J\|_D^2 = \sum_i \pi(i)J(i)^2∥J∥D2​=∑i​π(i)J(i)2, and L2(S,D)={J:∥J∥D<∞}L_2(S,D) = \{J : \|J\|_D < \infty\}L2​(S,D)={J:∥J∥D​<∞}. Write Π=Φ′(ΦDΦ′)−1ΦD\Pi = \Phi'(\Phi D\Phi')^{-1}\Phi DΠ=Φ′(ΦDΦ′)−1ΦD for the DDD-orthogonal projection onto {Φ′r}\{\Phi'r\}{Φ′r}. The operator T(λ)T^{(\lambda)}T(λ) averages mmm-stage truncated costs:

(T(λ)J)(i)=(1−λ)∑m=0∞λmE[∑t=0mαtg(it,it+1)+αm+1J(im+1) ∣ i0=i],(T^{(\lambda)}J)(i) = (1-\lambda)\sum_{m=0}^\infty \lambda^m E\Big[\sum_{t=0}^m \alpha^t g(i_t,i_{t+1}) + \alpha^{m+1}J(i_{m+1}) \,\Big|\, i_0 = i\Big],(T(λ)J)(i)=(1−λ)m=0∑∞​λmE[t=0∑m​αtg(it​,it+1​)+αm+1J(im+1​)​i0​=i],

for λ<1\lambda < 1λ<1, and T(1)J=J∗T^{(1)}J = J^*T(1)J=J∗. The paper makes four assumptions:

  1. the chain has a unique invariant distribution with π(i)>0\pi(i) > 0π(i)>0, E0[g2]<∞E_0[g^2] < \inftyE0​[g2]<∞, and finite J∗J^*J∗;
  2. the ϕk\phi_kϕk​ are linearly independent with E0[ϕk2]<∞E_0[\phi_k^2] < \inftyE0​[ϕk2​]<∞;
  3. polynomial moment growth and summable mixing conditions, relative to coordinates σ(i)∈RN\sigma(i) \in \mathbb R^Nσ(i)∈RN of the states;
  4. nonnegative, nonincreasing step sizes with ∑γt=∞\sum\gamma_t = \infty∑γt​=∞ and ∑γt2<∞\sum\gamma_t^2 < \infty∑γt2​<∞.

Formalization targets

Goal: Theorem 1 (p. 11)

Under Assumptions 1–4: J∗∈L2(S,D)J^* \in L_2(S,D)J∗∈L2​(S,D); for every λ∈[0,1]\lambda \in [0,1]λ∈[0,1], TD(λ\lambdaλ) converges with probability 1, from every initial state and every r0r_0r0​, to a vector r∗r^*r∗; r∗r^*r∗ is the unique solution of

ΠT(λ)(Φ′r∗)=Φ′r∗;\Pi T^{(\lambda)}(\Phi' r^*) = \Phi' r^*;ΠT(λ)(Φ′r∗)=Φ′r∗;

and

∥Φ′r∗−J∗∥D≤∥ΠJ∗−J∗∥D1−α(1−λ)/(1−λα).\|\Phi' r^* - J^*\|_D \le \frac{\|\Pi J^* - J^*\|_D}{1 - \alpha(1-\lambda)/(1-\lambda\alpha)}.∥Φ′r∗−J∗∥D​≤1−α(1−λ)/(1−λα)∥ΠJ∗−J∗∥D​​.

Milestones

  • Lemma 1: ∥PJ∥D≤∥J∥D\|PJ\|_D \le \|J\|_D∥PJ∥D​≤∥J∥D​.
  • Lemma 2: J∗J^*J∗ is finite, lies in L2(S,D)L_2(S,D)L2​(S,D), and J∗=∑t(αP)tgˉJ^* = \sum_t(\alpha P)^t\bar gJ∗=∑t​(αP)tgˉ​.
  • Lemma 3: T(λ)T^{(\lambda)}T(λ) maps L2(S,D)L_2(S,D)L2​(S,D) into itself and has a closed-form series.
  • Lemma 4: T(λ)T^{(\lambda)}T(λ) is a ∥⋅∥D\|\cdot\|_D∥⋅∥D​-contraction with modulus α(1−λ)/(1−αλ)\alpha(1-\lambda)/(1-\alpha\lambda)α(1−λ)/(1−αλ).
  • Lemma 5: ΠT(λ)\Pi T^{(\lambda)}ΠT(λ) has a unique fixed point Φ′r∗\Phi'r^*Φ′r∗, with the error bound above.
  • Lemma 6: steady-state moments of ϕ\phiϕ and ztz_tzt​.
  • Lemma 7: the steady-state mean step is E0[s(r,Xt)]=ΦD(T(λ)(Φ′r)−Φ′r)E_0[s(r,X_t)] = \Phi D(T^{(\lambda)}(\Phi'r) - \Phi'r)E0​[s(r,Xt​)]=ΦD(T(λ)(Φ′r)−Φ′r).
  • Lemma 8: (r−r∗)′E0[s(r,Xt)]<0(r - r^*)'E_0[s(r,X_t)] < 0(r−r∗)′E0​[s(r,Xt​)]<0 for r≠r∗r \neq r^*r=r∗.
  • Theorem 2: a stochastic approximation theorem with Markov noise.
  • §6: A=E0[A(Xt)]A = E_0[A(X_t)]A=E0​[A(Xt​)] is negative definite and Ar∗+b=0Ar^* + b = 0Ar∗+b=0.

Significance

Theorem 1 says that TD(λ\lambdaλ), run on-line along a single trajectory, converges for every λ\lambdaλ, and that its limit has a precise meaning: the fixed point of the projected operator. The error bound shows that as λ→1\lambda \to 1λ→1 the limit approaches the best approximation ΠJ∗\Pi J^*ΠJ∗, and that for smaller λ\lambdaλ the error can grow by at most a factor (1−αλ)/(1−α)(1-\alpha\lambda)/(1-\alpha)(1−αλ)/(1−α). The analysis also explains the failures of related schemes: the projection and the contraction must use the same norm, ∥⋅∥D\|\cdot\|_D∥⋅∥D​, which holds only when states are sampled along the chain.

The result is proved on paper. To our knowledge no part of it has been machine-checked; it is not in Mathlib or on this platform. This mission produces:

  • a Lean model of countable-state Markov chains with costs, their path law, the weighted space L2(S,D)L_2(S,D)L2​(S,D) and the projection Π\PiΠ, which is reusable for later work on linear TD, LSTD and approximate policy evaluation;
  • the deterministic layer (Lemmas 1–5, 7, 8), which is self-contained functional analysis on L2(S,D)L_2(S,D)L2​(S,D);
  • Theorem 2, a stochastic approximation theorem with Markov noise, which the paper quotes from Benveniste, Métivier and Priouret (1987) without proof. A formal proof of it would be a library result in its own right.

Difficulty

The obvious approach treats TD(λ\lambdaλ) as a noisy version of the deterministic iteration rˉt+1=rˉt+γtΦD(T(λ)(Φ′rˉt)−Φ′rˉt)\bar r_{t+1} = \bar r_t + \gamma_t\Phi D(T^{(\lambda)}(\Phi'\bar r_t) - \Phi'\bar r_t)rˉt+1​=rˉt​+γt​ΦD(T(λ)(Φ′rˉt​)−Φ′rˉt​). It fails at the noise. The increments s(rt,Xt)s(r_t,X_t)s(rt​,Xt​) are driven by the Markov process Xt=(it,it+1,zt)X_t = (i_t,i_{t+1},z_t)Xt​=(it​,it+1​,zt​), not by independent samples. They are not martingale differences, and on an infinite state space they are unbounded. The standard ODE method with martingale-difference noise therefore does not apply, and the bias from Markov dependence must be controlled through the mixing and growth conditions of Assumption 3. The algorithm also starts with z−1=0z_{-1} = 0z−1​=0 rather than in steady state, so the steady-state identities of Lemmas 6–8 must be transferred to the actual trajectory. The contraction argument needs care for a different reason: Π\PiΠ is a nonexpansion of ∥⋅∥D\|\cdot\|_D∥⋅∥D​ only because DDD is the invariant distribution of the same chain that defines T(λ)T^{(\lambda)}T(λ).

Formalization scope

SSS is a countable type with the discrete σ\sigmaσ-algebra, PPP a Markov kernel (pij=P(i)({j})p_{ij} = P(i)(\{j\})pij​=P(i)({j}), PmP^mPm the kernel power), and the path law of the chain is Mathlib's Ionescu–Tulcea measure Kernel.trajMeasure. Standing conventions:

  • α∈(0,1)\alpha \in (0,1)α∈(0,1) and λ∈[0,1]\lambda \in [0,1]λ∈[0,1];
  • "with probability 1" is almost-sure convergence under the path law from each deterministic initial state;
  • J∗J^*J∗ and T(λ)T^{(\lambda)}T(λ) are defined by the page's path expectations, not by the series of Lemmas 2 and 3;
  • L2(S,D)L_2(S,D)L2​(S,D) membership is summability of π(i)J(i)2\pi(i)J(i)^2π(i)J(i)2;
  • Assumption 1(c) means absolute integrability of the discounted cost series;
  • vector norms are Euclidean and matrix norms Frobenius (equivalent to the induced norm and used only under existential constants);
  • (ΦDΦ′)−1(\Phi D\Phi')^{-1}(ΦDΦ′)−1 is Lean's matrix inverse, invertible under Assumptions 1(a) and 2;
  • the steady-state process of Lemmas 6–8 is any two-sided chain on a probability space with the stationary finite-dimensional distributions.

Lean's integral of a non-integrable function and sum of a non-summable series are 000. A trivializing formalization is excluded by stating every expectation and series with its integrability or summability: "well defined and finite" is always a conjunct or a hypothesis, never left to junk values.

The development needs the following:

  • Markov-chain path measures and stationary two-sided chains;
  • Bochner integrals of vector-valued functions;
  • the Cauchy–Schwarz inequality on L2(S,D)L_2(S,D)L2​(S,D);
  • a Markov-noise stochastic approximation theorem.

Contributions are welcome at every level: proofs of the deterministic lemmas, a construction of the stationary chain from π\piπ and PPP (showing that the steady-state hypotheses are satisfiable), and a proof of Theorem 2 or a stronger stochastic approximation result that implies it.

Selected references

  • J. N. Tsitsiklis and B. Van Roy, An Analysis of Temporal-Difference Learning with Function Approximation, MIT LIDS report LIDS-P-2322, 1996; IEEE Transactions on Automatic Control 42(5):674–690, 1997. https://doi.org/10.1109/9.580874
  • A. Benveniste, M. Métivier and P. Priouret, Adaptive Algorithms and Stochastic Approximations, Springer, 1990 (French original 1987). https://doi.org/10.1007/978-3-642-75894-2
  • R. S. Sutton, Learning to predict by the methods of temporal differences, Machine Learning 3:9–44, 1988. https://doi.org/10.1007/BF00115009
  • P. Dayan, The convergence of TD(λ) for general λ, Machine Learning 8:341–362, 1992. https://doi.org/10.1007/BF00992701
  • T. Jaakkola, M. I. Jordan and S. P. Singh, On the convergence of stochastic iterative dynamic programming algorithms, Neural Computation 6(6):1185–1201, 1994. https://doi.org/10.1162/neco.1994.6.6.1185
  • J. N. Tsitsiklis, Asynchronous stochastic approximation and Q-learning, Machine Learning 16:185–202, 1994. https://doi.org/10.1007/BF00993306
13 thms1 active userReviewed
Dynamic ProgrammingOperations ResearchOptimization·Captain: mikedeng1

Inventory Control in a Fluctuating Demand Environment II: With a Fixed Order Cost, a World-Dependent (r, S) Policy Is Optimal and Lies within Veinott-Type BoundsResearch Paper

Motivation

Demand for many products is not stationary: it rises and falls with the economy, the season, a product's life cycle or a customer's state. Song and Zipkin (1993) (DOI 10.1287/opre.41.2.351) model this by a world-driven demand process: an exogenous Markov chain AAA (the "state of the world") whose current state sets the rate of a Poisson demand stream. The model contains the classical stationary inventory model as the case of one world state, and it is a standard example of a Markov-modulated decision problem in operations research.

For stationary demand with a fixed order cost, optimal (s,S)(s, S)(s,S) policies go back to Scarf (1960) for finite horizons and Iglehart (1963) for the infinite horizon; Veinott (1966) bounded the optimal parameters by quantities computed from the one-period cost alone. This mission formalizes the extension of both results to the fluctuating-demand model (§3.2 of the paper). A companion mission treats the linear order-cost case, in which a world-dependent basestock policy is optimal.

Setting

The world AAA is a continuous-time Markov chain on a countable set III with generator (qij)(q_{ij})(qij​), qi=−qii=∑j≠iqijq_i = -q_{ii} = \sum_{j\neq i} q_{ij}qi​=−qii​=∑j=i​qij​, and bounded rates. While A=iA = iA=i, unit demands arrive at Poisson rate λi\lambda_iλi​; shortages are backlogged. An order arrives after a random lead time LLL, independent of the world and the demand. The inventory position x∈Zx \in \mathbb Zx∈Z is on-hand stock minus backorders plus stock on order.

Costs: a fixed cost Kˉ\bar KKˉ per order and a unit cost cˉ\bar ccˉ, both paid on arrival; a holding cost rate h>0h > 0h>0 and a penalty cost rate p>0p > 0p>0; a discount rate α>0\alpha > 0α>0. With F~L(α)=E[e−αL]\tilde F_L(\alpha) = E[e^{-\alpha L}]F~L​(α)=E[e−αL], the discounted costs are c=cˉF~L(α)c = \bar c\tilde F_L(\alpha)c=cˉF~L​(α) and K=KˉF~L(α)K = \bar K\tilde F_L(\alpha)K=KˉF~L​(α). If DLiD^i_LDLi​ is the demand during a lead time from world state iii and C^(x)=max⁡{−px,hx}\hat C(x) = \max\{-px, hx\}C^(x)=max{−px,hx},

C(i,y)=E[e−αLC^(y−DLi)].C(i, y) = E\big[e^{-\alpha L}\hat C(y - D^i_L)\big].C(i,y)=E[e−αLC^(y−DLi​)].

Uniformization at a rate μ≥sup⁡iqi+sup⁡iλi\mu \ge \sup_i q_i + \sup_i\lambda_iμ≥supi​qi​+supi​λi​ turns the problem into a discrete-time dynamic program with β=1/(μ+α)\beta = 1/(\mu+\alpha)β=1/(μ+α), γ=βμ\gamma = \beta\muγ=βμ and the myopic cost G+(i,y)=(1−γ)cy+βC(i,y)G^+(i, y) = (1-\gamma)cy + \beta C(i, y)G+(i,y)=(1−γ)cy+βC(i,y). For a terminal cost W0W_0W0​ the nnn-stage costs satisfy the recursion (10):

Wn(i,x)=min⁡y≥x{Kδ(y−x)+Gn(i,y)},W_n(i, x) = \min_{y\ge x}\{K\delta(y-x) + G_n(i, y)\},Wn​(i,x)=y≥xmin​{Kδ(y−x)+Gn​(i,y)}, Gn(i,y)=G+(i,y)+βλic+β{λiWn−1(i,y−1)+∑j≠iqijWn−1(j,y)+(μ−λi−qi)Wn−1(i,y)},G_n(i, y) = G^+(i, y) + \beta\lambda_i c + \beta\Big\{\lambda_i W_{n-1}(i, y-1) + \sum_{j\neq i} q_{ij}W_{n-1}(j, y) + (\mu - \lambda_i - q_i)W_{n-1}(i, y)\Big\},Gn​(i,y)=G+(i,y)+βλi​c+β{λi​Wn−1​(i,y−1)+j=i∑​qij​Wn−1​(j,y)+(μ−λi​−qi​)Wn−1​(i,y)},

where δ(z)=1\delta(z) = 1δ(z)=1 if z>0z > 0z>0 and δ(0)=0\delta(0) = 0δ(0)=0. Throughout, Assumption 1, αcˉ<p\alpha\bar c < pαcˉ<p, holds and K>0K > 0K>0. The terminal cost is the optimal cost W∞W_\inftyW∞​ of the linear model (K=0K = 0K=0); its G∞G_\inftyG∞​ is written G0G_0G0​, and y∗(i)y^*(i)y∗(i) is the smallest minimizer of G0(i,⋅)G_0(i, \cdot)G0​(i,⋅).

A function f:Z→Rf : \mathbb Z \to \mathbb Rf:Z→R is KKK-convex (Definition 2) if f(x)−f(x−b)ba+f(x)≤f(x+a)+K\frac{f(x)-f(x-b)}{b}a + f(x) \le f(x+a) + Kbf(x)−f(x−b)​a+f(x)≤f(x+a)+K for all xxx and all integers a,b>0a, b > 0a,b>0. The (r,S)(r, S)(r,S) policy with parameters {(r(i),S(i))}\{(r(i), S(i))\}{(r(i),S(i))} orders up to S(i)S(i)S(i) when x≤r(i)x \le r(i)x≤r(i) and the world is in state iii, and does not order otherwise. With y+(i)y^+(i)y+(i) the smallest minimizer of G+(i,⋅)G^+(i,\cdot)G+(i,⋅) and ymin⁡+=min⁡iy+(i)y^+_{\min} = \min_i y^+(i)ymin+​=mini​y+(i), the paper defines

S+(i)=min⁡{y≥y+(i):G+(i,y)−G+(i,y+(i))>γK},r+(i)=max⁡{y<y+(i):G+(i,y)−G+(i,y+(i))>(1−γ)K},r−(i)=max⁡{y<y∗(i):G0(i,y)−G0(i,y∗(i))>K},r−−(i)=max⁡{y<ymin⁡+:G+(i,y)−G+(i,ymin⁡+)>K}.\begin{aligned} S^+(i) &= \min\{y \ge y^+(i) : G^+(i, y) - G^+(i, y^+(i)) > \gamma K\},\\ r^+(i) &= \max\{y < y^+(i) : G^+(i, y) - G^+(i, y^+(i)) > (1-\gamma)K\},\\ r^-(i) &= \max\{y < y^*(i) : G_0(i, y) - G_0(i, y^*(i)) > K\},\\ r^{--}(i) &= \max\{y < y^+_{\min} : G^+(i, y) - G^+(i, y^+_{\min}) > K\}. \end{aligned}S+(i)r+(i)r−(i)r−−(i)​=min{y≥y+(i):G+(i,y)−G+(i,y+(i))>γK},=max{y<y+(i):G+(i,y)−G+(i,y+(i))>(1−γ)K},=max{y<y∗(i):G0​(i,y)−G0​(i,y∗(i))>K},=max{y<ymin+​:G+(i,y)−G+(i,ymin+​)>K}.​

Formalization targets

Goal: Theorems 5(e) and 6

Let Sn∗(i)S^*_n(i)Sn∗​(i) be the smallest minimizer of Gn(i,⋅)G_n(i,\cdot)Gn​(i,⋅) and rn∗(i)r^*_n(i)rn∗​(i) the largest y<Sn∗(i)y < S^*_n(i)y<Sn∗​(i) with Gn(i,y)>K+Gn(i,Sn∗(i))G_n(i, y) > K + G_n(i, S^*_n(i))Gn​(i,y)>K+Gn​(i,Sn∗​(i)). For every iii the sequence (rn∗(i),Sn∗(i))(r^*_n(i), S^*_n(i))(rn∗​(i),Sn∗​(i)) has limit points; for any choice of limit points (r∗(i),S∗(i))(r^*(i), S^*(i))(r∗(i),S∗(i)), the world-dependent (r,S)(r, S)(r,S) policy with these parameters is optimal for the infinite-horizon discounted problem, and

y∗(i)≤S∗(i)<S+(i),r−−(i)≤r−(i)≤r∗(i)≤r+(i).y^*(i) \le S^*(i) < S^+(i),\qquad r^{--}(i) \le r^-(i) \le r^*(i) \le r^+(i).y∗(i)≤S∗(i)<S+(i),r−−(i)≤r−(i)≤r∗(i)≤r+(i).

Milestones

Lemma 4 (uniform bounds on the iterates); Theorem 3 (KKK-convexity of GnG_nGn​, WnW_nWn​ and optimality of an (r,S)(r, S)(r,S) rule for each nnn-stage problem); Lemmas 5 and 6 (difference comparisons); Theorem 4 (the bounds above for every nnn); Theorem 5(a)–(d) (convergence of WnW_nWn​, GnG_nGn​, the (r,S)(r, S)(r,S) property of limit points, and the optimality equation (2)).

Significance

The result shows that the classical (s,S)(s, S)(s,S) structure survives Markov modulation of demand with an infinite world space and stochastic lead times: a stationary policy whose two parameters depend only on the current world state is optimal over the infinite horizon. The bounds of Theorem 6 locate those parameters in an interval computed from the myopic cost G+G^+G+ and the linear model alone, uniformly in the horizon.

The results are proved in the paper, except that Theorem 5 refers to Iglehart (1963) and Lemma 4 to Song's thesis. To our knowledge none of them has a machine-checked proof. A formalization would also produce reusable machinery: KKK-convexity on the integers, the Scarf-type inductive argument with a countable world state, and the passage from finite-horizon to infinite-horizon optimality for a nonnegative-cost Markov decision process with unbounded costs.

Difficulty

The one-period cost is unbounded in xxx and the world space may be infinite, so the usual contraction argument for discounted dynamic programs does not apply. Convergence of WnW_nWn​ needs the uniform bound of Lemma 4. Optimality of the limit policy needs a separate argument, because a pointwise limit of (r,S)(r, S)(r,S) rules need not exist: the parameter sequences are only known to have limit points. The lower bounds r−r^-r− and r−−r^{--}r−− hold only because the terminal cost is the linear model's optimal cost, which makes the difference comparisons of Lemma 6 possible; the paper notes that Lemma 6 depends on this choice of W0W_0W0​.

Formalization scope

All definitions live in the namespace SongZipkinFluct.FixedCost. Inventory positions and order-up-to levels are integers. The demand law DLiD^i_LDLi​ is defined through uniformization at rate μ\muμ, as an exact series representation of the Markov-modulated Poisson count, and the lead time is a probability law on [0,∞)[0,\infty)[0,∞) independent of the rest. The standing conventions h,p,α>0h, p, \alpha > 0h,p,α>0, cˉ,Kˉ≥0\bar c, \bar K \ge 0cˉ,Kˉ≥0, μ>0\mu > 0μ>0 and μ≥q∗+λ∗\mu \ge q^* + \lambda^*μ≥q∗+λ∗ are hypotheses of the model. Assumption 1 and Kˉ>0\bar K > 0Kˉ>0 are hypotheses of each theorem.

The iterates WnW_nWn​ are defined by the recursion (10), with the minimum written as an infimum over integers y≥xy \ge xy≥x. W∞W_\inftyW∞​ and G∞G_\inftyG∞​ are the suprema over nnn, which are finite and equal the limits by Lemma 4 and Theorem 3. Every minimizer and every extremal integer (y+y^+y+, ymin⁡+y^+_{\min}ymin+​, y∗y^*y∗, Sn∗S^*_nSn∗​, rn∗r^*_nrn∗​, S+S^+S+, r+r^+r+, r−r^-r−, r−−r^{--}r−−) is passed through its defining property, never through sInf/sSup on Z\mathbb ZZ. The goal also asserts that all of them exist, so its hypotheses can be met. A limit point of an integer sequence is a value taken infinitely often.

Optimality is over all deterministic history-dependent feasible policies and from every initial state. Costs are valued in [0,∞][0,\infty][0,∞], and a policy's cost is the supremum of its finite-horizon discounted costs in the uniformized problem (1). Restricting the comparison to (r,S)(r, S)(r,S) or stationary policies would trivialize the goal and is ruled out. KKK-convexity is the integer version of Definition 2, not convexity over Z\mathbb ZZ-scalars.

Welcome contributions: KKK-convexity calculus on Z\mathbb ZZ, convergence of the uniformized demand series, Lemma 4, and an Iglehart-type limit argument for countable-state Markov decision processes with nonnegative costs.

Selected references

  • 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
  • A. F. Veinott, Jr., On the Optimality of (s, S) Inventory Policies: New Conditions and a New Proof, SIAM Journal on Applied Mathematics 14(5):1067–1083, 1966. https://doi.org/10.1137/0114086
  • D. P. Bertsekas and S. E. Shreve, Stochastic Optimal Control: The Discrete-Time Case, Academic Press, 1978.
14 thms1 active userReviewed
ProbabilityStochastic Systems·Captain: mikedeng1

Random Walks in a Random Environment 2: lim X_n/n = (1 − Eσ)/(1 + Eσ) if Eσ < 1, −(1 − E(σ⁻¹))/(1 + E(σ⁻¹)) if E(σ⁻¹) < 1, and 0 OtherwiseResearch Paper

Motivation

A random walk in a random environment is a walk whose step probabilities are sampled once at each site and then reused whenever the walk returns there. Repeated visits therefore reveal the same local bias instead of drawing a fresh probability. This makes the walk different from an ordinary random walk with a single averaged step probability. Solomon's 1975 paper asks how the random environment changes the long-run direction and speed of a one-dimensional nearest-neighbor walk. Its Section 1 gives the speed law and the associated limits for first passage times. These results distinguish escape at a nonzero linear rate from escape or recurrence at zero linear rate. Solomon (1975)

The question matters whenever a particle repeatedly crosses the same heterogeneous medium. Averaging the local right-step probabilities predicts the drift of a homogeneous comparison walk, but it does not generally predict the speed in the sampled medium. Sites with a small right-step probability can hold up the walk through repeated excursions. The formula in Theorem (1.16) quantifies this effect using a moment of the ratio of left-step to right-step probability. Solomon (1975), pp. 7–8

Setting

An environment is a sequence α=(αz)z∈Z\alpha=(\alpha_z)_{z\in\mathbb Z}α=(αz​)z∈Z​ of numbers in [0,1][0,1][0,1]. In a fixed environment, a walk at site zzz moves to z+1z+1z+1 with probability αz\alpha_zαz​ and to z−1z-1z−1 with probability βz=1−αz\beta_z=1-\alpha_zβz​=1−αz​. It starts at X0=0X_0=0X0​=0. For the random environment, the variables αz\alpha_zαz​ are independent and identically distributed. First the environment is sampled; then the walk moves according to the fixed probabilities at its sites. The probability law that averages over both choices is the annealed law PPP. The mission's model records this law through every finite path cylinder, jointly with every measurable event concerning the environment. Solomon (1975), pp. 1–2

Write σz=βz/αz\sigma_z=\beta_z/\alpha_zσz​=βz​/αz​ for the ratio of leftward to rightward probability. At the endpoints, σz=∞\sigma_z=\inftyσz​=∞ when αz=0\alpha_z=0αz​=0 and σz=0\sigma_z=0σz​=0 when αz=1\alpha_z=1αz​=1. Let e=Eσ0e=E\sigma_0e=Eσ0​ and e−=E(σ0−1)e_-=E(\sigma_0^{-1})e−​=E(σ0−1​); either may be infinite. For an integer site z≠0z\ne0z=0, the passage time TzT_zTz​ is the first positive time at which XXX visits zzz, with Tz=∞T_z=\inftyTz​=∞ if the site is never reached; put T0=0T_0=0T0​=0. The positive ladder times are τn=Tn−Tn−1\tau_n=T_n-T_{n-1}τn​=Tn​−Tn−1​ where the passage times are finite. Their joint sequence, rather than individual identically distributed variables alone, is relevant to the speed law. Solomon (1975), pp. 5–7

Formalization targets

The goal is the complete three-case statement of Theorem (1.16). All limits below hold almost surely. If e<1e<1e<1, then

Tnn⟶1+e1−e,Xnn⟶1−e1+e.\frac{T_n}{n}\longrightarrow\frac{1+e}{1-e},\qquad \frac{X_n}{n}\longrightarrow\frac{1-e}{1+e}.nTn​​⟶1−e1+e​,nXn​​⟶1+e1−e​.

If e−<1e_-<1e−​<1, the symmetric limits are

T−nn⟶1+e−1−e−,Xnn⟶−1−e−1+e−.\frac{T_{-n}}{n}\longrightarrow\frac{1+e_-}{1-e_-},\qquad \frac{X_n}{n}\longrightarrow-\frac{1-e_-}{1+e_-}.nT−n​​⟶1−e−​1+e−​​,nXn​​⟶−1+e−​1−e−​​.

In the remaining case, e−1≤1≤e−e^{-1}\le1\le e_-e−1≤1≤e−​, both normalized passage times tend to infinity and Xn/nX_n/nXn​/n tends to zero. The reciprocal inequality is understood in the extended nonnegative reals, including e=∞e=\inftye=∞. The milestone list follows the paper's supporting statements: a transience observation, a fixed-environment mean passage-time identity, a separated-block independence lemma, stationarity and ergodicity of ladder times, and the annealed mean ladder-time formula. Solomon (1975), pp. 3, 5–7

Significance

The theorem gives a numerical asymptotic speed in either direction when the corresponding ratio has mean below one. It also identifies a zero-speed regime through explicit conditions on the two reciprocal moments. The passage-time clauses say more than the final speed alone: they describe the time required to reach distant positive and negative sites and distinguish a finite linear time scale from an infinite one. The same section compares the speed with that of a homogeneous walk obtained by replacing every local probability with Eα0E\alpha_0Eα0​; the random environment can slow the walk. Solomon (1975), pp. 7–8

Solomon proved these results in 1975. This mission asks for machine-checked proofs of the known statements and a reusable Lean description of the annealed nearest-neighbor model. The fixed-environment chain, first passage times, and the shift law of a sequence of ladder times are useful interfaces for further formal work on random media. No proof of these draft statements is claimed by the mission proposal. Solomon (1975)

Difficulty

The direct attempt to apply an ordinary law of large numbers to the step increments Xn−Xn−1X_n-X_{n-1}Xn​−Xn−1​ does not fit the model: those increments are not strictly stationary in a nonconstant environment. The walk revisits previously sampled site probabilities, so a later increment depends on the path's history through the sites it has encountered. The paper points out this obstruction before introducing ladder times. An additional issue is that a passage time need not be finite, and the means eee and e−e_-e−​ may also be infinite. Any argument that converts these quantities to ordinary real numbers too early loses the zero-speed cases. Solomon (1975), pp. 5, 7

Formalization scope

Lean represents sites by Z\mathbb ZZ and time indices by N\mathbb NN. A probability space carries the jointly sampled environment and path. The environment lies in [0,1][0,1][0,1] pointwise and is independent and identically distributed across all integer sites. The path law is fixed by its joint finite-dimensional cylinder probabilities, which express the annealed construction from the paper. In particular, the path cannot be chosen independently of the environment merely because its one-step marginal probabilities look right. This rules out a trivializing model that forgets the dependence between the sampled medium and the walk.

The ratios σz\sigma_zσz​, their reciprocal and their expectations take values in R≥0∪{∞}\mathbb R_{\ge0}\cup\{\infty\}R≥0​∪{∞}. Passage times take values in N∪{∞}\mathbb N\cup\{\infty\}N∪{∞}, and normalized passage-time limits are expressed in extended nonnegative reals. The position ratio Xn/nX_n/nXn​/n has a real limit. The theorem permits both endpoint probabilities, αz=0\alpha_z=0αz​=0 and αz=1\alpha_z=1αz​=1, and imposes no nondegeneracy assumption. Each convergence statement is almost sure. The ergodicity milestone concerns the full joint law of the sequence (τn)n≥1(\tau_n)_{n\ge1}(τn​)n≥1​ under the left shift; shift preservation supplies strict stationarity. Solomon (1975), pp. 1–2, 5–7

A complete development needs measure-theoretic probability, the fixed-environment chain and annealed cylinder law, extended-valued integration and first passage times, and ergodic theory for the ladder-time shift. The model and passage-time interfaces can be reused in later one-dimensional random-environment results. Contributions proving the listed milestones, sharpening their interfaces without changing their meaning, or supplying general probability lemmas used by the known proof are within scope.

Selected references

  • Fred Solomon, Random Walks in a Random Environment, The Annals of Probability 3(1):1–31, 1975. DOI: 10.1214/aop/1176996444
8 thms1 active userReviewed
ProbabilityStochastic Systems·Captain: mikedeng1

The Two-Parameter Poisson–Dirichlet Distribution Derived from a Stable Subordinator 6: n·Y_n → (1 − α)/α Almost Surely under PD(α, θ)Research Paper

Motivation

In a population divided into many species, a ranked frequency VnV_nVn​ is the fraction belonging to the nnnth most common species. The Poisson–Dirichlet distribution is a model for such random ranked frequencies. It also arises from ranked jumps of a stable subordinator, which gives the model its connection to random interval partitions. Pitman and Yor's 1997 paper develops both descriptions and studies quantities derived from the ranked sequence. Its §7.3 asks how much of the remaining total mass belongs to the nnnth ranked component when nnn is large. This is the chain factor YnY_nYn​, the quantity studied here. These interpretations and the result are in Pitman and Yor (1997).

For 0<α<10<\alpha<10<α<1, the paper first analyzes the tail ratio Σn\Sigma_nΣn​ under PD(α,0)\mathrm{PD}(\alpha,0)PD(α,0) through Proposition 11 and its Laplace transform. Proposition 14 relates PD(α,θ)\mathrm{PD}(\alpha,\theta)PD(α,θ) to that base law by a local-time density. The limiting behavior in Proposition 44 combines those two themes. The paper states both an almost-sure limit and a Gaussian fluctuation limit, but the variance printed for the latter conflicts with the variance of Σ1\Sigma_1Σ1​ displayed immediately before it. The mission retains the paper's almost-sure assertion as its goal and records the corrected fluctuation assertion separately. Pitman and Yor (1997), pp. 863–865, 890–891.

Setting

Choose 0≤α<10\le\alpha<10≤α<1 and θ>−α\theta> -\alphaθ>−α. Let Y~1,Y~2,…\tilde Y_1,\tilde Y_2,\ldotsY~1​,Y~2​,… be independent random variables, where Y~n\tilde Y_nY~n​ has the beta distribution with parameters (1−α,θ+nα)(1-\alpha,\theta+n\alpha)(1−α,θ+nα). Its density on (0,1)(0,1)(0,1) is Γ(a+b)xa−1(1−x)b−1/(Γ(a)Γ(b))\Gamma(a+b)x^{a-1}(1-x)^{b-1}/(\Gamma(a)\Gamma(b))Γ(a+b)xa−1(1−x)b−1/(Γ(a)Γ(b)) for parameters a,b>0a,b>0a,b>0. Form the stick-breaking lengths

V~1=Y~1,V~n=(1−Y~1)⋯(1−Y~n−1)Y~n(n≥2).\tilde V_1=\tilde Y_1,\qquad \tilde V_n=(1-\tilde Y_1)\cdots(1-\tilde Y_{n-1})\tilde Y_n\quad(n\ge2).V~1​=Y~1​,V~n​=(1−Y~1​)⋯(1−Y~n−1​)Y~n​(n≥2).

Sort these lengths in decreasing order, retaining multiplicities. The law of the resulting sequence V1≥V2≥⋯V_1\ge V_2\ge\cdotsV1​≥V2​≥⋯ is PD(α,θ)\mathrm{PD}(\alpha,\theta)PD(α,θ), exactly Definition 1 of the paper. Pitman and Yor (1997), p. 857.

For that ranked sequence, define the tail ratio and chain factor

Σn=Vn+1+Vn+2+⋯Vn,Yn=VnVn+Vn+1+⋯=11+Σn.\Sigma_n=\frac{V_{n+1}+V_{n+2}+\cdots}{V_n},\qquad Y_n=\frac{V_n}{V_n+V_{n+1}+\cdots}=\frac{1}{1+\Sigma_n}.Σn​=Vn​Vn+1​+Vn+2​+⋯​,Yn​=Vn​+Vn+1​+⋯Vn​​=1+Σn​1​.

The distinction between YnY_nYn​ and the original independent factors Y~n\tilde Y_nY~n​ matters: the former is computed after ranking and is generally dependent across indices. The paper also uses the function ψα(λ)=1+α∫01(1−e−λx)x−α−1 dx\psi_\alpha(\lambda)=1+\alpha\int_0^1(1-e^{-\lambda x})x^{-\alpha-1}\,dxψα​(λ)=1+α∫01​(1−e−λx)x−α−1dx for λ≥0\lambda\ge0λ≥0. It appears in the Laplace transform of Σn\Sigma_nΣn​. Pitman and Yor (1997), pp. 863–865, 890.

Formalization targets

The central target is Proposition 44, display (150): for 0<α<10<\alpha<10<α<1 and θ>−α\theta> -\alphaθ>−α,

nYn⟶1−ααalmost surely under PD(α,θ).nY_n\longrightarrow\frac{1-\alpha}{\alpha}\quad\text{almost surely under }\mathrm{PD}(\alpha,\theta).nYn​⟶α1−α​almost surely under PD(α,θ).

The milestones state the distribution and Laplace transform of Σn\Sigma_nΣn​ from Proposition 11(ii), its mean α/(1−α)\alpha/(1-\alpha)α/(1−α), the almost-sure limit of Σn/n\Sigma_n/nΣn​/n under PD(α,0)\mathrm{PD}(\alpha,0)PD(α,0), and Proposition 14's change-of-measure formula. The Gaussian companion records the central limit theorem for Σn/n\Sigma_n/nΣn​/n and the corrected version of Proposition 44's display (151):

n(nYn−1−αα)⟹N ⁣(0,(1−α)2α3(2−α)).\sqrt n\left(nY_n-\frac{1-\alpha}{\alpha}\right) \Longrightarrow N\!\left(0,\frac{(1-\alpha)^2}{\alpha^3(2-\alpha)}\right).n​(nYn​−α1−α​)⟹N(0,α3(2−α)(1−α)2​).

The printed variance in (151) is α−2(2−α)−2\alpha^{-2}(2-\alpha)^{-2}α−2(2−α)−2. It differs from the variance forced by the preceding Σn\Sigma_nΣn​ central limit theorem: Var⁡(Σ1)=α/((2−α)(1−α)2)\operatorname{Var}(\Sigma_1)=\alpha/((2-\alpha)(1-\alpha)^2)Var(Σ1​)=α/((2−α)(1−α)2) and the derivative of x↦1/xx\mapsto1/xx↦1/x at α/(1−α)\alpha/(1-\alpha)α/(1−α) give (1−α)2/(α3(2−α))(1-\alpha)^2/(\alpha^3(2-\alpha))(1−α)2/(α3(2−α)). At α=1/2\alpha=1/2α=1/2, the corrected and printed values are 4/34/34/3 and 16/916/916/9. The verbatim milestone text preserves the paper's wording; the companion theorem discloses the correction. Pitman and Yor (1997), pp. 890–891.

Significance

Display (150) identifies the almost-sure scale of the ranked chain factor: YnY_nYn​ behaves like a deterministic constant divided by nnn. This makes the order of magnitude precise for every permitted θ\thetaθ, despite the dependence among ranked components. The companion fluctuation statement gives a distributional scale around that limit and exposes a numerical inconsistency in the printed version. Neither conclusion is simply a statement about the independent beta factors Y~n\tilde Y_nY~n​; the paper compares the two sequences precisely because they have different limiting distributions. Pitman and Yor (1997), p. 891.

The result is proved in the paper, while its statements and their supporting definitions still need a machine-checked development. A completed formalization would make the ranked-frequency law, the tail-ratio limit, and the local-time change of measure available as separately reusable results. It would also settle the corrected variance at the level of a precise probability-law statement rather than silently adopting the paper's printed constant.

Difficulty

The tempting shortcut is to use Proposition 11(ii), which says that each Σn\Sigma_nΣn​ has the law of a sum of nnn independent copies of Σ1\Sigma_1Σ1​, and invoke a strong law. That information concerns each one-dimensional law separately; it does not exhibit the whole sequence (Σn)(\Sigma_n)(Σn​) as partial sums of a single independent sequence. Almost-sure convergence is a statement about their joint coupling, so the shortcut leaves a gap. The Gaussian conclusion raises a different issue: its limit must survive the change from PD(α,0)\mathrm{PD}(\alpha,0)PD(α,0) to PD(α,θ)\mathrm{PD}(\alpha,\theta)PD(α,θ), and its variance must be consistent with the displayed variance of Σ1\Sigma_1Σ1​. These are the two substantive tasks beyond the calculation of the Laplace transform. Pitman and Yor (1997), pp. 864, 890–891.

Formalization scope

Lean represents a random ranked sequence as V:Ω→(N→R)V:\Omega\to(\mathbb N\to\mathbb R)V:Ω→(N→R) on a probability space. Its index kkk means the paper's n=k+1n=k+1n=k+1. Thus the goal uses (k+1)Yk+1(k+1)Y_{k+1}(k+1)Yk+1​, and the tail-ratio milestones use Σk+1/(k+1)\Sigma_{k+1}/(k+1)Σk+1​/(k+1). The paper's Definition 1 is represented by independent beta coordinate laws followed by a decreasing ranking. The ranking counts multiplicity using extended cardinality, so an infinite set of terms above a threshold cannot acquire a finite fallback count. The law of the ranked sequence is expressed through measurable preimages. This avoids treating a nonmeasurable ranking map as a zero measure through Measure.map.

All targets retain 0<α<10<\alpha<10<α<1; the θ\thetaθ targets also retain θ>−α\theta> -\alphaθ>−α. The beta law and integrals use these parameter ranges. Real expectations state integrability or square integrability where needed, preventing a nonintegrable Bochner integral or variance from supplying a fallback zero. The nonnegative change-of-measure identity uses extended nonnegative integrals, and its local time LLL is identified by the almost-sure limit nVnαnV_n^\alphanVnα​ rather than by an arbitrary extra weight or a limit operator with a default value. The Gaussian variances are positive on this parameter range, despite being represented by nonnegative real parameters in Mathlib. The formalization must use the actual tail ratio of the PD(α,θ)\mathrm{PD}(\alpha,\theta)PD(α,θ) sequence, not an independently assigned factor process.

The reusable infrastructure includes the ranked-value operation, the stick-breaking law, convolution powers, the tail-ratio and chain-factor definitions, and the bridge between PD(α,0)\mathrm{PD}(\alpha,0)PD(α,0) and PD(α,θ)\mathrm{PD}(\alpha,\theta)PD(α,θ). Contributions that establish these interfaces or prove the displayed mean, strong law, and central limit assertions directly against them are within scope. Pitman and Yor (1997), Definition 1, Propositions 11, 14, 44.

Selected references

  • J. Pitman and M. Yor, The two-parameter Poisson–Dirichlet distribution derived from a stable subordinator, Annals of Probability 25(2):855–900, 1997. DOI: 10.1214/aop/1024404422.
8 thms1 active userReviewed
ProbabilityStochastic Systems·Captain: mikedeng1

On the Generalized “Birth-and-Death” Process 3: Given the Mean Growth n̄_t, the Rates λ = (n̄′/n̄)⁺, μ = (n̄′/n̄)⁻ Uniquely Minimize Var(n_t) for All tResearch Paper

Motivation

In a birth-and-death population model, an expected population curve does not determine the amount of random variation. Births and deaths can occur frequently while nearly canceling in the mean, or one of the two rates can vanish while giving the same mean. This distinction matters when a prescribed growth curve is used to model a population: two processes can agree on their expected size at every time and differ substantially in their uncertainty. In §6 of Kendall's 1948 paper, the question is posed directly: among time-varying birth and death rates giving a fixed mean curve, which choice minimizes the variance of the population size?

Kendall cites Arley's observation for constant rates with the same positive net growth. His §6 moves from that special case to an arbitrary prescribed mean curve and identifies a unique minimum-fluctuation rate pair. The paper also gives a logistic-growth example, connecting the stochastic rate choice to a familiar deterministic population law. The historical result is proved in the paper; this mission concerns its Lean formalization, including the exact time-dependent variance comparison and uniqueness claim.

Setting

The process starts with one ancestor. At time ttt, each member gives birth at rate λ(t)\lambda(t)λ(t) and dies at rate μ(t)\mu(t)μ(t); the rates are nonnegative. Let ntn_tnt​ be the population size and nˉt\bar n_tnˉt​ its expectation. Kendall works with the population probabilities and their generating function rather than constructing sample paths. This mission likewise uses his explicit formulas for the mean and variance, so that the comparison has a precise real-valued expression.

Define the integrated net death rate and the fluctuation by

ρλ,μ(t)=∫0t(μ(τ)−λ(τ)) dτ,Vλ,μ(t)=e−2ρλ,μ(t)∫0teρλ,μ(τ)(λ(τ)+μ(τ)) dτ.\rho_{\lambda,\mu}(t)=\int_0^t\bigl(\mu(\tau)-\lambda(\tau)\bigr)\,d\tau, \qquad V_{\lambda,\mu}(t)=e^{-2\rho_{\lambda,\mu}(t)} \int_0^t e^{\rho_{\lambda,\mu}(\tau)} \bigl(\lambda(\tau)+\mu(\tau)\bigr)\,d\tau.ρλ,μ​(t)=∫0t​(μ(τ)−λ(τ))dτ,Vλ,μ​(t)=e−2ρλ,μ​(t)∫0t​eρλ,μ​(τ)(λ(τ)+μ(τ))dτ.

Kendall's equations (13) and (14c) identify nˉt=e−ρλ,μ(t)\bar n_t=e^{-\rho_{\lambda,\mu}(t)}nˉt​=e−ρλ,μ​(t) and Vλ,μ(t)=Var⁡(nt)V_{\lambda,\mu}(t)=\operatorname{Var}(n_t)Vλ,μ​(t)=Var(nt​) for the one-ancestor process. A pair (λ,μ)(\lambda,\mu)(λ,μ) is admissible here when both rates are continuous and nonnegative on [0,∞)[0,\infty)[0,∞). It has mean nˉ\bar nnˉ when e−ρλ,μ(t)=nˉte^{-\rho_{\lambda,\mu}(t)}=\bar n_te−ρλ,μ​(t)=nˉt​ for every t≥0t\ge0t≥0. In particular, the initial value is nˉ0=1\bar n_0=1nˉ0​=1. These definitions let the mission quantify over every admissible rate pair with the prescribed mean.

For a positive continuously differentiable mean curve, write g(t)=nˉt′/nˉtg(t)=\bar n_t'/\bar n_tg(t)=nˉt′​/nˉt​. The minimum-fluctuation rates are λ∗(t)=max⁡{g(t),0}\lambda_*(t)=\max\{g(t),0\}λ∗​(t)=max{g(t),0} and μ∗(t)=max⁡{−g(t),0}\mu_*(t)=\max\{-g(t),0\}μ∗​(t)=max{−g(t),0}. When the mean decreases, only deaths occur; when it increases, only births occur; when it is locally constant, both rates are zero. This is Kendall's equation (56), expressed without first naming intervals of monotonicity.

Formalization targets

The goal is the simultaneous variance bound

Vλ∗,μ∗(t)≤Vλ,μ(t)for every t≥0 and every admissible (λ,μ) with mean nˉ.V_{\lambda_*,\mu_*}(t)\le V_{\lambda,\mu}(t) \quad\text{for every }t\ge0 \text{ and every admissible }(\lambda,\mu)\text{ with mean }\bar n.Vλ∗​,μ∗​​(t)≤Vλ,μ​(t)for every t≥0 and every admissible (λ,μ) with mean nˉ.

The statement also establishes that (λ∗,μ∗)(\lambda_*,\mu_*)(λ∗​,μ∗​) is admissible and has the required mean. Its uniqueness clause says that if one admissible pair has the same variance as the candidate at every nonnegative time, then its two rates equal the candidate rates at every nonnegative time. Equality at only one selected time does not express Kendall's claim. The formal milestones record the fixed rate difference (55), the integral decomposition displayed in §6, and the nonnegative excess in variance that precedes (56). A companion statement covers the logistic example (58)–(60): for a>1a>1a>1 and b>0b>0b>0, nˉt=a/(1+(a−1)e−bt)\bar n_t=a/(1+(a-1)e^{-bt})nˉt​=a/(1+(a−1)e−bt) has minimum-fluctuation death rate zero and birth rate b(1−nˉt/a)b(1-\bar n_t/a)b(1−nˉt​/a).

Significance

The result distinguishes mean growth from population risk. Fixing λ−μ\lambda-\muλ−μ fixes the mean curve, but it leaves room for births and deaths that offset one another. Kendall's theorem determines the lowest variance compatible with the given curve and specifies the rate pair attaining it. The uniqueness statement identifies a model, rather than only a numerical lower bound. His logistic example shows the choice concretely: positive logistic growth is realized by a purely reproductive process in the minimum-fluctuation model.

The paper already derives these formulas. A complete formalization would connect the exact variance expression to a universal optimization claim over continuous nonnegative rate functions, and it would verify that equality throughout time identifies the rates. The definitions of the integrated rate, mean condition and variance functional can also support the other results in Kendall's paper. This proposal uses a local copy of ρ\rhoρ because the geometric-solution mission is being drafted in parallel and its definition has not been published for import.

Difficulty

The constraint imposed by a given mean fixes the difference λ−μ\lambda-\muλ−μ but not either rate separately. The variance is an integral over the full past, multiplied by a term involving that same integrated difference. Consequently, a pointwise observation about the current sum λ(t)+μ(t)\lambda(t)+\mu(t)λ(t)+μ(t) does not by itself state the required comparison of variances over every time horizon. The equality case is also global: a single time's variance cannot generally identify the rates at all earlier times. The formal result must keep the shared mean condition, the variance integral and the quantifiers over both rate pairs and all nonnegative times aligned.

Formalization scope

The Lean development represents rates and the prescribed mean as functions R→R\mathbb R\to\mathbb RR→R. Every stochastic claim is restricted to t≥0t\ge0t≥0; the integrals are oriented interval integrals from zero. Both rates are continuous on all of R\mathbb RR and nonnegative on nonnegative time. The mean is C1C^1C1, positive on all of R\mathbb RR, and equals one at zero. Extending the regularity and positivity assumptions to negative time makes the total functions defining ggg, λ∗\lambda_*λ∗​ and μ∗\mu_*μ∗​ continuous without changing any comparison on [0,∞)[0,\infty)[0,∞). These are explicit convenience assumptions beyond Kendall's wording. No denominator is used without the positivity assumption.

Kendall presents (56) after assuming that positive time splits into decreasing, increasing and constant intervals of nˉ\bar nnˉ. The goal uses positive and negative parts of ggg and therefore covers any positive C1C^1C1 curve, including one without such a partition. On each of Kendall's three types of interval the formula agrees with his stated rates. The variance functional is exactly the last expression in (14c); its identification with the variance of the geometric population law is treated in the companion geometric-solution mission. The local statements do not construct a Markov process. The minimum is taken over all admissible continuous nonnegative rate pairs with the prescribed mean, not merely over the two candidate functions or over pointwise values of λ+μ\lambda+\muλ+μ.

The development needs real differentiation, continuity, exponentials and interval integrals from Mathlib. Contributions that relate the explicit functional to the population law, prove the comparison and its equality case, or extend the regularity regime while preserving Kendall's claim are within scope. The logistic example provides a concrete instance of the general result.

Selected references

  • D. G. Kendall, On the generalized “birth-and-death” process, Annals of Mathematical Statistics 19(1), 1–15, 1948. DOI: 10.1214/aoms/1177730285.
6 thms1 active userReviewed
Dynamic ProgrammingOperations ResearchReinforcement Learning·Captain: mikedeng1

Planning and Acting in Partially Observable Stochastic Domains: The Witness Theorem, a Set of Useful Policy Trees Is Incomplete iff Replacing One Subtree Improves on It at Some Belief StateResearch Paper

Motivation

A partially observable Markov decision process (POMDP) models an agent that acts in a stochastic world whose state it cannot see directly. The agent sees only noisy observations. POMDPs are the standard model for planning under uncertainty in robotics, dialogue systems, medical decision making and machine maintenance. The exact finite-horizon theory goes back to Smallwood and Sondik (1973), who showed that the optimal value function is piecewise linear and convex in the agent's belief, so that it can be represented by a finite set of vectors.

Kaelbling, Littman and Cassandra (1998) brought this theory to artificial intelligence. Their paper introduces policy trees as the objects behind those vectors and presents the witness algorithm, an exact value-iteration method. It is one of the most cited papers on POMDPs. The correctness of the witness algorithm rests on a single statement, Theorem A.1 of the paper's appendix, the witness theorem. This mission formalizes that theorem together with the lemmas its proof uses.

Timeline:

  • 1965: Åström reduces control with incomplete state information to control of the conditional state distribution.
  • 1973: Smallwood and Sondik prove that the finite-horizon value function is piecewise linear and convex and give the first exact algorithm.
  • 1980s: Cheng's linear support method. Lark and White's pruning.
  • 1994–1996: Littman, Cassandra and Kaelbling give the witness algorithm and its theorem (Littman's thesis, 1996).
  • 1998: the journal version studied here.

Setting

A POMDP is a tuple ⟨S,A,T,R,Ω,O⟩\langle S, A, T, R, \Omega, O\rangle⟨S,A,T,R,Ω,O⟩ with finite sets SSS of states, AAA of actions and Ω\OmegaΩ of observations. Taking action aaa in state sss leads to state s′s's′ with probability T(s,a,s′)T(s, a, s')T(s,a,s′) and earns expected reward R(s,a)R(s, a)R(s,a). The agent then observes ooo with probability O(s′,a,o)O(s', a, o)O(s′,a,o). Rewards are discounted by a factor γ\gammaγ with 0<γ≤10 < \gamma \le 10<γ≤1; γ=1\gamma = 1γ=1 is the plain finite-horizon problem.

A belief state bbb is a probability vector on SSS; BBB denotes the set of all of them. After action aaa and observation ooo, the belief is updated by Bayes' rule to SE(b,a,o)SE(b, a, o)SE(b,a,o). The normalizing constant of this update is Pr⁡(o∣a,b)\Pr(o \mid a, b)Pr(o∣a,b).

A ttt-step policy tree ppp is a single action when t=1t = 1t=1. For t≥2t \ge 2t≥2 it is a root action a(p)a(p)a(p) together with one (t−1)(t-1)(t−1)-step subtree o(p)o(p)o(p) for each observation ooo. Its value is defined by the recursion

Vp(s)=R(s,a(p))+γ∑s′T(s,a(p),s′)∑oO(s′,a(p),o) Vo(p)(s′),V_p(s) = R(s, a(p)) + \gamma \sum_{s'} T(s, a(p), s') \sum_{o} O(s', a(p), o)\, V_{o(p)}(s'),Vp​(s)=R(s,a(p))+γs′∑​T(s,a(p),s′)o∑​O(s′,a(p),o)Vo(p)​(s′),

and at a belief state it is Vp(b)=∑sb(s)Vp(s)=b⋅αpV_p(b) = \sum_s b(s) V_p(s) = b \cdot \alpha_pVp​(b)=∑s​b(s)Vp​(s)=b⋅αp​. The optimal ttt-step value is Vt(b)=max⁡pVp(b)V_t(b) = \max_p V_p(b)Vt​(b)=maxp​Vp​(b) over all ttt-step trees.

A tree ppp in a finite set V~\tilde VV~ is useful if some belief state gives it a strictly larger value than every tree of V~\tilde VV~ with a different value function. The useful trees form the parsimonious representation of V~\tilde VV~. Let Vt−1\mathcal V_{t-1}Vt−1​ be the useful (t−1)(t-1)(t−1)-step trees. The candidates CtaC^a_tCta​ are the ttt-step trees with root aaa and all subtrees in Vt−1\mathcal V_{t-1}Vt−1​, and Qta\mathcal Q^a_tQta​ is the set of trees useful in CtaC^a_tCta​. The Q-function is

Qta(b)=∑sb(s)R(s,a)+γ∑oPr⁡(o∣a,b) Vt−1(SE(b,a,o)).Q^a_t(b) = \sum_s b(s) R(s, a) + \gamma \sum_o \Pr(o \mid a, b)\, V_{t-1}(SE(b, a, o)).Qta​(b)=s∑​b(s)R(s,a)+γo∑​Pr(o∣a,b)Vt−1​(SE(b,a,o)).

For a set UaU_aUa​ of candidates, Q^ta(b)=max⁡p∈UaVp(b)\hat Q^a_t(b) = \max_{p \in U_a} V_p(b)Q^​ta​(b)=maxp∈Ua​​Vp​(b) is the current approximation. For p∈Uap \in U_ap∈Ua​, an observation ooo and p′∈Vt−1p' \in \mathcal V_{t-1}p′∈Vt−1​, the tree pnewp_{\mathrm{new}}pnew​ is ppp with its subtree for ooo replaced by p′p'p′.

Formalization targets

Goal: Theorem A.1

For a nonempty Ua⊆QtaU_a \subseteq \mathcal Q^a_tUa​⊆Qta​,

Ua≠Qta  ⟺  ∃ p∈Ua, o∗∈Ω, p′∈Vt−1, b∈B:Vpnew(b)>Vp~(b)  for all p~∈Ua.U_a \ne \mathcal Q^a_t \iff \exists\, p \in U_a,\ o^* \in \Omega,\ p' \in \mathcal V_{t-1},\ b \in B:\quad V_{p_{\mathrm{new}}}(b) > V_{\tilde p}(b) \ \text{ for all } \tilde p \in U_a .Ua​=Qta​⟺∃p∈Ua​, o∗∈Ω, p′∈Vt−1​, b∈B:Vpnew​​(b)>Vp~​​(b)  for all p~​∈Ua​.

Trees with the same value function are identified, as in the paper. The statement is exact, with no constants.

Milestones

  1. §3.3: Pr⁡(⋅∣a,b)\Pr(\cdot \mid a, b)Pr(⋅∣a,b) is a distribution and SE(b,a,o)∈BSE(b, a, o) \in BSE(b,a,o)∈B when Pr⁡(o∣a,b)≠0\Pr(o \mid a, b) \ne 0Pr(o∣a,b)=0.
  2. §4.1: VtV_tVt​ is convex on BBB.
  3. §4.2: the useful trees represent the same upper surface and are contained, up to identification, in every representing subset.
  4. §4.3: for every belief and subtree there is a useful subtree that is at least as good.
  5. §4.4: Qta(b)Q^a_t(b)Qta​(b) is the maximum of Vp(b)V_p(b)Vp​(b) over all aaa-rooted trees and over CtaC^a_tCta​, and Vt(b)=max⁡aQta(b)V_t(b) = \max_a Q^a_t(b)Vt​(b)=maxa​Qta​(b).
  6. §4.4.1: Q^ta≤Qta\hat Q^a_t \le Q^a_tQ^​ta​≤Qta​ on BBB.
  7. Appendix A: if Vp∗(b)>Vp(b)V_{p^*}(b) > V_p(b)Vp∗​(b)>Vp​(b) for trees with the same root, one subtree swap already improves on ppp at bbb.
  8. §4.4.2: the witness theorem in Q-function form: Q^ta≠Qta\hat Q^a_t \ne Q^a_tQ^​ta​=Qta​ somewhere on BBB iff a single-subtree replacement beats all of UaU_aUa​ at some belief.

Significance

The witness theorem is the stopping and growth criterion of the witness algorithm. If no single-subtree modification of the current trees beats all of them at some belief state, the current set represents the Q-function exactly. Otherwise the belief found is a witness and yields a new useful tree. Because each test is one linear program, the theorem turns an infinite search over belief space into finitely many linear programs. It is also the basis of the paper's complexity claim, polynomial time in ∣S∣|S|∣S∣, ∣A∣|A|∣A∣, ∣Ω∣|\Omega|∣Ω∣, ∣Vt−1∣|\mathcal V_{t-1}|∣Vt−1​∣ and ∣Qta∣|\mathcal Q^a_t|∣Qta​∣. Incremental pruning and later exact POMDP solvers rely on the same parsimonious-set machinery.

The theorem is proved in the paper; it has not been machine-checked. A formal development would also provide reusable infrastructure: policy trees, their value recursion, belief updates, and the existence and minimality of parsimonious representations of finite sets of linear functions on the simplex. That infrastructure is needed for any formal treatment of exact POMDP value iteration.

Difficulty

Most steps are finite algebra. The part that needs care is the "if" direction of the goal. A belief at which a new tree beats all of UaU_aUa​ shows that the true Q-function exceeds the approximation. It does not directly show that a useful tree is missing, because the maximizing tree at that belief may tie with other trees there. One needs the representation property of the parsimonious set (milestone 3): at every belief, the maximum over all candidates is attained by a useful one. Proving this means moving from a belief where several value functions tie to a nearby belief, inside the simplex, where exactly one of them is strictly largest. The proof on p. 131 also needs the Q-function to be attained on the candidate set, so that the improving subtree lies in Vt−1\mathcal V_{t-1}Vt−1​ (milestones 4 and 5).

Formalization scope

  • SSS, AAA and Ω\OmegaΩ are finite, nonempty types with decidable equality. TTT and OOO are stochastic and 0<γ≤10 < \gamma \le 10<γ≤1; these are bundled in POMDP.IsValid.
  • PolicyTree A Ω n is the type of (n+1)(n+1)(n+1)-step trees, so statements about ttt-step trees with subtrees use t=n+2t = n + 2t=n+2. The type is finite, and the set of all trees of a given depth is Finset.univ.
  • Values are defined by the recursion of p. 109, not by expectations over trajectories; everything is a finite sum.
  • Belief states are the points of stdSimplex ℝ S. Every "there is some belief state" ranges over the simplex, not over RS\mathbb R^SRS.
  • Usefulness is relative to a named finite set: all trees of a depth for Vt−1\mathcal V_{t-1}Vt−1​, and the candidates for Qta\mathcal Q^a_tQta​. Qta\mathcal Q^a_tQta​ is constructed from Vt−1\mathcal V_{t-1}Vt−1​, not quantified over.
  • Maxima are Finset.sup' over nonempty finite sets, or IsGreatest.
  • SE(b,a,o)SE(b, a, o)SE(b,a,o) is the zero vector when Pr⁡(o∣a,b)=0\Pr(o \mid a, b) = 0Pr(o∣a,b)=0 (division by zero). Every use either assumes Pr⁡≠0\Pr \ne 0Pr=0 or multiplies by Pr⁡\PrPr.

The following encodings would make the theorem trivial or false, and are excluded: comparing trees by equality instead of by value function, letting bbb range over all of RS\mathbb R^SRS, taking Qta\mathcal Q^a_tQta​ to be an arbitrary set, allowing Ua=∅U_a = \emptysetUa​=∅, and defining the true Q-function as Q^ta\hat Q^a_tQ^​ta​ itself.

Contributions are welcome at every level. The parsimonious-representation lemma (milestone 3) is the reusable geometric core. The subtree-swap lemma and the Q-function identity are the algebraic core.

Selected references

  • L. P. Kaelbling, M. L. Littman, A. R. Cassandra, Planning and acting in partially observable stochastic domains, Artificial Intelligence 101(1–2):99–134, 1998. https://doi.org/10.1016/S0004-3702(98)00023-X
  • R. D. Smallwood, E. J. Sondik, The optimal control of partially observable Markov processes over a finite horizon, Operations Research 21(5):1071–1088, 1973. https://doi.org/10.1287/opre.21.5.1071
  • K. J. Åström, Optimal control of Markov processes with incomplete state information, Journal of Mathematical Analysis and Applications 10:174–205, 1965. https://doi.org/10.1016/0022-247X(65)90154-X
  • A. R. Cassandra, M. L. Littman, N. L. Zhang, Incremental pruning: a simple, fast, exact method for partially observable Markov decision processes, UAI 1997. https://arxiv.org/abs/1302.1525
11 thms1 active userReviewed
Algorithmic Game TheoryProbability·Captain: mikedeng1

The Evolution of Conventions I: In a Weakly Acyclic Game, Adaptive Play with k ≤ m/(L_Γ + 2) Converges Almost Surely to a ConventionResearch Paper

Motivation

A convention is a pattern of behaviour that is customary because everyone expects everyone else to follow it: driving on the right, or which party yields at a narrow bridge. Peyton Young's The Evolution of Conventions (Econometrica 61 (1993) 57–84) asks how such a pattern can emerge from decentralized play. The players have limited memory and limited information, and nobody coordinates them. The paper's model, adaptive play, is now a standard dynamic of learning in games. It is the starting point of the stochastic-stability theory of equilibrium selection (Foster and Young 1990; Kandori, Mailath and Rob 1993), which builds on the perturbation theory of Freidlin and Wentzell (1984).

This mission covers the first half of the paper: §3 (the model) and §4 (convergence when the players make no mistakes). Before mistakes can be added and stochastically stable conventions selected, the unperturbed process must be shown to settle at all. Theorem 1 gives the condition under which it does.

Setting

Let Γ\GammaΓ be a game with finitely many players iii, a finite nonempty strategy set SiS_iSi​ for each player, and payoffs ui(s)u_i(s)ui​(s) for strategy tuples s∈∏jSjs \in \prod_j S_js∈∏j​Sj​. Write (x,s−i)(x, s_{-i})(x,s−i​) for sss with player iii's strategy replaced by xxx.

  • A play is a strategy tuple. Fix a memory mmm and a sample size kkk with 1≤k≤m1 \le k \le m1≤k≤m. The state h∈H=(∏jSj)mh \in H = (\prod_j S_j)^mh∈H=(∏j​Sj​)m is the sequence of the last mmm plays, oldest first.
  • A successor of hhh is obtained by deleting the oldest play and appending a new one.
  • A sample is a set of kkk positions of hhh. Player iii's best reply to a sample KKK maximizes the total payoff ∑t∈Kui(x,(ht)−i)\sum_{t \in K} u_i(x, (h_t)_{-i})∑t∈K​ui​(x,(ht​)−i​) against the sampled plays.
  • A best-reply distribution gives, for each iii and hhh, a probability distribution pi(⋅∣h)p_i(\cdot \mid h)pi​(⋅∣h) on SiS_iSi​ that is positive exactly on the strategies that are best replies to some sample of size kkk. The sampling law itself is arbitrary.
  • Adaptive play P0P^0P0 is the Markov chain on HHH that moves from hhh to the successor with new play sss with probability ∏ipi(si∣h)\prod_i p_i(s_i \mid h)∏i​pi​(si​∣h).
  • A strict Nash equilibrium is a tuple sss from which every unilateral deviation is strictly worse. A convention is a state (s,s,…,s)(s, s, \dots, s)(s,s,…,s) with sss a strict Nash equilibrium.
  • The best-reply graph has an edge s→(x,s−i)s \to (x, s_{-i})s→(x,s−i​) whenever x≠six \ne s_ix=si​ is a best reply of iii to s−is_{-i}s−i​. Γ\GammaΓ is weakly acyclic if from every sss a directed path leads to a sink. L(s)L(s)L(s) is the length of a shortest such path from sss to a strict Nash equilibrium, and LΓ=max⁡sL(s)L_\Gamma = \max_s L(s)LΓ​=maxs​L(s).

Formalization targets

Goal: Theorem 1 (p. 64)

If Γ\GammaΓ is weakly acyclic and k≤m/(LΓ+2)k \le m/(L_\Gamma + 2)k≤m/(LΓ​+2), then for every best-reply distribution and every initial state hhh,

lim⁡t→∞∑h′ a convention((P0)t)hh′=1.\lim_{t\to\infty} \sum_{h' \text{ a convention}} \big((P^0)^t\big)_{hh'} = 1 .t→∞lim​h′ a convention∑​((P0)t)hh′​=1.

Milestones

  1. Absorbing states (§4, p. 62): Phh0=1P^0_{hh} = 1Phh0​=1 if and only if hhh is a convention.
  2. Sinks (§4, p. 64): the sinks of the best-reply graph are exactly the strict Nash equilibria. Hence weak acyclicity means that one-player-at-a-time best replies can reach a strict equilibrium from every tuple.
  3. A run of best replies (proof of Theorem 1, p. 64): if m≥2k−1m \ge 2k-1m≥2k−1, then with positive probability kkk consecutive identical best replies to the last kkk plays are appended.
  4. Uniform bound (proof of Theorem 1, p. 65): there is q>0q > 0q>0 such that from every state a convention is reached within M=kLΓ+mM = kL_\Gamma + mM=kLΓ​+m periods with probability at least qqq.
  5. Geometric tail (proof of Theorem 1, p. 64): such a uniform bound makes the probability of no convention after rMrMrM periods at most (1−q)r(1-q)^r(1−q)r.
  6. Example 2 (pp. 65–66, off the goal's path): in a Battle-of-the-Sexes game with complete sampling k=mk = mk=m, a perfectly miscoordinated history stays miscoordinated forever.

Significance

Theorem 1 identifies a class of games, the weakly acyclic ones, in which boundedly rational players who best-reply to small random samples of the past almost surely lock in to a strict pure equilibrium. The paper's examples of weakly acyclic games (p. 63) are pure coordination games and games with common interests in which no two strategy tuples are payoff equivalent. Absorption is in behaviour, not just in empirical frequencies. Example 2 shows that this fails for fictitious-play-like complete sampling, so the sampling ratio k/mk/mk/m is a real ingredient. The absorbing states identified in the first milestone are the states among which the stochastic-stability analysis of the paper's later sections selects.

The result is proved in the paper. To the best of our knowledge no machine-checked version exists. The mission asks for a formal proof of Theorem 1 and its milestones for an arbitrary best-reply distribution. That generality is the paper's own: non-uniform sampling is explicitly allowed. A formal proof also pins down the memory bookkeeping in the paper's proof (look-backs of 2k−12k-12k−1, 3k−13k-13k−1 and kr+2k−1kr + 2k - 1kr+2k−1 periods), which the text checks only in words.

Difficulty

Adaptive play is a finite Markov chain. The obvious route through the generic theory of absorbing chains requires showing that a convention is reachable from every state, and that is where the argument becomes delicate. A best-reply path in the game cannot be followed directly: each player only sees a random sample, and the players who are not moving must keep playing their old strategies. The proof gets around this by having the non-moving players keep sampling older parts of the history, so those parts must still be in memory. This is what forces the bound k≤m/(LΓ+2)k \le m/(L_\Gamma+2)k≤m/(LΓ​+2). A uniform, state-independent constant is then needed to turn reachability into almost-sure convergence.

Formalization scope

Players form a finite type ι, strategies a family of finite nonempty types S i, and payoffs u : ι → (∀ i, S i) → ℝ. A state is Fin m → ∀ i, S i with position 0 the oldest play. A best-reply distribution is any p : ∀ i, H → S i → ℝ with the stated support. All statements quantify over every such p. Adaptive play is a Matrix H H ℝ, and "converges almost surely to a convention" is stated through matrix powers. That is equivalent to almost-sure absorption because conventions are absorbing. The condition k≤m/(LΓ+2)k \le m/(L_\Gamma+2)k≤m/(LΓ​+2) is k(LΓ+2)≤mk(L_\Gamma+2) \le mk(LΓ​+2)≤m in ℕ. L(s)L(s)L(s) is an sInf on ℕ that is never empty under weak acyclicity.

The display (1) on p. 62 reads "the right-most element of hhh". The formalization uses the right-most element of the successor h′h'h′, the only reading under which the rule is meaningful.

The goal cannot be satisfied trivially. The sampling law is not fixed, the conclusion is a limit equal to 111 from every initial state (not "with positive probability" or "along some path"), and the hypotheses are jointly satisfiable, for example by a 2×22\times22×2 coordination game with uniform sampling. A best reply to a sample uses the joint empirical distribution of the sampled plays, not independent marginals.

A complete development needs elementary Markov-chain facts about matrix powers and absorbing sets, plus combinatorics of shifted histories. These parts are reusable for any finite-memory learning dynamic. Proofs of individual milestones are welcome independently.

Related platform work: stochastic fictitious play in potential games (StochFictPlay.*, Hofbauer–Sandholm 2002) and calibrated learning to correlated equilibrium (CalibratedCE.*, Foster–Vohra 1997) formalize other learning dynamics. The perturbed process and the selection of risk-dominant conventions are the subject of the sibling missions The Evolution of Conventions II and III.

Selected references

  • H. P. Young, The Evolution of Conventions, Econometrica 61(1), 1993, 57–84. https://doi.org/10.2307/2951778
  • D. Foster and H. P. Young, Stochastic Evolutionary Game Dynamics, Theoretical Population Biology 38, 1990, 219–232. https://doi.org/10.1016/0040-5809(90)90011-J
  • M. Kandori, G. J. Mailath and R. Rob, Learning, Mutation, and Long Run Equilibria in Games, Econometrica 61(1), 1993, 29–56. https://doi.org/10.2307/2951777
  • M. I. Freidlin and A. D. Wentzell, Random Perturbations of Dynamical Systems, Springer, 1984. https://doi.org/10.1007/978-1-4684-0176-9
  • J. C. Harsanyi and R. Selten, A General Theory of Equilibrium Selection in Games, MIT Press, 1988.
  • J. Hofbauer and W. H. Sandholm, On the Global Convergence of Stochastic Fictitious Play, Econometrica 70(6), 2002, 2265–2294. https://doi.org/10.1111/1468-0262.00376
  • D. P. Foster and R. V. Vohra, Calibrated Learning and Correlated Equilibrium, Games and Economic Behavior 21, 1997, 40–55. https://doi.org/10.1006/game.1997.0595
22 thms1 active userReviewed
Graph TheoryProbability·Captain: mikedeng1

The Evolution of Conventions II: The Stochastically Stable States of a Regular Perturbation of a Finite Markov Chain Are the Recurrent Classes of Minimum Stochastic PotentialResearch Paper

Motivation

Many models in economics, biology and computer science are finite Markov chains that have several absorbing states or recurrent classes, so their long-run behaviour depends on where they start. Adding a small amount of noise (mistakes, mutations, experimentation) makes the chain irreducible, and the noisy chain then has a unique stationary distribution. As the noise vanishes, that distribution concentrates on some of the original recurrent classes. The stochastically stable states are the ones that keep positive weight in the limit; they are the states the system spends nearly all its time in when the noise is small but nonzero.

H. Peyton Young's The Evolution of Conventions (Econometrica, 1993) proved a general finite-state characterization of these states, which he used to select among the equilibria of coordination games under adaptive play. The characterization rests on the theory of small random perturbations of Freidlin and Wentzell (1984), developed for diffusions, and on a combinatorial lemma of theirs expressing stationary distributions through spanning trees. Kandori, Mailath and Rob (1993) characterized the limit distribution by spanning trees on the whole state space for their model of learning with mutations; Young's Lemma 1 generalizes their Theorem 1 (p. 78), and his Lemma 2 reduces the computation to the much smaller graph of recurrent classes. Foster and Young (1990) introduced stochastic stability for evolutionary dynamics, and the equilibria it selects in 2×22\times 22×2 games coincide with the risk-dominant equilibria of Harsanyi and Selten (1988).

Setting

Let XXX be a finite set and P0P^0P0 the transition matrix of a Markov chain on XXX. A state yyy is reachable from xxx if (P0)xyn>0(P^0)^n_{xy} > 0(P0)xyn​>0 for some n≥0n \ge 0n≥0; xxx is recurrent if every state reachable from xxx can reach xxx back; the recurrent communication classes X1,…,XJX_1, \dots, X_JX1​,…,XJ​ are the communication classes of recurrent states.

A family (Pε)ε∈(0,a](P^\varepsilon)_{\varepsilon \in (0,a]}(Pε)ε∈(0,a]​ of Markov chains on XXX is a regular perturbation of P0P^0P0 if for all x,yx, yx,y:

  • (6) PεP^\varepsilonPε is aperiodic and irreducible for every ε∈(0,a]\varepsilon \in (0,a]ε∈(0,a];
  • (7) Pxyε→Pxy0P^\varepsilon_{xy} \to P^0_{xy}Pxyε​→Pxy0​ as ε→0\varepsilon \to 0ε→0;
  • (8) if Pxyε>0P^\varepsilon_{xy} > 0Pxyε​>0 for some ε\varepsilonε, there is r≥0r \ge 0r≥0 with 0<lim⁡ε→0ε−rPxyε<∞0 < \lim_{\varepsilon \to 0} \varepsilon^{-r} P^\varepsilon_{xy} < \infty0<limε→0​ε−rPxyε​<∞.

The exponent r=r(x,y)r = r(x,y)r=r(x,y) is the resistance of the transition x→yx \to yx→y. The graph GGG has vertex set XXX and an edge (x,y)(x,y)(x,y) when Pxyε>0P^\varepsilon_{xy} > 0Pxyε​>0 for all small ε\varepsilonε, weighted by r(x,y)r(x,y)r(x,y).

For z∈Xz \in Xz∈X, a zzz-tree is a spanning tree of edges of GGG in which every x≠zx \ne zx=z has a unique directed path to zzz. The potential of zzz is

γ(z)=min⁡T∈Tz∑(x,y)∈Tr(x,y).(9)\gamma(z) = \min_{T \in \mathcal T_z} \sum_{(x,y) \in T} r(x,y). \tag{9}γ(z)=T∈Tz​min​(x,y)∈T∑​r(x,y).(9)

For classes i≠ji \ne ji=j, rijr_{ij}rij​ is the least resistance of a path in GGG from XiX_iXi​ to XjX_jXj​. On the complete directed graph G\mathcal GG with vertices 1,…,J1, \dots, J1,…,J and edge weights rijr_{ij}rij​, the stochastic potential γj\gamma_jγj​ of XjX_jXj​ is the least total weight of a jjj-tree in G\mathcal GG.

Formalization targets

Goal: Theorem 4 (p. 78)

If με\mu^\varepsilonμε is the stationary distribution of PεP^\varepsilonPε for ε∈(0,a]\varepsilon \in (0,a]ε∈(0,a], then με→μ0\mu^\varepsilon \to \mu^0με→μ0 as ε→0\varepsilon \to 0ε→0, where μ0\mu^0μ0 is a stationary distribution of P0P^0P0, and

μx0>0  ⟺  x∈Xj for some j with γj=min⁡iγi.\mu^0_x > 0 \iff x \in X_j \text{ for some } j \text{ with } \gamma_j = \min_i \gamma_i .μx0​>0⟺x∈Xj​ for some j with γj​=imin​γi​.

Milestones, in the order of the paper's proof

  1. Resistance (p. 77). The exponent in (8) is unique; a transition positive for some ε\varepsilonε is an edge of GGG; and the edges of zero resistance are exactly the transitions with Pxy0>0P^0_{xy} > 0Pxy0​>0.
  2. Markov chain tree formula (p. 79). For an aperiodic irreducible chain P′P'P′, μz′=pz′/∑xpx′\mu'_z = p'_z / \sum_x p'_xμz′​=pz′​/∑x​px′​ with pz′=∑T∈Tz∏(x,y)∈TPxy′p'_z = \sum_{T \in \mathcal T_z} \prod_{(x,y)\in T} P'_{xy}pz′​=∑T∈Tz​​∏(x,y)∈T​Pxy′​ is the unique stationary distribution.
  3. Lemma 1 (p. 78). με→μ0\mu^\varepsilon \to \mu^0με→μ0, μ0\mu^0μ0 is stationary for P0P^0P0, and μx0>0\mu^0_x > 0μx0​>0 iff γ(x)≤γ(y)\gamma(x) \le \gamma(y)γ(x)≤γ(y) for all yyy.
  4. (p. 80) A stationary distribution of a finite chain vanishes on non-recurrent states.
  5. (p. 80) All states of a recurrent class of P0P^0P0 have the same potential.
  6. Lemma 2 (p. 80). γ(x)=γj\gamma(x) = \gamma_jγ(x)=γj​ for every x∈Xjx \in X_jx∈Xj​.

Significance

Theorem 4 turns a limit of stationary distributions into a finite optimization: compute least-resistance paths between the recurrent classes, then a minimum-weight arborescence on the reduced graph. The answer depends only on the orders of magnitude of the perturbations, not on their exact values, which is what makes the result usable when the noise model is known only qualitatively. It underlies the equilibrium-selection results of the same paper (risk dominance in 2×22\times 22×2 coordination games, Theorem 3) and much of the later stochastic evolutionary game theory literature.

The result is proved in the paper, with the tree formula imported from Freidlin and Wentzell. As far as is known, none of it is formalized: Mathlib has irreducible and primitive nonnegative matrices but neither the Markov chain tree formula, aperiodicity, recurrent classes of a finite chain, nor minimum arborescences. A complete development would produce these as reusable components.

Difficulty

The first idea is to take the limit in μεPε=με\mu^\varepsilon P^\varepsilon = \mu^\varepsilonμεPε=με: compactness and (7) give that every limit point of με\mu^\varepsilonμε is stationary for P0P^0P0, but P0P^0P0 has many stationary distributions, so this neither proves convergence nor identifies the support. Both come from the tree formula, which makes μzε\mu^\varepsilon_zμzε​ a ratio of sums of products whose orders of magnitude are read off from the resistances; the absence of cancellation (all terms are nonnegative) is essential. The second difficulty is Lemma 2: an optimal xxx-tree on the whole state space must be transformed, by the paper's tree surgery on junctions (pp. 80–83), into something comparable with a jjj-tree on the class graph without increasing its resistance. The easy inequality γ(xj)≤γj\gamma(x_j) \le \gamma_jγ(xj​)≤γj​ glues optimal paths and zero-resistance trees together; the reverse inequality is where the work lies.

Formalization scope

States form a Fintype X with decidable equality; chains are real matrices Matrix X X ℝ, row stochasticity is Matrix.rowStochastic, irreducibility is Mathlib's Matrix.IsIrreducible, and aperiodicity (every state has period 1) is defined in the mission. The family PεP^\varepsilonPε is a function ℝ → Matrix X X ℝ constrained only on (0,a](0, a](0,a]; all limits are one-sided (ε→0+\varepsilon \to 0^+ε→0+), ε−r\varepsilon^{-r}ε−r is the real power, and "0<lim⁡<∞0 < \lim < \infty0<lim<∞" is a real limit c>0c > 0c>0. Distributions are row vectors and stationarity is μA=μ\mu A = \muμA=μ. Trees are parent maps with edges pointing toward the root. Potentials, class resistances and stochastic potentials are infima in EReal, where an empty infimum is +∞+\infty+∞; under the hypotheses all of them are finite.

The goal quantifies over every regular perturbation, not a parametric family such as (1−ε)P0+εQ(1-\varepsilon)P^0 + \varepsilon Q(1−ε)P0+εQ, and over every family of stationary distributions of the PεP^\varepsilonPε (unique by (6)). The recurrent classes are computed from P0P^0P0, not supplied as data, and γj\gamma_jγj​ is computed on the class graph with weights rijr_{ij}rij​; defining γj\gamma_jγj​ as γ(x)\gamma(x)γ(x) for some x∈Xjx \in X_jx∈Xj​ would make Lemma 2 definitional and is ruled out.

Contributions welcome: the Markov chain tree formula and the uniqueness of stationary distributions for irreducible finite chains (both reusable well beyond this mission), recurrence and the support of stationary distributions, and the arborescence surgery of Lemma 2.

Selected references

  • H. P. Young, The Evolution of Conventions, Econometrica 61(1), 1993, 57–84. https://doi.org/10.2307/2951778
  • M. I. Freidlin and A. D. Wentzell, Random Perturbations of Dynamical Systems, Springer, 1984 (Ch. 6, Lemma 3.1). https://doi.org/10.1007/978-1-4684-0176-9
  • M. Kandori, G. J. Mailath and R. Rob, Learning, Mutation, and Long Run Equilibria in Games, Econometrica 61(1), 1993, 29–56. https://doi.org/10.2307/2951777
  • D. P. Foster and H. P. Young, Stochastic Evolutionary Game Dynamics, Theoretical Population Biology 38, 1990, 219–232. https://doi.org/10.1016/0040-5809(90)90011-J
  • J. C. Harsanyi and R. Selten, A General Theory of Equilibrium Selection in Games, MIT Press, 1988. https://mitpress.mit.edu/9780262582384/
  • Related missions on learning dynamics: StochFictPlay.* (Hofbauer and Sandholm 2002, stochastic fictitious play) and CalibratedCE.* (calibrated learning and correlated equilibrium).
11 thms1 active userReviewed
Dynamic ProgrammingOperations Research·Captain: mikedeng1

Discrete Dynamic Programming with Sensitive Discount Optimality Criteria 1: If Every Stationary Policy Is Transient, Some Stationary Policy Maximizes the Expected Total Reward over All PoliciesResearch Paper

Motivation

A finite dynamic program with total reward is the basic model of sequential decision making without discounting: a system moves among finitely many states, a decision maker picks an action in each state, collects a reward, and the system moves on or stops. The quantity of interest is the expected total reward of a policy, summed over the whole (possibly infinite) horizon, and the question is whether a simple policy — one that uses the same decision rule at every step — is as good as any other.

For discounted or strictly substochastic models the answer has long been known. Shapley (1953) showed by successive approximations that, when every transition matrix has row sums strictly below one, some stationary policy maximizes the total reward among stationary policies; Howard (1960) gave the policy-improvement method for finding one; Blackwell (1962) showed that the maximum over all policies is attained among stationary ones. All of these rest on a contraction hypothesis ∥P(f)∥<1\|P(f)\|<1∥P(f)∥<1.

Veinott's 1969 paper (DOI 10.1214/aoms/1177697379), best known for its sensitive discount optimality criteria, opens in §2 by proving these classical results under the much weaker hypothesis that each stationary policy is transient, and without requiring the transition weights to be substochastic at all. Partial results in this direction were due to Eaton and Zadeh, Derman, and Denardo. The total-reward model without a contraction assumption covers stopping problems, shortest-path type problems and models in which "transition weights" are not probabilities (growth factors, populations), which is why the generalized model is of independent interest.

Setting

There are S≥1S\ge 1S≥1 states 1,…,S1,\dots,S1,…,S. In state sss a finite nonempty set AsA_sAs​ of actions is available; taking action aaa earns the real reward r(s,a)r(s,a)r(s,a) and assigns the transition weight p(t∣s,a)≥0p(t\mid s,a)\ge 0p(t∣s,a)≥0 to each state ttt. No bound on ∑tp(t∣s,a)\sum_t p(t\mid s,a)∑t​p(t∣s,a) is assumed. The set of decision rules is F=×s=1SAsF=\times_{s=1}^S A_sF=×s=1S​As​; for f∈Ff\in Ff∈F, r(f)r(f)r(f) is the vector (r(s,f(s)))s(r(s,f(s)))_s(r(s,f(s)))s​ and P(f)P(f)P(f) the matrix (p(t∣s,f(s)))s,t(p(t\mid s,f(s)))_{s,t}(p(t∣s,f(s)))s,t​.

A policy is a sequence π=(f1,f2,… )\pi=(f_1,f_2,\dots)π=(f1​,f2​,…) of decision rules. The policy f∞=(f,f,… )f^\infty=(f,f,\dots)f∞=(f,f,…) is stationary; (g,π)=(g,f1,f2,… )(g,\pi)=(g,f_1,f_2,\dots)(g,π)=(g,f1​,f2​,…) uses ggg first and then follows π\piπ; Nπ{}^N\piNπ repeats the first NNN rules of π\piπ forever and is called periodic. Let P0(π)=IP^0(\pi)=IP0(π)=I and PN(π)=P(f1)⋯P(fN)P^N(\pi)=P(f_1)\cdots P(f_N)PN(π)=P(f1​)⋯P(fN​). The policy π\piπ is transient if ∑N≥0PN(π)\sum_{N\ge0}P^N(\pi)∑N≥0​PN(π) converges, and then its vector of total returns is

V(π)=∑N=0∞PN(π) r(fN+1).V(\pi)=\sum_{N=0}^\infty P^N(\pi)\,r(f_{N+1}).V(π)=N=0∑∞​PN(π)r(fN+1​).

The one-step comparison v(g,π∗)=V(g,π∗)−V(π∗)v(g,\pi^*)=V(g,\pi^*)-V(\pi^*)v(g,π∗)=V(g,π∗)−V(π∗) measures the gain from deviating to ggg for one step. Vectors are compared coordinatewise, and x>yx>yx>y means x≥yx\ge yx≥y, x≠yx\ne yx=y. For a matrix BBB, ∥B∥=max⁡i∑j∣bij∣\|B\|=\max_i\sum_j|b_{ij}|∥B∥=maxi​∑j​∣bij​∣ and ∣σ(B)∣|\sigma(B)|∣σ(B)∣ is its spectral radius. Finally V∗=max⁡fV(f∞)V^*=\max_f V(f^\infty)V∗=maxf​V(f∞) and ℜV=max⁡g[r(g)+P(g)V]\Re V=\max_g[r(g)+P(g)V]ℜV=maxg​[r(g)+P(g)V], both coordinatewise.

Formalization targets

Goal: Corollary 6

If every stationary policy is transient, there is f∈Ff\in Ff∈F with

V(π)≤V(f∞)for every policy π.V(\pi)\le V(f^\infty)\qquad\text{for every policy }\pi.V(π)≤V(f∞)for every policy π.

The hypothesis concerns only the finitely many stationary policies; the conclusion compares against every policy, stationary or not.

Milestones

  1. Lemma 1. For transient π=(gi)\pi=(g_i)π=(gi​) and π∗\pi^*π∗: V(π)−V(π∗)=∑NPN(π) v(gN+1,π∗)V(\pi)-V(\pi^*)=\sum_N P^N(\pi)\,v(g_{N+1},\pi^*)V(π)−V(π∗)=∑N​PN(π)v(gN+1​,π∗), and V(g∞)−V(π∗)=[I−P(g)]−1v(g,π∗)V(g^\infty)-V(\pi^*)=[I-P(g)]^{-1}v(g,\pi^*)V(g∞)−V(π∗)=[I−P(g)]−1v(g,π∗).
  2. Lemma 2. If every stationary policy is transient and f∈Ff\in Ff∈F: either v(g,f∞)>0v(g,f^\infty)>0v(g,f∞)>0 for some ggg, and then V(g∞)>V(f∞)V(g^\infty)>V(f^\infty)V(g∞)>V(f∞), or v(g,f∞)≤0v(g,f^\infty)\le0v(g,f∞)≤0 for all ggg, which holds iff f∞f^\inftyf∞ is best among stationary policies.
  3. Corollary 1. If every stationary policy is transient, some stationary policy maximizes VVV over the stationary policies.
  4. Corollary 2. Under the same hypothesis, V∗V^*V∗ is the unique fixed point of ℜ\Reℜ.
  5. Lemma 3 (Hoffman). For every ε>0\varepsilon>0ε>0 and every program there is a positively similar program with max⁡g∥P~(g)∥<max⁡g∣σ(P(g))∣+ε\max_g\|\tilde P(g)\|<\max_g|\sigma(P(g))|+\varepsilonmaxg​∥P~(g)∥<maxg​∣σ(P(g))∣+ε.
  6. Corollary 4, read with "every" and with "some": stationary, periodic and arbitrary policies are transient together, and this is equivalent to ∥PN(π)∥<1\|P^N(\pi)\|<1∥PN(π)∥<1 for some N≥1N\ge1N≥1; with ∥P(g)∥≤1\|P(g)\|\le1∥P(g)∥≤1 also to ∥PS(π)∥<1\|P^S(\pi)\|<1∥PS(π)∥<1.
  7. Theorem 1. If every stationary policy is transient and π∗\pi^*π∗ is any policy: v(g,π∗)>0v(g,\pi^*)>0v(g,π∗)>0 implies V(g∞)>V(π∗)V(g^\infty)>V(\pi^*)V(g∞)>V(π∗), and v(⋅,π∗)≤0v(\cdot,\pi^*)\le0v(⋅,π∗)≤0 iff V(π)≤V(π∗)V(\pi)\le V(\pi^*)V(π)≤V(π∗) for all π\piπ.

Significance

Corollary 6 is the existence half of the theory of total-reward Markov decision processes: it says that the search for an optimal policy can be restricted to the finite set of stationary policies, and, together with Corollary 2 and Theorem 1, that such a policy is characterized by the optimality equation ℜV=V\Re V=VℜV=V and by the absence of one-step improvements. Corollary 4, which the paper's introduction singles out as the section's main new result, shows that transience of the finitely many stationary policies already forces transience of every policy, uniformly; this is what makes V(π)V(\pi)V(π) well defined for all policies. Hoffman's Lemma 3 converts transience into a contraction in a rescaled norm, the device behind geometric convergence of value iteration (Corollary 3 of the paper).

On the formal side, Mathlib has matrices, summability and spectral radii but no total-reward decision model. These results are proved in the 1969 paper and are standard in the textbook literature on Markov decision processes; none of them has a machine-checked proof that we know of. Related platform items concern other models: the stochastic shortest path results of Bertsekas and Tsitsiklis (a cost model with a termination state, stochastic rows and an infinite-cost assumption on improper policies) and Blackwell's discounted model; neither covers nonnegative, non-substochastic weights.

Difficulty

Without a contraction, the standard argument — ℜ\Reℜ is a contraction, so it has a unique fixed point attained by a stationary policy — has nothing to start from: ∥P(g)∥\|P(g)\|∥P(g)∥ may exceed one for every ggg, and the transition weights need not be probabilities, so no probabilistic coupling or stopping-time argument applies directly. Transience of each stationary policy is a statement about finitely many matrix powers P(g)NP(g)^NP(g)N, whereas the goal concerns infinite products of different matrices P(f1)P(f2)⋯P(f_1)P(f_2)\cdotsP(f1​)P(f2​)⋯, whose behaviour is not controlled by the spectral radii of the factors in general. Passing from the stationary policies to all policies is the step where the obvious argument fails.

Formalization scope

The Lean development fixes these conventions.

  • States are a nonempty finite type St; actions are a family of nonempty finite types A : St → Type, so FFF is the dependent function type (s : St) → A s, not a common action set.
  • A program is a structure Program St A with real rewards and nonnegative weights; no row-sum bound is part of the structure. Only 5° of Corollary 4 assumes ∥P(g)∥≤1\|P(g)\|\le1∥P(g)∥≤1.
  • Policies are deterministic Markov sequences ℕ → F, indexed from 000: π 0 is f1f_1f1​. "All policies" means all such sequences.
  • Transience is Summable of N↦PN(π)N\mapsto P^N(\pi)N↦PN(π) in the entrywise topology. VVV is a tsum; it is the genuine series exactly for transient policies.
  • >>> on vectors is written out as ≥\ge≥ and ≠\ne=; ∥⋅∥\|\cdot\|∥⋅∥ is the maximum absolute row sum, defined explicitly; ∣σ(⋅)∣|\sigma(\cdot)|∣σ(⋅)∣ is Mathlib's spectralRadius ℂ of the complexified matrix, valued in [0,∞][0,\infty][0,∞].
  • V∗V^*V∗ and ℜ\Reℜ are coordinatewise Finset.sup' over the finite set FFF.

A trivializing formalization is ruled out: the goal and Theorem 1 do not assume the competing policies transient (that would hide Corollary 4 inside the hypothesis), and since a non-summable tsum is 000, no statement compares VVV of a policy whose transience is not either assumed or implied by the hypotheses. The hypothesis "every stationary policy is transient" is satisfiable (for instance when all weights are zero) and is not implied by any row-sum bound.

A complete development needs Neumann series for nonnegative matrices, the Perron–Frobenius-type fact that a nonnegative matrix with spectral radius below one has a nonnegative (I−B)−1=∑BN(I-B)^{-1}=\sum B^N(I−B)−1=∑BN, and finite-dimensional spectral theory relating ∣σ(B)∣<1|\sigma(B)|<1∣σ(B)∣<1 to BN→0B^N\to0BN→0. These are reusable well beyond this mission; contributions of such lemmas, and of proofs of the milestones in any order, are welcome.

Selected references

  • A. F. Veinott, Jr., Discrete dynamic programming with sensitive discount optimality criteria, Ann. Math. Statist. 40(5):1635–1660, 1969. https://doi.org/10.1214/aoms/1177697379
  • D. Blackwell, Discrete dynamic programming, Ann. Math. Statist. 33(2):719–726, 1962. https://doi.org/10.1214/aoms/1177704593
  • L. S. Shapley, Stochastic games, Proc. Nat. Acad. Sci. 39(10):1095–1100, 1953. https://doi.org/10.1073/pnas.39.10.1095
  • R. A. Howard, Dynamic Programming and Markov Processes, MIT Press, 1960.
  • E. V. Denardo, Contraction mappings in the theory underlying dynamic programming, SIAM Review 9(2):165–177, 1967. https://doi.org/10.1137/1009030
  • C. Derman, On sequential decisions and Markov chains, Management Sci. 9(1):16–24, 1962. https://doi.org/10.1287/mnsc.9.1.16
12 thms1 active userReviewed
Dynamic ProgrammingOperations Research·Captain: mikedeng1

Average Optimality in Dynamic Programming with General State Space: Under (W) or (S) and Bounded Relative Discounted Values, a Limit of Discount-Optimal Policies Is Average OptimalResearch Paper

Motivation

A Markov decision process with the average cost criterion asks for a policy that minimizes the long-run expected cost per unit time. The criterion is the natural one for inventory, queueing and maintenance systems that run indefinitely without a meaningful discount rate, and it is the standard benchmark in the theory of controlled Markov chains (Arapostathis et al. 1993, Hernández-Lerma and Lasserre 1996). Unlike the discounted criterion, it has no contraction to work with, and an average-optimal policy may fail to exist.

The classical route to average optimality is the vanishing discount approach: solve the β\betaβ-discounted problem, which is well behaved, and let β↑1\beta \uparrow 1β↑1. Schäl's paper gives conditions on a model with a general (Borel) state space under which this limit produces an average-optimal stationary policy.

Timeline. Taylor (1965) and Ross (1968) used the vanishing discount approach with equicontinuity via Arzelà–Ascoli. Sennott (1989) proved, for countable state spaces, that pointwise bounded relative discounted values yield an average cost optimality inequality and an average-optimal stationary policy. Schäl (1993, this mission) extended this to standard Borel state spaces under two alternative compactness–continuity conditions, (W) and (S). Later work, e.g. Feinberg, Kasyanov and Zadoianchuk (2012) and Feinberg and Liang (2022), weakened the compactness assumptions and studied when the inequality becomes an equation.

Setting

The model (S,A,A(⋅),q,c)(S, A, A(\cdot), q, c)(S,A,A(⋅),q,c) consists of standard Borel spaces SSS (states) and AAA (actions); nonempty action sets A(x)⊆AA(x) \subseteq AA(x)⊆A whose graph {(x,a):a∈A(x)}\{(x, a) : a \in A(x)\}{(x,a):a∈A(x)} is measurable; a transition law q(⋅∣x,a)q(\cdot \mid x, a)q(⋅∣x,a); and a measurable one-step cost c(x,a)∈[0,∞]c(x, a) \in [0, \infty]c(x,a)∈[0,∞]. A policy δ∈Δ\delta \in \Deltaδ∈Δ chooses, at each stage nnn, a randomized action that may depend on the whole history and lies in A(xn)A(x_n)A(xn​) with probability one. A stationary policy f∈Ff \in \mathbb Ff∈F is a measurable f:S→Af : S \to Af:S→A with f(x)∈A(x)f(x) \in A(x)f(x)∈A(x).

For a policy δ\deltaδ and initial state xxx, Jn(δ,x)J^n(\delta, x)Jn(δ,x) is the expected total cost of the first nnn stages, and

Φ(δ,x)=lim sup⁡n→∞1nJn(δ,x),g=inf⁡x∈Sinf⁡δ∈ΔΦ(δ,x).\Phi(\delta, x) = \limsup_{n\to\infty} \tfrac1n J^n(\delta, x), \qquad g = \inf_{x \in S}\inf_{\delta \in \Delta} \Phi(\delta, x).Φ(δ,x)=n→∞limsup​n1​Jn(δ,x),g=x∈Sinf​δ∈Δinf​Φ(δ,x).

A policy is average optimal if Φ(δ,x)=g\Phi(\delta, x) = gΦ(δ,x)=g for every xxx. The General Assumption is g<∞g < \inftyg<∞.

For 0<β<10 < \beta < 10<β<1, Jβ(δ,x)J_\beta(\delta, x)Jβ​(δ,x) is the expected total β\betaβ-discounted cost, vβ(x)=inf⁡δJβ(δ,x)v_\beta(x) = \inf_\delta J_\beta(\delta, x)vβ​(x)=infδ​Jβ​(δ,x), mβ=inf⁡xvβ(x)m_\beta = \inf_x v_\beta(x)mβ​=infx​vβ​(x), and wβ=vβ−mβ≥0w_\beta = v_\beta - m_\beta \ge 0wβ​=vβ​−mβ​≥0 is the relative discounted value function. The quantities gˉ\bar ggˉ​ and g‾\underline gg​ are the upper and lower limits of (1−β)mβ(1-\beta)m_\beta(1−β)mβ​ as β↑1\beta \uparrow 1β↑1. Condition (B) requires sup⁡β<1wβ(x)<∞\sup_{\beta < 1} w_\beta(x) < \inftysupβ<1​wβ​(x)<∞ for each xxx.

Condition (W): SSS is locally compact with countable base, the A(x)A(x)A(x) are compact and x↦A(x)x \mapsto A(x)x↦A(x) is upper semicontinuous, qqq is weakly continuous on the graph of AAA, and ccc is lower semicontinuous there. Condition (S): the A(x)A(x)A(x) are compact, and for each fixed xxx, a↦q(⋅∣x,a)a \mapsto q(\cdot \mid x, a)a↦q(⋅∣x,a) is setwise continuous and a↦c(x,a)a \mapsto c(x, a)a↦c(x,a) is lower semicontinuous on A(x)A(x)A(x).

Formalization targets

Goal: Theorem 3.8

Under the General Assumption, (B), and (W) or (S):

∃f1∈F: Φ(f1,x)=g  ∀x∈S,g=lim⁡β→1(1−β)mβ=lim⁡β→1(1−β)vβ(x)  ∀x.\exists f_1 \in \mathbb F:\ \Phi(f_1, x) = g \ \ \forall x \in S, \qquad g = \lim_{\beta\to1}(1-\beta)m_\beta = \lim_{\beta \to 1}(1-\beta)v_\beta(x)\ \ \forall x.∃f1​∈F: Φ(f1​,x)=g  ∀x∈S,g=β→1lim​(1−β)mβ​=β→1lim​(1−β)vβ​(x)  ∀x.

Moreover, for every sequence β(k)↑1\beta(k) \uparrow 1β(k)↑1 and every choice of β(k)\beta(k)β(k)-discount-optimal stationary policies fβ(k)f_{\beta(k)}fβ(k)​, some average-optimal f1f_1f1​ is a limit of them: under (W), f1(x)=lim⁡mfβm(xm)f_1(x) = \lim_m f_{\beta_m}(x_m)f1​(x)=limm​fβm​​(xm​) with βm\beta_mβm​ from {β(k)}\{\beta(k)\}{β(k)}, βm→1\beta_m \to 1βm​→1 and xm→xx_m \to xxm​→x; under (S), f1(x)=lim⁡mfβm(x)f_1(x) = \lim_m f_{\beta_m}(x)f1​(x)=limm​fβm​​(x).

Milestones

  1. Lemma 1.2: lim sup⁡β→1(1−β)Jβ(δ,x)≤Φ(δ,x)\limsup_{\beta\to1}(1-\beta)J_\beta(\delta, x) \le \Phi(\delta, x)limsupβ→1​(1−β)Jβ​(δ,x)≤Φ(δ,x), and g‾≤gˉ≤g\underline g \le \bar g \le gg​≤gˉ​≤g.
  2. Proposition 1.3: a finite measurable w‾≥0\underline w \ge 0w​≥0 and f1∈Ff_1 \in \mathbb Ff1​∈F with w‾(x)+g‾≥c(x,f1(x))+∫w‾ dq(x,f1(x))\underline w(x) + \underline g \ge c(x, f_1(x)) + \int \underline w\, dq(x, f_1(x))w​(x)+g​≥c(x,f1​(x))+∫w​dq(x,f1​(x)) give Φ(f1,⋅)=g=g‾=gˉ\Phi(f_1, \cdot) = g = \underline g = \bar gΦ(f1​,⋅)=g=g​=gˉ​.
  3. Proposition 2.1 and (2.2): existence of discount-optimal stationary policies, the discounted optimality equation and its relative form.
  4. Lemma 2.3: Fatou's lemma for setwise and for weakly converging measures.
  5. (3.2), Lemmas 3.3, 3.4: the lower limit w‾(x)=lim inf⁡k→∞,y→xwβ(k)(y)\underline w(x) = \liminf_{k\to\infty, y\to x} w_{\beta(k)}(y)w​(x)=liminfk→∞,y→x​wβ(k)​(y) is attained along measurable sequences.
  6. Proposition 3.5 and its (S) version (3.7): w‾\underline ww​ and some f1f_1f1​ satisfy the optimality inequality with g‾\underline gg​.

Significance

The theorem gives existence of an average-optimal stationary policy on a general state space from checkable model conditions plus pointwise bounds on relative values, without assuming a solution of the average cost optimality equation. It also identifies the optimal average cost as the Abelian limit of discounted values, and says how to compute an optimal policy: as a limit of discount-optimal ones. §4 of the paper verifies (B) through entrance-time bounds and applies the theorem to Assaf's invariant problem and to a finite-capacity inventory model.

The result is a published theorem; none of it is machine-checked. Formalizing it requires the measure-theoretic layer of Borel dynamic programming (canonical path measures of history-dependent policies, discounted optimality equations, measurable selection of minimizers and of accumulation points) and Fatou lemmas for varying measures. These components are reusable for any Borel-space MDP. Related platform work: the Feinberg–Liang average-cost optimality equation under an additional equicontinuity assumption is posed separately (FeinbergLiang.ACOE.acoe_of_assumptionEC); it is a different theorem.

Difficulty

The naive argument takes a pointwise limit of wβw_{\beta}wβ​ as β→1\beta \to 1β→1 in the relative optimality equation (2.2). Under (B) the family {wβ(x)}\{w_\beta(x)\}{wβ​(x)} is only bounded pointwise, so no subsequence need converge, and even a pointwise lower limit loses the continuity needed to pass ∫wβ dq(x,fβ(x))\int w_\beta\, dq(x, f_\beta(x))∫wβ​dq(x,fβ​(x)) to the limit when qqq is only weakly continuous. The generalized lower limit w‾(x)=lim inf⁡k,y→xw(k,y)\underline w(x) = \liminf_{k, y\to x} w(k, y)w​(x)=liminfk,y→x​w(k,y) repairs this, but then the limit has to be realized along measurably chosen states and indices, and the limiting actions must be selected measurably as accumulation points. The second obstacle is that only an inequality survives, with the constant g‾\underline gg​; turning it into average optimality needs the Tauberian comparison of Lemma 1.2.

Formalization scope

The model reuses the published FeinbergLiang.ACOE.MDP (history-dependent randomized policies, the Ionescu-Tulcea path measure, JnJ^nJn, JβJ_\betaJβ​, Φ\PhiΦ) with its constant lower = 0, and a local definition file adds action sets, admissibility, ggg, vβv_\betavβ​, mβm_\betamβ​, gˉ\bar ggˉ​, g‾\underline gg​, wβw_\betawβ​, w‾\underline ww​ and Conditions (W), (S), (B). Committed conventions:

  • All costs and values lie in [0,∞][0, \infty][0,∞]; (1−β)(1-\beta)(1−β) is a nonnegative extended real, and β→1\beta \to 1β→1 means β↑1\beta \uparrow 1β↑1.
  • Every infimum defining ggg and vβv_\betavβ​ runs over admissible policies only (actions in A(x)A(x)A(x) almost surely); qqq and ccc are defined on S×AS \times AS×A, but only their values on the graph of AAA enter.
  • wβw_\betawβ​ is a truncated difference, which equals vβ−mβv_\beta - m_\betavβ​−mβ​ because the General Assumption gives mβ<∞m_\beta < \inftymβ​<∞. The General Assumption is an explicit hypothesis of every statement that involves ggg, g‾\underline gg​, gˉ\bar ggˉ​, mβm_\betamβ​ or wβw_\betawβ​.
  • Upper semicontinuity of A(⋅)A(\cdot)A(⋅) is Berge's. Condition (W)(0) is part of CondW: the topology on SSS generates its σ-algebra and is locally compact, second countable and Hausdorff, hence metrizable; the metric ρ\rhoρ of §3 is a metric-space instance. Under (S) no topology on SSS is used, and the lower limit is lim inf⁡kwβ(k)(x)\liminf_k w_{\beta(k)}(x)liminfk​wβ(k)​(x) (the discrete metric).
  • (W)(1) prints "A(x)∈C(x)A(x) \in \mathcal C(x)A(x)∈C(x)", read as C(A)\mathcal C(A)C(A). (3.2) prints inf⁡k≥nw‾k(k,x)\inf_{k\ge n}\underline w_k(k, x)infk≥n​w​k​(k,x), which is false in general; the subscript-nnn version used in the proof of Lemma 3.4 is stated. "{βm}⊂{β(k)}\{\beta_m\} \subset \{\beta(k)\}{βm​}⊂{β(k)}, βm→1\beta_m \to 1βm​→1" is encoded as βm=β(km)\beta_m = \beta(k_m)βm​=β(km​) with km→∞k_m \to \inftykm​→∞.
  • Theorem 3.8's "{β(k)}\{\beta(k)\}{β(k)} can be any sequence" is a universal quantifier over sequences and over choices of discount-optimal policies.

A formalization that assumes an average cost optimality inequality or equation, or that assumes the existence of the limit lim⁡(1−β)mβ\lim(1-\beta)m_\betalim(1−β)mβ​, proves Proposition 1.3 rather than the goal; the goal derives the inequality from (W) or (S), (B) and the General Assumption alone. Contributions to the shared infrastructure (Markov property of the canonical process, measurable selection theorems such as Brown–Purves, Fatou lemmas for varying measures) are welcome as separate theorems. §4 of the paper (entrance-time bounds for (B)) is outside this mission.

Selected references

  • M. Schäl, Average Optimality in Dynamic Programming with General State Space, Mathematics of Operations Research 18(1), 163–172, 1993. https://doi.org/10.1287/moor.18.1.163
  • M. Schäl, Conditions for optimality in dynamic programming and for the limit of n-stage optimal policies to be optimal, Z. Wahrscheinlichkeitstheorie verw. Gebiete 32, 179–196, 1975. https://doi.org/10.1007/BF00532612
  • L. I. Sennott, Average cost optimal stationary policies in infinite state Markov decision processes with unbounded costs, Operations Research 37(4), 626–633, 1989. https://doi.org/10.1287/opre.37.4.626
  • R. F. Serfozo, Convergence of Lebesgue integrals with varying measures, Sankhyā Ser. A 44, 380–402, 1982.
  • A. Arapostathis, V. S. Borkar, E. Fernández-Gaucherand, M. K. Ghosh, S. I. Marcus, Discrete-time controlled Markov processes with average cost criterion: a survey, SIAM J. Control Optim. 31(2), 282–344, 1993. https://doi.org/10.1137/0331018
  • E. A. Feinberg, P. O. Kasyanov, N. V. Zadoianchuk, Average cost Markov decision processes with weakly continuous transition probabilities, Mathematics of Operations Research 37(4), 591–607, 2012. https://doi.org/10.1287/moor.1120.0555
14 thms1 active userReviewed
Dynamic ProgrammingOperations ResearchProbability·Captain: mikedeng1

Inventory Control in a Fluctuating Demand Environment III: Under Stochastic Monotonicity, the Myopic and Optimal Basestock Levels Are Nondecreasing in the World StateResearch Paper

Motivation

Demand for many products does not arrive at a constant rate. It moves with an underlying environment: the economy, the season, a product's life-cycle stage, the state of a customer's own operations. Song and Zipkin (Oper. Res. 41(2):351–370, 1993) modelled this environment as a continuous-time Markov chain, the world, whose current state sets the Poisson demand rate, and showed that a basestock policy whose level depends on the current world state is optimal under linear order costs. Missions I and II of this series formalize those optimality results.

A practitioner who uses such a policy wants to know how the levels depend on the world. If a higher world state means more demand now and more demand later, a higher level should be kept. That is what intuition says, but the optimal level depends on the whole future of the world chain, not only on the current demand rate. §4 of the paper answers it for a world with an arbitrary partial order, which covers several independent demand drivers at once.

Setting

The world AAA is a continuous-time Markov chain on a countable set I\mathbf II with generator Q=(qij)Q = (q_{ij})Q=(qij​), qi=−qiiq_i = -q_{ii}qi​=−qii​, and bounded rates q∗=sup⁡iqiq^* = \sup_i q_iq∗=supi​qi​, λ∗=sup⁡iλi\lambda^* = \sup_i \lambda_iλ∗=supi​λi​. While A=iA = iA=i, unit demands arrive at rate λi\lambda_iλi​, all demand is backlogged, and orders arrive after a random lead time LLL that is independent of the world and the demand. Costs are discounted at rate α>0\alpha > 0α>0. With the unit order cost cˉ\bar ccˉ, holding rate hhh and penalty rate ppp, set c=cˉ E[e−αL]c = \bar c\,E[e^{-\alpha L}]c=cˉE[e−αL] and

C^(x)=max⁡{−px, hx},C(i,y)=E[e−αLC^(y−DLi)],\hat C(x) = \max\{-px,\ hx\}, \qquad C(i,y) = E\big[e^{-\alpha L}\hat C(y - D^i_L)\big],C^(x)=max{−px, hx},C(i,y)=E[e−αLC^(y−DLi​)],

where DLiD^i_LDLi​ is the demand during a lead time when the world starts in iii. Uniformizing at a rate μ≥q∗+λ∗\mu \ge q^* + \lambda^*μ≥q∗+λ∗ with β=1/(μ+α)\beta = 1/(\mu+\alpha)β=1/(μ+α) and γ=βμ\gamma = \beta\muγ=βμ, the myopic cost is G+(i,y)=(1−γ)cy+βC(i,y)G^+(i,y) = (1-\gamma)cy + \beta C(i,y)G+(i,y)=(1−γ)cy+βC(i,y). The linear-cost model (K=0K = 0K=0) is solved by value iteration from W0≡0W_0 \equiv 0W0​≡0:

Gn(i,y)=G+(i,y)+βλic+β{λiWn−1(i,y−1)+∑j≠iqijWn−1(j,y)+(μ−λi−qi)Wn−1(i,y)},G_n(i,y) = G^+(i,y) + \beta\lambda_i c + \beta\Big\{\lambda_i W_{n-1}(i,y-1) + \sum_{j\ne i} q_{ij}W_{n-1}(j,y) + (\mu-\lambda_i-q_i)W_{n-1}(i,y)\Big\},Gn​(i,y)=G+(i,y)+βλi​c+β{λi​Wn−1​(i,y−1)+j=i∑​qij​Wn−1​(j,y)+(μ−λi​−qi​)Wn−1​(i,y)},

Wn(i,x)=min⁡y≥xGn(i,y)W_n(i,x) = \min_{y\ge x} G_n(i,y)Wn​(i,x)=miny≥x​Gn​(i,y), with limits G∞G_\inftyG∞​ and W∞W_\inftyW∞​. The myopic level y+(i)y^+(i)y+(i), the finite-horizon levels yn∗(i)y^*_n(i)yn∗​(i) and the optimal level y∗(i)y^*(i)y∗(i) are the smallest minimizers of G+(i,⋅)G^+(i,\cdot)G+(i,⋅), Gn(i,⋅)G_n(i,\cdot)Gn​(i,⋅) and G∞(i,⋅)G_\infty(i,\cdot)G∞​(i,⋅), and y∞∗(i)=lim⁡nyn∗(i)y^*_\infty(i) = \lim_n y^*_n(i)y∞∗​(i)=limn​yn∗​(i). Throughout, αcˉ<p\alpha\bar c < pαcˉ<p (Assumption 1).

The world states carry a partial order ⪯\preceq⪯. The chain is stochastically partial-monotone (display (14)) if for every i⪯ji \preceq ji⪯j there is a probability space carrying copies of AAA started at iii and at jjj whose paths satisfy A(t)⪯A′(t)A(t) \preceq A'(t)A(t)⪯A′(t) for all t≥0t \ge 0t≥0 almost surely. Condition 1 requires this together with λi\lambda_iλi​ nondecreasing in iii.

Formalization targets

Goal: Theorem 8

Under Condition 1, the three families of levels exist and are nondecreasing along ⪯\preceq⪯:

i⪯j ⟹ y+(i)≤y+(j),y∗(i)≤y∗(j),y∞∗(i)≤y∞∗(j).i \preceq j \ \Longrightarrow\ y^+(i) \le y^+(j),\qquad y^*(i) \le y^*(j),\qquad y^*_\infty(i) \le y^*_\infty(j).i⪯j ⟹ y+(i)≤y+(j),y∗(i)≤y∗(j),y∞∗​(i)≤y∞∗​(j).

Milestones

  • Lemma 8, with its fixed-lead-time form from the proof: D(l)D(l)D(l) given A(0)=iA(0)=iA(0)=i is stochastically smaller than given A(0)=jA(0)=jA(0)=j for each l≥0l \ge 0l≥0, and DLi≤stDLjD^i_L \le_{st} D^j_LDLi​≤st​DLj​.
  • Lemma 9: ΔC(i,y)≥ΔC(j,y)\Delta C(i,y) \ge \Delta C(j,y)ΔC(i,y)≥ΔC(j,y) for i⪯ji \preceq ji⪯j.
  • Theorem 7: for all n≥1n \ge 1n≥1 and fixed xxx, ΔWn−1(i,x)\Delta W_{n-1}(i,x)ΔWn−1​(i,x) and ΔGn(i,x)\Delta G_n(i,x)ΔGn​(i,x) are nonincreasing in iii, and yn∗(i)y^*_n(i)yn∗​(i) is nondecreasing in iii.
  • Theorem 9 (companion): if qij≠0q_{ij} \ne 0qij​=0 only for j⪰ij \succeq ij⪰i, then y∗(i)=y+(i)y^*(i) = y^+(i)y∗(i)=y+(i), so the myopic policy is optimal.
  • Theorem 10 (companion): with a fixed order cost K>0K > 0K>0, the bounds S+(i)S^+(i)S+(i), r+(i)r^+(i)r+(i), r−(i)r^-(i)r−(i), r−−(i)r^{--}(i)r−−(i) on the optimal (r,S)(r,S)(r,S) parameters are nondecreasing in iii.

Significance

Theorem 8 turns an optimal policy into a structured one. A world-dependent basestock policy has one level per world state; monotonicity says the levels follow the order of the states, which reduces search, makes the levels interpretable, and gives sanity checks for computed solutions. Theorem 9 identifies when nothing beyond the one-step cost needs to be computed at all. Theorem 10 is the paper's substitute for an open question: the authors could not show that the optimal (r,S)(r,S)(r,S) parameters are monotone, and instead bound them between monotone functions.

All of these results are proved in the paper. None of them has been machine-checked. The formalization requires a value-iteration argument for a model with unbounded one-period costs, a coupling argument for Markov-modulated Poisson demand, and the passage to the limit in the levels. These are the ingredients of most monotone-policy results in inventory theory with Markov-modulated demand.

Difficulty

The obvious argument fails at the generator. For a single scalar world, stochastic monotonicity is equivalent to the expectation inequality (15) for nondecreasing functions, and the inductive step of Theorem 7 only needs that. For a partial order, the expectation inequality is strictly weaker than the coupling (14) (Massey 1987). The induction must also handle the cross term ∑jqijΔWn−1(j,x)\sum_j q_{ij}\Delta W_{n-1}(j,x)∑j​qij​ΔWn−1​(j,x), which requires an embedded discrete-time chain whose one-step kernel preserves the order. The paper's Lemma 7 asserts that the embedded chain P=I+Q/νP = I + Q/\nuP=I+Q/ν is monotone for every ν≥q∗\nu \ge q^*ν≥q∗. As printed, this is false at ν=q∗\nu = q^*ν=q∗: for two states with q01=q10=1q_{01} = q_{10} = 1q01​=q10​=1, PPP swaps the states. A complete proof cannot rely on that lemma as printed.

A second difficulty is that the one-period cost is unbounded. The classical theorems that ordered differences survive value iteration (Denardo, Lovejoy) assume bounded costs, so the induction has to be carried out by hand, and the limits G∞G_\inftyG∞​, y∞∗y^*_\inftyy∞∗​ must be justified by Lemma 4's uniform bounds.

Formalization scope

The Lean development lives in the namespace SongZipkinFluct.Monotone. World states form a countable nonempty type with a PartialOrder instance; no linear order is assumed. Inventory positions are integers. The demand-count law fi(d∣l)f_i(d\mid l)fi​(d∣l) and the world transition function P(t)P(t)P(t) are defined by uniformization at the model's rate μ\muμ, the paper's own device. The lead-time law is a probability measure on [0,∞)[0,\infty)[0,∞), and C(i,y)C(i,y)C(i,y) is the series ∑dgi(d∣α)C^(y−d)\sum_d g_i(d\mid\alpha)\hat C(y-d)∑d​gi​(d∣α)C^(y−d) of display (16). WnW_nWn​ uses an infimum over integers y≥xy \ge xy≥x, and W∞W_\inftyW∞​, G∞G_\inftyG∞​ are suprema over nnn, which equal the limits because the sequences are nondecreasing and bounded. Monotonicity in iii is Monotone/Antitone with respect to ⪯\preceq⪯. Smallest minimizers, maxima and minima are IsLeast/IsGreatest characterizations, never sInf on Z\mathbb ZZ.

Condition 1(a) is encoded as the coupling (14) itself, with one probability space per pair i⪯ji \preceq ji⪯j and copies identified by their finite-dimensional distributions. Replacing it by the expectation inequality (15), or the partial order by a total order, would change the theorem and is ruled out. Every goal statement asserts the existence of the levels it constrains before constraining them, so no conclusion holds vacuously. The standing hypotheses together with Condition 1 are satisfiable: a one-state instance is checked in Lean.

Lemma 7 is not included because it is false as printed. A guarded version (for instance with ν≥2q∗\nu \ge 2q^*ν≥2q∗) would be a welcome contribution. Reusable parts include the uniformized Markov-modulated Poisson process, the coupling definition of stochastic monotonicity for a countable partially ordered state space, and the usual stochastic order on N\mathbb NN. Proofs of Lemma 9 and Theorem 7 that avoid Lemma 7 are particularly welcome.

Selected references

  • 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
  • W. A. Massey, Stochastic orderings for Markov processes on partially ordered spaces, Mathematics of Operations Research 12(2):350–367, 1987. https://doi.org/10.1287/moor.12.2.350
  • J. Keilson and A. Kester, Monotone matrices and monotone Markov processes, Stochastic Processes and their Applications 5(3):231–241, 1977. https://doi.org/10.1016/0304-4149(77)90033-3
  • A. F. Veinott Jr., Optimal policy for a multi-product, dynamic, nonstationary inventory problem, Management Science 12(3):206–222, 1965. https://doi.org/10.1287/mnsc.12.3.206
  • W. S. Lovejoy, Ordered solutions for dynamic programs, Mathematics of Operations Research 12(2):269–276, 1987. https://doi.org/10.1287/moor.12.2.269
11 thms1 active userReviewed
Dynamic ProgrammingOperations ResearchOptimization·Captain: mikedeng1

Inventory Control in a Fluctuating Demand Environment I: With Linear Order Costs, a World-Dependent Basestock Policy Is Optimal over the Infinite HorizonResearch Paper

Motivation

An inventory controller must decide how much to order while demand changes with an observed external condition. A single demand rate misses that dependence: the same inventory position can justify different orders when the condition changes. Song and Zipkin's 1993 study asks whether a simple policy remains optimal when the condition follows a continuous-time Markov chain and orders arrive after a random lead time. The answer for linear ordering costs is a world-dependent basestock policy: each world state has one target inventory position, and an order raises the current position to that target when it lies below it.

The policy claim concerns an infinite horizon. It is stronger than showing that a particular collection of target levels performs well or that such a policy minimizes a one-step cost. Theorem 2 of Song and Zipkin identifies the targets through a limiting value function and establishes optimality for the full discounted problem. This mission formalizes that theorem and the finite-stage results the authors use to state its limit precisely.

Setting

The world state iii belongs to a nonempty countable set III. The world evolves according to a conservative continuous-time Markov generator Q=(qij)Q=(q_{ij})Q=(qij​), with exit rate qi=−qiiq_i=-q_{ii}qi​=−qii​. When the world is in state iii, customers demand individual units at rate λi≥0\lambda_i\ge0λi​≥0. The exit rates and demand rates are bounded above. Inventory is fully backlogged: a negative inventory level records unmet demand. The controller observes the world state and the inventory position x∈Zx\in\mathbb Zx∈Z, which includes outstanding orders, and chooses an order-up-to position y≥xy\ge xy≥x.

An order has actual unit cost cˉ≥0\bar c\ge0cˉ≥0 and may have fixed cost Kˉ≥0\bar K\ge0Kˉ≥0. This mission takes the linear-cost case, so the discounted fixed cost is K=0K=0K=0. The lead time LLL is a finite nonnegative random time, independent of the world and demand process. Its Laplace transform discounts the ordering costs to c=cˉ E[e−αL]c=\bar c\,E[e^{-\alpha L}]c=cˉE[e−αL], where α>0\alpha>0α>0 is the discount rate. Holding one unit costs h>0h>0h>0 per unit time; backlogging one unit costs p>0p>0p>0.

Write DLiD_L^iDLi​ for the number of demands during the lead time conditional on initial world state iii. The cost rate of an inventory level zzz is C^(z)=−pz\widehat C(z)=-pzC(z)=−pz for z<0z<0z<0 and hzhzhz otherwise. The lead-time cost and myopic cost are

C(i,y)=E[e−αLC^(y−DLi)],G+(i,y)=(1−γ)cy+βC(i,y),C(i,y)=E[e^{-\alpha L}\widehat C(y-D_L^i)],\qquad G^+(i,y)=(1-\gamma)cy+\beta C(i,y),C(i,y)=E[e−αLC(y−DLi​)],G+(i,y)=(1−γ)cy+βC(i,y),

where μ>0\mu>0μ>0 is a uniformization rate at least sup⁡iqi+sup⁡iλi\sup_iq_i+\sup_i\lambda_isupi​qi​+supi​λi​, β=(μ+α)−1\beta=(\mu+\alpha)^{-1}β=(μ+α)−1, and γ=βμ\gamma=\beta\muγ=βμ. The paper's Assumption 1, αcˉ<p\alpha\bar c<pαcˉ<p, applies to the later results. It ensures the myopic cost has finite nonnegative minimizers. The smallest such minimizer in world state iii is y+(i)y^+(i)y+(i), and ymin⁡+=min⁡iy+(i)y^+_{\min}=\min_i y^+(i)ymin+​=mini​y+(i).

With zero fixed cost and zero terminal cost, the nnn-stage transformed cost Wn(i,x)W_n(i,x)Wn​(i,x) minimizes the auxiliary cost Gn(i,y)G_n(i,y)Gn​(i,y) over y≥xy\ge xy≥x. Each GnG_nGn​ combines the myopic cost with the expected discounted continuation after a demand, a world-state jump, or a self-loop. Let W∞W_\inftyW∞​ and G∞G_\inftyG∞​ denote their pointwise limits. A basestock policy π(y)\pi(y)π(y) orders to max⁡{x,y(i)}\max\{x,y(i)\}max{x,y(i)} in state (i,x)(i,x)(i,x); it never cancels an outstanding order.

Formalization targets

The main target is the finite, smallest global minimizer y∗(i)y^*(i)y∗(i) of G∞(i,⋅)G_\infty(i,\cdot)G∞​(i,⋅) for each world state, with the inequalities of Theorem 2(c):

0≤ymin⁡+≤y∗(i)≤y∞∗(i)≤y+(i),G∞(i,y∞∗(i))=min⁡z∈ZG∞(i,z).0\le y^+_{\min}\le y^*(i)\le y^*_\infty(i)\le y^+(i), \qquad G_\infty(i,y^*_\infty(i))=\min_{z\in\mathbb Z}G_\infty(i,z).0≤ymin+​≤y∗(i)≤y∞∗​(i)≤y+(i),G∞​(i,y∞∗​(i))=z∈Zmin​G∞​(i,z).

Here y∞∗(i)y^*_\infty(i)y∞∗​(i) is the limit of the smallest finite-stage minimizers yn∗(i)y^*_n(i)yn∗​(i). Theorem 2(e) then asserts that π(y∗)\pi(y^*)π(y∗) has minimum infinite-horizon expected discounted cost from every state among all feasible policies. The milestone list states Lemmas 1, 2 and 4, Corollaries 1 and 2, all parts of Theorem 1 as identified by the paper's internal references, and the limit and optimality-equation clauses of Theorem 2. Together they fix the finite-stage and limiting objects used by the goal.

Significance

The theorem reduces a decision at every integer inventory position to one integer target for each observed world state. It gives an exact policy structure for a model with a changing demand rate and random lead time, rather than an approximation derived from a constant-demand model. The limiting inequalities also locate an optimal target relative to the myopic target and the finite-stage targets, giving a mathematically specified range for policy computation. These claims are the linear-cost part of Song and Zipkin's analysis; the paper proves the result but supplies no Lean proof.

Formalization will leave reusable definitions for countable-state uniformization with a demand counter, integer convexity of inventory cost functions, and discounted costs of history-dependent policies. The mission's theorem statements compile as open goals. The remaining work is to verify the analytic properties of the lead-time demand law, the finite-stage inequalities, convergence, and the infinite-horizon policy comparison. The fixed-order-cost and monotone-world-state results of the paper are separate missions.

Difficulty

The world can have countably many states, so a continuation value includes a series over possible world jumps. The stage cost grows with inventory position, so a bounded-cost finite-state dynamic-programming theorem does not directly cover the model. The minimization is over an unbounded set of integers, and the minimizers themselves change with the stage number. Convexity of a one-stage cost alone does not establish that the limiting policy beats policies that use the entire observation history. These are the specific gaps the paper's bound, ordered-difference, and limit results address.

Formalization scope

World states are a nonempty countable Lean type, inventory positions and order-up-to levels are integers, and costs are real until policy evaluation. The lead-time law is a probability measure on finite nonnegative real times, independent of world and demand. The demand-count law is defined by exact Poisson uniformization at rate μ\muμ, with demand, world-jump, and self-loop branches. The infinite-horizon policy cost uses extended nonnegative reals and a supremum of finite-horizon costs, so it can express an infinite expected cost without a default real value. Policies may depend on all past observed states; the goal compares its basestock policy against every feasible deterministic policy in this class. Randomized policies are omitted because they cannot improve expected nonnegative costs on this countable state space.

Assumption 1 is attached only to the results that use it. The linear-cost recursion has K=0K=0K=0 and W0=0W_0=0W0​=0. Integer convexity means nondecreasing forward differences. Smallest minimizers and the minimum across world states are asserted to exist; neither is encoded by an integer infimum that returns a default on an empty or unbounded set. The goal requires an actual optimal policy cost comparison from every state, so solving the limiting optimality equation only within basestock policies cannot close it. Contributions to the lead-time mixture, integer convexity, boundedness of the real series and infima, and unrestricted policy comparison all fit this scope.

Selected references

  • Jing-Sheng Song and Paul Zipkin, Inventory Control in a Fluctuating Demand Environment, Operations Research 41(2):351–370, 1993. DOI 10.1287/opre.41.2.351.
12 thms1 active userReviewed
Dynamic ProgrammingOperations ResearchProbability·Captain: mikedeng1

Some Monotonicity Results for Partially Observed Markov Decision Processes: MLR-Monotone Optimal Values and the Myopic Policy as a Lower Bound on the Optimal PolicyResearch Paper

Motivation

A partially observed Markov decision process (POMDP) models a controller that cannot see the state of the system it controls. It sees only noisy observations, and so it acts on a belief: a probability vector over the hidden states. Machine maintenance, medical screening, quality control and search problems all have this form. The dynamic program of a POMDP lives on the simplex of beliefs, a continuum, so computing exact optimal policies is expensive even when the state, action and observation sets are small. Structural results reduce that cost. A value function that is monotone in the belief, or a policy known to dominate a cheap reference policy, shrinks the space a computation must search. Such results also explain the model: they say when one belief is "better" than another.

W. S. Lovejoy, Some Monotonicity Results for Partially Observed Markov Decision Processes (Operations Research 35(5):736–743, 1987), provides such results by ordering beliefs with the monotone likelihood ratio (MLR) order instead of first-order stochastic dominance.

Timeline. Smallwood and Sondik (1973) set out the finite POMDP and its piecewise-linear value functions. White (1979, 1980) obtained monotone policies and values for machine replacement, for single-stage problems, and for the completely observed and completely unobserved extremes, all under first-order stochastic dominance. Albright (1979) treated the two-state case, where the usual orders coincide. Whitt (1979, 1982) developed the likelihood-ratio orders and showed that they are preserved by Bayesian updating. Lovejoy (1987) combined these into general monotonicity results for finite POMDPs, and the MLR order has since become the standard tool for structural results in POMDPs.

Setting

Let S={1,…,n}S=\{1,\dots,n\}S={1,…,n} (states) and O={1,…,m}O=\{1,\dots,m\}O={1,…,m} (observations) carry their natural orders, and let AAA be a finite, completely ordered action set. For a finite chain XXX, Π(X)\Pi(X)Π(X) is the set of probability vectors on XXX. For π,π′∈Π(X)\pi,\pi'\in\Pi(X)π,π′∈Π(X), π≥sπ′\pi\ge_s\pi'π≥s​π′ (first-order stochastic dominance) means ∑i≥qπi≥∑i≥qπi′\sum_{i\ge q}\pi_i\ge\sum_{i\ge q}\pi'_i∑i≥q​πi​≥∑i≥q​πi′​ for every qqq. π≥rπ′\pi\ge_r\pi'π≥r​π′ (MLR order) means πiπi′′≥πi′πi′\pi_i\pi'_{i'}\ge\pi_{i'}\pi'_iπi​πi′′​≥πi′​πi′​ whenever i≥i′i\ge i'i≥i′. For matrices f,gf,gf,g on X×YX\times YX×Y, f≥tpgf\ge_{tp}gf≥tp​g means f(x∨x′,y∨y′) g(x∧x′,y∧y′)≥f(x,y) g(x′,y′)f(x\vee x',y\vee y')\,g(x\wedge x',y\wedge y')\ge f(x,y)\,g(x',y')f(x∨x′,y∨y′)g(x∧x′,y∧y′)≥f(x,y)g(x′,y′) for all pairs, and fff is TP₂ if f≥tpff\ge_{tp}ff≥tp​f.

In each period the decision maker in state st=is_t=ist​=i chooses a∈Aa\in Aa∈A and receives the reward g(i,a)g(i,a)g(i,a). The state moves to jjj with probability pijap^a_{ij}pija​ (matrix PaP^aPa), and an observation kkk arrives with probability rjkar^a_{jk}rjka​ (matrix RaR^aRa, with row ra(j)∈Π(O)r^a(j)\in\Pi(O)ra(j)∈Π(O)), generated by the new state jjj and the action aaa. The paper assumes rjka>0r^a_{jk}>0rjka​>0 throughout. The discount factor is β≥0\beta\ge 0β≥0. From a belief π\piπ, the observation kkk has probability σ(k;π,a)=∑i,jπipijarjka\sigma(k;\pi,a)=\sum_{i,j}\pi_i p^a_{ij}r^a_{jk}σ(k;π,a)=∑i,j​πi​pija​rjka​, and the posterior is the Bayes update Tj(π,a,k)=∑iπipijarjka/σ(k;π,a)T_j(\pi,a,k)=\sum_i\pi_ip^a_{ij}r^a_{jk}/\sigma(k;\pi,a)Tj​(π,a,k)=∑i​πi​pija​rjka​/σ(k;π,a). With

h(π,a,V)=∑iπig(i,a)+β∑kσ(k;π,a) V(T(π,a,k)),h(\pi,a,V)=\sum_{i}\pi_i g(i,a)+\beta\sum_{k}\sigma(k;\pi,a)\,V(T(\pi,a,k)),h(π,a,V)=i∑​πi​g(i,a)+βk∑​σ(k;π,a)V(T(π,a,k)),

a finite horizon NNN with salvage value gsg_sgs​ gives the optimal values VN+1∗(π)=∑iπigs(i)V^*_{N+1}(\pi)=\sum_i\pi_ig_s(i)VN+1∗​(π)=∑i​πi​gs​(i) and Vt∗(π)=max⁡ah(π,a,Vt+1∗)V^*_t(\pi)=\max_a h(\pi,a,V^*_{t+1})Vt∗​(π)=maxa​h(π,a,Vt+1∗​). For N=∞N=\inftyN=∞ and 0<β<10<\beta<10<β<1, V∗V^*V∗ is the bounded solution of V∗(π)=max⁡ah(π,a,V∗)V^*(\pi)=\max_a h(\pi,a,V^*)V∗(π)=maxa​h(π,a,V∗). The myopic actions are α(π)=argmax⁡a∑iπig(i,a)\alpha(\pi)=\operatorname{argmax}_a\sum_i\pi_ig(i,a)α(π)=argmaxa​∑i​πi​g(i,a).

Formalization targets

Goal: Proposition 2 (myopic lower bound)

Under (a) gsg_sgs​ nondecreasing, (b) g(⋅,a)g(\cdot,a)g(⋅,a) nondecreasing, (c) Pa≥tpPa′P^a\ge_{tp}P^{a'}Pa≥tp​Pa′ for a≥a′a\ge a'a≥a′, (d) ra(j)≥rra(j′)r^a(j)\ge_r r^a(j')ra(j)≥r​ra(j′) for j≥j′j\ge j'j≥j′, (e) ra(j)≥sra′(j)r^a(j)\ge_s r^{a'}(j)ra(j)≥s​ra′(j) for a≥a′a\ge a'a≥a′, and (f) rjkarj′ka′≥rjka′rj′kar^a_{jk}r^{a'}_{j'k}\ge r^{a'}_{jk}r^a_{j'k}rjka​rj′ka′​≥rjka′​rj′ka​ for a≥a′a\ge a'a≥a′, j≥j′j\ge j'j≥j′: for every t≤Nt\le Nt≤N (finite horizon), or for the infinite horizon with 0<β<10<\beta<10<β<1, and every π∈Π(S)\pi\in\Pi(S)π∈Π(S),

∀ δ∗(π) ∃ α(π)≤δ∗(π),∀ α(π) ∃ δ∗(π)≥α(π),\forall\,\delta^*(\pi)\ \exists\,\alpha(\pi)\le\delta^*(\pi),\qquad \forall\,\alpha(\pi)\ \exists\,\delta^*(\pi)\ge\alpha(\pi),∀δ∗(π) ∃α(π)≤δ∗(π),∀α(π) ∃δ∗(π)≥α(π),

where δ∗(π)\delta^*(\pi)δ∗(π) ranges over the maximizers of a↦h(π,a,Vt+1∗)a\mapsto h(\pi,a,V^*_{t+1})a↦h(π,a,Vt+1∗​) (resp. h(π,a,V∗)h(\pi,a,V^*)h(π,a,V∗)).

Milestone: Proposition 1 (MLR-monotone values)

Under (a)–(d) with every PaP^aPa TP₂: π≥rπ′\pi\ge_r\pi'π≥r​π′ in Π(S)\Pi(S)Π(S) implies Vt∗(π)≥Vt∗(π′)V^*_t(\pi)\ge V^*_t(\pi')Vt∗​(π)≥Vt∗​(π′) for t=1,…,N+1t=1,\dots,N+1t=1,…,N+1, and, without (a), V∗(π)≥V∗(π′)V^*(\pi)\ge V^*(\pi')V∗(π)≥V∗(π′) for N=∞N=\inftyN=∞.

Supporting milestones

The ordering facts behind both propositions: MLR implies stochastic dominance (§1), Lemma 1.1 (characterization of ≥s\ge_s≥s​), Lemma 1.3 (TP₂ prediction preserves ≥r\ge_r≥r​), Lemma 1.2 (the Bayes update is MLR-monotone in the observation, the prior and the action), the stochastic monotonicity of σ\sigmaσ in the belief (proof of Proposition 1) and in the action (Lemma 2.3), the comparison of hhh-increments with myopic increments (proof of Proposition 2), and Lemma 2.2 (dominated increments order maximizer sets).

Significance

The result. Proposition 2 makes the myopic policy, which solves a one-stage problem, a lower bound on an optimal policy for every belief and every period. In a search over policies, actions below α(π)\alpha(\pi)α(π) can be discarded. When ggg also has isotone differences, α\alphaα is nondecreasing, and the optimal policy is bounded below by a monotone function that is easy to compute. Proposition 1 gives MLR-monotone value functions, the input to many later structural results for POMDPs. Lemma 1.2 records the fact behind it: Bayesian updating respects the MLR order, while first-order stochastic dominance does not survive conditioning.

Formalizing it. These results are proved on paper. This mission produces machine-checked proofs, together with a reusable finite-POMDP layer (belief update, observation probabilities, Bellman operator, finite- and infinite-horizon values) and a library of the stochastic orders on finite chains. One statement in the paper is wrong: the printed "only if" direction of Lemma 1.2(1) is false. The mission states only the direction that is true and used.

Difficulty

The obvious induction on ttt for Proposition 1 needs k↦V(T(π,a,k))k\mapsto V(T(\pi,a,k))k↦V(T(π,a,k)) to be nondecreasing and σ(π,a)\sigma(\pi,a)σ(π,a) to increase with π\piπ. Both need a belief order that conditioning preserves. Under first-order stochastic dominance the posterior is not monotone in the prior, and the paper's counterexample (p. 740) shows that the induction then fails. The MLR order repairs this, but proving that the prediction step preserves it (Lemma 1.3) requires a total-positivity composition argument (Karlin–Rinott, Theorem 2.4) on product lattices. For Proposition 2 the difficulty is to compare continuation values across actions: the observation distribution and the posterior both change with the action, and two separate orderings (Lemma 2.3 and Lemma 1.2(3)) must be combined before the maximizer comparison applies. The infinite-horizon parts additionally need the Bellman fixed point characterized well enough to pass monotonicity to the limit.

Formalization scope

Everything is finite, so all probabilities and expectations are finite sums and no measure theory is involved. States, observations and actions are finite nonempty types with a LinearOrder (any finite chain is isomorphic to {1,…,n}\{1,\dots,n\}{1,…,n}). Π(X)\Pi(X)Π(X) is Mathlib's stdSimplex ℝ X. The orders ≥s,≥r,≥tp\ge_s,\ge_r,\ge_{tp}≥s​,≥r​,≥tp​ are plain relations (StochGE, MLRGE, TPGE) with the larger argument first, and every statement assumes simplex membership explicitly. The standing assumptions (stochastic rows of PaP^aPa and RaR^aRa, rjka>0r^a_{jk}>0rjka​>0, β≥0\beta\ge0β≥0) are fields of the structure POMDP. Vt∗V^*_tVt∗​ is computed by recursion (3) counted in steps to go, Vstar gs N t = valueToGo gs (N+1-t). The infinite-horizon V∗V^*V∗ is any function bounded on Π(S)\Pi(S)Π(S) that solves the Bellman equation there. For 0<β<10<\beta<10<β<1 such a function exists and is unique on Π(S)\Pi(S)Π(S), by contraction. The equivalence between recursion (3) and the optimum over history-dependent strategies is cited by the paper from the literature and is not part of this mission. Maximizer sets (argmaxSet) carry the "for all δ∗\delta^*δ∗ / there exists α\alphaα" quantifiers. Both halves of each part of Proposition 2 are ∀∃\forall\exists∀∃ statements.

The goal is not to be read with Vt+1∗V^*_{t+1}Vt+1∗​ or V∗V^*V∗ replaced by an arbitrary, or an arbitrary nondecreasing, value function. That reading would reduce Proposition 2 to Lemma 2.2 plus a hypothesis. The goal quantifies only over the value functions of recursion (3) and over bounded Bellman solutions.

A complete development needs finite total-positivity composition (Mathlib's four functions theorem is the natural starting point), Abel summation for Lemma 1.1, and a contraction argument for the infinite horizon. The order library and the finite POMDP layer are reusable beyond this paper. Proofs of any milestone are welcome, as are alternative arguments for Lemma 1.3.

Selected references

  • W. S. Lovejoy, Some Monotonicity Results for Partially Observed Markov Decision Processes, Operations Research 35(5):736–743, 1987. https://doi.org/10.1287/opre.35.5.736
  • R. D. Smallwood and E. J. Sondik, The Optimal Control of Partially Observable Markov Processes over a Finite Horizon, Operations Research 21(5):1071–1088, 1973. https://doi.org/10.1287/opre.21.5.1071
  • W. Whitt, A Note on the Influence of the Sample on the Posterior Distribution, Journal of the American Statistical Association 74:424–426, 1979.
  • W. Whitt, Multivariate Monotone Likelihood Ratio and Uniform Conditional Stochastic Order, Journal of Applied Probability 19:695–701, 1982.
  • S. Karlin and Y. Rinott, Classes of Orderings of Measures and Related Correlation Inequalities. I. Multivariate Totally Positive Distributions, Journal of Multivariate Analysis 10(4):467–498, 1980. https://doi.org/10.1016/0047-259X(80)90065-2
  • C. White, Optimal Control-limit Strategies for a Partially Observed Replacement Problem, International Journal of Systems Science 10:321–331, 1979 (the machine-replacement model of §5).
  • S. C. Albright, Structural Results for Partially Observable Markov Decision Processes, Operations Research 27(5):1041–1053, 1979. https://doi.org/10.1287/opre.27.5.1041
16 thms1 active userReviewed
ProbabilityStochastic Systems·Captain: mikedeng1

On the Generalized “Birth-and-Death” Process 1: For Rates λ(t), μ(t) ≥ 0 the Population Size Is Geometric with a Modified Zero Term, ξ_t = 1 − e^{−ρ}/W, η_t = 1 − 1/WResearch Paper

Motivation

Population models often allow each individual to produce a new individual or die at rates that change over time. Seasonal conditions, exposure to an epidemic, and changing conditions in a laboratory population all make a constant rate a restrictive assumption. In Kendall's 1948 paper, the question is how the entire distribution of the population size evolves when the per-individual birth and death rates are prescribed functions of time. The distribution matters even when its mean is known: a population can have a stable expected size while still having a substantial chance of extinction. Kendall presents the varying-rate model as a generalization of the constant-rate process discussed by Feller in 1939 (Kendall 1948, §1).

This mission concerns Kendall's solution for a population descended from one ancestor. It includes the explicit distribution, the forward equations that connect it to the birth and death model, and the formulas for its mean, variance, and chance of eventual extinction. The paper has no numbered theorems; its results are identified here by its equation numbers and printed pages.

Setting

At time t≥0t\ge0t≥0, let ntn_tnt​ be the number of individuals. Each individual gives birth at instantaneous rate λ(t)\lambda(t)λ(t) and dies at rate μ(t)\mu(t)μ(t), so a population of size nnn moves to n+1n+1n+1 at rate nλ(t)n\lambda(t)nλ(t) and to n−1n-1n−1 at rate nμ(t)n\mu(t)nμ(t). Both rates are nonnegative. The initial state is n0=1n_0=1n0​=1. Write Pn(t)P_n(t)Pn​(t) for the probability that nt=nn_t=nnt​=n. The forward equations in §2, (2)–(4), p. 2 are

P0′(t)=μ(t)P1(t),Pn′(t)=(n+1)μ(t)Pn+1(t)+(n−1)λ(t)Pn−1(t)−n(λ(t)+μ(t))Pn(t)(n≥1).P_0'(t)=\mu(t)P_1(t),\qquad P_n'(t)=(n+1)\mu(t)P_{n+1}(t)+(n-1)\lambda(t)P_{n-1}(t) -n(\lambda(t)+\mu(t))P_n(t)\quad(n\ge1).P0′​(t)=μ(t)P1​(t),Pn′​(t)=(n+1)μ(t)Pn+1​(t)+(n−1)λ(t)Pn−1​(t)−n(λ(t)+μ(t))Pn​(t)(n≥1).

The formula for P0′P_0'P0′​ reflects that a population already at zero cannot reproduce. The n−1n-1n−1 term vanishes at n=1n=1n=1, as it must. The model is expressed through these real-valued probability functions; it does not require a sample-space construction of a stochastic process.

Define the integrated rate difference ρ(t)\rho(t)ρ(t) and the function W(t)W(t)W(t) by §2, (10a)–(11), p. 4:

ρ(t)=∫0t(μ(τ)−λ(τ)) dτ,W(t)=e−ρ(t)(1+∫0teρ(τ)μ(τ) dτ).\rho(t)=\int_0^t(\mu(\tau)-\lambda(\tau))\,d\tau,\qquad W(t)=e^{-\rho(t)}\left(1+\int_0^t e^{\rho(\tau)}\mu(\tau)\,d\tau\right).ρ(t)=∫0t​(μ(τ)−λ(τ))dτ,W(t)=e−ρ(t)(1+∫0t​eρ(τ)μ(τ)dτ).

Set ξt=1−e−ρ(t)/W(t)\xi_t=1-e^{-\rho(t)}/W(t)ξt​=1−e−ρ(t)/W(t) and ηt=1−1/W(t)\eta_t=1-1/W(t)ηt​=1−1/W(t). Kendall's modified-zero geometric law is P0(t)=ξtP_0(t)=\xi_tP0​(t)=ξt​ and Pn(t)=(1−ξt)(1−ηt)ηtn−1P_n(t)=(1-\xi_t)(1-\eta_t)\eta_t^{n-1}Pn​(t)=(1−ξt​)(1−ηt​)ηtn−1​ for n≥1n\ge1n≥1. The zero state has its own mass; the positive states form a geometric tail. For the nonnegative rates in this mission, W(t)≥1W(t)\ge1W(t)≥1 and 0≤ηt<10\le\eta_t<10≤ηt​<1 on t≥0t\ge0t≥0, so the displayed formulas have their ordinary probabilistic meaning.

Formalization targets

The geometric transient law

The goal is the full claim of §2, (8), (10a)–(12), pp. 3–4: the explicit Pn(t)P_n(t)Pn​(t) starts from one ancestor, is nonnegative and sums to one for every t≥0t\ge0t≥0, and satisfies the forward equations above. In symbols, the distribution part is

P0(t)=ξt,Pn(t)=(1−ξt)(1−ηt)ηtn−1 (n≥1),∑n=0∞Pn(t)=1.P_0(t)=\xi_t,\qquad P_n(t)=(1-\xi_t)(1-\eta_t)\eta_t^{n-1}\ (n\ge1),\qquad \sum_{n=0}^{\infty}P_n(t)=1.P0​(t)=ξt​,Pn​(t)=(1−ξt​)(1−ηt​)ηtn−1​ (n≥1),n=0∑∞​Pn​(t)=1.

The milestones record the paper's intermediate statements in reading order: the rational generating function ϕ(z,t)\phi(z,t)ϕ(z,t) in (9); the pair of equations for ξ\xiξ and η\etaη obtained from the generating-function equation (6); the equations for U=1−ξU=1-\xiU=1−ξ and V=1−ηV=1-\etaV=1−η; the differential equation and integral representation of WWW; the alternate formulas (10b)–(10c); and the explicit expressions (12). Each is a statement made in the source, with the page and equation displayed beside its milestone.

Extinction and moments

The companion target from §3, (18)–(19), p. 6 writes J(t)=∫0teρ(τ)μ(τ) dτJ(t)=\int_0^t e^{\rho(\tau)}\mu(\tau)\,d\tauJ(t)=∫0t​eρ(τ)μ(τ)dτ and states

P0(t)=J(t)1+J(t),P0(t)⟶1 ⟺ J(t)⟶+∞.P_0(t)=\frac{J(t)}{1+J(t)},\qquad P_0(t)\longrightarrow1\ \Longleftrightarrow\ J(t)\longrightarrow+\infty.P0​(t)=1+J(t)J(t)​,P0​(t)⟶1 ⟺ J(t)⟶+∞.

When J(t)J(t)J(t) has finite limit III, the limiting extinction chance is I/(1+I)I/(1+I)I/(1+I). Companion statements also retain the mean nˉt=e−ρ(t)\bar n_t=e^{-\rho(t)}nˉt​=e−ρ(t), all three expressions for the variance in (14c), the criterion that extinction has zero chance exactly when μ\muμ vanishes identically, and the necessary divergence of ∫0∞μ\int_0^\infty\mu∫0∞​μ for almost-sure extinction (Kendall 1948, pp. 4, 6–7).

Significance

The geometric law supplies every finite-time population probability from the rate functions. Its zero mass yields an extinction probability without taking limits of an unspecified process, while its first two moments quantify expected growth and fluctuations. The extinction criterion distinguishes a population that dies out with probability one from one that retains a positive chance of survival even when its eventual mean behavior is simple. The variance formulas give later sections of Kendall's paper a way to compare rate schedules with the same expected population (§§3, 6).

The result was proved in the 1948 paper. The work here is to state its model and conclusions precisely in Lean, preserving the initial condition, normalization, boundary state, and time-dependent rate conventions. The current files are theorem statements with proof placeholders; a successful build checks their syntax and types, not the mathematical proofs. Once proved, the definitions and the moment and extinction statements can also support formal work on time-dependent branching and population models.

Difficulty

Knowing the expected population is insufficient to determine the distribution. The forward equation for each PnP_nPn​ couples it to both neighboring states, producing an infinite system. A direct finite truncation would change the birth rate at its upper boundary and would therefore no longer be Kendall's model. The zero state also behaves differently from positive states: a purely geometric law on all n≥0n\ge0n≥0 does not capture its mass. The generating function has a rational form, but its time dependence must still agree with the forward system for every state and with a normalized probability law. The extinction statement adds an improper integral, whose finite and divergent regimes require distinct limits.

Formalization scope

Lean represents λ,μ:R→R\lambda,\mu:\mathbb R\to\mathbb Rλ,μ:R→R as continuous functions that are nonnegative for t≥0t\ge0t≥0. The paper calls the rates specified functions and assumes their nonnegativity; global continuity is an explicit convenience for the two-sided derivatives and interval integrals. Only nonnegative time appears in the probabilistic statements. The oriented intervalIntegral from zero to ttt represents every finite integral. HasDerivAt expresses each derivative, and HasSum expresses both normalization and the moment and generating-function series. The law lives on natural-number states, with P0P_0P0​ handled separately. The coefficient at state n=1n=1n=1 is the real number n−1n-1n−1, not an implicit extension to a negative state.

The positivity of WWW on nonnegative time must follow from the rates. The definitions are total Lean real functions, so a result that relies on a division states the hypotheses that keep its denominator nonzero. The limit J(t)→+∞J(t)\to+\inftyJ(t)→+∞ expresses divergence of the paper's improper integral. No uniqueness of solutions to the forward equations is included, because the cited passage does not establish that claim. The goal requires the explicit law to solve the forward equations and to be a probability law; merely expanding its generating function would leave the population model unformalized. Contributions that prove the formulas, establish the required positivity and convergence facts, or develop reusable lemmas for time-dependent linear birth and death equations all fit the scope.

Selected references

  • D. G. Kendall, On the generalized “birth-and-death” process, Annals of Mathematical Statistics 19(1), 1–15, 1948. DOI: 10.1214/aoms/1177730285.
8 thms1 active userReviewed
ProbabilityStochastic Systems·Captain: mikedeng1

Ergodic Theorems for Weakly Interacting Infinite Systems and the Voter Model: The Discrete-Time Proximity Process Is Dual to the Branching Process with InterferenceResearch Paper

Motivation

Many models in probability, statistical physics and the theory of stochastic networks are interacting particle systems: infinitely many sites, each in state 0 or 1, each updating at random according to the states of a few other sites. A basic question about such a system is ergodicity: does it have a unique stationary distribution, and does its law converge to it from every initial configuration? For infinite systems the question is hard, because the state space {0,1}I\{0,1\}^I{0,1}I is uncountable and standard Markov chain arguments do not apply.

Holley and Liggett (Ann. Probab. 3 (1975), 643–663) introduced a class of such systems, the proximity processes, which arise from a coupling of more general weakly interacting systems (the settings of Vasershtein (1969), Dobrushin (1971) and Chover (1974)), and showed that each proximity process is dual to a process of finite sets, the branching process with interference. Duality turns a question about an infinite-dimensional process into a question about a process whose states are finite sets. The paper uses it to give short proofs of ergodicity criteria and, in its §5, to study the invariant measures of the voter model. Duality of this kind became one of the main tools of the field; see Liggett, Interacting Particle Systems (Springer, 1985).

This mission formalizes the discrete-time half of the paper: the duality theorem (1.6) and its first applications, Corollary (3.1) and Corollary (4.1).

Setting

Let III be a countable set of sites and S={0,1}IS=\{0,1\}^IS={0,1}I the set of configurations η:I→{0,1}\eta:I\to\{0,1\}η:I→{0,1}, with the product σ\sigmaσ-algebra. For η∈S\eta\in Sη∈S, C(η)={i∈I:η(i)=1}C(\eta)=\{i\in I:\eta(i)=1\}C(η)={i∈I:η(i)=1} is the set of occupied sites.

The data of the model are, for each site iii, a sequence Ni,0=∅,Ni,1,Ni,2,…N_{i,0}=\emptyset,N_{i,1},N_{i,2},\dotsNi,0​=∅,Ni,1​,Ni,2​,… of finite subsets of III and a probability distribution fif_ifi​ on {0,1,2,… }\{0,1,2,\dots\}{0,1,2,…}.

The proximity process ηn\eta_nηn​ is the Markov chain on SSS whose transition function is the product measure

Q(η,⋅)=∏i∈Iνα(i,η),i,α(i,η)=∑k: Ni,k∩C(η)≠∅fi(k),Q(\eta,\cdot)=\prod_{i\in I}\nu_{\alpha(i,\eta),i},\qquad \alpha(i,\eta)=\sum_{k:\,N_{i,k}\cap C(\eta)\neq\emptyset}f_i(k),Q(η,⋅)=i∈I∏​να(i,η),i​,α(i,η)=k:Ni,k​∩C(η)=∅∑​fi​(k),

where νρ,i\nu_{\rho,i}νρ,i​ puts mass ρ\rhoρ on 111. In words: each site iii independently picks an index kkk with probability fi(k)f_i(k)fi​(k) and becomes 111 exactly when the set Ni,kN_{i,k}Ni,k​ contains an occupied site. Pη(ηn∈⋅)P_\eta(\eta_n\in\cdot)Pη​(ηn​∈⋅) denotes the law at time nnn started from η\etaη.

The branching process with interference (b.p.i.) AnA_nAn​ is the Markov chain on the collection T\mathcal TT of finite subsets of III with transition function

Q~(A,B)=∑′∏i∈Afi(ki),\tilde Q(A,B)=\sum{}'\prod_{i\in A}f_i(k_i),Q~​(A,B)=∑′i∈A∏​fi​(ki​),

the sum over all sequences (ki)i∈A(k_i)_{i\in A}(ki​)i∈A​ with ⋃i∈ANi,ki=B\bigcup_{i\in A}N_{i,k_i}=B⋃i∈A​Ni,ki​​=B: each particle at iii splits into particles on Ni,kN_{i,k}Ni,k​ with probability fi(k)f_i(k)fi​(k), and particles landing on the same site merge. PFP_FPF​ denotes probabilities for the chain started at FFF.

For F∈TF\in\mathcal TF∈T, B(F)={η∈S:η(i)=0 for all i∈F}B(F)=\{\eta\in S:\eta(i)=0\ \text{for all } i\in F\}B(F)={η∈S:η(i)=0 for all i∈F}.

Formalization targets

Goal: Theorem (1.6)

For all n≥0n\ge0n≥0, η∈S\eta\in Sη∈S and F∈TF\in\mathcal TF∈T,

Pη(ηn∈B(F))=PF(An∩C(η)=∅).P_\eta(\eta_n\in B(F))=P_F(A_n\cap C(\eta)=\emptyset).Pη​(ηn​∈B(F))=PF​(An​∩C(η)=∅).

Milestones

The proof is an induction on nnn whose steps are four displayed identities on p. 647:

  1. (2.3) the one-step law of the proximity process on B(F)B(F)B(F): Pη(η1∈B(F))=∑′∏i∈Ffi(ki)P_\eta(\eta_1\in B(F))=\sum'\prod_{i\in F}f_i(k_i)Pη​(η1​∈B(F))=∑′∏i∈F​fi​(ki​), the sum over sequences with Ni,ki∩C(η)=∅N_{i,k_i}\cap C(\eta)=\emptysetNi,ki​​∩C(η)=∅ for all i∈Fi\in Fi∈F;
  2. (2.4) the same expression for PF(A1∩C(η)=∅)P_F(A_1\cap C(\eta)=\emptyset)PF​(A1​∩C(η)=∅);
  3. (2.5) the first-step decomposition PF(An+1∩C(η)=∅)=∑(ki)P⋃i∈FNi,ki(An∩C(η)=∅)∏i∈Ffi(ki)P_F(A_{n+1}\cap C(\eta)=\emptyset)=\sum_{(k_i)}P_{\bigcup_{i\in F}N_{i,k_i}}(A_n\cap C(\eta)=\emptyset)\prod_{i\in F}f_i(k_i)PF​(An+1​∩C(η)=∅)=∑(ki​)​P⋃i∈F​Ni,ki​​​(An​∩C(η)=∅)∏i∈F​fi​(ki​);
  4. (2.8) the last-step decomposition Pη(ηn+1∈B(F))=∑(ki)Pη(ηn∈B(⋃i∈FNi,ki))∏i∈Ffi(ki)P_\eta(\eta_{n+1}\in B(F))=\sum_{(k_i)}P_\eta(\eta_n\in B(\bigcup_{i\in F}N_{i,k_i}))\prod_{i\in F}f_i(k_i)Pη​(ηn+1​∈B(F))=∑(ki​)​Pη​(ηn​∈B(⋃i∈F​Ni,ki​​))∏i∈F​fi​(ki​).

Applications

  • Corollary (3.1): if ∑k∣Ni,k∣fi(k)≤λ<1\sum_k|N_{i,k}|f_i(k)\le\lambda<1∑k​∣Ni,k​∣fi​(k)≤λ<1 for all iii, then
Pη(ηn∈B(F))≥1−λn∣F∣,P_\eta(\eta_n\in B(F))\ge1-\lambda^n|F|,Pη​(ηn​∈B(F))≥1−λn∣F∣,

and the point mass on the all-zero configuration is the only stationary distribution; along the way, (3.5): PF(An≠∅)≤EF∣An∣≤λn∣F∣P_F(A_n\neq\emptyset)\le E_F|A_n|\le\lambda^n|F|PF​(An​=∅)≤EF​∣An​∣≤λn∣F∣.

  • (4.5): for the §4 model on Z\mathbb ZZ, PF∪G(At≠∅)≤PF(At≠∅)+PG(At≠∅)−PF∩G(At≠∅)P_{F\cup G}(A_t\neq\emptyset)\le P_F(A_t\neq\emptyset)+P_G(A_t\neq\emptyset)-P_{F\cap G}(A_t\neq\emptyset)PF∪G​(At​=∅)≤PF​(At​=∅)+PG​(At​=∅)−PF∩G​(At​=∅).
  • Corollary (4.1): on I=ZI=\mathbb ZI=Z with Ni,1={i−1,i+1}N_{i,1}=\{i-1,i+1\}Ni,1​={i−1,i+1}, fi(0)=1−λf_i(0)=1-\lambdafi​(0)=1−λ, fi(1)=λf_i(1)=\lambdafi​(1)=λ, and h(λ)=2λ+2λ2−7λ3+5λ4−λ5h(\lambda)=2\lambda+2\lambda^2-7\lambda^3+5\lambda^4-\lambda^5h(λ)=2λ+2λ2−7λ3+5λ4−λ5,
Pη(ηt∈B(F))≥1−[h(λ)](t−1)/2∣F∣(t≥1).P_\eta(\eta_t\in B(F))\ge1-[h(\lambda)]^{(t-1)/2}|F|\qquad(t\ge1).Pη​(ηt​∈B(F))≥1−[h(λ)](t−1)/2∣F∣(t≥1).

Significance

The duality identity expresses every finite-dimensional "all vacant" probability of the proximity process, which determine its law, through a chain on finite sets. Consequences in the paper: a sufficient condition for convergence to the all-zero configuration (Corollary (3.1)), which in the nearest-neighbour example on Z\mathbb ZZ gives λ<12\lambda<\tfrac12λ<21​; the sharper range h(λ)<1h(\lambda)<1h(λ)<1, i.e. λ<0.6527\lambda<0.6527λ<0.6527, for that example (Corollary (4.1)), which the interference term makes possible; and, in continuous time, the analysis of the invariant measures of the voter model.

The results are classical and proved; a search of Prove2Me and Mathlib found no machine-checked proof of any of them. A formalization contributes a Lean model of an infinite-product Markov kernel on {0,1}I\{0,1\}^I{0,1}I with its nnn-step laws, a model of a set-valued branching chain, and the duality between them, which are reusable for other duality arguments (contact process, voter model, coalescing random walks).

Difficulty

The two sides of (1.7) are defined independently and live on different spaces. The left side is the time-nnn law of a chain on the uncountable space {0,1}I\{0,1\}^I{0,1}I, obtained by iterating an infinite product kernel; the right side comes from a transition matrix on the countable set of finite subsets of III, whose entries are themselves infinite sums over sequences indexed by a finite set. Neither side can be computed in closed form beyond n=1n=1n=1, so no direct evaluation proves the identity for general nnn.

Two technical points stand in the way of a naive argument. Evaluating a product kernel on a cylinder event and integrating it against a previous law requires the kernel to be measurable in η\etaη, a statement about cylinder sets of an infinite product that a hand proof passes over. And the natural recursion for nnn-step probabilities of the b.p.i. adds the new step at the end, while the comparison with the proximity process needs information about the first step; the two orders agree only by a Chapman–Kolmogorov argument over a countable state space with [0,∞][0,\infty][0,∞]-valued sums. Corollary (4.1) further needs quantitative estimates of survival probabilities for specific initial sets on Z\mathbb ZZ.

Formalization scope

All objects are in the namespace HolleyLiggett.Duality, in one definitions file.

  • {0,1}\{0,1\}{0,1} is Bool (true = 1), SSS is Config I := I → Bool with the product σ\sigmaσ-algebra, T\mathcal TT is Finset I.
  • Standing assumptions on every theorem: [Countable I], N : I → ℕ → Finset I (finite sets) with N i 0 = ∅, and f : I → PMF ℕ (probability distributions). A finite collection Ni,0,…,Ni,mN_{i,0},\dots,N_{i,m}Ni,0​,…,Ni,m​ is the case fi(k)=0f_i(k)=0fi​(k)=0 for k>mk>mk>m.
  • The kernel (1.1) is Measure.infinitePi of the two-point measures; the nnn-step law is proxLaw, iterating Measure.bind from the point mass at η\etaη. Measurability of the kernel is a true fact that solvers must prove; it is not assumed.
  • The b.p.i. nnn-step probabilities bpiProb follow the last-step recursion PF(An+1=B)=∑GPF(An=G)Q~(G,B)P_F(A_{n+1}=B)=\sum_GP_F(A_n=G)\tilde Q(G,B)PF​(An+1​=B)=∑G​PF​(An​=G)Q~​(G,B). All probabilities are in ℝ≥0∞, and each ∑′\sum'∑′ over sequences is an unconditional sum over ↥F → ℕ.
  • The page's "η(1)=1\eta(1)=1η(1)=1" in (1.2) is read as η(i)=1\eta(i)=1η(i)=1. Corollary (4.1) carries the added hypothesis t≥1t\ge1t≥1: at t=0t=0t=0 the printed bound fails when h(λ)>1h(\lambda)>1h(λ)>1, and the proof starts at t=1t=1t=1. Inequality (4.5) uses the §4 model on Z\mathbb ZZ, with the subtracted term moved across.
  • The goal relates the two chains defined by (1.1) and (1.4). A statement through the coupling Xi,nX_{i,n}Xi,n​ of the proof, about an arbitrary process with the right one-step behaviour, or for n=1n=1n=1 only, is not the theorem.

The continuous-time duality (Theorem (2.12)), Corollaries (3.9) and (4.15) and the voter model of §5 are out of scope. Contributions welcome: the measurability and probability facts for proxStep, Chapman–Kolmogorov for bpiProb, and proofs of the milestones.

Selected references

  • R. A. Holley and T. M. Liggett, Ergodic theorems for weakly interacting infinite systems and the voter model, Ann. Probab. 3(4) (1975), 643–663. https://doi.org/10.1214/aop/1176996306
  • T. M. Liggett, Interacting Particle Systems, Grundlehren der mathematischen Wissenschaften 276, Springer, 1985. https://doi.org/10.1007/978-1-4613-8542-4
  • R. L. Dobrushin, Markov processes with a large number of locally interacting components (Russian), Problems of Information Transmission 7(2) (1971), 70–87 (as cited by Holley and Liggett).
  • O. N. Stavskaya and I. I. Pyatetskii-Shapiro, On homogeneous nets of spontaneously active elements, Systems Theory Research 20 (1971), 75–88 (as cited by Holley and Liggett).
  • L. N. Vasershtein, Processes over denumerable products of spaces, describing large systems, Problems of Information Transmission 3 (1969), 47–52 (as cited by Holley and Liggett).
6 thms1 active userReviewed
Dynamic ProgrammingOperations Research·Captain: mikedeng1

Denumerable State Markovian Decision Processes—Average Cost Criterion: Every Limit Point of Policy Improvement Is a Deterministic Stationary Rule That Is Optimal over All RulesResearch Paper

Motivation

Markovian decision processes with the long-run average cost criterion model systems run indefinitely: inventories, queues, maintenance schedules, communication links. For a finite state space the theory was settled by the early 1960s. Howard's policy improvement (policy iteration) procedure (1960) finds an optimal stationary rule in finitely many steps, and Gillette (1957) and Derman (1962) showed that a stationary deterministic rule is optimal over all rules, history-dependent and randomized included (Derman 1962).

Many models of interest, such as queues with unbounded buffers and inventories with unbounded backlog, have a denumerable state space, and there the finite theory breaks down. Derman's paper (Ann. Math. Statist. 37 (1966) 1545–1553) gives two counterexamples in §2, both under bounded costs and finitely many decisions per state. In the first, due to Maitra, no optimal rule exists. In the second, a randomized stationary rule beats every deterministic one. It then gives sufficient conditions under which a stationary deterministic optimal rule exists and policy improvement finds it.

Timeline:

  • 1960: Howard introduces policy iteration for finite average-cost problems.
  • 1962: Derman proves that deterministic stationary rules are optimal for finite state spaces; Blackwell develops the finite discounted and near-discount theory.
  • 1963–1965: Iglehart (inventory) and Taylor (replacement) treat the average cost criterion in special infinite-state models; Derman's §3 proof follows part of Iglehart's argument.
  • 1964–1965: Blackwell, Maitra, Strauch and Derman (J. Math. Anal. Appl. 1965) treat infinite state spaces under the discounted criterion, where with Ki<∞K_i < \inftyKi​<∞ and bounded costs an optimal rule of C′′C''C′′ always exists.
  • 1966: Derman (this paper) gives the bounded-solution verification theorem and the convergence of policy improvement on a denumerable state space.
  • 1967 onward: Derman and Veinott (announced in §5 of this paper), and later Ross, Sennott, and Arapostathis, Borkar, Fernández-Gaucherand, Ghosh and Marcus (1993), give conditions for the existence of solutions of the optimality equation.

Setting

The system is observed at times t=0,1,2,…t = 0, 1, 2, \dotst=0,1,2,… in a state YtY_tYt​ of a denumerable set III. At state iii one of Ki<∞K_i < \inftyKi​<∞ decisions kkk is made (condition (A)). It costs wikw_{ik}wik​, and the next state is jjj with probability qij(k)q_{ij}(k)qij​(k). The costs are bounded (condition (B)) and may have either sign. A rule RRR chooses the decision at each time with probabilities that may depend on the whole history. The class of all rules is CCC, and C′′C''C′′ is the class of stationary deterministic rules ("make decision kik_iki​ at state iii"). The average cost of RRR from Y0=iY_0 = iY0​=i is

QR(i)=lim sup⁡T→∞1T+1∑t=0TERWt,Wt=wYtΔt.Q_R(i) = \limsup_{T\to\infty} \frac{1}{T+1}\sum_{t=0}^{T} E_R W_t, \qquad W_t = w_{Y_t \Delta_t}.QR​(i)=T→∞limsup​T+11​t=0∑T​ER​Wt​,Wt​=wYt​Δt​​.

A rule is optimal over CCC if QR(i)≤QR′(i)Q_R(i) \le Q_{R'}(i)QR​(i)≤QR′​(i) for every R′∈CR' \in CR′∈C and every iii.

The optimality equation (1) asks for a number ggg and a bounded {vj}\{v_j\}{vj​} with

g+vi=min⁡k{wik+∑j∈Iqij(k)vj},i∈I,g + v_i = \min_k \Big\{w_{ik} + \sum_{j\in I} q_{ij}(k) v_j\Big\}, \qquad i \in I,g+vi​=kmin​{wik​+j∈I∑​qij​(k)vj​},i∈I,

and equation (2) is its version for one rule R∈C′′R \in C''R∈C′′, with kik_iki​ in place of the minimum. Condition (C): every R∈C′′R \in C''R∈C′′ induces an irreducible Markov chain all of whose states are positive recurrent. Condition (E): every R∈C′′R \in C''R∈C′′ has a solution {gR,vjR}\{g^R, v^R_j\}{gR,vjR​} of (2), bounded uniformly in jjj and RRR. Condition (F): for every jjj the Cesàro limits πij(R)\pi_{ij}(R)πij​(R) of P{Yt=j∣Y0=i}P\{Y_t = j \mid Y_0 = i\}P{Yt​=j∣Y0​=i} satisfy inf⁡R∈C′′,i∈Iπij(R)>0\inf_{R\in C'', i \in I} \pi_{ij}(R) > 0infR∈C′′,i∈I​πij​(R)>0. One policy improvement iteration replaces RRR by a rule R′R'R′ whose decisions minimize wik+∑jqij(k)vjRw_{ik} + \sum_j q_{ij}(k) v_j^Rwik​+∑j​qij​(k)vjR​ at every state.

Formalization targets

Goal: Theorem 4

Under (A), (B), (C), (E) and (F), let R1,R2,…R_1, R_2, \dotsR1​,R2​,… be any sequence of policy improvement iterations from an arbitrary R1∈C′′R_1 \in C''R1​∈C′′. Then the sequence has a limit point R∗∈C′′R^* \in C''R∗∈C′′, and every limit point satisfies

QR∗(i)≤QR(i)for all R∈C, i∈I,Q_{R^*}(i) \le Q_R(i) \qquad \text{for all } R \in C,\ i \in I,QR∗​(i)≤QR​(i)for all R∈C, i∈I,

with gRn→QR∗(i)g^{R_n} \to Q_{R^*}(i)gRn​→QR∗​(i).

Milestones

  • Display (4): a rule of C′′C''C′′ solving (2) with bounded vvv has QR≡gQ_R \equiv gQR​≡g, the limit existing.
  • Display (6): a bounded solution of (1) gives ∣gn(i)−ng−vi∣≤M|g_n(i) - ng - v_i| \le M∣gn​(i)−ng−vi​∣≤M for the value iteration gng_ngn​ of (5).
  • §3: gn(i)g_n(i)gn​(i) is the least expected cost over the periods 0,…,n0, \dots, n0,…,n among all rules.
  • Theorem 1: a bounded solution of (1) makes every minimizing rule R∗∈C′′R^* \in C''R∗∈C′′ optimal over CCC, with QR∗≡gQ_{R^*} \equiv gQR∗​≡g.
  • Lemma 1 and the remark after it: a strict improvement at a nonempty set of states lowers QQQ at every initial state, by exactly ∑iπiεi\sum_i \pi_i \varepsilon_i∑i​πi​εi​.
  • Theorems 2 and 3: under (C), optimality over C′′C''C′′ implies optimality over CCC; under (C) and (E), an optimal rule of C′′C''C′′ exists.
  • Lemma 2: along policy improvement the gaps εiRn\varepsilon_i^{R_n}εiRn​​ tend to 000 at every state.

Significance

Theorem 1 is the countable-state verification theorem. It is the template for all later average-cost theory on infinite state spaces, which replaces boundedness of vvv by growth or Lyapunov conditions. Theorem 4 extends policy improvement, the standard algorithm for finite average-cost problems, to denumerable state spaces, under conditions that do not reduce the problem to a finite one.

Derman proved these results in 1966. None of them has been machine-checked: the platform has finite-state average-cost policy iteration and finite-state verification theorems, but no countable-state result of this kind. A formal development checks the analytic steps that the paper treats briefly. These are the interchange of limits and infinite sums in (3), (9) and (11), and the identification of the Cesàro limits of a positive recurrent chain with its steady-state probabilities.

Difficulty

On a finite state space, policy improvement terminates because there are finitely many rules and the average cost strictly decreases. On a denumerable state space C′′C''C′′ is uncountable, so neither step works. The sequence need not terminate. With ties in the minimization it need not converge either. A strict decrease of gRng^{R_n}gRn​ does not force the gaps to vanish. That needs (F), a uniform positive lower bound on the long-run occupation of each state. Passing to the limit in (2) along a subsequence requires a limit interchange in an infinite sum, which works only because {vR}\{v^R\}{vR} is uniformly bounded. Finally, comparing with history-dependent randomized rules needs the finite-horizon argument behind (6). A stationary-rule comparison is not enough.

Formalization scope

The model is the published Markov decision chain SennottDP.AvgFinite.MDC: a countable state type, a finite nonempty Finset of decisions at each state (so (A) is built in), and transition probabilities in [0,∞][0,\infty][0,∞] summing to one. History-dependent randomized rules are Policy M, and C′′C''C′′ is StationaryPolicy M. The chain notions (irreducibility, positive recurrence, steady state 1/mjj1/m_{jj}1/mjj​) come from the published SennottDP.MarkovCost.Chain. The conventions are as follows.

  • Costs are a separate signed function w with (B). The nonnegative cost field of MDC is unused, and w≥0w \ge 0w≥0 is not assumed.
  • ERWtE_R W_tER​Wt​ is the genuine expectation against the history law, and QRQ_RQR​ is the real limsup with the paper's normalization (T+1)−1(T+1)^{-1}(T+1)−1.
  • Every use of (1) or (2) assumes vvv bounded, so the series ∑jqij(k)vj\sum_j q_{ij}(k) v_j∑j​qij​(k)vj​ converge absolutely. The bound is part of the paper's hypotheses: without it Theorem 1 is false on infinite III.
  • (E) is an explicit family gR,vRg^R, v^RgR,vR, and the improvement step is taken against it, with arbitrary tie-breaking. (D) follows from (E) and is not a separate hypothesis.
  • (F) is stated with Cesàro limits. That they equal the steady-state probabilities under (C) is a proof obligation.
  • "Converges" in Theorem 4 is read as: a limit point exists, and every limit point is optimal over CCC. Whole-sequence convergence is not claimed, because the paper's proof does not establish it.
  • Sequences are indexed from 000.

Two trivializing formalizations are ruled out: optimality is over all history-dependent randomized rules, never only over C′′C''C′′, and QRQ_RQR​ is computed from the process law, never defined through (2).

A complete development needs Cesàro convergence of ttt-step probabilities to 1/mjj1/m_{jj}1/mjj​ for positive recurrent chains, dominated convergence for bounded functions against stochastic kernels, the finite-horizon dynamic programming principle for history-dependent rules, and a diagonal (Tychonoff) argument in ∏i{1,…,Ki}\prod_i \{1,\dots,K_i\}∏i​{1,…,Ki​}. The first and third are reusable well beyond this paper. Contributions of these lemmas as separate theorems are welcome.

Selected references

  • C. Derman, Denumerable State Markovian Decision Processes—Average Cost Criterion, Ann. Math. Statist. 37(6) (1966) 1545–1553. https://doi.org/10.1214/aoms/1177699146
  • C. Derman, On Sequential Decisions and Markov Chains, Management Sci. 9(1) (1962) 16–24. https://doi.org/10.1287/mnsc.9.1.16
  • R. A. Howard, Dynamic Programming and Markov Processes, Wiley, New York, 1960.
  • D. L. Iglehart, Dynamic programming and stationary analysis of inventory problems, Ch. 1 of Multistage Inventory Models and Techniques (H. Scarf, D. Gilford, M. Shelly, eds.), Stanford Univ. Press, 1963.
  • K. L. Chung, Markov Chains with Stationary Transition Probabilities, Springer, 1960. https://doi.org/10.1007/978-3-642-49686-8
  • A. Arapostathis, V. S. Borkar, E. Fernández-Gaucherand, M. K. Ghosh, S. I. Marcus, Discrete-time controlled Markov processes with average cost criterion: a survey, SIAM J. Control Optim. 31(2) (1993) 282–344. https://doi.org/10.1137/0331018
13 thms1 active userReviewed
PreviousPage 4 of 5Next

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