Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

Stochastic Systems

434 missions · 143 completed

The mathematics of systems that evolve under randomness, modeled as families of random variables indexed by time — from Markov chains and martingales to Brownian motion and stochastic differential equations. The field spans stochastic analysis, filtering and optimal control under uncertainty, ergodic behavior of random dynamics, and concentration of measure, with models reaching across physics, engineering, finance, and biology.

Missions

Open291Completed143All434
Operations ResearchProbability·Captain: mikedeng1

Revenue Management Without Forecasting or Optimization: An Adaptive Algorithm for Determining Airline Seat Protection Levels: Fill-Event Updates Converge to the Optimal Protection LevelsResearch Paper

Motivation

Airlines sell seats on a single flight in several fare classes. Discount classes book first, so the carrier must decide how many seats to protect for later, higher-paying passengers. The classical answer, from Littlewood's rule for two classes to the nested optimality conditions of Brumelle and McGill (1993), computes optimal protection levels from a forecast of the demand distribution of each class. Those forecasts must be built from censored booking data, which is where most of the practical difficulty lies.

van Ryzin and McGill (2000) observed that the optimality conditions themselves can drive an adaptive rule. After each flight one only records whether a fill event occurred (whether demand reached each protection level) and moves the levels by a stochastic-approximation step. No forecast and no optimization is needed. Their Theorem 1 asserts that this rule converges almost surely to the optimal protection levels, with an explicit mean-square rate. It is one of the standard references for model-free revenue management. The convergence proof combines Robbins–Monro theory, the Robbins–Siegmund supermartingale lemma and an induction over fare classes.

Setting

There are k+1k+1k+1 fare classes with fares f1>f2>⋯>fk+1>0f_1 > f_2 > \cdots > f_{k+1} > 0f1​>f2​>⋯>fk+1​>0 and discount ratios ri+1=fi+1/f1r_{i+1} = f_{i+1}/f_1ri+1​=fi+1​/f1​. On a flight the class demands X1,…,Xk+1X_1, \dots, X_{k+1}X1​,…,Xk+1​ are independent, nonnegative and continuously distributed. Successive flights X1,X2,…X^1, X^2, \dotsX1,X2,… are independent with the same law.

A protection vector is θ=(θ1,…,θk)\theta = (\theta_1, \dots, \theta_k)θ=(θ1​,…,θk​). The fill events are

Ai(θ,X)={X1>θ1, X1+X2>θ2, …, X1+⋯+Xi>θi},i=1,…,k.A_i(\theta, X) = \{X_1 > \theta_1,\ X_1 + X_2 > \theta_2,\ \dots,\ X_1 + \cdots + X_i > \theta_i\}, \qquad i = 1, \dots, k.Ai​(θ,X)={X1​>θ1​, X1​+X2​>θ2​, …, X1​+⋯+Xi​>θi​},i=1,…,k.

A vector θ∗\theta^*θ∗ is characterised by the optimality condition (3), P(Ai(θ∗,X))=ri+1P(A_i(\theta^*, X)) = r_{i+1}P(Ai​(θ∗,X))=ri+1​ for i=1,…,ki = 1, \dots, ki=1,…,k. The adjustments are Hi(θ,X)=ri+1−1(Ai(θ,X))H_i(\theta, X) = r_{i+1} - \mathbf 1(A_i(\theta, X))Hi​(θ,X)=ri+1​−1(Ai​(θ,X)), and their means are hi(θ)=ri+1−P(Ai(θ,X))h_i(\theta) = r_{i+1} - P(A_i(\theta, X))hi​(θ)=ri+1​−P(Ai​(θ,X)). From an arbitrary θ1\theta^1θ1 the algorithm updates

θn+1=θn−γnH(θn,Xn),γn=An+B, A>0, B≥0.\theta^{n+1} = \theta^n - \gamma_n H(\theta^n, X^n), \qquad \gamma_n = \frac{A}{n + B},\ A > 0,\ B \ge 0.θn+1=θn−γn​H(θn,Xn),γn​=n+BA​, A>0, B≥0.

The interim protection levels pi(θ)=max⁡{θj:1≤j≤i}p_i(\theta) = \max\{\theta_j : 1 \le j \le i\}pi​(θ)=max{θj​:1≤j≤i} are what the airline actually uses to control bookings. The updates themselves monitor Ai(θn,Xn)A_i(\theta^n, X^n)Ai​(θn,Xn).

Formalization targets

Goal: Theorem 1 (p. 765)

Assume:

  • A1: every XiX_iXi​ has bounded support.
  • A2 (windowed): for each R>0R > 0R>0 there is δR>0\delta_R > 0δR​>0 with (θi−θi∗) hi(θi,θi−1∗,…,θ1∗)≥δR∣θi−θi∗∣2(\theta_i - \theta^*_i)\,h_i(\theta_i, \theta^*_{i-1}, \dots, \theta^*_1) \ge \delta_R|\theta_i - \theta^*_i|^2(θi​−θi∗​)hi​(θi​,θi−1∗​,…,θ1∗​)≥δR​∣θi​−θi∗​∣2 whenever ∣θi−θi∗∣≤R|\theta_i - \theta^*_i| \le R∣θi​−θi∗​∣≤R.
  • A3: the distribution functions of the partial sums X1+⋯+XiX_1 + \cdots + X_iX1​+⋯+Xi​ are Lipschitz.

Then for i=1,…,ki = 1, \dots, ki=1,…,k,

θin→θi∗ a.s.,pi(θ∗)=θi∗,\theta^n_i \to \theta^*_i \ \text{a.s.}, \qquad p_i(\theta^*) = \theta^*_i,θin​→θi∗​ a.s.,pi​(θ∗)=θi∗​,

and there are β>0\beta > 0β>0 and CCC with

E∣θin−θi∗∣2≤C γnβ/2i−1.E|\theta^n_i - \theta^*_i|^2 \le C\,\gamma_n^{\beta/2^{i-1}}.E∣θin​−θi∗​∣2≤Cγnβ/2i−1​.

The exponent is left existential, as in the paper, so any improvement of the rate constant still proves the goal.

Milestones

The milestones follow the paper's own proof, in attack order:

  • the base case i=1i = 1i=1 (p. 765);
  • the Lipschitz bound on hi+1h_{i+1}hi+1​ (p. 766);
  • Lemma 3, boundedness of the iterates (p. 764);
  • the almost-supermartingale inequality (12) (p. 766);
  • Lemma 1 (p. 764);
  • the a.s. summability of γn∣θin−θi∗∣\gamma_n|\theta^n_i - \theta^*_i|γn​∣θin​−θi∗​∣ (p. 766);
  • Lemma 2, Robbins–Siegmund (p. 764);
  • the induction step for (9) (p. 766);
  • Lemma 4, the rate recursion (p. 764).

Significance

Theorem 1 says that the nested optimality conditions of Brumelle and McGill can be reached by observing binary fill events alone. It also says that the limit is automatically ordered, θ1∗≤⋯≤θk∗\theta^*_1 \le \cdots \le \theta^*_kθ1∗​≤⋯≤θk∗​, so the interim levels coincide with the limit. The algorithm is distribution-free and needs neither demand forecasts nor uncensoring, which is why it is used in practice and as a baseline for later data-driven and learning-based revenue management.

The theorem is proved in the paper. As far as is known it has no machine-checked proof. Formalizing it requires a vector Robbins–Monro argument with coupled coordinates, the Robbins–Siegmund lemma, and an explicit polynomial rate. Two of the milestones are general probability facts reusable far beyond this mission: Lemma 1, and Robbins–Siegmund, which no platform item states yet. The formalization also corrects the record on two printed slips, described under Formalization scope.

Difficulty

Coordinate i+1i+1i+1 is not a Robbins–Monro process by itself. Its fill event Ai+1(θ,X)A_{i+1}(\theta, X)Ai+1​(θ,X) depends on all of θ1,…,θi+1\theta_1, \dots, \theta_{i+1}θ1​,…,θi+1​, so the drift of θi+1n\theta^n_{i+1}θi+1n​ is perturbed by the errors of the lower coordinates. Applying a scalar convergence theorem coordinate by coordinate fails at this point. The perturbation has to be bounded via the Lipschitz assumption A3 and shown to be summable along the path, which uses the mean-square rate already established for class iii. The rate and the almost-sure convergence must therefore be carried through the induction together. The exponent halves at each class. A second difficulty is that A2 is only usable on a bounded set, so boundedness of the iterates (Lemma 3) has to come first and must be uniform.

Formalization scope

Classes are indexed from 111 in Lean (N\mathbb NN-indexed vectors whose index 000 and indices above k+1k+1k+1 are never read). A flight's demand vector has the product law ⨂iνi\bigotimes_i \nu_i⨂i​νi​, and the sample path has the countable product of copies of it. Lean's iterate … n is the paper's θn+1\theta^{n+1}θn+1, so the rate pairs it with γn+1\gamma_{n+1}γn+1​. Continuity of a demand law is "every singleton is null". Expectations are Bochner integrals, and integrability is part of each rate conclusion. The fill event reuses the published NestedSeatAlloc.ProbCond.nestEvent.

Pinned and corrected statements:

  • A2 as printed is unsatisfiable. It asks for one δ\deltaδ valid for all θi\theta_iθi​. Since ∣hi∣≤1|h_i| \le 1∣hi​∣≤1, the inequality fails once ∣θi−θi∗∣>1/δ|\theta_i - \theta^*_i| > 1/\delta∣θi​−θi∗​∣>1/δ, so the printed Theorem 1 is vacuously true. The mission uses the windowed A2 above. That is what the proof applies to bounded iterates, and what the paper's sufficient condition (a density bounded below near θ∗\theta^*θ∗) yields. A formalization with the printed A2, or with any other hypothesis no instance satisfies, is ruled out.
  • The base case. The page claims the rate "for all 0<β<10 < \beta < 10<β<1". That is false in general. The milestone states "for some β>0\beta > 0β>0", which is all Theorem 1 uses.
  • Integrability. Lemma 2 assumes each ZnZ_nZn​ integrable, so that the conditional expectation is genuine. Lemma 3's "bounded (a.s.)" is read as a bound uniform in nnn.
  • Standing assumptions. Nonnegative demands and positive fares are added where the argument uses them.

Not posed: §4's modifications (projection onto the capacity, randomized integer levels, booking lead times) and the simulations of §5.

Contributions welcome: proofs of the general lemmas (Lemma 1, Robbins–Siegmund) stated for arbitrary probability spaces, measurability facts for the recursion, and the elementary Lemma 4.

Selected references

  • G. van Ryzin and J. McGill, Revenue Management Without Forecasting or Optimization: An Adaptive Algorithm for Determining Airline Seat Protection Levels, Management Science 46(6), 760–775, 2000. https://doi.org/10.1287/mnsc.46.6.760.11936
  • S. L. Brumelle and J. I. McGill, Airline Seat Allocation with Multiple Nested Fare Classes, Operations Research 41(1), 127–137, 1993. https://doi.org/10.1287/opre.41.1.127
  • H. Robbins and D. Siegmund, A convergence theorem for non negative almost supermartingales and some applications, in Optimizing Methods in Statistics, Academic Press, 233–257, 1971. https://doi.org/10.1016/B978-0-12-604550-5.50015-8
  • A. Benveniste, M. Métivier and P. Priouret, Adaptive Algorithms and Stochastic Approximations, Springer, 1990. https://doi.org/10.1007/978-3-642-75894-2
  • E. Lukacs, Stochastic Convergence, 2nd ed., Academic Press, 1975.
12 thms1 active userReviewed
Experimental DesignOperations ResearchProbability+1·Captain: mikedeng1

Stochastic Kriging for Simulation Metamodeling II: The MSE of the Optimal Stochastic Kriging Predictor Exceeds the Kriging MSE by a Positive Definite FormResearch Paper

Motivation

A simulation metamodel is a cheap surrogate for an expensive stochastic simulation: after running the simulation at a few design settings, one predicts the mean response at settings never simulated. Kriging, the interpolation method of geostatistics and of the design and analysis of computer experiments (DACE; Sacks, Welch, Mitchell and Wynn 1989; Santner, Williams and Notz 2003), treats the unknown response surface as a realization of a random field and predicts by the best linear predictor. Kriging was developed for deterministic computer codes, where an observation is the exact response. A stochastic simulation returns the response plus sampling noise, and the noise may be correlated across settings when the experimenter uses common random numbers (CRN).

Ankenman, Nelson and Staum, Stochastic Kriging for Simulation Metamodeling (Proc. 2008 Winter Simulation Conference, pp. 362–370), extend kriging to this setting. The mission formalizes §2 of that paper: the form of the optimal linear predictor, called stochastic kriging, and the formula for its mean squared error, which shows how much the simulation noise costs. The source used throughout is the WSC 2008 proceedings paper, not the later Operations Research 58(2) 2010 article, whose numbering differs.

Setting

Fix a probability space (Ω,F,P)(\Omega,\mathcal F,P)(Ω,F,P) and a set of design settings x\mathbf xx. On replication j=1,2,…j=1,2,\dotsj=1,2,… at setting x\mathbf xx the simulation outputs (display (3), with constant trend)

Yj(x)=β0+M(x)+εj(x).\mathcal Y_j(\mathbf x)=\beta_0+\mathsf M(\mathbf x)+\varepsilon_j(\mathbf x).Yj​(x)=β0​+M(x)+εj​(x).

The constant β0\beta_0β0​ is the overall mean. M\mathsf MM is a mean-zero random field, the extrinsic uncertainty imposed by the modeller. εj(x)\varepsilon_j(\mathbf x)εj​(x) is mean-zero sampling noise, the intrinsic uncertainty of the simulation; its variance may depend on x\mathbf xx, and noises at different settings may be correlated (CRN). All of these have finite second moments, and the field is uncorrelated with the noise.

An experiment design runs ni≥1n_i\ge1ni​≥1 replications at each of kkk design points x1,…,xk\mathbf x_1,\dots,\mathbf x_kx1​,…,xk​. The data are the sample means (4)

Yˉ(xi)=1ni∑j=1niYj(xi),Yˉ=(Yˉ(x1),…,Yˉ(xk))⊤,\bar{\mathcal Y}(\mathbf x_i)=\frac1{n_i}\sum_{j=1}^{n_i}\mathcal Y_j(\mathbf x_i),\qquad\bar{\mathcal Y}=(\bar{\mathcal Y}(\mathbf x_1),\dots,\bar{\mathcal Y}(\mathbf x_k))^\top,Yˉ​(xi​)=ni​1​j=1∑ni​​Yj​(xi​),Yˉ​=(Yˉ​(x1​),…,Yˉ​(xk​))⊤,

and the target at a point x0\mathbf x_0x0​ is the noise-free response Y(x0)=β0+M(x0)\mathsf Y(\mathbf x_0)=\beta_0+\mathsf M(\mathbf x_0)Y(x0​)=β0​+M(x0​).

Write ΣM(x,x′)=Cov[M(x),M(x′)]\Sigma_{\mathsf M}(\mathbf x,\mathbf x')=\mathrm{Cov}[\mathsf M(\mathbf x),\mathsf M(\mathbf x')]ΣM​(x,x′)=Cov[M(x),M(x′)]. Then ΣM\Sigma_{\mathsf M}ΣM​ is the k×kk\times kk×k matrix of these covariances at the design points, ΣM(x0,⋅)\Sigma_{\mathsf M}(\mathbf x_0,\cdot)ΣM​(x0​,⋅) is the vector (Cov[M(x0),M(xi)])i(\mathrm{Cov}[\mathsf M(\mathbf x_0),\mathsf M(\mathbf x_i)])_{i}(Cov[M(x0​),M(xi​)])i​, and Σε\Sigma_\varepsilonΣε​ is the k×kk\times kk×k covariance matrix of the averaged noises ∑j=1niεj(xi)/ni\sum_{j=1}^{n_i}\varepsilon_j(\mathbf x_i)/n_i∑j=1ni​​εj​(xi​)/ni​. A linear predictor (5) is λ0+λ⊤Yˉ\lambda_0+\lambda^\top\bar{\mathcal Y}λ0​+λ⊤Yˉ​ with arbitrary weights (λ0,λ)∈R×Rk(\lambda_0,\lambda)\in\mathbb R\times\mathbb R^k(λ0​,λ)∈R×Rk; its mean squared error is E[(λ0+λ⊤Yˉ−Y(x0))2]\mathrm E[(\lambda_0+\lambda^\top\bar{\mathcal Y}-\mathsf Y(\mathbf x_0))^2]E[(λ0​+λ⊤Yˉ​−Y(x0​))2]. The optimal MSE MSE⋆\mathrm{MSE}^\starMSE⋆ is the infimum of this quantity over all weights.

Formalization targets

Goal: display (7)

There is a rule Ξ\XiΞ, assigning a positive definite matrix Ξ(ΣM,Σε)\Xi(\Sigma_{\mathsf M},\Sigma_\varepsilon)Ξ(ΣM​,Σε​) to every pair of positive definite matrices, such that in every model as above with ΣM≻0\Sigma_{\mathsf M}\succ0ΣM​≻0 and Σε≻0\Sigma_\varepsilon\succ0Σε​≻0, and at every x0\mathbf x_0x0​,

MSE⋆=ΣM(x0,x0)−ΣM(x0,⋅)⊤[ΣM+Σε]−1ΣM(x0,⋅)=[ΣM(x0,x0)−ΣM(x0,⋅)⊤ΣM−1ΣM(x0,⋅)]+ΣM(x0,⋅)⊤ Ξ ΣM(x0,⋅).\begin{aligned}\mathrm{MSE}^\star&=\Sigma_{\mathsf M}(\mathbf x_0,\mathbf x_0)-\Sigma_{\mathsf M}(\mathbf x_0,\cdot)^\top[\Sigma_{\mathsf M}+\Sigma_\varepsilon]^{-1}\Sigma_{\mathsf M}(\mathbf x_0,\cdot)\\&=\Big[\Sigma_{\mathsf M}(\mathbf x_0,\mathbf x_0)-\Sigma_{\mathsf M}(\mathbf x_0,\cdot)^\top\Sigma_{\mathsf M}^{-1}\Sigma_{\mathsf M}(\mathbf x_0,\cdot)\Big]+\Sigma_{\mathsf M}(\mathbf x_0,\cdot)^\top\,\Xi\,\Sigma_{\mathsf M}(\mathbf x_0,\cdot).\end{aligned}MSE⋆​=ΣM​(x0​,x0​)−ΣM​(x0​,⋅)⊤[ΣM​+Σε​]−1ΣM​(x0​,⋅)=[ΣM​(x0​,x0​)−ΣM​(x0​,⋅)⊤ΣM−1​ΣM​(x0​,⋅)]+ΣM​(x0​,⋅)⊤ΞΣM​(x0​,⋅).​

The bracket is the usual kriging MSE. The goal also states that MSE⋆\mathrm{MSE}^\starMSE⋆ strictly exceeds it whenever ΣM(x0,⋅)≠0\Sigma_{\mathsf M}(\mathbf x_0,\cdot)\neq0ΣM​(x0​,⋅)=0. The matrix Ξ\XiΞ is existential and depends only on the two covariance matrices, not on x0\mathbf x_0x0​.

Milestone: display (6)

If ΣM+Σε≻0\Sigma_{\mathsf M}+\Sigma_\varepsilon\succ0ΣM​+Σε​≻0, the stochastic kriging predictor

Y^(x0)=β0+ΣM(x0,⋅)⊤[ΣM+Σε]−1(Yˉ−β01k)\widehat{\mathsf Y}(\mathbf x_0)=\beta_0+\Sigma_{\mathsf M}(\mathbf x_0,\cdot)^\top[\Sigma_{\mathsf M}+\Sigma_\varepsilon]^{-1}(\bar{\mathcal Y}-\beta_0\mathbf 1_k)Y(x0​)=β0​+ΣM​(x0​,⋅)⊤[ΣM​+Σε​]−1(Yˉ​−β0​1k​)

is of the form (5), attains the smallest MSE among all predictors of that form, and is the only one that does.

Further items (not milestones)

  • (9)–(10): the two-point example, with closed forms for the predictor and its MSE in terms of τ2\tau^2τ2, r12r_{12}r12​, r0r_0r0​, V\mathsf VV, ρ\rhoρ and nnn.
  • (14): the equicorrelated example, MSE⋆=τ2(1−kr02/(1+(k−1)r+γ/n))\mathrm{MSE}^\star=\tau^2\big(1-k r_0^2/(1+(k-1)r+\gamma/n)\big)MSE⋆=τ2(1−kr02​/(1+(k−1)r+γ/n)).
  • §3, p. 365: under the Gaussian Assumption 1, Y^(x0)=E[Y(x0)∣Yˉ]\widehat{\mathsf Y}(\mathbf x_0)=\mathrm E[\mathsf Y(\mathbf x_0)\mid\bar{\mathcal Y}]Y(x0​)=E[Y(x0​)∣Yˉ​] almost surely.

Significance

Display (7) quantifies the price of simulation noise. With exact observations the best achievable error is the kriging MSE; with noisy observations it is larger by a positive definite form in the cross-covariance vector. Every point x0\mathbf x_0x0​ that is correlated with the design therefore loses accuracy. The two examples make this concrete. In (10) the MSE increases with the intrinsic correlation ρ\rhoρ, which is why the paper concludes that common random numbers, a standard variance-reduction device for comparing systems, do not help prediction. Display (14) is the baseline against which the paper measures the cost of estimating the noise variance. The conditional-expectation statement shows that under Gaussian assumptions stochastic kriging is optimal among all predictors, not only linear ones.

The results are classical in substance: they are the best-linear-prediction formulas of second-order random-field theory, applied to data whose covariance is ΣM+Σε\Sigma_{\mathsf M}+\Sigma_\varepsilonΣM​+Σε​. The paper states them without proof ("we can show"). No machine-checked version exists. Formalizing them yields a reusable, measure-theoretic best-linear-predictor theorem for random vectors defined from a model rather than postulated, together with the Loewner-order fact behind the positive definiteness of Ξ\XiΞ.

Difficulty

The algebra is short; the difficulty is in deriving the second-moment structure from the model, not assuming it. The covariance of Yˉ\bar{\mathcal Y}Yˉ​ must be computed from the sample-mean definition, using bilinearity of covariance over finite sums of square-integrable variables, and shown to equal ΣM+Σε\Sigma_{\mathsf M}+\Sigma_\varepsilonΣM​+Σε​. The cross-covariance with Y(x0)\mathsf Y(\mathbf x_0)Y(x0​) must be shown to equal ΣM(x0,⋅)\Sigma_{\mathsf M}(\mathbf x_0,\cdot)ΣM​(x0​,⋅). The MSE of an arbitrary affine predictor then has to be written as a quadratic in (λ0,λ)(\lambda_0,\lambda)(λ0​,λ), and its infimum identified.

A first idea is to take "a random vector with mean β01\beta_0\mathbf 1β0​1 and covariance Σ\SigmaΣ" as the hypothesis. That proves a different, more abstract statement and leaves the model's content unproved.

For the second line of (7), the positive definiteness of Ξ\XiΞ does not follow from a scalar argument. It is a matrix inequality, (A+B)−1≺A−1(A+B)^{-1}\prec A^{-1}(A+B)−1≺A−1 for A,B≻0A,B\succ0A,B≻0, and it fails without Σε≻0\Sigma_\varepsilon\succ0Σε​≻0: when Σε=0\Sigma_\varepsilon=0Σε​=0 the two lines coincide.

Formalization scope

  • The model. Settings form an arbitrary type X; design points are x : Fin k → X, so the paper's index iii is i.val + 1. Replication j≥1j\ge1j≥1 is index j - 1 of a sequence ε : ℕ → X → Ω → ℝ.
  • Moments and covariances. Field and noise are in L2L^2L2 and have mean zero. Covariances are Mathlib's covariance. The optimal MSE is an infimum over all of R×Rk\mathbb R\times\mathbb R^kR×Rk, with no unbiasedness constraint and no sign constraint.
  • Hypotheses not printed in §2. Three are added and disclosed:
    1. uncorrelatedness of M\mathsf MM and ε\varepsilonε, the second-order content of Assumption 1's "independent of M\mathsf MM", without which the covariance of Yˉ\bar{\mathcal Y}Yˉ​ is not ΣM+Σε\Sigma_{\mathsf M}+\Sigma_\varepsilonΣM​+Σε​;
    2. square integrability;
    3. ΣM≻0\Sigma_{\mathsf M}\succ0ΣM​≻0 and Σε≻0\Sigma_\varepsilon\succ0Σε​≻0 in the goal. Lean's matrix inverse returns 000 for a singular matrix, and Ξ≻0\Xi\succ0Ξ≻0 is false when Σε\Sigma_\varepsilonΣε​ is singular.
  • Generality kept. No Gaussianity, no independence across replications and no "no CRN" restriction is imposed on (6) and (7).
  • Examples. ∣r12∣<1|r_{12}|<1∣r12​∣<1 in (10) and r≤1r\le1r≤1 in (14) are added, since both are correlations.
  • Non-trivializing. A positive semidefinite Ξ\XiΞ, or a Ξ\XiΞ chosen after x0\mathbf x_0x0​, would make the goal trivial or strictly weaker; the statement fixes Ξ\XiΞ as a function of (ΣM,Σε)(\Sigma_{\mathsf M},\Sigma_\varepsilon)(ΣM​,Σε​) before the model and the point.

Infrastructure needed and reusable beyond this mission:

  • covariance of averages of L2L^2L2 random variables;
  • the MSE of an affine predictor as a quadratic form;
  • minimization of a positive definite quadratic;
  • the Loewner antitonicity of the inverse;
  • for the conditional-expectation item, Gaussian conditioning via uncorrelated-hence-independent residuals.

Contributions to any of these are welcome.

Selected references

  • B. Ankenman, B. L. Nelson, J. Staum, Stochastic Kriging for Simulation Metamodeling, Proceedings of the 2008 Winter Simulation Conference, IEEE, pp. 362–370, 2008. http://www.informs-sim.org/wsc08papers/042.pdf
  • B. Ankenman, B. L. Nelson, J. Staum, Stochastic Kriging for Simulation Metamodeling, Operations Research 58(2), 371–382, 2010 (later journal version, not used here). https://doi.org/10.1287/opre.1090.0754
  • J. Sacks, W. J. Welch, T. J. Mitchell, H. P. Wynn, Design and Analysis of Computer Experiments, Statistical Science 4(4), 409–423, 1989. https://doi.org/10.1214/ss/1177012413
  • T. J. Santner, B. J. Williams, W. I. Notz, The Design and Analysis of Computer Experiments, Springer, 2003. https://doi.org/10.1007/978-1-4757-3799-8
4 thms1 active userReviewed
Experimental DesignOperations ResearchProbability+1·Captain: mikedeng1

Stochastic Kriging for Simulation Metamodeling I: The Plug-In Stochastic Kriging Predictor Is UnbiasedResearch Paper

Motivation

Stochastic simulation models of queues, supply chains and manufacturing systems are often too slow to run at every input setting of interest. A metamodel fitted to a moderate number of simulation runs then stands in for the simulation, for instance inside an optimization or a sensitivity analysis. Kriging, developed in geostatistics and in the design and analysis of deterministic computer experiments (DACE), predicts an unknown response surface by treating it as a realization of a Gaussian random field. Deterministic kriging interpolates its data exactly, which is wrong for stochastic simulation, where each run returns the response plus sampling noise.

Ankenman, Nelson and Staum's stochastic kriging separates the two sources of uncertainty: the extrinsic uncertainty of the unknown surface and the intrinsic uncertainty of the simulation output. Its optimal predictor requires the intrinsic noise variances, which are never known in practice and are replaced by sample variances computed from the same replications. This mission formalizes the paper's first key result: this plug-in step introduces no prediction bias.

The source is the Winter Simulation Conference 2008 proceedings version of the paper (pp. 362–370). The later Operations Research 58(2) (2010) article numbers its results differently and is not the reference here.

Setting

Fix a probability space (Ω,F,P)(\Omega,\mathcal F,P)(Ω,F,P) and design variables x∈Rd\mathbf x\in\mathbb R^dx∈Rd. On replication j=1,2,…j=1,2,\dotsj=1,2,… at setting x\mathbf xx the simulation returns

Yj(x)=β0+M(x)+εj(x),\mathcal Y_j(\mathbf x)=\beta_0+\mathsf M(\mathbf x)+\varepsilon_j(\mathbf x),Yj​(x)=β0​+M(x)+εj​(x),

where β0∈R\beta_0\in\mathbb Rβ0​∈R is a constant trend, M\mathsf MM is a mean-zero random field on Rd\mathbb R^dRd (the unknown surface) and εj(x)\varepsilon_j(\mathbf x)εj​(x) is the noise of replication jjj. The quantity to predict at any point x0\mathbf x_0x0​, simulated or not, is the noise-free response Y(x0)=β0+M(x0)\mathsf Y(\mathbf x_0)=\beta_0+\mathsf M(\mathbf x_0)Y(x0​)=β0​+M(x0​).

An experiment design is a list of pairs (xi,ni)(\mathbf x_i,n_i)(xi​,ni​), i=1,…,ki=1,\dots,ki=1,…,k, with distinct design points xi\mathbf x_ixi​ and nin_ini​ replications at xi\mathbf x_ixi​. The data are summarized by the sample means Yˉ(xi)=1ni∑j=1niYj(xi)\bar{\mathcal Y}(\mathbf x_i)=\frac1{n_i}\sum_{j=1}^{n_i}\mathcal Y_j(\mathbf x_i)Yˉ​(xi​)=ni​1​∑j=1ni​​Yj​(xi​), collected in the vector Yˉ∈Rk\bar{\mathcal Y}\in\mathbb R^kYˉ​∈Rk, and the sample variances

S2(xi)=1ni−1∑j=1ni(Yj(xi)−Yˉ(xi))2.\mathcal S^2(\mathbf x_i)=\frac1{n_i-1}\sum_{j=1}^{n_i}\big(\mathcal Y_j(\mathbf x_i)-\bar{\mathcal Y}(\mathbf x_i)\big)^2 .S2(xi​)=ni​−11​j=1∑ni​​(Yj​(xi​)−Yˉ​(xi​))2.

The extrinsic covariances are the k×kk\times kk×k matrix ΣM=(Cov[M(xh),M(xi)])h,i\Sigma_{\mathsf M}=(\mathrm{Cov}[\mathsf M(\mathbf x_h),\mathsf M(\mathbf x_i)])_{h,i}ΣM​=(Cov[M(xh​),M(xi​)])h,i​ and the vector ΣM(x0,⋅)=(Cov[M(x0),M(xi)])i\Sigma_{\mathsf M}(\mathbf x_0,\cdot)=(\mathrm{Cov}[\mathsf M(\mathbf x_0),\mathsf M(\mathbf x_i)])_{i}ΣM​(x0​,⋅)=(Cov[M(x0​),M(xi​)])i​.

Assumption 1. M\mathsf MM is a stationary Gaussian random field: all its finite-dimensional laws are multivariate normal with mean 000, the covariance is τ2R(x−x′)\tau^2R(\mathbf x-\mathbf x')τ2R(x−x′) with τ2>0\tau^2>0τ2>0 and R(0)=1R(\mathbf 0)=1R(0)=1, and the covariance matrix at finitely many distinct points is positive definite. At each design point the noises ε1(xi),ε2(xi),…\varepsilon_1(\mathbf x_i),\varepsilon_2(\mathbf x_i),\dotsε1​(xi​),ε2​(xi​),… are i.i.d. N(0,V(xi))N(0,\mathsf V(\mathbf x_i))N(0,V(xi​)) with V(xi)>0\mathsf V(\mathbf x_i)>0V(xi​)>0; noises at different design points are independent (no common random numbers); and the whole noise family is independent of M\mathsf MM.

The intrinsic variance at a design point is estimated by V^(xi)=S2(xi)\widehat{\mathsf V}(\mathbf x_i)=\mathcal S^2(\mathbf x_i)V(xi​)=S2(xi​), giving Σ^ε=Diag{V^(x1)/n1,…,V^(xk)/nk}\widehat\Sigma_\varepsilon=\mathrm{Diag}\{\widehat{\mathsf V}(\mathbf x_1)/n_1,\dots,\widehat{\mathsf V}(\mathbf x_k)/n_k\}Σε​=Diag{V(x1​)/n1​,…,V(xk​)/nk​} and the plug-in stochastic kriging predictor

Y^^(x0)=β0+ΣM(x0,⋅)⊤[ΣM+Σ^ε]−1(Yˉ−β01k).(13)\widehat{\widehat{\mathsf Y}}(\mathbf x_0)=\beta_0+\Sigma_{\mathsf M}(\mathbf x_0,\cdot)^\top\big[\Sigma_{\mathsf M}+\widehat\Sigma_\varepsilon\big]^{-1}\big(\bar{\mathcal Y}-\beta_0\mathbf 1_k\big).\tag{13}Y(x0​)=β0​+ΣM​(x0​,⋅)⊤[ΣM​+Σε​]−1(Yˉ​−β0​1k​).(13)

Formalization targets

Goal: Theorem 1 (p. 366)

Under Assumption 1, with ni≥2n_i\ge2ni​≥2 replications at every design point, the prediction error is integrable and

E[Y^^(x0)−Y(x0)]=0.\mathrm E\Big[\widehat{\widehat{\mathsf Y}}(\mathbf x_0)-\mathsf Y(\mathbf x_0)\Big]=0 .E[Y(x0​)−Y(x0​)]=0.

Milestones (p. 365)

  1. Under Assumption 1, (Y(x0),Yˉ(x1),…,Yˉ(xk))(\mathsf Y(\mathbf x_0),\bar{\mathcal Y}(\mathbf x_1),\dots,\bar{\mathcal Y}(\mathbf x_k))(Y(x0​),Yˉ​(x1​),…,Yˉ​(xk​)) is multivariate normal.
  2. Under Assumption 1, S2(xi)\mathcal S^2(\mathbf x_i)S2(xi​) has a scaled chi-squared distribution: (ni−1)S2(xi)/V(xi)∼χni−12(n_i-1)\mathcal S^2(\mathbf x_i)/\mathsf V(\mathbf x_i)\sim\chi^2_{n_i-1}(ni​−1)S2(xi​)/V(xi​)∼χni​−12​.
  3. Under Assumption 1, S2(xi)\mathcal S^2(\mathbf x_i)S2(xi​) is strongly consistent for V(xi)\mathsf V(\mathbf x_i)V(xi​): the sample variance of the first mmm replications converges to V(xi)\mathsf V(\mathbf x_i)V(xi​) almost surely as m→∞m\to\inftym→∞.

Significance

Theorem 1 says that the practitioner's shortcut, estimating the noise variances from the replications and plugging them into the optimal predictor, keeps the predictor unbiased; the cost of not knowing the intrinsic variance is paid entirely in mean squared error. This is what makes the paper's subsequent comparison of the plug-in MSE with the known-variance MSE the right measure of the penalty for estimation.

None of these statements has a machine-checked proof, and Mathlib has neither the chi-squared law of the normal sample variance nor the independence of the normal sample mean and sample variance. A complete development produces these classical facts of normal sampling theory for the first time in Lean, together with a reusable model of noisy observations of a Gaussian random field.

Difficulty

The predictor is a nonlinear function of the data: its weight vector [ΣM+Σ^ε]−1ΣM(x0,⋅)[\Sigma_{\mathsf M}+\widehat\Sigma_\varepsilon]^{-1}\Sigma_{\mathsf M}(\mathbf x_0,\cdot)[ΣM​+Σε​]−1ΣM​(x0​,⋅) is random and depends on the same replications as Yˉ\bar{\mathcal Y}Yˉ​. Linearity of expectation therefore does not apply directly: the obvious argument, which treats the weights as constants, fails, and the dependence between the estimated variances, the sample means and the field has to be controlled exactly. The joint independence structure of Assumption 1 — across replications, across design points, and between noise and field — is load-bearing; a weaker pairwise or pointwise independence does not suffice. Integrability of the error must also be established, since the weights depend on random variances.

Formalization scope

Design points are indexed by Fin k (the paper's iii is i.val + 1) and lie in EuclideanSpace ℝ (Fin d); replication j≥1j\ge1j≥1 of the paper is index j - 1 of a sequence, so sums run over Finset.range. The field is M : EuclideanSpace ℝ (Fin d) → Ω → ℝ with Mathlib's IsGaussianProcess; covariances are ProbabilityTheory.covariance; stationarity is Cov[M(y),M(y′)]=τ2R(y−y′)\mathrm{Cov}[\mathsf M(\mathbf y),\mathsf M(\mathbf y')]=\tau^2R(\mathbf y-\mathbf y')Cov[M(y),M(y′)]=τ2R(y−y′) with R(0)=1R(\mathbf 0)=1R(0)=1. The noise law is HasLaw … (gaussianReal 0 (V (x i))); independence is one iIndepFun over the family indexed by Fin k × ℕ plus one IndepFun between that whole family and the whole field. The variance function is ℝ≥0-valued with V(xi)>0\mathsf V(\mathbf x_i)>0V(xi​)>0 assumed; replication counts satisfy ni≥2n_i\ge2ni​≥2 wherever S2\mathcal S^2S2 appears and ni≥1n_i\ge1ni​≥1 where only means appear. The chi-squared law χν2\chi^2_\nuχν2​ is gammaMeasure (ν/2) (1/2).

The covariance quantities ΣM\Sigma_{\mathsf M}ΣM​ and ΣM(x0,⋅)\Sigma_{\mathsf M}(\mathbf x_0,\cdot)ΣM​(x0​,⋅) in (13) are the true ones; only Σε\Sigma_\varepsilonΣε​ is estimated, and Σ^ε\widehat\Sigma_\varepsilonΣε​ is built from the same replications as Yˉ\bar{\mathcal Y}Yˉ​. A formalization in which Σ^ε\widehat\Sigma_\varepsilonΣε​ is deterministic or independent of the data, in which the matrix ΣM+Σ^ε\Sigma_{\mathsf M}+\widehat\Sigma_\varepsilonΣM​+Σε​ may be singular (Lean's Matrix.inv returns 000 there, reducing the claim to E[M(x0)]=0\mathrm E[\mathsf M(\mathbf x_0)]=0E[M(x0​)]=0), or in which the expectation is asserted without integrability, would trivialize the goal and is ruled out: positive definiteness of ΣM\Sigma_{\mathsf M}ΣM​ at distinct design points is part of Assumption 1, and integrability is part of the conclusion. x0\mathbf x_0x0​ may coincide with a design point.

A complete development needs: the law of linear images of independent Gaussian vectors; independence of the sample mean and the residual vector for i.i.d. normal samples (Cochran's theorem); the chi-squared law of the normal sample variance; the strong law of large numbers for the sample variance; and a measurability and boundedness argument for the random weight vector. The normal-sampling results are reusable well beyond this mission and are welcome as separate contributions.

Selected references

  • B. Ankenman, B. L. Nelson, J. Staum, Stochastic Kriging for Simulation Metamodeling, Proceedings of the 2008 Winter Simulation Conference, IEEE, pp. 362–370, 2008. http://www.informs-sim.org/wsc08papers/042.pdf
  • B. Ankenman, B. L. Nelson, J. Staum, Stochastic Kriging for Simulation Metamodeling, Operations Research 58(2):371–382, 2010. https://doi.org/10.1287/opre.1090.0754
  • T. J. Santner, B. J. Williams, W. I. Notz, The Design and Analysis of Computer Experiments, Springer, 2003. https://doi.org/10.1007/978-1-4757-3799-8
6 thms1 active userReviewed
AnalysisOperations ResearchProbability·Captain: mikedeng1

The G/GI/N Queue in the Halfin–Whitt Regime 2: The Diffusion-Limit Equation Is Equivalent to a Renewal-Function Equation, Which Has a Unique Càdlàg SolutionResearch Paper

Motivation

A G/GI/N queue has NNN identical servers, a general arrival process, a first-come-first-served waiting room and i.i.d. service times with a general distribution FFF of mean 111. In the Halfin–Whitt regime the number of servers grows while the traffic intensity ρN\rho^NρN approaches 111 at rate N(1−ρN)→β∈R\sqrt N(1-\rho^N)\to\beta\in\mathbb RN​(1−ρN)→β∈R; this is the standard asymptotic model for large call centers, where a positive fraction of customers wait but waiting times are short. Halfin and Whitt (Oper. Res. 1981) obtained a diffusion limit for exponential service times. Reed (arXiv:0912.2837, Ann. Appl. Probab. 2009) proved the corresponding limit for general service times: the centred and scaled queue length converges (Theorem 5.1) to the solution of a nonlinear stochastic convolution equation, (5.33) below.

Equation (5.33) is written in terms of an infinite-server limit, and it is not evident from its form that it reduces to the Halfin–Whitt diffusion when service is exponential. Section 5.5 of the paper gives a second representation, Corollary 5.2, in which the convolution against FFF is replaced by a convolution against the renewal function of FFF. With exponential service the renewal function is M(t)=tM(t)=tM(t)=t, and the representation becomes the Halfin–Whitt diffusion. This mission formalizes Corollary 5.2 and the renewal-theoretic steps of its proof.

Timeline. Halfin–Whitt (1981): exponential service, diffusion limit. Reed (2009): general service with finite mean; Corollary 5.2 links the general limit back to 1981. Karlin–Taylor (1975) and Ross (1983): the renewal-type equation and the renewal equation that the proof cites.

Setting

Let μ\muμ be a probability measure on [0,∞)[0,\infty)[0,∞) with mean ∫x dμ(x)=1\int x\,d\mu(x)=1∫xdμ(x)=1 (the service-time law), F(t)=μ((−∞,t])F(t)=\mu((-\infty,t])F(t)=μ((−∞,t]) its distribution function and G=1−FG=1-FG=1−F its tail. The equilibrium distribution is

Fe(x)=∫0xG(u) du,x≥0.(5.4)F_e(x)=\int_0^x G(u)\,du,\qquad x\ge0.\tag{5.4}Fe​(x)=∫0x​G(u)du,x≥0.(5.4)

Let μ∗n\mu^{*n}μ∗n be the nnn-fold convolution of μ\muμ (the law of the nnnth renewal epoch SnS_nSn​). The renewal measure is dM=∑n≥1μ∗ndM=\sum_{n\ge1}\mu^{*n}dM=∑n≥1​μ∗n and the renewal function is M(t)=∑n≥1F∗n(t)M(t)=\sum_{n\ge1}F^{*n}(t)M(t)=∑n≥1​F∗n(t), the expected number of renewals by time ttt.

A path x:R→Rx:\mathbb R\to\mathbb Rx:R→R is càdlàg on [0,∞)[0,\infty)[0,∞) if it is right continuous at every t≥0t\ge0t≥0 with finite left limits at every t>0t>0t>0; only its values on [0,∞)[0,\infty)[0,∞) matter. Fix a càdlàg driving path ζ\zetaζ (in the paper ζ~=M~Q+Q~I\tilde\zeta=\tilde M_Q+\tilde Q_Iζ~​=M~Q​+Q~​I​, (5.40)) and β∈R\beta\in\mathbb Rβ∈R. Write y+=max⁡(y,0)y^+=\max(y,0)y+=max(y,0) and y−=min⁡(y,0)≤0y^-=\min(y,0)\le0y−=min(y,0)≤0. The two equations are

q(t)=ζ(t)−βFe(t)+∫0tq+(t−s) dF(s),t≥0,(5.33)q(t)=\zeta(t)-\beta F_e(t)+\int_0^t q^+(t-s)\,dF(s),\qquad t\ge0,\tag{5.33}q(t)=ζ(t)−βFe​(t)+∫0t​q+(t−s)dF(s),t≥0,(5.33) q(t)=ζ(t)+∫0tζ(t−u) dM(u)−βt−∫0tq−(t−u) dM(u),t≥0.(5.41)q(t)=\zeta(t)+\int_0^t\zeta(t-u)\,dM(u)-\beta t-\int_0^t q^-(t-u)\,dM(u),\qquad t\ge0.\tag{5.41}q(t)=ζ(t)+∫0t​ζ(t−u)dM(u)−βt−∫0t​q−(t−u)dM(u),t≥0.(5.41)

All Stieltjes integrals are over the closed interval [0,t][0,t][0,t].

Formalization targets

Goal: Corollary 5.2 (p. 29)

For every service law μ\muμ, every càdlàg ζ\zetaζ and every β\betaβ:

∀q caˋdlaˋg:q solves (5.33)  ⟺  q solves (5.41),\forall q\ \text{càdlàg}:\quad q\ \text{solves (5.33)}\iff q\ \text{solves (5.41)},∀q caˋdlaˋg:q solves (5.33)⟺q solves (5.41),

and (5.41) has a càdlàg solution that is unique on [0,∞)[0,\infty)[0,∞) among càdlàg paths.

Milestones, in proof order

  1. (5.39): MMM is finite, solves M(t)=F(t)+∫0tM(t−u) dF(u)M(t)=F(t)+\int_0^tM(t-u)\,dF(u)M(t)=F(t)+∫0t​M(t−u)dF(u), and is its unique locally bounded measurable solution.
  2. (5.42)–(5.43): for locally bounded measurable HHH, r=H+∫0tH(t−u) dM(u)r=H+\int_0^tH(t-u)\,dM(u)r=H+∫0t​H(t−u)dM(u) is the unique locally bounded solution of r(t)=H(t)+∫0tr(t−u) dF(u)r(t)=H(t)+\int_0^tr(t-u)\,dF(u)r(t)=H(t)+∫0t​r(t−u)dF(u).
  3. The identity Fe(t)+∫0tFe(t−s) dM(s)=tF_e(t)+\int_0^tF_e(t-s)\,dM(s)=tFe​(t)+∫0t​Fe​(t−s)dM(s)=t for t≥0t\ge0t≥0 (p. 30).
  4. (5.44): every càdlàg solution of (5.33) satisfies (5.41) with −βt-\beta t−βt replaced by −β(Fe(t)+∫0tFe(t−s) dM(s))-\beta\bigl(F_e(t)+\int_0^tF_e(t-s)\,dM(s)\bigr)−β(Fe​(t)+∫0t​Fe​(t−s)dM(s)).
  5. (5.46) (further): for exponential service of rate 111, M(t)=tM(t)=tM(t)=t and (5.41) becomes q(t)=ζ(t)+∫0tζ(s) ds−βt−∫0tq−(s) dsq(t)=\zeta(t)+\int_0^t\zeta(s)\,ds-\beta t-\int_0^tq^-(s)\,dsq(t)=ζ(t)+∫0t​ζ(s)ds−βt−∫0t​q−(s)ds.

Significance

The result. Corollary 5.2 expresses the many-server diffusion limit as an equation that is linear in the driving process ζ\zetaζ and whose only nonlinearity is the idle-server term ∫0tq−(t−u) dM(u)\int_0^tq^-(t-u)\,dM(u)∫0t​q−(t−u)dM(u). This is how the paper verifies that its general-service limit agrees with Halfin and Whitt's for exponential service, and the paper's sequel interprets the integral term as the limiting idle time of the servers. Uniqueness in (5.41) also yields the paper's remark that Q~N⇒Q~M\tilde Q^N\Rightarrow\tilde Q_MQ~​N⇒Q~​M​, the solution of (5.41).

The formalization. The result is proved in the paper, but only partly written: the printed proof shows that the solution of (5.33) satisfies (5.41), while the converse and the uniqueness are asserted. The mission states both. It also produces, independently of queueing, the renewal measure of a law on [0,∞)[0,\infty)[0,∞) with possible atoms, its finiteness on bounded sets, the renewal equation and the solution of renewal-type equations, and the identity Fe+Fe∗dM=tF_e+F_e*dM=tFe​+Fe​∗dM=t; none of these is in Mathlib or published on the platform. To our knowledge nothing in this mission has a machine-checked proof.

Difficulty

The forward direction is formal once (5.42)–(5.43) is available, but (5.42)–(5.43) itself needs the renewal measure to be finite on bounded intervals when FFF may have an atom at 000, and the uniqueness half needs an argument that does not assume the kernel has mass below one on any window starting at 000. The converse direction, (5.41) ⇒\Rightarrow⇒ (5.33), cannot be read off the printed proof, because (5.41) is not an equation of renewal type in qqq. The uniqueness of (5.41) is not a contraction argument either: the atom of dMdMdM at 000 has mass F(0)/(1−F(0))F(0)/(1-F(0))F(0)/(1−F(0)), which may exceed 111, so a naive Picard estimate on [0,δ][0,\delta][0,δ] fails.

Formalization scope

  • Paths are functions R→R\mathbb R\to\mathbb RR→R; every equation is asserted for t≥0t\ge0t≥0 and every uniqueness is equality on [0,∞)[0,\infty)[0,∞). Values at negative times are never read.
  • The service law is a probability measure μ\muμ on R\mathbb RR with μ((−∞,0))=0\mu((-\infty,0))=0μ((−∞,0))=0, integrable identity and mean 111. The paper places "no additional restrictions on FFF beyond a first moment".
  • The renewal measure is defined as ∑n≥1μ∗n\sum_{n\ge1}\mu^{*n}∑n≥1​μ∗n (Mathlib's additive convolution of measures), not through an i.i.d. sequence; the paper's "expected number of renewals" equals it by Tonelli.
  • Stieltjes integrals are Lebesgue integrals over the closed [0,t][0,t][0,t], so atoms at 000 of dFdFdF and dMdMdM are included. q−q^-q− is min⁡(q,0)\min(q,0)min(q,0), not Mathlib's negPart.
  • Explicit readings: "unique strong solution" is existence and uniqueness among càdlàg paths, pathwise for each fixed ζ\zetaζ. The paper's random statement follows by applying it to each sample path, which lies in D[0,∞)D[0,\infty)D[0,∞) almost surely (p. 30). "Locally bounded" is bounded on every [0,T][0,T][0,T], with measurability added for the functions in (5.39) and (5.42).
  • Corrected slip: (5.42) prints ∫0tr(t) dF(t−u)\int_0^tr(t)\,dF(t-u)∫0t​r(t)dF(t−u); the stated equation is ∫0tr(t−u) dF(u)\int_0^tr(t-u)\,dF(u)∫0t​r(t−u)dF(u). Milestone (5.42)–(5.43) assumes FFF carried by [0,∞)[0,\infty)[0,∞) with F(0)<1F(0)<1F(0)<1, under which the cited result holds.
  • Ruled out: the solution of (5.33) is not assumed to exist (it exists by the paper's Proposition 3.1 with a=0a=0a=0, B=FB=FB=F, which the solver must supply). MMM is the renewal measure of the same FFF, never an arbitrary measure assumed to satisfy (5.39). Uniqueness is among càdlàg paths on [0,∞)[0,\infty)[0,∞), so no non-measurable path makes an integral vanish.
  • Not in the mission: Theorems 4.1 and 5.1 (weak convergence in the Skorohod space), whose limit this corollary rewrites, and the Brownian-motion claim after (5.46).
  • Related platform items, credited but not the same object: BellmanDP.Inventory.renewal_equation_exists_unique (a renewal equation with a density kernel of mass below 111); ChenWhitt93.Reflection.Basic (càdlàg paths on [0,T][0,T][0,T]). Reusable output: the renewal measure, (5.39) and (5.42)–(5.43) serve any renewal-theoretic development. Alternative proofs of the converse and of uniqueness are welcome.

Selected references

  • J. Reed, The G/GI/N queue in the Halfin–Whitt regime, Ann. Appl. Probab. 19(6), 2009, 2211–2269. https://arxiv.org/abs/0912.2837 (v1), https://doi.org/10.1214/09-AAP609
  • S. Halfin and W. Whitt, Heavy-traffic limits for queues with many exponential servers, Oper. Res. 29(3), 1981, 567–588. https://doi.org/10.1287/opre.29.3.567
  • S. Karlin and H. M. Taylor, A First Course in Stochastic Processes, 2nd ed., Academic Press, 1975 (reference [11] of the paper).
  • S. M. Ross, Stochastic Processes, Wiley, 1983 (reference [19] of the paper, Exercise 3.4).
11 thms1 active userReviewed
Dynamic ProgrammingOperations ResearchProbability·Captain: mikedeng1

Old and New Methods for Lost-Sales Inventory Systems 1: Under Any Policy in Z(s) the State Enters X(s) and Never Leaves, So Every State Outside X(s) Is TransientResearch Paper

Why the lost-sales state space matters

The lost-sales inventory system with a positive lead time is one of the basic models of inventory theory. Demand that cannot be met from stock is lost rather than backlogged, and orders arrive a fixed number LLL of periods after they are placed. Unlike the backlog system, where the inventory position is a sufficient one-dimensional state and a base-stock policy is optimal, the lost-sales system needs the whole pipeline of outstanding orders as its state, and its optimal policy has no simple form. Computing optimal policies by dynamic programming therefore runs into the size of an LLL-dimensional state space.

Paul Zipkin's paper Old and New Methods for Lost-Sales Inventory Systems (Operations Research 56(5), 2008, doi:10.1287/opre.1070.0471) revisits this model, compares classical and new heuristics against optimal policies, and prepares the computation with a state-reduction result. Morton (1969, SIAM Review 11, Equation (83)) showed that under an optimal policy the state remains in a bounded set; Zipkin's §4 extends the argument to every policy in a class Z(s)Z(s)Z(s) that contains the usual heuristics. This mission formalizes that section: the reduced state space X(s)X(s)X(s), the policy class Z(s)Z(s)Z(s), and Claim 1, which says that states outside X(s)X(s)X(s) are transient.

Setting

Fix the lead time L≥1L\ge 1L≥1. The state is the LLL-vector x=(x0,…,xL−1)x=(x_0,\dots,x_{L-1})x=(x0​,…,xL−1​): x0x_0x0​ is the stock on hand after this period's delivery, and xlx_lxl​ (1≤l≤L−11\le l\le L-11≤l≤L−1) is the order that arrives lll periods later, so xL−1x_{L-1}xL−1​ is the most recent order. Given the state xxx, an order z≥0z\ge 0z≥0 and a demand d≥0d\ge 0d≥0, the next state is

x+=([x0−d]++x1, x2, …, xL−1, z),[a]+=max⁡(a,0).x_+ = \bigl([x_0-d]^+ + x_1,\ x_2,\ \dots,\ x_{L-1},\ z\bigr),\qquad [a]^+=\max(a,0).x+​=([x0​−d]++x1​, x2​, …, xL−1​, z),[a]+=max(a,0).

Demands in successive periods are independent with a common law DDD on [0,∞)[0,\infty)[0,∞).

The pipeline partial sums are vl=∑m=lL−1xmv_l=\sum_{m=l}^{L-1}x_mvl​=∑m=lL−1​xm​ for l=0,…,L−1l=0,\dots,L-1l=0,…,L−1 and vL=0v_L=0vL​=0; v0v_0v0​ is the inventory position and vL−1=xL−1v_{L-1}=x_{L-1}vL−1​=xL−1​ the most recent order. A level vector is s=(s0,…,sL)s=(s_0,\dots,s_L)s=(s0​,…,sL​) with s0≥s1≥⋯≥sL≥0s_0\ge s_1\ge\dots\ge s_L\ge 0s0​≥s1​≥⋯≥sL​≥0. For a level vector sss,

X(s)={x≥0: vl≤sl, l=0,…,L−1},X(s)=\{x\ge 0:\ v_l\le s_l,\ l=0,\dots,L-1\},X(s)={x≥0: vl​≤sl​, l=0,…,L−1},

and Z(s)Z(s)Z(s) is the set of stationary policies zzz (an order z(x)≥0z(x)\ge 0z(x)≥0 in each state x≥0x\ge 0x≥0) with z(x)=0z(x)=0z(x)=0 for x∉X(s)x\notin X(s)x∈/X(s) and vl+z(x)≤slv_l+z(x)\le s_lvl​+z(x)≤sl​ for l=0,…,Ll=0,\dots,Ll=0,…,L and x∈X(s)x\in X(s)x∈X(s). The vector base-stock policy with parameter sss is

zs(x)=[min⁡{sl−vl, l=0,…,L}]+,z_s(x)=\bigl[\min\{s_l-v_l,\ l=0,\dots,L\}\bigr]^+,zs​(x)=[min{sl​−vl​, l=0,…,L}]+,

equation (5) of the paper with a general sss in place of Morton's sˉ\bar ssˉ. Under a stationary policy zzz, from an initial state xxx and along a demand path (dt)(d_t)(dt​), the state process is x0=xx_0=xx0​=x, xt+1=(xt)+x_{t+1}=(x_t)_+xt+1​=(xt​)+​ with order z(xt)z(x_t)z(xt​) and demand dtd_tdt​. In Lean these are next, v, IsLevelVector, Xs, Zs, vectorBaseStock and traj in the namespace LostSalesOldNew.StateReduction.

Formalization targets

Goal: Claim 1 (p. 1259)

For a level vector sss, a policy z∈Z(s)z\in Z(s)z∈Z(s), i.i.d. demands with law DDD on [0,∞)[0,\infty)[0,∞) and P(d>0)>0P(d>0)>0P(d>0)>0, and any initial state x≥0x\ge 0x≥0, almost surely

∃ T ∀ t≥T:xt∈X(s).\exists\,T\ \forall\,t\ge T:\quad x_t\in X(s).∃T ∀t≥T:xt​∈X(s).

The paper's word is "transient"; the statement above says that every state outside X(s)X(s)X(s), indeed the whole complement, is visited only finitely often.

Milestones

  1. (5) and §4: for every level vector sss, zs∈Z(s)z_s\in Z(s)zs​∈Z(s).
  2. Invariance (proof of Claim 1): x∈X(s)x\in X(s)x∈X(s), z∈Z(s)z\in Z(s)z∈Z(s), d≥0d\ge 0d≥0 imply x+∈X(s)x_+\in X(s)x+​∈X(s).
  3. Entrance (proof of Claim 1): along a demand path with dt≥0d_t\ge 0dt​≥0 and ∑t<ndt→∞\sum_{t<n}d_t\to\infty∑t<n​dt​→∞, the process started at any x≥0x\ge 0x≥0 visits X(s)X(s)X(s).

A further item records the paper's remark that X(s)X(s)X(s) and Z(s)Z(s)Z(s) are increasing in sss.

Significance

Claim 1 lets the dynamic program be solved on the compact set X(sˉ)X(\bar s)X(sˉ) with policies restricted to Z(sˉ)Z(\bar s)Z(sˉ), which is what makes the paper's exact computations (lead times up to four, §6) feasible. Since Z(s)Z(s)Z(s) contains the vector base-stock policies and, for sss large enough, any policy that stops ordering in large states, the claim also says that every plausible policy eventually confines the state to a bounded set.

The result has a short proof in the paper and no machine-checked version. Formalizing it produces a reusable encoding of the lost-sales pipeline with general stationary policies, and makes explicit two points the paper leaves implicit: the probabilistic reading of "transient", and the demand condition under which the process must leave the complement of X(s)X(s)X(s). Related platform material treats the backlog analogue (VeinottBaseStock.base_stock_level_absorbing, a base-stock level set is absorbing) and lost-sales dynamics under other conventions (CappedBaseStock_Model, from an empty initial state under capped base-stock policies with average cost); those formulations use another state convention and cost criterion and are not imported here.

Difficulty

The invariance step is algebra on partial sums. The content of the claim is the entrance step: outside X(s)X(s)X(s) the policy orders nothing, so the process can only reach X(s)X(s)X(s) through demand draining the stock and the pipeline. That requires the cumulative demand to diverge, which fails pathwise (demand identically zero leaves a state with x0>s0x_0>s_0x0​>s0​ fixed forever) and holds only almost surely, from independence and P(d>0)>0P(d>0)>0P(d>0)>0. The naive reading of "transient" as invariance alone, or as the pathwise statement with divergent demand assumed, misses this step.

Formalization scope

  • States are Fin L → ℝ with L≥1L\ge 1L≥1 in the goal; theorems quantify over nonnegative states. The vector (x,z)(x,z)(x,z) is Fin.snoc x z; vvv takes a natural-number index and vanishes at l≥Ll\ge Ll≥L, so vL=0v_L=0vL​=0.
  • Level vectors are Fin (L+1) → ℝ, antitone with nonnegative last entry. X(s)X(s)X(s) constrains v0,…,vL−1v_0,\dots,v_{L-1}v0​,…,vL−1​; Z(s)Z(s)Z(s) constrains vl+z(x)v_l+z(x)vl​+z(x) for l=0,…,Ll=0,\dots,Ll=0,…,L.
  • Policies are deterministic stationary functions of the state, with no measurability required. The zero condition and the sign condition of Z(s)Z(s)Z(s) range over states x≥0x\ge 0x≥0 (the paper's state space); over all of RL\mathbb R^LRL the vector base-stock policy would not be in Z(s)Z(s)Z(s).
  • Demand is a probability measure DDD on R\mathbb RR with D((−∞,0))=0D((-\infty,0))=0D((−∞,0))=0; the demand sequence is the coordinate process under Measure.infinitePi (fun _ : ℕ => D). The hypothesis D((0,∞))>0D((0,\infty))>0D((0,∞))>0 is added to the paper's assumptions; without it the claim is false.
  • "Transient" is read as: almost surely the state lies in X(s)X(s)X(s) from some period on.
  • Ruled out: the goal is neither the invariance statement alone, which says nothing about states outside X(s)X(s)X(s), nor the pathwise entrance statement with divergent cumulative demand assumed, which drops the probabilistic content.

A complete development needs the partial-sum algebra of the pipeline, the second Borel–Cantelli lemma or the strong law for i.i.d. nonnegative sequences under Measure.infinitePi, and induction along traj. The pipeline encoding is shared with the second mission of this series (lead-time monotonicity). Proofs of any milestone and of the goal are welcome.

Selected references

  • P. Zipkin, Old and New Methods for Lost-Sales Inventory Systems, Operations Research 56(5):1256–1263, 2008. https://doi.org/10.1287/opre.1070.0471
  • T. Morton, Bounds on the Solution of the Lagged Optimal Inventory Equation with No Demand Backlogging and Proportional Costs, SIAM Review 11:572–576, 1969 (as cited in Zipkin 2008).
  • T. Morton, The Near-Myopic Nature of the Lagged-Proportional-Cost Inventory Problem with Lost Sales, Operations Research 19(7):1708–1716, 1971. https://doi.org/10.1287/opre.19.7.1708
  • R. Levi, G. Janakiraman, M. Nagarajan, Provably Near-Optimal Balancing Policies for Stochastic Inventory Control Models with Lost Sales, Mathematics of Operations Research, 2008 (forthcoming at the time of Zipkin 2008).
5 thms1 active userReviewed
AnalysisOperations ResearchProbability·Captain: mikedeng1

Some Useful Functions for Functional Limit Theorems 2: Addition, Supremum and the Reflecting Barrier Preserve J₁ Convergence of Linearly Centered PathsResearch Paper

Motivation

Queueing models often represent work arriving to and leaving a server by a real-valued input path. The resulting workload cannot fall below a barrier. Functional limit theorems describe what happens to such paths under scaling, but a limit for the input path is useful only when it can be carried through the workload transformation. Ward Whitt’s 1980 paper studies several path transformations that occur in stochastic-process limits and states conditions under which their limits can be computed in Skorohod topologies. Section 6 treats the running supremum and a reflecting barrier, including paths with a linear drift that changes with the scaling index. This mission formalizes the three-regime reflection result, Theorem 6.4, and the source results on its dependency path. Whitt (1980)

The result is already proved in the paper. Its formal Lean statement remains an open proof target here. The mission is therefore concerned with formalizing the known theorem, including its exact jump conditions and convergence modes, rather than proposing a new queueing claim. Whitt (1980), pp. 80–81

Setting

A càdlàg path on a real interval TTT is right-continuous and has a limit from the left wherever TTT approaches a time from the left. The collection of such real-valued paths is D(T,R)D(T,\mathbb R)D(T,R). For a compact interval [a,b][a,b][a,b], the J1J_1J1​ distance between xxx and yyy allows an increasing homeomorphism λ\lambdaλ of time and measures the larger of its distance from the identity and the uniform distance between xxx and y∘λy\circ\lambday∘λ. On a general interval, J1J_1J1​ convergence is specified by restrictions to compact subintervals whose endpoints are continuity points of the limit or endpoints of TTT. The paper uses complete separable metric spaces for general path-space results; Section 6 specializes to real-valued paths and intervals with 000 as a closed left endpoint. Whitt (1980), pp. 70, 80

For x∈D(T,R)x\in D(T,\mathbb R)x∈D(T,R) and t∈Tt\in Tt∈T, define the running supremum x↑(t)=sup⁡0≤s≤tx(s)x^{\uparrow}(t)=\sup_{0\le s\le t}x(s)x↑(t)=sup0≤s≤t​x(s) and running infimum x↓(t)=inf⁡0≤s≤tx(s)x^{\downarrow}(t)=\inf_{0\le s\le t}x(s)x↓(t)=inf0≤s≤t​x(s). The reflecting-barrier map is f(x)(t)=x(t)−x↓(t)f(x)(t)=x(t)-x^{\downarrow}(t)f(x)(t)=x(t)−x↓(t). This is the paper’s definition: it subtracts the full running infimum. The identity path is e(t)=te(t)=te(t)=t, and θ\thetaθ denotes the zero path. A path has no positive jumps if x(t)≤x(t−)x(t)\le x(t-)x(t)≤x(t−) for each t>0t>0t>0 in TTT; no negative jumps reverses that inequality. Whitt (1980), pp. 80–81

Formalization targets

The goal is Theorem 6.4. Suppose xn−cne→xx_n-c_ne\to xxn​−cn​e→x in J1J_1J1​ and x(0)=0x(0)=0x(0)=0. Its three conclusions are

cn→c  ⟹  f(xn)→f(x+ce)(J1),cn→+∞  ⟹  f(xn)−cne→x(J1),cn→−∞ and x has no positive jumps  ⟹  f(xn)→θ(U).\begin{aligned} c_n\to c &\implies f(x_n)\to f(x+ce) &&(J_1),\\ c_n\to+\infty &\implies f(x_n)-c_ne\to x &&(J_1),\\ c_n\to-\infty\ \text{and }x\text{ has no positive jumps} &\implies f(x_n)\to\theta &&(U). \end{aligned}cn​→ccn​→+∞cn​→−∞ and x has no positive jumps​⟹f(xn​)→f(x+ce)⟹f(xn​)−cn​e→x⟹f(xn​)→θ​​(J1​),(J1​),(U).​

Here UUU means uniform convergence on every compact subinterval. The goal keeps all three drift regimes together, as the printed theorem does. Its milestones are the finite-partition fact cited from Billingsley, the interval-splitting Lemma 2.2, continuity of addition at limits without shared discontinuities in Theorem 4.1, the running-supremum inequality in Theorem 6.1, the three-regime supremum theorem 6.2, and the paper’s explicit claim that fff is J1J_1J1​-continuous. Whitt (1980), pp. 71, 79–81

Significance

The theorem specifies which output path appears after reflection as the linear centering changes. Finite drift leaves a reflected limit with drift included; large positive drift leaves the centered input limit; large negative drift drives the reflected path uniformly to zero when upward jumps of the limit are excluded. The distinction between J1J_1J1​ and the stronger compact-uniform mode in the last case is part of the result. These statements make the paper’s barrier transformation usable when an input-process limit is already known. Whitt (1980), Theorem 6.4

A completed formal development would establish reusable path-space components: a precise J1J_1J1​ convergence interface for real intervals, a theorem about addition with disjoint discontinuities, and continuity properties of running extrema and reflection. The present Lean items state these results and compile with proof placeholders. No machine-checked proof of these mission theorems is claimed here. The milestone list follows the claims Whitt states or cites, so later proofs can be attached to the same mathematical targets. Whitt (1980), §§2, 4, 6

Difficulty

A uniform estimate alone does not establish a J1J_1J1​ limit: separate paths may converge using different changes of time, and addition can fail when the limiting paths jump together. Whitt’s Theorem 4.1 gives continuity precisely at pairs with disjoint discontinuity sets. In the reflection theorem, a linearly growing drift also changes which extrema matter, and the sign of a jump decides whether the large-drift conclusion can hold. The negative-drift conclusion asks for compact-uniform convergence, which is stronger than merely retaining J1J_1J1​ convergence. These are real constraints on the statement; dropping a jump condition or replacing UUU by J1J_1J1​ changes the theorem. Whitt (1980), pp. 78–81

Formalization scope

Paths are total functions R→S\mathbb R\to SR→S, but only their values on the stated interval count. The Lean definitions require càdlàg membership of both prelimit and limit paths in each J1J_1J1​ convergence claim. A time change on [a,b][a,b][a,b] is strictly increasing, continuous, and onto; this represents the paper’s increasing homeomorphism. Uniform and J1J_1J1​ distances take values in the extended nonnegative reals, so an unbounded supremum cannot silently become zero. Continuity points use continuity within TTT, and the discontinuity set likewise contains only points of TTT. Sequential convergence is used because the paper’s J1J_1J1​ spaces are metrizable. These choices encode the paper’s path-space conventions rather than imposing conditions on values outside TTT. Whitt (1980), §§2, 4, 6

The compact form of Theorem 6.1 uses metric (2.1); the noncompact metric (2.2) is outside this mission’s definition layer. Theorem 4.1 retains the paper’s complete separable metric-space setting and metric compatibility of addition. Its measurability clause is omitted: this mission does not construct the Borel measurable space of D(T,S)D(T,S)D(T,S), and a product measurable structure on all total functions would express a different claim. The source’s f(x)=x−x↓f(x)=x-x^{\downarrow}f(x)=x−x↓ is used on both prelimit and limit paths; it is not replaced by a clipped running infimum. Whitt (1980), pp. 70, 78–81

The definition layer, the addition theorem, the running-extremum results, and the barrier continuity statement are welcome proof targets. The theorem’s centered-path hypothesis remains a genuine J1J_1J1​ convergence assertion, and the jump conditions apply to the limit path only. A vacuous convergence predicate or an independently assumed conclusion would not represent this mission’s goal.

Selected references

  • Ward Whitt, Some Useful Functions for Functional Limit Theorems, Mathematics of Operations Research 5(1), 1980, pp. 67–85. DOI: 10.1287/moor.5.1.67
9 thms1 active userReviewed
AnalysisOperations ResearchProbability·Captain: mikedeng1

Some Useful Functions for Functional Limit Theorems 4: Time Reversal Is a J₁ Isometry and Reversal from the Origin Is 2-LipschitzResearch Paper

Why time reversal matters

Functional limit theorems describe the behavior of entire time-indexed paths under scaling. In queueing and other stochastic models, a path of departures, workload, or accumulated input may be related to another path by reversing a finite observation window. To carry a limit theorem through that change of viewpoint, one needs to know how reversal acts on the topology of the path space. Ward Whitt's 1980 paper studies composition, reflection, first passage, and time reversal as maps that transfer functional limit theorems to derived processes (Whitt 1980).

The time-reversal result is a precise metric statement. Ordinary reversal preserves the Skorohod J1J_1J1​ distance exactly. A version shifted to begin at the group identity satisfies a bound with constant two. These facts give continuity and, when the random paths satisfy the hypotheses, make reversal available to the continuous mapping theorem. Whitt's introduction explains how deterministic path continuity connects to stochastic-process limits (Whitt 1980, pp. 67–69).

Paths, distances, and reversal

Let SSS be a complete separable metric group, written additively, with identity 000 and metric mmm. The metric is translation invariant: moving both points by the same group element leaves their distance unchanged. Let DDD contain the càdlàg paths x:[0,1]→Sx:[0,1]\to Sx:[0,1]→S, meaning paths that are right continuous and possess left limits. Section 8 additionally requires x(1)=x(1−)x(1)=x(1-)x(1)=x(1−), so the terminal value agrees with the value approached from earlier times. Let Dθ={x∈D:x(0)=0}D_\theta=\{x\in D:x(0)=0\}Dθ​={x∈D:x(0)=0}. These are the spaces Whitt fixes for time reversal (Whitt 1980, p. 83).

The uniform distance is ρ(x,y)=sup⁡0≤t≤1m(x(t),y(t))\rho(x,y)=\sup_{0\le t\le1}m(x(t),y(t))ρ(x,y)=sup0≤t≤1​m(x(t),y(t)). A time change λ∈Λ\lambda\in\Lambdaλ∈Λ is an increasing homeomorphism of [0,1][0,1][0,1] onto itself; e(t)=te(t)=te(t)=t is the identity time change. The J1J_1J1​ distance used in the paper is

d(x,y)=inf⁡λ∈Λmax⁡{ρ(λ,e),ρ(x,y∘λ)}.d(x,y)=\inf_{\lambda\in\Lambda} \max\{\rho(\lambda,e),\rho(x,y\circ\lambda)\}.d(x,y)=λ∈Λinf​max{ρ(λ,e),ρ(x,y∘λ)}.

Two paths may be close when their values can be matched after a small distortion of time. This is the paper's equation (2.1), rather than an unspecified equivalent J1J_1J1​ metric (Whitt 1980, p. 70).

The reverse-time map reads the left limit at the reflected time:

R(x)(t)={x((1−t)−),0≤t<1,x(0),t=1,r(x)(t)=R(x)(t)−x(1).R(x)(t)= \begin{cases} x((1-t)-),&0\le t<1,\\ x(0),&t=1, \end{cases} \qquad r(x)(t)=R(x)(t)-x(1).R(x)(t)={x((1−t)−),x(0),​0≤t<1,t=1,​r(x)(t)=R(x)(t)−x(1).

The left limit is essential: the direct value x(1−t)x(1-t)x(1−t) places jumps on the wrong side and generally does not give a right-continuous reverse path. The terminal convention gives R(x)(0)=x(1)R(x)(0)=x(1)R(x)(0)=x(1), so r(x)(0)=0r(x)(0)=0r(x)(0)=0. Whitt also uses the reflected time change (−r)(λ)(t)=1−λ(1−t)(-r)(\lambda)(t)=1-\lambda(1-t)(−r)(λ)(t)=1−λ(1−t) in the proof (Whitt 1980, pp. 83–84).

Formalization targets

The goal is Whitt's Theorem 8.1. For every x,y∈Dx,y\in Dx,y∈D,

d(Rx,Ry)=d(x,y),d(rx,ry)≤2d(x,y).d(Rx,Ry)=d(x,y),\qquad d(rx,ry)\le 2d(x,y).d(Rx,Ry)=d(x,y),d(rx,ry)≤2d(x,y).

The second inequality also applies when both paths lie in DθD_\thetaDθ​, since Dθ⊆DD_\theta\subseteq DDθ​⊆D. The constant is the paper's printed constant, not a parameter to optimize in this mission (Whitt 1980, Theorem 8.1, p. 83).

The milestones record four claims from the theorem's proof: reversal preserves its path spaces and has inverse behavior on its natural domains; reflected time changes stay in Λ\LambdaΛ; reversal obeys exact and bounded uniform-distance relations; and reversal interacts with time changes through (−r)(λ)(-r)(\lambda)(−r)(λ). Their descriptions reproduce the printed proof sentences. The proof calls the time-change cost a “minimum” once, although equation (2.1) and the displayed calculation use a maximum. The formal target follows equation (2.1) (Whitt 1980, pp. 70, 84).

What the result gives

An isometry preserves every J1J_1J1​ distance, so ordinary reversal preserves convergent and Cauchy sequences in this metric. The bound for rrr makes shifted reversal Lipschitz and therefore continuous. A functional limit theorem for input paths can then be translated into one for the corresponding reversed paths whenever the path-space hypotheses hold. The result is already proved in Whitt's paper; the open work here is a machine-checked development of its definitions, supporting claims, and metric theorem.

Formalizing the result also creates reusable interfaces for endpoint-constrained càdlàg paths, left-limit reversal, uniform path distance, and reflected time changes. Those interfaces may support later statements about reversed stochastic models. This mission does not assert weak convergence of probability laws or Borel measurability; those would require a separate measurable-space development for DDD.

Mathematical difficulty

The immediate idea t↦x(1−t)t\mapsto x(1-t)t↦x(1−t) does not preserve càdlàg paths at jumps: a right-continuous jump becomes left-continuous. The correction uses left limits, but endpoint behavior then matters. Without x(1)=x(1−)x(1)=x(1-)x(1)=x(1−), the shifted reverse path need not start at the identity. The J1J_1J1​ assertion also concerns an infimum over all allowed time changes, so a uniform-distance statement alone does not establish the theorem. These are the points at which reflection of the time axis becomes a claim about the precise path-space topology (Whitt 1980, pp. 83–84).

Formalization scope

Lean represents paths as total functions R→S\mathbb R\to SR→S; all path conditions, metrics, and equality claims read only [0,1][0,1][0,1]. Càdlàg membership requires right continuity and left limits within the interval, with x(1)=x(1−)x(1)=x(1-)x(1)=x(1−) included in DDD. Completeness and separability are explicit because the paper calls SSS a complete separable metric space. The additive metric group is represented by an additive commutative group with an explicit translation-invariance hypothesis. This chooses the commutative reading exemplified by S=RkS=\mathbb R^kS=Rk; the paper uses additive notation but does not separately state commutativity.

The paper's Λ\LambdaΛ is encoded by strict increase, continuity, and surjectivity on [0,1][0,1][0,1], which characterize increasing homeomorphisms there. The paper's ddd is equation (2.1) on both sides of the goal. Lean uses extended nonnegative distances for ρ\rhoρ and ddd, avoiding the default value a real supremum can assign to an empty or unbounded set. The claims do not become trivial by dropping DDD membership: it is an explicit hypothesis, and the zero path over R\mathbb RR satisfies it. A local, sorry-free check confirms that instance. Two easier statements are excluded on purpose: the goal is stated for the J1J_1J1​ distance ddd, not the uniform distance ρ\rhoρ, and RRR reads the left limit x((1−t)−)x((1-t)-)x((1−t)−), not the value x(1−t)x(1-t)x(1−t).

The proof's first sentence says the maps are one-to-one and onto. The map r:D→Dθr:D\to D_\thetar:D→Dθ​ forgets an additive offset and is not injective on all of DDD; the formal milestone expresses involution for RRR on DDD and for the restriction of rrr to DθD_\thetaDθ​. One identity printed for rrr with x∈Dθx\in D_\thetax∈Dθ​ also holds for every x∈Dx\in Dx∈D; the formal milestone uses that broader domain and says so in its item description. Contributions are welcome for the left-limit and time-change infrastructure as well as the four listed statements and the goal.

Selected references

  • Ward Whitt, Some Useful Functions for Functional Limit Theorems, Mathematics of Operations Research 5(1), 1980, pp. 67–85. DOI: 10.1287/moor.5.1.67.
7 thms1 active userReviewed
Operations ResearchProbability·Captain: mikedeng1

Understanding the Efficiency of Multi-Server Service Systems II: In the M/M/s Queue with (1 − ρ)√s = γ, the Wait of a Delayed Customer Is Exponential with Mean 1/(γ√s)Research Paper

Motivation

A service system with several servers can use a larger fraction of its capacity than a single-server system while still giving customers an acceptable wait. The design question is how much unused capacity is needed as the number of servers grows. Ward Whitt's study begins with a factory manager deciding whether to put four machines in one work area. It uses queueing models to connect the number of machines, their utilization, and the delays customers experience. The proposed utilization rule, (1−ρ)s=γ(1-\rho)\sqrt{s}=\gamma(1−ρ)s​=γ, keeps the unused fraction 1−ρ1-\rho1−ρ proportional to 1/s1/\sqrt{s}1/s​ as the number of servers sss changes (Whitt 1992, pp. 708–710).

The paper distinguishes the chance that a customer waits at all from the length of the wait once a delay occurs. That distinction matters when a staffing choice must control a long wait rather than merely the fraction of customers who wait. The exact M/M/sM/M/sM/M/s result in §3.1 gives a benchmark for the paper's later approximations to more general arrival and service processes (Whitt 1992, pp. 719–720).

Setting

An M/M/sM/M/sM/M/s queue has Poisson arrivals at rate λ\lambdaλ, sss identical servers, independent exponential service times, unlimited waiting room, and first-come first-served service. Time is measured so that each server's service rate is one. The server utilization is ρ=λ/s\rho=\lambda/sρ=λ/s. We consider s≥1s\geq1s≥1 and 0<λ<s0<\lambda<s0<λ<s, so the queue has a stationary distribution. Let pnp_npn​ be the stationary probability that nnn customers are in the system. Its state process is a birth–death process: arrivals occur at rate λ\lambdaλ and departures from state nnn occur at rate min⁡(n,s)\min(n,s)min(n,s).

Let WWW be an arriving customer's steady-state time in the queue before service begins. An arrival finding fewer than sss customers starts service at once. An arrival finding s+js+js+j customers waits for j+1j+1j+1 service completions while all servers are occupied. In the formal model, the law of WWW has an atom at zero of mass ∑n<spn\sum_{n<s}p_n∑n<s​pn​ and, for each j≥0j\geq0j≥0, a gamma component with shape j+1j+1j+1, rate sss, and weight ps+jp_{s+j}ps+j​. The arrival-state weights use the Poisson-arrivals-see-time-averages property. This construction represents the FCFS waiting time independently of any claim about its eventual conditional distribution.

For an event W>0W>0W>0 of positive probability, L(W∣W>0)\mathcal L(W\mid W>0)L(W∣W>0) denotes the conditional waiting-time law. The paper calls a customer delayed exactly when W>0W>0W>0. The scale parameter γ\gammaγ is defined by the utilization equation (1−ρ)s=γ(1-\rho)\sqrt{s}=\gamma(1−ρ)s​=γ; because ρ<1\rho<1ρ<1, this equation makes γ\gammaγ positive.

Formalization targets

The supporting target is the §3.1 statement that a delayed customer's waiting time is exponential with rate s(1−ρ)s(1-\rho)s(1−ρ), equivalently with mean 1/[s(1−ρ)]1/[s(1-\rho)]1/[s(1−ρ)]:

L(W∣W>0)=Exp⁡(s(1−ρ)).\mathcal L(W\mid W>0)=\operatorname{Exp}\bigl(s(1-\rho)\bigr).L(W∣W>0)=Exp(s(1−ρ)).

The goal is Proposition 3.1 under the utilization equation. It records both the entire conditional tail and its mean, for every x≥0x\geq0x≥0:

P(W>x∣W>0)=e−γs x,E[W∣W>0]=1γs.\mathbb P(W>x\mid W>0)=e^{-\gamma\sqrt{s}\,x}, \qquad \mathbb E[W\mid W>0]=\frac{1}{\gamma\sqrt{s}}.P(W>x∣W>0)=e−γs​x,E[W∣W>0]=γs​1​.

The goal also asserts P(W>0)>0\mathbb P(W>0)>0P(W>0)>0, so these conditional quantities are defined. The scan of Proposition 3.1 prints the exponent without xxx and the mean denominator with 2\sqrt22​; the statement here uses the values determined by the preceding exponential-law sentence and by the paragraph following the proposition (Whitt 1992, pp. 719–720).

Significance

The result gives an exact delay distribution for the Markovian multi-server system. With sss servers and the utilization equation held fixed, the conditional tail at any positive threshold and the mean wait of a delayed customer both depend on sss through γs\gamma\sqrt{s}γs​. Thus the same rule that organizes the probability-of-delay discussion has a definite implication for customers who actually wait. It is also the exact comparison point for the paper's later, explicitly approximate analysis of general G/G/sG/G/sG/G/s queues (Whitt 1992, §3.2).

Formalizing this result supplies a reusable representation of the stationary FCFS waiting-time law as a mixture of Erlang distributions, together with a precise connection between birth–death state probabilities and delay. The related platform items QueueingFundamentals.BirthDeath.mmc_steady_state and QueueingFundamentals.BirthDeath.erlang_c_formula state the stationary state probabilities and the probability of delay, respectively; both are open and neither states this waiting-time law. The open QueueingFundamentals.BirthDeath.halfin_whitt concerns the heavy-traffic limit for the M/M/cM/M/cM/M/c case, a different target. The current result is known mathematically from Whitt's 1992 paper; this mission asks for its machine-checked proof in the specified model.

Difficulty

The conditional distribution is not immediate from an individual service time. A delayed arrival can encounter any queue length s+js+js+j, so its waiting time is a gamma law whose shape varies with jjj. The stationary probabilities provide the weights of infinitely many such components. Showing that this whole mixture has one exponential law requires a relation among the stationary tail probabilities and control of the infinite sum. The same mixture must have a well-defined first moment for the conditional mean formula.

Formalization scope

Lean uses a natural number s≥1s\geq1s≥1, a real arrival rate 0<λ<s0<\lambda<s0<λ<s, and a real sequence pnp_npn​ satisfying the published QueueingFundamentals.BirthDeath.IsSteadyState predicate with constant birth rate λ\lambdaλ and death rate min⁡(n,s)\min(n,s)min(n,s). That predicate includes nonnegativity, total mass one, and the global balance equations. Its published definition is imported as a reference. Service rate is exactly one, as fixed in §2.1 of the paper. The conditional waiting-time law is a measure on real time, with a point mass at zero and a countable gamma mixture. The positive-time restriction of this measure expresses conditioning in the milestone; real measure values and an integral express the tail and mean in the goal.

The formal hypotheses spell out positive arrival rate, at least one server, and subcritical utilization. These make the stationary law and the positive exponential rate meaningful. The goal states positive delay probability before dividing by it. The waiting-time law is built from stationary queue lengths and service completions, rather than being defined as exponential; proving that it becomes exponential is the mathematical task. Solvers may develop reusable measure-mixture identities, stationary-tail facts, and gamma or exponential distribution results. The approximation formulas of §3.2 and the paper's numerical tables are outside this mission.

Selected references

  • Ward Whitt, Understanding the Efficiency of Multi-Server Service Systems, Management Science 38(5):708–723, 1992. DOI: 10.1287/mnsc.38.5.708.
4 thms1 active userReviewed
Operations ResearchProbability·Captain: mikedeng1

The G/GI/N Queue in the Halfin–Whitt Regime 3: The Number in a Non-Idling G/GI/N System Satisfies the Infinite-Server System Equation (2.8)Research Paper

Motivation

A many-server queue has NNN identical servers, a stream of arriving customers, and a buffer in which customers wait when every server is busy. It models call centres, hospital wards and server farms, and the regime of practical interest is the Halfin–Whitt or quality-and-efficiency-driven regime, in which the number of servers NNN grows with the arrival rate λN\lambda_NλN​ so that N(1−λN/N)→β\sqrt N(1-\lambda_N/N)\to\betaN​(1−λN​/N)→β: servers are almost fully used, yet only a vanishing fraction of customers waits.

  • Halfin and Whitt (1981, Oper. Res. 29) identified the regime and proved a diffusion limit for exponential service times (GI/M/NGI/M/NGI/M/N).
  • Puhalskii and Reiman (2000, Adv. Appl. Probab. 32) treated phase-type service distributions (GI/PH/NGI/PH/NGI/PH/N).
  • Reed (2009, arXiv:0912.2837), the source of this mission, obtained the fluid and diffusion limits of the number in system for the G/GI/NG/GI/NG/GI/N queue with a general service-time distribution, assuming only a finite mean. Its approach rests on a sample-path identity, the system equation (2.8), which writes the number in system of the NNN-server queue through quantities of an infinite-server queue fed by the same arrivals.

This mission formalizes that identity and the proposition that yields it.

Setting

Fix one realisation of the queue (Reed, §2, p. 6).

  • There are NNN servers. At time 0−0-0− there are Q0Q_0Q0​ customers; the first min⁡(Q0,N)\min(Q_0,N)min(Q0​,N) are in service, with residual service times η~i\tilde\eta_iη~​i​, and the other (Q0−N)+(Q_0-N)^+(Q0​−N)+ wait.
  • Customers then arrive at times 0≤τ1≤τ2≤⋯0\le\tau_1\le\tau_2\le\cdots0≤τ1​≤τ2​≤⋯ (with τ0=0\tau_0=0τ0​=0); the arrival process is A(t)=#{i≥1:τi≤t}A(t)=\#\{i\ge1:\tau_i\le t\}A(t)=#{i≥1:τi​≤t}. Arrivals at time 000 are counted in A(0)A(0)A(0), so in general Q(0)≠Q0Q(0)\ne Q_0Q(0)=Q0​.
  • The iii-th customer to enter service after time 0−0-0− has service time ηi\eta_iηi​. Service is first come first served, so the first (Q0−N)+(Q_0-N)^+(Q0​−N)+ of these are the initial waiting customers and the iii-th arrival has service time η(Q0−N)++i\eta_{(Q_0-N)^++i}η(Q0​−N)++i​.
  • wi≥0w_i\ge0wi​≥0 is the waiting time of the iii-th arrival and w~i≥0\tilde w_i\ge0w~i​≥0 that of the initial customer N+iN+iN+i.
  • FFF is the service-time distribution, with tail G=1−FG=1-FG=1−F, and F0F_0F0​ the residual service-time distribution, with tail Fˉ0\bar F_0Fˉ0​; both are carried by [0,∞)[0,\infty)[0,∞).

The number in system is (2.2):

Q(t)=∑i=1min⁡(Q0,N)1{η~i>t}+∑i=1(Q0−N)+1{w~i+ηi>t}+∑i=1A(t)1{τi+wi+η(Q0−N)++i>t}.Q(t)=\sum_{i=1}^{\min(Q_0,N)}1\{\tilde\eta_i>t\}+\sum_{i=1}^{(Q_0-N)^+}1\{\tilde w_i+\eta_i>t\}+\sum_{i=1}^{A(t)}1\{\tau_i+w_i+\eta_{(Q_0-N)^++i}>t\}.Q(t)=i=1∑min(Q0​,N)​1{η~​i​>t}+i=1∑(Q0​−N)+​1{w~i​+ηi​>t}+i=1∑A(t)​1{τi​+wi​+η(Q0​−N)++i​>t}.

Centring each indicator at its (conditional) mean produces the terms

W0(t)=∑i=1min⁡(Q0,N)(1{η~i>t}−Fˉ0(t)),AG(t)=∫0tG(t−s) dA(s),I(t)=min⁡(Q0,N)Fˉ0(t)+(Q0−N)+G(t),W_0(t)=\sum_{i=1}^{\min(Q_0,N)}\big(1\{\tilde\eta_i>t\}-\bar F_0(t)\big),\qquad A_G(t)=\int_0^tG(t-s)\,dA(s),\qquad I(t)=\min(Q_0,N)\bar F_0(t)+(Q_0-N)^+G(t),W0​(t)=i=1∑min(Q0​,N)​(1{η~​i​>t}−Fˉ0​(t)),AG​(t)=∫0t​G(t−s)dA(s),I(t)=min(Q0​,N)Fˉ0​(t)+(Q0​−N)+G(t),

and M2(t)M_2(t)M2​(t), the analogous centred sum (2.5) over the customers who entered service after time 0−0-0−. AG(t)A_G(t)AG​(t) is the conditional mean number in a G/GI/∞G/GI/\inftyG/GI/∞ queue fed by the same arrivals.

A sample path is non-idling if for every t≥0t\ge0t≥0

(Q(t)−N)+=∑i=1(Q0−N)+1{t<w~i}+∑i=1A(t)1{τi≤t<τi+wi},(Q(t)-N)^+=\sum_{i=1}^{(Q_0-N)^+}1\{t<\tilde w_i\}+\sum_{i=1}^{A(t)}1\{\tau_i\le t<\tau_i+w_i\},(Q(t)−N)+=i=1∑(Q0​−N)+​1{t<w~i​}+i=1∑A(t)​1{τi​≤t<τi​+wi​},

that is, the customers waiting at time ttt are exactly those who have arrived and not yet entered service. This holds for every first-come-first-served NNN-server path that never idles a server while a customer waits; the paper uses it at the start of the proof of Proposition 2.1 (p. 8).

Formalization targets

Goal: the system equation (2.8), p. 9

For a non-idling sample path and every t≥0t\ge 0t≥0,

Q(t)=I(t)+W0(t)+M2(t)+AG(t)+∫0t(Q(t−s)−N)+ dF(s).Q(t)=I(t)+W_0(t)+M_2(t)+A_G(t)+\int_0^t\big(Q(t-s)-N\big)^+\,dF(s).Q(t)=I(t)+W0​(t)+M2​(t)+AG​(t)+∫0t​(Q(t−s)−N)+dF(s).

Milestones

  1. The first two equalities of the proof of Proposition 2.1 (p. 8): ∑i≤A(t)(G(t−τi−wi)−G(t−τi))=∑i≤A(t)∫0∞1{t−(τi+wi)<s≤t−τi} dF(s)\sum_{i\le A(t)}\big(G(t-\tau_i-w_i)-G(t-\tau_i)\big)=\sum_{i\le A(t)}\int_0^\infty 1\{t-(\tau_i+w_i)<s\le t-\tau_i\}\,dF(s)∑i≤A(t)​(G(t−τi​−wi​)−G(t−τi​))=∑i≤A(t)​∫0∞​1{t−(τi​+wi​)<s≤t−τi​}dF(s).
  2. The "reverse argument" of the proof (p. 9): ∫0t∑i≤(Q0−N)+1{w~i>t−s} dF(s)=∑i≤(Q0−N)+(G(t−w~i)−G(t))\int_0^t\sum_{i\le(Q_0-N)^+}1\{\tilde w_i>t-s\}\,dF(s)=\sum_{i\le(Q_0-N)^+}\big(G(t-\tilde w_i)-G(t)\big)∫0t​∑i≤(Q0​−N)+​1{w~i​>t−s}dF(s)=∑i≤(Q0​−N)+​(G(t−w~i​)−G(t)).
  3. Proposition 2.1 (p. 8): for a non-idling path and t≥0t\ge0t≥0,
∑i=1A(t)(G(t−τi−wi)−G(t−τi))=∫0t(Q(t−s)−N)+ dF(s)−∑i=1(Q0−N)+(G(t−w~i)−G(t)).\sum_{i=1}^{A(t)}\big(G(t-\tau_i-w_i)-G(t-\tau_i)\big)=\int_0^t(Q(t-s)-N)^+\,dF(s)-\sum_{i=1}^{(Q_0-N)^+}\big(G(t-\tilde w_i)-G(t)\big).i=1∑A(t)​(G(t−τi​−wi​)−G(t−τi​))=∫0t​(Q(t−s)−N)+dF(s)−i=1∑(Q0​−N)+​(G(t−w~i​)−G(t)).
  1. The decomposition (2.7) (p. 7): Q(t)=I(t)+W0(t)+M2(t)+AG(t)+∑i≤(Q0−N)+(G(t−w~i)−G(t))+∑i≤A(t)(G(t−τi−wi)−G(t−τi))Q(t)=I(t)+W_0(t)+M_2(t)+A_G(t)+\sum_{i\le(Q_0-N)^+}\big(G(t-\tilde w_i)-G(t)\big)+\sum_{i\le A(t)}\big(G(t-\tau_i-w_i)-G(t-\tau_i)\big)Q(t)=I(t)+W0​(t)+M2​(t)+AG​(t)+∑i≤(Q0​−N)+​(G(t−w~i​)−G(t))+∑i≤A(t)​(G(t−τi​−wi​)−G(t−τi​)).

Significance

The result. Equation (2.8) is the paper's starting point for both of its limit theorems. Writing Q−N=x+∫0t(Q(t−s)−N)+dF(s)Q-N=x+\int_0^t(Q(t-s)-N)^+dF(s)Q−N=x+∫0t​(Q(t−s)−N)+dF(s) with x=I+W0+M2+AG−Nx=I+W_0+M_2+A_G-Nx=I+W0​+M2​+AG​−N shows that the number in system is the image of the infinite-server quantities under the regulator map of the paper's §3, the unique solution of z(t)=x(t)+∫0t(z(t−s)+a)+dB(s)z(t)=x(t)+\int_0^t(z(t-s)+a)^+dB(s)z(t)=x(t)+∫0t​(z(t−s)+a)+dB(s). The fluid limit (Theorem 4.1, p. 12) and the diffusion limit (Theorem 5.1, p. 23) then follow from limit theorems for the infinite-server terms and the continuity of that map. Without (2.8), the NNN-server queue has no closed equation in terms of quantities whose limits are known.

Formalizing it. The identity is proved in the paper on pp. 7–9; to our knowledge it has not been machine-checked. This mission produces a sample-path model of the G/GI/NG/GI/NG/GI/N queue (initial customers, arrivals, FCFS service order, waiting times) together with the decomposition of its number in system, reusable for other many-server results stated pathwise. The limit theorems 4.1 and 5.1 themselves are weak-convergence statements in the Skorohod space and are not part of this mission; the regulator map (Proposition 3.1) is the subject of a separate mission of this series.

Difficulty

The decomposition (2.7) is bookkeeping. The content is Proposition 2.1, which converts a sum over customers of tail differences into an integral, against FFF, of the number of waiting customers at earlier times. The step that needs care is the change of viewpoint from "customer iii's service time falls in a window of length wiw_iwi​" to "customer iii is waiting at time t−st-st−s", after which the sum over customers must be recognised, at each time t−st-st−s, as the waiting count of the non-idling identity, with the arrivals counted up to A(t−s)A(t-s)A(t−s) rather than A(t)A(t)A(t). A second point is the treatment of an atom of FFF at 000: the half-open windows (t−τi−wi, t−τi](t-\tau_i-w_i,\,t-\tau_i](t−τi​−wi​,t−τi​] and the closed integration range [0,t][0,t][0,t] must match, and G(x)=1G(x)=1G(x)=1 for x<0x<0x<0 is used whenever a customer is still waiting.

Formalization scope

  • Paths are data, not random. A sample path is a structure holding NNN, Q0Q_0Q0​ and the sequences η~,η,τ,w,w~:N→R\tilde\eta,\eta,\tau,w,\tilde w:\mathbb N\to\mathbb Rη~​,η,τ,w,w~:N→R, indexed from 111 as in the paper. The arrival times are primary and A(t)A(t)A(t) is their counting function; for a counting process with A(0−)=0A(0-)=0A(0−)=0 this is the same data as the paper's τi=inf⁡{t≥0:A(t)≥i}\tau_i=\inf\{t\ge0:A(t)\ge i\}τi​=inf{t≥0:A(t)≥i}. The encoding has infinitely many arrivals, finitely many in each bounded interval.
  • Distributions are probability measures μ\muμ (for FFF) and μ0\mu_0μ0​ (for F0F_0F0​) on R\mathbb RR with no mass on (−∞,0)(-\infty,0)(−∞,0), and G(x)=μ((x,∞))G(x)=\mu((x,\infty))G(x)=μ((x,∞)) for every real xxx. The paper's i.i.d. assumptions and the mean-111 assumption on FFF are not used by these pathwise identities and are omitted.
  • Integrals ∫0t⋅ dF(s)\int_0^t\cdot\,dF(s)∫0t​⋅dF(s) are over the closed interval [0,t][0,t][0,t], an atom of FFF at 000 included; AG(t)A_G(t)AG​(t), a Stieltjes integral against the counting measure of arrivals, is the finite sum ∑i≤A(t)G(t−τi)\sum_{i\le A(t)}G(t-\tau_i)∑i≤A(t)​G(t−τi​).
  • Non-idling is a hypothesis on the sample path, exactly the identity displayed above. No hypothesis mentions (2.8), Proposition 2.1 or an integral against FFF, and QQQ is not a free function: it is defined by (2.2). Integrability of s↦(Q(t−s)−N)+s\mapsto(Q(t-s)-N)^+s↦(Q(t−s)−N)+ is part of what must be proved, not assumed. The hypotheses are jointly satisfiable, so the goal is not vacuous.
  • Needed infrastructure: finite sums, set integrals of indicator functions against a finite measure on R\mathbb RR, and the identity G(a)−G(b)=μ((a,b])G(a)-G(b)=\mu((a,b])G(a)−G(b)=μ((a,b]). All of it is in Mathlib.

Related platform items: WhittEfficiency.IS.* (the M/G/∞M/G/\inftyM/G/∞ queue with Poisson arrivals, the infinite-server object behind AGA_GAG​) and PalmQueueing.Palm.swiss_army_formula (a pathwise queueing identity of Palm calculus) are the nearest queueing results; neither is the object of this mission.

Selected references

  • J. Reed, The G/GI/N queue in the Halfin–Whitt regime, Ann. Appl. Probab. 19(6), 2009, 2211–2269. arXiv:0912.2837v1. https://arxiv.org/abs/0912.2837 , https://doi.org/10.1214/09-AAP609
  • S. Halfin and W. Whitt, Heavy-traffic limits for queues with many exponential servers, Oper. Res. 29, 1981, 567–588. https://doi.org/10.1287/opre.29.3.567 (MR629195)
  • A. A. Puhalskii and M. I. Reiman, The multiclass GI/PH/N queue in the Halfin–Whitt regime, Adv. Appl. Probab. 32, 2000, 564–595. https://mathscinet.ams.org/mathscinet-getitem?mr=1778580
8 thms1 active userReviewed
AnalysisOperations ResearchOptimization·Captain: mikedeng1

Dynamic Scheduling with Convex Delay Costs: The Generalized cμ Rule: Policies Equalizing the Indices μ_k c_k(W_k/ρ_k) Attain the Heavy-Traffic Lower Bound on Cumulative Delay CostResearch Paper

Motivation

A single server shared by several classes of jobs must decide, at every moment, which class to work on. When each class kkk incurs a linear delay cost ckc_kck​ per unit of waiting time and needs mean service time 1/μk1/\mu_k1/μk​, the classical cμc\mucμ rule (serve the waiting class with the largest ckμkc_k\mu_kck​μk​) minimizes expected cost in many settings, from the M/G/1 queue to discrete-time models (Buyukkoc, Varaiya and Walrand, Adv. Appl. Probab. 1985). Linear costs are a strong restriction: in telecommunications, manufacturing and service systems the penalty for delay often grows faster than linearly, and with convex costs the static priority order of the cμc\mucμ rule is no longer optimal.

Van Mieghem (Ann. Appl. Probab. 1995) proposed the generalized cμc\mucμ rule: with nondecreasing convex delay costs CkC_kCk​ and marginal costs ck=Ck′c_k = C_k'ck​=Ck′​, serve the class with the largest index μkck(⋅)\mu_k c_k(\cdot)μk​ck​(⋅) evaluated at its current delay or workload. The paper proves that, in heavy traffic, this dynamic index policy is asymptotically optimal among all scheduling policies, including policies whose scaled workloads do not converge. This mission formalizes that result and the chain of propositions it rests on.

Setting

There are ddd job classes. In the nnnth system, the iiith class-kkk job arrives after an interarrival time uk,in>0u^n_{k,i}>0uk,in​>0 and needs service vk,in≥0v^n_{k,i}\ge 0vk,in​≥0. Akn(t)A^n_k(t)Akn​(t) counts class-kkk arrivals in [0,t][0,t][0,t] and Skn(x)S^n_k(x)Skn​(x) counts class-kkk completions within xxx units of server time. A policy is an allocation Tn=(Tkn)T^n=(T^n_k)Tn=(Tkn​), where Tkn(t)T^n_k(t)Tkn​(t) is the time in [0,t][0,t][0,t] spent on class kkk. From it come the headcount Nkn=Akn−Skn∘TknN^n_k = A^n_k - S^n_k\circ T^n_kNkn​=Akn​−Skn​∘Tkn​, the workload Wkn(t)=Vkn(Akn(t))−Tkn(t)W^n_k(t) = V^n_k(A^n_k(t)) - T^n_k(t)Wkn​(t)=Vkn​(Akn​(t))−Tkn​(t) (work present in class kkk), the class-FIFO delay τkn(t)=inf⁡{s≥0:Wkn(t)≤Tkn(t+s)−Tkn(t)}\tau^n_k(t)=\inf\{s\ge0: W^n_k(t)\le T^n_k(t+s)-T^n_k(t)\}τkn​(t)=inf{s≥0:Wkn​(t)≤Tkn​(t+s)−Tkn​(t)} of a job arriving at ttt, and the cumulative cost Jn(t)=∑k∑i≤Akn(t)Ckn(τk,in)J^n(t)=\sum_k\sum_{i\le A^n_k(t)} C^n_k(\tau^n_{k,i})Jn(t)=∑k​∑i≤Akn​(t)​Ckn​(τk,in​). Feasible policies are continuous, nondecreasing and work conserving.

The nnnth system runs on [0,n][0,n][0,n] and is studied at the diffusion scale: W~kn(t)=Wkn(nt)/n\tilde W^n_k(t)=W^n_k(nt)/\sqrt nW~kn​(t)=Wkn​(nt)/n​, N~kn\tilde N^n_kN~kn​, τ~kn\tilde\tau^n_kτ~kn​ likewise, and J~n(t)=Jn(nt)/n\tilde J^n(t)=J^n(nt)/nJ~n(t)=Jn(nt)/n. Arrival and service processes expand as An(nt)=nAˉn(t)+n A~n(t)+o(n)A^n(nt)=n\bar A^n(t)+\sqrt n\,\tilde A^n(t)+o(\sqrt n)An(nt)=nAˉn(t)+n​A~n(t)+o(n​) and Sn(nt)=nSˉn(t)+n S~n(t)+o(n)S^n(nt)=n\bar S^n(t)+\sqrt n\,\tilde S^n(t)+o(\sqrt n)Sn(nt)=nSˉn(t)+n​S~n(t)+o(n​). Assumption 1 asks that these terms converge, with rates λ=Aˉ∗′>0\lambda=\bar A^{*\prime}>0λ=Aˉ∗′>0, μ=Sˉ∗′>0\mu=\bar S^{*\prime}>0μ=Sˉ∗′>0, and that the system is in heavy traffic: n(R+n−e)→c~∗\sqrt n(R^n_+-e)\to\tilde c^*n​(R+n​−e)→c~∗, where Rkn=(Sˉkn)−1∘AˉknR^n_k=(\bar S^n_k)^{-1}\circ\bar A^n_kRkn​=(Sˉkn​)−1∘Aˉkn​ and ρk=λk/μk\rho_k=\lambda_k/\mu_kρk​=λk​/μk​ is the traffic intensity. Assumption 2 asks that the costs scale, Cn(n ⋅)→C∗(⋅)C^n(\sqrt n\,\cdot)\to C^*(\cdot)Cn(n​⋅)→C∗(⋅), and Assumption 3 that C∗C^*C∗ be strictly convex and C1\mathcal C^1C1.

The scaled total workload has a policy-independent limit W~+∗=φ(L~+∗+c~∗)\tilde W^*_+=\varphi(\tilde L^*_++\tilde c^*)W~+∗​=φ(L~+∗​+c~∗), with φ\varphiφ the one-dimensional reflection map. The key static problem splits a total yyy among classes:

g∘y(t)=arg⁡min⁡x∈R+d, ∑kxk=y(t) ∑kλk(t) Ck∗(xkρk(t)).(43)g\circ y(t)=\arg\min_{x\in\mathbb R^d_+,\ \sum_k x_k=y(t)}\ \sum_k\lambda_k(t)\,C^*_k\Big(\frac{x_k}{\rho_k(t)}\Big). \tag{43}g∘y(t)=argx∈R+d​, ∑k​xk​=y(t)min​ k∑​λk​(t)Ck∗​(ρk​(t)xk​​).(43)

Formalization targets

Goal: Proposition 7

Under Assumptions 1–3, for feasible policies with

max⁡k,l∥μkck∗(W~knρk)−μlcl∗(W~lnρl)∥→0,(51)\max_{k,l}\Big\|\mu_kc^*_k\Big(\frac{\tilde W^n_k}{\rho_k}\Big)-\mu_lc^*_l\Big(\frac{\tilde W^n_l}{\rho_l}\Big)\Big\|\to0, \tag{51}k,lmax​​μk​ck∗​(ρk​W~kn​​)−μl​cl∗​(ρl​W~ln​​)​→0,(51)

the costs and delays converge,

J~n→J~∗=∑k∫λkCk∗([g∘W~+∗]kρk)dt,τ~n→g∘W~+∗ρ.(52–53)\tilde J^n\to\tilde J^*=\sum_k\int\lambda_kC^*_k\Big(\frac{[g\circ\tilde W^*_+]_k}{\rho_k}\Big)dt,\qquad \tilde\tau^n\to\frac{g\circ\tilde W^*_+}{\rho}. \tag{52–53}J~n→J~∗=k∑​∫λk​Ck∗​(ρk​[g∘W~+∗​]k​​)dt,τ~n→ρg∘W~+∗​​.(52–53)

Milestones

Lemma 1 and Proposition 2 (jumps (33)–(34), first-order allocation (27), total workload (32), boundedness, equivalences (35)); Proposition 3 (μkW~kn−N~kn→0\mu_k\tilde W^n_k-\tilde N^n_k\to0μk​W~kn​−N~kn​→0); Proposition 4 (Little's law); Proposition 5 (converging policies); uniqueness and continuity of ggg (§4.1); the Kuhn–Tucker characterization (46)–(50); and Proposition 6, the lower bound

lim inf⁡nJ~n(t)≥J~∗(t)for every feasible policy sequence.(44)\liminf_n\tilde J^n(t)\ge\tilde J^*(t)\qquad\text{for every feasible policy sequence.}\tag{44}nliminf​J~n(t)≥J~∗(t)for every feasible policy sequence.(44)

Proposition 6 is what makes Proposition 7 an optimality statement; it is a separate milestone and not part of the goal.

Significance

The result. Proposition 7 identifies a simple, myopic index rule that is optimal at the diffusion scale for every time simultaneously, for arbitrary convex delay costs and nonstationary rates. It extends the cμc\mucμ rule beyond linear costs, links it to the "hug the optimal workload curve" policies of heavy-traffic control, and shows that the instantaneous allocation problem (43) is all that matters asymptotically. Later work on Brownian control of multiclass queues and on convex-cost scheduling (Mandelbaum and Stolyar 2004) builds on this.

Formalizing it. The paper's proofs are short and informal at several points, and the formalization makes these points explicit: the domain of every uniform limit, the policy class, and the reading of μ\muμ. No part of this paper has a machine-checked proof. A completed mission would give a verified heavy-traffic analysis of a multiclass single-server queue at the sample-path level, the first on the platform with a deterministic diffusion scaling and an explicit reflection map.

Difficulty

The obvious route is to show that W~n\tilde W^nW~n converges and then pass to the limit in the cost. That fails for the lower bound: Proposition 6 must cover policies whose class workloads never converge (polling-type policies), so it cannot use compactness of W~n\tilde W^nW~n and must instead compare the cost of an arbitrary split of W~+n\tilde W^n_+W~+n​ with the optimal split, locally in time. For the goal, (51) controls only the indices, so the convergence of W~n\tilde W^nW~n must be extracted from (51) through the inverse marginal costs, the convergence of the total workload, and the Kuhn–Tucker conditions of (43). Delay convergence then needs a uniform control of T~n\tilde T^nT~n over windows of length O(n−1/2)O(n^{-1/2})O(n−1/2), and cost convergence needs the convergence of the costs CnC^nCn applied to delays of order n\sqrt nn​.

Formalization scope

Lean namespace GenCMu.HeavyTraffic. The development is deterministic and works one sample path at a time; the stochastic version (Proposition 8) is not part of this mission. Conventions committed to:

  • Classes are Fin d; job indices start at 111; every "→" between functions is uniform convergence ((11)), on [0,1][0,1][0,1] unless stated; lim inf⁡\liminfliminf is written as "eventually ≥\ge≥ bound −ε-\varepsilon−ε".
  • The scaled processes are defined exactly, with Tˉn=Lˉn=Rn\bar T^n=\bar L^n=R^nTˉn=Lˉn=Rn ((69), (75)); the inverse in (14) is the generalized inverse on [0,1][0,1][0,1].
  • The o(n1/2)o(n^{1/2})o(n1/2) terms of (12)–(13) are uniform in ttt. The trends converge in C1\mathcal C^1C1, not only in C\mathcal CC. Without this, Aˉn,Sˉn\bar A^n,\bar S^nAˉn,Sˉn can oscillate on the n−1/2n^{-1/2}n−1/2 scale and (33)–(34) and Proposition 3 fail. The service expansion holds on server time [0,2n][0,2n][0,2n], so that for d=1d=1d=1 in heavy traffic the service times of jobs arriving before nnn are covered.
  • μk\mu_kμk​ in (20), (36), (41), (46)–(51) is μk(Rk∗(t))\mu_k(R^*_k(t))μk​(Rk∗​(t)), the service rate in real time, so ρk=λk/μk(Rk∗)\rho_k=\lambda_k/\mu_k(R^*_k)ρk​=λk​/μk​(Rk∗​).
  • (38) is uniform on compacts. Assumption 3's interior clause is imposed where W~+∗(t)>0\tilde W^*_+(t)>0W~+∗​(t)>0. At W~+∗(t)=0\tilde W^*_+(t)=0W~+∗​(t)=0 no point of Ω={0}\Omega=\{0\}Ω={0} is interior, and the literal clause would make the goal vacuous.
  • For the heavy-traffic limit and goal, feasible policies satisfy F1 (without adaptedness), F2–F4, Wk≥0W_k\ge0Wk​≥0, work conservation (used by W+n=φ(Xn)W^n_+=\varphi(X^n)W+n​=φ(Xn)), and every job finishes. Proposition 6 uses a broader cost-admissible class that permits idleness with work waiting. Class-FIFO is built into the delay (9).
  • The delays of jobs arriving near the horizon depend on post-horizon service. We require the allocation on every bounded diffusion-scale window after nnn to advance at the first-order rates ρk(1)\rho_k(1)ρk​(1). This explicit boundary hypothesis keeps Propositions 2, 4, 5, and 7 on the paper's full [0,1][0,1][0,1].
  • Lemma 1 additionally assumes a common Lipschitz bound on the first-order partial-sum trends. Uniform convergence alone permits jumps of order n\sqrt nn​; the bound repairs that omission. Uniqueness of the solution of (43) is stated under strict convexity: "convex increasing" (p. 820) does not give it. (35) is stated without the implication from τ~n\tilde\tau^nτ~n back to W~n\tilde W^nW~n, which fails in the uniform topology.
  • J~∗\tilde J^*J~∗ integrates the optimal value of (43), so Proposition 6 needs no choice of minimizer.

A trivializing formalization is ruled out: no theorem assumes the convergence of W~n\tilde W^nW~n or W~+n\tilde W^n_+W~+n​, the uniqueness of minimizers, or the lower bound, and the joint satisfiability of all hypotheses has been checked in Lean for d=1d=1d=1.

Needed infrastructure: sample-path reflection-map estimates, counting/partial-sum inversion with uniform o(n)o(\sqrt n)o(n​) errors, parametric convex optimization (Berge's theorem for (43)), and Riemann-sum arguments for the lower bound. The reflection-map and inversion lemmas are reusable beyond this mission. Contributions to any milestone are welcome. The definitions are frozen, so a proof that needs a different definition should be raised in the discussion.

Selected references

  • J. A. Van Mieghem, Dynamic Scheduling with Convex Delay Costs: The Generalized cμ Rule, Ann. Appl. Probab. 5(3) (1995) 809–833. https://doi.org/10.1214/aoap/1177004706
  • C. Buyukkoc, P. Varaiya, J. Walrand, The cμ rule revisited, Adv. Appl. Probab. 17 (1985) 237–238.
  • J. M. Harrison, Brownian Motion and Stochastic Flow Systems, Wiley, 1985 (reflection map).
  • D. L. Iglehart, W. Whitt, Multiple channel queues in heavy traffic. I, Adv. Appl. Probab. 2 (1970) 150–177.
  • A. Mandelbaum, A. L. Stolyar, Scheduling flexible servers with convex delay costs: heavy-traffic optimality of the generalized cμ-rule, Oper. Res. 52(6) (2004) 836–855. https://doi.org/10.1287/opre.1040.0156
16 thms1 active userReviewed
Markov ChainProbability·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
Operations ResearchProbability·Captain: mikedeng1

Stochastic Inequalities on Partially Ordered Spaces 3: Ornstein's d̄-Distance of Stationary Real Processes Equals ∫ω⁰dP + ∫ω⁰dQ − 2 sup{∫ω⁰dR : R ≺ P, R ≺ Q}Research Paper

Motivation

Two stationary random sequences can have identical distributions at each individual time while differing in their dependence across time. Comparing only their one-time marginals therefore misses a feature relevant to stochastic-process comparison. Ornstein's dˉ\bar ddˉ measures the cost of matching two whole stationary processes: it minimizes the expected discrepancy at one time over joint laws that are themselves stationary. Kamae, Krengel, and O'Brien use stochastic order to replace that optimization over pairs of processes with an optimization over a single common lower process in Theorem 8 of their 1977 paper. This mission formalizes that identity and the stationary coupling results supporting it.

Setting

A two-sided path with values in a space EEE is a sequence ω=(ωn)n∈Z\omega=(\omega^n)_{n\in\mathbb Z}ω=(ωn)n∈Z​. The shift TTT sends ω\omegaω to the path whose coordinate nnn is ωn+1\omega^{n+1}ωn+1. A probability law PPP on paths is stationary, written P∈STP\in\mathcal S_TP∈ST​, when P∘T−1=PP\circ T^{-1}=PP∘T−1=P. A law ν\nuν on pairs of paths is jointly stationary, written ν∈SS\nu\in\mathcal S_Sν∈SS​, when it is invariant under S(ω1,ω2)=(Tω1,Tω2)S(\omega_1,\omega_2)=(T\omega_1,T\omega_2)S(ω1​,ω2​)=(Tω1​,Tω2​). Its first and second marginals are denoted ν1\nu_1ν1​ and ν2\nu_2ν2​. These are the objects defined at the start of Section 8.

When EEE has a partial order, paths are ordered coordinatewise: ω1≤ω2\omega_1\leq\omega_2ω1​≤ω2​ means ω1n≤ω2n\omega_1^n\leq\omega_2^nω1n​≤ω2n​ for every integer nnn. For probability laws on any such space, write P≺QP\prec QP≺Q if ∫f dP≤∫f dQ\int f\,dP\leq\int f\,dQ∫fdP≤∫fdQ for every bounded, measurable, increasing real function fff. Thus stochastic order compares laws through all bounded increasing observations, including observations that depend on several time coordinates. The paper introduces this order on a partially ordered Polish space whose order graph is closed and whose measurable sets are Borel sets in Section 1.

For real-valued paths, ω0\omega^0ω0 is the value at time zero. If the time-zero values under stationary laws PPP and QQQ are integrable, define Ornstein's distance by

dˉ(P,Q)=inf⁡ν∈SSν1=P,ν2=Q∫∣ω10−ω20∣ ν(dω1,dω2).\bar d(P,Q)=\inf_{\substack{\nu\in\mathcal S_S\\\nu_1=P,\,\nu_2=Q}} \int |\omega_1^0-\omega_2^0|\,\nu(d\omega_1,d\omega_2).dˉ(P,Q)=ν∈SS​ν1​=P,ν2​=Q​inf​∫∣ω10​−ω20​∣ν(dω1​,dω2​).

The stationary constraint on ν\nuν is part of the definition. It asks for a matching of the full processes, even though the cost is evaluated at one coordinate. The paper notes that this formula is equivalent to Ornstein's original definition for the processes considered here on p. 910.

Formalization targets

The ordered special case is Lemma 3: if P≺QP\prec QP≺Q, then

dˉ(P,Q)=∫ω0 Q(dω)−∫ω0 P(dω).\bar d(P,Q)=\int\omega^0\,Q(d\omega)-\int\omega^0\,P(d\omega).dˉ(P,Q)=∫ω0Q(dω)−∫ω0P(dω).

The main target is Theorem 8, equation (18). For stationary real process laws P,QP,QP,Q with finite first moments at time zero,

dˉ(P,Q)=∫ω0 P(dω)+∫ω0 Q(dω)−2sup⁡R∈STR≺P,R≺Q∫ω0 R(dω).\bar d(P,Q)= \int\omega^0\,P(d\omega)+\int\omega^0\,Q(d\omega) -2\sup_{\substack{R\in\mathcal S_T\\R\prec P,\,R\prec Q}} \int\omega^0\,R(d\omega).dˉ(P,Q)=∫ω0P(dω)+∫ω0Q(dω)−2R∈ST​R≺P,R≺Q​sup​∫ω0R(dω).

The supremum ranges over stationary laws of whole paths, ordered on the full coordinatewise path space. The milestone list includes Theorem 7's stationary monotone coupling, Lemmas 2 and 3, and three claims made inside the proof of Theorem 8: the triangle inequality dˉ(P,Q)≤dˉ(P,R)+dˉ(R,Q)\bar d(P,Q)\le\bar d(P,R)+\bar d(R,Q)dˉ(P,Q)≤dˉ(P,R)+dˉ(R,Q), which the paper asserts without proof ("since dˉ\bar ddˉ is a distance"), the attainment of the infimum defining dˉ\bar ddˉ, and the fact that the law of the coordinatewise minimum of an optimal stationary coupling lies below both PPP and QQQ. These are the statements from the paper that delimit the target.

Significance

The identity expresses a distance defined through stationary joint distributions using only stationary laws below both inputs in stochastic order. It therefore links a coupling cost to an order-theoretic optimization. In the ordered case, Lemma 3 evaluates the distance directly from the difference of means. The authors point out that the general formula replaces an infimum over laws on a product path space by a supremum over laws on one path space on p. 911.

The 1977 results are proved on paper; these mission statements are open Lean proof targets. A completed formalization would supply reusable definitions for stationary path laws, stationary couplings, stochastic order on path spaces, and dˉ\bar ddˉ, together with checked statements about their interaction. It would also make the closed-order and first-moment conditions explicit at every point where a subsequent result uses them. The separate mission for Theorem 1 contains the general coupling characterization that the paper invokes in Theorem 7.

Difficulty

The cost in dˉ\bar ddˉ inspects only time zero, but admissibility of a coupling involves every time coordinate at once. An arbitrary coupling of the time-zero marginals need not extend to a stationary coupling of the two processes. The stationary-coupling existence statement must preserve both full path marginals and the coordinatewise order. On the optimization side, taking an infimum in the real numbers is justified only after the coupling class is shown nonempty and its costs are finite; attaining the infimum requires more than those two facts. These are the obstacles made explicit by Theorem 7 and the proof of Theorem 8.

Formalization scope

The Lean path space is Z→E\mathbb Z\to EZ→E, with Mathlib's product topology, Borel measurable structure, and coordinatewise order. The shift sends coordinate nnn to the old coordinate n+1n+1n+1. For Theorem 7, EEE carries the paper's standing assumptions: it is Polish, its order is a closed partial order, and its measurable structure is Borel. Measurability of quantified functions is explicit, following the paper's convention that sets and functions under discussion are measurable. Theorem 8 and its Section 8 milestones specialize to E=RE=\mathbb RE=R.

The real-valued definition of dˉ\bar ddˉ takes the infimum over jointly stationary probability couplings with the specified full path marginals. Under the target's finite-first-moment hypotheses, the product coupling makes this class nonempty, every displayed cost is integrable, and costs are bounded below by zero. The goal states the supremum with an explicit finite least upper bound. It considers common lower laws with an integrable time-zero coordinate: such laws give the finite values intended by the paper, and this restriction does not remove the optimal value. These choices exclude totalized integrals and default real infima or suprema from supplying a spurious identity. Theorem 7's support condition is concentration on the closed set of ordered path pairs.

Reusable contributions include general facts about stationary measures on countable products, measurable coordinatewise order and meet maps, and stationary coupling compactness. The target specifically requires the order to test bounded increasing functions on the full path space; replacing it with a comparison of time-zero marginals would give a different claim. Likewise, dropping the joint stationarity constraint from the definition of dˉ\bar ddˉ would turn it into the Kantorovich (Wasserstein-1) distance of the time-zero marginals, a different and in general smaller quantity; the formalization keeps that constraint. The source is the published Annals of Probability version; throughout this mission printed page === PDF page +898+898+898.

Selected references

  • T. Kamae, U. Krengel, and G. L. O'Brien, Stochastic Inequalities on Partially Ordered Spaces, The Annals of Probability 5(6), 899–912, 1977. DOI: 10.1214/aop/1176995659.
13 thms1 active userReviewed
Markov ChainProbability·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
Control TheoryOperations Research·Captain: mikedeng1

Distributed Scheduling Based on Due Dates and Buffer Priorities 2: Under Last Buffer First Serve the Number of Parts Stays Bounded, Eventually by (λc(ε)+γ)/(1−ρ−λε)Research Paper

Motivation

Semiconductor wafer fabrication lines are reentrant: a wafer returns to the same photolithography or etching station many times along its route, so the parts competing for a machine are at different stages of completion. In such a line, a local dispatching rule decides at every machine which waiting part goes next, and the question is whether a given rule keeps the line stable whenever there is enough capacity. Lu and Kumar (IEEE TAC 36(12), 1991) showed that the answer depends on the rule. Some natural buffer priority rules make the line unstable even when every machine has spare capacity (their Example 1; see also Kumar and Seidman 1990). Two rules are proved stable for every route: first buffer first serve (FBFS) and last buffer first serve (LBFS).

LBFS serves at each machine the waiting part that is closest to completion. It is the "pull" rule of the two, and the one closer to practice: it minimizes work in progress in many settings and coincides with earliest due date when parts arrive in due-date order. This mission formalizes the paper's LBFS results, §V. The sibling mission (FBFS, §IV) treats the other policy on the same model.

Timeline:

  • 1990: Kumar and Seidman exhibit instability of clearing policies on a reentrant line with spare capacity.
  • 1991: Lu and Kumar prove stability of FBFS (Theorem 1) and of LBFS (Theorems 2–3) under deterministic bursty arrivals. They also prove it for least slack and earliest due date (Theorem 4, Corollary 1), and show that a buffer priority policy can be unstable (Example 1).
  • 1996: Dai and Weiss prove stability of the fluid models of FBFS and LBFS on reentrant lines (Math. Oper. Res. 21(1)), which by Dai's fluid limit theorem gives positive Harris recurrence for the stochastic versions.

Setting

A nonacyclic flow line has SSS service centers; center σ\sigmaσ has mσ≥1m_\sigma \ge 1mσ​≥1 identical machines, each processing one part at a time. Every part follows the same route through buffers b1,…,blb_1, \dots, b_lb1​,…,bl​: in buffer bib_ibi​ it waits at center σi\sigma_iσi​, then needs τi>0\tau_i > 0τi​>0 units of uninterrupted processing on one machine of that center. A center may serve several buffers.

Parts are released into b1b_1b1​; part π\piπ is released at time α(π)\alpha(\pi)α(π) and exits at time e(π)e(\pi)e(π), when its service at blb_lbl​ ends. Finitely many parts may be present at time 000, in any buffer, some already in service. With u(t)u(t)u(t) the number of releases in [0,t][0,t][0,t], the arrivals are bursty with rate λ\lambdaλ and burst γ\gammaγ if

u(t)−u(s)≤λ(t−s)+γ(0≤s≤t).(1)u(t)-u(s)\le \lambda(t-s)+\gamma\qquad(0\le s\le t).\tag{1}u(t)−u(s)≤λ(t−s)+γ(0≤s≤t).(1)

The work per machine that one part brings to center σ\sigmaσ is wσ=∑i:σi=στi/mσw_\sigma=\sum_{i:\sigma_i=\sigma}\tau_i/m_\sigmawσ​=∑i:σi​=σ​τi​/mσ​, and the load is ρ=λw‾\rho=\lambda\overline wρ=λw with w‾=max⁡σwσ\overline w=\max_\sigma w_\sigmaw=maxσ​wσ​. The capacity condition is ρ<1\rho<1ρ<1 (3). Also τ‾=max⁡jτj\overline\tau=\max_j\tau_jτ=maxj​τj​, and w(k)w^{(k)}w(k) is the maximum per-machine work brought to a center by a part in bkb_kbk​, counting only buffers bk,…,blb_k,\dots,b_lbk​,…,bl​ (6).

Scheduling is nonidling (a machine idles only if every buffer of its center is empty) and nonpreemptive, and a machine takes the part at the head of a buffer. Under LBFS, a machine takes a part from bib_ibi​ only if every buffer bjb_jbj​ of its center with j>ij>ij>i is empty. The number of parts in the system at time ttt is x(t)x(t)x(t).

Formalization targets

Goal: Theorem 3, Stability of LBFS

Under (1) and (3), for every ε>0\varepsilon>0ε>0 with 1−ρ−λε>01-\rho-\lambda\varepsilon>01−ρ−λε>0,

x(t)≤max⁡{(1+ρ+λε)x(0)+λc(ε)+γ, 2(λc(ε)+γ)1−ρ−λε}(t≥0),x(t)\le\max\Big\{(1+\rho+\lambda\varepsilon)x(0)+\lambda c(\varepsilon)+\gamma,\ \frac{2(\lambda c(\varepsilon)+\gamma)}{1-\rho-\lambda\varepsilon}\Big\}\quad(t\ge0),x(t)≤max{(1+ρ+λε)x(0)+λc(ε)+γ, 1−ρ−λε2(λc(ε)+γ)​}(t≥0), lim sup⁡t→∞x(t)≤λc(ε)+γ1−ρ−λε.\limsup_{t\to\infty}x(t)\le\frac{\lambda c(\varepsilon)+\gamma}{1-\rho-\lambda\varepsilon}.t→∞limsup​x(t)≤1−ρ−λελc(ε)+γ​.

Here c(ε)c(\varepsilon)c(ε) is the explicit constant of the delay estimate. The paper prints the second bound as λc(ε)+γ/(1−ρ−λε)\lambda c(\varepsilon)+\gamma/(1-\rho-\lambda\varepsilon)λc(ε)+γ/(1−ρ−λε); its proof establishes the form above, which is the one posed.

Milestones

The delay estimate behind the goal, in the order of its proof:

  • the base case (8) for the last buffer;
  • the one-step comparison (11) with the part just ahead;
  • the induction claim (10) for every truncated line B(k)={bk,…,bl}B^{(k)}=\{b_k,\dots,b_l\}B(k)={bk​,…,bl​}: a part in B(k)B^{(k)}B(k) with xxx parts ahead exits within c(k)(ε)+(w(k)+ε)xc^{(k)}(\varepsilon)+(w^{(k)}+\varepsilon)xc(k)(ε)+(w(k)+ε)x;
  • Theorem 2, the contractive estimate
e(π)−α(π)≤c(ε)+(w‾+ε)x(ε>0),e(\pi)-\alpha(\pi)\le c(\varepsilon)+(\overline w+\varepsilon)x\qquad(\varepsilon>0),e(π)−α(π)≤c(ε)+(w+ε)x(ε>0),

for a part that finds xxx parts in the system on release.

Then the Pipeline Property e(π)−α(π)≤w‾x+o(x)e(\pi)-\alpha(\pi)\le\overline wx+o(x)e(π)−α(π)≤wx+o(x), order preservation (parts exit in the order they enter), and the recursion (14) for the number in system along successive exit times. A further item states that LBFS is stable in the sense of §II: every delay e(π)−α(π)e(\pi)-\alpha(\pi)e(π)−α(π) is bounded.

Significance

Theorem 2 says the delay of a part under LBFS grows with the number of parts ahead at rate w‾+ε\overline w+\varepsilonw+ε: the line behaves like a pipeline whose speed is set by its bottleneck center, although parts revisit centers. Theorem 3 converts this into a bound on work in progress that holds for all time, with an asymptotic bound that does not depend on the initial state. Together they give stability of LBFS for every route and every burst size, with explicit constants. This is a deterministic, sample-path result: no distributional assumption on arrivals is needed. Its constants are explicit, so they can be evaluated for a given line.

The results are proved in the paper; none is formalized. The mission produces a machine-checked model of a multi-server reentrant line with nonidling, nonpreemptive, head-of-buffer buffer-priority dispatch, together with Theorems 2 and 3 on it. The model carries over to the other policies of the paper (FBFS, least slack, earliest due date).

Difficulty

The obvious argument fails because under LBFS parts released later do interfere with a part π\piπ: they occupy machines nonpreemptively at the low-priority buffers π\piπ must still pass. So the delay of π\piπ cannot be bounded by the work ahead of it alone. The paper's estimate is an induction from the end of the line backwards over the truncated systems B(k)B^{(k)}B(k), nested with an induction on the position of π\piπ in its buffer. The constant c(k)(ε)c^{(k)}(\varepsilon)c(k)(ε) is recomputed at every level from c(k+1)(ε/2)c^{(k+1)}(\varepsilon/2)c(k+1)(ε/2), so ε\varepsilonε is halved at each level. A formal proof must also handle what the paper treats informally:

  • the order in which parts leave buffers when several arrive at the same instant;
  • parts already in service at time 000;
  • an empty system between busy periods.

Formalization scope

All declarations are in the namespace ReentrantScheduling.LBFS.

  • Buffers are 0-based in Lean: the paper's bib_ibi​ is index i−1i-1i−1.
  • A run lists its parts in a fixed line order: parts present at time 000 first (deeper buffers first, then earlier service start), then released parts by release time. This order breaks ties between simultaneous arrivals, and "parts ahead of π\piπ" means the parts in the system that precede π\piπ in it.
  • Service start times are in WithTop ℝ, with ⊤ meaning never, so a run need not serve every part, and the theorems assert that parts are served. A formalization with real-valued start times would assume every part is served, which is half of what stability asserts.
  • All counts (capacity, nonidling, (1), x(t)x(t)x(t)) are Set.encard, never Set.ncard, which would count an infinite set as 000 and make the capacity rule vacuous.
  • The constants c(k)(ε)c^{(k)}(\varepsilon)c(k)(ε) of (8)–(9) are explicit definitions that depend only on the line and ε\varepsilonε. A constant chosen after the run would let it depend on the arrivals or the initial state.
  • Theorem 3's bounds are inequalities in [0,∞][0,\infty][0,∞]; the lim sup is taken there, so it cannot be a junk value of an unbounded real function.
  • The standing assumptions of §II are hypotheses or part of the run predicate: nonidling, nonpreemptive, head-of-buffer service, mσ≥1m_\sigma\ge1mσ​≥1, l≥1l\ge1l≥1. The positivity τi>0\tau_i>0τi​>0 is pinned: the paper leaves it implicit.
  • Every theorem quantifies over all admissible LBFS runs. The empty run and nontrivial runs satisfy the hypotheses.

The model is reusable for other dispatch rules on reentrant lines. Proofs of any milestone are welcome, as are lemmas on admissible runs (FIFO within buffers, finiteness of x(t)x(t)x(t)).

Not posed here:

  • Example 1, which is already on the platform as QueueingStability.LuKumar.theorem31;
  • Theorem 4 and Corollary 1 (least slack, earliest due date), whose proof modifications the paper leaves to the reader;
  • Theorem 5 (several flow lines), whose proof is a sketch.

Selected references

  • S. H. Lu and P. R. Kumar, Distributed Scheduling Based on Due Dates and Buffer Priorities, IEEE Transactions on Automatic Control 36(12), 1406–1416, 1991. https://doi.org/10.1109/9.106156
  • P. R. Kumar and T. I. Seidman, Dynamic Instabilities and Stabilization Methods in Distributed Real-Time Scheduling of Manufacturing Systems, IEEE Transactions on Automatic Control 35(3), 289–298, 1990. https://doi.org/10.1109/9.50339
  • J. G. Dai and G. Weiss, Stability and Instability of Fluid Models for Reentrant Lines, Mathematics of Operations Research 21(1), 115–134, 1996. https://doi.org/10.1287/moor.21.1.115
10 thms1 active userReviewed
Control TheoryOperations Research·Captain: mikedeng1

Distributed Scheduling Based on Due Dates and Buffer Priorities 1: First Buffer First Serve Is Stable on Every Nonacyclic Flow Line Whose Bursty Arrival Rate Is Below CapacityResearch Paper

Motivation

Semiconductor wafer fabs are the standard example of a reentrant manufacturing line: a wafer visits the same lithography or etching station many times along a route of hundreds of steps, so each station holds parts at many different stages of completion and must decide, every time a machine frees up, which of them to serve next. Kumar (Re-entrant lines, Queueing Systems 13, 1993) singled these lines out as a third class of manufacturing systems besides flow shops and job shops, and stability of their scheduling policies became a central question in the analysis of queueing networks.

The question is sharp because the obvious conjecture is false. Kumar and Seidman (IEEE TAC 35(3), 1990) gave a deterministic network in which a distributed policy is unstable although every machine has spare capacity, and Lu and Kumar (IEEE TAC 36(12), 1991, Example 1, p. 1409) gave a two-station reentrant line in which a buffer priority policy is unstable at load below one. Their paper then identifies policies that are always stable: first buffer first serve (FBFS, Theorem 1), last buffer first serve (Theorem 3) and the due-date policies least slack and earliest due date (Theorem 4). This mission formalizes Theorem 1.

Timeline:

  • 1990: Kumar and Seidman exhibit instability of clear-a-fraction policies under load below one.
  • 1991: Lu and Kumar prove FBFS and LBFS stable on every nonacyclic flow line with deterministic bursty arrivals, and exhibit an unstable buffer priority policy.
  • 1995–1996: Dai (Ann. Appl. Probab. 5(1), 1995) reduces positive Harris recurrence of multiclass networks to stability of fluid models; Dai and Weiss (Math. Oper. Res. 21(1), 1996) prove the FBFS and LBFS fluid models of reentrant lines stable.

Setting

A nonacyclic flow line has SSS service centers; center σ\sigmaσ has mσ≥1m_\sigma\ge1mσ​≥1 identical machines in parallel, each working on one part at a time. Every part follows the same route: it visits buffers b1,b2,…,blb_1,b_2,\dots,b_lb1​,b2​,…,bl​ in order, buffer bib_ibi​ sits at center σi\sigma_iσi​, and a part in bib_ibi​ needs τi>0\tau_i>0τi​>0 time units of uninterrupted processing on one machine of σi\sigma_iσi​. The same center may appear many times along the route.

Parts enter at b1b_1b1​; part π\piπ is released at time α(π)\alpha(\pi)α(π). The releases are deterministic but may be bursty: with u(t)u(t)u(t) the number of parts released in [0,t][0,t][0,t],

u(t)−u(s)≤λ(t−s)+γfor all 0≤s≤t,(1)u(t)-u(s)\le\lambda(t-s)+\gamma\qquad\text{for all }0\le s\le t,\tag{1}u(t)−u(s)≤λ(t−s)+γfor all 0≤s≤t,(1)

for constants λ,γ≥0\lambda,\gamma\ge0λ,γ≥0. Each part brings wσ=∑i:σi=στi/mσw_\sigma=\sum_{i:\sigma_i=\sigma}\tau_i/m_\sigmawσ​=∑i:σi​=σ​τi​/mσ​ units of work per machine to center σ\sigmaσ, and the load is ρ=max⁡σλwσ\rho=\max_\sigma\lambda w_\sigmaρ=maxσ​λwσ​. The arrival rate is within capacity when ρ<1\rho<1ρ<1 (3). At time 000 the line may hold finitely many initial parts in arbitrary buffers, some of them already in service.

A schedule is nonidling (a machine idles only if every buffer of its center is empty), nonpreemptive (a started service runs to completion) and serves the part at the head of the chosen buffer. Under FBFS a free machine at center σ\sigmaσ takes a part from bib_ibi​ only if every buffer bjb_jbj​ of σ\sigmaσ with j<ij<ij<i is empty. With e(π)e(\pi)e(π) the time part π\piπ exits after its service at blb_lbl​, the schedule is stable if there is Γ≥0\Gamma\ge0Γ≥0 with

e(π)−α(π)≤Γfor all parts π.(4)e(\pi)-\alpha(\pi)\le\Gamma\qquad\text{for all parts }\pi.\tag{4}e(π)−α(π)≤Γfor all parts π.(4)

Γ\GammaΓ may depend on the initial state as well as on λ\lambdaλ.

Formalization targets

Goal: Theorem 1 (p. 1409)

For every line, every λ,γ≥0\lambda,\gamma\ge0λ,γ≥0 with ρ<1\rho<1ρ<1, and every admissible FBFS run whose releases satisfy (1),

∃ Γ≥0  ∀π:e(π)≤α(π)+Γ.\exists\,\Gamma\ge0\ \ \forall\pi:\quad e(\pi)\le\alpha(\pi)+\Gamma .∃Γ≥0  ∀π:e(π)≤α(π)+Γ.

The statement fixes no constant: Γ\GammaΓ is chosen after the run.

Milestones (proof of Theorem 1, pp. 1409–1410)

An interval [T1,T2][T_1,T_2][T1​,T2​] is an iii-busy period if at every instant some part waits in a buffer bjb_jbj​, j≤ij\le ij≤i, at center σi\sigma_iσi​. With τˉ=max⁡jτj\bar\tau=\max_j\tau_jτˉ=maxj​τj​, Γˉi=∑j<i(Γ(j)+τj)\bar\Gamma_i=\sum_{j<i}(\Gamma^{(j)}+\tau_j)Γˉi​=∑j<i​(Γ(j)+τj​) and

Γ(i)=[2τˉ+∑σj=σi, j≤iλτjΓˉi+γτjmσi][1−∑σj=σi, j≤iλτjmσi]−1,\Gamma^{(i)}=\Big[2\bar\tau+\sum_{\sigma_j=\sigma_i,\,j\le i}\frac{\lambda\tau_j\bar\Gamma_i+\gamma\tau_j}{m_{\sigma_i}}\Big]\Big[1-\sum_{\sigma_j=\sigma_i,\,j\le i}\frac{\lambda\tau_j}{m_{\sigma_i}}\Big]^{-1},Γ(i)=[2τˉ+σj​=σi​,j≤i∑​mσi​​λτj​Γˉi​+γτj​​][1−σj​=σi​,j≤i∑​mσi​​λτj​​]−1,
  1. a 1-busy period commencing at T1>0T_1>0T1​>0 has T2−T1≤Γ(1)T_2-T_1\le\Gamma^{(1)}T2​−T1​≤Γ(1);
  2. there are finite times T(i)T^{(i)}T(i) after which every iii-busy period has length at most Γ(i)\Gamma^{(i)}Γ(i);
  3. a part arriving at bjb_jbj​ after T(j)T^{(j)}T(j) leaves bjb_jbj​ within Γ(j)+τj\Gamma^{(j)}+\tau_jΓ(j)+τj​;
  4. a part released after T(l)T^{(l)}T(l) has delay at most ∑j=1l(Γ(j)+τj)\sum_{j=1}^l(\Gamma^{(j)}+\tau_j)∑j=1l​(Γ(j)+τj​).

Milestone 4 has an explicit bound independent of the initial state; the goal additionally covers the finitely many parts present or released during the transient.

Significance

Theorem 1 says that the simplest "push" discipline, always serving the earliest stage first, keeps every part's delay bounded on every reentrant line whose stations have spare capacity, for every initial state and every bursty but rate-limited release pattern. By Little's law it also bounds the work in process. Together with Example 1 it shows that stability is a property of the policy, not of the load condition alone, and it gave one of the first two positive results for a whole class of reentrant lines. The explicit constants Γ(i)\Gamma^{(i)}Γ(i) make the delay guarantee quantitative after the transient.

The result is proved in the paper. As far as the platform record shows it has not been formalized: the related platform items concern the fluid models of Dai and Weiss, which have no parts, no burstiness and no nonpreemption, and a fixed instance of Example 1. This mission produces a machine-checked sample-path model of reentrant lines under buffer priority policies and a checked proof of Theorem 1 with its explicit busy-period constants. The same model serves the sibling mission on LBFS (Theorem 3 of the paper).

Difficulty

A first idea is a work-conservation argument per center: total work arriving at σ\sigmaσ grows at rate ρ<1\rho<1ρ<1 per machine, so the center cannot fall behind. This fails because the work arriving at a center σ\sigmaσ from a later buffer bib_ibi​ depends on how fast the upstream centers have pushed parts to bib_ibi​, and an upstream center can release a burst that the downstream center absorbs only after other buffers have starved; Example 1 is exactly such a cascade under a different priority order. Any argument must therefore bound the delay of a part at a buffer in terms of delays it suffered upstream at other centers, uniformly in the initial state, while nonpreemption lets a part wait up to τˉ\bar\tauτˉ for a machine busy with a lower-priority buffer and the release constraint (1) controls only arrivals to b1b_1b1​, not to later buffers. On sample paths one must also show that the initial parts clear in finite time and that only finitely many parts are served in any bounded interval.

Formalization scope

Lean represents a line by a structure with SSS, mσ>0m_\sigma>0mσ​>0, l>0l>0l>0, the route center : Fin l → Fin S and processing times τ with τi>0\tau_i>0τi​>0. The positivity is a pinned hypothesis: the paper leaves it implicit, its proof divides by τ1\tau_1τ1​, and its only zero processing times are those of Example 1. Buffers are 0-based: the paper's bib_ibi​ is Lean index i−1i-1i−1. The load is written λwˉ\lambda\bar wλwˉ, equal to max⁡σλwσ\max_\sigma\lambda w_\sigmamaxσ​λwσ​ for λ≥0\lambda\ge0λ≥0.

A run is a type of parts with an injective line order, a finite set of initial parts, entry buffers, release times, and for each part and buffer the start of service in WithTop ℝ, ⊤\top⊤ meaning never served. Admissibility imposes, at every t≥0t\ge0t≥0: precedence (service begins after arrival, except that initial parts may be in service at time 000), capacity mσm_\sigmamσ​, nonidling, head of buffer with ties broken by the line order, and the priority rule. All counts use Set.encard. The theorems hold for every admissible run, not for one particular tie-breaking schedule. The constants Γ(i)\Gamma^{(i)}Γ(i) are definitions computed from the line and λ,γ\lambda,\gammaλ,γ; the times T(i)T^{(i)}T(i) are existential after the run.

Two trivializing formalizations are ruled out: start times in ℝ would make every part served by construction and stability half empty, and a capacity constraint stated with Set.ncard would be vacuous for infinitely many parts. Γ\GammaΓ never depends on the part. A sanity file exhibits a nontrivial admissible run satisfying (1) and checks that the empty run is admissible and stable.

The page prints Γ(i)\Gamma^{(i)}Γ(i) (p. 1410) as a product of the two brackets; the inequality it is solved from gives the quotient, which is also the printed form of Γ(1)\Gamma^{(1)}Γ(1), and the formalization uses the quotient.

The sample-path model (Line, Run, Admissible, Arrivals, Stable) is reusable for any buffer priority policy and for the LBFS mission. Contributions welcome: proofs of the milestones in the listed order, lemmas on finiteness of the parts served in bounded time, and interval-counting lemmas for busy periods. Not posed here: Example 1, which is already on the platform as an open problem (QueueingStability.LuKumar.theorem31), Theorems 2–3 (LBFS, sibling mission), Theorems 4–5 and Corollary 1 (due-date policies, several flow lines).

Selected references

  • S. H. Lu and P. R. Kumar, Distributed Scheduling Based on Due Dates and Buffer Priorities, IEEE Transactions on Automatic Control 36(12), 1991, pp. 1406–1416. https://doi.org/10.1109/9.106156
  • P. R. Kumar and T. I. Seidman, Dynamic instabilities and stabilization methods in distributed real-time scheduling of manufacturing systems, IEEE Transactions on Automatic Control 35(3), 1990, pp. 289–298. https://doi.org/10.1109/9.50339
  • P. R. Kumar, Re-entrant lines, Queueing Systems 13, 1993, pp. 87–110. https://doi.org/10.1007/BF01158927
  • J. G. Dai, On positive Harris recurrence of multiclass queueing networks: a unified approach via fluid limit models, Annals of Applied Probability 5(1), 1995, pp. 49–77. https://doi.org/10.1214/aoap/1177004828
  • J. G. Dai and G. Weiss, Stability and instability of fluid models for reentrant lines, Mathematics of Operations Research 21(1), 1996, pp. 115–134. https://doi.org/10.1287/moor.21.1.115
7 thms1 active userReviewed
Markov ChainProbability·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
Operations ResearchOptimization·Captain: mikedeng1

Finding Optimal (s, S) Policies Is About As Simple As Evaluating a Single Policy: The Zheng–Federgruen Algorithm Terminates with an Optimal (s, S) Policy and c⁰ = c*Research Paper

Motivation

The (s, S) policy is the standard control rule for a single item reviewed periodically: when the inventory position reaches or drops below a reorder level sss, order enough to bring it up to the order-up-to level SSS. Under a fixed ordering cost and fairly general holding and shortage costs, some (s, S) policy minimizes the long-run average cost among all policies (Veinott 1966). That makes computing the best (s, S) pair a routine subproblem in inventory software, in multi-echelon heuristics, and in textbooks.

Before 1991 the available methods searched a box of candidate pairs. Veinott and Wagner (1965) bounded the optimal sss and SSS and compared policies within the bounds. Later methods (Johnson, Management Science 15, 1968; Bell, SIAM J. Applied Mathematics 18, 1970; Federgruen and Zipkin 1984) used policy iteration or partial enumeration. Zheng and Federgruen (1991) gave an exact search that walks a monotone staircase path through the (s,S)(s,S)(s,S) grid, and showed it costs about as much as evaluating a single policy. The procedure is the one presented in standard inventory texts such as Zipkin's Foundations of Inventory Management (2000).

Setting

One-period demands DDD are i.i.d. and integer valued, with pj=Pr⁡{D=j}p_j=\Pr\{D=j\}pj​=Pr{D=j}, j≥0j\ge0j≥0, and p0<1p_0<1p0​<1. An order costs K>0K>0K>0. G(y)G(y)G(y) is the one-period expected cost when a period starts at inventory position y∈Zy\in\mathbb Zy∈Z. The paper assumes only:

  • −G-G−G is unimodal: for some integer mmm, GGG is nonincreasing on y≤my\le my≤m and nondecreasing on y≥my\ge my≥m;
  • lim⁡∣y∣→∞G(y)>min⁡yG(y)+K\lim_{|y|\to\infty}G(y)>\min_yG(y)+Klim∣y∣→∞​G(y)>miny​G(y)+K.

Write y1∗y_1^*y1∗​ and y2∗y_2^*y2∗​ for the smallest and largest minimizers of GGG. The renewal density mmm and renewal function MMM are

m(0)=(1−p0)−1,m(j)=∑l=0jpl m(j−l) (j≥1),M(0)=0,M(j)=M(j−1)+m(j−1).m(0)=(1-p_0)^{-1},\quad m(j)=\sum_{l=0}^{j}p_l\,m(j-l)\ (j\ge1),\qquad M(0)=0,\quad M(j)=M(j-1)+m(j-1).m(0)=(1−p0​)−1,m(j)=l=0∑j​pl​m(j−l) (j≥1),M(0)=0,M(j)=M(j−1)+m(j−1).

For integers s<Ss<Ss<S, the long-run average cost of the (s, S) policy is

c(s,S)=K+∑j=0S−s−1m(j) G(S−j)M(S−s).c(s,S)=\frac{K+\sum_{j=0}^{S-s-1}m(j)\,G(S-j)}{M(S-s)}.c(s,S)=M(S−s)K+∑j=0S−s−1​m(j)G(S−j)​.

A pair (s,S)(s,S)(s,S) is an optimal policy if c(s,S)≤c(s′,S′)c(s,S)\le c(s',S')c(s,S)≤c(s′,S′) for all integers s′<S′s'<S's′<S′. The optimal cost c∗c^*c∗ is the value of any optimal policy. For fixed SSS, sss is an optimal reorder level if c(s,S)≤c(s′,S)c(s,S)\le c(s',S)c(s,S)≤c(s′,S) for all s′<Ss'<Ss′<S.

The algorithm (§3, p. 659) starts at any minimizer y∗y^*y∗ of GGG.

  • Step 0. Decrease sss from y∗y^*y∗ until c(s,y∗)≤G(s)c(s,y^*)\le G(s)c(s,y∗)≤G(s). Set S0:=y∗S^0:=y^*S0:=y∗, c0:=c(s,S0)c^0:=c(s,S^0)c0:=c(s,S0) and S:=y∗+1S:=y^*+1S:=y∗+1.
  • Step 1. While G(S)≤c0G(S)\le c^0G(S)≤c0: if c(s,S)<c0c(s,S)<c^0c(s,S)<c0, set S0:=SS^0:=SS0:=S, increase sss while c(s,S0)≤G(s+1)c(s,S^0)\le G(s+1)c(s,S0)≤G(s+1), and set c0:=c(s,S0)c^0:=c(s,S^0)c0:=c(s,S0). In either case, S:=S+1S:=S+1S:=S+1.

Formalization targets

Goal: Theorem 1(a)

For every demand law with p0<1p_0<1p0​<1, every K>0K>0K>0, every GGG satisfying the two assumptions, and every minimizer y∗y^*y∗ of GGG, the algorithm terminates. On termination, with final values s,S0,c0s,S^0,c^0s,S0,c0,

c(s,S0)≤c(s′,S′)  for all integers s′<S′,c0=c(s,S0)=c∗.c(s,S^0)\le c(s',S')\ \text{ for all integers } s'<S',\qquad c^0=c(s,S^0)=c^*.c(s,S0)≤c(s′,S′)  for all integers s′<S′,c0=c(s,S0)=c∗.

Milestones

The milestones are the results the paper's justification of the algorithm (p. 659) rests on, in the order it uses them:

  1. the weighted-average identity (6), c(s−1,S)=αnc(s,S)+(1−αn)G(s)c(s-1,S)=\alpha_nc(s,S)+(1-\alpha_n)G(s)c(s−1,S)=αn​c(s,S)+(1−αn​)G(s) with αn=M(n)/M(n+1)\alpha_n=M(n)/M(n+1)αn​=M(n)/M(n+1) and n=S−sn=S-sn=S−s, and Lemma 0 on the comparisons it implies;
  2. Lemma 1(a): a reorder level s0<y1∗s^0<y_1^*s0<y1∗​ with G(s0)≥c(s0,S)≥G(s0+1)G(s^0)\ge c(s^0,S)\ge G(s^0+1)G(s0)≥c(s0,S)≥G(s0+1) (condition (7)) is optimal for SSS;
  3. Corollary 1, the stopping rule of Step 0;
  4. Lemma 2(a)–(c), the bounds y2∗≤S∗y_2^*\le S^*y2∗​≤S∗ and S∗≤Sˉ∗=max⁡{y≥y2∗:G(y)≤c∗}S^*\le\bar S^*=\max\{y\ge y_2^*:G(y)\le c^*\}S∗≤Sˉ∗=max{y≥y2∗​:G(y)≤c∗}, which give the stopping rule of Step 1;
  5. Lemma 3(a), the single-comparison test for improvement, and Corollary 2(b) with Lemma 3(b), which justify the inner loop.

Significance

The result. Theorem 1(a) makes the exact optimum of the (s, S) problem as cheap to compute as the cost of one policy, for any GGG with −G-G−G unimodal. No convexity is needed, and lead times, random lead times of the Zipkin type, and linear purchase costs are allowed. Its bounds (Lemma 2) and the monotone staircase structure of the search also underlie later work on continuous review, discounting and approximation.

Formalizing it. The theorem is proved on paper. As far as we know, none of the results in this mission has a machine-checked proof: the platform's Veinott–Wagner items concern a different (discounted, convex) model. Formalizing it produces a verified correctness proof of a widely implemented algorithm, and checks the paper's lemmas at their edge cases. Two of the printed statements need repair: Lemma 1(b) and Lemma 3(a) (see the scope section).

Difficulty

Optimality is claimed over all pairs s′<S′s'<S's′<S′, an infinite set, but the algorithm visits only a monotone path. The proof therefore has to show that every pair it skips is no better. For a fixed SSS, the skipped reorder levels are handled by the unimodality of c(⋅,S)c(\cdot,S)c(⋅,S) (Lemma 1). The skipped order-up-to levels are handled by the one-comparison test of Lemma 3(a), and those above the stopping point by the bound of Lemma 2(b). An argument from joint convexity or joint unimodality of ccc in (s,S)(s,S)(s,S) is not available. The paper uses no structure of ccc beyond what Lemmas 0–3 state, and these hold only under the side conditions written in them.

Lemma 2(b)'s printed proof leaves the class of (s, S) policies (it uses a randomized order-up-to level). The limit at −∞-\infty−∞ may be finite, so min⁡s<Sc(s,S)\min_{s<S}c(s,S)mins<S​c(s,S) need not be attained for every SSS. Lattice demands, for which mmm vanishes somewhere, create ties between adjacent reorder levels. Each of these breaks a naive transcription of the paper's argument.

Formalization scope

  • Levels s,S,ys,S,ys,S,y are integers. Demand values are natural numbers, and the demand law is the published VeinottWagnerSS.RenewalCost.DemandDist with the extra hypothesis p0<1p_0<1p0​<1. All costs are real.
  • The cost is the ratio above. Equation (1) on p. 655 is misprinted as M(S−s)K+∑⋯M(S-s)K+\sum\cdotsM(S−s)K+∑⋯, and the ratio is the form fixed by (3) and (5). The Lean value c(s,S)c(s,S)c(s,S) for s≥Ss\ge Ss≥S is a junk 000, so every quantifier over reorder levels carries s<Ss<Ss<S.
  • mmm is defined by the solved recursion m(j)=(1−p0)−1∑l=1jpl m(j−l)m(j)=(1-p_0)^{-1}\sum_{l=1}^{j}p_l\,m(j-l)m(j)=(1−p0​)−1∑l=1j​pl​m(j−l) (p. 660), and M(j)=∑i<jm(i)M(j)=\sum_{i<j}m(i)M(j)=∑i<j​m(i).
  • The growth assumption is encoded as: GGG has a minimizer y0y_0y0​ and G(y)>G(y0)+KG(y)>G(y_0)+KG(y)>G(y0​)+K for all but finitely many yyy. Under unimodality this is equivalent to the page's limit condition. It is not strengthened to G→+∞G\to+\inftyG→+∞.
  • Optimality is among (s, S) policies. That an (s, S) policy is optimal among all policies is Veinott (1966) and is neither stated nor used. c∗c^*c∗, c∗(S)c^*(S)c∗(S), yi∗y_i^*yi∗​, Sˉ∗\bar S^*Sˉ∗, Sˉc\bar S_cSˉc​ and s′s's′ are never real infima: they are the cost of a given optimal pair, ∃\exists∃-statements, or binders characterised as least or greatest elements.
  • The algorithm is a step function on the state (s,S,S0,c0,phase)(s,S,S^0,c^0,\text{phase})(s,S,S0,c0,phase) that keeps the paper's order of tests and its weak and strict inequalities. The run with nnn steps returns an output only if the algorithm has terminated.
  • Ruled out as trivializing: comparing only with the pairs the algorithm visits or with a bounded box; assuming termination, or a budget that returns the current state; assuming G→+∞G\to+\inftyG→+∞; leaving c(s,S)c(s,S)c(s,S) unguarded for s≥Ss\ge Ss≥S.
  • Repaired statements. Lemma 3(a) is stated with condition (7) at S0S^0S0 as an extra hypothesis. With s0s^0s0 merely optimal it fails when mmm has a zero: for p=(1/5,0,1/5,3/5)p=(1/5,0,1/5,3/5)p=(1/5,0,1/5,3/5), m(1)=0m(1)=0m(1)=0 and adjacent reorder levels tie. The algorithm always has (7). Lemma 1(b), "an optimal reorder level satisfying (7) exists for every SSS", is false when lim⁡y→−∞G(y)\lim_{y\to-\infty}G(y)limy→−∞​G(y) is finite. An example is D≡2D\equiv2D≡2, K=1K=1K=1, G(0)=5G(0)=5G(0)=5, G(y)=10−0.1⋅2−∣y∣G(y)=10-0.1\cdot2^{-|y|}G(y)=10−0.1⋅2−∣y∣ (y≠0y\neq0y=0), S=1S=1S=1, where no optimal reorder level exists. It is not posed here, and the goal does not depend on it.
  • Not formalized: Theorem 1(b)–(c), the operation counts, which depend on a bookkeeping model described in words; Corollary 3, which the paper notes is not needed for the algorithm; and the variant for a general starting level S0S_0S0​.
  • Welcome contributions: general facts about the discrete renewal density (m≥0m\ge0m≥0, M>0M>0M>0), the identity (6), and lemmas on c(⋅,S)c(\cdot,S)c(⋅,S) that are reusable for related (s, S) and (r, Q) work.

Selected references

  • Y.-S. Zheng and A. Federgruen, Finding Optimal (s, S) Policies Is About As Simple As Evaluating a Single Policy, Operations Research 39(4):654–665, 1991. https://doi.org/10.1287/opre.39.4.654
  • A. F. Veinott Jr. and H. M. Wagner, Computing Optimal (s, S) Inventory Policies, Management Science 11(5):525–552, 1965. https://doi.org/10.1287/mnsc.11.5.525
  • A. F. Veinott Jr., On the Optimality of (s, S) Inventory Policies: New Conditions and a New Proof, SIAM J. Applied Mathematics 14(5):1067–1083, 1966. https://doi.org/10.1137/0114086
  • A. Federgruen and P. Zipkin, An Efficient Algorithm for Computing Optimal (s, S) Policies, Operations Research 32(6):1268–1285, 1984. https://doi.org/10.1287/opre.32.6.1268
  • A. Federgruen and Y.-S. Zheng, An Efficient Algorithm for Computing an Optimal (r, Q) Policy in Continuous Review Stochastic Inventory Systems, Operations Research 40(4):808–813, 1992. https://doi.org/10.1287/opre.40.4.808
14 thms1 active userReviewed
Operations ResearchProbability·Captain: mikedeng1

Poisson Arrivals See Time Averages: Under Lack of Anticipation, the Fraction of Time in B Converges a.s. iff the Fraction of Arrivals Finding B Does, to the Same LimitResearch Paper

Why arrival averages and time averages agree

Queueing analysis constantly moves between two kinds of long-run averages: the fraction of time a system spends in some set of states, and the fraction of arriving customers who find it there. Waiting-time formulas for the M/G/1 queue, blocking probabilities in loss systems and many decomposition arguments rest on the claim that, when arrivals form a Poisson process, the two coincide. This property is known as PASTA, Poisson Arrivals See Time Averages. It is used throughout queueing theory, inventory theory and the analysis of communication networks, usually without proof.

Before 1982 the property had been proved under strong extra structure:

  • Strauch (1970) proved an instantaneous version, at a fixed time point, which does not by itself give limit theorems.
  • Wolff (1970) proved a limit theorem for a stationary observed process, using particular properties of its interaction with the Poisson stream.
  • Stidham (1972) proved a limit theorem for regenerative processes, under restrictions on how regeneration points relate to the arrivals.
  • Wolff (1982), the source of this mission, proved the limit theorem with no stationarity, regeneration or ergodicity at all. The only link assumed between system and arrivals is that the system does not anticipate future arrivals. The proof uses Watanabe's (1964) martingale characterization of the Poisson process.
  • Melamed and Whitt (1990) recast the result as one instance of a general "arrivals see time averages" (ASTA) principle for arbitrary point processes.

Setting

Let (Ω,F,P)(\Omega,\mathcal F,P)(Ω,F,P) be a probability space. On it live a process N={N(t),t≥0}N=\{N(t),t\ge0\}N={N(t),t≥0}, the state of a system, with values in an arbitrary measurable space, and a Poisson process A={A(t),t≥0}A=\{A(t),t\ge0\}A={A(t),t≥0} at rate λ>0\lambda>0λ>0, counting customer arrivals in (0,t](0,t](0,t]. The interaction between AAA and NNN is unspecified: arrivals may change the state.

Fix a set BBB of states with {N(t)∈B}∈F\{N(t)\in B\}\in\mathcal F{N(t)∈B}∈F for every t≥0t\ge0t≥0, and define

U(t)=1{N(t)∈B},V(t)=t−1∫0tU(s) ds,Y(t)=∫0tU(s) dA(s),Z(t)=Y(t)A(t).U(t)=\mathbf 1\{N(t)\in B\},\qquad V(t)=t^{-1}\int_0^tU(s)\,ds,\qquad Y(t)=\int_0^tU(s)\,dA(s),\qquad Z(t)=\frac{Y(t)}{A(t)}.U(t)=1{N(t)∈B},V(t)=t−1∫0t​U(s)ds,Y(t)=∫0t​U(s)dA(s),Z(t)=A(t)Y(t)​.

V(t)V(t)V(t) is the fraction of time in [0,t][0,t][0,t] that NNN is in BBB. Y(t)Y(t)Y(t) is the number of arrivals up to ttt who find NNN in BBB, and Z(t)Z(t)Z(t) is the fraction of arrivals who do.

The paths of UUU are assumed left continuous with right-hand limits w.p. 1, so that an arrival is not counted as already present at its own arrival epoch. UUU is assumed jointly measurable in (ω,t)∈Ω×[0,∞)(\omega,t)\in\Omega\times[0,\infty)(ω,t)∈Ω×[0,∞). The single structural assumption is the Lack of Anticipation Assumption (LAA):

for each t≥0t\ge0t≥0, {A(t+u)−A(t),u≥0}\{A(t+u)-A(t),u\ge0\}{A(t+u)−A(t),u≥0} and {U(s),0≤s≤t}\{U(s),0\le s\le t\}{U(s),0≤s≤t} are independent.

The paper's proof of (6) uses this independence for every event of Ft\mathcal F_tFt​, the σ-field generated by {A(s),U(s);0≤s≤t}\{A(s),U(s);0\le s\le t\}{A(s),U(s);0≤s≤t}. The mission therefore states Theorems 1–2, (6), Lemma 1, (10) and Lemma 2 under lack of anticipation with respect to Ft\mathcal F_tFt​: for each t≥0t\ge0t≥0, {A(t+u)−A(t),u≥0}\{A(t+u)-A(t),u\ge0\}{A(t+u)−A(t),u≥0} is independent of Ft\mathcal F_tFt​. This implies the printed LAA. The printed LAA together with independent increments does not give (6) or Lemma 1, because pairwise independence of the future from the past of AAA and from the past of UUU is not independence from their joint past.

Formalization targets

Goal: Theorem 1 (p. 225)

Under lack of anticipation (with respect to Ft\mathcal F_tFt​, see above), for every random variable V(∞)V(\infty)V(∞),

V(t)→V(∞) w.p. 1⟺Z(t)→V(∞) w.p. 1,t→∞.V(t)\to V(\infty)\ \text{w.p. 1}\quad\Longleftrightarrow\quad Z(t)\to V(\infty)\ \text{w.p. 1},\qquad t\to\infty.V(t)→V(∞) w.p. 1⟺Z(t)→V(∞) w.p. 1,t→∞.

The limit may be random, and the theorem asserts nothing about whether either average converges. It asserts only that the two converge together, to the same limit.

Milestones

The proof in §2 passes through the following statements, which form the milestone list:

  1. (2), (3): E{Y(t)}=λtE{V(t)}=λE{∫0tU(s) ds}E\{Y(t)\}=\lambda tE\{V(t)\}=\lambda E\{\int_0^tU(s)\,ds\}E{Y(t)}=λtE{V(t)}=λE{∫0t​U(s)ds}.
  2. (6): E{Y(t+h)−Y(t)∣Ft}=λE{∫tt+hU(s) ds∣Ft}E\{Y(t+h)-Y(t)\mid\mathcal F_t\}=\lambda E\{\int_t^{t+h}U(s)\,ds\mid\mathcal F_t\}E{Y(t+h)−Y(t)∣Ft​}=λE{∫tt+h​U(s)ds∣Ft​}.
  3. Lemma 1: R(t)=Y(t)−λtV(t)R(t)=Y(t)-\lambda tV(t)R(t)=Y(t)−λtV(t) is a martingale.
  4. (7): the second-moment bound E{R2(t)}≤λt+2λ2t2E\{R^2(t)\}\le\lambda t+2\lambda^2t^2E{R2(t)}≤λt+2λ2t2.
  5. (10): the grid strong law R(nh)/n→0R(nh)/n\to0R(nh)/n→0 w.p. 1.
  6. (11): the pathwise interpolation bound between grid points.
  7. Lemma 2: R(t)/t→0R(t)/t\to0R(t)/t→0 w.p. 1.
  8. The strong law A(t)/t→λA(t)/t\to\lambdaA(t)/t→λ for the Poisson process.

Companion: Theorem 2 (p. 228)

For a Poisson process with bounded, integrable rate λ(t)\lambda(t)λ(t) and Λ(t)/t→λˉ∈(0,∞)\Lambda(t)/t\to\bar\lambda\in(0,\infty)Λ(t)/t→λˉ∈(0,∞), where Λ(t)=∫0tλ(s) ds\Lambda(t)=\int_0^t\lambda(s)\,dsΛ(t)=∫0t​λ(s)ds, the same equivalence holds with V(t)V(t)V(t) replaced by the rate-weighted average Vˉ(t)=Λ(t)−1∫0tU(s)λ(s) ds\bar V(t)=\Lambda(t)^{-1}\int_0^tU(s)\lambda(s)\,dsVˉ(t)=Λ(t)−1∫0t​U(s)λ(s)ds. Display (12), E{Y(t)}=∫0tE{U(s)}λ(s) dsE\{Y(t)\}=\int_0^tE\{U(s)\}\lambda(s)\,dsE{Y(t)}=∫0t​E{U(s)}λ(s)ds, is its analogue of (3).

Significance

Theorem 1 justifies replacing customer averages by time averages, and conversely, in any model where arrivals are Poisson and the system does not anticipate them. Examples are queue-length distributions seen by arrivals in M/G/c systems, blocking probabilities in Erlang loss models, and state probabilities at arrival epochs in networks with Poisson external input. It needs no ergodic theory of the observed process: convergence of one average has to be established separately, by whatever means suit the model, and the theorem transfers it to the other. Lemma 2 also implies versions of PASTA under weaker modes of convergence (Remark 6).

The result has been proved for four decades and is textbook material. What this mission adds is a machine-checked proof. No formalization of Theorem 1 in a proof assistant is known. A complete development would also contain machine-checked versions of several standard facts not yet available in Mathlib:

  • the strong law for the Poisson process;
  • a strong law for square-integrable martingale differences;
  • Stieltjes integration against a counting path.

Difficulty

The naive argument conditions on the arrival epochs and claims that each arrival "samples" the state at a uniformly random time. This fails because arrivals influence the state: after an arrival, a queue-length process is no longer independent of the arrival stream. LAA only says that the future increments of AAA are independent of the past of UUU. The difficulty is to turn this one-sided independence into an almost-sure statement about long-run averages, along every path and at all times rather than only at fixed ones.

On the technical side, the expected-value identity (3) needs a limit of grid sums. That limit relies on left continuity: without it, U(t)=1{A jumps at t}U(t)=\mathbf 1\{A \text{ jumps at } t\}U(t)=1{A jumps at t} satisfies LAA with V≡0V\equiv0V≡0 but Z≡1Z\equiv1Z≡1. The passage from expectations to a strong law needs a martingale structure and a second-moment bound, and the interpolation between grid times needs a pathwise argument.

Formalization scope

  • Time and paths. Time is R\mathbb RR, and every hypothesis concerns t≥0t\ge0t≥0 only. Processes are maps R→Ω→(⋅)\mathbb R\to\Omega\to(\cdot)R→Ω→(⋅). A Poisson process with intensity function λ(⋅)\lambda(\cdot)λ(⋅) is a counting process A:R→Ω→NA:\mathbb R\to\Omega\to\mathbb NA:R→Ω→N with A(0)=0A(0)=0A(0)=0, every path non-decreasing and right-continuous, Poisson-distributed increments with mean ∫stλ\int_s^t\lambda∫st​λ, and independent increments over any finite increasing sequence of times. The constant-rate case is Theorem 1's setting.
  • The averages. Y(t)Y(t)Y(t) is encoded as ∑k=1A(t)U(Tk)\sum_{k=1}^{A(t)}U(T_k)∑k=1A(t)​U(Tk​) over the arrival epochs Tk=inf⁡{s≥0:A(s)≥k}T_k=\inf\{s\ge0:A(s)\ge k\}Tk​=inf{s≥0:A(s)≥k}, which is the Lebesgue–Stieltjes integral ∫(0,t]U dA\int_{(0,t]}U\,dA∫(0,t]​UdA with multiplicities. Z(t)=0Z(t)=0Z(t)=0 when A(t)=0A(t)=0A(t)=0, and V(0)=0V(0)=0V(0)=0; limits do not see these values.
  • The standing hypotheses. These are carried as binders of the goal: measurability of {N(t)∈B}\{N(t)\in B\}{N(t)∈B} for t≥0t\ge0t≥0, path regularity w.p. 1 (left continuity at t>0t>0t>0, right limits at t≥0t\ge0t≥0), joint measurability on Ω×[0,∞)\Omega\times[0,\infty)Ω×[0,∞), and lack of anticipation as independence of the σ-field of future increments of AAA from Ft\mathcal F_tFt​. The milestones (2), (3), (7) and (11) need less: (2) and (3) are stated under the printed LAA, and (7) and (11) under no independence assumption at all.
  • The limit and the expectations. V(∞)V(\infty)V(∞) is an arbitrary function Ω→R\Omega\to\mathbb RΩ→R, shared by both sides of the equivalence. Expectations in the milestones come with integrability conclusions, or are lower integrals in [0,∞][0,\infty][0,∞], so that no identity holds through Lean's junk value 000 for non-integrable functions.
  • Ruled out. A formalization in which V(∞)V(\infty)V(∞) is quantified separately on each side, which loses "to the same limit". A goal that assumes Lemma 2, (3) or the strong law A(t)/t→λA(t)/t\to\lambdaA(t)/t→λ as a hypothesis. A definition of YYY that counts distinct jump times and not arrivals.

Welcome contributions:

  • a reusable Poisson-process library: the strong law, square moments, independence of increments from a past σ-field;
  • a martingale strong law of Feller's type;
  • Stieltjes sums against counting paths.

All of these are useful well beyond this mission.

Selected references

  • R. W. Wolff, Poisson Arrivals See Time Averages, Operations Research 30(2):223–231, 1982. https://doi.org/10.1287/opre.30.2.223
  • S. Watanabe, On discontinuous additive functionals and Lévy measures of a Markov process, Japanese Journal of Mathematics 34:53–70, 1964. https://doi.org/10.4099/jjm1924.34.0_53
  • B. Melamed and W. Whitt, On arrivals that see time averages, Operations Research 38(1):156–172, 1990. https://doi.org/10.1287/opre.38.1.156
  • P. Brémaud and J. Jacod, Processus ponctuels et martingales: résultats récents sur la modélisation et le filtrage, Advances in Applied Probability 9(2):362–416, 1977. https://doi.org/10.2307/1426091
  • S. Stidham, Regenerative processes in the theory of queues, with applications to the alternating-priority queue, Advances in Applied Probability 4(3):542–577, 1972.
  • W. Feller, An Introduction to Probability Theory and Its Applications, Vol. II, 2nd ed., Wiley, 1971.
11 thms1 active userReviewed
Operations ResearchProbabilityReinforcement Learning·Captain: mikedeng1

Asynchronous Stochastic Approximation and Q-Learning 2: Asynchronous Stochastic Approximation with Outdated Information Converges with Probability 1 Under a Weighted Maximum Norm ContractionResearch Paper

Motivation

Many iterative algorithms update only part of a vector at a time. In a parallel implementation, one processor may read a value written several rounds earlier by another processor. Random observations also perturb each update. John N. Tsitsiklis's 1994 paper gives conditions under which such an asynchronous stochastic iteration still converges. The paper develops the result to analyze Q-learning, where state-action values are revised from sampled costs and successor states. Its general theorem also applies to iterative fixed-point calculations beyond that application.

The central issue is that a processor can choose which component to update after seeing the past, and its input can be stale. A convergence theorem that presumes a fixed update schedule or current data would miss both features. The paper's Assumptions 1–3 describe when delays, sampling noise, and random step sizes remain compatible with almost-sure convergence. Assumption 5 gives a weighted maximum norm contraction for the iteration map. Theorem 3 combines these conditions into the target of this mission.

Setting

Fix a positive integer nnn and write x(t)∈Rnx(t)\in\mathbb R^nx(t)∈Rn for the vector after round t≥0t\ge0t≥0. Let F:Rn→RnF:\mathbb R^n\to\mathbb R^nF:Rn→Rn be the map whose fixed point the iteration seeks. For component iii, the step size αi(t)\alpha_i(t)αi​(t) lies in [0,1][0,1][0,1], the noise is wi(t)w_i(t)wi​(t), and τji(t)≤t\tau^i_j(t)\le tτji​(t)≤t is the time from which component jjj was read. Thus xi(t)x^i(t)xi(t) has coordinates xj(τji(t))x_j(\tau^i_j(t))xj​(τji​(t)). With αi(t)=0\alpha_i(t)=0αi​(t)=0 when component iii is idle, all rounds obey the single update equation

xi(t+1)=xi(t)+αi(t)(Fi(xi(t))−xi(t)+wi(t)).x_i(t+1)=x_i(t)+\alpha_i(t)\bigl(F_i(x^i(t))-x_i(t)+w_i(t)\bigr).xi​(t+1)=xi​(t)+αi​(t)(Fi​(xi(t))−xi​(t)+wi​(t)).

All quantities live on a probability space with law P\mathsf PP. The increasing filtration F(t)\mathcal F(t)F(t) represents information available when the step sizes and delays are selected, before the round's noise is observed. Assumption 1 says every timestamp τji(t)\tau^i_j(t)τji​(t) tends to infinity almost surely: no fixed old value remains in use forever. Assumption 2 makes the initial state, chosen step sizes, delays, and noise measurable at the specified times; the noise has conditional mean zero, and its conditional second moment is bounded by a deterministic affine function of the largest squared iterate seen so far. Assumption 3 requires, for each component, divergent total step size and a square-summable step-size sequence, with a deterministic bound on all squared partial sums.

For a vector vvv with strictly positive coordinates, the weighted maximum norm is ∥z∥v=max⁡i∣zi∣/vi\|z\|_v=\max_i |z_i|/v_i∥z∥v​=maxi​∣zi​∣/vi​. Assumption 5 provides x∗∈Rnx^*\in\mathbb R^nx∗∈Rn and β∈[0,1)\beta\in[0,1)β∈[0,1) such that ∥F(x)−x∗∥v≤β∥x−x∗∥v\|F(x)-x^*\|_v\le\beta\|x-x^*\|_v∥F(x)−x∗∥v​≤β∥x−x∗∥v​ for every xxx. Assumption 6, used in the boundedness milestone, requires the related growth bound ∥F(x)∥v≤β∥x∥v+D\|F(x)\|_v\le\beta\|x\|_v+D∥F(x)∥v​≤β∥x∥v​+D for some real DDD. The weighted norm permits different component scales.

Formalization targets

Boundedness under a weighted growth bound

Theorem 1 is the main intermediate target. Under Assumptions 1, 2, 3, and 6, it asserts

P ⁣(∃M∈R  ∀t,i, ∣xi(t)∣≤M)=1.\mathsf P\!\left(\exists M\in\mathbb R\;\forall t,i,\ |x_i(t)|\le M\right)=1.P(∃M∈R∀t,i, ∣xi​(t)∣≤M)=1.

The bound MMM may depend on the sample path. Lemmas 1–3 of the paper are milestones in its analysis: a scalar noisy recursion converges, its tails become uniformly small, and the pathwise bounds in the contradiction step hold.

Almost-sure convergence under a weighted contraction

The goal is Theorem 3, under Assumptions 1, 2, 3, and 5:

P ⁣(lim⁡t→∞x(t)=x∗)=1.\mathsf P\!\left(\lim_{t\to\infty}x(t)=x^*\right)=1.P(t→∞lim​x(t)=x∗)=1.

This theorem does not assume bounded iterates or Assumption 6 separately. Its proof uses Theorem 1 after deriving the needed growth bound from the contraction condition. Lemma 8 is the remaining milestone, comparing the coordinate iterates to an auxiliary deterministic recursion and a noise tail.

Significance

The result gives a fixed-point convergence guarantee when coordinates update at different times, delays can vary, and update choices can depend on past observations. In the paper's Q-learning application, these features describe exploratory sampling and possible parallel computation with old state-action values. For discounted problems, the associated Q-learning map contracts in the maximum norm, so Theorem 3 supplies the convergence step once the stochastic assumptions are checked (Tsitsiklis 1994, §7).

The mathematical results were proved in 1994; this mission asks for machine-checked proofs of their formal statements. Its reusable output would include a model of asynchronous noisy iteration, a scalar martingale-noise convergence lemma with random conditional variance bounds, and a precise interface between weighted contractions and pathwise convergence. The goal and milestone theorem files are currently statements with proof holes, while the definition file compiles without one.

Difficulty

A coordinate's next value depends on a vector assembled from observations at several earlier times. A direct estimate against the current error therefore does not close: the stale coordinates can reflect larger past errors. The noise condition is also tied to the largest iterate seen so far, so a deterministic global variance bound is unavailable before boundedness has been established. These two dependencies make the ordinary synchronous contraction argument insufficient. The scalar noise result and the pathwise comparison lemmas isolate the conditions needed for the boundedness and convergence statements.

Formalization scope

Vectors are functions Fin n → ℝ, with n>0n>0n>0; the source labels coordinates 1,…,n1,\ldots,n1,…,n, while Fin n starts at zero. Function order is componentwise. The model sets αi(t)=0\alpha_i(t)=0αi​(t)=0 on idle rounds and uses the paper's unified update equation. It does not store the sets of update times separately. The delay values on idle rounds are left arbitrary because they do not affect the update; the source chooses the current time there. All step sizes lie in [0,1][0,1][0,1], and all delays are at most the current time, on every sample path.

The probability law is a probability measure. The filtration consists of increasing sub-σ-algebras. The iterate sequence is explicitly assumed adapted in the main theorems, matching the paper's use of x(t)x(t)x(t) and its running maximum as F(t)\mathcal F(t)F(t)-measurable random variables. Conditional moment assumptions use integral inequalities over measurable sets, allowing generalized conditional expectations when the noise need not have a finite unconditional second moment. The conditional upper bound is required nonnegative almost surely, as the original inequality entails. Divergence and square summability use partial sums, so a non-summable series cannot receive a default value.

The maximum norm is the finite supremum of coordinate absolute values, and the weighted norm divides by the strictly positive coordinates of vvv. Almost-sure boundedness means a path-dependent finite bound on every coordinate and time. Pathwise Lemmas 3 and 8 are stated on a retained sample path, with the auxiliary quantities and hypotheses established at their locations in the paper; Lemma 8 uses the proof's translated and rescaled coordinates. These conventions rule out an empty coordinate type, junk integrals, and a vacuous boundedness claim. Contributions to the stated lemmas, their probabilistic infrastructure, and the final convergence proof are within scope.

Selected references

  • John N. Tsitsiklis, Asynchronous Stochastic Approximation and Q-Learning, Machine Learning 16 (1994), 185–202. DOI: 10.1023/A:1022689125041.
7 thms1 active userReviewed
Operations ResearchProbabilityReinforcement Learning·Captain: mikedeng1

Asynchronous Stochastic Approximation and Q-Learning 1: Bounded Asynchronous Stochastic Approximation Iterates Converge with Probability 1 to the Unique Fixed Point of a Monotone Continuous MapResearch Paper

Motivation

Q-learning (Watkins, 1989) learns the optimal action values of a Markov decision problem from sampled transitions, without a model of the transition probabilities. At each step only one state–action pair is updated, with a noisy estimate of the Bellman operator evaluated at possibly outdated values of the other pairs. Watkins and Dayan (1992) gave a first convergence proof for discounted problems. Tsitsiklis (1994) and, independently, Jaakkola, Jordan and Singh (1994) placed Q-learning inside the theory of stochastic approximation: the Robbins–Monro scheme of iterating x←x+α (F(x)−x+w)x \leftarrow x + \alpha\,(F(x) - x + w)x←x+α(F(x)−x+w) with decreasing stepsizes and zero-mean noise, here in an asynchronous form where different components are updated at different times using delayed information, as in the distributed iterations of Bertsekas and Tsitsiklis (1989).

Tsitsiklis's paper proves convergence with probability 1 under two structural hypotheses on the iteration mapping FFF: a weighted maximum-norm contraction (Theorem 3), which covers discounted Q-learning, and monotonicity (Theorem 2), which covers undiscounted (stochastic shortest path) problems, whose Bellman operator is monotone but in general not a contraction. This mission formalizes the monotone case.

Setting

A mapping F:Rn→RnF:\mathbb R^n\to\mathbb R^nF:Rn→Rn with components F1,…,FnF_1,\dots,F_nF1​,…,Fn​ is given, and the goal is to solve F(x)=xF(x)=xF(x)=x. Time is discrete, t=0,1,2,…t=0,1,2,\dotst=0,1,2,…. The iterate x(t)∈Rnx(t)\in\mathbb R^nx(t)∈Rn evolves by

xi(t+1)=xi(t)+αi(t)(Fi(xi(t))−xi(t)+wi(t)),xi(t)=(x1(τ1i(t)),…,xn(τni(t))),x_i(t+1)=x_i(t)+\alpha_i(t)\bigl(F_i(x^i(t))-x_i(t)+w_i(t)\bigr),\qquad x^i(t)=\bigl(x_1(\tau^i_1(t)),\dots,x_n(\tau^i_n(t))\bigr),xi​(t+1)=xi​(t)+αi​(t)(Fi​(xi(t))−xi​(t)+wi​(t)),xi(t)=(x1​(τ1i​(t)),…,xn​(τni​(t))),

where αi(t)∈[0,1]\alpha_i(t)\in[0,1]αi​(t)∈[0,1] is a stepsize (αi(t)=0\alpha_i(t)=0αi​(t)=0 when component iii is not updated), wi(t)w_i(t)wi​(t) is noise, and 0≤τji(t)≤t0\le\tau^i_j(t)\le t0≤τji​(t)≤t are delays: the update of component iii may read component jjj as it was at an earlier time. All quantities are random variables on a probability space (Ω,F,P)(\Omega,\mathcal F,P)(Ω,F,P) with an increasing sequence of σ-fields {F(t)}\{\mathcal F(t)\}{F(t)}, the history up to the choice of the stepsizes at time ttt.

Vector inequalities are componentwise and eee is the vector of ones. The paper's assumptions are:

  • Assumption 1: every delay index τji(t)\tau^i_j(t)τji​(t) tends to infinity, with probability 1.
  • Assumption 2: x(0)x(0)x(0), αi(t)\alpha_i(t)αi​(t), τji(t)\tau^i_j(t)τji​(t) are F(t)\mathcal F(t)F(t)-measurable and wi(t)w_i(t)wi​(t) is F(t+1)\mathcal F(t+1)F(t+1)-measurable; E[wi(t)∣F(t)]=0E[w_i(t)\mid\mathcal F(t)]=0E[wi​(t)∣F(t)]=0; and E[wi2(t)∣F(t)]≤A+Bmax⁡jmax⁡τ≤t∣xj(τ)∣2E[w_i^2(t)\mid\mathcal F(t)]\le A+B\max_j\max_{\tau\le t}|x_j(\tau)|^2E[wi2​(t)∣F(t)]≤A+Bmaxj​maxτ≤t​∣xj​(τ)∣2 for deterministic constants A,BA,BA,B.
  • Assumption 3: ∑tαi(t)=∞\sum_t\alpha_i(t)=\infty∑t​αi​(t)=∞ and ∑tαi2(t)≤C\sum_t\alpha_i^2(t)\le C∑t​αi2​(t)≤C with probability 1, for a deterministic CCC.
  • Assumption 4: FFF is monotone (x≤y⇒F(x)≤F(y)x\le y\Rightarrow F(x)\le F(y)x≤y⇒F(x)≤F(y)), continuous, has a unique fixed point x∗x^*x∗, and F(x)−re≤F(x−re)≤F(x+re)≤F(x)+reF(x)-re\le F(x-re)\le F(x+re)\le F(x)+reF(x)−re≤F(x−re)≤F(x+re)≤F(x)+re for all xxx and all r>0r>0r>0.

In Lean the algorithm is the structure AsyncSA.Monotone.Algorithm with fields F, x, α, w, τ, and the assumptions are Assumption1–Assumption4.

Formalization targets

Goal: Theorem 2 (p. 189)

Under Assumptions 1–4, if x(t)x(t)x(t) is bounded with probability 1, then

lim⁡t→∞x(t)=x∗with probability 1.\lim_{t\to\infty}x(t)=x^*\qquad\text{with probability 1.}t→∞lim​x(t)=x∗with probability 1.

Boundedness is a hypothesis, not a conclusion: for monotone FFF it must be established separately (the paper does so for Q-learning in §7). The bound may differ between sample paths.

Milestones

  1. Lemma 1 (p. 190): for a scalar recursion W(t+1)=(1−α(t))W(t)+α(t)w(t)W(t+1)=(1-\alpha(t))W(t)+\alpha(t)w(t)W(t+1)=(1−α(t))W(t)+α(t)w(t) with martingale-difference noise whose conditional variance is bounded by an a.s. bounded B(t)B(t)B(t), and stepsizes with ∑α=∞\sum\alpha=\infty∑α=∞, ∑α2≤C\sum\alpha^2\le C∑α2≤C, W(t)→0W(t)\to0W(t)→0 with probability 1.
  2. Lemma 4 (p. 193): the sequences Uk+1=(Uk+F(Uk))/2U^{k+1}=(U^k+F(U^k))/2Uk+1=(Uk+F(Uk))/2, U0=x∗+reU^0=x^*+reU0=x∗+re, and Lk+1=(Lk+F(Lk))/2L^{k+1}=(L^k+F(L^k))/2Lk+1=(Lk+F(Lk))/2, L0=x∗−reL^0=x^*-reL0=x∗−re, satisfy F(Uk)≤Uk+1≤UkF(U^k)\le U^{k+1}\le U^kF(Uk)≤Uk+1≤Uk and F(Lk)≥Lk+1≥LkF(L^k)\ge L^{k+1}\ge L^kF(Lk)≥Lk+1≥Lk.
  3. Lemma 5 (p. 193): Uk→x∗U^k\to x^*Uk→x∗ and Lk→x∗L^k\to x^*Lk→x∗.
  4. Lemma 6 (p. 194): on a sample path where Lk≤x(t)≤UkL^k\le x(t)\le U^kLk≤x(t)≤Uk from time tkt_ktk​ on and all delays exceed tkt_ktk​ from time tk′t'_ktk′​ on, xi(t)≤Xi(t)+Wi(t;tk′)x_i(t)\le X_i(t)+W_i(t;t'_k)xi​(t)≤Xi​(t)+Wi​(t;tk′​), where XiX_iXi​ relaxes from UikU^k_iUik​ towards Fi(Uk)F_i(U^k)Fi​(Uk) and Wi(t;tk′)W_i(t;t'_k)Wi​(t;tk′​) accumulates the noise from tk′t'_ktk′​.
  5. Lemma 7 (p. 195): under the choices of δk\delta_kδk​ and tk′′t''_ktk′′​ made on pp. 194–195, xi(t)≤Uik+1x_i(t)\le U^{k+1}_ixi​(t)≤Uik+1​ for all t≥tk′′t\ge t''_kt≥tk′′​.

Significance

Theorem 2 is the convergence result for asynchronous stochastic approximation driven by a monotone mapping whose fixed point is unique. Its main application is Q-learning for stochastic shortest path problems with improper policies excluded, and more generally any learning scheme whose expected update is a monotone, sup-norm nonexpansive operator in the sense of (7) (dynamic programming operators are the standard examples). The same pattern, an a.s. bounded iterate plus a monotone mean map, recurs in later analyses of asynchronous and distributed learning algorithms.

The result has a published proof but, as far as the platform's catalog shows, no machine-checked one: there is no formalized asynchronous stochastic approximation theorem, and no formal Lemma 1 for random stepsizes and random conditional-variance bounds. A complete development provides the scalar almost-sure convergence lemma, the deterministic envelope argument for monotone maps, and the pathwise comparison steps, each of which is reusable.

Difficulty

The noise has a conditional variance that grows with the iterate, so it is neither bounded nor integrable a priori, and the stepsizes are random and chosen adaptively. The classical deterministic-bound argument for Lemma 1 does not apply directly. The iteration is not a contraction in any norm, so there is no Lyapunov function giving a geometric decrease, and the delays mean that the mapping is evaluated at a vector no single time index describes. Convergence has to be propagated from the deterministic envelopes Uk,LkU^k,L^kUk,Lk to the random iterate through a sequence of random times, one envelope at a time, and each step requires the noise accumulated after a random time to be small uniformly in the remaining horizon.

Formalization scope

  • Components are Fin n (0-based); vectors are Fin n → ℝ with the componentwise order, so Monotone F is Assumption 4(a) exactly. rerere is r • 1.
  • The update is stated in the paper's unified form for every ttt, with αi(t)=0\alpha_i(t)=0αi​(t)=0 off the update times; the update sets TiT^iTi are not represented. The paper sets τji(t)=t\tau^i_j(t)=tτji​(t)=t off TiT^iTi; the formalization leaves τji(t)\tau^i_j(t)τji​(t) free there, which is more general. αi(t)∈[0,1]\alpha_i(t)\in[0,1]αi​(t)∈[0,1] and τji(t)≤t\tau^i_j(t)\le tτji​(t)≤t hold on every sample path.
  • Conditional expectations are generalized, written with set integrals (CondMeanZero, CondSqLe): ∫Sw dP=0\int_S w\,dP=0∫S​wdP=0 for every F(t)\mathcal F(t)F(t)-set SSS on which www is integrable, and ∫Sw2 dP≤∫Sg+ dP\int_S w^2\,dP\le\int_S g^+\,dP∫S​w2dP≤∫S​g+dP in [0,∞][0,\infty][0,∞]. Mathlib's condExp is not used: it is 000 for non-integrable functions and would make the noise assumptions vacuous.
  • Series conditions use partial sums (divergence to +∞+\infty+∞; every partial sum at most CCC), never tsum, which is 000 for non-summable sequences. The constants A,B,CA,B,CA,B,C are chosen before the almost-sure quantifier; the bound on x(t)x(t)x(t) is chosen after it.
  • The paper treats x(t)x(t)x(t) as determined by F(t)\mathcal F(t)F(t) and uses this implicitly; Theorem 2 assumes it explicitly (Adapted).
  • Lemma 1 leaves W(0)W(0)W(0) unconstrained, as on the page. Lemmas 4 and 5 hold for every r>0r>0r>0. Lemmas 6 and 7 are pathwise: they fix one sample path and take the induction's objects (kkk, tkt_ktk​, tk′t'_ktk′​, tk′′t''_ktk′′​, XXX, δk\delta_kδk​) as given with exactly the properties the paper has established for them; they are not existential statements about these times.
  • A trivializing formalization (junk conditional expectations, tsum for the series, a deterministic bound on x(t)x(t)x(t), or a second unrelated x∗x^*x∗) is ruled out by the choices above.

Contributions welcome: a general almost-sure convergence theorem for Robbins–Monro recursions with generalized conditional moments (Lemma 1 and its tail version W(t;t0)W(t;t_0)W(t;t0​)), and lemmas on monotone maps satisfying (7).

Selected references

  • J. N. Tsitsiklis, Asynchronous Stochastic Approximation and Q-Learning, Machine Learning 16 (1994) 185–202. https://doi.org/10.1023/A:1022689125041
  • C. J. C. H. Watkins and P. Dayan, Q-learning, Machine Learning 8 (1992) 279–292. https://doi.org/10.1007/BF00992698
  • T. Jaakkola, M. I. Jordan and S. P. Singh, On the Convergence of Stochastic Iterative Dynamic Programming Algorithms, Neural Computation 6 (1994) 1185–1201. https://doi.org/10.1162/neco.1994.6.6.1185
  • D. P. Bertsekas and J. N. Tsitsiklis, Parallel and Distributed Computation: Numerical Methods, Prentice Hall, 1989. https://hdl.handle.net/1721.1/3719
  • B. T. Poljak and Ya. Z. Tsypkin, Pseudogradient adaptation and training algorithms, Automation and Remote Control 34 (1973) 377–397.
  • H. Robbins and S. Monro, A Stochastic Approximation Method, Annals of Mathematical Statistics 22 (1951) 400–407. https://doi.org/10.1214/aoms/1177729586
7 thms1 active userReviewed
Operations ResearchProbability·Captain: mikedeng1

METRIC: A Multi-Echelon Technique for Recoverable Item Control 2: Under Poisson Demand Expected Backorders Are Strictly Convex in the Mean, So a Point Estimate Understates ThemResearch Paper

Motivation

Spare-parts provisioning for repairable ("recoverable") items is a classical inventory problem: aircraft components fail, are sent to repair, and a stock of spares covers the units in the repair pipeline. Sherbrooke's METRIC model (Sherbrooke 1968), developed at RAND for the U.S. Air Force, measures the performance of a stock level by the expected number of backorders, the average number of unfilled demands outstanding at a random time. Every allocation computed by METRIC is driven by this quantity, and in particular by how it depends on the mean demand of each item.

For a new item that mean is not known. Air Force practice at the time produced a single engineering estimate of mean demand and computed backorders from it as if it were exact. In the section Demand Prediction (pp. 138–139) Sherbrooke argues that this practice is biased in one direction: under Poisson demand and any positive spare stock, the point estimate always understates expected backorders whenever the true mean is genuinely uncertain. This is his reason why a Bayesian treatment of demand is "of fundamental importance for all items, not merely low-demand items". The mission formalizes that claim and the computation behind it.

Setting

Fix one item. Its spare stock s∈{0,1,2,… }s \in \{0, 1, 2, \dots\}s∈{0,1,2,…} is stock on hand plus on order plus in repair, minus backorders; under one-for-one replenishment it is constant. Let the number of units in resupply at a random time be Poisson distributed with mean λ>0\lambda > 0λ>0:

p(x∣λ)=e−λλxx!,x=0,1,2,…p(x \mid \lambda) = e^{-\lambda}\frac{\lambda^x}{x!}, \qquad x = 0, 1, 2, \dotsp(x∣λ)=e−λx!λx​,x=0,1,2,…

The expected backorders at spare stock sss are, by the paper's eq. (2),

B(s∣λ)=∑x=s+1∞(x−s) p(x∣λ).B(s \mid \lambda) = \sum_{x=s+1}^{\infty} (x - s)\, p(x \mid \lambda).B(s∣λ)=x=s+1∑∞​(x−s)p(x∣λ).

In eq. (2) the mean is λT\lambda TλT (customer rate times mean resupply time); on p. 138 it is the mean demand over a unit time interval. Only the mean enters, so it is written as one parameter λ\lambdaλ. In Lean this is SherbrookeMetric.PointEstimate.backorders s lam, built on the published Poisson probabilities ServiceParts.StockLevels.poissonPmf.

Uncertain mean demand. The true mean takes the values λk>0\lambda_k > 0λk​>0, k∈Kk \in Kk∈K (KKK finite), with probabilities wk≥0w_k \ge 0wk​≥0, ∑kwk=1\sum_k w_k = 1∑k​wk​=1. The point estimate is the mean of this distribution, λˉ=∑kwkλk\bar\lambda = \sum_k w_k \lambda_kλˉ=∑k​wk​λk​, and the expected backorders accounting for the uncertainty are ∑kwkB(s∣λk)\sum_k w_k B(s \mid \lambda_k)∑k​wk​B(s∣λk​). The paper's example (p. 138) takes λ∈{0.5,1.5}\lambda \in \{0.5, 1.5\}λ∈{0.5,1.5} with probability 0.50.50.5 each, so λˉ=1\bar\lambda = 1λˉ=1; its procedure (p. 139) discretizes a gamma prior to five to ten values.

Formalization targets

Goal: the point estimate understates backorders (pp. 138–139)

If two distinct values λk≠λk′\lambda_k \ne \lambda_{k'}λk​=λk′​ both carry positive probability, then for every spare stock s≥1s \ge 1s≥1

B(s∣λˉ)<∑kwk B(s∣λk),B(s \mid \bar\lambda) < \sum_k w_k\, B(s \mid \lambda_k),B(s∣λˉ)<k∑​wk​B(s∣λk​),

and for s=0s = 0s=0 the two sides are equal for every prior. The goal fixes no constants and no particular prior.

Milestones

  1. Eq. (10), p. 139: for λ>0\lambda > 0λ>0, B(s∣⋅)B(s \mid \cdot)B(s∣⋅) is twice differentiable at λ\lambdaλ with
∂2B(s∣λ)∂λ2=e−λλs−1(s−1)!>0(s≥1),\frac{\partial^2 B(s \mid \lambda)}{\partial\lambda^2} = \frac{e^{-\lambda}\lambda^{s-1}}{(s-1)!} > 0 \quad (s \ge 1),∂λ2∂2B(s∣λ)​=(s−1)!e−λλs−1​>0(s≥1),

and second derivative 000 for s=0s = 0s=0. 2. Strict convexity, p. 139: for s≥1s \ge 1s≥1, λ↦B(s∣λ)\lambda \mapsto B(s \mid \lambda)λ↦B(s∣λ) is strictly convex on (0,∞)(0, \infty)(0,∞). 3. The worked example, p. 138 (off the goal's path): B(2∣1)=3e−1−1≈0.1036B(2 \mid 1) = 3e^{-1} - 1 \approx 0.1036B(2∣1)=3e−1−1≈0.1036 and 0.5 B(2∣0.5)+0.5 B(2∣1.5)≈0.14860.5\,B(2 \mid 0.5) + 0.5\,B(2 \mid 1.5) \approx 0.14860.5B(2∣0.5)+0.5B(2∣1.5)≈0.1486.

Significance

The result. Expected backorders are the objective METRIC minimizes, item by item, subject to a budget. If the objective is evaluated at a point estimate, every item with uncertain demand looks better stocked than it is, and since the size of the error varies by item, the marginal comparisons that drive the allocation are distorted. The inequality is the quantitative statement behind the paper's recommendation to compute backorders as a posterior mixture over possible mean demands. It also says that an underestimate of demand costs more than an overestimate of the same size when backorders are the objective. For s=0s = 0s=0 the bias vanishes because B(0∣λ)=λB(0 \mid \lambda) = \lambdaB(0∣λ)=λ is linear.

Formalizing it. The paper proves the statement in one line ("it is easy to show") by differentiating twice. No machine-checked version exists. A formal proof needs termwise differentiation of the Poisson backorder series, a closed form for its second derivative, and the passage from a positive second derivative to strict convexity and then to a strict finite Jensen inequality under a nondegenerate prior. The resulting facts about λ↦B(s∣λ)\lambda \mapsto B(s \mid \lambda)λ↦B(s∣λ) are reusable in any Poisson inventory model (base-stock, (s−1,s)(s-1, s)(s−1,s) policies, METRIC and VARI-METRIC). Convexity of BBB in the stock level sss, the paper's eq. (3), is a different statement; it is already posed on the platform as ServiceParts.StockLevels.backorder_differences (compound Poisson demand) and is not repeated here. The definition of the Poisson probabilities is the published ServiceParts.StockLevels.Basic (Muckstadt 2005).

Difficulty

Each step is classical, but none is a one-liner in Lean. The series B(s∣λ)B(s \mid \lambda)B(s∣λ) is an infinite sum whose terms depend on λ\lambdaλ both through e−λe^{-\lambda}e−λ and through λx\lambda^xλx, so differentiating it twice under the summation sign requires a uniform summability bound for the derivative series on a neighbourhood of λ\lambdaλ. The tempting shortcut of reasoning with deriv alone fails: deriv returns 000 at points of non-differentiability, so a formula for deriv (deriv B) says nothing about smoothness, and the milestone is stated with HasDerivAt for this reason. The strict inequality further needs strict convexity, not just convexity, and a hypothesis that the prior is not concentrated on one value: with a one-point prior both sides coincide.

Formalization scope

  • B(s∣λ)B(s \mid \lambda)B(s∣λ) is a real-valued tsum over x∈Nx \in \mathbb Nx∈N of (x−s) p(x∣λ)(x - s)\,p(x \mid \lambda)(x−s)p(x∣λ) for x>sx > sx>s and 000 otherwise. The family is summable for every real λ\lambdaλ; no statement relies on the tsum junk value.
  • Spare stock is a natural number; mean demand is real. Convexity and the second-derivative formula are stated for λ>0\lambda > 0λ>0, the paper's "for any positive λ\lambdaλ".
  • Explicit readings of the paper's phrases: "backorders computed from a point estimate" is B(s∣λˉ)B(s \mid \bar\lambda)B(s∣λˉ) with λˉ\bar\lambdaλˉ the prior mean (the paper assumes "the initial estimate is the mean of the true mean demand distribution"); "the correct value" is the prior expectation ∑kwkB(s∣λk)\sum_k w_k B(s \mid \lambda_k)∑k​wk​B(s∣λk​); "mean demand can assume more than one value" means two distinct values each of positive probability; "positive spare stock" means s≥1s \ge 1s≥1; "understate" is strict.
  • The prior is a finite distribution with positive support points. This covers the paper's two-point example and its five-to-ten-point discretization of a gamma prior; a general prior on (0,∞)(0, \infty)(0,∞) would need integrability hypotheses and is not part of the mission.
  • The printed value B∗(2)=0.1485B^*(2) = 0.1485B∗(2)=0.1485 is a rounding slip; the exact value is 0.14864…0.14864\ldots0.14864…, and the worked example states 0.14860.14860.1486.
  • A formalization that fixes sss, uses ≤\le≤ in place of <<<, drops the nondegeneracy hypothesis (making the strict statement false), or states the second derivative with deriv alone (vacuous at non-differentiable points) does not meet the target.
  • Not formalized: the remark that the understatement "is also true for probability distributions like the negative binomial, though difficult to prove analytically" (unproved on the page), the gamma prior and Bayes updating (a procedure), and the comment that the resulting allocation "will produce inferior results" (not a mathematical statement).
  • Contributions welcome: termwise differentiation lemmas for Poisson-weighted series, the closed form B(s∣λ)=λ−s+∑x<s(s−x)p(x∣λ)B(s \mid \lambda) = \lambda - s + \sum_{x<s}(s - x)p(x \mid \lambda)B(s∣λ)=λ−s+∑x<s​(s−x)p(x∣λ), and a strict finite Jensen inequality in the form used here.

Selected references

  • C. C. Sherbrooke, METRIC: A Multi-Echelon Technique for Recoverable Item Control, Operations Research 16(1) (1968), 122–141. https://doi.org/10.1287/opre.16.1.122
  • G. J. Feeney and C. C. Sherbrooke, The (s−1, s) Inventory Policy under Compound Poisson Demand, Management Science 12(5) (1966), 391–411. https://doi.org/10.1287/mnsc.12.5.391
  • J. A. Muckstadt, Analysis and Algorithms for Service Parts Supply Chains, Springer, 2005. https://doi.org/10.1007/0-387-27288-8
6 thms1 active userReviewed
Operations ResearchProbabilityStatistics·Captain: mikedeng1

Estimating Variance From High, Low and Closing Prices I: S_t(S_t − X_t) + I_t(I_t − X_t) Has Mean σ²t for Brownian Motion With Any DriftResearch Paper

Motivation

The logarithm of a share price is commonly modelled as a Brownian motion with drift, Xt=σBt+ctX_t=\sigma B_t+ctXt​=σBt​+ct. The Black–Scholes option pricing formula needs the volatility σ\sigmaσ but not the drift ccc, so a practitioner must estimate σ2\sigma^2σ2 from data. Observing the whole path would give σ2\sigma^2σ2 exactly through its quadratic variation, but a real observer sees far less. The most readily available daily information is the opening and closing prices together with the day's high and low.

Parkinson (1980) proposed an estimator from the high–low range, and Garman and Klass (1980) found the minimum-variance estimator among a class of quadratic functions of high, low and close. Both were derived assuming zero drift, c=0c=0c=0, and the Garman–Klass estimator is biased when c≠0c\neq0c=0. Rogers and Satchell (Ann. Appl. Probab. 1 (1991) 504–512) proposed the estimator

σ^2≡S1(S1−X1)+I1(I1−X1),\hat\sigma^2\equiv S_1(S_1-X_1)+I_1(I_1-X_1),σ^2≡S1​(S1​−X1​)+I1​(I1​−X1​),

which is unbiased for every drift. Their estimator is now a standard tool in empirical finance for range-based volatility measurement.

Setting

Fix a probability space (Ω,F,P)(\Omega,\mathcal F,P)(Ω,F,P) carrying a standard Brownian motion B=(Bt)t≥0B=(B_t)_{t\ge0}B=(Bt​)t≥0​: B0=0B_0=0B0​=0, its increments over disjoint intervals are independent and Gaussian with variance equal to the length of the interval, and every sample path t↦Bt(ω)t\mapsto B_t(\omega)t↦Bt​(ω) is continuous. Fix a drift c∈Rc\in\mathbb Rc∈R and a volatility σ≥0\sigma\ge0σ≥0. The log-price is

Xt=σBt+ct,t≥0,X_t=\sigma B_t+ct,\qquad t\ge0,Xt​=σBt​+ct,t≥0,

and, for a trading period [0,t][0,t][0,t], the running maximum and running minimum are

St=sup⁡0≤u≤tXu,It=inf⁡0≤u≤tXu.S_t=\sup_{0\le u\le t}X_u,\qquad I_t=\inf_{0\le u\le t}X_u.St​=0≤u≤tsup​Xu​,It​=0≤u≤tinf​Xu​.

Thus StS_tSt​, ItI_tIt​ and XtX_tXt​ are the high, the low and the close of the log-price (with the open normalized to X0=0X_0=0X0​=0). In Lean these are logPrice σ c B t ω, runMax σ c B t ω and runMin σ c B t ω in the namespace RogersSatchell.Unbiased.

The proof in the paper passes through an exponential time: a random variable TTT with P(T>x)=e−λxP(T>x)=e^{-\lambda x}P(T>x)=e−λx (rate λ>0\lambda>0λ>0, mean λ−1\lambda^{-1}λ−1), independent of the whole path BBB. For σ>0\sigma>0σ>0 the rates

α=c2+2λσ2−cσ2,β=c2+2λσ2+cσ2\alpha=\frac{\sqrt{c^2+2\lambda\sigma^2}-c}{\sigma^2},\qquad \beta=\frac{\sqrt{c^2+2\lambda\sigma^2}+c}{\sigma^2}α=σ2c2+2λσ2​−c​,β=σ2c2+2λσ2​+c​

appear, in Lean alpha σ c lam and beta σ c lam.

Formalization targets

Goal: display (3)

For every c∈Rc\in\mathbb Rc∈R, every σ≥0\sigma\ge0σ≥0 and every t≥0t\ge0t≥0, St(St−Xt)+It(It−Xt)S_t(S_t-X_t)+I_t(I_t-X_t)St​(St​−Xt​)+It​(It​−Xt​) is integrable and

E[St(St−Xt)+It(It−Xt)]=σ2t.E\big[S_t(S_t-X_t)+I_t(I_t-X_t)\big]=\sigma^2t.E[St​(St​−Xt​)+It​(It​−Xt​)]=σ2t.

At t=1t=1t=1 this is the unbiasedness of σ^2\hat\sigma^2σ^2 of display (2). The statement quantifies over all drifts; the absence of ccc on the right-hand side is the content.

Milestones (Section 2, pp. 505–506)

  1. At an independent exponential time TTT of rate λ\lambdaλ: ST∼Exp⁡(α)S_T\sim\operatorname{Exp}(\alpha)ST​∼Exp(α) and −IT∼Exp⁡(β)-I_T\sim\operatorname{Exp}(\beta)−IT​∼Exp(β).
  2. The Wiener–Hopf splitting: STS_TST​ and ST−XTS_T-X_TST​−XT​ are independent, and ST−XTS_T-X_TST​−XT​ has the law of −IT-I_T−IT​.
  3. E[ST(ST−XT)]=1/(αβ)=σ2/2λE[S_T(S_T-X_T)]=1/(\alpha\beta)=\sigma^2/2\lambdaE[ST​(ST​−XT​)]=1/(αβ)=σ2/2λ.
  4. E[ST(ST−XT)]=∫0∞λe−λt E[St(St−Xt)] dtE[S_T(S_T-X_T)]=\int_0^\infty\lambda e^{-\lambda t}\,E[S_t(S_t-X_t)]\,dtE[ST​(ST​−XT​)]=∫0∞​λe−λtE[St​(St​−Xt​)]dt.
  5. E[St(St−Xt)]=σ2t/2E[S_t(S_t-X_t)]=\sigma^2t/2E[St​(St​−Xt​)]=σ2t/2 for every t≥0t\ge0t≥0.
  6. E[It(It−Xt)]=σ2t/2E[I_t(I_t-X_t)]=\sigma^2t/2E[It​(It​−Xt​)]=σ2t/2 for every t≥0t\ge0t≥0.
  7. (off the goal's path) With Y1=S1(S1−X1)Y_1=S_1(S_1-X_1)Y1​=S1​(S1​−X1​), Y2=I1(I1−X1)Y_2=I_1(I_1-X_1)Y2​=I1​(I1​−X1​): EY12=EY22=σ4/2E Y_1^2=EY_2^2=\sigma^4/2EY12​=EY22​=σ4/2, E(Y1+Y2)2≤2σ4E(Y_1+Y_2)^2\le2\sigma^4E(Y1​+Y2​)2≤2σ4 and var⁡(σ^2)≤σ4\operatorname{var}(\hat\sigma^2)\le\sigma^4var(σ^2)≤σ4, for every drift ccc.

Significance

The goal certifies a drift-free unbiased volatility estimator built from four numbers per trading day. Because only σ2\sigma^2σ2 enters the Black–Scholes formula, an estimator whose mean does not depend on the nuisance parameter ccc is exactly what is needed. Milestone 7 complements this with a drift-uniform bound on its variance, var⁡(σ^2)≤σ4\operatorname{var}(\hat\sigma^2)\le\sigma^4var(σ^2)≤σ4, while the exact value 0.331σ40.331\sigma^40.331σ4 quoted in the paper is only available at c=0c=0c=0.

On the formalization side, the results are classical and proved; none is machine-checked as far as the platform's catalog shows. A complete development would give the first formal treatment of the joint law of the running maximum of drifted Brownian motion at an exponential time, of the Wiener–Hopf splitting at the maximum, and of a Laplace-inversion argument for a moment function of the time horizon. All three are reusable well beyond volatility estimation: in ruin theory, queueing (reflected Brownian motion), and the pricing of lookback and barrier options.

Difficulty

The obvious approach, computing E[St(St−Xt)]E[S_t(S_t-X_t)]E[St​(St​−Xt​)] directly from the joint density of (St,Xt)(S_t,X_t)(St​,Xt​) for drifted Brownian motion, requires the reflection principle combined with a Girsanov change of measure, followed by a double integral involving Gaussian tails, done separately for each sign of ccc. The cancellation that makes the drift disappear is not visible in that computation, and a statement specialized to c=0c=0c=0 (where the reflection principle alone suffices) does not carry over. Every step of the milestone list rests on path properties of Brownian motion (the strong Markov property, the law of the running maximum, splitting at the maximum) that Mathlib does not yet provide for IsBrownianReal, and the passage from milestone 4 to milestone 5 needs uniqueness of the Laplace transform.

Formalization scope

  • Brownian motion is Mathlib's ProbabilityTheory.IsBrownianReal B P with B : ℝ≥0 → Ω → ℝ, plus the hypothesis that every sample path is continuous (the standard choice of a continuous version). Time is ℝ≥0.
  • StS_tSt​ and ItI_tIt​ are the real sSup/sInf of the path over the interval [0,t][0,t][0,t]; with continuous paths they are attained. The supremum is never taken over all times or in extended reals.
  • "EEE" is the Bochner integral, and every expectation identity also asserts integrability, so no identity can hold through Lean's convention that a non-integrable function integrates to 000.
  • "TTT exponential with mean λ−1\lambda^{-1}λ−1" is HasLaw T (expMeasure λ) P; "parameter α\alphaα" is read as rate α\alphaα. "Independent of BBB" is independence from the path-valued random variable with the product σ-algebra. STS_TST​ is evaluated at TTT truncated to [0,∞)[0,\infty)[0,∞).
  • "Has the same law as" is equality of image measures, together with the almost-everywhere measurability of both maps.
  • "Inversion of the Laplace transform gives" becomes the fixed-time identity for every t≥0t\ge0t≥0 (milestones 5 and 6), separate from the Laplace identity (milestone 4).
  • Milestones 1 and 3 assume σ>0\sigma>0σ>0 because α,β\alpha,\betaα,β divide by σ2\sigma^2σ2; the Wiener–Hopf splitting, the goal, and milestones 4–7 allow σ≥0\sigma\ge0σ≥0.

A formalization that specializes to c=0c=0c=0, takes the supremum over all of [0,∞)[0,\infty)[0,∞), or omits the integrability conjuncts is not the statement of this mission.

Infrastructure that a complete development needs: the reflection principle or the strong Markov property for Brownian motion, the exponential-time law of the running maximum of a Lévy process, and uniqueness of Laplace transforms for continuous functions. All of these are reusable; contributions of any of them are welcome. Related platform items cover other objects and are credited here: running maxima and exit problems for spectrally negative Lévy processes (Avram2004.Exit.reflected), a drifted Brownian motion in characteristic-function form in a queueing-network setting (Reiman84.QueueLength.Paths), and a GI/G/1 Wiener–Hopf transform identity (QueueingFundamentals.GG1.wiener_hopf_transform).

Selected references

  • L. C. G. Rogers and S. E. Satchell, Estimating variance from high, low and closing prices, The Annals of Applied Probability 1(4), 1991, 504–512. https://doi.org/10.1214/aoap/1177005835
  • M. B. Garman and M. J. Klass, On the estimation of security price volatilities from historical data, Journal of Business 53(1), 1980, 67–78. https://doi.org/10.1086/296072
  • M. Parkinson, The extreme value method for estimating the variance of the rate of return, Journal of Business 53(1), 1980, 61–65. https://doi.org/10.1086/296071
  • P. Greenwood and J. Pitman, Fluctuation identities for Lévy processes and splitting at the maximum, Advances in Applied Probability 12(4), 1980, 893–902. https://doi.org/10.2307/1426747
9 thms1 active userReviewed
Probability·Captain: mikedeng1

Weak Limit Theorems for Stochastic Integrals and Stochastic Differential Equations: Under C2.2(i), (Xₙ, Yₙ) ⇒ (X, Y) in the Skorohod Topology Implies (Xₙ, Yₙ, ∫Xₙ dYₙ) ⇒ (X, Y, ∫X dY)Research Paper

Motivation

Many approximation results in probability and operations research take the form of a sequence of discrete or jump-driven systems converging to a diffusion or another limit process. When the approximating systems are written as stochastic integral equations, Xn(t)=Xn(0)+∫0tσ(Xn(s−)) dYn(s)X_n(t) = X_n(0) + \int_0^t \sigma(X_n(s-))\,dY_n(s)Xn​(t)=Xn​(0)+∫0t​σ(Xn​(s−))dYn​(s), the key step is to show that the stochastic integrals converge whenever the integrands and the integrators converge. That this is not automatic was known from the work of Wong and Zakai (1965): smooth approximations of Brownian motion produce a Stratonovich, not an Itô, limit. Kurtz and Protter (1991) give a condition on the integrators under which convergence in distribution of the pair (integrand, integrator) in the Skorohod topology implies convergence in distribution of the triple (integrand, integrator, integral). The result is essentially the theorem of Jakubowski, Mémin and Pagès (1989), with a formulation and proof that avoid the general theory of semimartingale characteristics. It underlies diffusion approximations for queueing and storage networks, approximation schemes for stochastic differential equations, and limit theorems for statistics and filters that are written as stochastic integrals.

Setting

Time is [0,∞)[0,\infty)[0,∞). A path x:[0,∞)→Ex:[0,\infty)\to Ex:[0,∞)→E in a metric space EEE is cadlag if it is right-continuous and has a left limit x(t−)x(t-)x(t−) at every t>0t>0t>0; DE[0,∞)D_E[0,\infty)DE​[0,∞) is the set of cadlag paths, and x(0−)=x(0)x(0-)=x(0)x(0−)=x(0). Let Λ\LambdaΛ be the set of continuous, strictly increasing maps of [0,∞)[0,\infty)[0,∞) onto itself. Cadlag paths xnx_nxn​ converge to xxx in the Skorohod (J1) topology if there are λn∈Λ\lambda_n\in\Lambdaλn​∈Λ with xn∘λn(t)→x(t)x_n\circ\lambda_n(t)\to x(t)xn​∘λn​(t)→x(t) and λn(t)→t\lambda_n(t)\to tλn​(t)→t uniformly on bounded intervals. For a product space E1×E2E_1\times E_2E1​×E2​ the pair (xn,yn)(x_n,y_n)(xn​,yn​) converges if one sequence λn\lambda_nλn​ serves both components; this is strictly stronger than convergence of each component.

Let Mkm\mathbb M^{km}Mkm be the real k×mk\times mk×m matrices. For a Mkm\mathbb M^{km}Mkm-valued process XXX and an Rm\mathbb R^mRm-valued process YYY, the stochastic integral (1.7) is

∫0tX(s−) dY(s)=lim⁡∑iX(ti)(Y(ti+1)−Y(ti)),\int_0^t X(s-)\,dY(s)=\lim\sum_i X(t_i)\big(Y(t_{i+1})-Y(t_i)\big),∫0t​X(s−)dY(s)=limi∑​X(ti​)(Y(ti+1​)−Y(ti​)),

the limit in probability along partitions {ti}\{t_i\}{ti​} of [0,t][0,t][0,t] whose mesh tends to zero. Throughout, ∫X dY\int X\,dY∫XdY means ∫X(s−) dY(s)\int X(s-)\,dY(s)∫X(s−)dY(s). An {Ft}\{\mathcal F_t\}{Ft​}-adapted cadlag process YYY is a semimartingale if Y=M+AY=M+AY=M+A with MMM an {Ft}\{\mathcal F_t\}{Ft​}-local martingale and AAA of finite variation on bounded intervals, with total variation Tt(A)T_t(A)Tt​(A) on [0,t][0,t][0,t]. [M][M][M] denotes the quadratic variation.

For δ∈(0,∞]\delta\in(0,\infty]δ∈(0,∞] let hδ(r)=(1−δ/r)+h_\delta(r)=(1-\delta/r)^+hδ​(r)=(1−δ/r)+ and

Jδ(x)(t)=∑s≤thδ(∣x(s)−x(s−)∣)(x(s)−x(s−)),J_\delta(x)(t)=\sum_{s\le t}h_\delta\big(|x(s)-x(s-)|\big)\big(x(s)-x(s-)\big),Jδ​(x)(t)=s≤t∑​hδ​(∣x(s)−x(s−)∣)(x(s)−x(s−)),

which collects the part of the jumps larger than δ\deltaδ; Yδ=Y−Jδ(Y)Y^\delta=Y-J_\delta(Y)Yδ=Y−Jδ​(Y) then has jumps of size at most δ\deltaδ. Condition C2.2(i) on a sequence YnY_nYn​ asks for decompositions Ynδ=Mnδ+AnδY_n^\delta=M_n^\delta+A_n^\deltaYnδ​=Mnδ​+Anδ​ such that for each α>0\alpha>0α>0 there are stopping times τnα\tau_n^\alphaτnα​ with P{τnα≤α}≤1/αP\{\tau_n^\alpha\le\alpha\}\le1/\alphaP{τnα​≤α}≤1/α and sup⁡nE[[Mnδ]t∧τnα+Tt∧τnα(Anδ)]<∞\sup_nE\big[[M_n^\delta]_{t\wedge\tau_n^\alpha}+T_{t\wedge\tau_n^\alpha}(A_n^\delta)\big]<\inftysupn​E[[Mnδ​]t∧τnα​​+Tt∧τnα​​(Anδ​)]<∞. ⇒\Rightarrow⇒ denotes convergence in distribution.

Formalization targets

Goal: Theorem 2.2 (distributional part)

For each nnn, let (Xn,Yn)(X_n,Y_n)(Xn​,Yn​) be {Ftn}\{\mathcal F^n_t\}{Ftn​}-adapted with paths in DMkm×Rm[0,∞)D_{\mathbb M^{km}\times\mathbb R^m}[0,\infty)DMkm×Rm​[0,∞), YnY_nYn​ an {Ftn}\{\mathcal F^n_t\}{Ftn​}-semimartingale satisfying C2.2(i) for some δ∈(0,∞]\delta\in(0,\infty]δ∈(0,∞]. If (Xn,Yn)⇒(X,Y)(X_n,Y_n)\Rightarrow(X,Y)(Xn​,Yn​)⇒(X,Y) in the Skorohod topology on DMkm×Rm[0,∞)D_{\mathbb M^{km}\times\mathbb R^m}[0,\infty)DMkm×Rm​[0,∞), then YYY is a semimartingale with respect to a filtration to which XXX and YYY are adapted, and

(Xn, Yn, ∫Xn dYn)⇒(X, Y, ∫X dY)in DMkm×Rm×Rk[0,∞).\Big(X_n,\,Y_n,\,\int X_n\,dY_n\Big)\Rightarrow\Big(X,\,Y,\,\int X\,dY\Big)\quad\text{in }D_{\mathbb M^{km}\times\mathbb R^m\times\mathbb R^k}[0,\infty).(Xn​,Yn​,∫Xn​dYn​)⇒(X,Y,∫XdY)in DMkm×Rm×Rk​[0,∞).

Milestones, in the order the proof uses them

  • Lemma 2.1: time-change-equivariant maps that are continuous for local uniform convergence are Skorohod-continuous, jointly with their argument.
  • Continuity of JδJ_\deltaJδ​ (after (2.1)): (xn,Jδ(xn))→(x,Jδ(x))(x_n,J_\delta(x_n))\to(x,J_\delta(x))(xn​,Jδ​(xn​))→(x,Jδ​(x)) and (xn,xn−Jδ(xn))→(x,x−Jδ(x))(x_n,x_n-J_\delta(x_n))\to(x,x-J_\delta(x))(xn​,xn​−Jδ​(xn​))→(x,x−Jδ​(x)).
  • Lemma 6.2: a sequential characterization of Skorohod convergence.
  • The step approximation IεI_\varepsilonIε​ of §6, with r(z(t),Iε(z)(t))≤εr(z(t),I_\varepsilon(z)(t))\le\varepsilonr(z(t),Iε​(z)(t))≤ε.
  • Lemma 6.1: zn→zz_n\to zzn​→z implies (zn,Iε(zn))→(z,Iε(z))(z_n,I_\varepsilon(z_n))\to(z,I_\varepsilon(z))(zn​,Iε​(zn​))→(z,Iε​(z)) almost surely in the random thresholds.
  • (1.12)–(1.13): integrals against step functions with uniformly bounded jump counts converge, jointly with integrand and integrator.
  • (2.2): ∫xn(s−) dJδ(yn)(s)→∫x(s−) dJδ(y)(s)\int x_n(s-)\,dJ_\delta(y_n)(s)\to\int x(s-)\,dJ_\delta(y)(s)∫xn​(s−)dJδ​(yn​)(s)→∫x(s−)dJδ​(y)(s).
  • (2.7): E[sup⁡s≤t∧τ∣R(s)∣]≤ε(2E[[M]t∧τ]1/2+E[Tt∧τ(A)])E\big[\sup_{s\le t\wedge\tau}|R(s)|\big]\le\varepsilon\big(2E[[M]_{t\wedge\tau}]^{1/2}+E[T_{t\wedge\tau}(A)]\big)E[sups≤t∧τ​∣R(s)∣]≤ε(2E[[M]t∧τ​]1/2+E[Tt∧τ​(A)]) for R=∫H d(M+A)R=\int H\,d(M+A)R=∫Hd(M+A) with ∣H∣≤ε|H|\le\varepsilon∣H∣≤ε.
  • Remark 2.4: the limit YYY is a semimartingale.

Significance

The result. Theorem 2.2 reduces convergence of stochastic integrals to two checks: joint convergence of integrand and integrator, and the uniform control C2.2(i) on the integrators. Remarks 2.3 and 2.5 give simple sufficient conditions (stochastic boundedness of Tt(Anδ)T_t(A_n^\delta)Tt​(Anδ​) plus a second-moment bound; relative compactness for a fixed integrator), and Section 5 of the paper derives from it weak limit theorems for stochastic differential equations driven by semimartingales, including Wong–Zakai-type corrections. Without the theorem, each diffusion approximation that passes through an integral equation needs its own ad hoc argument.

Formalizing it. The theorem is proved and classical; nothing here is open. Lean's Mathlib has no Skorohod space, no stochastic integral against a semimartingale and no semimartingale, so the mission produces the first machine-checked definitions of J1 convergence on DE[0,∞)D_E[0,\infty)DE​[0,∞), of the left-point stochastic integral (1.7), and of convergence in distribution of cadlag processes, together with the deterministic facts about them that a proof of Theorem 2.2 needs. The definitions are meant to be reused by later missions on weak convergence of processes and on stochastic differential equations (the paper's Theorem 5.4 is planned as a follow-up that references them).

Difficulty

The obvious argument — the integral is a continuous function of the pair (integrand, integrator), so the continuous mapping theorem applies — fails in two ways. First, the map (x,y)↦∫x(s−) dy(s)(x,y)\mapsto\int x(s-)\,dy(s)(x,y)↦∫x(s−)dy(s) is not continuous in the Skorohod topology, and for a general semimartingale integrator it is not even defined path by path. Example 1.1 makes the failure concrete: with X=Y=Xn=χ[1,∞)X=Y=X_n=\chi_{[1,\infty)}X=Y=Xn​=χ[1,∞)​ and Yn=χ[1+1/n,∞)Y_n=\chi_{[1+1/n,\infty)}Yn​=χ[1+1/n,∞)​, each component converges, yet ∫0tXn dYn=1\int_0^tX_n\,dY_n=1∫0t​Xn​dYn​=1 for t>1+1/nt>1+1/nt>1+1/n while ∫0tX dY=0\int_0^tX\,dY=0∫0t​XdY=0, because the jumps of integrand and integrator coalesce in the wrong order; joint convergence of the pair excludes this. Second, Example 1.2 shows that joint convergence is still not enough: integrators whose variation grows without bound (piecewise linear interpolations of Brownian motion) produce an extra drift 12t\tfrac12t21​t in the limit. C2.2(i) is the condition that excludes this, and the identification of the limit integral also requires knowing that the limit YYY is a semimartingale, which is not given.

Formalization scope

Time is ℝ≥0; a process is a map ℝ≥0 → Ω → E. Rm\mathbb R^mRm is Fin m → ℝ and Mkm\mathbb M^{km}Mkm is Fin k → Fin m → ℝ, with the sup metric; products carry the max metric (J1 convergence does not depend on the product metric). The conventions the formal statements commit to:

  • "xn→xx_n\to xxn​→x in the Skorohod topology" is the sequential definition of pp. 1037–1038 with one time change sequence; "uniformly for ttt in bounded intervals" is uniformly on [0,T][0,T][0,T] for every TTT. For a pair or a triple the time change is shared by all components.
  • "⇒\Rightarrow⇒" is convergence in distribution in coupling form: a probability space carrying copies of the processes and of the limit, with almost sure Skorohod convergence. Laws are taken on the product σ-algebra of path space; for the finite-dimensional state spaces here this is equivalent to weak convergence of the laws on DE[0,∞)D_E[0,\infty)DE​[0,∞).
  • The coupling relation is defined for Polish state spaces with their Borel σ-algebras. Every state space in the probabilistic milestones is a finite-dimensional real product and satisfies this requirement.
  • ∫X dY\int X\,dY∫XdY is the in-probability limit of left-point Riemann sums (1.7) over all partition sequences with mesh tending to zero, with cadlag paths. The prelimit integrals are given processes with this property; the limit integral is produced in the conclusion.
  • The semimartingale conclusion of Theorem 2.2 is stated for a copy of (X,Y)(X,Y)(X,Y) on a space that may carry extra randomness, with a filtration making both adapted.
  • In C2.2(i) the free ttt is universally quantified ("for every t≥0t\ge0t≥0") and the stopping times are chosen before ttt; expectations of nonnegative quantities are taken in [0,∞][0,\infty][0,∞]; t∧τ=tt\wedge\tau=tt∧τ=t when τ=∞\tau=\inftyτ=∞.
  • [M]=∑j[Mj][M]=\sum_j[M_j][M]=∑j​[Mj​] with [M](0)=0[M](0)=0[M](0)=0; since C2.2(i) asks for some decomposition, this agrees with Protter's convention [M](0)=M(0)2[M](0)=M(0)^2[M](0)=M(0)2.
  • In (2.1), ∣x∣=∑i∣xi∣|x|=\sum_i|x_i|∣x∣=∑i​∣xi​∣ (the paper's convention for vectors, p. 1049); in (2.7), Euclidean norms for RRR and T(A)T(A)T(A) and the Frobenius norm for the integrand.
  • "a.s." in Lemma 6.1 refers to the law of the thresholds θk\theta_kθk​, i.i.d. uniform on [12,1][\frac12,1][21​,1], and the null set may depend on the convergent sequence.
  • δ\deltaδ ranges over (0,∞](0,\infty](0,∞], with J∞=0J_\infty=0J∞​=0.

The theorem has trivializing formalizations, all excluded here: componentwise convergence of (Xn,Yn)(X_n,Y_n)(Xn​,Yn​) in place of joint convergence; an integral not pinned to (1.7) (any process would do); and assuming the limit integral, or the semimartingale property of YYY, as a hypothesis.

Local martingales and cross variations reuse the published Ethier–Kurtz definitions EthierKurtz_IsSourceLocalMartingale and EthierKurtz_HasCrossVariation. A complete development needs the Skorohod space and its tightness theory, the stochastic integral against semimartingales (existence and the Burkholder–Davis–Gundy/Doob estimates), and the quasimartingale criterion of Meyer and Zheng. Contributions to any of these layers are welcome; the deterministic milestones (Lemma 2.1, Lemma 6.2, the continuity of JδJ_\deltaJδ​, (1.12)–(1.13), Lemma 6.1) are independent of the probabilistic ones and reusable for any work on the J1 topology.

Selected references

  • T. G. Kurtz and P. Protter, Weak limit theorems for stochastic integrals and stochastic differential equations, Ann. Probab. 19 (1991), 1035–1070. https://doi.org/10.1214/aop/1176990334
  • A. Jakubowski, J. Mémin and G. Pagès, Convergence en loi des suites d'intégrales stochastiques sur l'espace D¹ de Skorokhod, Probab. Theory Related Fields 81 (1989), 111–137. https://doi.org/10.1007/BF00343739
  • S. N. Ethier and T. G. Kurtz, Markov Processes: Characterization and Convergence, Wiley, 1986. https://doi.org/10.1002/9780470316658
  • P. Protter, Stochastic Integration and Differential Equations, Springer, 1990. https://doi.org/10.1007/978-3-662-02619-9
  • E. Wong and M. Zakai, On the convergence of ordinary integrals to stochastic integrals, Ann. Math. Statist. 36 (1965), 1560–1564. https://doi.org/10.1214/aoms/1177699916
  • P. A. Meyer and W. A. Zheng, Tightness criteria for laws of semimartingales, Ann. Inst. H. Poincaré Probab. Statist. 20 (1984), 353–372. http://www.numdam.org/item/AIHPB_1984__20_4_353_0/
15 thms1 active userReviewed
OptimizationProbabilityStatistics·Captain: mikedeng1

Stochastic Estimation of the Maximum of a Regression Function: The Kiefer–Wolfowitz Iterates z_n Converge in Probability to the Maximizer θResearch Paper

Motivation

Many problems in statistics, engineering and operations research ask for the input level xxx at which an unknown response function is largest, when the response can only be measured with noise: the dose that maximizes a yield, the setting that maximizes throughput in a simulation, the parameter that maximizes an expected reward. Robbins and Monro (1951) had shown how to find, by sequential noisy measurements, the root of an unknown increasing function. Kiefer and Wolfowitz (1952) adapted the idea to maximization: at each step, measure the response at two points zn±cnz_n\pm c_nzn​±cn​ placed symmetrically about the current estimate, and move the estimate in the direction of the observed difference. Their scheme is the origin of finite-difference stochastic approximation, the gradient-free ancestor of simultaneous-perturbation and zeroth-order methods in simulation optimization and machine learning.

Timeline. 1951: Robbins and Monro, root finding, convergence in mean square. 1952: Wolfowitz, convergence in probability for Robbins–Monro under weaker conditions; Kiefer and Wolfowitz, the present paper, convergence in probability of the maximization scheme. 1954: Blum proved almost-sure convergence of both schemes under related conditions (doi:10.1214/aoms/1177728794). Later work (Spall 1992, among many) extended the finite-difference idea to many dimensions.

Setting

For each level x∈Rx\in\mathbb Rx∈R, an observation taken at xxx is a random number with distribution H(⋅∣x)H(\cdot\mid x)H(⋅∣x); the family depends measurably on xxx. The regression function is the mean observation,

M(x)=∫−∞∞y dH(y∣x),M(x)=\int_{-\infty}^{\infty}y\,dH(y\mid x),M(x)=∫−∞∞​ydH(y∣x),

and the observations have uniformly bounded variance: ∫(y−M(x))2 dH(y∣x)≤S\int (y-M(x))^2\,dH(y\mid x)\le S∫(y−M(x))2dH(y∣x)≤S for all xxx. The function MMM is unimodal about an unknown point θ\thetaθ: strictly increasing for x<θx<\thetax<θ and strictly decreasing for x>θx>\thetax>θ.

Two sequences of positive numbers ana_nan​ (step sizes) and cnc_ncn​ (probe widths) satisfy

cn→0,∑an=∞,∑ancn<∞,∑an2cn−2<∞,c_n\to0,\qquad \sum a_n=\infty,\qquad \sum a_nc_n<\infty,\qquad \sum a_n^2c_n^{-2}<\infty,cn​→0,∑an​=∞,∑an​cn​<∞,∑an2​cn−2​<∞,

for example an=n−1a_n=n^{-1}an​=n−1, cn=n−1/3c_n=n^{-1/3}cn​=n−1/3. Starting from an arbitrary number z1z_1z1​, the Kiefer–Wolfowitz process is

zn+1=zn+an y2n−y2n−1cn,z_{n+1}=z_n+a_n\,\frac{y_{2n}-y_{2n-1}}{c_n},zn+1​=zn​+an​cn​y2n​−y2n−1​​,

where, given everything observed so far, y2n−1y_{2n-1}y2n−1​ and y2ny_{2n}y2n​ are independent with laws H(⋅∣zn−cn)H(\cdot\mid z_n-c_n)H(⋅∣zn​−cn​) and H(⋅∣zn+cn)H(\cdot\mid z_n+c_n)H(⋅∣zn​+cn​).

The paper imposes three regularity conditions on MMM:

  1. Condition 1 (Lipschitz near θ\thetaθ): for some β,B>0\beta,B>0β,B>0, ∣x′−θ∣+∣x′′−θ∣<β|x'-\theta|+|x''-\theta|<\beta∣x′−θ∣+∣x′′−θ∣<β and x′≠x′′x'\neq x''x′=x′′ imply ∣M(x′)−M(x′′)∣<B∣x′−x′′∣|M(x')-M(x'')|<B|x'-x''|∣M(x′)−M(x′′)∣<B∣x′−x′′∣.
  2. Condition 2 (bounded oscillation): for some ρ,R>0\rho,R>0ρ,R>0, ∣x′−x′′∣<ρ|x'-x''|<\rho∣x′−x′′∣<ρ implies ∣M(x′)−M(x′′)∣<R|M(x')-M(x'')|<R∣M(x′)−M(x′′)∣<R.
  3. Condition 3 (no flat regions away from θ\thetaθ): for every δ>0\delta>0δ>0 there is π(δ)>0\pi(\delta)>0π(δ)>0 such that ∣z−θ∣>δ|z-\theta|>\delta∣z−θ∣>δ implies ∣M(z+ε)−M(z−ε)∣/ε>π(δ)|M(z+\varepsilon)-M(z-\varepsilon)|/\varepsilon>\pi(\delta)∣M(z+ε)−M(z−ε)∣/ε>π(δ) for all 0<ε<δ/20<\varepsilon<\delta/20<ε<δ/2.

In the Lean development these objects are regFun H (MMM), SecondMomentBound H S, Unimodal, Cond1, Cond2, Cond3, StepSizes a c and the structure IsKWProcess, all in the namespace KieferWolfowitz.Convergence.

Formalization targets

Goal: convergence in probability

for every η>0,P{∣zn−θ∣>η}⟶0(n→∞).\text{for every }\eta>0,\qquad P\{|z_n-\theta|>\eta\}\longrightarrow 0\quad(n\to\infty).for every η>0,P{∣zn​−θ∣>η}⟶0(n→∞).

This is the theorem of the paper (stated on p. 462, proved in §3 in the form (3.22)). It fixes no rate and no constants, so it is the stable form of the result.

Milestones, in the order of the paper's proof

  1. (3.6) The one-step identity for bn=E(zn−θ)2b_n=E(z_n-\theta)^2bn​=E(zn​−θ)2: bn+1=bn+2ancnE Un(zn)+an2cn2E(y2n−y2n−1)2b_{n+1}=b_n+2\frac{a_n}{c_n}E\,U_n(z_n)+\frac{a_n^2}{c_n^2}E(y_{2n}-y_{2n-1})^2bn+1​=bn​+2cn​an​​EUn​(zn​)+cn2​an2​​E(y2n​−y2n−1​)2, with Un(z)=(z−θ)(M(z+cn)−M(z−cn))U_n(z)=(z-\theta)(M(z+c_n)-M(z-c_n))Un​(z)=(z−θ)(M(z+cn​)−M(z−cn​)).
  2. (3.8) 0≤Un+(z)<2Bcn20\le U_n^+(z)<2Bc_n^20≤Un+​(z)<2Bcn2​ whenever cn<12βc_n<\frac12\betacn​<21​β.
  3. (3.11)–(3.12) E{(y2n−y2n−1)2∣zn}≤2S+R2E\{(y_{2n}-y_{2n-1})^2\mid z_n\}\le 2S+R^2E{(y2n​−y2n−1​)2∣zn​}≤2S+R2 whenever cn<ρ/2c_n<\rho/2cn​<ρ/2.
  4. (3.15) ∑(an/cn)Nn\sum (a_n/c_n)N_n∑(an​/cn​)Nn​ converges, where Nn=E Un−(zn)N_n=E\,U_n^-(z_n)Nn​=EUn−​(zn​).
  5. (3.18) lim inf⁡nE{Kn∣zn−θ∣}=0\liminf_n E\{K_n|z_n-\theta|\}=0liminfn​E{Kn​∣zn​−θ∣}=0, with Kn=∣(M(zn+cn)−M(zn−cn))/cn∣K_n=|(M(z_n+c_n)-M(z_n-c_n))/c_n|Kn​=∣(M(zn​+cn​)−M(zn​−cn​))/cn​∣.
  6. After (3.19) Along any n1<n2<⋯n_1<n_2<\cdotsn1​<n2​<⋯ with E{Knj∣znj−θ∣}→0E\{K_{n_j}|z_{n_j}-\theta|\}\to0E{Knj​​∣znj​​−θ∣}→0, znj→θz_{n_j}\to\thetaznj​​→θ in probability.
  7. (3.28) If N0N_0N0​ satisfies (3.25)–(3.27) for s>0s>0s>0, then E{(zn−θ)2∣zN0}<(zN0−θ)2+sE\{(z_n-\theta)^2\mid z_{N_0}\}<(z_{N_0}-\theta)^2+sE{(zn​−θ)2∣zN0​​}<(zN0​​−θ)2+s for all n>N0n>N_0n>N0​.

Significance

The result shows that the maximizer of a function observable only through noise can be located consistently using function evaluations alone, without gradients and without a parametric model of MMM. The conditions are qualitative: no differentiability, no specific noise distribution, and the noise may change shape with xxx. This is the template for gradient-free stochastic optimization: simulation optimization with finite-difference gradient estimates, simultaneous-perturbation methods, and zeroth-order methods in learning are all analysed by refining the same bias–variance balance between the probe width cnc_ncn​ and the step ana_nan​.

The theorem has been proved since 1952 and is not open. To our knowledge no machine-checked proof of it exists. A formalization produces a checked proof of a founding result of stochastic approximation and, along the way, the probabilistic infrastructure such proofs share: processes defined through conditional laws given a filtration, recursions for second moments, conditional Chebyshev arguments, and the passage from subsequence convergence to full convergence by a restart bound. Alternative proofs (via supermartingale convergence, which would give almost-sure convergence under stronger hypotheses) are welcome as separate developments but are not the goal.

Difficulty

The obvious approach is to show that E(zn−θ)2E(z_n-\theta)^2E(zn​−θ)2 decreases. It does not: the drift term 2ancnE Un(zn)2\frac{a_n}{c_n}E\,U_n(z_n)2cn​an​​EUn​(zn​) is negative only on average and only once the probes straddle θ\thetaθ correctly, while the noise term an2cn2en\frac{a_n^2}{c_n^2}e_ncn2​an2​​en​ is always positive and the finite-difference estimate of the slope has a bias of order cnc_ncn​. A one-step contraction is therefore unavailable, and summability arguments alone give smallness only along a subsequence; turning that into convergence of the whole sequence is where the difficulty lies, and it is also where Condition 3, which forbids flat stretches of MMM away from θ\thetaθ, cannot be dispensed with. The argument needs integrability of quantities the paper treats as finite without comment, and the conditional statements require the conditional law of the observation pair, not just its unconditional moments.

Formalization scope

  • Observations. HHH is a Markov kernel Kernel ℝ ℝ. Every H(⋅∣x)H(\cdot\mid x)H(⋅∣x) has ∫y2 dH<∞\int y^2\,dH<\infty∫y2dH<∞, so MMM and the variance in (2.2) are genuine integrals.
  • The process. On a probability space with a filtration (Fn)(\mathcal F_n)(Fn​), znz_nzn​ is Fn\mathcal F_nFn​-measurable, the pair (y2n−1,y2n)(y_{2n-1},y_{2n})(y2n−1​,y2n​) is Fn+1\mathcal F_{n+1}Fn+1​-measurable, and P(y2n−1∈A,y2n∈B∣Fn)=H(A∣zn−cn)H(B∣zn+cn)P(y_{2n-1}\in A, y_{2n}\in B\mid\mathcal F_n)=H(A\mid z_n-c_n)H(B\mid z_n+c_n)P(y2n−1​∈A,y2n​∈B∣Fn​)=H(A∣zn​−cn​)H(B∣zn​+cn​) a.s. for all Borel A,BA,BA,B. This is the reading of "independent chance variables with respective distributions H(y∣zn−cn)H(y\mid z_n-c_n)H(y∣zn​−cn​) and H(y∣zn+cn)H(y\mid z_n+c_n)H(y∣zn​+cn​)". The starting point z1z_1z1​ is a deterministic number.
  • Indices are 0-based: Lean's z 0 is z1z_1z1​, a n, c n are an+1a_{n+1}an+1​, cn+1c_{n+1}cn+1​.
  • Condition 1 as printed has a strict inequality that fails at x′=x′′x'=x''x′=x′′, which makes it unsatisfiable; the formalization adds x′≠x′′x'\neq x''x′=x′′. Condition 3's infimum over 12δ>ε>0\frac12\delta>\varepsilon>021​δ>ε>0 is stated pointwise, which is equivalent since π(δ)\pi(\delta)π(δ) is existential, with π(δ)\pi(\delta)π(δ) uniform in zzz.
  • Explicit readings of loose phrases. "For nnn sufficiently large" in (3.10)–(3.12) is the hypothesis cn<ρ/2c_n<\rho/2cn​<ρ/2; conditioning "on znz_nzn​" or "on zN0=zz_{N_0}=zzN0​​=z" is conditioning on Fn\mathcal F_nFn​ or FN0\mathcal F_{N_0}FN0​​; "converges stochastically" is Mathlib's TendstoInMeasure; "lim inf⁡=0\liminf=0liminf=0" for a nonnegative sequence is "below every ε>0\varepsilon>0ε>0 infinitely often".
  • Integrability of every expectation in a milestone is either a hypothesis or part of the conclusion, so no statement holds by Lean's convention that the integral of a non-integrable function is 000.
  • Ruled out. A formalization in which the observations are arbitrary random variables not tied to HHH, in which ∑an=∞\sum a_n=\infty∑an​=∞ is dropped, or in which π(δ)\pi(\delta)π(δ) may depend on zzz, would make the goal false or a different theorem; the hypotheses here are jointly satisfiable (checked for H(⋅∣x)=δ−∣x∣H(\cdot\mid x)=\delta_{-|x|}H(⋅∣x)=δ−∣x∣​, θ=0\theta=0θ=0, an=n−1a_n=n^{-1}an​=n−1, cn=n−1/3c_n=n^{-1/3}cn​=n−1/3).
  • Not formalized. The remark on p. 463 that truncating zn±cnz_n\pm c_nzn​±cn​ to an interval [C1,C2][C_1,C_2][C1​,C2​] preserves the conclusion (asserted without proof), the motivational discussion (a)–(c), and §4's further problems.
  • Distinct from the Kiefer–Wolfowitz equivalence theorem of optimal experimental design (1960), which is already on the platform under BanditAlgorithm.kiefer_wolfowitz_equivalence; the two results share authors and nothing else.

Useful infrastructure, reusable beyond this mission: conditional expectations of functions of a pair with a given conditional law, tail-sum bounds, and the passage from a restart bound plus subsequence convergence in probability to full convergence. Contributions of any milestone, of intermediate lemmas such as (3.7), (3.9), (3.13) and (3.29), and of the final assembly are welcome.

Selected references

  • J. Kiefer and J. Wolfowitz, Stochastic estimation of the maximum of a regression function, Ann. Math. Statist. 23 (1952), 462–466. https://doi.org/10.1214/aoms/1177729392
  • H. Robbins and S. Monro, A stochastic approximation method, Ann. Math. Statist. 22 (1951), 400–407. https://doi.org/10.1214/aoms/1177729586
  • J. Wolfowitz, On the stochastic approximation method of Robbins and Monro, Ann. Math. Statist. 23 (1952), 457–461. https://doi.org/10.1214/aoms/1177729391
  • J. R. Blum, Approximation methods which converge with probability one, Ann. Math. Statist. 25 (1954), 382–386. https://doi.org/10.1214/aoms/1177728794
  • J. C. Spall, Multivariate stochastic approximation using a simultaneous perturbation gradient approximation, IEEE Trans. Automat. Control 37 (1992), 332–341. https://doi.org/10.1109/9.119632
9 thms1 active userReviewed
Operations ResearchProbability·Captain: mikedeng1

Stochastic Inequalities on Partially Ordered Spaces 1: Stochastically Ordered Initial Laws and Kernels Give Coupled Random Sequences with Xₙ ≤ Yₙ for All n Almost SurelyResearch Paper

Motivation

Comparison theorems for stochastic processes answer a practical question: if one system starts "lower" and moves "upward" less aggressively than another, does it stay below the other one for all time? Queueing, reliability and inventory models use such statements to order performance measures of two systems without computing either distribution. Results of this kind for real-valued Markov chains go back to Kalmykov (1962) and Daley (1968); O'Brien (1975) proved a comparison theorem for real sequences with general (non-Markov) dependence on the past.

Kamae, Krengel and O'Brien (1977) placed these results on a common foundation: an arbitrary partially ordered Polish space, where the state can be a vector, a path, a configuration or a measure. Their tool is a characterization of the stochastic order through monotone couplings, which goes back to Strassen (1965).

Timeline.

  • 1962, Kalmykov: comparison of real Markov chains with stochastically monotone kernels.
  • 1965, Strassen: existence of probability measures with given marginals; a coupling on a closed set K⊆E×EK \subseteq E \times EK⊆E×E exists iff the marginals satisfy the matching inequalities.
  • 1968, Daley: stochastically monotone Markov chains on R\mathbb RR.
  • 1975, O'Brien: comparison theorem for real random sequences with history-dependent kernels.
  • 1977, Kamae–Krengel–O'Brien: the order on a partially ordered Polish space, Theorem 1 (six characterizations), and the comparison theorem for sequences in products of such spaces (Theorem 2).

Setting

Let EEE be a complete separable metric space with a closed partial order ≤\le≤ (the set {(x,y):x≤y}\{(x,y) : x \le y\}{(x,y):x≤y} is closed in E×EE \times EE×E) and its Borel σ\sigmaσ-algebra. Write M(E)\mathcal M(E)M(E) for the probability measures on EEE. A set A⊆EA \subseteq EA⊆E is increasing if x∈Ax \in Ax∈A and x≤yx \le yx≤y imply y∈Ay \in Ay∈A; a function fff is increasing if x≤yx \le yx≤y implies f(x)≤f(y)f(x) \le f(y)f(x)≤f(y). For P1,P2∈M(E)P_1, P_2 \in \mathcal M(E)P1​,P2​∈M(E), P1P_1P1​ is stochastically smaller than P2P_2P2​, written P1≺P2P_1 \prec P_2P1​≺P2​, if

∫f dP1≤∫f dP2for every bounded measurable increasing f:E→R.\int f\,dP_1 \le \int f\,dP_2 \quad\text{for every bounded measurable increasing } f : E \to \mathbb R .∫fdP1​≤∫fdP2​for every bounded measurable increasing f:E→R.

A stochastic kernel kkk from E1E_1E1​ to E2E_2E2​ assigns to every x∈E1x \in E_1x∈E1​ a probability measure k(x,⋅)k(x,\cdot)k(x,⋅) on E2E_2E2​, measurably in xxx. For P1∈M(E1)P_1 \in \mathcal M(E_1)P1​∈M(E1​), P1∗kP_1 * kP1​∗k is the measure on E1×E2E_1 \times E_2E1​×E2​ with (P1∗k)(A1×A2)=∫A1k(x,A2) P1(dx)(P_1 * k)(A_1 \times A_2) = \int_{A_1} k(x, A_2)\,P_1(dx)(P1​∗k)(A1​×A2​)=∫A1​​k(x,A2​)P1​(dx), and P1kP_1^{k}P1k​ is its second marginal. A kernel kkk on E×EE \times EE×E is upward if k(x,⋅)k(x,\cdot)k(x,⋅) is concentrated on {y:y≥x}\{y : y \ge x\}{y:y≥x} for every xxx.

For partially ordered Polish spaces E1,E2,…E_1, E_2, \dotsE1​,E2​,…, the products En=E1×⋯×EnE^{n} = E_1 \times \cdots \times E_nEn=E1​×⋯×En​ and E∞=∏iEiE^\infty = \prod_i E_iE∞=∏i​Ei​ carry the product topology and the coordinatewise order, and are again partially ordered Polish spaces. Given P1∈M(E1)P_1 \in \mathcal M(E_1)P1​∈M(E1​) and kernels pnp_npn​ from En−1E^{n-1}En−1 to EnE_nEn​ (n≥2n \ge 2n≥2), the measure P1∗p2∗⋯∗pnP_1 * p_2 * \cdots * p_nP1​∗p2​∗⋯∗pn​ on EnE^{n}En is the law of (X1,…,Xn)(X_1, \dots, X_n)(X1​,…,Xn​) when X1∼P1X_1 \sim P_1X1​∼P1​ and XnX_nXn​ is drawn from pn(X1,…,Xn−1,⋅)p_n(X_1, \dots, X_{n-1}, \cdot)pn​(X1​,…,Xn−1​,⋅); its projective limit is the law of the whole sequence.

Formalization targets

Goal: Theorem 2 (the discrete-time comparison theorem)

Let P1,Q1∈M(E1)P_1, Q_1 \in \mathcal M(E_1)P1​,Q1​∈M(E1​) and let pn,qnp_n, q_npn​,qn​ be stochastic kernels from En−1E^{n-1}En−1 to EnE_nEn​, n≥2n \ge 2n≥2. If P1≺Q1P_1 \prec Q_1P1​≺Q1​ and

pn(xn−1,⋅)≺qn(yn−1,⋅)whenever xn−1≤yn−1,p_n(x^{n-1},\cdot) \prec q_n(y^{n-1},\cdot) \quad\text{whenever } x^{n-1} \le y^{n-1},pn​(xn−1,⋅)≺qn​(yn−1,⋅)whenever xn−1≤yn−1,

then there are random sequences (Xn)(X_n)(Xn​), (Yn)(Y_n)(Yn​) on one probability space, with initial laws P1P_1P1​, Q1Q_1Q1​ and conditional laws pnp_npn​, qnq_nqn​, such that

P(Xi≤Yi, i=1,2,… )=1.P(X_i \le Y_i,\ i = 1, 2, \dots) = 1 .P(Xi​≤Yi​, i=1,2,…)=1.

Milestones

  1. Theorem 1: for P1,P2∈M(E)P_1, P_2 \in \mathcal M(E)P1​,P2​∈M(E), P1≺P2P_1 \prec P_2P1​≺P2​ is equivalent to each of: a coupling supported on {x≤y}\{x \le y\}{x≤y}; a representation f(Z)∼P1f(Z) \sim P_1f(Z)∼P1​, g(Z)∼P2g(Z) \sim P_2g(Z)∼P2​ with f≤gf \le gf≤g and ZZZ real; random variables X1≤X2X_1 \le X_2X1​≤X2​ a.s. with laws P1,P2P_1, P_2P1​,P2​; P2=P1kP_2 = P_1^{k}P2​=P1k​ for an upward kernel kkk; and P1(B)≤P2(B)P_1(B) \le P_2(B)P1​(B)≤P2​(B) for every closed increasing BBB.
  2. Proposition 1: under the hypotheses of Theorem 2, P1∗p2∗⋯∗pn≺Q1∗q2∗⋯∗qnP_1 * p_2 * \cdots * p_n \prec Q_1 * q_2 * \cdots * q_nP1​∗p2​∗⋯∗pn​≺Q1​∗q2​∗⋯∗qn​ for every nnn.
  3. Proposition 2: on E∞E^\inftyE∞, if all finite-dimensional marginals satisfy P(i)≺Q(i)P^{(i)} \prec Q^{(i)}P(i)≺Q(i), then P≺QP \prec QP≺Q.
  4. Proposition 3: ≺\prec≺ is preserved under weak convergence.
  5. Proposition 4: P1≺P2≺⋯P_1 \prec P_2 \prec \cdotsP1​≺P2​≺⋯ iff there are random elements X1≤X2≤⋯X_1 \le X_2 \le \cdotsX1​≤X2​≤⋯ a.s. with Xi∼PiX_i \sim P_iXi​∼Pi​, iff there are ZZZ real and f1≤f2≤⋯f_1 \le f_2 \le \cdotsf1​≤f2​≤⋯ with fi(Z)∼Pif_i(Z) \sim P_ifi​(Z)∼Pi​.
  6. Corollary 1 (i)–(iii), consequences of Theorem 2 when E1=E2=⋯E_1 = E_2 = \cdotsE1​=E2​=⋯: for an increasing set AAA, P(Xn∈A)≤P(Yn∈A)P(X_n \in A) \le P(Y_n \in A)P(Xn​∈A)≤P(Yn​∈A); first entrance times into AAA satisfy P(Nx<n)≤P(Ny<n)P(N_x < n) \le P(N_y < n)P(Nx​<n)≤P(Ny​<n); and Ef(Xn)≤Ef(Yn)E f(X_n) \le E f(Y_n)Ef(Xn​)≤Ef(Yn​) for nondecreasing fff whenever the expectations exist.
  7. Theorem 3: in a partially ordered Polish space with a compatible vector structure, kernels ordered through the increments they produce yield processes (Sn)(S_n)(Sn​), (Tn)(T_n)(Tn​) with S1≤T1S_1 \le T_1S1​≤T1​ and Sn+1−Sn≤Tn+1−TnS_{n+1} - S_n \le T_{n+1} - T_nSn+1​−Sn​≤Tn+1​−Tn​ for all nnn, almost surely.

Significance

The result. Theorem 2 turns an inequality between one-step transition laws into a pathwise inequality between whole trajectories. Every functional that is increasing in the path, such as hitting times of increasing sets, maxima, occupation counts or cumulative costs, is then ordered between the two processes, as Corollary 1 illustrates. Because the state space is any partially ordered Polish space, the theorem covers vector-valued queue lengths, networks, and processes whose state is itself a sequence, not just real chains. Theorem 1 is the basic tool for working with the order on such spaces: it converts between integrals, couplings, kernels and closed increasing sets.

Formalizing it. All results are proved in the paper (1977); none is machine-checked. The platform has the special case of Theorem 1 (i) ⇔\Leftrightarrow⇔ (iv) for E=RnE = \mathbb R^nE=Rn as an open statement (PalmQueueing.Ordering.strassen_st); the general partially ordered Polish case, and the sequence comparison, are new. A formal development yields a reusable library for the stochastic order on general ordered spaces and its interaction with Mathlib's Ionescu-Tulcea construction of process laws (Kernel.trajMeasure).

Difficulty

The obvious argument for Theorem 2 couples the processes step by step: couple X1≤Y1X_1 \le Y_1X1​≤Y1​, then, given the two histories, couple X2≤Y2X_2 \le Y_2X2​≤Y2​, and so on. Each step needs a monotone coupling of pn(xn−1,⋅)p_n(x^{n-1},\cdot)pn​(xn−1,⋅) and qn(yn−1,⋅)q_n(y^{n-1},\cdot)qn​(yn−1,⋅) chosen measurably in the pair of histories; the existence of one coupling for each fixed pair (Theorem 1) does not by itself give a kernel.

Theorem 1's central implication, from the integral inequality to a coupling supported on the closed set {x≤y}\{x \le y\}{x≤y}, is Strassen's theorem. On R\mathbb RR it follows from quantile functions; on a general ordered space there is no such formula. Passing from finite horizons to the infinite sequence is a further step, since an ordering of every finite-dimensional marginal must be turned into an ordering of the infinite-dimensional laws.

Formalization scope

  • A partially ordered Polish space is [TopologicalSpace E] [PolishSpace E] [MeasurableSpace E] [BorelSpace E] [PartialOrder E] [OrderClosedTopology E]. This is the paper's standing assumption (Sec. 1, p. 899) and is carried by every theorem, also where a statement says only "Polish space". All sets and functions the paper quantifies over are measurable, also by the standing assumption.
  • StochLE P₁ P₂ is defined through bounded measurable monotone functions, exactly as on p. 899. It is not defined through increasing sets, closed increasing sets or couplings, so none of the milestones holds by definition.
  • Sequences are 0-based: the paper's EiE_iEi​, XiX_iXi​ are Lean's E (i - 1), X (i - 1), and the paper's kernel pnp_npn​ (n≥2n \ge 2n≥2) is p (n - 2) : Kernel (Π i : Iic (n - 2), E i) (E (n - 1)), the signature of Mathlib's Ionescu-Tulcea API.
  • "Random sequences with initial law P1P_1P1​ and conditional laws pnp_npn​" is encoded through their joint law, which these data determine: the law of (Xn)(X_n)(Xn​) is Kernel.trajMeasure P₁ p. Corollary 1 is stated about these laws directly. The goal therefore cannot be met by coupling only one-dimensional marginals or finite prefixes; it asserts the joint laws of the full sequences and one almost-sure event for all indices.
  • Hypothesis (4) is required pointwise for all ordered pairs of histories; no stochastic monotonicity of the kernels is assumed.
  • Corollary 1 (iii) takes expectations in the extended sense, Ef=Ef+−Ef−E f = E f^+ - E f^-Ef=Ef+−Ef− in EReal, and "the expectation exists" means the two parts are not both infinite; expectations equal to ±∞\pm\infty±∞ are covered.
  • Theorem 1 (iii) and Proposition 4 (iii) leave the law of the real variable ZZZ free, as the paper does.
  • Theorem 3 (p. 904) prints the conditional increment law of TTT as qn+1(T1,…,Tn;A+Sn)q_{n+1}(T_1, \dots, T_n; A + S_n)qn+1​(T1​,…,Tn​;A+Sn​); this is a misprint for A+TnA + T_nA+Tn​, and the Lean states the corrected form. Its compatible vector structure is [AddCommGroup E] [Module ℝ E] [ContinuousAdd E] [ContinuousSMul ℝ E] plus the hypothesis that translates of increasing sets are increasing.
  • Not included: Sections 4–5 (continuous time, which needs the Skorohod space).

Welcome contributions: proofs of the milestones, in particular Strassen's coupling theorem on partially ordered Polish spaces, a measurable-selection lemma for monotone couplings, and general lemmas relating StochLE to increasing sets.

The source is the published version (The Annals of Probability), and printed page = PDF page + 898 throughout.

Selected references

  • T. Kamae, U. Krengel, G. L. O'Brien, Stochastic Inequalities on Partially Ordered Spaces, The Annals of Probability 5(6), 1977, 899–912. https://doi.org/10.1214/aop/1176995659
  • V. Strassen, The existence of probability measures with given marginals, The Annals of Mathematical Statistics 36(2), 1965, 423–439. https://doi.org/10.1214/aoms/1177700153
  • G. L. O'Brien, The comparison method for stochastic processes, The Annals of Probability 3, 1975, 80–88. https://projecteuclid.org/journals/annals-of-probability/volume-3/issue-1
  • D. J. Daley, Stochastically monotone Markov chains, Zeitschrift für Wahrscheinlichkeitstheorie und verwandte Gebiete 10, 1968, 307–317 (as cited in the paper).
  • G. I. Kalmykov, On the partial ordering of one-dimensional Markov processes, Theory of Probability and its Applications 7, 1962, 456–459 (as cited in the paper).
13 thms1 active userReviewed
PreviousPage 16 of 18Next

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