Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

Operations Research

2,338 missions · 1,113 completed

The discipline of applying mathematical analysis to complex decision problems in operations: allocating scarce resources, scheduling, routing, inventory, and the design of service and production systems. Drawing on mathematical programming, stochastic modeling, queueing, simulation, and game-theoretic reasoning, it seeks policies that perform provably well in systems shaped by constraints, congestion, and uncertainty.

Missions

Open1225Completed1113All2338
ProbabilityStochastic Systems·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 DesignProbabilityStatistics+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 DesignProbabilityStatistics+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
Convex OptimizationNumerical AnalysisOptimization·Captain: mikedeng1

A Coordinate Gradient Descent Method for Nonsmooth Separable Minimization 3: The Local Lipschitzian Error Bound Holds for Polyhedral P with Quadratic or Composite f, and for Strongly Convex fResearch Paper

Motivation

Many problems in statistics, signal processing and machine learning minimize the sum of a smooth function and a convex but nonsmooth one: ℓ1\ell_1ℓ1​-regularized least squares (the Lasso), bound-constrained problems, and group-sparse regression are standard examples. Tseng and Yun (Math. Program. Ser. B 117 (2009) 387–423) proposed the coordinate gradient descent (CGD) method for this class and proved that it converges linearly under a local Lipschitzian error bound, Assumption 2(a) of their paper. An assumption is only as useful as the list of problems known to satisfy it. Section 6 of the paper supplies that list, and this mission formalizes it.

Error bounds of this kind have a history in smooth constrained optimization. Luo and Tseng proved them for quadratic objectives over polyhedral sets (Luo–Tseng 1992, SIAM J. Optim.), for strongly convex functions composed with a linear map (Luo–Tseng 1992, SIAM J. Control Optim.), and for dual functionals of linearly constrained strictly convex programs (Luo–Tseng 1993, Math. Oper. Res.), and used them to derive linear rates for feasible descent methods (Luo–Tseng 1993, Ann. Oper. Res.). Tseng and Yun carry these results over to the nonsmooth problem (1) by reformulating it as a smooth problem over the epigraph of the nonsmooth part.

Setting

Throughout, Rn\mathbb R^nRn carries the Euclidean norm ∥⋅∥\|\cdot\|∥⋅∥. The problem is

min⁡x  Fc(x)=f(x)+cP(x),(1)\min_x\; F_c(x) = f(x) + cP(x), \qquad (1)xmin​Fc​(x)=f(x)+cP(x),(1)

where c>0c > 0c>0, P:Rn→(−∞,∞]P:\mathbb R^n \to (-\infty,\infty]P:Rn→(−∞,∞] is proper, convex and lower semicontinuous with effective domain dom⁡P={x∣P(x)<∞}\operatorname{dom}P = \{x \mid P(x) < \infty\}domP={x∣P(x)<∞}, and fff is continuously differentiable on an open set containing dom⁡P\operatorname{dom}PdomP.

The residual at x∈dom⁡Px \in \operatorname{dom}Px∈domP is

dI(x)=arg⁡min⁡d{∇f(x)⊤d+12∥d∥2+cP(x+d)},d_I(x) = \arg\min_d \Big\{\nabla f(x)^\top d + \tfrac12\|d\|^2 + cP(x+d)\Big\},dI​(x)=argdmin​{∇f(x)⊤d+21​∥d∥2+cP(x+d)},

the unique minimizer of a strongly convex function. A point x∈dom⁡Px \in \operatorname{dom}Px∈domP is stationary if the one-sided directional derivative satisfies Fc′(x;d)≥0F_c'(x;d) \ge 0Fc′​(x;d)≥0 for every direction ddd; Xˉ\bar XXˉ denotes the set of stationary points and dist⁡(x,Xˉ)\operatorname{dist}(x,\bar X)dist(x,Xˉ) the distance to it. A point is stationary exactly when its residual vanishes.

Assumption 2(a) asks that Xˉ≠∅\bar X \neq \emptysetXˉ=∅ and that for every level ζ\zetaζ there be constants τ,ϵ>0\tau, \epsilon > 0τ,ϵ>0 with

dist⁡(x,Xˉ)≤τ∥dI(x)∥whenever Fc(x)≤ζ, ∥dI(x)∥≤ϵ.\operatorname{dist}(x,\bar X) \le \tau\|d_I(x)\| \quad\text{whenever } F_c(x) \le \zeta,\ \|d_I(x)\| \le \epsilon.dist(x,Xˉ)≤τ∥dI​(x)∥whenever Fc​(x)≤ζ, ∥dI​(x)∥≤ϵ.

Writing epi⁡P={(x,ξ)∣P(x)≤ξ}\operatorname{epi}P = \{(x,\xi) \mid P(x) \le \xi\}epiP={(x,ξ)∣P(x)≤ξ}, problem (1) is equivalent to the smooth problem min⁡{f(x)+cξ∣(x,ξ)∈epi⁡P}\min\{f(x) + c\xi \mid (x,\xi) \in \operatorname{epi}P\}min{f(x)+cξ∣(x,ξ)∈epiP} (41). Its projection residual at (x,ξ)(x,\xi)(x,ξ) is the optimal solution (d~,δ~)(\tilde d,\tilde\delta)(d~,δ~) of

min⁡(d,δ){∇f(x)⊤d+12∥d∥2+12δ2+cδ  ∣  (x+d,ξ+δ)∈epi⁡P}.(42)\min_{(d,\delta)}\Big\{\nabla f(x)^\top d + \tfrac12\|d\|^2 + \tfrac12\delta^2 + c\delta \;\Big|\; (x+d,\xi+\delta) \in \operatorname{epi}P\Big\}. \qquad (42)(d,δ)min​{∇f(x)⊤d+21​∥d∥2+21​δ2+cδ​(x+d,ξ+δ)∈epiP}.(42)

PPP is polyhedral if epi⁡P\operatorname{epi}PepiP is the solution set of finitely many linear inequalities in (x,ξ)(x,\xi)(x,ξ); fff is quadratic if f(x)=12x⊤Ax+b⊤x+c0f(x) = \tfrac12 x^\top Ax + b^\top x + c_0f(x)=21​x⊤Ax+b⊤x+c0​ with AAA symmetric, not necessarily positive semidefinite. The four problem classes are:

  • C1: fff quadratic, PPP polyhedral;
  • C2: f(x)=g(Ex)+q⊤xf(x) = g(Ex) + q^\top xf(x)=g(Ex)+q⊤x with ggg strongly convex and differentiable on Rm\mathbb R^mRm, ∇g\nabla g∇g Lipschitz, PPP polyhedral;
  • C3: f(x)=max⁡y∈Y{(Ex)⊤y−g(y)}+q⊤xf(x) = \max_{y\in Y}\{(Ex)^\top y - g(y)\} + q^\top xf(x)=maxy∈Y​{(Ex)⊤y−g(y)}+q⊤x with YYY polyhedral and ggg as in C2, PPP polyhedral;
  • C4: fff strongly convex with ∇f\nabla f∇f Lipschitz on dom⁡P\operatorname{dom}PdomP (condition (22)).

Formalization targets

Goal: Theorem 4 (p. 412)

(Xˉ≠∅ ∧ (C1∨C2∨C3)) ∨ C4  ⟹  Assumption 2(a).\Big(\bar X \neq \emptyset \ \wedge\ (\mathrm{C1} \vee \mathrm{C2} \vee \mathrm{C3})\Big) \ \vee\ \mathrm{C4} \;\Longrightarrow\; \text{Assumption 2(a)}.(Xˉ=∅ ∧ (C1∨C2∨C3)) ∨ C4⟹Assumption 2(a).

Under C4, nonemptiness of Xˉ\bar XXˉ is part of the conclusion. The constants τ,ϵ\tau, \epsilonτ,ϵ are existential, so the goal does not depend on any particular estimate.

Milestone: Lemma 6 (p. 410)

If PPP is Lipschitz on dom⁡P\operatorname{dom}PdomP with constant KKK, there is κ>0\kappa > 0κ>0 depending only on KKK with

∥(d~,δ~)∥≤κ ∥dI(x)∥(x∈dom⁡P, ξ=P(x)).\|(\tilde d,\tilde\delta)\| \le \kappa\,\|d_I(x)\| \qquad (x \in \operatorname{dom}P,\ \xi = P(x)).∥(d~,δ~)∥≤κ∥dI​(x)∥(x∈domP, ξ=P(x)).

Milestone: Lemma 7 (p. 411)

If Xˉ≠∅\bar X \neq \emptysetXˉ=∅ and C1, C2 or C3 holds, then for every ζ\zetaζ there are τ′,ϵ′>0\tau', \epsilon' > 0τ′,ϵ′>0 with

dist⁡(x,Xˉ)≤τ′∥(d~,δ~)∥whenever Fc(x)≤ζ, ∥(d~,δ~)∥≤ϵ′,(44)\operatorname{dist}(x,\bar X) \le \tau'\|(\tilde d,\tilde\delta)\| \quad\text{whenever } F_c(x) \le \zeta,\ \|(\tilde d,\tilde\delta)\| \le \epsilon', \qquad (44)dist(x,Xˉ)≤τ′∥(d~,δ~)∥whenever Fc​(x)≤ζ, ∥(d~,δ~)∥≤ϵ′,(44)

where (d~,δ~)(\tilde d,\tilde\delta)(d~,δ~) solves (42) with ξ=P(x)\xi = P(x)ξ=P(x).

A further item, not a milestone, states the remark after Assumption 2 (p. 404) that Assumption 2(b) (stationary points with different objective values are uniformly separated) holds whenever fff is convex.

Significance

Theorem 4 is what makes the linear convergence theorem of the paper (Theorem 2, the subject of the second mission of this series) applicable. Through C1 it covers every problem with a quadratic fff and a polyhedral PPP, including the Lasso and ℓ1\ell_1ℓ1​-regularized or bound-constrained quadratic programs, without convexity of fff. Through C2 it covers losses of the form g(Ex)g(Ex)g(Ex) with ggg strongly convex, such as least squares 12∥Ex−b∥2\tfrac12\|Ex - b\|^221​∥Ex−b∥2, where fff itself is not strongly convex because EEE may have a nontrivial kernel. These error bounds became a standard tool for linear rates of proximal and coordinate methods without strong convexity.

The paper's result is proved, but Lemma 7 is proved by citation: it applies three error bounds of Luo and Tseng to the reformulation (41). A complete formalization therefore requires those error bounds for smooth problems over polyhedral sets, which are not in Mathlib. To our knowledge none of the results of this mission has a machine-checked proof.

Difficulty

Lemma 6 and the C4 case of Theorem 4 are short inequality arguments. The difficulty is Lemma 7. The natural first idea, proving an error bound from strong convexity, fails for C1–C3: fff may be nonconvex (C1) or have a degenerate Hessian (C2, C3), and the objective f(x)+cξf(x) + c\xif(x)+cξ of (41) is never strongly convex in (x,ξ)(x,\xi)(x,ξ). What replaces strong convexity is the polyhedral structure of epi⁡P\operatorname{epi}PepiP, and the cited Luo–Tseng error bounds that exploit it are substantial results in their own right, each of which has to be established for a projection residual over a general polyhedron in Rn+1\mathbb R^{n+1}Rn+1.

Formalization scope

Rn\mathbb R^nRn is EuclideanSpace ℝ (Fin n), with indices 0,…,n−10,\dots,n-10,…,n−1. PPP is the pair (D,P)(D, P)(D,P), its effective domain and its finite values there, with "proper, convex, lsc" given by the published ProxNewton.Inexact.IsProperClosedConvex. The value +∞+\infty+∞ is never computed: every statement quantifies over x∈Dx \in Dx∈D, and membership in epi⁡P\operatorname{epi}PepiP is x + d ∈ D ∧ P (x + d) ≤ ξ + δ. dI(x)d_I(x)dI​(x) is a chosen minimizer of its subproblem, which at x∈Dx \in Dx∈D is the paper's unique one. The solutions of (42) enter through a predicate, and every bound is asserted for every optimal solution. Stationarity is the liminf form of Fc′(x;d)≥0F_c'(x;d) \ge 0Fc′​(x;d)≥0. dist⁡\operatorname{dist}dist is the infimum distance. Assumption 2(a) quantifies over every real ζ\zetaζ, which agrees with the paper's "ζ≥min⁡Fc\zeta \ge \min F_cζ≥minFc​" because the condition is vacuous below inf⁡Fc\inf F_cinfFc​. In Lemma 6 the constant κ\kappaκ is quantified before the dimension and the data, so it depends on the Lipschitz constant only.

Explicit choices relative to the printed text:

  • In C4, strong convexity and (22) are required on dom⁡P\operatorname{dom}PdomP only, since fff is only assumed smooth near dom⁡P\operatorname{dom}PdomP. This hypothesis is weaker than the paper's, so the formal theorem is at least as strong.
  • In C2 and C3, EEE is a continuous linear map Rn→Rm\mathbb R^n \to \mathbb R^mRn→Rm (equivalently an m×nm \times nm×n matrix). Strong convexity has a positive modulus and ∇g\nabla g∇g is globally Lipschitz.
  • In C3, the maximum must be attained at every xxx, which forces Y≠∅Y \neq \emptysetY=∅, as the paper's formula presumes.
  • Assumption 2(b) for convex fff is stated with convexity on dom⁡P\operatorname{dom}PdomP.

A polyhedrality notion that admits only affine or constant PPP, an Assumption 2(a) whose constants are chosen after xxx, and a Lemma 7 whose residual is dI(x)d_I(x)dI​(x) instead of the solution of (42) would all trivialize or change the statements. The encoding rules out each of them: polyhedral means a finite system of linear inequalities in (x,ξ)(x,\xi)(x,ξ), the constants precede xxx, and Lemma 7 is stated for (42).

Welcome contributions: proofs of Lemma 6 and of the C4 case; Lipschitz continuity of polyhedral functions on their domain (Rockafellar–Wets, Example 9.35); the Luo–Tseng error bounds for affine variational inequalities and for composite strongly convex objectives over polyhedra, which can be reused well beyond this mission.

Selected references

  • P. Tseng, S. Yun, A coordinate gradient descent method for nonsmooth separable minimization, Math. Program. Ser. B 117 (2009) 387–423. https://doi.org/10.1007/s10107-007-0170-0
  • Z.-Q. Luo, P. Tseng, Error bounds and the convergence analysis of matrix splitting algorithms for the affine variational inequality problem, SIAM J. Optim. 2 (1992) 43–54. https://doi.org/10.1137/0802004
  • Z.-Q. Luo, P. Tseng, On the linear convergence of descent methods for convex essentially smooth minimization, SIAM J. Control Optim. 30 (1992) 408–425. https://doi.org/10.1137/0330025
  • Z.-Q. Luo, P. Tseng, On the convergence rate of dual ascent methods for linearly constrained convex minimization, Math. Oper. Res. 18 (1993) 846–867. https://doi.org/10.1287/moor.18.4.846
  • Z.-Q. Luo, P. Tseng, Error bounds and convergence analysis of feasible descent methods: a general approach, Ann. Oper. Res. 46 (1993) 157–178. https://doi.org/10.1007/BF02096261
  • R. T. Rockafellar, R. J.-B. Wets, Variational Analysis, Springer, 1998. https://doi.org/10.1007/978-3-642-02431-3
7 thms1 active userReviewed
Dynamic ProgrammingOptimizationProbability·Captain: mikedeng1

On the Structure of Lost-Sales Inventory Models 3: If Demand Increases in the Convex Order, the Optimal Lost-Sales Cost f̄_t(v; φ) Is Nondecreasing in φResearch Paper

Motivation

In the periodic-review inventory model with lost sales, demand that cannot be met from stock is lost rather than backordered. With a positive order lead time LLL the state of the system is a vector of length LLL: on-hand stock plus the L−1L-1L−1 orders still in the pipeline. This model is standard in retail, where a customer facing an empty shelf buys elsewhere. Its optimal policy is not a base-stock policy and depends on the whole pipeline vector, which makes it much harder to analyse than the backorder model.

A basic question for any stochastic inventory model is how its optimal cost responds to uncertainty in demand. For the backorder model it is classical that more variable demand costs more (Song 1994). Zipkin's paper (Oper. Res. 56(4), 2008, 937–944) recasts the lost-sales model in a transformed state in which the optimal cost functions are L♮^\natural♮-convex. Its §5 uses this structure to prove the lost-sales analogue: if demand becomes more variable in the convex order, the optimal cost does not decrease. The paper presents this as new in the lost-sales setting.

Timeline of the structural results the mission rests on:

  • 1958: Karlin and Scarf analyse the lost-sales model with lead time one and show that the optimal order decreases in the on-hand stock, with sensitivity less than one.
  • 1969: Morton extends these monotonicity and bounded-sensitivity properties to general lead times and derives bounds on the optimal order.
  • 2008: Zipkin reproves these properties through L♮^\natural♮-convexity in the transformed state (Theorem 4) and adds the parametric result of §5 (Theorem 11).

Setting

The order lead time is a positive integer LLL. The cost factors are the unit procurement cost ccc, the unit holding cost h^\hat hh^, the unit lost-sales penalty ppp and the discount factor γ\gammaγ. Demands in different periods are independent and nonnegative, with a common law. The paper treats states and orders as continuous.

Transformed state. A state is a vector v=(v0,…,vL−1)v=(v_0,\dots,v_{L-1})v=(v0​,…,vL−1​), where vlv_lvl​ is the stock on hand plus all orders due to arrive lll or more periods hence, and vL=0v_L=0vL​=0 by convention. So v0v_0v0​ is the inventory position and v0−v1v_0-v_1v0​−v1​ is the stock on hand. The state space is

V={v∈RL: v0≥v1≥⋯≥vL−1≥0}.V=\{v\in\mathbb R^L:\ v_0\ge v_1\ge\cdots\ge v_{L-1}\ge0\}.V={v∈RL: v0​≥v1​≥⋯≥vL−1​≥0}.

The action is ζ=−z≤0\zeta=-z\le0ζ=−z≤0, where z≥0z\ge0z≥0 is the order quantity, and eee is the all-ones vector. After demand ddd, the next state is

v+=([v0−v1−d]++v1, v2, …, vL−1, 0)−ζe.v_+=\big([v_0-v_1-d]^++v_1,\ v_2,\ \dots,\ v_{L-1},\ 0\big)-\zeta e.v+​=([v0​−v1​−d]++v1​, v2​, …, vL−1​, 0)−ζe.

Costs and recursion. The end-of-period holding and penalty cost is q^(u)=h^u++pu−\hat q(u)=\hat hu^++pu^-q^​(u)=h^u++pu−, and its expectation given on-hand stock yyy is q^0(y)=E[q^(y−d)]\hat q^0(y)=E[\hat q(y-d)]q^​0(y)=E[q^​(y−d)]. The optimal cost functions satisfy

gˉt(v,ζ)=−γLcζ+q^0(v0−v1)+γE[fˉt+1(v+)],fˉt(v)=min⁡ζ≤0gˉt(v,ζ),\bar g_t(v,\zeta)=-\gamma^Lc\zeta+\hat q^0(v_0-v_1)+\gamma E[\bar f_{t+1}(v_+)],\qquad \bar f_t(v)=\min_{\zeta\le0}\bar g_t(v,\zeta),gˉ​t​(v,ζ)=−γLcζ+q^​0(v0​−v1​)+γE[fˉ​t+1​(v+​)],fˉ​t​(v)=ζ≤0min​gˉ​t​(v,ζ),

with fˉT+L+1=0\bar f_{T+L+1}=0fˉ​T+L+1​=0. This is the paper's recursion (1)–(2), written in the state vvv.

Program (4). Fix a demand ddd. Choosing the next stock level v+v_+v+​, with −d≤v+−v0≤0-d\le v_+-v_0\le0−d≤v+​−v0​≤0 and v+≥v1v_+\ge v_1v+​≥v1​, gives

κˉt(v,ζ∣d)=min⁡v+{h^(v+−v1)+p(v+−v0+d)+γfˉt+1[(v+,v2,…,vL−1,0)−ζe]}.\bar\kappa_t(v,\zeta\mid d)=\min_{v_+}\Big\{\hat h(v_+-v_1)+p(v_+-v_0+d)+\gamma\bar f_{t+1}\big[(v_+,v_2,\dots,v_{L-1},0)-\zeta e\big]\Big\}.κˉt​(v,ζ∣d)=v+​min​{h^(v+​−v1​)+p(v+​−v0​+d)+γfˉ​t+1​[(v+​,v2​,…,vL−1​,0)−ζe]}.

Here v+−v1v_+-v_1v+​−v1​ is the leftover stock and d−(v0−v+)d-(v_0-v_+)d−(v0​−v+​) the unmet demand.

Parametric demand. The demand d(ϕ)d(\phi)d(ϕ) depends on a real parameter ϕ\phiϕ, with law μϕ\mu_\phiμϕ​, and fˉt(v;ϕ)\bar f_t(v;\phi)fˉ​t​(v;ϕ) is the optimal cost under μϕ\mu_\phiμϕ​. A random variable XXX is smaller than YYY in the convex order if E g(X)≤E g(Y)E\,g(X)\le E\,g(Y)Eg(X)≤Eg(Y) for every convex g:R→Rg:\mathbb R\to\mathbb Rg:R→R for which both expectations exist. This forces equal means and a variance that does not decrease.

Formalization targets

Goal: Theorem 11 (p. 941)

If d(ϕ)d(\phi)d(ϕ) is increasing in ϕ\phiϕ with respect to the convex order, then for all ttt and all v∈Vv\in Vv∈V,

ϕ≤ϕ′ ⟹ fˉt(v;ϕ)≤fˉt(v;ϕ′).\phi\le\phi'\ \Longrightarrow\ \bar f_t(v;\phi)\le\bar f_t(v;\phi').ϕ≤ϕ′ ⟹ fˉ​t​(v;ϕ)≤fˉ​t​(v;ϕ′).

Milestones, in attack order

  1. Reformulation (proof of Theorem 4, p. 939). For v∈Vv\in Vv∈V, ζ≤0\zeta\le0ζ≤0, d≥0d\ge0d≥0, the stock level v+=[v0−v1−d]++v1v_+=[v_0-v_1-d]^++v_1v+​=[v0​−v1​−d]++v1​ is optimal in program (4):
κˉt(v,ζ∣d)=q^(v0−v1−d)+γfˉt+1(v+).\bar\kappa_t(v,\zeta\mid d)=\hat q(v_0-v_1-d)+\gamma\bar f_{t+1}(v_+).κˉt​(v,ζ∣d)=q^​(v0​−v1​−d)+γfˉ​t+1​(v+​).
  1. Convexity of the optimal cost (Theorem 4, p. 939, with the remark on p. 938). fˉt\bar f_tfˉ​t​ is convex on VVV for every ttt.
  2. The key step (proof of Theorem 11, p. 941). If FFF is convex and nonnegative on VVV, then program (4) with continuation FFF is jointly convex in (v,ζ,d)(v,\zeta,d)(v,ζ,d) on {v∈V, ζ≤0, d≥0}\{v\in V,\ \zeta\le0,\ d\ge0\}{v∈V, ζ≤0, d≥0}.
  3. The induction step (proof of Theorem 11, p. 941). If fˉt+1(v;ϕ)\bar f_{t+1}(v;\phi)fˉ​t+1​(v;ϕ) is nondecreasing in ϕ\phiϕ on VVV, then so is gˉt(v,ζ;ϕ)\bar g_t(v,\zeta;\phi)gˉ​t​(v,ζ;ϕ) for every ζ≤0\zeta\le0ζ≤0.

Significance

Theorem 11 is a comparative-statics statement: replacing demand by a mean-preserving spread cannot lower the optimal cost from any starting state, at any horizon. It justifies valuing variance reduction in lost-sales systems, for example forecasting or demand pooling, without solving the high-dimensional dynamic program. The induction pattern of the proof transfers to other parametric questions about the model; §6 of the paper notes that the parametric analysis remains valid in several extensions.

The paper proves Theorem 11 in a few lines on top of Theorem 4. No machine-checked proof of the result or of its structural prerequisites is known: neither the lost-sales recursion in the transformed state nor its convexity is formalized. A complete development checks the measure-theoretic steps the paper leaves implicit: that the optimal costs are finite, the existence of the expectations, and the passage from convexity in ddd on [0,∞)[0,\infty)[0,∞) to the convex order's test functions on R\mathbb RR.

Difficulty

The argument looks immediate: the costs are convex, so the convex order should apply directly. It does not. The function to which the convex order must be applied is the end-of-period cost as a function of demand. In recursion (1) that function is q^(v0−v1−d)+γfˉt+1(v+(d))\hat q(v_0-v_1-d)+\gamma\bar f_{t+1}(v_+(d))q^​(v0​−v1​−d)+γfˉ​t+1​(v+​(d)), where the next state depends on ddd through the kink [v0−v1−d]+[v_0-v_1-d]^+[v0​−v1​−d]+. Convexity of fˉt+1\bar f_{t+1}fˉ​t+1​ alone does not make this composition convex in ddd. The paper avoids the issue by passing to program (4), where the amount of demand filled is a decision. That requires two facts: that selling as much as possible is optimal (milestone 1), and that the program is jointly convex in state, action and demand (milestone 3), which needs convexity of fˉt+1\bar f_{t+1}fˉ​t+1​ on all of VVV (milestone 2). A second difficulty is analytic: the optimal costs are defined by infima and expectations, and one must show that these are finite and integrable before any order comparison applies.

Formalization scope

  • Model. States are Fin L → ℝ with 0-based indices matching the paper. vL=0v_L=0vL​=0 is the helper vext. VVV is the set of antitone, nonnegative vectors.
  • Time. Data are stationary, so the optimal cost is indexed by the number of periods to go kkk, with fˉ=0\bar f=0fˉ​=0 at k=0k=0k=0. The paper's "for all ttt" is "for all kkk".
  • Demand. One-period demand has law μ\muμ, a probability measure on R\mathbb RR with μ((−∞,0))=0\mu((-\infty,0))=0μ((−∞,0))=0 and finite mean. The finite mean is not in the paper; it is added so that q^0\hat q^0q^​0 is finite.
  • Parametric family. A family μϕ\mu_\phiμϕ​, ϕ∈R\phi\in\mathbb Rϕ∈R, with every hypothesis imposed for every ϕ\phiϕ. Every object depending on demand takes the law as an argument, so fˉt(v;ϕ)\bar f_t(v;\phi)fˉ​t​(v;ϕ) is fbar … (μ φ) k v.
  • Costs. "Unit cost" and "discount rate" are read as c,h^,p≥0c,\hat h,p\ge0c,h^,p≥0 and 0<γ≤10<\gamma\le10<γ≤1.
  • Minima. "Min" over orders is an infimum over ζ≤0\zeta\le0ζ≤0, and program (4) is an infimum over the interval [max⁡(v0−d,v1),v0][\max(v_0-d,v_1),v_0][max(v0​−d,v1​),v0​]. Lean's infimum is 000 on sets that are unbounded below or empty. Nonnegative costs and demand keep the infima genuine, and the generic key-step milestone assumes the continuation is nonnegative.
  • Expectations. Bochner integrals.
  • Convex order. The platform definition StochasticOrders.Convex.ConvexOrder (Shaked–Shanthikumar (3.A.1)), applied to the identity on (R,μϕ)(\mathbb R,\mu_\phi)(R,μϕ​). Equal means are a consequence and are not assumed.
  • Convexity milestone. Stated for the model's fˉ\bar ffˉ​ only, not as "L♮^\natural♮-convex implies convex" in general, which fails without regularity.

Ruled out. Value functions that collapse to a junk constant would make Theorem 11 trivially true. This is excluded because the recursion is defined, not assumed, and every cost and demand hypothesis is imposed for every ϕ\phiϕ. Replacing the convex order by "variance nondecreasing", by the increasing convex order, or by test functions convex only on [0,∞)[0,\infty)[0,∞) changes the theorem and is not accepted.

Infrastructure and contributions. A complete development needs:

  • finiteness and integrability of the optimal costs;
  • convexity of partial infima over convex fibers;
  • monotone extension of a function convex on [0,∞)[0,\infty)[0,∞) to all of R\mathbb RR.

The model file is shared in shape with the series' missions 1 (L♮^\natural♮-convexity) and 2 (policy bounds), and its convexity lemmas are reusable for other parametric comparisons of the lost-sales model. Proofs of any milestone, and alternative arguments that bypass program (4), are welcome.

Selected references

  • P. Zipkin, On the structure of lost-sales inventory models, Operations Research 56(4), 937–944, 2008. https://doi.org/10.1287/opre.1070.0482
  • S. Karlin, H. Scarf, Inventory models of the Arrow–Harris–Marschak type with time lag, in Studies in the Mathematical Theory of Inventory and Production, Chapter 10, Stanford University Press, 1958.
  • T. E. 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).
  • J.-S. Song, The effect of leadtime uncertainty in a simple stochastic inventory model, Management Science 40(5), 603–613, 1994. https://doi.org/10.1287/mnsc.40.5.603
  • D. Stoyan, Comparison Methods for Queues and Other Stochastic Models, Wiley, 1983.
  • M. Shaked, J. G. Shanthikumar, Stochastic Orders, Springer, 2007. https://doi.org/10.1007/978-0-387-34675-5
8 thms1 active userReviewed
CombinatoricsGraph TheoryLinear Optimization+1·Captain: mikedeng1

Approximating Minimum Bounded Degree Spanning Trees to within One of Optimal 2: Under Lower and Upper Degree Bounds, Iterative Rounding Finds a Connecting Tree of LP Cost within A_v − 1 and B_v + 1Research Paper

Motivation

Network design problems often ask for a cheap spanning tree in which no vertex is overloaded: in multicast and overlay networks the degree of a node bounds the number of copies it must forward, and in physical networks it bounds the number of ports. The minimum bounded degree spanning tree problem asks for a minimum-cost spanning tree whose degrees respect given bounds. Deciding whether a graph has a spanning tree of maximum degree 2 is already the Hamiltonian path problem, so exact solutions are out of reach, and the question becomes how little the bounds and the cost must be relaxed.

Some problems also impose lower bounds: a vertex that must serve as a hub, or a leaf-avoidance requirement, asks for degree at least AvA_vAv​. Singh and Lau (STOC 2007) showed that the iterative rounding method they used for upper bounds extends to both kinds at once: a spanning tree of cost at most the LP optimum whose degree at every vertex lies in [Av−1, Bv+1][A_v-1,\,B_v+1][Av​−1,Bv​+1].

Timeline. Fürer and Raghavachari (1994) found a spanning tree of maximum degree at most Δ∗+1\Delta^*+1Δ∗+1 in the unweighted case. For costs, Goemans (FOCS 2006) obtained cost at most OPT with degrees at most Bv+2B_v+2Bv​+2. Singh and Lau (STOC 2007) improved this to Bv+1B_v+1Bv​+1, which is the best possible additive violation unless P = NP, and gave the extension to lower and upper bounds formalized here. The journal version appeared in J. ACM 62(1), 2015.

Setting

Let G=(V,E)G=(V,E)G=(V,E) be a finite simple graph with edge costs ce∈Rc_e\in\mathbb Rce​∈R; no sign or triangle inequality is assumed. Let FFF be a forest on VVV with no edge in common with EEE. A set H⊆EH\subseteq EH⊆E is an FFF-tree if H∪FH\cup FH∪F is a spanning tree of VVV, and dH(v)d_H(v)dH​(v) is the number of edges of HHH at vvv. Integer lower bounds AvA_vAv​ are given on U⊆VU\subseteq VU⊆V and integer upper bounds BvB_vBv​ on W⊆VW\subseteq VW⊆V. The minimum bounded degree connecting tree problem asks for a cheapest FFF-tree with Av≤dH(v)A_v\le d_H(v)Av​≤dH​(v) on UUU and dH(v)≤Bvd_H(v)\le B_vdH​(v)≤Bv​ on WWW; with F=∅F=\varnothingF=∅ it is the spanning-tree problem.

The supernodes are the vertex sets of the components of (V,F)(V,F)(V,F), isolated vertices included, and I(F)\mathcal I(F)I(F) is the family of unions of supernodes. For S⊆VS\subseteq VS⊆V, E(S)E(S)E(S) and F(S)F(S)F(S) are the edges with both endpoints in SSS, δ(S)\delta(S)δ(S) the edges with exactly one endpoint in SSS, and x(D)=∑e∈Dxex(D)=\sum_{e\in D}x_ex(D)=∑e∈D​xe​. The linear relaxation LP-MBDCT(G,A,B,U,W,F)(G,\mathcal A,\mathcal B,U,W,F)(G,A,B,U,W,F) minimizes ∑ecexe\sum_e c_ex_e∑e​ce​xe​ subject to

x(E(V))=∣V∣−∣F(V)∣−1,x(E(S))≤∣S∣−∣F(S)∣−1 (S∈I(F)),Av≤x(δ(v)) (v∈U),x(δ(v))≤Bv (v∈W),x≥0.x(E(V))=|V|-|F(V)|-1,\quad x(E(S))\le|S|-|F(S)|-1\ (S\in\mathcal I(F)),\quad A_v\le x(\delta(v))\ (v\in U),\quad x(\delta(v))\le B_v\ (v\in W),\quad x\ge0.x(E(V))=∣V∣−∣F(V)∣−1,x(E(S))≤∣S∣−∣F(S)∣−1 (S∈I(F)),Av​≤x(δ(v)) (v∈U),x(δ(v))≤Bv​ (v∈W),x≥0.

MBDCT Algorithm2 (Figure 5 of the paper) repeats: if FFF is a spanning tree, stop; otherwise take a basic optimal solution x∗x^*x∗, delete the edges with xe∗=0x^*_e=0xe∗​=0, move one edge with xe∗=1x^*_e=1xe∗​=1 (if any) into FFF and lower AAA and BBB by one at its endpoints, and otherwise remove from UUU and WWW one vertex whose support degree is at most two.

Formalization targets

Goal: Theorem 5.2

For every well-formed instance whose LP is feasible, MBDCT Algorithm2

  1. has a terminating run;
  2. makes at most ∣V∣−∣F∣−1+∣U∪W∣|V|-|F|-1+|U\cup W|∣V∣−∣F∣−1+∣U∪W∣ iterations on every run;
  3. returns only FFF-trees H⊆EH\subseteq EH⊆E with
c(H)≤∑e∈Ecexe for every feasible x,Av−1≤dH(v) (v∈U),dH(v)≤Bv+1 (v∈W).c(H)\le\sum_{e\in E}c_ex_e\ \text{for every feasible }x,\qquad A_v-1\le d_H(v)\ (v\in U),\qquad d_H(v)\le B_v+1\ (v\in W).c(H)≤e∈E∑​ce​xe​ for every feasible x,Av​−1≤dH​(v) (v∈U),dH​(v)≤Bv​+1 (v∈W).

The statement fixes no constants beyond the paper's ±1\pm1±1, and it is uniform over every choice of basic optimal solution, 1-edge and removed vertex.

Milestones

In the order the proof uses them: Lemma 5.3 (a basic solution is determined by a laminar family of tight sets and tight lower and upper degree rows, with ∣E∗∣=∣L∣+∣TU∣+∣TW∣|E^*|=|\mathcal L|+|T_U|+|T_W|∣E∗∣=∣L∣+∣TU​∣+∣TW​∣); Claims 5.4, 5.7, 5.8 and 5.9 (special supernodes, cut sizes, the value x∗(D(S))=r−1x^*(D(S))=r-1x∗(D(S))=r−1 on the edges between the rrr members of SSS, and when a set is special); Lemma 5.6 (every set of L\mathcal LL keeps at least three tokens, exactly three only if it is special or VVV); and Lemma 5.1 (a basic solution has an edge with xe∗=1x^*_e=1xe∗​=1 or a vertex of U∪WU\cup WU∪W with support degree two).

Significance

The theorem gives, in one algorithm, a tree that is no more expensive than the LP lower bound and whose degrees miss both bounds by at most one. For the pure upper-bound problem it implies the (1,Bv+1)(1,B_v+1)(1,Bv​+1) guarantee, which cannot be improved to BvB_vBv​ unless P = NP, since a Hamiltonian path is the case Bv≡2B_v\equiv 2Bv​≡2. With lower bounds it also covers prescribed minimum degrees.

The result is proved in the paper; no machine-checked proof of it, or of any iterative rounding analysis, is known to exist. No platform item treats bounded-degree spanning trees or iterative rounding; the nearest related item is the open Williamson–Shmoys minimum-degree spanning tree local-search goal, which concerns a different, unweighted problem. Formalizing this mission requires the extreme-point structure of the spanning tree polytope with degree constraints (uncrossing to a laminar family), the token counting argument, and the induction over the algorithm's recursion, all of which are reusable for other iterative rounding results.

Difficulty

The obvious argument rounds an optimal LP solution once. It fails: an optimal vertex may be entirely fractional, and no single rounding keeps both the cost and the degrees. The algorithm instead re-solves the LP after each change, and its correctness rests on Lemma 5.1, that every extreme point of the current LP has an integral edge or a vertex with support degree two. That lemma is a counting statement about extreme points: the rank bound ∣E∗∣=∣L∣+∣TU∣+∣TW∣|E^*|=|\mathcal L|+|T_U|+|T_W|∣E∗∣=∣L∣+∣TU​∣+∣TW​∣ from a laminar basis must be contradicted by a token distribution. With upper bounds only, every set of the laminar family can collect four tokens. With lower bounds a set may collect only three, and the proof must characterize those sets (special sets, Definition 5.5) and show by linear independence that the remaining cases cannot occur. A second difficulty is that the guarantee concerns the final tree after many iterations, so the degree accounting must survive the changes of AAA, BBB, UUU, WWW and FFF along the run.

Formalization scope

Vertices form a Fintype; edges are elements of Sym2 V with no loops, and EEE, FFF are finite sets of edges with FFF acyclic and disjoint from EEE. LP vectors are functions on Sym2 V that vanish off EEE. Right-hand sides are computed in R\mathbb RR, degree bounds are integers, and the subtour rows range over nonempty S∈I(F)S\in\mathcal I(F)S∈I(F) (at S=∅S=\varnothingS=∅ the literal row 0≤−10\le-10≤−1 would make the LP empty). A basic solution is a feasible xxx that is the only vector on EEE satisfying with equality every constraint tight at xxx, including the tight rows xe=0x_e=0xe​=0. Supernodes are never contracted: the paper's contraction of a supernode with one active vertex is a proof device, and all of §5.1's notions are stated on the original instance.

The paper's loose phrases are made explicit as follows.

  • "Polynomial time" becomes the iteration bound; the LP is solved by an oracle that returns any basic optimal solution. The ellipsoid method and the separation oracle are out of scope.
  • "The algorithm returns" becomes three claims: a run exists, every run is bounded, and every returned set satisfies the guarantee. The guarantee alone would hold vacuously for a relation that can get stuck.
  • "Cost at most the cost of the optimal LP solution" becomes c(H)≤c⋅xc(H)\le c\cdot xc(H)≤c⋅x for every feasible xxx.
  • "Distribute the tokens" (Lemma 5.6) becomes a counting inequality on the surplus of tokens.
  • Claim 5.9's "contains exactly three special members" means that SSS has exactly three members, all of them special.
  • Figure 5's Step 4 is guarded by "no edge was picked in Step 3", as the paper's text under Lemma 5.1 states.
  • "FFF is not a spanning tree" and LP feasibility are explicit hypotheses where the paper leaves them implicit.

Two trivializations are ruled out. Existence of a cheap tree with degrees in [Av−1,Bv+1][A_v-1,B_v+1][Av​−1,Bv​+1] is not the target: the statement is about the algorithm's outputs and quantifies over all of them. And a run that never terminates does not satisfy the goal, which requires a run to exist and every run to be bounded.

Contributions are welcome at every level: the laminar uncrossing argument (Lemma 5.3), which is reusable for any spanning-tree LP with degree rows; the counting claims; and the invariants of the recursion.

Selected references

  • M. Singh, L. C. Lau, Approximating minimum bounded degree spanning trees to within one of optimal, STOC 2007, pp. 661–670. https://doi.org/10.1145/1250790.1250887
  • M. Singh, L. C. Lau, Approximating minimum bounded degree spanning trees to within one of optimal, J. ACM 62(1), 2015. https://doi.org/10.1145/2629366
  • M. X. Goemans, Minimum bounded degree spanning trees, FOCS 2006, pp. 273–282. https://doi.org/10.1109/FOCS.2006.48
  • M. Fürer, B. Raghavachari, Approximating the minimum-degree Steiner tree to within one of optimal, J. Algorithms 17(3), 1994, pp. 409–423. https://doi.org/10.1006/jagm.1994.1042
12 thms1 active userReviewed
Convex OptimizationNumerical AnalysisOptimization·Captain: mikedeng1

A Coordinate Gradient Descent Method for Nonsmooth Separable Minimization 2: Under a Local Lipschitzian Error Bound, CGD with the Restricted Gauss–Seidel Rule Converges LinearlyResearch Paper

Motivation

Many problems in statistics, signal processing and machine learning minimize the sum of a smooth loss and a convex, nonsmooth, separable regularizer: smooth optimization with ℓ1\ell_1ℓ1​-regularization, bound-constrained optimization, the group Lasso and, through duality, support vector regression are special cases listed in §1 of the paper discussed below. For such problems, methods that update one coordinate, or one small block of coordinates, at a time are often the method of choice, because each update is cheap and exploits separability.

Paul Tseng and Sangwoon Yun (Math. Program. Ser. B 117 (2009) 387–423) introduced the coordinate gradient descent (CGD) method for this class: at each iteration it minimizes a quadratic model of the smooth part plus the exact nonsmooth part over a chosen block of coordinates, then takes an Armijo step. Their paper proves global convergence (Theorem 1) and, under a local error bound, linear convergence (Theorems 2 and 3). This mission is the second of a three-mission series on the paper; it targets the linear convergence theorem for the cyclic (Gauss–Seidel-type) choice of blocks.

The analysis follows Luo and Tseng's error-bound framework for smooth constrained problems (Ann. Oper. Res. 46 (1993) 157–178), which established linear rates for feasible descent methods without strong convexity. Tseng and Yun extend that framework to a nonsmooth convex term.

Setting

Let ℜn\Re^nℜn carry the Euclidean norm ∥⋅∥\|\cdot\|∥⋅∥, let N={1,…,n}\mathcal N=\{1,\dots,n\}N={1,…,n}, and for J⊆N\mathcal J\subseteq\mathcal NJ⊆N let xJx_{\mathcal J}xJ​ be the subvector of coordinates in J\mathcal JJ. The problem (1) is

min⁡x Fc(x)=f(x)+cP(x),\min_x\ F_c(x)=f(x)+cP(x),xmin​ Fc​(x)=f(x)+cP(x),

where c>0c>0c>0, P:ℜn→(−∞,∞]P:\Re^n\to(-\infty,\infty]P:ℜn→(−∞,∞] is proper, convex and lower semicontinuous, and fff is continuously differentiable on an open set containing dom⁡P\operatorname{dom}PdomP.

Given x∈dom⁡Px\in\operatorname{dom}Px∈domP, a nonempty block J\mathcal JJ and a symmetric positive definite matrix HHH, the direction (6) is

dH(x;J)=arg⁡min⁡d{∇f(x)Td+12dTHd+cP(x+d) ∣ dj=0 ∀j∉J}.d_H(x;\mathcal J)=\arg\min_d\Big\{\nabla f(x)^Td+\tfrac12d^THd+cP(x+d)\ \Big|\ d_j=0\ \forall j\notin\mathcal J\Big\}.dH​(x;J)=argdmin​{∇f(x)Td+21​dTHd+cP(x+d) ​ dj​=0 ∀j∈/J}.

The CGD method starts at x0∈dom⁡Px^0\in\operatorname{dom}Px0∈domP, chooses at each iteration kkk a block Jk\mathcal J^kJk and a matrix HkH^kHk, computes dk=dHk(xk;Jk)d^k=d_{H^k}(x^k;\mathcal J^k)dk=dHk​(xk;Jk), and sets xk+1=xk+αkdkx^{k+1}=x^k+\alpha^kd^kxk+1=xk+αkdk. The Armijo rule takes αk\alpha^kαk as the largest element of {αinitkβj}j≥0\{\alpha^k_{\rm init}\beta^j\}_{j\ge0}{αinitk​βj}j≥0​ with

Fc(xk+αkdk)≤Fc(xk)+αkσΔk,Δk=∇f(xk)Tdk+γ dkTHkdk+cP(xk+dk)−cP(xk),F_c(x^k+\alpha^kd^k)\le F_c(x^k)+\alpha^k\sigma\Delta^k,\qquad \Delta^k=\nabla f(x^k)^Td^k+\gamma\,d^{kT}H^kd^k+cP(x^k+d^k)-cP(x^k),Fc​(xk+αkdk)≤Fc​(xk)+αkσΔk,Δk=∇f(xk)Tdk+γdkTHkdk+cP(xk+dk)−cP(xk),

with 0<β,σ<10<\beta,\sigma<10<β,σ<1 and 0≤γ<10\le\gamma<10≤γ<1. The restricted Gauss–Seidel rule (12) asks for indices 0=t0<t1<⋯0=t_0<t_1<\cdots0=t0​<t1​<⋯ (the set T\mathcal TT) such that the blocks used during each cycle ti≤k<ti+1t_i\le k<t_{i+1}ti​≤k<ti+1​ are pairwise disjoint and cover N\mathcal NN. PPP is block-separable with respect to J\mathcal JJ if P(x)=PJ(xJ)+PJC(xJC)P(x)=P_{\mathcal J}(x_{\mathcal J})+P_{\mathcal J^C}(x_{\mathcal J^C})P(x)=PJ​(xJ​)+PJC​(xJC​).

The analysis uses three assumptions: ∇f\nabla f∇f is LLL-Lipschitz on dom⁡P\operatorname{dom}PdomP (22); Assumption 1, λˉI⪰Hk⪰λ‾I\bar\lambda I\succeq H^k\succeq\underline\lambda IλˉI⪰Hk⪰λ​I with 0<λ‾≤λˉ0<\underline\lambda\le\bar\lambda0<λ​≤λˉ; and Assumption 2. Writing Xˉ\bar XXˉ for the set of stationary points of FcF_cFc​ and dI(x)d_I(x)dI​(x) for the full direction with H=IH=IH=I, Assumption 2 says (a) Xˉ≠∅\bar X\ne\emptysetXˉ=∅ and the local Lipschitzian error bound dist⁡(x,Xˉ)≤τ∥dI(x)∥\operatorname{dist}(x,\bar X)\le\tau\|d_I(x)\|dist(x,Xˉ)≤τ∥dI​(x)∥ holds on every level set {Fc≤ζ}\{F_c\le\zeta\}{Fc​≤ζ} wherever ∥dI(x)∥≤ϵ\|d_I(x)\|\le\epsilon∥dI​(x)∥≤ϵ; (b) stationary points with different objective values are at least a fixed distance δ>0\delta>0δ>0 apart.

Formalization targets

Goal: Theorem 2(b)

Under (22), Assumptions 1 and 2, the restricted Gauss–Seidel rule, block-separability of PPP with respect to every Jk\mathcal J^kJk, and Armijo steps with sup⁡kαinitk≤1\sup_k\alpha^k_{\rm init}\le1supk​αinitk​≤1 and inf⁡kαinitk>0\inf_k\alpha^k_{\rm init}>0infk​αinitk​>0:

{Fc(xk)}↓−∞or({Fc(xk)}T Q-linear and {xk}T R-linear).\{F_c(x^k)\}\downarrow-\infty\quad\text{or}\quad\big(\{F_c(x^k)\}_{\mathcal T}\ \text{Q-linear}\ \text{and}\ \{x^k\}_{\mathcal T}\ \text{R-linear}\big).{Fc​(xk)}↓−∞or({Fc​(xk)}T​ Q-linear and {xk}T​ R-linear).

No rate constant is fixed: the goal asserts the shape of the convergence, so it is not invalidated by sharper constants.

Milestones

Lemma 4 (Hölder dependence of the subproblem's solution on its linear term), Lemma 5(a) (a per-block variational inequality), Lemma 5(b) (an explicit stepsize at which the Armijo test passes), Theorem 1(f) (Armijo stepsizes bounded away from zero, Δk→0\Delta^k\to0Δk→0, dk→0d^k\to0dk→0), and Theorem 2(a) (the residual ∥dI(xk)∥\|d_I(x^k)\|∥dI​(xk)∥ at the start of a cycle is bounded by the step lengths of the cycle).

Significance

Theorem 2(b) gives a linear rate for a block coordinate method on a nonsmooth, possibly nonconvex composite problem without strong convexity: the rate follows from the error bound, which holds for a large class of problems studied in §6 of the paper (the third mission of this series).

The theorem is proved in the paper; none of it has been machine-checked, as far as a search of the Prove2Me library shows. Formalizing it requires a reusable treatment of extended-valued convex functions through their effective domains, of the coordinate-restricted proximal subproblem, and of the Armijo rule for composite objectives. The milestones Lemma 4 and Lemma 5 are self-contained facts about this subproblem and are reusable for other proximal coordinate methods.

Difficulty

The classical route to a linear rate, as in Luo and Tseng's smooth analysis, derives Fc(xk+1)−υˉ≤τ′∥xk+1−xk∥2F_c(x^{k+1})-\bar\upsilon\le\tau'\|x^{k+1}-x^k\|^2Fc​(xk+1)−υˉ≤τ′∥xk+1−xk∥2 from the error bound, where υˉ\bar\upsilonυˉ is the limit value. With a nonsmooth PPP this inequality is not available: the authors say so on p. 405, and work with −Δk-\Delta^k−Δk in place of the quadratic term. A second obstacle is that the error bound controls the full residual dI(xk)d_I(x^k)dI​(xk), while each iteration only computes a block direction at a different point; relating the two over a cycle needs the disjointness of the blocks in the restricted rule and block-separability of PPP. Neither the global analysis nor the error bound alone gives the rate.

Formalization scope

ℜn\Re^nℜn is EuclideanSpace ℝ (Fin n), with 0-based coordinates. The extended-valued PPP is encoded as a pair: its effective domain D=dom⁡PD=\operatorname{dom}PD=domP and its finite values on DDD, with "proper convex lsc" given by the published definition ProxNewton.Inexact.IsProperClosedConvex; FcF_cFc​ is never evaluated off DDD, and every statement carries membership in DDD explicitly. The direction dH(x;J)d_H(x;\mathcal J)dH​(x;J) is the unique minimizer of (6) when x∈Dx\in Dx∈D and H≻0H\succ0H≻0 (chosen by Classical.epsilon), and runs of the method carry the minimizer property itself. The Armijo rule takes the first admissible exponent jjj. T\mathcal TT is a strictly increasing map ttt with t0=0t_0=0t0​=0. Stationarity is Fc′(x;d)≥0F_c'(x;d)\ge0Fc′​(x;d)≥0 for all ddd, in liminf form. In Assumption 2, dist⁡\operatorname{dist}dist is the infimum distance and "for any ζ≥min⁡Fc\zeta\ge\min F_cζ≥minFc​" is "for every real ζ\zetaζ" (equivalent, since the condition is empty below inf⁡Fc\inf F_cinfFc​). Q-linear convergence includes convergence of the sequence; R-linear convergence is ∥xti−xˉ∥≤Cqi\|x^{t_i}-\bar x\|\le Cq^i∥xti​−xˉ∥≤Cqi with q<1q<1q<1. The rates in the goal are along T\mathcal TT, as the paper states.

Explicit choices relative to the printed text:

  • Theorem 2(a) is corrected. As printed, ∥dI(xk)∥≤sup⁡jαj C rk\|d_I(x^k)\|\le\sup_j\alpha^j\,C\,r^k∥dI​(xk)∥≤supj​αjCrk fails for small constant stepsizes and fails without block-separability (counterexamples in the item's statement). The milestone states ∥dI(xk)∥≤max⁡{1,sup⁡jαj} C rk\|d_I(x^k)\|\le\max\{1,\sup_j\alpha^j\}\,C\,r^k∥dI​(xk)∥≤max{1,supj​αj}Crk under block-separability of PPP with respect to every Jk\mathcal J^kJk (both are what the paper's proof gives and what Theorem 2(b) supplies), with the iterates in dom⁡P\operatorname{dom}PdomP, and with CCC quantified before the problem data, so it depends only on n,L,λ‾,λˉn,L,\underline\lambda,\bar\lambdan,L,λ​,λˉ.
  • Lemma 5(b)'s range 0≤α≤min⁡{1,2λ‾(1−σ+σγ)/L}0\le\alpha\le\min\{1,2\underline\lambda(1-\sigma+\sigma\gamma)/L\}0≤α≤min{1,2λ​(1−σ+σγ)/L} is stated as 0≤α≤10\le\alpha\le10≤α≤1 and αL≤2λ‾(1−σ+σγ)\alpha L\le2\underline\lambda(1-\sigma+\sigma\gamma)αL≤2λ​(1−σ+σγ), so that L=0L=0L=0 gives [0,1][0,1][0,1] as on paper rather than {0}\{0\}{0}.
  • Lemma 5(a) holds for every decomposition of PPP in (20), and xˉ\bar xxˉ ranges over dom⁡PJ\operatorname{dom}P_{\mathcal J}domPJ​ (outside it the left side is −∞-\infty−∞).
  • "lim⁡Fc(xk)>−∞\lim F_c(x^k)>-\inftylimFc​(xk)>−∞" is "the values Fc(xk)F_c(x^k)Fc​(xk) are bounded below"; "{Fc(xk)}↓−∞\{F_c(x^k)\}\downarrow-\infty{Fc​(xk)}↓−∞" is "nonincreasing and tending to −∞-\infty−∞"; suprema and infima of stepsizes are explicit bounds.

A statement that replaces Assumption 2 by strong convexity, claims a rate along the whole sequence rather than along T\mathcal TT, or asserts the Q-linear contraction without convergence to a limit is not this theorem and is out of scope.

Lemma 1, the claim after (10), Lemma 3 and Theorem 1(a), which the proof also uses, are milestones of the first mission of this series and are not restated here. Theorem 3 (the same conclusion along the whole sequence for the Gauss–Southwell-q rule) is not included: its proof is omitted in the paper. Contributions welcome: proofs of the milestones, and general facts about the coordinate-restricted proximal subproblem (existence and uniqueness of dH(x;J)d_H(x;\mathcal J)dH​(x;J), optimality conditions) that the milestones rely on.

Selected references

  • P. Tseng and S. Yun, A coordinate gradient descent method for nonsmooth separable minimization, Mathematical Programming Ser. B 117 (2009) 387–423. https://doi.org/10.1007/s10107-007-0170-0
  • Z.-Q. Luo and P. Tseng, Error bounds and convergence analysis of feasible descent methods: a general approach, Annals of Operations Research 46 (1993) 157–178. https://doi.org/10.1007/BF02096261
  • J. M. Ortega and W. C. Rheinboldt, Iterative Solution of Nonlinear Equations in Several Variables, Academic Press, 1970, Chap. 9 (Q- and R-linear convergence). https://doi.org/10.1137/1.9780898719468
  • R. T. Rockafellar and R. J.-B. Wets, Variational Analysis, Springer, 1998. https://doi.org/10.1007/978-3-642-02431-3
9 thms1 active userReviewed
AnalysisProbabilityStochastic Systems·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 ProgrammingOptimizationProbability·Captain: mikedeng1

Negative Dynamic Programming III: If the Actions Are Essentially Finite, Value Iteration from Zero Converges to the Optimal Return and a Stationary Policy Is OptimalResearch Paper

Motivation

A dynamic programming problem in Blackwell's sense describes a controller who observes the state of a system, picks an action, collects a return, and watches the system move at random to a new state, forever. Blackwell treated the discounted case, with a bounded return and a discount factor below one (Blackwell 1965), and the positive bounded case. Strauch's paper (Strauch 1966) studies the third case, the negative case: the return is non-positive and there is no discounting. Equivalently, a non-negative cost is minimized over an infinite horizon. This is the setting of stochastic shortest-path, optimal stopping with costs, and many inventory and search problems in which the total cost may be infinite.

In the negative case two standard tools of the discounted theory break down. An optimal policy need not exist, and the natural algorithm, value iteration from the zero function, need not converge to the optimal return. Strauch's §9 gives a condition on the action sets, essential finiteness, under which both are restored. The introduction (p. 872) summarizes the finite case: "In the negative case, … if A is finite, there is an optimal policy (Section 9)." In the later terminology of Bertsekas and Shreve (1978), Strauch's negative case is their positive-cost model, for which value iteration from zero is known to require such finiteness or compactness conditions.

Setting

The state space SSS and the action space AAA are non-empty Borel sets. The law of motion q(⋅∣s,a)q(\cdot\mid s,a)q(⋅∣s,a) is a probability measure on SSS depending measurably on (s,a)(s,a)(s,a). The return r(s,a,t)r(s,a,t)r(s,a,t), collected when action aaa is taken in state sss and the next state is ttt, is a Borel function with −∞<r≤0-\infty<r\le 0−∞<r≤0 and ∫r(s,a,t) dq(t∣s,a)>−∞\int r(s,a,t)\,dq(t\mid s,a)>-\infty∫r(s,a,t)dq(t∣s,a)>−∞ for every (s,a)(s,a)(s,a).

A policy π=(π1,π2,… )\pi=(\pi_1,\pi_2,\dots)π=(π1​,π2​,…) chooses the nnnth action at random, with a law depending measurably on the whole history (s1,a1,…,sn)(s_1,a_1,\dots,s_n)(s1​,a1​,…,sn​). A Markov policy (f1,f2,… )(f_1,f_2,\dots)(f1​,f2​,…) is a sequence of measurable maps S→AS\to AS→A; the stationary policy f(∞)f^{(\infty)}f(∞) uses one map fff at every stage. The expected return from the initial state sss is

I(π)(s)=∑n=1∞π1q⋯πnq r (s)∈[−∞,0],I(\pi)(s)=\sum_{n=1}^\infty \pi_1q\cdots\pi_nq\,r\,(s)\in[-\infty,0],I(π)(s)=n=1∑∞​π1​q⋯πn​qr(s)∈[−∞,0],

the sum of the expected stage returns. The optimal return is v∗=sup⁡πI(π)v^*=\sup_\pi I(\pi)v∗=supπ​I(π), over all policies, and π∗\pi^*π∗ is optimal if I(π∗)≥v∗I(\pi^*)\ge v^*I(π∗)≥v∗ at every state.

For a measurable f:S→Af:S\to Af:S→A and a non-positive Borel uuu, the operator TTT of fff is

Tu(s)=∫[r(s,f(s),t)+u(t)] dq(t∣s,f(s)),Tu(s)=\int\big[r(s,f(s),t)+u(t)\big]\,dq(t\mid s,f(s)),Tu(s)=∫[r(s,f(s),t)+u(t)]dq(t∣s,f(s)),

and the operator of a Markov policy π∗=(f1,f2,… )\pi^*=(f_1,f_2,\dots)π∗=(f1​,f2​,…) is Uu=sup⁡nTnuUu=\sup_nT_nuUu=supn​Tn​u, with TnT_nTn​ the operator of fnf_nfn​. Value iteration is the sequence Un0U^n0Un0.

Actions aaa and bbb are equivalent at sss if r(s,a,⋅)=r(s,b,⋅)r(s,a,\cdot)=r(s,b,\cdot)r(s,a,⋅)=r(s,b,⋅) and q(⋅∣s,a)=q(⋅∣s,b)q(\cdot\mid s,a)=q(\cdot\mid s,b)q(⋅∣s,a)=q(⋅∣s,b). AAA is essentially finite by π∗\pi^*π∗ if there is a partition of SSS into Borel sets S1,S2,…S_1,S_2,\dotsS1​,S2​,… such that for s∈Sns\in S_ns∈Sn​ every action is equivalent at sss to one of f1(s),…,fn(s)f_1(s),\dots,f_n(s)f1​(s),…,fn​(s). A finite AAA is essentially finite by any Markov policy whose first ∣A∣|A|∣A∣ rules are the constant rules.

Formalization targets

Goal: Theorem 9.1 (N), p. 887

If AAA is essentially finite by π∗\pi^*π∗ and UUU is the operator of π∗\pi^*π∗, then

Un0(s)→n→∞v∗(s)=sup⁡πI(π)(s)for every s,and∃f: I(f(∞))≥v∗.U^n0(s)\xrightarrow[n\to\infty]{}v^*(s)=\sup_\pi I(\pi)(s)\quad\text{for every } s,\qquad\text{and}\qquad \exists f:\ I(f^{(\infty)})\ge v^*.Un0(s)n→∞​v∗(s)=πsup​I(π)(s)for every s,and∃f: I(f(∞))≥v∗.

Both parts are kept together, as printed. The goal fixes no constants and no rate.

Milestones

  1. Lemma 6.1 (N), p. 880. For every Markov policy π^\hat\piπ^ with operator UUU, lim⁡nUn0\lim_nU^n0limn​Un0 exists and
lim⁡nUn0 ≥ sup⁡π∈G(π^)I(π) ≥ sup⁡f(∞)∈G(π^)I(f(∞)),\lim_nU^n0\ \ge\ \sup_{\pi\in G(\hat\pi)}I(\pi)\ \ge\ \sup_{f^{(\infty)}\in G(\hat\pi)}I(f^{(\infty)}),nlim​Un0 ≥ π∈G(π^)sup​I(π) ≥ f(∞)∈G(π^)sup​I(f(∞)),

where G(π^)G(\hat\pi)G(π^) is the set of π^\hat\piπ^-generated policies (each rule equal to fnf_nfn​ on the nnnth piece of a Borel partition). 2. Proof of Theorem 8.4, p. 887. sup⁡πI(π)=sup⁡{I(π^)∣π^ Markov}\sup_\pi I(\pi)=\sup\{I(\hat\pi)\mid\hat\pi\text{ Markov}\}supπ​I(π)=sup{I(π^)∣π^ Markov} pointwise. 3. Proof of Theorem 9.1, p. 887, first step. Under essential finiteness, Un0U^n0Un0 is non-increasing and I(π)≤v∞:=lim⁡nUn0I(\pi)\le v^\infty:=\lim_nU^n0I(π)≤v∞:=limn​Un0 for every policy π\piπ. 4. Proof of Theorem 9.1, p. 887, second step. Under essential finiteness, Uv∞≥v∞Uv^\infty\ge v^\inftyUv∞≥v∞.

Inside the proof of Theorem 9.1 the paper writes v∗v^*v∗ for lim⁡nUn0\lim_nU^n0limn​Un0; the mission writes v∞v^\inftyv∞ for it and reserves v∗v^*v∗ for sup⁡πI(π)\sup_\pi I(\pi)supπ​I(π).

An optional extra item states the introduction's special case: if AAA is finite, an optimal policy exists (§1, p. 872).

Significance

Theorem 9.1 gives, in the negative case, both a computational and an existential conclusion. Value iteration from zero computes the optimal return, so the optimal total cost of an essentially finite problem is the limit of the optimal finite-horizon costs. An optimal policy exists and can be taken stationary, so the controller needs only a single measurable decision rule. Without a hypothesis of this kind neither conclusion holds in the negative case; Example 6.1 of the paper exhibits a problem where the limit of value iteration, the best return among generated policies, and the best stationary return all differ.

The result is proved in the paper. What the mission adds is a machine-checked statement and, eventually, proof of it on general Borel spaces, with the return allowed to equal −∞-\infty−∞. Blackwell's discounted analogue already has a published statement on Prove2Me (DiscountedDP.Stationary.theorem7b_optimal_stationary), in a bounded-return model; the negative case is a separate statement in a separate model. No formalization of the negative case is known to exist.

Difficulty

The discounted proof rests on the contraction property of UUU in the supremum norm, and in the negative case that property is missing: returns are unbounded below and there is no discount. The obvious argument, "Un0U^n0Un0 decreases to some v∞v^\inftyv∞, and v∞v^\inftyv∞ is the optimal return because finite-horizon play approximates infinite play", fails at the second step. The finite-horizon optimum can stay strictly above the infinite-horizon optimum, because a policy can postpone a cost beyond every fixed horizon; this is exactly the gap Example 6.1 exhibits. Closing it needs the essential finiteness of the actions together with the reduction of arbitrary policies to Markov ones (milestone 2), whose proof in the paper passes through the measurable-selection results of §7–§8.

Formalization scope

  • The state and action spaces are non-empty standard Borel types; "Baire function" means Borel measurable.
  • The law of motion is a Markov kernel; the return is real-valued, non-positive, Borel, and integrable against every q(⋅∣s,a)q(\cdot\mid s,a)q(⋅∣s,a) (the paper's r>−∞r>-\inftyr>−∞ and qr>−∞qr>-\inftyqr>−∞).
  • Returns live in EReal and are computed as minus the lintegral of the loss −r-r−r, which keeps the value −∞-\infty−∞. I(π)I(\pi)I(π) is the sum over stages of the expected stage loss, which equals the paper's integral over futures by monotone convergence.
  • v∗v^*v∗ is the supremum over every randomized history-dependent plan, never over Markov or stationary policies only, and it is not defined through UUU. Defining v∗v^*v∗ as lim⁡nUn0\lim_nU^n0limn​Un0 would make part (a) of the goal hold by unfolding; this trivializing formalization is excluded.
  • Optimality is against every plan, at every state.
  • UUU is the operator of the fixed π∗\pi^*π∗ of the hypothesis, applied from the zero function; convergence is pointwise in EReal.
  • Stages are numbered from 000 in Lean. Essential finiteness is zero-based: Lean's piece nnn is the paper's Sn+1S_{n+1}Sn+1​ and allows the rules f1,…,fn+1f_1,\dots,f_{n+1}f1​,…,fn+1​. The pieces are measurable, pairwise disjoint and cover SSS; empty pieces are allowed, as in the paper.
  • Explicit choices: the existence of lim⁡Un0\lim U^n0limUn0 in Lemma 6.1 is part of the statement; the limit in the steps of Theorem 9.1 is written as the infimum of the non-increasing sequence.
  • Only the negative case is formalized; the paper's discounted and positive parts are not.

Policies, Markov policies, stationary policies and π^\hat\piπ^-generated rules come from the published definitions DiscountedDP.Stationary.Model, .Return and .Operators; the negative model is defined locally because the published Problem has a bounded return and a discount factor below one. A complete development needs the Ionescu-Tulcea construction of the history laws (already encoded as iterated composition products), monotone convergence for kernels, the measurable-selection step behind milestone 2, and a pigeonhole argument over the essentially finite action classes. The model and the Markov-reduction milestone are reusable by the other missions of this series. Proofs of any milestone, and alternative routes to milestone 2, are welcome.

Selected references

  • R. E. Strauch, Negative Dynamic Programming, The Annals of Mathematical Statistics 37(4), 871–890, 1966. https://doi.org/10.1214/aoms/1177699369
  • D. Blackwell, Discounted Dynamic Programming, The Annals of Mathematical Statistics 36(1), 226–235, 1965. https://doi.org/10.1214/aoms/1177700285
  • D. P. Bertsekas and S. E. Shreve, Stochastic Optimal Control: The Discrete-Time Case, Academic Press, 1978. http://web.mit.edu/dimitrib/www/soc.html
11 thms1 active userReviewed
Algorithmic Game TheoryMechanism Design·Captain: mikedeng1

Job Matching, Coalition Formation, and Gross Substitutes 5: An Entering Firm Leaves Every Worker at Least as Well Off, and a Departing Worker Leaves Every Firm No Better OffResearch Paper

Why market entry and exit matter

Adding a firm changes the offers available to workers; removing a worker changes the pool from which firms hire. In markets with salary bargaining, those changes can alter both assignments and pay. Kelso and Crawford asked whether the direction of the change can nevertheless be predicted at the outcome selected by their salary-adjustment process. Their 1982 paper studies firms that may hire groups of workers whose joint product need not be the sum of individual products. Theorem 5 gives two comparative-statics conclusions for that setting: a new firm leaves each worker at least as well off, and retaining a worker leaves each firm at least as well off.

The result follows the paper's finite-termination and firm-optimality results for the salary-adjustment process. Its comparison is specific to the process equilibrium under the no-ties conditions of Section 5; the paper does not claim that every core allocation moves in the same direction. This mission is the fifth of seven on the paper. Mission 1 concerns termination and the discrete core, mission 2 the continuous strict core, mission 3 a one-sided market, mission 4 firm optimality, mission 6 returns to workers and gross substitutes, and mission 7 the example without a core. The statements here are drafted independently of the other missions' unpublished declarations. None of this paper's statements was previously available on Prove2Me when the series was planned.

The market and the adjustment process

A market has a finite set WWW of workers and a finite, nonempty set FFF of firms. Worker iii's utility from employment at firm jjj for salary sss is ui(j;s)u_i(j;s)ui​(j;s). Firm jjj produces yj(C)y^j(C)yj(C) from a set C⊆WC\subseteq WC⊆W and earns profit πj(C;s)=yj(C)−∑i∈Csi\pi^j(C;s)=y^j(C)-\sum_{i\in C}s_iπj(C;s)=yj(C)−∑i∈C​si​. Workers care about their own firm and salary; the firm's product may depend on the whole set it hires. Every worker–firm pair has a starting salary σij\sigma_{ij}σij​, and permitted salaries increase by a common unit δ>0\delta>0δ>0: σij+kδ\sigma_{ij}+k\deltaσij​+kδ for k∈Nk\in\mathbb Nk∈N.

Each round of the salary-adjustment process records permitted salaries, offers from firms, and one tentatively accepted offer for each worker who receives any. Firms choose profit-maximizing sets of workers at current permitted salaries and repeat offers that were not rejected. A worker keeps a favorite available offer. A rejected worker–firm offer causes that pair's permitted salary to rise by δ\deltaδ next round. The process stops when no offer is rejected. An allocation assigns each worker one firm and a salary at that firm; an outcome is the allocation read from a stopping round. The paper calls this a process equilibrium.

An allocation is in the discrete strict core when each worker's salary is permitted and meets the starting salary, each firm's profit is nonnegative, and no firm together with a set of workers can make every participant weakly better off and at least one strictly better off using permitted salaries. The weaker discrete core excludes coalitions that make everyone strictly better off. The paper assumes workers' utilities are continuous and strictly increasing in salary; marginal product (MP) makes hiring an additional worker at the starting salary weakly profitable; no free lunch (NFL) sets the product of the empty set to zero; and gross substitutes (GS) lets a firm keep workers whose salaries did not rise when other workers' salaries increase. Section 5 adds no-ties conditions (NTW) for workers and (NTF) for firms relative to discrete-core allocations. These assumptions and their domains come from Sections 2 and 5.

Formalization targets

The preliminary target is the paper's Corollary to Theorem 4: under these assumptions, all legal runs that stop have the same outcome. A second target is the new-firm-on-the-block process claim stated in the proof of Theorem 5: starting from the original market's final salaries, its outcome is a firm-optimal discrete strict core allocation of the augmented market.

The goal is Theorem 5. Write AAA, A+A^+A+ and A−A^-A− for stopping outcomes in the original market, the market augmented by one firm, and the market without one named worker. The two conclusions are

∀i∈W,ui(A)≤ui(A+),∀j∈F,πj(A−)≤πj(A).\forall i\in W,\quad u_i(A)\leq u_i(A^+),\qquad \forall j\in F,\quad \pi^j(A^-)\leq\pi^j(A).∀i∈W,ui​(A)≤ui​(A+),∀j∈F,πj(A−)≤πj(A).

The first comparison concerns every original worker's utility. The second concerns every original firm's profit. The augmented market retains the original firms' technologies, utilities and starting salaries, and the diminished market restricts those data to workers other than the removed one. All three markets use the same δ\deltaδ and satisfy the conditions of Theorem 4.

What the result establishes

The theorem gives a direction for the effects of entry and worker exit even though assignments and salaries may both change and a firm's product may depend on its entire workforce. The comparisons are individual: every worker is covered by the entry conclusion and every firm by the exit conclusion. Process uniqueness makes these comparisons well-defined despite the choices of favorite sets and favorite offers that a legal run may make.

The mathematical claims were proved in the 1982 paper; the Lean statements in this mission are open proof obligations. The formal development would give reusable finite-market definitions of demand, gross substitutes, core blocking, and an explicit adjustment run. It would also make precise how outcomes in markets with different agent sets are compared. The Corollary and the new-firm process result are separate proof targets. Completing them would support the goal while keeping the paper's two comparative-statics conclusions together.

The main difficulty

Firm entry changes which firm can make the best offer, and worker exit changes which subsets of workers a firm can hire profitably. A direct pointwise comparison of old and new assignments has no fixed correspondence: a worker may switch firms and a firm may hire a different group. Comparing arbitrary strict-core allocations is also insufficient, because Theorem 5 concerns the specific outcome chosen by the adjustment process. The formal proof must account for all legal tie choices and show that the identified stopping outcomes have the required utility and profit order. The paper's proof uses two modified processes; its take-my-marbles process raises the removed worker's salary to a value that need not belong to the discrete salary grid on which (GS) was assumed. This is a genuine modeling boundary for that intermediate statement.

Formalization scope

Workers and firms are finite Lean types, with at least one firm. Salaries, utilities and products are real-valued; δ\deltaδ is positive. An allocation assigns every worker to a firm, as the paper's f:{1,…,m}→{1,…,n}f:\{1,\ldots,m\}\to\{1,\ldots,n\}f:{1,…,m}→{1,…,n} does. Option F represents firm entry: some j is an original firm and none is the entrant. The diminished worker set is the subtype of workers unequal to the removed worker. Gross substitutes is imposed only on the grid vectors each market permits, and (NTW) and (NTF) quantify over discrete-core allocations. Each theorem's assumptions explicitly include utility regularity, MP, NFL, GS, NTW and NTF wherever the paper says “the conditions of Theorem 4.” Section 5 allows starting salaries to vary independently of unemployment utility, so the reservation-salary equation from Section 2 is not imposed.

“The equilibrium” is represented by the outcome at any stopping round of any legal run; the Corollary states why this does not depend on those choices. “Converges in finite time” in the new-firm milestone means that each legal continuation has some stopping round. NFB's initial offers are fixed to the old firms' final offers and an offer from the new firm to every worker, a reading of the first round that NFB1 leaves implicit. The take-my-marbles convergence claim is not drafted because its off-grid starting salary requires a separate convention or a stronger GS assumption. These commitments exclude a vacuous market condition, a continuous-price substitution for the discrete theorem, and a comparison of unrelated markets. Contributions that establish the Corollary, the NFB claim, or the three-market comparison under these definitions are welcome; lemmas about demand and core allocation can be reused across the series.

Selected references

  • A. S. Kelso, Jr. and V. P. Crawford, Job matching, coalition formation, and gross substitutes, Econometrica 50(6), 1982, pp. 1483–1504. DOI: 10.2307/1913392.
6 thms1 active userReviewed
ProbabilityStatistics·Captain: mikedeng1

Simulation Output Analysis Using Standardized Time Series 3: No g in 𝓜 Makes g(σB) Almost Surely Constant, So the Length Bound Is Not AttainedResearch Paper

Motivation

A steady-state simulation produces a single long output path Y={Y(t):t≥0}Y=\{Y(t):t\ge0\}Y={Y(t):t≥0}, and the quantity of interest is its long-run mean μ\muμ. The central difficulty of simulation output analysis is that the observations are correlated, so the classical confidence interval Yˉn(1)±z σ^/n\bar Y_n(1)\pm z\,\hat\sigma/\sqrt nYˉn​(1)±zσ^/n​ needs a consistent estimate of the time-average variance constant σ2\sigma^2σ2, which is hard to obtain. The method of standardized time series (STS), introduced by Schruben (1983) and put on a general footing by Glynn and Iglehart (Math. Oper. Res. 15 (1990)), avoids estimating σ\sigmaσ: it divides the centred sample mean by a functional ggg of the whole sample path that scales like σ\sigmaσ, so that σ\sigmaσ cancels in the limit. Batch means, the area estimator and other procedures used in simulation software are all instances of this construction.

Cancelling σ\sigmaσ has a price. Glynn and Iglehart show (their Corollary 4.16) that every STS interval has asymptotic expected length at least 2σΦ−1(1−δ/2)/n2\sigma\Phi^{-1}(1-\delta/2)/\sqrt n2σΦ−1(1−δ/2)/n​, the length of the interval that knows σ\sigmaσ, and (4.23) that this bound is the infimum over all admissible ggg. This mission formalizes the next question the paper asks and answers: is the infimum attained? Proposition 4.26 says it is not, and the companion results quantify the residual randomness of the interval length.

Setting

C[0,1]C[0,1]C[0,1] is the space of continuous real functions on [0,1][0,1][0,1] with the uniform metric ρ(x,y)=sup⁡t∣x(t)−y(t)∣\rho(x,y)=\sup_t|x(t)-y(t)|ρ(x,y)=supt​∣x(t)−y(t)∣ and its Borel σ\sigmaσ-algebra; k(t)=tk(t)=tk(t)=t, and C0[0,1]={x∈C[0,1]:x(0)=0}C_0[0,1]=\{x\in C[0,1]:x(0)=0\}C0​[0,1]={x∈C[0,1]:x(0)=0}. For g:C[0,1]→Rg:C[0,1]\to\mathbb Rg:C[0,1]→R, D(g)D(g)D(g) is the set of points at which ggg is not continuous. On a probability space (Ω,F,P)(\Omega,\mathcal F,P)(Ω,F,P), BBB is a standard Brownian motion, viewed as a random element of C[0,1]C[0,1]C[0,1].

Assumption (2.1). There are finite constants μ\muμ and σ>0\sigma>0σ>0 such that Xn⇒σBX_n\Rightarrow\sigma BXn​⇒σB in C[0,1]C[0,1]C[0,1], where

Xn(t)=n1/2(Yˉn(t)−μt),Yˉn(t)=1n∫0ntY(s) ds,0≤t≤1.X_n(t)=n^{1/2}\big(\bar Y_n(t)-\mu t\big),\qquad \bar Y_n(t)=\frac1n\int_0^{nt}Y(s)\,ds,\quad 0\le t\le1 .Xn​(t)=n1/2(Yˉn​(t)−μt),Yˉn​(t)=n1​∫0nt​Y(s)ds,0≤t≤1.

The class M\mathcal MM (2.3) consists of the measurable g:C[0,1]→Rg:C[0,1]\to\mathbb Rg:C[0,1]→R with

  1. g(ax)=a g(x)g(ax)=a\,g(x)g(ax)=ag(x) for a>0a>0a>0;
  2. g(x−βk)=g(x)g(x-\beta k)=g(x)g(x−βk)=g(x) for β∈R\beta\in\mathbb Rβ∈R;
  3. P{g(B)>0}=1P\{g(B)>0\}=1P{g(B)>0}=1;
  4. P{B∈D(g)}=0P\{B\in D(g)\}=0P{B∈D(g)}=0.

With H(x)=P{B(1)/g(B)≤x}H(x)=P\{B(1)/g(B)\le x\}H(x)=P{B(1)/g(B)≤x} and α,β\alpha,\betaα,β chosen so that H(β)−H(α)=1−δH(\beta)-H(\alpha)=1-\deltaH(β)−H(α)=1−δ, the interval [Yˉn(1)−g(Yˉn)β, Yˉn(1)−g(Yˉn)α][\bar Y_n(1)-g(\bar Y_n)\beta,\ \bar Y_n(1)-g(\bar Y_n)\alpha][Yˉn​(1)−g(Yˉn​)β, Yˉn​(1)−g(Yˉn​)α] (2.10) is an asymptotic 100(1−δ)%100(1-\delta)\%100(1−δ)% confidence interval for μ\muμ, of width Ln=g(Yˉn)(β−α)L_n=g(\bar Y_n)(\beta-\alpha)Ln​=g(Yˉn​)(β−α).

Formalization targets

Goal: Proposition 4.26

For every σ>0\sigma>0σ>0 there is no g∈Mg\in\mathcal Mg∈M such that, for some α>0\alpha>0α>0,

P{g(σB)=ασ}=1.(4.25)P\{g(\sigma B)=\alpha\sigma\}=1. \qquad (4.25)P{g(σB)=ασ}=1.(4.25)

By the paper's discussion before (4.25), attaining the lower bound of Corollary 4.16 with some g∈Mg\in\mathcal Mg∈M requires (4.25); the goal therefore says that the bound is attained by no g∈Mg\in\mathcal Mg∈M. The goal is stated in terms of (4.25) and not of the limit (4.24), so it does not depend on the expected-length machinery of Corollary 4.16.

Milestones (the steps of the proof, pp. 13–14)

  1. For ∣z∣<η|z|<\eta∣z∣<η: P{∣B(t)−z∣<η, max⁡0≤s≤t∣B(s)∣<2η}>0P\{|B(t)-z|<\eta,\ \max_{0\le s\le t}|B(s)|<2\eta\}>0P{∣B(t)−z∣<η, max0≤s≤t​∣B(s)∣<2η}>0.
  2. (4.27): P{ρ(σB,x)<ε}>0P\{\rho(\sigma B,x)<\varepsilon\}>0P{ρ(σB,x)<ε}>0 for every x∈C0[0,1]x\in C_0[0,1]x∈C0​[0,1] and ε>0\varepsilon>0ε>0.
  3. If the range of ggg over every ε\varepsilonε-neighbourhood of xxx contains {ασ:σ>0}\{\alpha\sigma:\sigma>0\}{ασ:σ>0}, then x∈D(g)x\in D(g)x∈D(g).
  4. Under (2.3i) and (4.25), C0[0,1]⊆D(g)C_0[0,1]\subseteq D(g)C0​[0,1]⊆D(g).

Companions

  • g(B)g(B)g(B) is nondegenerate for every g∈Mg\in\mathcal Mg∈M (p. 14).
  • Proposition 4.32: if {g2(Xn)}\{g^2(X_n)\}{g2(Xn​)} is uniformly integrable, then
lim⁡n→∞nE(Ln−ELn)2=σ2E(g(B)−Eg(B))2(β−α)2>0.\lim_{n\to\infty}nE(L_n-EL_n)^2=\sigma^2E\big(g(B)-Eg(B)\big)^2(\beta-\alpha)^2>0 .n→∞lim​nE(Ln​−ELn​)2=σ2E(g(B)−Eg(B))2(β−α)2>0.

Significance

The result closes the expected-length analysis of STS intervals: the bound 2σΦ−1(1−δ/2)2\sigma\Phi^{-1}(1-\delta/2)2σΦ−1(1−δ/2) is the exact infimum over M\mathcal MM but no single standardization reaches it, so every STS procedure is strictly worse, in expected length, than the interval with known σ\sigmaσ. The companion results explain why: g(B)g(B)g(B) is never degenerate, so n1/2Lnn^{1/2}L_nn1/2Ln​ converges to a nondegenerate random limit and the interval length fluctuates at order n−1/2n^{-1/2}n−1/2, while intervals built on a consistent estimator of σ\sigmaσ (the regenerative method, Proposition 4.34) fluctuate only at order n−1n^{-1}n−1. This is the quantitative trade-off a practitioner faces when choosing between STS and variance-estimation methods.

The paper's results are proved; none of them is formalized. The mission produces machine-checked versions of a support property of Wiener measure on C[0,1]C[0,1]C[0,1] (every path started at 000 is in the support), which is reusable well beyond simulation, and of the deterministic step that turns such a support property into everywhere-discontinuity of a functional.

Difficulty

The goal's statement is elementary, but its proof needs a quantitative fact about Brownian paths: the law of σB\sigma BσB charges every uniform ball around every path in C0[0,1]C_0[0,1]C0​[0,1]. The natural first attempt, using that ggg is continuous PPP-almost everywhere and constant almost surely on σB\sigma BσB, fails without this fact, because almost-sure statements say nothing about any particular path xxx. Mathlib provides Brownian finite-dimensional laws and independent increments, but no small-ball or support estimate for Brownian motion in the uniform metric, so (4.27) has to be built from scratch. A second subtlety is that (4.25) is given for one σ\sigmaσ only; the homogeneity (2.3i) is what upgrades it to all scales, and that upgrade is what makes the range of ggg near xxx unbounded.

Proposition 4.32 needs, in addition, the passage from weak convergence of g(Xn)g(X_n)g(Xn​) to convergence of second moments under uniform integrability, in the space C[0,1]C[0,1]C[0,1].

Formalization scope

  • C[0,1]C[0,1]C[0,1] is C(unitInterval, ℝ) with its sup norm; ρ\rhoρ is dist. Mathlib has no measurable structure on it at this commit, so the Borel σ\sigmaσ-algebra is declared in the mission's definitions file.
  • BBB is a measurable map Ω→C[0,1]\Omega\to C[0,1]Ω→C[0,1] whose coordinates agree, for every ω\omegaω, with a process satisfying Mathlib's IsBrownianReal. "Measurable" in M\mathcal MM means Borel measurable.
  • D(g)D(g)D(g) is the set where ggg is not continuous; P{B∈D(g)}P\{B\in D(g)\}P{B∈D(g)} is the outer measure of the preimage, so no measurability of D(g)D(g)D(g) is assumed.
  • Assumption (2.1) is a structure: joint measurability of YYY, local integrability of its paths (the implicit condition that makes Yˉn\bar Y_nYˉn​ defined), Yˉn\bar Y_nYˉn​ pinned pointwise by its integral formula, σ>0\sigma>0σ>0, and convergence in distribution of XnX_nXn​ to σB\sigma BσB. The index nnn ranges over N\mathbb NN.
  • P{⋅}=1P\{\cdot\}=1P{⋅}=1 is "almost surely". 0<δ<10<\delta<10<δ<1 is added where the confidence level appears.
  • The paper writes "D(g)=C0[0,1]D(g)=C_0[0,1]D(g)=C0​[0,1]" at the end of the proof of Proposition 4.26; its argument proves only C0[0,1]⊆D(g)C_0[0,1]\subseteq D(g)C0​[0,1]⊆D(g), which is what milestone 4 states.
  • Proposition 4.32 uses Bochner integrals; its uniform-integrability hypothesis makes every integral there finite.

The goal is a negation of an existence statement, so it would be trivially true if M\mathcal MM were empty or if the Brownian hypothesis were unsatisfiable. Neither holds: M\mathcal MM contains the batch-means functionals of the paper's Example 3.1 (p. 5), and the goal assumes nothing about small balls, (4.27) or continuity of ggg. Those appear only as milestones.

Contributions welcome: the support theorem for Brownian motion in C[0,1]C[0,1]C[0,1] (milestones 1–2), any of the deterministic steps, and the moment-convergence argument of Proposition 4.32.

Selected references

  • P. W. Glynn and D. L. Iglehart, Simulation output analysis using standardized time series, Mathematics of Operations Research 15(1):1–16, 1990. https://doi.org/10.1287/moor.15.1.1
  • L. Schruben, Confidence interval estimation using standardized time series, Operations Research 31(6):1090–1108, 1983. https://doi.org/10.1287/opre.31.6.1090
  • P. Billingsley, Convergence of Probability Measures, Wiley, 1968. https://doi.org/10.1002/9780470316962
8 thms1 active userReviewed
Bandit AlgorithmsMachine LearningProbability·Captain: mikedeng1

MNL-Bandit: A Dynamic Learning Approach to Assortment Selection III: On Instances Separated by Δ(v) the UCB Policy Has Regret at Most B₁N² log T/Δ(v) + B₂Research Paper

Motivation

A retailer with limited shelf or screen space must choose which subset of its products to show each arriving customer. Which assortment earns the most depends on customer preferences, and those are unknown at first: the seller learns them from the purchases it observes. This is dynamic assortment selection, and it is a standard model in online retail and revenue management. Agrawal, Avadhanula, Goyal and Zeevi (Oper. Res. 67(5), 2019; preprint arXiv:1706.03880v2) study it under the multinomial logit (MNL) choice model as the MNL-Bandit problem. They propose an epoch-based upper-confidence-bound policy (Algorithm 1) that needs no prior knowledge of the parameters.

Their worst-case guarantee (Theorem 1) is regret of order NTlog⁡NT\sqrt{NT\log NT}NTlogNT​. Many instances are easier than the worst case: the best assortment beats every other feasible assortment by a fixed margin. For such well-separated instances, earlier policies obtained logarithmic regret, but only when told a lower bound on that margin:

  • Rusmevichientong, Shen and Shmoys (2010), O(N2log⁡2T)O(N^2\log^2 T)O(N2log2T);
  • Sauré and Zeevi (2013), O(Nlog⁡T)O(N\log T)O(NlogT) for fixed cardinality.

This mission formalizes the paper's §6.1, which shows that the same parameter-free Algorithm 1 adapts to the separation.

Setting

There are NNN products with known revenues ri∈[0,1]r_i\in[0,1]ri​∈[0,1] and unknown attraction parameters vi≥0v_i\ge0vi​≥0. The no-purchase option has weight v0=1v_0=1v0​=1. Offered an assortment SSS, a customer buys i∈Si\in Si∈S with probability vi/(1+∑j∈Svj)v_i/(1+\sum_{j\in S}v_j)vi​/(1+∑j∈S​vj​) and buys nothing with probability 1/(1+∑j∈Svj)1/(1+\sum_{j\in S}v_j)1/(1+∑j∈S​vj​) (2.1). The expected revenue of SSS is

R(S,v)=∑i∈Srivi1+∑j∈Svj(2.2).R(S,\mathbf v)=\frac{\sum_{i\in S}r_iv_i}{1+\sum_{j\in S}v_j}\quad(2.2).R(S,v)=1+∑j∈S​vj​∑i∈S​ri​vi​​(2.2).

Feasible assortments form a family S\mathcal SS defined by totally unimodular constraints A x(S)≤bA\,x(S)\le bAx(S)≤b (2.3). Assumption 4.1 asks that vi≤v0=1v_i\le v_0=1vi​≤v0​=1 for all iii and that S\mathcal SS be closed under taking subsets.

A policy chooses St∈SS_t\in\mathcal SSt​∈S from the past choices. The regret after TTT customers is Regπ(T,v)=T R(S∗,v)−Eπ∑t=1TR(St,v)\mathrm{Reg}_\pi(T,\mathbf v)=T\,R(S^*,\mathbf v)-\mathbb E_\pi\sum_{t=1}^TR(S_t,\mathbf v)Regπ​(T,v)=TR(S∗,v)−Eπ​∑t=1T​R(St​,v), where S∗S^*S∗ maximizes R(⋅,v)R(\cdot,\mathbf v)R(⋅,v) over S\mathcal SS (2.6).

Algorithm 1 works in epochs: epoch ℓ\ellℓ offers one assortment SℓS_\ellSℓ​ until a customer buys nothing. It keeps three statistics for each product iii:

  • Ti(ℓ)T_i(\ell)Ti​(ℓ), the number of epochs up to ℓ\ellℓ that offered iii;
  • vˉi,ℓ\bar v_{i,\ell}vˉi,ℓ​, the average number of purchases of iii per such epoch;
  • the upper confidence bound vi,ℓUCB=vˉi,ℓ+vˉi,ℓ 48log⁡(Nℓ+1)/Ti(ℓ)+48log⁡(Nℓ+1)/Ti(ℓ)v^{\mathrm{UCB}}_{i,\ell}=\bar v_{i,\ell}+\sqrt{\bar v_{i,\ell}\,48\log(\sqrt N\ell+1)/T_i(\ell)}+48\log(\sqrt N\ell+1)/T_i(\ell)vi,ℓUCB​=vˉi,ℓ​+vˉi,ℓ​48log(N​ℓ+1)/Ti​(ℓ)​+48log(N​ℓ+1)/Ti​(ℓ).

The next epoch offers an assortment maximizing the MNL revenue computed with vUCBv^{\mathrm{UCB}}vUCB in place of v\mathbf vv.

The separation of an instance is the gap between the optimal and the second-best expected revenue among feasible assortments,

Δ(v)=min⁡S∈S: R(S,v)≠R(S∗,v)(R(S∗,v)−R(S,v))(6.1).\Delta(\mathbf v)=\min_{S\in\mathcal S:\,R(S,\mathbf v)\neq R(S^*,\mathbf v)}\big(R(S^*,\mathbf v)-R(S,\mathbf v)\big)\quad(6.1).Δ(v)=S∈S:R(S,v)=R(S∗,v)min​(R(S∗,v)−R(S,v))(6.1).

The analysis uses the threshold τ=4NClog⁡NT/Δ2(v)\tau=4NC\log NT/\Delta^2(\mathbf v)τ=4NClogNT/Δ2(v) (6.2), with C=max⁡{C12,C2}C=\max\{C_1^2,C_2\}C=max{C12​,C2​}, C1=72+24C_1=\sqrt{72}+\sqrt{24}C1​=72​+24​ and C2=144C_2=144C2​=144. It also uses good epochs: those in which every vi,ℓUCBv^{\mathrm{UCB}}_{i,\ell}vi,ℓUCB​ lies above viv_ivi​ and within the confidence width of Lemma 4.1.

Formalization targets

Goal: Theorem 3 (p. 20)

There are absolute constants B1,B2B_1,B_2B1​,B2​ such that for every instance satisfying Assumption 4.1 with ri∈[0,1]r_i\in[0,1]ri​∈[0,1], every tie-breaking rule and every TTT,

Regπ(T,v)≤B1 N2log⁡TΔ(v)+B2.\mathrm{Reg}_\pi(T,\mathbf v)\le B_1\,\frac{N^2\log T}{\Delta(\mathbf v)}+B_2.Regπ​(T,v)≤B1​Δ(v)N2logT​+B2​.

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

Milestones

  • Lemma 4.1 (p. 13): vi,ℓUCB≥viv^{\mathrm{UCB}}_{i,\ell}\ge v_ivi,ℓUCB​≥vi​ with probability ≥1−6/(Nℓ)\ge1-6/(N\ell)≥1−6/(Nℓ), and vi,ℓUCB−vi≤C1vilog⁡(Nℓ+1)/Ti(ℓ)+C2log⁡(Nℓ+1)/Ti(ℓ)v^{\mathrm{UCB}}_{i,\ell}-v_i\le C_1\sqrt{v_i\log(\sqrt N\ell+1)/T_i(\ell)}+C_2\log(\sqrt N\ell+1)/T_i(\ell)vi,ℓUCB​−vi​≤C1​vi​log(N​ℓ+1)/Ti​(ℓ)​+C2​log(N​ℓ+1)/Ti​(ℓ) with probability ≥1−7/(Nℓ)\ge1-7/(N\ell)≥1−7/(Nℓ).
  • Lemma 4.3 (p. 14): (1+∑j∈Svj)(R~(S)−R(S,v))(1+\sum_{j\in S}v_j)(\tilde R(S)-R(S,\mathbf v))(1+∑j∈S​vj​)(R~(S)−R(S,v)) is at most the sum of these widths over the offered set, with probability ≥1−13/ℓ\ge1-13/\ell≥1−13/ℓ.
  • Lemma 6.1 (p. 20): in a good epoch, if every offered product has Ti(ℓ)≥τT_i(\ell)\ge\tauTi​(ℓ)≥τ, the offered assortment is optimal.
  • Lemma 6.2 (p. 20): at most NτN\tauNτ good epochs offer a sub-optimal assortment.
  • Corollary C.1 (p. 48): at most Nlog⁡NTN\log NTNlogNT epochs offer a product with Ti(ℓ)<log⁡NTT_i(\ell)<\log NTTi​(ℓ)<logNT.
  • (C.5) (p. 48): the regret is at most Eπ∑ℓ≤L(1+V(Sℓ))(R(S∗,v)−R(Sℓ,v))\mathbb E_\pi\sum_{\ell\le L}(1+V(S_\ell))(R(S^*,\mathbf v)-R(S_\ell,\mathbf v))Eπ​∑ℓ≤L​(1+V(Sℓ​))(R(S∗,v)−R(Sℓ​,v)).

Companion: Corollary 6.1 (p. 21)

Under the cardinality constraint ∣S∣≤K|S|\le K∣S∣≤K: Regπ(T,v)≤B1 NKlog⁡NT/Δ(v)+B2\mathrm{Reg}_\pi(T,\mathbf v)\le B_1\,NK\log NT/\Delta(\mathbf v)+B_2Regπ​(T,v)≤B1​NKlogNT/Δ(v)+B2​.

Significance

The result. Theorem 3 shows that one policy is simultaneously near-optimal in the worst case (Theorem 1, O~(NT)\tilde O(\sqrt{NT})O~(NT​), matched by the lower bound of Theorem 2 up to logarithms) and logarithmic on separated instances. It does so without being told Δ(v)\Delta(\mathbf v)Δ(v), which the separation-based policies of Rusmevichientong et al. and Sauré–Zeevi require. Under a cardinality constraint, Corollary 6.1 matches the order of Sauré–Zeevi's bound.

Formalizing it. The theorem is proved in the paper (Appendix C), and no machine-checked version exists. A formal proof has to make several things precise:

  • Algorithm 1 as a function of the observed history;
  • the epoch structure of a finite horizon;
  • the pathwise counting arguments of Lemmas 6.1–6.2 and Corollary C.1;
  • the probabilistic estimates inherited from the worst-case analysis.

Two printed details need care, and the formal statements fix them: Appendix C defines good epochs with "or" where both inequalities are meant, and Lemma 6.2's proof skips one case.

Difficulty

The counting part looks routine but depends on indexing. The bounds that are good at the end of epoch ℓ\ellℓ select the assortment of epoch ℓ+1\ell+1ℓ+1, so "a good epoch offering a sub-optimal set" pairs two consecutive epochs. A per-product count of under-sampled epochs is then off by one per product, so the printed bound NτN\tauNτ does not follow from the statement of Lemma 6.1 by counting alone.

The probabilistic part is the harder one. The per-epoch purchase counts are geometric with mean viv_ivi​ only conditionally on adaptively chosen assortments. The confidence statements must hold uniformly over a random number of samples, and the regret must be converted from customers to epochs, whose lengths are random and truncated at TTT. A union bound over all epochs costs a factor log⁡T\log TlogT, and that factor has to stay within the claimed N2log⁡T/ΔN^2\log T/\DeltaN2logT/Δ.

Formalization scope

Products are Fin N (0-based), and choices are Option (Fin N) with none the no-purchase option. A policy maps the past choices to an assortment. The law of a length-TTT history is the product of MNL probabilities, so every expectation is a finite sum. Revenue is the published ChoiceCDLP.MNL.mnlObjective v r 1, and R(S∗,v)R(S^*,\mathbf v)R(S∗,v) is a Finset.sup' over the nonempty family S\mathcal SS. Algorithm 1 is defined as an explicit state machine and never reads v\mathbf vv. Ties in its argmax are broken by an arbitrary selector, and every statement quantifies over all selectors.

Standing assumptions carried by every statement:

  • 0≤vi≤10\le v_i\le10≤vi​≤1;
  • ri∈[0,1]r_i\in[0,1]ri​∈[0,1];
  • the totally unimodular form of S\mathcal SS;
  • closure under subsets;
  • nonemptiness of S\mathcal SS (needed for S∗S^*S∗ to exist).

Disclosed conventions:

  • UCB before sampling. vi,ℓUCB=1v^{\mathrm{UCB}}_{i,\ell}=1vi,ℓUCB​=1 while Ti(ℓ)=0T_i(\ell)=0Ti​(ℓ)=0.
  • Degenerate separation. Δ(v)=1\Delta(\mathbf v)=1Δ(v)=1 when every feasible assortment is optimal; the regret is then 000.
  • Lemma 4.1 constants. C1,C2C_1,C_2C1​,C2​ take the values established in the proof of Lemma 4.1.
  • Probabilistic lemmas. They are stated for every horizon TTT as probabilities that epoch ℓ\ellℓ is completed and the bound fails.
  • Lemma 4.3. The printed free index iii is read as the sum over the offered set, and R~\tilde RR~ uses the bounds of the preceding epoch.
  • (C.5). It is stated as "≤\le≤", since the last epoch is truncated at TTT.

The constants B1,B2B_1,B_2B1​,B2​ are quantified before every other object. A constant depending on NNN, v\mathbf vv or Δ\DeltaΔ would make the theorem say only that regret is finite. The policy is pinned to Algorithm 1, not to any optimistic rule.

Contributions are welcome at every level:

  • the pathwise lemmas (6.1, 6.2, C.1), which need no probability;
  • the epoch rewriting (C.5);
  • the concentration Lemmas 4.1 and 4.3, shared with the companion mission on Theorem 1;
  • reusable infrastructure: MNL choice probabilities and finite-horizon history laws for adaptive policies.

Selected references

  • S. Agrawal, V. Avadhanula, V. Goyal, A. Zeevi, MNL-Bandit: A Dynamic Learning Approach to Assortment Selection, Operations Research 67(5):1453–1485, 2019. https://doi.org/10.1287/opre.2018.1832 ; preprint arXiv:1706.03880v2. https://arxiv.org/abs/1706.03880v2
  • P. Rusmevichientong, Z.-J. M. Shen, D. B. Shmoys, Dynamic assortment optimization with a multinomial logit choice model and capacity constraint, Operations Research 58(6):1666–1680, 2010. https://doi.org/10.1287/opre.1100.0866
  • D. Sauré, A. Zeevi, Optimal dynamic assortment planning with demand learning, Manufacturing & Service Operations Management 15(3):387–404, 2013. https://doi.org/10.1287/msom.2013.0429
  • K. Talluri, G. van Ryzin, Revenue management under a general discrete choice model of consumer behavior, Management Science 50(1):15–33, 2004. https://doi.org/10.1287/mnsc.1030.0147
9 thms1 active userReviewed
Dynamic ProgrammingProbabilityStochastic Systems·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
Dynamic ProgrammingOptimizationProbability·Captain: mikedeng1

On the Structure of Lost-Sales Inventory Models 1: In the Transformed State v = J⁻¹x, the Optimal Cost Functions f̄_t(v) and ḡ_t(v, ζ) Are L♮-ConvexResearch Paper

Motivation

The lost-sales inventory system is the inventory model in which demand that cannot be met from stock is lost, not backlogged. It is the natural model for retail and for any setting where a customer who finds the shelf empty buys elsewhere. With a positive order lead time it is also one of the classical hard problems of inventory theory. In the backorder model the state collapses to a single number, the inventory position, and a base-stock policy is optimal. Under lost sales the whole pipeline of outstanding orders matters, the state is an LLL-dimensional vector, and no simple policy is optimal.

Its structure has a long history:

  • Karlin and Scarf (1958) formulated the model and showed, for lead time one and continuous demand, that the optimal order decreases in on-hand inventory with slope bounded by one.
  • Morton (1969) extended these qualitative properties to general lead times, again by differentiating the optimal cost function, which required smooth demand distributions.
  • Zipkin (2008), the paper formalized here, recovered and unified both results with a change of state variables and a single structural property, L♮-convexity, from discrete convex analysis (Murota 2003). The argument needs no smoothness and works for discrete as well as continuous demand.

Setting

Time is discrete. In each period the order due arrives, a new order z≥0z\ge0z≥0 is placed, demand d≥0d\ge0d≥0 occurs, and a holding or penalty cost is charged. The lead time L≥1L\ge1L≥1 is an integer. The original state x=(x0,…,xL−1)x=(x_0,\dots,x_{L-1})x=(x0​,…,xL−1​) records on-hand inventory x0x_0x0​ followed by the orders in transit. Demands are independent with a common law μ\muμ. The costs are linear and stationary: unit procurement cost ccc, unit holding cost h^\hat hh^, unit lost-sales penalty ppp, and discount factor γ\gammaγ.

The transformed state is the vector of partial sums vl=∑k=lL−1xkv_l=\sum_{k=l}^{L-1}x_kvl​=∑k=lL−1​xk​, 0≤l<L0\le l<L0≤l<L, with the convention vL=0v_L=0vL​=0. It ranges over the cone

V={v∈RL:v0≥v1≥⋯≥vL−1≥0}.V=\{v\in\mathbb R^L : v_0\ge v_1\ge\dots\ge v_{L-1}\ge 0\}.V={v∈RL:v0​≥v1​≥⋯≥vL−1​≥0}.

The transformed order is ζ=−z≤0\zeta=-z\le0ζ=−z≤0. With eee the all-ones vector, the state moves to

v+=([v0−v1−d]++v1, v2, …, vL−1, 0)−ζe.v_+=\big([v_0-v_1-d]^+ + v_1,\ v_2,\ \dots,\ v_{L-1},\ 0\big)-\zeta e .v+​=([v0​−v1​−d]++v1​, v2​, …, vL−1​, 0)−ζe.

The one-period cost is q^(u)=h^u++pu−\hat q(u)=\hat hu^+ + pu^-q^​(u)=h^u++pu− on u=y−du=y-du=y−d, where y=v0−v1y=v_0-v_1y=v0​−v1​ is the on-hand stock, and q^0(y)=E[q^(y−d)]\hat q^0(y)=E[\hat q(y-d)]q^​0(y)=E[q^​(y−d)]. With kkk periods to go, the optimal cost functions are

fˉ0≡0,gˉk(v,ζ)=−γLcζ+q^0(v0−v1)+γE[fˉk(v+)],fˉk+1(v)=inf⁡ζ≤0gˉk(v,ζ).\bar f_0\equiv0,\qquad \bar g_k(v,\zeta)=-\gamma^Lc\zeta+\hat q^0(v_0-v_1)+\gamma E\big[\bar f_k(v_+)\big],\qquad \bar f_{k+1}(v)=\inf_{\zeta\le0}\bar g_k(v,\zeta).fˉ​0​≡0,gˉ​k​(v,ζ)=−γLcζ+q^​0(v0​−v1​)+γE[fˉ​k​(v+​)],fˉ​k+1​(v)=ζ≤0inf​gˉ​k​(v,ζ).

A function φ\varphiφ is submodular on a set S⊆RnS\subseteq\mathbb R^nS⊆Rn if φ(x∨y)+φ(x∧y)≤φ(x)+φ(y)\varphi(x\vee y)+\varphi(x\wedge y)\le\varphi(x)+\varphi(y)φ(x∨y)+φ(x∧y)≤φ(x)+φ(y) for all x,y∈Sx,y\in Sx,y∈S, with ∨,∧\vee,\wedge∨,∧ the componentwise maximum and minimum. A function f:V→Rf:V\to\mathbb Rf:V→R is L♮-convex if ψ(v,ζ)=f(v−ζe)\psi(v,\zeta)=f(v-\zeta e)ψ(v,ζ)=f(v−ζe) is submodular on V×ℜ−V\times\Re^-V×ℜ−. A function g(v,ζ)g(v,\zeta)g(v,ζ) on V×ℜ−V\times\Re^-V×ℜ− is L♮-convex if g((v,ζ)−ξ(e,1))g\big((v,\zeta)-\xi(e,1)\big)g((v,ζ)−ξ(e,1)) is submodular in (v,ζ,ξ)(v,\zeta,\xi)(v,ζ,ξ) over v∈Vv\in Vv∈V, ζ≤ξ≤0\zeta\le\xi\le0ζ≤ξ≤0.

Formalization targets

Goal: Theorem 4 (p. 939)

For every number of periods to go kkk,

fˉk is L♮-convex on Vandgˉk is L♮-convex on V×ℜ−.\bar f_k \text{ is L♮-convex on } V \quad\text{and}\quad \bar g_k \text{ is L♮-convex on } V\times\Re^- .fˉ​k​ is L♮-convex on Vandgˉ​k​ is L♮-convex on V×ℜ−.

The statement fixes no constants. It holds for every lead time, every demand law in the class below, and every cost vector.

Milestones, in the order the proof uses them

  1. Lemma 1 (p. 938): if f(v)f(v)f(v) is L♮-convex, so is ψ(v,ζ)=f(v−ζe)\psi(v,\zeta)=f(v-\zeta e)ψ(v,ζ)=f(v−ζe).
  2. Lemma 2 (p. 939): if g(v,ζ)g(v,\zeta)g(v,ζ) is L♮-convex, so is f(v)=min⁡ζ≤0g(v,ζ)f(v)=\min_{\zeta\le0}g(v,\zeta)f(v)=minζ≤0​g(v,ζ).
  3. Optimal filling (proof of Theorem 4): in the end-of-period program (3), filling as much demand as possible is optimal (a=min⁡{d,v0−v1}a=\min\{d,v_0-v_1\}a=min{d,v0​−v1​}). Consequently κˉt(v,ζ∣d)=q^(v0−v1−d)+γfˉt+1(v+)\bar\kappa_t(v,\zeta\mid d)=\hat q(v_0-v_1-d)+\gamma\bar f_{t+1}(v_+)κˉt​(v,ζ∣d)=q^​(v0​−v1​−d)+γfˉ​t+1​(v+​).
  4. ψt\psi_tψt​ is L♮-convex: the objective ψt(v+,v,ζ)=h^(v+−v1)+p(v+−v0+d)+γfˉt+1[(v+,v2,…,vL−1,0)−ζe]\psi_t(v_+,v,\zeta)=\hat h(v_+-v_1)+p(v_+-v_0+d)+\gamma\bar f_{t+1}[(v_+,v_2,\dots,v_{L-1},0)-\zeta e]ψt​(v+​,v,ζ)=h^(v+​−v1​)+p(v+​−v0​+d)+γfˉ​t+1​[(v+​,v2​,…,vL−1​,0)−ζe] of program (4) is L♮-convex on its constraint set.
  5. κˉt\bar\kappa_tκˉt​ is L♮-convex: the end-of-period cost κˉt(v,ζ∣d)\bar\kappa_t(v,\zeta\mid d)κˉt​(v,ζ∣d) is L♮-convex in (v,ζ)(v,\zeta)(v,ζ) for each ddd.
  6. gˉt\bar g_tgˉ​t​ is L♮-convex: if fˉt+1\bar f_{t+1}fˉ​t+1​ is L♮-convex, so is gˉt=−γLcζ+Ed[κˉt]\bar g_t=-\gamma^Lc\zeta+E_d[\bar\kappa_t]gˉ​t​=−γLcζ+Ed​[κˉt​], by (5).

Significance

The result. L♮-convexity of fˉt\bar f_tfˉ​t​ implies that fˉt\bar f_tfˉ​t​ is submodular and convex in the transformed state. L♮-convexity of gˉt\bar g_tgˉ​t​ yields, through Lemma 3 and Corollary 5 of the paper, that the optimal order zˉt(v)\bar z_t(v)zˉt​(v) is nonincreasing in vvv and changes by at most ω\omegaω when every component of vvv increases by ω\omegaω. These are exactly the Karlin–Scarf and Morton sensitivity results, obtained without derivatives. The same property underlies the paper's later results: the bounds on the optimal policy (§4), the monotonicity of cost in demand variability (§5), and the extensions to capacity limits, correlated demand and stochastic lead times (§6).

Formalizing it. The theorem is proved in the paper; nothing here is open mathematically. To our knowledge no machine-checked proof of L♮-convexity of an inventory value function exists. The mission produces three things:

  • a formal L♮-convexity theory on real cones (the shift characterization, its preservation under partial minimization, and its preservation under expectation);
  • a checked version of the induction behind Theorem 4;
  • a verified model of the lost-sales recursion in the transformed state, which missions on Corollary 5 and the later sections can import.

Difficulty

The obvious argument works with ordinary convexity and submodularity in the original state xxx. It stalls: the lost-sales transition [x0−d]+[x_0-d]^+[x0​−d]+ is not linear, and the order enters only the last pipeline component, so the comparative statics Karlin and Scarf and Morton obtained by differentiation do not follow from convexity in xxx. The paper's structure appears only in the partial sums vvv. Submodularity alone, moreover, is not preserved by the step that minimizes over the order. The shift structure of L♮-convexity is what survives the minimization over ζ\zetaζ (Lemma 2). Proving plain submodularity of fˉt\bar f_tfˉ​t​ on VVV therefore does not close the induction.

A second difficulty is the end-of-period program. Writing the next state as the minimum of a program over a constraint set that is a sublattice requires checking the order-theoretic structure of the set together with the sign pattern of every term. The equality between the program's value and the recursion's one-period cost (milestone 3) is a property of the model's own value function, not of an arbitrary L♮-convex continuation.

A third difficulty is measure-theoretic. Preservation under expectation needs integrability and measurability of d↦fˉk(v+)d\mapsto\bar f_k(v_+)d↦fˉ​k​(v+​), and these come from the model rather than from the definitions.

Formalization scope

  • Representation. States are functions Fin L → ℝ, indexed 0,…,L−10,\dots,L-10,…,L−1 as in the paper. A helper returns vlv_lvl​ for l<Ll<Ll<L and 000 at l=Ll=Ll=L. A function g(v,ζ)g(v,\zeta)g(v,ζ) is encoded on Fin (L+1) → ℝ with ζ\zetaζ last. The objective ψt\psi_tψt​ of (4) is encoded on Fin (L+2) → ℝ with coordinates (v+,v0,…,vL−1,ζ)(v_+,v_0,\dots,v_{L-1},\zeta)(v+​,v0​,…,vL−1​,ζ). The order is componentwise.
  • L♮-convexity on a domain DDD: (x,ξ)↦f(x−ξe)(x,\xi)\mapsto f(x-\xi e)(x,ξ)↦f(x−ξe) is submodular on {ξ≤0, x∈D, x−ξe∈D}\{\xi\le0,\ x\in D,\ x-\xi e\in D\}{ξ≤0, x∈D, x−ξe∈D}, with eee the all-ones vector on every coordinate. For D=VD=VD=V this is the paper's definition verbatim. This is the paper's definition, not Murota's translation-submodularity form, and it is stated on real vectors. The platform's discrete-convexity library (DiscreteConvex.LConvexFunctions.*) works on ZV\mathbb Z^VZV with values in R∪{+∞}\mathbb R\cup\{+\infty\}R∪{+∞}, a different domain and definition, and is not reused.
  • Time. Data are stationary, so the paper's fˉt\bar f_tfˉ​t​ depends on ttt only through the number of periods to go k=T+L+1−tk=T+L+1-tk=T+L+1−t, and "for all ttt" is "for all kkk". The minimum over z≥0z\ge0z≥0 is taken in every period, as printed in (1).
  • Explicit readings of the paper's phrases.
    • "min" (over ζ≤0\zeta\le0ζ≤0, over v+v_+v+​, over (a,w)(a,w)(a,w)) is an infimum over the constraint set. In the model every cost is nonnegative, so the infimum is genuine. The generic Lemma 2 assumes the values bounded below, and the generic milestone 5 assumes the continuation nonnegative on VVV.
    • "the dtd_tdt​ are independent and nonnegative": one law μ\muμ with μ(−∞,0)=0\mu(-\infty,0)=0μ(−∞,0)=0, since data are stationary.
    • "unit cost", "discount rate": c,h^,p≥0c,\hat h,p\ge0c,h^,p≥0 and 0<γ≤10<\gamma\le10<γ≤1.
    • Finite mean demand is added: without it q^0\hat q^0q^​0 is infinite.
    • "the optimal a=min⁡{d,v0−v1}a=\min\{d,v_0-v_1\}a=min{d,v0​−v1​}": stated as the equality of the infimum of program (4) with its value at v+=max⁡(v0−d,v1)v_+=\max(v_0-d,v_1)v+​=max(v0​−d,v1​).
  • Ruled out. A statement that holds because a value function is the junk constant 000 (constants are L♮-convex), plain submodularity on VVV in place of the shift condition, quantification over all of RL\mathbb R^LRL instead of VVV, and a goal about an arbitrary function assumed to satisfy the recursion. None of these is the paper's theorem; the goal is stated for the recursion itself.
  • Not in scope. "L♮-convex implies convex" for a generic function, which is false without regularity (a non-measurable additive function is L♮-convex in this sense); Lemma 3 and Corollary 5, for a follow-up mission that references Theorem 4; the smooth-case Hessian discussion; the infinite-horizon remarks.
  • Welcome contributions. Reusable lemmas on submodularity over sublattices of Rn\mathbb R^nRn (partial minimization, Topkis 2.7.6), on preservation of submodularity under integration, and on measurability of the value functions.

Selected references

  • P. Zipkin, On the structure of lost-sales inventory models, Operations Research 56(4) (2008) 937–944. https://doi.org/10.1287/opre.1070.0482
  • S. Karlin and H. Scarf, Inventory models of the Arrow–Harris–Marschak type with time lag, in Arrow, Karlin, Scarf (eds.), Studies in the Mathematical Theory of Inventory and Production, Stanford University Press, 1958.
  • T. E. Morton, Bounds on the solution of the lagged optimal inventory equation with no demand backlogging and proportional costs, SIAM Review 11(4) (1969) 572–596. https://doi.org/10.1137/1011090
  • K. Murota, Discrete Convex Analysis, SIAM, 2003. https://doi.org/10.1137/1.9780898718508
  • D. M. Topkis, Supermodularity and Complementarity, Princeton University Press, 1998.
8 thms1 active userReviewed
AnalysisProbabilityStochastic Systems·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
OptimizationTheoretical Computer Science·Captain: mikedeng1

A Scheduling Model for Reduced CPU Energy: For P(s) = s², the Average Rate Heuristic Has Competitive Ratio Between 4 and 8Research Paper

Why processor speed changes the scheduling problem

A processor can save energy by running slowly when work is light, but a deadline may force it to run faster. Yao, Demers, and Shenker formulated this tradeoff as an offline and online scheduling problem for a variable-speed processor in their 1995 FOCS paper. Their Average Rate Heuristic (AVR) uses only each job's arrival, deadline, and required work to set speed. This mission formalizes their quadratic-power analysis: AVR's worst-case energy is at least four and at most eight times the minimum possible energy. The authors prove these bounds in Theorem 2, rather than an exact value.

The question matters when an online scheduler must choose speed before seeing later jobs. Deadline feasibility alone does not measure energy: processing the same number of cycles at twice the speed for half as long can cost more when power grows superlinearly. The paper's model isolates that dependence in a power function P(s)P(s)P(s), so the competitive guarantee measures the energy price of AVR's speed choices. The initial motivation, model, and heuristic are in §§1–4 of the paper.

Jobs, schedules, and the average-rate rule

Fix a nondegenerate time window [t0,t1][t_0,t_1][t0​,t1​]. A finite job instance JJJ assigns each job jjj an arrival time aja_jaj​, deadline bj>ajb_j>a_jbj​>aj​, and nonnegative required work RjR_jRj​ in CPU cycles. Every job window [aj,bj][a_j,b_j][aj​,bj​] lies inside [t0,t1][t_0,t_1][t0​,t1​]. A schedule S=(s,job⁡)S=(s,\operatorname{job})S=(s,job) has nonnegative processor speed s(t)s(t)s(t) and selects at most one job at each time. Speed and job selection are constant between finitely many breakpoints. The schedule is feasible if each job receives its full work inside its own window:

∫ajbjs(t) 1{job⁡(t)=j} dt=Rjfor every j.\int_{a_j}^{b_j}s(t)\,\mathbf 1\{\operatorname{job}(t)=j\}\,dt=R_j \qquad\text{for every }j.∫aj​bj​​s(t)1{job(t)=j}dt=Rj​for every j.

For a power function PPP, its energy is EP(S)=∫t0t1P(s(t)) dtE_P(S)=\int_{t_0}^{t_1}P(s(t))\,dtEP​(S)=∫t0​t1​​P(s(t))dt. An optimal schedule minimizes this quantity among feasible schedules. These definitions follow §2, p. 375. The intensity of an interval [z,z′][z,z'][z,z′] is the total work of jobs whose full windows it contains, divided by z′−zz'-zz′−z. An interval with maximum intensity is critical; Theorem 1 identifies the processor speed on that interval in an optimal schedule §3, p. 375.

Each job's density is dj=Rj/(bj−aj)d_j=R_j/(b_j-a_j)dj​=Rj​/(bj​−aj​), extended as a step function equal to djd_jdj​ on [aj,bj][a_j,b_j][aj​,bj​] and zero elsewhere. AVR runs at speed ∑jdj(t)\sum_j d_j(t)∑j​dj​(t) and chooses the earliest-deadline available job. For quadratic power, its energy is

AVR⁡(J)=∫t0t1(∑jdj(t))2dt.\operatorname{AVR}(J)=\int_{t_0}^{t_1}\left(\sum_jd_j(t)\right)^2dt.AVR(J)=∫t0​t1​​(j∑​dj​(t))2dt.

The competitive ratio is the least upper bound of AVR⁡(J)/OPT⁡(J)\operatorname{AVR}(J)/\operatorname{OPT}(J)AVR(J)/OPT(J) over instances, where OPT⁡(J)\operatorname{OPT}(J)OPT(J) is the least feasible energy §4, p. 376, Eq. (2).

Formalization targets

The goal is the paper's Theorem 2, p. 381:

4≤r≤8(P(s)=s2).4\le r\le 8\qquad(P(s)=s^2).4≤r≤8(P(s)=s2).

The upper bound compares AVR with every feasible schedule. The lower bound says that every constant strictly below four is exceeded by the AVR-to-feasible-energy ratio on some instance. This formulation does not claim that one finite instance attains four.

The milestone path follows the paper: Theorem 1 characterizes optimal speed; Lemma 5.1 reduces to jobs of type A or B; Eq. (5) splits their costs; Lemma 5.2 and Eq. (7) control the A contribution; Lemmas 5.3–5.6 reduce the analysis to canonical instances; Lemma 5.8 supplies a matrix bound; Lemma 5.7 gives FA≤4OPT⁡AF_A\le4\operatorname{OPT}_AFA​≤4OPTA​ and FB≤4OPT⁡BF_B\le4\operatorname{OPT}_BFB​≤4OPTB​; Example 2 approaches the lower constant. These statements and their order come from §5, pp. 378–381. The paper also states a higher-power result, Theorem 3, for real p≥2p\ge2p≥2:

pp≤rp≤2p−1pp.p^p\le r_p\le 2^{p-1}p^p.pp≤rp​≤2p−1pp.

That result is a companion item. The extended abstract leaves its full proof to a longer paper §6, pp. 381–382.

What the bounds provide

The upper bound guarantees that AVR's energy is controlled by a fixed multiple of the offline optimum for every finite job set, even though AVR sets speed from individual job densities. The lower family rules out a guarantee below four for this heuristic. Together they delimit the performance of AVR under quadratic power; they do not give its exact worst-case ratio. The A/B reductions and the tree-induced matrix estimate are useful mathematical interfaces for later analyses of interval-structured schedules.

The paper proves Theorem 2 in the mathematical sense. This mission supplies machine-checkable statements and definitions, with proofs left open for solvers. Closing it requires formal proofs of the reduction steps, the matrix estimate, and the limiting example, plus an explicit connection from the optimal-schedule analysis to comparison with every feasible schedule. No completed Lean proof is claimed here.

The main difficulty

The simple calculation (∑jdj(t))2\left(\sum_j d_j(t)\right)^2(∑j​dj​(t))2 exposes overlap between job windows but does not say how that overlap compares with an optimal schedule. An optimal schedule may run jobs in a different order and may preempt them. The paper therefore changes the instance while preserving the optimal speed profile: it first separates cumulative execution into two types, then reduces to single execution intervals and specially aligned, nested windows. The matrix inequality controls the resulting expression. A pointwise comparison of AVR speed with optimal speed cannot replace these reductions, because an optimal schedule can concentrate work on critical intervals while AVR spreads each job's density across its entire window §5, pp. 377–381.

Formalization scope

Jobs use Fin n, allowing the empty instance. The instance requires t0<t1t_0<t_1t0​<t1​, aj<bja_j<b_jaj​<bj​, containment in the window, and Rj≥0R_j\ge0Rj​≥0. A schedule uses real-valued speed and an optional job label; none denotes no assigned job. Its piecewise-constant requirement is witnessed by finitely many increasing breakpoints. Values at breakpoints are unrestricted by the piecewise-constant clauses, and speed comparisons in the theorems are almost-everywhere statements. Job windows are closed, as printed; endpoints do not affect the integrals. A schedule may have positive speed while no job is assigned, since the source does not equate idleness with zero speed.

Every energy expression is a real interval integral. The schedule conditions ensure the integrands in theorem hypotheses are piecewise constant away from finitely many points. Density denominators are positive. An execution-speed quotient for a zero-work job can have zero denominator, in which case Lean returns zero; such a job contributes no executed work. The goal uses quantified comparisons with feasible schedules rather than a real infimum, and Lemma 5.6 uses all upper bounds on a nonempty canonical family rather than a real supremum. The lower bounds quantify over every smaller constant, avoiding a false attainment claim. These choices guard against default values for empty or unbounded extrema.

Theorem 1's printed convexity hypothesis is strengthened to strict convexity and nondecreasing power on nonnegative speeds: its stated speed uniqueness fails for a linear power function, and a decreasing power function rewards idle speed. This repair is explicit in that item's description. Existence of a quadratic optimum is included as a milestone from the algorithm of §3, although it is not a separately numbered theorem. Example 2 includes the variable exponent e≥1e\ge1e≥1, the limiting ratios at e=1e=1e=1 and e=3/2e=3/2e=3/2, and an eventual upper bound of four across the family. The A-job order resolves exact ties by index. For canonical and tree-induced nesting, intervals that meet only at an endpoint count as disjoint; this admits the paper's displayed four-interval matrix.

The development needs Mathlib's real interval integrals, finite sums, measures of intervals, matrix eigenvalues, and real-power limits. The finite schedule model, canonical-instance data, and tree-induced matrix interface can be reused beyond this particular ratio bound. Contributions may establish these interfaces' elementary properties, the paper's milestone theorems, or independent proofs of the goal, provided they preserve the stated job and schedule classes.

Selected references

  • Frances Yao, Alan Demers, and Scott Shenker, A Scheduling Model for Reduced CPU Energy, Proceedings of the 36th IEEE Symposium on Foundations of Computer Science, 1995, pp. 374–382. DOI 10.1109/SFCS.1995.492493.
19 thms1 active userReviewed
AnalysisProbabilityStochastic Systems·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
OptimizationProbability·Captain: mikedeng1

An Airline Seat Management Model for a Single Leg Route When Lower Fare Classes Book First: The Marginal Seat Value ΔZ_m(n) Decreases in n, So Rejecting Class m Exactly When n ≤ k_m Is OptimalResearch Paper

Motivation

An airline sells the seats of one flight leg at several fares. Cheap fares are usually booked well before departure and expensive ones close to it, so every early request poses the same question: is the certain revenue of selling a seat now worth more than the chance of selling it later at a higher fare? The policy that answers it is seat inventory control, a core problem of airline revenue management.

For two fare classes the answer is Littlewood's rule (1972): accept a low-fare request as long as the low fare is at least the high fare times the probability that high-fare demand would fill the remaining seats. Belobaba (1987) extended it heuristically to several classes through expected marginal seat revenue (EMSR) protection levels, which are not optimal in general. Wollmer (Operations Research 40(1), 1992) solved the multi-class problem exactly under the assumption that the classes book in order of increasing fare: he showed that an optimal policy is described by one critical value per fare class, computed by a short recursion, and accepts a request precisely when the number of empty seats exceeds the critical value of its class. Brumelle and McGill (Operations Research 41(1), 1993) and later work on nested booking limits reached optimality of static protection levels by other routes.

Setting

There are c≥2c \ge 2c≥2 fare classes, numbered 1,…,c1, \dots, c1,…,c from the highest fare to the lowest, with fares

r1>r2>⋯>rc>0.r_1 > r_2 > \cdots > r_c > 0 .r1​>r2​>⋯>rc​>0.

Class mmm has a random demand Dm∈{0,1,2,… }D_m \in \{0, 1, 2, \dots\}Dm​∈{0,1,2,…}, the number of its future booking requests, with probabilities P[Dm=i]P[D_m = i]P[Dm​=i], P[Dm≥n]P[D_m \ge n]P[Dm​≥n], P[Dm≤i]P[D_m \le i]P[Dm​≤i]. Seats form one pool, and nnn denotes the number of empty seats. Lower classes book first: all requests of class mmm arrive before those of classes 1,…,m−11, \dots, m-11,…,m−1. The paper assumes r2<r1P[D1≥1]r_2 < r_1 P[D_1 \ge 1]r2​<r1​P[D1​≥1], so that a class 2 request is refused when one seat remains.

The optimal value Zm(n)Z_m(n)Zm​(n) is the expected revenue under an optimal policy when nnn seats are empty and only classes 1,…,m1, \dots, m1,…,m may still book. It satisfies Z0≡0Z_0 \equiv 0Z0​≡0 and

Zm(n)=E[max⁡0≤x≤min⁡(Dm,n)(rmx+Zm−1(n−x))],Z_m(n) = \mathbb E\Big[\max_{0 \le x \le \min(D_m, n)} \big(r_m x + Z_{m-1}(n-x)\big)\Big],Zm​(n)=E[0≤x≤min(Dm​,n)max​(rm​x+Zm−1​(n−x))],

where xxx is the number of class-mmm requests accepted. The marginal seat value is ΔZm(n)=Zm(n)−Zm(n−1)\Delta Z_m(n) = Z_m(n) - Z_m(n-1)ΔZm​(n)=Zm​(n)−Zm​(n−1) for n≥1n \ge 1n≥1, and the critical values are

k1=0,km=max⁡{ n≥1∣rm<ΔZm−1(n) }(m>1).(2)k_1 = 0, \qquad k_m = \max\{\, n \ge 1 \mid r_m < \Delta Z_{m-1}(n) \,\} \quad (m > 1). \tag{2}k1​=0,km​=max{n≥1∣rm​<ΔZm−1​(n)}(m>1).(2)

The critical-value rule for class mmm rejects a class-mmm request when n≤kmn \le k_mn≤km​ and accepts it when n≥km+1n \ge k_m + 1n≥km​+1; it accepts min⁡(Dm,(n−km)+)\min(D_m, (n-k_m)^+)min(Dm​,(n−km​)+) of the class's requests.

Formalization targets

Goal: Theorem 2 with the rejection rule of §3

For every class 1≤m≤c1 \le m \le c1≤m≤c, ΔZm(n)\Delta Z_m(n)ΔZm​(n) is nonincreasing in n≥1n \ge 1n≥1. For every class 2≤m≤c2 \le m \le c2≤m≤c, the critical value kmk_mkm​ exists, Zm(n)=Zm−1(n)Z_m(n) = Z_{m-1}(n)Zm​(n)=Zm−1​(n) for n≤kmn \le k_mn≤km​, the critical-value rule attains the maximum in the recursion for Zm(n)Z_m(n)Zm​(n) (and accepting more requests is strictly worse), and for every j≥1j \ge 1j≥1

Zm(km+j)=Zm(km)+∑i=0j−1{ΔZm−1(km+j−i) P[Dm≤i]+rm P[Dm≥i+1]}.(6)Z_m(k_m+j) = Z_m(k_m) + \sum_{i=0}^{j-1} \Big\{ \Delta Z_{m-1}(k_m+j-i)\,P[D_m \le i] + r_m\,P[D_m \ge i+1] \Big\}. \tag{6}Zm​(km​+j)=Zm​(km​)+i=0∑j−1​{ΔZm−1​(km​+j−i)P[Dm​≤i]+rm​P[Dm​≥i+1]}.(6)

Milestones

  1. Eq. (3): Z1(n)=r1{nP[D1≥n]+∑j=0n−1jP[D1=j]}Z_1(n) = r_1\{nP[D_1 \ge n] + \sum_{j=0}^{n-1} jP[D_1 = j]\}Z1​(n)=r1​{nP[D1​≥n]+∑j=0n−1​jP[D1​=j]}.
  2. Eq. (4): ΔZ1(n)=r1P[D1≥n]\Delta Z_1(n) = r_1 P[D_1 \ge n]ΔZ1​(n)=r1​P[D1​≥n], nonincreasing in nnn.
  3. The note after (2b): if ΔZm−1\Delta Z_{m-1}ΔZm−1​ is nonincreasing, then rm<ΔZm−1(n)r_m < \Delta Z_{m-1}(n)rm​<ΔZm−1​(n) for n≤kmn \le k_mn≤km​ and rm≥ΔZm−1(n)r_m \ge \Delta Z_{m-1}(n)rm​≥ΔZm−1​(n) for n≥km+1n \ge k_m + 1n≥km​+1.
  4. The rule of §3: if ΔZm−1\Delta Z_{m-1}ΔZm−1​ is nonincreasing, rejecting class mmm exactly when n≤kmn \le k_mn≤km​ is optimal, and Zm=Zm−1Z_m = Z_{m-1}Zm​=Zm−1​ on n≤kmn \le k_mn≤km​.
  5. Lemma 1: the case j=1j = 1j=1 of (6) for class mˉ+1\bar m + 1mˉ+1, and ΔZmˉ+1(kmˉ+1+1)<ΔZmˉ+1(kmˉ+1)\Delta Z_{\bar m+1}(k_{\bar m+1}+1) < \Delta Z_{\bar m+1}(k_{\bar m+1})ΔZmˉ+1​(kmˉ+1​+1)<ΔZmˉ+1​(kmˉ+1​).
  6. The marginal display in the proof of Theorem 1: ΔZmˉ+1(kmˉ+1+j)=∑i<jΔZmˉ(kmˉ+1+j−i)P[Dmˉ+1=i]+rmˉ+1P[Dmˉ+1≥j]\Delta Z_{\bar m+1}(k_{\bar m+1}+j) = \sum_{i<j} \Delta Z_{\bar m}(k_{\bar m+1}+j-i)P[D_{\bar m+1} = i] + r_{\bar m+1}P[D_{\bar m+1} \ge j]ΔZmˉ+1​(kmˉ+1​+j)=∑i<j​ΔZmˉ​(kmˉ+1​+j−i)P[Dmˉ+1​=i]+rmˉ+1​P[Dmˉ+1​≥j].
  7. Theorem 1: (6) for class mˉ+1\bar m + 1mˉ+1, and ΔZmˉ+1\Delta Z_{\bar m+1}ΔZmˉ+1​ nonincreasing above kmˉ+1k_{\bar m+1}kmˉ+1​.

Significance

The theorem reduces a dynamic program over all booking policies to one integer per fare class. The critical values are computed class by class from (2b) and (6), in a number of operations polynomial in the number of seats and classes, and the resulting policy is a nested booking limit that reservation systems can implement directly. The abstract states two further properties derived from it: the critical value decreases with the fare and is zero for the highest class.

The result is proved in the paper; it has no machine-checked proof. A complete formalization would give a verified account of the multi-class seat allocation problem with sequential booking, including the existence of the critical values, which the paper presupposes. The intermediate statements (the concavity-type property of ZmZ_mZm​ and the closed form (6)) are reusable for nested-booking-limit results in related models.

Difficulty

The induction of the paper is short, but it relies on one property: ΔZm−1\Delta Z_{m-1}ΔZm−1​ must be nonincreasing for the threshold rule to be optimal for class mmm, and the threshold rule must be optimal for ΔZm\Delta Z_mΔZm​ to inherit the property. These two facts have to be carried together through the induction. The step at the threshold itself (n=km+1n = k_m + 1n=km​+1) behaves differently from the rest: there the marginal value drops strictly, and the argument above the threshold needs the maximality in (2b), not monotonicity alone. The existence of kmk_mkm​ is not argued on the page: it requires bounding the marginal seat value away from rmr_mrm​ for large nnn without assuming that demands have finite mean. The proofs of Lemma 1 and Theorem 1 also contain index slips (kmˉk_{\bar m}kmˉ​ printed for kmˉ+1k_{\bar m+1}kmˉ+1​) that a formal proof must not reproduce.

Formalization scope

All statements live in the namespace LowerFareFirst.Critical and rest on one definition module, LowerFareFirst.Critical.Model. Classes are natural numbers starting at 111; fares are a sequence r:N→Rr : \mathbb N \to \mathbb Rr:N→R and demands a sequence of measurable maps D:N→Ω→ND : \mathbb N \to \Omega \to \mathbb ND:N→Ω→N on a probability space (Ω,μ)(\Omega, \mu)(Ω,μ), of which only the entries 1,…,c1, \dots, c1,…,c are constrained. Probabilities are μ.real of events.

Committed conventions:

  • ZmZ_mZm​ is defined by the dynamic-programming recursion above, which is the reading of the paper's "expected revenue under an optimal policy". It is not the value of the critical-value policy and not defined by (6); either choice would make the goal definitional. Optimality of the rule is stated as attaining the maximum of the recursion for every realized demand.
  • "Decreasing" means nonincreasing. The strict reading is false: ΔZ1(n)=r1P[D1≥n]\Delta Z_1(n) = r_1 P[D_1 \ge n]ΔZ1​(n)=r1​P[D1​≥n] is constant wherever P[D1=n]=0P[D_1 = n] = 0P[D1​=n]=0.
  • kmk_mkm​ is the greatest element of {n≥1∣rm<ΔZm−1(n)}\{n \ge 1 \mid r_m < \Delta Z_{m-1}(n)\}{n≥1∣rm​<ΔZm−1​(n)}. Its existence is a conclusion of the goal, never a hypothesis; Lemma 1, Theorem 1 and the intermediate milestones take it as a hypothesis, as the page does.
  • The standing assumptions of §1 are bundled in one predicate: probability measure, measurable demands, c≥2c \ge 2c≥2, strictly decreasing fares, r2<r1P[D1≥1]r_2 < r_1 P[D_1 \ge 1]r2​<r1​P[D1​≥1], and rc>0r_c > 0rc​>0, an addition to the page: with rc≤0r_c \le 0rc​≤0 and unbounded demand the maximum in (2b) need not exist.
  • Independence of the demands is not assumed: the recursion uses only their marginal laws. For independent demands, the paper's setting, ZmZ_mZm​ is the optimal expected revenue.
  • Where the proofs print kmˉk_{\bar m}kmˉ​ for kmˉ+1k_{\bar m+1}kmˉ+1​, and where §3 says "class m+1m + 1m+1" for class mmm, the statements use the corrected index.

A complete development needs elementary facts about expectations of functions of an integer-valued random variable and finite maximization; nothing beyond Mathlib's measure theory. Proofs of any milestone are welcome, as are proofs of the abstract's remarks (kmk_mkm​ nonincreasing in the fare) as separate theorems.

Selected references

  • R. D. Wollmer, An Airline Seat Management Model for a Single Leg Route When Lower Fare Classes Book First, Operations Research 40(1), 26–37, 1992. https://doi.org/10.1287/opre.40.1.26
  • K. Littlewood, Forecasting and Control of Passenger Bookings, AGIFORS Symposium Proceedings 12, 1972; reprinted in Journal of Revenue and Pricing Management 4(2), 111–123, 2005. https://doi.org/10.1057/palgrave.rpm.5170134
  • P. P. Belobaba, Airline Yield Management: An Overview of Seat Inventory Control, Transportation Science 21(2), 63–73, 1987. https://doi.org/10.1287/trsc.21.2.63
  • S. L. Brumelle, 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
9 thms1 active userReviewed
Dynamic ProgrammingMarkov Chain·Captain: mikedeng1

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

Motivation

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

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

Setting

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

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

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

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

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

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

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

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

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

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

Formalization targets

Goal: Theorem 4

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

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

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

Milestones

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

Significance

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

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

Difficulty

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

Formalization scope

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

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

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

Selected references

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

A Coordinate Gradient Descent Method for Nonsmooth Separable Minimization 1: With the Armijo Rule and the Generalized Gauss–Seidel Rule, Every Cluster Point of the CGD Iterates Is StationaryResearch Paper

Motivation

Many optimization models combine a smooth loss with a convex penalty or constraint. The penalty can be nonsmooth: an absolute-value penalty encourages sparse solutions, while an indicator function enforces a feasible set. A coordinate gradient descent (CGD) method updates selected coordinates by minimizing a quadratic model and then applies a line search. Tseng and Yun studied this method for an extended-valued convex penalty, including penalties that separate by blocks of coordinates. Their global convergence result addresses a basic question for such an iteration: if its iterates have an accumulation point, must that point satisfy the first-order stationarity condition? The result and examples appear in Tseng and Yun (2009).

Coordinate updates are appealing when changing a small block is cheaper than changing the whole vector. Their convergence is delicate when the penalty is nonsmooth: a direction can be useful on one block without revealing whether the full point is stationary. The paper's Theorem 1(e) establishes a guarantee for a generalized Gauss–Seidel selection rule and a block-separable penalty. The authors note that this rules out cycling on Powell's coordinate-minimization example under their stated conditions Tseng and Yun (2009), p. 404.

Setting

Let x∈Rnx\in\mathbb R^nx∈Rn, c>0c>0c>0, and let P:Rn→(−∞,+∞]P:\mathbb R^n\to(-\infty,+\infty]P:Rn→(−∞,+∞] be proper, convex and lower semicontinuous. Its effective domain D=dom⁡PD=\operatorname{dom}PD=domP contains precisely the points where PPP is finite. Let fff be continuously differentiable on an open set containing DDD. The objective is Fc(x)=f(x)+cP(x)F_c(x)=f(x)+cP(x)Fc​(x)=f(x)+cP(x), with value +∞+\infty+∞ outside DDD. No convexity of fff is assumed.

At iteration kkk, choose a nonempty set of coordinates Jk\mathcal J^kJk and a positive-definite symmetric matrix HkH^kHk. The search direction dkd^kdk minimizes

∇f(xk)⊤d+12d⊤Hkd+cP(xk+d)subject to dj=0 for j∉Jk.\nabla f(x^k)^\top d+\tfrac12 d^\top H^k d+cP(x^k+d) \quad\text{subject to }d_j=0\text{ for }j\notin\mathcal J^k.∇f(xk)⊤d+21​d⊤Hkd+cP(xk+d)subject to dj​=0 for j∈/Jk.

The next iterate is xk+1=xk+αkdkx^{k+1}=x^k+\alpha^k d^kxk+1=xk+αkdk. The Armijo rule tests the geometric sequence αinitkβj\alpha^k_{\mathrm{init}}\beta^jαinitk​βj and takes its largest accepted member, using the paper's decrease quantity Δk=∇f(xk)⊤dk+γ(dk)⊤Hkdk+cP(xk+dk)−cP(xk)\Delta^k=\nabla f(x^k)^\top d^k+\gamma(d^k)^\top H^kd^k+cP(x^k+d^k)-cP(x^k)Δk=∇f(xk)⊤dk+γ(dk)⊤Hkdk+cP(xk+dk)−cP(xk). Its parameters satisfy αinitk>0\alpha^k_{\mathrm{init}}>0αinitk​>0, 0<β,σ<10<\beta,\sigma<10<β,σ<1, and 0≤γ<10\le\gamma<10≤γ<1. The accepted step obeys Fc(xk+1)≤Fc(xk)+σαkΔkF_c(x^{k+1})\le F_c(x^k)+\sigma\alpha^k\Delta^kFc​(xk+1)≤Fc​(xk)+σαkΔk.

The generalized Gauss–Seidel rule means that some fixed number T≥1T\ge1T≥1 of consecutive coordinate sets covers every coordinate, starting at every iteration. The penalty is block-separable with respect to Jk\mathcal J^kJk when it is the sum of a proper closed convex function of the selected coordinates and another of their complement. A point xˉ\bar xxˉ is stationary when it lies in DDD and the one-sided directional derivative Fc′(xˉ;v)F_c'(\bar x;v)Fc′​(xˉ;v) is nonnegative for every direction v∈Rnv\in\mathbb R^nv∈Rn.

Formalization targets

Global convergence under generalized Gauss–Seidel selection

The goal is Theorem 1(e) Tseng and Yun (2009), p. 399. Under the CGD and Armijo rules, Assumption 1's uniform matrix bounds, a positive lower bound on the initial trial steps, block separability for each chosen coordinate set, and a finite upper bound on the accepted steps,

xˉ a cluster point of {xk}k≥0⟹Fc′(xˉ;v)≥0 for every v∈Rn.\bar x\text{ a cluster point of }\{x^k\}_{k\ge0} \quad\Longrightarrow\quad F_c'(\bar x;v)\ge0\text{ for every }v\in\mathbb R^n.xˉ a cluster point of {xk}k≥0​⟹Fc′​(xˉ;v)≥0 for every v∈Rn.

The mission milestones state the paper's Lemma 1, its Armijo existence claim after equation (10), Lemmas 2 and 3, and Theorem 1(a) and (b). They connect the direction subproblem, descent, stationarity and subsequence behavior to the goal. The theorem asserts stationarity of every cluster point; it does not assert that a cluster point exists or that the full sequence converges.

Significance

The result supplies a global first-order guarantee for a block update method even when the smooth part fff is nonconvex. It applies to extended-valued convex penalties, so the same statement covers both nonsmooth regularization and constraints represented by indicator functions. The bounded-window coverage condition allows varying coordinate sets rather than a fixed cyclic schedule Tseng and Yun (2009), Theorem 1(e).

The paper proves the theorem. This mission asks for a machine-checked Lean proof of that known claim and its selected supporting results. The reusable output includes a precise interface for an extended-valued penalty, the exact quadratic coordinate subproblem, Armijo backtracking with first accepted exponent, and the distinction between a convergent subsequence and a cluster point. The current draft statements compile with proof placeholders; they are proof obligations, not completed machine-checked results.

Difficulty

The descent bound alone controls decrease in objective value; it does not directly show that every coordinate has a vanishing stationarity residual. The coordinate set may vary at each iteration, and the penalty need only separate with respect to the current block. A cluster point may be reached along a subsequence that samples only one of those blocks. The argument therefore has to connect behavior along a convergent subsequence to nearby iterations within a full coverage window. The nonsmooth penalty also prevents replacing directional stationarity by a statement solely about an ordinary gradient.

Formalization scope

Vectors use EuclideanSpace ℝ (Fin n) and its Euclidean norm; Fin n starts at zero, whereas the paper numbers coordinates from one. A penalty is represented by its effective domain DDD and finite values PPP on D,usingthepublished‘ProxNewton.Inexact.IsProperClosedConvex‘definition.Everyobjectivecomparisonincludesdomainmembership;valuesoutsideD, using the published `ProxNewton.Inexact.IsProperClosedConvex` definition. Every objective comparison includes domain membership; values outside D,usingthepublished‘ProxNewton.Inexact.IsProperClosedConvex‘definition.Everyobjectivecomparisonincludesdomainmembership;valuesoutsideDareinterpretedasare interpreted asareinterpretedas+\infty.Thesmoothnessassumptionnamesanopenneighborhoodof. The smoothness assumption names an open neighborhood of .ThesmoothnessassumptionnamesanopenneighborhoodofD.Thedirection. The direction .Thedirectiond_H(x;\mathcal J)ischosenfromtheexactminimizers;alltheoremusesplaceis chosen from the exact minimizers; all theorem uses placeischosenfromtheexactminimizers;alltheoremusesplacexinininDandandandH$ positive definite. A CGD run records the chosen minimizers, so it does not rely on any unspecified value of that choice outside its valid inputs.

The Armijo predicate records the first successful geometric trial, including rejection of all earlier trials. The matrix bounds in Assumption 1 are quadratic-form bounds. Lemma 3 represents eigenvalue extremes by Rayleigh quotients on the selected coordinates; its generalized spectrum is that of the pair of principal submatrices. These extrema are used only with a nonempty block and positive-definite matrices. The paper's o(α)o(\alpha)o(α) is represented by a remainder whose quotient by α\alphaα tends to zero from the right. In Lemma 1 the line segment remains in DDD. A convergent subsequence is indexed by a strictly increasing map; a cluster point is represented separately by MapClusterPt.

No convergence of the entire iterate sequence is assumed. Stationarity requires the nonnegative directional derivative in every direction, not only the coordinates selected at one step. A valid development needs convex analysis of the subproblem, estimates for positive-definite quadratic forms, properties of lower semicontinuity and directional derivatives, and finite-dimensional subsequence arguments. Contributions proving those reusable facts and the named milestones are within scope.

Selected references

  • Paul Tseng and Sangwoon Yun, A coordinate gradient descent method for nonsmooth separable minimization, Mathematical Programming, Series B 117 (2009), 387–423. DOI: 10.1007/s10107-007-0170-0.
9 thms1 active userReviewed
OptimizationProbability·Captain: mikedeng1

Bounded Rationality in Newsvendor Models I: Under Uniform Demand the Logit Newsvendor's Order Is Truncated Normal and Its Mean Is Pulled from x* Toward the MidpointResearch Paper

Motivation

The newsvendor problem is the basic single-period inventory model: a decision maker orders xxx units at unit cost ccc before a random demand DDD is observed, sells min⁡(D,x)\min(D, x)min(D,x) units at price ppp, and loses unsold units. Its optimal order is the critical fractile x∗=F−1(1−c/p)x^* = F^{-1}(1 - c/p)x∗=F−1(1−c/p) of the demand distribution FFF. Laboratory experiments show that human subjects do not order x∗x^*x∗. Schweitzer and Cachon (Management Science 46(3), 2000) gave subjects uniform demand on [0,300][0, 300][0,300] and found that the average order lay below x∗x^*x∗ for a high-margin product and above x∗x^*x∗ for a low-margin product: orders are pulled toward the center of the demand range.

Su (Manufacturing & Service Operations Management 10(4), 2008) explains this pattern with a model of bounded rationality: the decision maker does not pick the best order with certainty, but picks better orders more often, through a logit choice rule. This mission formalizes the first results of that paper, the case of uniform demand, where the logit order has an explicit law and the pull toward the center can be proved exactly. The source is the published MSOM 2008 article; all page numbers are its printed pages.

Setting

A decision maker with utility uuu over an interval S⊆RS \subseteq \mathbb RS⊆R and bounded-rationality parameter β>0\beta > 0β>0 makes a random choice YYY with the logit density

ψ(y)=eu(y)/β∫Seu(v)/β dv,y∈S,\psi(y) = \frac{e^{u(y)/\beta}}{\int_S e^{u(v)/\beta}\,dv}, \qquad y \in S,ψ(y)=∫S​eu(v)/βdveu(y)/β​,y∈S,

and ψ(y)=0\psi(y) = 0ψ(y)=0 off SSS (eq. (2), p. 571). Large β\betaβ means noisy choices; small β\betaβ concentrates the choice near the maximizer of uuu.

In the newsvendor problem the price ppp and unit cost ccc satisfy 0<c<p0 < c < p0<c<p. Demand DDD has density fff and distribution function FFF. The expected profit of ordering xxx units is

π(x)=p Emin⁡(D,x)−cx(eq. (3), p. 572),\pi(x) = p\,\mathbb E\min(D, x) - c x \qquad \text{(eq. (3), p. 572)},π(x)=pEmin(D,x)−cx(eq. (3), p. 572),

and the optimal solution x∗x^*x∗ is its maximizer. The behavioral solution X♭X^\flatX♭ is the logit choice with utility u=πu = \piu=π over the decision domain SSS, the smallest interval containing the support of fff (eq. (4), p. 572).

This mission takes uniform demand D∼U[a,b]D \sim U[a, b]D∼U[a,b] with b>a≥0b > a \ge 0b>a≥0: f=1/(b−a)f = 1/(b-a)f=1/(b−a) on [a,b][a, b][a,b] and S=[a,b]S = [a, b]S=[a,b]. The midpoint of the demand range is m=(a+b)/2m = (a + b)/2m=(a+b)/2. Two parameters recur:

μ=b−cp(b−a),σ2=β b−ap.\mu = b - \frac{c}{p}(b - a), \qquad \sigma^2 = \beta\,\frac{b-a}{p}.μ=b−pc​(b−a),σ2=βpb−a​.

A truncated normal law on [a,b][a, b][a,b] with parameters μ,σ2\mu, \sigma^2μ,σ2 has density proportional to e−(x−μ)2/2σ2e^{-(x-\mu)^2/2\sigma^2}e−(x−μ)2/2σ2 on [a,b][a, b][a,b] and zero elsewhere (eq. (37), p. 586). Write ϕ\phiϕ and Φ\PhiΦ for the standard normal density and distribution function.

Formalization targets

Goal: Proposition 3 (p. 577), midpoint bias

x∗>m  ⟹  EX♭<x∗,x∗<m  ⟹  EX♭>x∗.x^* > m \implies \mathbb E X^\flat < x^*, \qquad x^* < m \implies \mathbb E X^\flat > x^*.x∗>m⟹EX♭<x∗,x∗<m⟹EX♭>x∗.

The goal is stated for every β>0\beta > 0β>0 and every 0<c<p0 < c < p0<c<p, with x∗x^*x∗ any maximizer of π\piπ over R\mathbb RR; it fixes only the sign of the bias, not its size.

Milestones

  1. Eq. (5), p. 572. On [a,b][a, b][a,b], π(x)=Ax2+Bx+C\pi(x) = Ax^2 + Bx + Cπ(x)=Ax2+Bx+C with A=−p/(2(b−a))A = -p/(2(b-a))A=−p/(2(b−a)), B=pb/(b−a)−cB = pb/(b-a) - cB=pb/(b−a)−c, C=−pa2/(2(b−a))C = -pa^2/(2(b-a))C=−pa2/(2(b−a)).
  2. The optimum, pp. 572–573. π\piπ is maximized over R\mathbb RR exactly at μ\muμ, and F(μ)=1−c/pF(\mu) = 1 - c/pF(μ)=1−c/p, so x∗=F−1(1−c/p)=μx^* = F^{-1}(1 - c/p) = \mux∗=F−1(1−c/p)=μ.
  3. Proposition 1, pp. 572–573. The density of X♭X^\flatX♭ equals the truncated normal density on [a,b][a,b][a,b] with parameters μ\muμ and σ2\sigma^2σ2.
  4. Corollary 1, p. 573.
EX♭=μ−σ ϕ((b−μ)/σ)−ϕ((a−μ)/σ)Φ((b−μ)/σ)−Φ((a−μ)/σ).(8)\mathbb E X^\flat = \mu - \sigma\,\frac{\phi((b-\mu)/\sigma) - \phi((a-\mu)/\sigma)}{\Phi((b-\mu)/\sigma) - \Phi((a-\mu)/\sigma)}. \qquad (8)EX♭=μ−σΦ((b−μ)/σ)−Φ((a−μ)/σ)ϕ((b−μ)/σ)−ϕ((a−μ)/σ)​.(8)

Significance

Proposition 3 gives a single mechanism, noise in the choice of the order, that produces both directions of the bias observed by Schweitzer and Cachon: under uniform demand, a high-profit product (x∗>mx^* > mx∗>m) is underordered on average and a low-profit product (x∗<mx^* < mx∗<m) is overordered. Proposition 1 gives the full law of the boundedly rational order, which is what makes the model testable: the paper fits the truncated normal law to experimental order data and estimates β\betaβ (§5). Corollary 1 is the closed-form mean used in that fit and in Proposition 3.

These results are proved in the paper by direct computation; none of them has a machine-checked proof. The mission adds a checked development of the continuous logit choice model on an interval, of the truncated normal law and its mean, and of the uniform-demand newsvendor profit, together with exact statements of what the paper's informal phrases mean (see Formalization scope).

Difficulty

Each step is elementary on paper, but the formal content sits in the integrals. Expected sales Emin⁡(D,x)\mathbb E\min(D, x)Emin(D,x) must be computed as a piecewise integral to obtain eq. (5), and the maximizer must be identified over all of R\mathbb RR, not only on [a,b][a, b][a,b], which needs the profit outside the support as well. Proposition 1 is an identity between two normalized densities, so both normalizing integrals must be shown positive and finite. Corollary 1 requires the mean of a truncated Gaussian in terms of Mathlib's Gaussian density and distribution function, which is not in Mathlib. For Proposition 3, the natural shortcut "the mean of a truncated normal is μ\muμ" is false whenever μ≠m\mu \ne mμ=m, and it is exactly the asymmetry of the truncation that produces the bias.

Formalization scope

All quantities are real numbers, with the paper's standing assumptions as hypotheses: b>a≥0b > a \ge 0b>a≥0, 0<c<p0 < c < p0<c<p (the page states p>cp > cp>c; c>0c > 0c>0 is read so that x∗x^*x∗ lies inside (a,b)(a, b)(a,b)), and β>0\beta > 0β>0 (eq. (2) divides by β\betaβ; β=0\beta = 0β=0, perfect rationality, is a limit, not a value of the formula). The decision domain is the closed interval [a,b][a, b][a,b]; the logit density is zero off it, and expectations are integrals over R\mathbb RR. The parameter σ\sigmaσ is the positive square root of β(b−a)/p\beta(b-a)/pβ(b−a)/p, and ϕ\phiϕ, Φ\PhiΦ are Mathlib's gaussianPDFReal 0 1 and the distribution function of gaussianReal 0 1.

Corrections and readings relative to the printed text:

  • Eq. (5) is stated for x∈[a,b]x \in [a, b]x∈[a,b] only; outside it π\piπ is linear.
  • Proposition 1 says the truncated normal has "mean μ\muμ and variance σ2\sigma^2σ2"; these are the parameters before truncation (as in eq. (37)), and the statement is the equality of densities. The mean of X♭X^\flatX♭ is (8), not μ\muμ.
  • In Proposition 3, "fff constant over [a,b][a, b][a,b]" is read as uniform demand on [a,b][a,b][a,b], as in its proof. The conclusions are inequalities on EX♭\mathbb E X^\flatEX♭, because the §6 preamble (p. 577) defines "overorders" and "underorders" with the inequalities swapped relative to the proof (p. 586); the formal statement follows the proof.

The optimal solution x∗x^*x∗ in the goal is a hypothesis that x∗x^*x∗ maximizes π\piπ over R\mathbb RR, never a variable set to a closed form by fiat; milestone 2 shows the hypothesis is satisfiable and identifies x∗x^*x∗. No statement holds vacuously through a junk value: on [a,b][a, b][a,b] with a<ba < ba<b the logit normalizer is the integral of a continuous positive function over an interval of positive length, and the denominator of (8) is positive because σ>0\sigma > 0σ>0.

Reusable beyond this mission: the logit density on an interval, the truncated normal density, and its mean formula. Proofs of any milestone, and of the mean of a truncated normal law in general, are welcome.

Selected references

  • X. Su, Bounded Rationality in Newsvendor Models, Manufacturing & Service Operations Management 10(4):566–589, 2008. https://doi.org/10.1287/msom.1070.0200
  • M. E. Schweitzer, G. P. Cachon, Decision Bias in the Newsvendor Problem with a Known Demand Distribution: Experimental Evidence, Management Science 46(3):404–420, 2000. https://doi.org/10.1287/mnsc.46.3.404.12070
8 thms1 active userReviewed
ProbabilityStochastic Systems·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
CombinatoricsGraph TheoryLinear Optimization+1·Captain: mikedeng1

Approximating Minimum Bounded Degree Spanning Trees to within One of Optimal 1: Iterative Rounding Finds a Spanning Tree of Cost at Most the LP Optimum with Every Degree at Most B_v + 1Research Paper

Motivation

A network designer may need a cheap connection that keeps the number of links at each site within a local capacity. The minimum bounded-degree spanning tree problem asks for the cheapest spanning tree of a weighted, undirected graph whose vertex degrees respect prescribed upper bounds. The capacity constraints matter in settings where a low-cost tree alone can overload a few hubs. They also make the optimization problem difficult: even with unit edge weights and a bound of two at every vertex, feasibility includes the Hamiltonian path problem. Singh and Lau study the useful relaxation in which the returned tree may exceed each degree bound by one while its cost stays no greater than the best tree satisfying every original bound Singh–Lau 2007.

The weighted result settled the bounded-degree form of a conjecture discussed in their paper. Goemans had obtained a cost-preserving degree guarantee of Bv+2B_v+2Bv​+2; an earlier unweighted local-search result attained a +1+1+1 degree allowance but did not cover arbitrary real costs. Singh and Lau's Theorem 1.2 gives the +1+1+1 allowance in the weighted setting, without assuming nonnegative costs or triangle inequalities Singh–Lau 2007, pp. 661–662. The platform's open WilliamsonShmoys.minimum_degree_tree_local_search_approximation concerns the related unweighted minimum-degree local-search problem, with a different objective and guarantee.

Setting

Let VVV be a finite vertex set and EEE a finite set of unordered, non-loop edges. A spanning tree T⊆ET\subseteq ET⊆E connects every vertex without a cycle. Every edge eee has a real cost cec_ece​, so c(T)=∑e∈Tcec(T)=\sum_{e\in T}c_ec(T)=∑e∈T​ce​. Each vertex vvv has an integer upper bound BvB_vBv​ on its tree degree dT(v)d_T(v)dT​(v). A feasible original solution has dT(v)≤Bvd_T(v)\le B_vdT​(v)≤Bv​ for all vvv.

The paper studies a broader connecting-tree problem. A forest FFF is already selected; its connected components, including isolated vertices, are supernodes. The remaining graph has edges EEE disjoint from FFF. A set H⊆EH\subseteq EH⊆E is an FFF-tree if H∪FH\cup FH∪F is a spanning tree. Degree bounds are active only at vertices in W⊆VW\subseteq VW⊆V, and dH(v)d_H(v)dH​(v) counts edges of HHH, not edges of FFF. The initial spanning-tree problem is the case F=∅F=\varnothingF=∅ and W=VW=VW=V Singh–Lau 2007, p. 665.

For an edge set QQQ and vertex set SSS, write Q(S)Q(S)Q(S) for edges of QQQ with both endpoints in SSS, and δE(v)\delta_E(v)δE​(v) for edges of EEE incident to vvv. The LP-MBDCT relaxation has a nonnegative variable xex_exe​ for each e∈Ee\in Ee∈E. It requires x(E)=∣V∣−∣F∣−1x(E)=|V|-|F|-1x(E)=∣V∣−∣F∣−1, requires x(E(S))≤∣S∣−∣F(S)∣−1x(E(S))\le |S|-|F(S)|-1x(E(S))≤∣S∣−∣F(S)∣−1 for every nonempty union SSS of supernodes, and requires x(δE(v))≤Bvx(\delta_E(v))\le B_vx(δE​(v))≤Bv​ for v∈Wv\in Wv∈W. Its objective is ∑e∈Ecexe\sum_{e\in E}c_ex_e∑e∈E​ce​xe​. At F=∅F=\varnothingF=∅, W=VW=VW=V, this is the spanning-tree LP in equations (1)–(5) Singh–Lau 2007, pp. 662, 665.

Formalization targets

Theorem 1.2: bounded-degree spanning trees

For every feasible initial LP, the paper's Figure 4 algorithm has a terminating run. Every possible run returns a spanning tree TTT satisfying

dT(v)≤Bv+1(v∈V),c(T)≤∑e∈Ecexefor every LP-feasible x.d_T(v)\le B_v+1\quad(v\in V),\qquad c(T)\le\sum_{e\in E}c_ex_e\quad\text{for every LP-feasible }x.dT​(v)≤Bv​+1(v∈V),c(T)≤e∈E∑​ce​xe​for every LP-feasible x.

In particular, c(T)c(T)c(T) is at most the cost of every spanning tree satisfying the original bounds, and thus at most the original optimum. Every run has at most 2∣V∣−12|V|-12∣V∣−1 iterations. The cost comparison against every LP-feasible vector states the stronger bound used by Theorem 4.2 Singh–Lau 2007, pp. 661, 666.

Theorem 4.2 and its milestones

The connecting-tree theorem makes the same cost and degree guarantee for an arbitrary feasible state (E,B,W,F)(E,B,W,F)(E,B,W,F), with dH(v)≤Bv+1d_H(v)\le B_v+1dH​(v)≤Bv​+1 only for v∈Wv\in Wv∈W. The attack path follows the paper's numbered results: Lemma 4.3 describes tight constraints by a laminar family, Claim 4.5 classifies vertices with one excess token, Lemma 4.6 bounds tokens inside a laminar subtree, and Lemma 4.1 says each nonterminal basic solution has either a unit-valued edge or a removable degree constraint. Theorem 4.2 then supplies the general guarantee Singh–Lau 2007, pp. 666–667.

Significance

The result allows one unit of violation at each local degree bound while preserving the cost benchmark exactly. It applies even when negative edge costs make standard multiplicative cost ratios awkward. The connecting-tree statement is useful beyond the initial instance because it covers a forest already accumulated and a subset of degree constraints still active.

This mission formalizes the known 2007 result as an open Lean proof target; the paper proves the mathematics, while the declarations here currently have no machine-checked proofs. A completed development would provide a reusable account of a spanning-tree LP with forest contraction, basic solutions defined by tight rows, and a finite relational algorithm with all choices exposed. These objects could support the paper's lower-and-upper-bound extension and other iterative-rounding results.

Difficulty

Rounding an arbitrary fractional edge upward can increase cost beyond the LP benchmark. Restricting the algorithm to edges with value exactly one protects that benchmark, but a nonterminal basic solution need not present a unit-valued edge. The central structural question is then whether some active degree constraint can be removed with only a one-unit effect on the final degree. The tight subtour rows and degree rows overlap, so counting edges from the support alone is insufficient; Lemmas 4.3–4.6 resolve the dependency and token-counting issues that make the direct argument fail Singh–Lau 2007, pp. 666–667.

Formalization scope

Lean represents edges as Sym2 V in finite sets, excluding diagonal edges. It represents LP vectors on all unordered pairs but requires zero values outside the current edge set. A forest is acyclic on the full vertex set. A compatible subtour set is a union of its connected components. Subtour right-hand sides are real numbers, so subtraction does not truncate at zero; the empty set is excluded because the literal row would make the LP infeasible. Degree bounds are integers so the algorithm's decrements are total. A basic feasible solution is determined uniquely by its tight equality rows among vectors supported on the current edge set. Linear independence in Lemma 4.3 is checked on the positive support.

Figure 4 is a relation because the LP optimum, a unit-valued edge, and a qualifying vertex may each be chosen in several ways. Its edge and vertex tests are mandatory when their conditions hold. The vertex test uses the support before deleting the selected edge and bounds after decrementing its endpoints, following the printed order. “The algorithm returns” is represented by existence of a run, an iteration bound on every step chain, and guarantees for every returned set. “Cost at most the LP optimum” means cost no greater than the objective at every feasible LP vector. “Polynomial time” is represented by the iteration count; the ellipsoid LP solver and separation-oracle complexity are outside this mission. Lemma 4.6's token distribution is expressed as its explicit counting inequality.

The goal asserts the Figure 4 output and its LP cost guarantee. Bare existence of a tree with cost at most the optimum and degrees at most Bv+1B_v+1Bv​+1 would be witnessed by an original optimal tree and would lose the algorithmic theorem. A return guarantee without run existence would hold vacuously for a stuck relation. Contributions that prove the stated structural lemmas, establish the LP oracle's basic-optimum availability, or close the algorithm invariant are within scope. No existing platform item treats this bounded-degree LP and iterative-rounding algorithm under these conventions; the plain minimum-spanning-tree LP definition uses a different edge representation and no forest or degree constraints.

Selected references

  • Mohit Singh and Lap Chi Lau, Approximating Minimum Bounded Degree Spanning Trees to within One of Optimal, Proceedings of the 39th ACM Symposium on Theory of Computing (STOC), 2007, pp. 661–670. DOI: 10.1145/1250790.1250887.
8 thms1 active userReviewed
ProbabilityStochastic Systems·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
Dynamic ProgrammingMarkov Chain·Captain: mikedeng1

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

Motivation

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

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

Setting

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

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

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

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

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

and those of maximal bias among them form

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

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

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

Formalization targets

Goal: Theorem 7

For every f∈Ff\in Ff∈F,

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

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

Milestones

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

Significance

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

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

Difficulty

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

Formalization scope

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

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

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

Selected references

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

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