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,210 missions · 1,092 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

Open1118Completed1092All2210
Linear OptimizationOptimization·Captain: mikedeng1

An O(√nL)-Iteration Homogeneous and Self-Dual Linear Programming Algorithm 2: τᵏ Stays Bounded Below If (LP) Has an Optimum, and Otherwise κᵏ Stays Bounded Below and τᵏ/θᵏ Is BoundedResearch Paper

Motivation

Interior-point methods for linear programming are usually analysed under two assumptions: a strictly feasible starting point is known, and the problem has an optimal solution. In practice neither is known in advance. The homogeneous self-dual embedding of Ye, Todd and Mizuno (Math. Oper. Res. 19(1), 1994) removes both assumptions. It embeds a standard-form linear program and its dual into one artificial program that always has an obvious interior starting point. A solution of the artificial program either yields optimal solutions of the original pair or certifies that one of them is infeasible. The embedding underlies the infeasibility detection of several interior-point LP and conic solvers.

The paper's main result is an O(nL)O(\sqrt n L)O(n​L) iteration bound. Section 4, "Analysis of the output", asks a different, practical question: what can be read off the iterates if the algorithm is stopped early, at an approximate solution? Theorem 8 answers it. This mission formalizes Theorem 8 and the results its proof uses.

Setting

Let A∈Rm×nA\in\mathbb R^{m\times n}A∈Rm×n, b∈Rmb\in\mathbb R^mb∈Rm, c∈Rnc\in\mathbb R^nc∈Rn. The primal and dual programs are

(LP) min⁡{cTx:Ax=b, x≥0},(LD) max⁡{bTy:ATy≤c},\text{(LP)}\ \min\{c^Tx : Ax=b,\ x\ge0\},\qquad \text{(LD)}\ \max\{b^Ty : A^Ty\le c\},(LP) min{cTx:Ax=b, x≥0},(LD) max{bTy:ATy≤c},

with dual slack s=c−ATys=c-A^Tys=c−ATy. An optimal solution pair is an optimal xˉ\bar xxˉ of (LP) together with an optimal (yˉ,sˉ)(\bar y,\bar s)(yˉ​,sˉ) of (LD).

Write eee for the all-ones vector and set bˉ=b−Ae\bar b=b-Aebˉ=b−Ae, cˉ=c−e\bar c=c-ecˉ=c−e, zˉ=cTe+1\bar z=c^Te+1zˉ=cTe+1. The homogeneous self-dual program (HLP), in the paper's normalization y0=0y^0=0y0=0, x0=s0=ex^0=s^0=ex0=s0=e, has variables (y,x,τ,θ,s,κ)(y,x,\tau,\theta,s,\kappa)(y,x,τ,θ,s,κ) with y∈Rmy\in\mathbb R^my∈Rm, x,s∈Rnx,s\in\mathbb R^nx,s∈Rn, τ,θ,κ∈R\tau,\theta,\kappa\in\mathbb Rτ,θ,κ∈R:

min⁡(n+1)θs.t.Ax−bτ+bˉθ=0,s=−ATy+cτ−cˉθ ≥0,κ=bTy−cTx+zˉθ ≥0,−bˉTy+cˉTx−zˉτ=−(n+1),x≥0, τ≥0.\begin{array}{rl} \min & (n+1)\theta\\ \text{s.t.} & Ax-b\tau+\bar b\theta=0,\\ & s=-A^Ty+c\tau-\bar c\theta\ \ge0,\\ & \kappa=b^Ty-c^Tx+\bar z\theta\ \ge0,\\ & -\bar b^Ty+\bar c^Tx-\bar z\tau=-(n+1),\qquad x\ge0,\ \tau\ge0. \end{array}mins.t.​(n+1)θAx−bτ+bˉθ=0,s=−ATy+cτ−cˉθ ≥0,κ=bTy−cTx+zˉθ ≥0,−bˉTy+cˉTx−zˉτ=−(n+1),x≥0, τ≥0.​

Fh\mathcal F_hFh​ is its feasible set and Fh0\mathcal F_h^0Fh0​ the subset with x,τ,s,κ>0x,\tau,s,\kappa>0x,τ,s,κ>0. A self-complementary solution is an optimal solution of (HLP). A strictly self-complementary one also has θ=0\theta=0θ=0 and (x+s;τ+κ)>0(x+s;\tau+\kappa)>0(x+s;τ+κ)>0. For a point of (HLP) put μ=(xTs+τκ)/(n+1)\mu=(x^Ts+\tau\kappa)/(n+1)μ=(xTs+τκ)/(n+1), and for β∈(0,1)\beta\in(0,1)β∈(0,1) let

N(β)={z∈Fh0:∥(Xsτκ)−μe∥2≤βμ}.\mathcal N(\beta)=\Bigl\{z\in\mathcal F_h^0 : \Bigl\|\begin{pmatrix}Xs\\ \tau\kappa\end{pmatrix}-\mu e\Bigr\|_2\le\beta\mu\Bigr\}.N(β)={z∈Fh0​:​(Xsτκ​)−μe​2​≤βμ}.

The predictor–corrector algorithm with β=1/4\beta=1/4β=1/4 starts at z0=(0,e,1,1,e,1)z^0=(0,e,1,1,e,1)z0=(0,e,1,1,e,1). At even kkk (predictor step) it solves the Newton system (11)–(12) with target γμk=0\gamma\mu^k=0γμk=0 and moves along the direction by the largest step that stays in N(2β)\mathcal N(2\beta)N(2β) (13). At odd kkk (corrector step) it solves the system with target μk\mu^kμk and takes a full step.

Formalization targets

Goal: Theorem 8 (p. 63)

For every predictor–corrector sequence (yk,xk,τk,θk,sk,κk)(y^k,x^k,\tau^k,\theta^k,s^k,\kappa^k)(yk,xk,τk,θk,sk,κk):

  1. if (LP) possesses an optimal solution, then for every optimal pair xˉ,(yˉ,sˉ)\bar x,(\bar y,\bar s)xˉ,(yˉ​,sˉ)
τk≥1−2βeTxˉ+eTsˉ+1for all k;\tau^k\ge\frac{1-2\beta}{e^T\bar x+e^T\bar s+1}\quad\text{for all }k;τk≥eTxˉ+eTsˉ+11−2β​for all k;
  1. otherwise there is a fixed ε>0\varepsilon>0ε>0, independent of kkk, with
κk≥(1−2β)εn+1,1−2β2(n+1)≤1−2βκk≤τkθk≤1+2βκk≤(n+1)(1+2β)(1−2β)ε\kappa^k\ge\frac{(1-2\beta)\varepsilon}{n+1},\qquad \frac{1-2\beta}{2(n+1)}\le\frac{1-2\beta}{\kappa^k}\le\frac{\tau^k}{\theta^k}\le\frac{1+2\beta}{\kappa^k}\le\frac{(n+1)(1+2\beta)}{(1-2\beta)\varepsilon}κk≥n+1(1−2β)ε​,2(n+1)1−2β​≤κk1−2β​≤θkτk​≤κk1+2β​≤(1−2β)ε(n+1)(1+2β)​

for all kkk.

Milestones

In the order the proof uses them:

  • the predictor-step and corrector-step claims from the proof of Theorem 6 (p. 62);
  • the iterates lie in N(2β)\mathcal N(2\beta)N(2β) (p. 63);
  • Theorem 2 (iv): the optimal value of (HLP) is 000 and (n+1)θ=xTs+τκ(n+1)\theta=x^Ts+\tau\kappa(n+1)θ=xTs+τκ on Fh\mathcal F_hFh​ (stated for general x0,s0>0x^0,s^0>0x0,s0>0, y0y^0y0);
  • equation (9): eTx+eTs+τ+κ−(n+1)θ=n+1e^Tx+e^Ts+\tau+\kappa-(n+1)\theta=n+1eTx+eTs+τ+κ−(n+1)θ=n+1;
  • an optimal pair scaled by α=(n+1)/(eTxˉ+eTsˉ+1)\alpha=(n+1)/(e^T\bar x+e^T\bar s+1)α=(n+1)/(eTxˉ+eTsˉ+1) is a self-complementary solution;
  • the orthogonality identity (xk)Ts∗+(sk)Tx∗+κkτ∗=(n+1)θk(x^k)^Ts^*+(s^k)^Tx^*+\kappa^k\tau^*=(n+1)\theta^k(xk)Ts∗+(sk)Tx∗+κkτ∗=(n+1)θk;
  • Theorem 2 (v), existence of a strictly self-complementary solution;
  • Theorem 3 (i) and (ii), reading such a solution back into (LP) and (LD);
  • the bound κk≤(n+1)+(n+1)θk≤2(n+1)\kappa^k\le(n+1)+(n+1)\theta^k\le2(n+1)κk≤(n+1)+(n+1)θk≤2(n+1).

Significance

Theorem 8 is a stopping criterion. Either τk\tau^kτk stays bounded away from zero, which happens exactly when (LP) has an optimal solution, or τk\tau^kτk and θk\theta^kθk go to zero at the same rate while κk\kappa^kκk stays bounded away from zero. An implementation can therefore watch τk/θk\tau^k/\theta^kτk/θk and κk\kappa^kκk and decide the status of (LP) from an approximate iterate, without the exact rounding procedure needed for the O(nL)O(\sqrt nL)O(n​L) bound. The bounds hold for real data, with no integrality and no bit length.

Theorem 8 has a published proof on one page, building on the self-duality facts of §2 and the Mizuno–Todd–Ye step analysis. None of it is machine-checked. A complete development would give a verified account of the homogeneous self-dual embedding, including:

  • the skew-symmetric orthogonality argument;
  • Goldman–Tucker strict complementarity for (HLP);
  • the predictor–corrector neighborhood invariants.

These are the ingredients of every analysis of the embedding. Homogeneous self-dual programs appear on Prove2Me in other conventions (Vanderbei's (22.4) and (22.21), Matoušek's (SD)), but their statements concern different programs: no artificial variable θ\thetaθ, no normalizing row. They do not formalize any statement here.

Difficulty

The two branches of Theorem 8 rest on facts of different depth.

  • The first branch needs only an optimal pair of (LP)/(LD), lifted into (HLP), and the identity (xk)Ts∗+(sk)Tx∗+κkτ∗=(n+1)θk(x^k)^Ts^*+(s^k)^Tx^*+\kappa^k\tau^*=(n+1)\theta^k(xk)Ts∗+(sk)Tx∗+κkτ∗=(n+1)θk.
  • The "otherwise" branch needs an optimal solution of (HLP) with κ∗>0\kappa^*>0κ∗>0. Its existence is not elementary. It comes from strict complementarity (Theorem 2 (v)) together with the characterization of Theorem 3 (i). Strict complementarity for linear programs is the Goldman–Tucker theorem, which Mathlib does not contain.
  • The neighborhood invariants behind "the sequence is in N(2β)\mathcal N(2\beta)N(2β)" are the Mizuno–Todd–Ye estimates. They need the orthogonality dxTds+dτdκ=0d_x^Td_s+d_\tau d_\kappa=0dxT​ds​+dτ​dκ​=0 of the Newton directions and a careful quadratic bound on ∥Dxds∥\|D_xd_s\|∥Dx​ds​∥.

The obvious first idea is to treat Theorem 8 as a consequence of Theorem 6. It fails: Theorem 8 is about every iterate of an infinite run and uses no iteration count. The constant ε\varepsilonε depends on the instance and is not explicit.

Formalization scope

  • Data. Real data A : Matrix (Fin m) (Fin n) ℝ, b : Fin m → ℝ, c : Fin n → ℝ, with no rank assumption and no integrality. (LP)/(LD) feasibility and optimality are built on the published general-form LP definition LinearOptimization_DualLP. "(LP) has a solution (feasible and bounded)" in Theorem 3 is read as "(LP) has an optimal solution".
  • Points. A point of (HLP) is a structure with fields y x τ θ s κ. The slacks s,κs,\kappas,κ are pinned to the constraint expressions. (HLP) is defined for general (x0,y0,s0)(x^0,y^0,s^0)(x0,y0,s0); the instance (7) is obtained by substitution. Optimality means minimizing the objective over Fh\mathcal F_hFh​, not "θ=0\theta=0θ=0", so Theorem 2 (iv) is not built into the definition.
  • Norm. The norm in N(β)\mathcal N(\beta)N(β) is the Euclidean norm on Rn+1\mathbb R^{n+1}Rn+1, written out explicitly.
  • Constants. β=1/4\beta=1/4β=1/4 is a named constant. The statements show 1−2β1-2\beta1−2β and 1+2β1+2\beta1+2β as printed.
  • The iteration. It is a relation IsPCSequence: z0=(0,e,1,1,e,1)z^0=(0,e,1,1,e,1)z0=(0,e,1,1,e,1), and each step is zk+1=zk+αdz^{k+1}=z^k+\alpha dzk+1=zk+αd for some solution ddd of (11)–(12). The relation is needed because dyd_ydy​ is not unique when AAA is rank-deficient.
  • Step size. The predictor step size must be the greatest element of the set in (13), as printed. On an instance where that maximum is not attained, no predictor–corrector sequence exists and Theorem 8 holds vacuously there. A sorry-free check shows that z0∈N(1/4)z^0\in\mathcal N(1/4)z0∈N(1/4) for all data, so the sequence does start.
  • The two branches. They are two implications with complementary hypotheses, "(LP) has an optimal solution" and its negation. The negation covers infeasible and unbounded (LP) alike.
  • Quantifiers. The first branch quantifies over all optimal pairs. In the second, ∃ε>0\exists\varepsilon>0∃ε>0 precedes ∀k\forall k∀k.
  • Divisions. The chain keeps the printed divisions. All denominators (κk\kappa^kκk, θk=μk\theta^k=\mu^kθk=μk) are positive on N(2β)\mathcal N(2\beta)N(2β), so Lean's x/0=0x/0=0x/0=0 convention plays no role.
  • Ruled out. A formalization in which ε\varepsilonε may depend on kkk, or in which the first branch asserts the bound for only some optimal pair, would make Theorem 8 trivial or weaker. Both are excluded.

Needed infrastructure: LP duality and Goldman–Tucker strict complementarity for real standard-form programs, and the skew-symmetric orthogonality lemma. These are reusable well beyond this mission. Proofs of any milestone, and alternative arguments (e.g. via the central-path limit) for the existence of κ∗>0\kappa^*>0κ∗>0, are welcome.

Selected references

  • Y. Ye, M. J. Todd, S. Mizuno, An O(nL)O(\sqrt nL)O(n​L)-Iteration Homogeneous and Self-Dual Linear Programming Algorithm, Mathematics of Operations Research 19(1), 53–67, 1994. https://doi.org/10.1287/moor.19.1.53
  • S. Mizuno, M. J. Todd, Y. Ye, On Adaptive-Step Primal-Dual Interior-Point Algorithms for Linear Programming, Mathematics of Operations Research 18(4), 964–981, 1993. https://doi.org/10.1287/moor.18.4.964
  • O. Güler, Y. Ye, Convergence behavior of interior-point algorithms, Mathematical Programming 60, 215–228, 1993. https://doi.org/10.1007/BF01580610
  • A. J. Goldman, A. W. Tucker, Theory of linear programming, in Linear Inequalities and Related Systems, Annals of Mathematics Studies 38, 53–97, 1956. https://doi.org/10.1515/9781400881987-005
17 thms3 active usersReviewed
🏆Completed
Convex OptimizationOptimization·Captain: mikedeng1

Semidefinite Programming 2: If Every Step Lowers the Potential φ by δ > 0, Then After k ≥ (ν√n log(1/ε) + ψ(x⁽⁰⁾, Z⁽⁰⁾))/δ Steps the Duality Gap Is at Most ε Times Its Initial ValueResearch Paper

Motivation

Semidefinite programs optimize a linear objective while requiring an affine matrix to be positive semidefinite. They include familiar linear and quadratic optimization models and arise in engineering and combinatorial optimization. Vandenberghe and Boyd's survey develops their duality theory and describes interior point methods that work with primal and dual matrices simultaneously. The question in this mission is quantitative: if a method lowers a particular potential by a fixed amount at each step, how quickly does its primal-dual objective gap shrink? Vandenberghe and Boyd, pp. 49, 76–77.

The paper uses the potential to combine two kinds of progress. One term records the size of the duality gap; another records how far the current matrices are from a central pair. Decreasing the gap alone does not ensure the matrices remain well positioned for the next step, so the potential accounts for both quantities. Theorem 5.1 turns a per-step decrease in this scalar into an explicit bound on the gap after kkk steps. The theorem concerns any sequence meeting that decrease condition; it does not prescribe a particular search direction or step-selection algorithm. Vandenberghe and Boyd, pp. 76–77.

Setting

Fix a vector c∈Rmc\in\mathbb R^mc∈Rm and symmetric real n×nn\times nn×n matrices F0,F1,…,FmF_0,F_1,\ldots,F_mF0​,F1​,…,Fm​. For x∈Rmx\in\mathbb R^mx∈Rm, define the affine matrix

F(x)=F0+∑i=1mxiFi.F(x)=F_0+\sum_{i=1}^{m}x_iF_i.F(x)=F0​+i=1∑m​xi​Fi​.

The primal problem minimizes cTxc^TxcTx subject to F(x)⪰0F(x)\succeq0F(x)⪰0. A dual-feasible matrix ZZZ satisfies Z⪰0Z\succeq0Z⪰0 and Tr⁡(FiZ)=ci\operatorname{Tr}(F_iZ)=c_iTr(Fi​Z)=ci​ for every i=1,…,mi=1,\ldots,mi=1,…,m. Here ⪰0\succeq0⪰0 means positive semidefinite; ≻0\succ0≻0 means positive definite. The pair (x,Z)(x,Z)(x,Z) is strictly feasible if both F(x)≻0F(x)\succ0F(x)≻0 and Z≻0Z\succ0Z≻0, with the dual equations still satisfied. Section 4 also assumes that F1,…,FmF_1,\ldots,F_mF1​,…,Fm​ are linearly independent. Vandenberghe and Boyd, pp. 49, 63, 70.

For a feasible pair, the duality gap is the difference between the primal objective cTxc^TxcTx and the dual objective −Tr⁡(F0Z)-\operatorname{Tr}(F_0Z)−Tr(F0​Z). Equation (32) identifies it as

η=cTx+Tr⁡(F0Z)=Tr⁡(F(x)Z).\eta=c^Tx+\operatorname{Tr}(F_0Z)=\operatorname{Tr}(F(x)Z).η=cTx+Tr(F0​Z)=Tr(F(x)Z).

For a strictly feasible pair, define the deviation from centrality and the potential by

ψ(x,Z)=−log⁡det⁡(F(x)Z)+nlog⁡η−nlog⁡n,\psi(x,Z)=-\log\det(F(x)Z)+n\log\eta-n\log n,ψ(x,Z)=−logdet(F(x)Z)+nlogη−nlogn, φ(x,Z)=νn log⁡η+ψ(x,Z),ν≥1.\varphi(x,Z)=\nu\sqrt n\,\log\eta+\psi(x,Z),\qquad \nu\ge1.φ(x,Z)=νn​logη+ψ(x,Z),ν≥1.

The logarithm is natural. The matrix size nnn determines the n\sqrt nn​ factor; it is distinct from the number mmm of decision variables. These are the explicit formulas on p. 76, where the paper also expresses ψ\psiψ through a central pair. Vandenberghe and Boyd, pp. 64, 75–76.

Formalization targets

The first milestones establish the gap identity, the expanded determinant formula for φ\varphiφ, and nonnegativity of ψ\psiψ with its stated equality condition. The final milestone bounds the gap by the potential:

η≤exp⁡ ⁣(φ(x,Z)νn).\eta\le\exp\!\left(\frac{\varphi(x,Z)}{\nu\sqrt n}\right).η≤exp(νn​φ(x,Z)​).

For the goal, let (x(j),Z(j))(x^{(j)},Z^{(j)})(x(j),Z(j)), j=0,…,kj=0,\ldots,kj=0,…,k, be strictly feasible pairs and suppose a fixed δ>0\delta>0δ>0 gives the decrease stated in equation (56) at every step j<kj<kj<k:

φ(x(j+1),Z(j+1))≤φ(x(j),Z(j))−δ.\varphi(x^{(j+1)},Z^{(j+1)})\le\varphi(x^{(j)},Z^{(j)})-\delta.φ(x(j+1),Z(j+1))≤φ(x(j),Z(j))−δ.

The goal theorem, Theorem 5.1, says that for 0<ε<10<\varepsilon<10<ε<1 and

k≥νnlog⁡(1/ε)+ψ(x(0),Z(0))δ,k\ge\frac{\nu\sqrt n\log(1/\varepsilon)+\psi(x^{(0)},Z^{(0)})}{\delta},k≥δνn​log(1/ε)+ψ(x(0),Z(0))​,

one has the boundary-correct gap estimate

Tr⁡(F(x(k))Z(k))≤εTr⁡(F(x(0))Z(0)).\operatorname{Tr}(F(x^{(k)})Z^{(k)})\le\varepsilon\operatorname{Tr}(F(x^{(0)})Z^{(0)}).Tr(F(x(k))Z(k))≤εTr(F(x(0))Z(0)).

The paper prints a strict inequality in the last display. Its stated non-strict threshold permits equality, as explained under Formalization scope. Vandenberghe and Boyd, p. 77, (56) and Theorem 5.1.

Significance

The theorem converts a local numerical guarantee into a global bound on an optimization certificate. Because the gap is the difference between primal and dual objectives, shrinking it gives a quantitative measure of progress toward optimality for every strictly feasible iterate. The expression records the dependence on matrix size, desired relative gap, starting deviation, and guaranteed potential decrease. It leaves the mechanism that achieves the decrease open, so different potential reduction methods can use the same conclusion. Vandenberghe and Boyd, pp. 64, 76–77.

The target here is a machine-checked statement and proof of this known 1996 result, together with its four supporting facts. The draft declarations compile as statements; their proofs remain open. A complete development would make the determinant, trace, positive-definiteness, and sequence reasoning reusable for other matrix optimization arguments. It would also record the boundary correction precisely rather than carrying forward a strict sign that fails at equality.

Difficulty

The substantive matrix claim is ψ(x,Z)≥0\psi(x,Z)\ge0ψ(x,Z)≥0. The product F(x)ZF(x)ZF(x)Z need not be symmetric, even though both factors are positive definite, so directly applying a result about symmetric matrix eigenvalues to the product is not automatic. The nonnegativity and its equality case must respect the positivity and determinant conventions used by the explicit formula. The later exponential bound and iteration statement depend on those facts and on keeping each logarithm in its positive domain. Vandenberghe and Boyd, p. 76.

Formalization scope

Lean uses Fin m for the mmm variable matrices, indexed from zero, with F0F_0F0​ as a separate argument; Fin n indexes matrix rows and columns. Matrix.IsHermitian represents real symmetry. Matrix.PosSemidef and Matrix.PosDef represent the paper's matrix inequalities ⪰0\succeq0⪰0 and ≻0\succ0≻0, including symmetry. The matrix size satisfies n≥1n\ge1n≥1. Traces, determinants, natural logarithms, and n\sqrt nn​ are the corresponding Mathlib operations. All statements involving ψ\psiψ or φ\varphiφ require strict feasibility, so the real logarithm's default value on nonpositive inputs cannot decide a theorem. The paper's linearly independent F1,…,FmF_1,\ldots,F_mF1​,…,Fm​ are an explicit hypothesis on the Section 4 and 5 statements. Vandenberghe and Boyd, pp. 49, 70, 76–77.

The definition of ψ\psiψ uses the explicit second formula on p. 76. The central pair in the preceding formula is not represented; its existence is introduced on p. 75 without a proof there. The p. 76 prose describes ψ≥0\psi\ge0ψ≥0 for feasible pairs, but its finite real logarithmic formula and the potential reduction iterates use strictly feasible pairs. The milestone states that domain explicitly. In Theorem 5.1 strict feasibility is assumed for the iterates j=0,…,kj=0,\ldots,kj=0,…,k and equation (56) for the steps j<kj<kj<k only, so the statement covers a method that stops after kkk steps. The fixed δ\deltaδ is positive, and ν≥1\nu\ge1ν≥1 and 0<ε<10<\varepsilon<10<ε<1 are explicit.

The paper's strict conclusion is false at its own inclusive threshold. Take m=n=1m=n=1m=n=1, F0=0F_0=0F0​=0, F1=c=Z(j)=1F_1=c=Z^{(j)}=1F1​=c=Z(j)=1, x(j)=e−jx^{(j)}=e^{-j}x(j)=e−j, ν=δ=1\nu=\delta=1ν=δ=1, and ε=e−1\varepsilon=e^{-1}ε=e−1. Then ψ=0\psi=0ψ=0, each decrease is exactly one, and at k=1k=1k=1 the gap equals ε\varepsilonε times its initial value. The goal therefore uses ≤\le≤, the strongest statement valid at the printed threshold. This correction is recorded in the theorem's description and moderation notes. Vandenberghe and Boyd, p. 77, Theorem 5.1.

A complete proof needs Mathlib's matrix order, determinant and trace identities, logarithm and exponential facts, and an arithmetic-geometric mean statement for positive eigenvalues. Matrix lemmas and the deviation inequality are welcome contributions alongside the final sequence bound. The definitions preserve the paper's full potential and feasible domain; replacing ψ\psiψ by zero or dropping the n\sqrt nn​ factor would change the target.

Selected references

  • Lieven Vandenberghe and Stephen Boyd, Semidefinite Programming, SIAM Review 38(1), 49–95, 1996. DOI: 10.1137/1038003.
9 thms3 active usersReviewed
🏆Completed
Algorithmic Game Theory·Captain: mikedeng1

Potential Games 3: A Finite Game Has the Finite Improvement Property If and Only If It Has a Generalized Ordinal PotentialResearch Paper

Motivation

In a strategic game, players may repeatedly change their own choices when a change raises their payoff. This gives a simple model of decentralized adjustment: each move uses the current profile and one player's immediate incentive. The central question is whether such adjustment can continue forever. Monderer and Shapley introduced the finite improvement property (FIP) to state that every sequence of strict unilateral improvements ends. Their 1996 paper, pp. 128–130, relates that dynamic property to a real-valued function on the game's strategy profiles.

An ordinal potential records each player's strict preference between two of their strategies when the other players' strategies are fixed. Such a function is useful because it assigns one common direction to the players' individual choices. The paper gives a two-player game G1G_1G1​ that has the FIP but no ordinal potential, then introduces a weaker, generalized ordinal potential and proves that it captures exactly the finite games with the FIP (Monderer and Shapley, pp. 129–130). This mission isolates that characterization from the paper's other results about exact potentials and congestion games.

Setting

Let NNN be a finite set of players. Player i∈Ni\in Ni∈N has a strategy set YiY^iYi, and a strategy profile y∈Y=∏i∈NYiy\in Y=\prod_{i\in N}Y^iy∈Y=∏i∈N​Yi selects one strategy for each player. The payoff function ui:Y→Ru^i:Y\to\mathbb Rui:Y→R gives player iii's payoff at a profile. Write (y−i,x)(y^{-i},x)(y−i,x) for the profile obtained by replacing player iii's strategy in yyy by x∈Yix\in Y^ix∈Yi. A finite game has finite YiY^iYi for every player. These are the paper's conventions at the start of §2 (p. 127).

A path is a sequence of profiles in which each step changes exactly one player's strategy to a different strategy. It is an improvement path when the moving player strictly increases their payoff at every step. The game has the FIP if no infinite improvement path exists. Thus the property concerns paths of any length and every allowed choice of deviator, rather than the behavior of one selected update rule (p. 128).

An ordinal potential P:Y→RP:Y\to\mathbb RP:Y→R satisfies

ui(y−i,x)>ui(y−i,z)⟺P(y−i,x)>P(y−i,z)u^i(y^{-i},x)>u^i(y^{-i},z)\quad\Longleftrightarrow\quad P(y^{-i},x)>P(y^{-i},z)ui(y−i,x)>ui(y−i,z)⟺P(y−i,x)>P(y−i,z)

for every player iii, opponents' profile y−iy^{-i}y−i, and x,z∈Yix,z\in Y^ix,z∈Yi. A generalized ordinal potential replaces this equivalence by the forward implication only. The two notions are distinct, as the game G1G_1G1​ on p. 129 shows (equations (2.1) and (2.3), pp. 127, 129).

Formalization targets

Goal: Lemma 2.5

For every finite game Γ\GammaΓ,

Γ has the FIP⟺Γ admits a generalized ordinal potential.\Gamma\text{ has the FIP}\quad\Longleftrightarrow\quad \Gamma\text{ admits a generalized ordinal potential}.Γ has the FIP⟺Γ admits a generalized ordinal potential.

This is Lemma 2.5, p. 129. It specifies a precise characterization rather than choosing a particular potential or a particular update schedule.

Supporting statements

The milestone list follows the paper's statements: Lemma 2.3 says a finite ordinal potential game has the FIP; the proof of Lemma 2.5 says the finite-improvement reachability relation is transitive under the FIP; and it concludes that the whole strategy-profile set can be represented by a real function increasing along that relation (pp. 128–130). Corollary 2.6 and the explicit game G1G_1G1​ record the boundary between ordinal and generalized ordinal potentials: under its distinct-payoff condition a finite game with the FIP has an ordinal potential, while G1G_1G1​ shows that condition cannot simply be omitted (pp. 129–130). Lemma 2.1 and Corollary 2.2 concern equilibria: an ordinal potential game has the same pure equilibria as the game in which every player receives the potential, so a maximizer of the potential is an equilibrium, and every finite ordinal potential game has a pure-strategy equilibrium (p. 128).

Significance

The goal connects a property of all possible strict improvement paths to the existence of a single real-valued certificate on profiles. In a finite game, such a certificate describes a common direction for unilateral payoff gains, regardless of which improving player moves next. The distinction between ordinary and generalized ordinal potentials matters: an ordinary potential must also preserve indifference, whereas the FIP alone does not require that (Monderer and Shapley, p. 129).

The characterization is proved in the paper; the remaining work in this mission is a Lean proof of its faithful finite-game statement. The local platform index used for this proposal has no published theorem expressing this characterization. The definitions of improvement paths and improvement reachability can also support other formal results about game dynamics. The game G1G_1G1​ serves as a concrete check on the strict distinction between the two potential notions.

Difficulty

The payoff vector itself does not give an immediate numerical order on whole profiles: each step compares one player's payoff, and the next step may involve another player. Finiteness rules out an endlessly increasing sequence only after a suitable profile-level ordering has been established. The converse direction therefore requires more than observing that each individual move helps its deviator. The paper's G1G_1G1​ also rules out replacing the generalized potential in the goal with an ordinary ordinal one (p. 129).

Formalization scope

Players form a finite Lean type ι with decidable equality; each player's strategies form a type Y i. A theorem about a finite game additionally assumes every Y i is finite. These types may be empty: in that case there is no strategy profile, and the corresponding FIP and potential statements retain their ordinary quantified meaning. No nonemptiness assumption is inserted into Lemma 2.5. Corollary 2.2 alone assumes every strategy set nonempty, which the page takes for granted: without it there is no profile and no equilibrium. An equilibrium point is a pure Nash equilibrium in the sense of the published definition AGT.IsPureNash (no player gains strictly by a unilateral deviation), and "P admits a maximal value in Y" in Lemma 2.1 is read as "P attains its maximum on Y". The finite player assumption follows the standing convention on p. 127; the finite strategy assumption is added only where the source says “finite game.”

The expression (y−i,x)(y^{-i},x)(y−i,x) is Function.update y i x. IsStep requires one coordinate to change to a different value. HasFIP forbids an infinite natural-number-indexed path of strict payoff improvements, so it cannot be satisfied merely because each separately described finite path has finite length. A finite path stores its deviator at each step; the genuine-step condition determines that deviator uniquely. The same path bundle contains the paper's path sum and closed-path predicates for consistency across this paper's missions, although only finite improvement paths are used here. The relation ImprovesTo u x y means that a finite strict improvement path leads from yyy to a distinct xxx.

The necessary development comprises the two potential predicates, path and FIP definitions, the finite improvement relation, the transitivity and representation milestones, and the goal characterization. Contributions that prove these statements or simplify their proof dependencies are within scope. A definition that checks only finite paths, allows null steps, or confuses the one-way condition (2.3) with the two-way condition (2.1) would change the result.

Selected references

  • Dov Monderer and Lloyd S. Shapley, Potential Games, Games and Economic Behavior 14 (1996), 124–143, doi:10.1006/game.1996.0044.
13 thms3 active usersReviewed
🏆Completed
Machine LearningTheoretical Computer Science·Captain: mikedeng1

The Weighted Majority Algorithm 4: The Continuous Master WMC Has Total Absolute Loss at Most ln(w_init/w_fin)/(1−β)Research Paper

Motivation

In sequential prediction, several forecasters can issue different answers for the same instance. A master algorithm must combine their advice before the true label is known. Littlestone and Warmuth's Weighted Majority framework gives worst-case guarantees for this setting: the instances and labels need not come from a probability distribution. The paper first studies binary predictions and then allows real predictions and labels in the unit interval. The continuous version matters when the distance between a prediction and a label carries information that a binary mistake count discards. The formal target here is the paper's total absolute-loss guarantee for that continuous master, WMC (Littlestone and Warmuth 1994, §5).

The result is part of the paper's generalized analysis, which also covers a binary master WMG and a randomized master WMR. These algorithms share a range of allowed weight updates, but their predictions and losses differ. This mission isolates WMC's deterministic, continuous-label theorem and the numbered lemmas on which its statement rests. The finite-sequence convention is explicit in the paper's notations and assumptions (Littlestone and Warmuth 1994, p. 220).

Setting

Fix a finite nonempty pool of nnn forecasters and a finite sequence of ttt trials. At trial jjj, expert iii predicts xi(j)∈[0,1]x_i^{(j)}\in[0,1]xi(j)​∈[0,1], and after the master predicts, a label ρ(j)∈[0,1]\rho^{(j)}\in[0,1]ρ(j)∈[0,1] is revealed. Expert iii has weight wi(j)w_i^{(j)}wi(j)​ before that trial. Every initial weight is positive, and weights remain nonnegative. The total weight and weighted mean prediction are

s(j)=∑i=1nwi(j),γ(j)=∑i=1nwi(j)xi(j)s(j).s^{(j)}=\sum_{i=1}^{n}w_i^{(j)},\qquad \gamma^{(j)}=\frac{\sum_{i=1}^{n}w_i^{(j)}x_i^{(j)}}{s^{(j)}}.s(j)=i=1∑n​wi(j)​,γ(j)=s(j)∑i=1n​wi(j)​xi(j)​​.

WMC predicts γ(j)\gamma^{(j)}γ(j). Its loss on the trial is the absolute error ∣γ(j)−ρ(j)∣|\gamma^{(j)}-\rho^{(j)}|∣γ(j)−ρ(j)∣, and its total absolute loss is m=∑j=1t∣γ(j)−ρ(j)∣m=\sum_{j=1}^{t}|\gamma^{(j)}-\rho^{(j)}|m=∑j=1t​∣γ(j)−ρ(j)∣. Write winit=s(1)w_{\mathrm{init}}=s^{(1)}winit​=s(1) and wfin=s(t+1)w_{\mathrm{fin}}=s^{(t+1)}wfin​=s(t+1) for total weight before the first and after the final update (Littlestone and Warmuth 1994, pp. 232–233).

WMC updates on every trial. For 0≤β<10\le\beta<10≤β<1, it multiplies each weight by a factor Fi(j)F_i^{(j)}Fi(j)​ in the interval

β∣xi(j)−ρ(j)∣≤Fi(j)≤1−(1−β)∣xi(j)−ρ(j)∣,wi(j+1)=Fi(j)wi(j).\beta^{|x_i^{(j)}-\rho^{(j)}|}\le F_i^{(j)}\le 1-(1-\beta)|x_i^{(j)}-\rho^{(j)}|, \qquad w_i^{(j+1)}=F_i^{(j)}w_i^{(j)}.β∣xi(j)​−ρ(j)∣≤Fi(j)​≤1−(1−β)∣xi(j)​−ρ(j)∣,wi(j+1)​=Fi(j)​wi(j)​.

The factor may depend on both trial and expert. The paper permits any choice in this interval, so WMC denotes a class of runs rather than one fixed recurrence. Its convention 00=10^0=100=1 is used when β=0\beta=0β=0 and an expert has zero error (Littlestone and Warmuth 1994, p. 233, eq. (5.1)).

Formalization targets

Theorem 5.2: WMC total loss

For every run with positive final total weight, the target is the paper's explicit inequality

m≤ln⁡(winit/wfin)1−β.m\le\frac{\ln(w_{\mathrm{init}}/w_{\mathrm{fin}})}{1-\beta}.m≤1−βln(winit​/wfin​)​.

The bound uses the run's actual initial and final weights, so it applies whether the upper or lower permitted update factor was selected, or a factor between them. The finite-valued statement assumes wfin>0w_{\mathrm{fin}}>0wfin​>0; the paper regards the bound as vacuous when the denominator of the logarithm is zero (Littlestone and Warmuth 1994, p. 236, Theorem 5.2).

Supporting numbered results

Lemma 5.1 states βr≤1+r(β−1)\beta^r\le1+r(\beta-1)βr≤1+r(β−1) for β≥0\beta\ge0β≥0 and 0≤r≤10\le r\le10≤r≤1, ensuring the update interval is nonempty. Lemma 5.2 states the logarithmic potential estimate under only the update's upper inequality, including the special case in which β=0\beta=0β=0 and a master's unit loss forces the final total weight to zero. Lemma 5.3 turns those same conditions into the displayed total-loss bound. Each is a separate milestone with the paper's statement and page provenance (Littlestone and Warmuth 1994, pp. 233–236).

Significance

The theorem controls the master's accumulated real-valued prediction error by an observable change in the total pool weight. It requires no distributional assumption on the trial sequence and no single choice of update factor. That breadth lets the same estimate be used for different update rules within the allowed range, while the explicit 1/(1−β)1/(1-\beta)1/(1−β) constant records the dependence on the algorithm's parameter. The paper also uses Lemma 5.3 in its analysis of WMR's expected loss (Littlestone and Warmuth 1994, pp. 236, 240).

The paper proves these results; this mission asks for machine-checked proofs of their exact Lean statements. Its definition of a permitted continuous run and its upper-update potential conditions can also support subsequent formalizations of WMG and WMR. Lemma 5.1, the potential estimate, and the final loss bound remain distinct proof targets so that a solver can use or improve the underlying analytic infrastructure without changing the goal.

Difficulty

A binary mistake indicator cannot express the magnitude of an error between two unit-interval values. The generalized update contains a real exponent, absolute values, and a range of legal factors. An argument that handles only a selected endpoint of that range would leave permitted WMC runs uncovered. A further boundary occurs at β=0\beta=0β=0: an allowed update can reduce a positive weight to zero, and real logarithms in Lean have a defined value at zero although the paper's logarithmic bound is infinite there. The formal statements therefore distinguish the zero-final-weight clause from the finite-logarithm clause.

Formalization scope

The pool is Fin n with n>0n>0n>0 and the trials are Fin t; an empty sequence of trials is allowed. Lean's trial index starts at zero, so w 0 represents w(1)w^{(1)}w(1) and w t represents the weights after all ttt trials. The inputs are the prediction array and label array. Instances are not stored separately because the theorem refers to them only through expert predictions. Values, factors, totals, and losses are real numbers. The run predicate requires positive initial weights, nonnegative weights, predictions and labels in [0,1][0,1][0,1], 0≤β<10\le\beta<10≤β<1, and a permitted factor for every expert on every trial.

The theorem quantifies over every permitted run. A sorry-free local example exhibits a one-trial run with positive final weight, ruling out a globally empty run predicate. For positive final weight, the update conditions ensure earlier total weights are positive, so every weighted mean used in the loss has its intended denominator. The finite logarithmic conclusions assume positive final weight because Real.log 0 would otherwise introduce an unrelated total-function value. The definition layer supplies total weight, weighted mean, loss, base conditions, the upper-update conditions, and WMC runs; the proof development needs finite-sum and real logarithm inequalities from Mathlib. Contributions that establish the three numbered lemmas or the goal under this interface are in scope.

Selected references

  • Nick Littlestone and Manfred K. Warmuth, The Weighted Majority Algorithm, Information and Computation 108(2), 212–261, 1994. DOI: 10.1006/inco.1994.1009.
6 thms3 active usersReviewed
🏆Completed
Algorithmic Game TheoryCombinatorics·Captain: mikedeng1

Potential Games 2: Every Finite Potential Game Is Isomorphic to a Congestion GameResearch Paper

Motivation

Congestion games model situations in which agents choose sets of shared resources and the payoff of each resource depends only on how many agents use it: drivers choosing routes through road segments, jobs choosing machines, flows choosing links in a network. Rosenthal (A class of games possessing pure-strategy Nash equilibria, Int. J. Game Theory 2, 1973) showed that every such game has a pure-strategy Nash equilibrium, by exhibiting a single real function on strategy profiles whose changes track every player's unilateral payoff changes.

Monderer and Shapley (Potential Games, Games Econ. Behav. 14, 1996) isolated that property and called games having it potential games. Their Section 3 shows that the property characterizes congestion games: Rosenthal's argument gives Theorem 3.1 (every congestion game is a potential game), and Theorem 3.2 gives the converse up to a renaming of strategies. Potential games have since become a standard tool in algorithmic game theory (convergence of best-response dynamics, price of stability bounds, learning in games), and Theorem 3.2 is the reason that results proved for congestion games apply to all finite potential games.

Setting

A game in strategic form Γ\GammaΓ has a finite set of players N={1,…,n}N = \{1, \dots, n\}N={1,…,n}, for each player iii a strategy set YiY^iYi, the profile set Y=×i∈NYiY = \times_{i\in N} Y^iY=×i∈N​Yi, and payoff functions ui:Y→Ru^i : Y \to \mathbb{R}ui:Y→R. For a profile yyy and x∈Yix \in Y^ix∈Yi, (y−i,x)(y^{-i}, x)(y−i,x) is yyy with player iii's strategy replaced by xxx. The game is finite if every YiY^iYi is finite.

A function P:Y→RP : Y \to \mathbb{R}P:Y→R is a potential for Γ\GammaΓ (condition (2.2) with unit weights) if

ui(y−i,x)−ui(y−i,z)=P(y−i,x)−P(y−i,z)for all i, y−i, x,z∈Yi,u^i(y^{-i}, x) - u^i(y^{-i}, z) = P(y^{-i}, x) - P(y^{-i}, z) \qquad \text{for all } i,\ y^{-i},\ x, z \in Y^i,ui(y−i,x)−ui(y−i,z)=P(y−i,x)−P(y−i,z)for all i, y−i, x,z∈Yi,

and Γ\GammaΓ is a potential game if it has a potential (IsPotential, IsPotentialGame).

A congestion model C(N,M,(Σi)i∈N,(cj)j∈M)C(N, M, (\Sigma^i)_{i\in N}, (c_j)_{j\in M})C(N,M,(Σi)i∈N​,(cj​)j∈M​) has players NNN, a finite set of facilities MMM, for every player a set Σi\Sigma^iΣi of strategies, each a nonempty subset of MMM, and for every facility jjj a vector cjc_jcj​, where cj(k)c_j(k)cj​(k) is the payoff to each user of jjj when exactly kkk players use it. The associated congestion game has strategy sets Σi\Sigma^iΣi and payoffs

vi(A)=∑j∈Aicj(σj(A)),σj(A)=#{i∈N:j∈Ai}.(3.1)v^i(A) = \sum_{j\in A^i} c_j\big(\sigma_j(A)\big), \qquad \sigma_j(A) = \#\{i \in N : j \in A^i\}. \tag{3.1}vi(A)=j∈Ai∑​cj​(σj​(A)),σj​(A)=#{i∈N:j∈Ai}.(3.1)

Two games with the same players are isomorphic (IsIsomorphic) if there are bijections gi:Y1i→Y2ig^i : Y^i_1 \to Y^i_2gi:Y1i​→Y2i​ with u1i(y)=u2i(g1(y1),…,gn(yn))u^i_1(y) = u^i_2(g^1(y^1), \dots, g^n(y^n))u1i​(y)=u2i​(g1(y1),…,gn(yn)) for every player iii and profile yyy.

Formalization targets

Goal: Theorem 3.2

Every finite potential game is isomorphic to a congestion game.\text{Every finite potential game is isomorphic to a congestion game.}Every finite potential game is isomorphic to a congestion game.

Formally: for every finite set of players, finite strategy sets YiY^iYi and payoffs uuu admitting a potential, there are m∈Nm \in \mathbb{N}m∈N and a congestion model on the facilities {1,…,m}\{1, \dots, m\}{1,…,m}, all of whose strategies are nonempty facility sets, whose congestion game is isomorphic to Γ\GammaΓ.

Milestones

The milestones follow Appendix B of the paper.

  1. Lemma B.1 (p. 139): with xr(j)=cj(r)x^r(j) = c_j(r)xr(j)=cj​(r) and x(B)=∑j∈Bx(j)x(B) = \sum_{j\in B} x(j)x(B)=∑j∈B​x(j), vi(A)=x1(A(i)∩A(−i)c)+x2(⋃k≠i[A(i)∩A(k)∩A(−{i,k})c])+⋯+xn(⋂kA(k))v^i(A) = x^1(A(i)\cap A(-i)^c) + x^2\big(\bigcup_{k\neq i}[A(i)\cap A(k)\cap A(-\{i,k\})^c]\big) + \cdots + x^n\big(\bigcap_{k} A(k)\big)vi(A)=x1(A(i)∩A(−i)c)+x2(⋃k=i​[A(i)∩A(k)∩A(−{i,k})c])+⋯+xn(⋂k​A(k)).
  2. The invariance of ui−Pu^i - Pui−P (p. 141): ui(a−i,ai)−P(a−i,ai)u^i(a^{-i}, a^i) - P(a^{-i}, a^i)ui(a−i,ai)−P(a−i,ai) does not depend on aia^iai.
  3. The M1M_1M1​ identity and (B.2) (p. 141): on the facility set M=×i{0,1}K(i)M = \times_i \{0,1\}^{K(i)}M=×i​{0,1}K(i), Am11∩⋯∩Amnn∩M1={ε(m)}A^1_{m_1}\cap\cdots\cap A^n_{m_n}\cap M_1 = \{\varepsilon(m)\}Am1​1​∩⋯∩Amn​n​∩M1​={ε(m)}, so xn(Am11∩⋯∩Amnn)=P(am11,…,amnn)x^n(A^1_{m_1}\cap\cdots\cap A^n_{m_n}) = P(a^1_{m_1}, \dots, a^n_{m_n})xn(Am1​1​∩⋯∩Amn​n​)=P(am1​1​,…,amn​n​).
  4. (B.6) (p. 141): x1(Amii∩A(−i)c)=x1(ε(mi))=ui(a)−P(a)x^1(A^i_{m_i}\cap A(-i)^c) = x^1(\varepsilon(m^i)) = u^i(a) - P(a)x1(Ami​i​∩A(−i)c)=x1(ε(mi))=ui(a)−P(a).

Significance

Theorems 3.1 and 3.2 together say that, up to renaming strategies, the finite potential games and the congestion games are the same class. Consequently any statement about finite congestion games that is invariant under isomorphism (existence of pure equilibria, convergence of improvement dynamics, the structure of equilibrium sets) holds for all finite potential games, and conversely any potential game can be realized as a resource-sharing model. The representation is also the starting point of the later literature on the number of facilities needed to represent potential games, which the paper itself begins with a remark at the end of Appendix B.

Theorem 3.1 is already machine-checked on the platform, as Rosenthal's potential identity PriceOfStability.Harmonic.rosenthal_potential_change (Proved); it is included in this mission as a reference item. Theorem 3.2 is proved in the paper but has no machine-checked proof that we know of. The mission adds a formal statement of the theorem, of isomorphism of games, of congestion games as games in strategic form, and of the explicit construction of Appendix B; and, once proved, a verified converse to Rosenthal's theorem.

Difficulty

The theorem is an explicit construction, and its difficulty is bookkeeping rather than a single hard idea. The facility set is a product of Boolean cubes, one per player; each player's strategy is the set of facilities with a 1 in a given coordinate; and the facility payoffs are defined only at load 111 and load nnn, by two auxiliary vectors whose definitions involve a choice of representative. Showing that the resulting congestion game reproduces every payoff requires identifying, for every profile, exactly which facilities are used by one player and which by all players, and showing that the "load 1" facilities pick up precisely the part of uiu^iui that player iii cannot influence. The paper leaves the two key set identities as "it can be verified"; they are the milestones.

The construction as printed does not cover one player: with n=1n = 1n=1 the vectors x1x^1x1 and xnx^nxn are the same vector, defined twice. The theorem is still true for one player, and the formal goal does not exclude it, so a complete proof must treat that case separately.

Formalization scope

  • Players form a finite type ι with decidable equality; strategy sets are types Y i, finite in the goal ([∀ i, Fintype (Y i)]). (y−i,x)(y^{-i}, x)(y−i,x) is Function.update y i x. No nonemptiness of the strategy sets and no lower bound on the number of players is assumed.
  • The congestion model is the published CongestionPoA.AsymSum.CongestionGame ι M (reference item): strategies i is the finite family Σi\Sigma^iΣi and latency j k is the paper's cj(k)c_j(k)cj​(k), an arbitrary real number. No sign change is made; the published names "latency" and "cost" are only names. Values of latency at 000 and above nnn never enter (3.1).
  • The congestion game as a game in strategic form is congestionPayoff G, whose strategy set for player iii is the subtype of G.strategies i. Because the isomorphism maps onto that subtype, the strategies of a player are distinct facility sets.
  • In the goal the facility set is Fin m for an existentially quantified mmm, and nonemptiness of every strategy, which is part of the definition of a congestion model on p. 133 but not of the published structure, is a separate conjunct. Dropping it, or replacing "congestion game" by an arbitrary game whose payoffs equal uuu, would make the goal a different, weaker statement; the formal goal does neither.
  • The Appendix B construction (FacilityConstruction) indexes the coordinates of player iii by YiY^iYi itself instead of K(i)={1,…,k(i)}K(i) = \{1, \dots, k(i)\}K(i)={1,…,k(i)}; mi=(mk)k≠im^i = (m_k)_{k\neq i}mi=(mk​)k=i​ is passed as a full profile whose iii-th coordinate is ignored; xnx^nxn and x1x^1x1 select a representative by choice, the chosen iii-th coordinate playing the role of the arbitrary aia^iai in (B.4).
  • Misprints corrected: in Lemma B.1, xr(j)=cj(m)x^r(j) = c_j(m)xr(j)=cj​(m) is read cj(r)c_j(r)cj​(r), and the "⋯\cdots⋯" as the general term xr(⋃S∋i,∣S∣=r[⋂k∈SA(k)∩A(−S)c])x^r(\bigcup_{S\ni i, |S| = r}[\bigcap_{k\in S}A(k)\cap A(-S)^c])xr(⋃S∋i,∣S∣=r​[⋂k∈S​A(k)∩A(−S)c]); in (B.6), A(−i)A(-i)A(−i) is read A(−i)cA(-i)^cA(−i)c and Pi(a)P^i(a)Pi(a) as P(a)P(a)P(a).

Contributions welcome: proofs of the milestones, a proof of the goal (by the paper's construction, with the one-player case handled separately, or by any other construction), and general lemmas about transporting potentials along isomorphisms.

Selected references

  • D. Monderer and L. S. Shapley, Potential Games, Games and Economic Behavior 14 (1996), 124–143. https://doi.org/10.1006/game.1996.0044
  • R. W. Rosenthal, A class of games possessing pure-strategy Nash equilibria, International Journal of Game Theory 2 (1973), 65–67. https://doi.org/10.1007/BF01737559
  • E. Anshelevich, A. Dasgupta, J. Kleinberg, É. Tardos, T. Wexler and T. Roughgarden, The Price of Stability for Network Design with Fair Cost Allocation, SIAM Journal on Computing 38 (2008), 1602–1623. https://doi.org/10.1137/070680096 (source of the platform's Rosenthal potential identity)
13 thms3 active usersReviewed
🏆Completed
Optimization·Captain: mikedeng1

Monotone Comparative Statics II: f Is Quasisupermodular If and Only If a Strictly Increasing Transformation Makes It Supermodular on Every Sublattice {x₁, x₂, x₁ ∨ x₂, x₁ ∧ x₂}Research Paper

Motivation

Monotone comparative statics asks when the optimal choice of a decision maker moves in a predictable direction as a parameter of the problem changes: when a firm facing a higher price produces more, when a monopolist facing lower costs sets a lower price, when a player in a game best-responds with a higher strategy to higher strategies of the others. The classical sufficient conditions, due to Topkis (Topkis 1978), are supermodularity of the objective in the choice variable and increasing differences in the choice and the parameter. Both are cardinal conditions: they can be destroyed by a strictly increasing change of the units in which the objective is measured, although such a change does not alter any optimal choice.

Milgrom and Shannon (Econometrica 1994) replaced these conditions by ordinal ones, quasisupermodularity and the single crossing property, and showed that the ordinal conditions are necessary and sufficient for the set of maximizers to be monotone in the parameter and the constraint set (their Theorem 4). This mission concerns the relation between the ordinal notion and the cardinal one: in which sense is a quasisupermodular function "a supermodular function up to a change of units"? Section 3 of the paper answers it with Theorem 8. An earlier notion in the same direction, supermodularizable functions, was studied by Li Calzi (1991).

Setting

Let XXX be a lattice: a partially ordered set in which every two elements x,yx, yx,y have a least upper bound x∨yx \vee yx∨y (join) and a greatest lower bound x∧yx \wedge yx∧y (meet). Examples are Rn\mathbb{R}^nRn and products of finite chains, ordered componentwise.

A function f:X→Rf : X \to \mathbb{R}f:X→R is supermodular on a set S⊆XS \subseteq XS⊆X if

f(x)+f(y)≤f(x∨y)+f(x∧y)for all x,y∈S.f(x) + f(y) \le f(x \vee y) + f(x \wedge y) \qquad \text{for all } x, y \in S.f(x)+f(y)≤f(x∨y)+f(x∧y)for all x,y∈S.

It is quasisupermodular (p. 162) if for all x,y∈Xx, y \in Xx,y∈X

  1. f(x)≥f(x∧y)f(x) \ge f(x \wedge y)f(x)≥f(x∧y) implies f(x∨y)≥f(y)f(x \vee y) \ge f(y)f(x∨y)≥f(y), and
  2. f(x)>f(x∧y)f(x) > f(x \wedge y)f(x)>f(x∧y) implies f(x∨y)>f(y)f(x \vee y) > f(y)f(x∨y)>f(y).

A function h:R→Rh : \mathbb{R} \to \mathbb{R}h:R→R is strictly increasing if r<sr < sr<s implies h(r)<h(s)h(r) < h(s)h(r)<h(s). A function fff is supermodularizable if h∘fh \circ fh∘f is supermodular on XXX for some strictly increasing hhh.

For x1,x2∈Xx_1, x_2 \in Xx1​,x2​∈X the set {x1,x2,x1∨x2,x1∧x2}\{x_1, x_2, x_1 \vee x_2, x_1 \wedge x_2\}{x1​,x2​,x1​∨x2​,x1​∧x2​} is closed under ∨\vee∨ and ∧\wedge∧; it is the sublattice generated by x1x_1x1​ and x2x_2x2​ and has at most four points.

Quasisupermodularity depends only on the order of the values of fff, so it is preserved by strictly increasing transformations; supermodularity is not. Every supermodular function is quasisupermodular, and so is every supermodularizable function.

Formalization targets

Goal: Theorem 8 (p. 165)

f:X→Rf : X \to \mathbb{R}f:X→R is quasisupermodular if and only if there is g:R×X×X→Rg : \mathbb{R} \times X \times X \to \mathbb{R}g:R×X×X→R such that (i) r↦g(r,x1,x2)r \mapsto g(r, x_1, x_2)r↦g(r,x1​,x2​) is strictly increasing for every (x1,x2)∈X2(x_1, x_2) \in X^2(x1​,x2​)∈X2, and (ii) for every x1,x2∈Xx_1, x_2 \in Xx1​,x2​∈X,

x↦g(f(x),x1,x2)  is supermodular on {x1,x2,x1∨x2,x1∧x2}.x \mapsto g(f(x), x_1, x_2) \ \text{ is supermodular on } \{x_1, x_2, x_1 \vee x_2, x_1 \wedge x_2\}.x↦g(f(x),x1​,x2​)  is supermodular on {x1​,x2​,x1​∨x2​,x1​∧x2​}.

Milestones

  1. Invariance (p. 164): if fff is quasisupermodular and ggg strictly increasing, g∘fg \circ fg∘f is quasisupermodular.
  2. Supermodularizable implies quasisupermodular (pp. 164–165): if hhh is strictly increasing and h∘fh \circ fh∘f is supermodular on XXX, then fff is quasisupermodular.
  3. Lemma (p. 165): if fff is quasisupermodular on L={x,x′,x∨x′,x∧x′}L = \{x, x', x \vee x', x \wedge x'\}L={x,x′,x∨x′,x∧x′}, then h∘fh \circ fh∘f is supermodular on LLL for some strictly increasing h:R→Rh : \mathbb{R} \to \mathbb{R}h:R→R.
  4. Example 1 (p. 165): the function on {0,1}×{0,1,2,3}\{0,1\} \times \{0,1,2,3\}{0,1}×{0,1,2,3} with rows (1,2,2,1)(1,2,2,1)(1,2,2,1) and (3,4,5,3)(3,4,5,3)(3,4,5,3) is quasisupermodular but not supermodularizable.

The Lemma is the "only if" direction of Theorem 8 on a single sublattice; Example 1 shows why the transformation in Theorem 8 must be allowed to depend on (x1,x2)(x_1, x_2)(x1​,x2​).

Significance

Theorem 8 characterizes an ordinal property by a family of cardinal ones: quasisupermodularity is exactly local supermodularizability, on every two-generated sublattice. It explains why quasisupermodularity, and not supermodularity, is the natural hypothesis of ordinal comparative statics, and Example 1 marks the boundary: a single global transformation is not enough, so supermodularizable functions form a strictly smaller class. The paper states an analogous characterization of the single crossing property (Theorem 9, p. 166) without proof.

On the formalization side, none of these results is machine-checked anywhere known to this mission. The platform already holds Topkis's lattice-theoretic definitions and theorems (supermodularity, increasing differences, monotonicity of the argmax under the cardinal conditions); this mission adds the ordinal notion and its characterization on top of the published definition of supermodularity. A formal proof of the Lemma also requires constructing a strictly increasing map of all of R\mathbb{R}R that moves one prescribed value, which is reusable for other "ordinal versus cardinal" results.

Difficulty

The "if" direction and the invariance and supermodularizability remarks are short unfoldings of the definitions. The work is in the Lemma. On a four-point lattice the values a,b,c,da, b, c, da,b,c,d of fff at x,x∨x′,x∧x′,x′x, x \vee x', x \wedge x', x'x,x∨x′,x∧x′,x′ need not satisfy a+d≤b+ca + d \le b + ca+d≤b+c, and the obvious attempt, applying one transformation fixed in advance (such as an exponential), fails: the needed transformation depends on the four values. A strictly increasing hhh of the whole real line must be chosen to separate the values while preserving their order, and the degenerate configurations in which some of the four values coincide, or in which xxx and x′x'x′ are comparable so that the lattice has fewer than four points, have to be handled separately. A second subtlety is that quasisupermodularity is used for both orders of the pair (x,x′)(x, x')(x,x′).

Formalization scope

  • Lattices are Mathlib's Lattice class; joins and meets are ⊔ and ⊓. Functions are real valued.
  • Quasisupermodularity is a draft definition QuasiSupermodularOn g S, relativized to a set SSS; the paper's notion on XXX is QuasiSupermodularOn f Set.univ. It quantifies over all ordered pairs of SSS.
  • Supermodularity is the published definition Supermodularity.Monotonicity.SupermodularOn (Topkis series), also relativized to a set; supermodularity "on the sublattice" is SupermodularOn _ {x₁, x₂, x₁ ⊔ x₂, x₁ ⊓ x₂}.
  • "Strictly increasing" is StrictMono. With merely monotone transformations the statements trivialize: a constant transformation is supermodular on every set, which would make the "if" direction of Theorem 8 false and the second half of Example 1 false. The formal statements rule this out.
  • The transformation g:R×X×X→Rg : \mathbb{R} \times X \times X \to \mathbb{R}g:R×X×X→R of Theorem 8 is curried, g : ℝ → X → X → ℝ; it may depend on (x1,x2)(x_1, x_2)(x1​,x2​) but not on xxx. Transformations are defined on all of R\mathbb{R}R, as printed, not only on the values of fff.
  • The Lemma's four-point lattice is formalized as the subset {x,x′,x∨x′,x∧x′}\{x, x', x \vee x', x \wedge x'\}{x,x′,x∨x′,x∧x′} of an ambient lattice, with both notions relativized to it; the subset is closed under join and meet, so this is the page's statement, including the degenerate cases.
  • Example 1's domain is Fin 2 × Fin 4 with the product order.

Contributions welcome: proofs of the milestones and the goal; a general lemma producing strictly increasing maps R→R\mathbb{R} \to \mathbb{R}R→R with prescribed values on finitely many points.

Selected references

  • P. Milgrom and C. Shannon, Monotone Comparative Statics, Econometrica 62(1), 157–180, 1994. https://doi.org/10.2307/2951479
  • D. M. Topkis, Minimizing a Submodular Function on a Lattice, Operations Research 26(2), 305–321, 1978. https://doi.org/10.1287/opre.26.2.305
  • D. M. Topkis, Supermodularity and Complementarity, Princeton University Press, 1998. https://doi.org/10.1515/9781400822539
  • M. Li Calzi, Generalized Symmetric Supermodular Functions, Working Paper, Stanford University, 1990 (listed so in the paper's references; the text on p. 165 cites it as Li Calzi (1991)).
8 thms3 active usersReviewed
ProbabilityStochastic Systems·Captain: mikedeng1

Implicit Renewal Theory and Tails of Solutions of Random Equations 2: Kesten's Theorem for R = Q + MR — Unique Stationary Law, Power Tails with Explicit C±, and C₊ + C₋ > 0 iff Q ≢ (1 − M)cResearch Paper

Motivation

The random difference equation

R=LQ+MR,R independent of (Q,M),R \overset{\mathcal L}{=} Q + MR,\qquad R \text{ independent of } (Q,M),R=LQ+MR,R independent of (Q,M),

describes the stationary state of the affine recursion Rn=Qn+MnRn−1R_n = Q_n + M_n R_{n-1}Rn​=Qn​+Mn​Rn−1​ driven by independent copies of a random pair (Q,M)(Q,M)(Q,M). It appears wherever a quantity is multiplied by a random factor and then receives a random increment: the discounted value of a stream of random cash flows (a perpetuity), the stationary volatility of ARCH and GARCH models in financial econometrics (de Haan, Resnick, Rootzén and de Vries 1989), random walks in random environment, and the stationary laws of random coefficient autoregressions. In all of these, the question that matters for risk is the size of the tail P(R>t)P(R>t)P(R>t).

Timeline:

  • 1973. Kesten proves, in a multivariate setting, that the stationary solution has power-law tails, P(R>t)∼C+t−κP(R>t)\sim C_+t^{-\kappa}P(R>t)∼C+​t−κ, where κ\kappaκ solves E∣M∣κ=1\mathbf E|M|^\kappa=1E∣M∣κ=1; the constants are not identified, and the proof of the key renewal step (his Theorem 4) runs to nine pages.
  • 1979. Vervaat gives a full account of existence, uniqueness and moments of the solution in dimension one.
  • 1980–1981. Grincevičius proves a maximal inequality of Lévy type for the partial sums of the recursion.
  • 1986. Letac formulates a general principle for existence and uniqueness of solutions of random equations R=LΨ(R)R\overset{\mathcal L}{=}\Psi(R)R=LΨ(R).
  • 1991. Goldie proves an implicit renewal theorem (Theorem 2.3, the subject of the first mission of this series) and deduces from it a new proof of Kesten's one-dimensional theorem, with explicit formulas for the constants C±C_\pmC±​ and a necessary and sufficient condition for them not to vanish (Theorem 4.1).
  • 2016. Buraczewski, Damek and Mikosch survey the theory, in which Kesten's theorem in Goldie's form is the central result.

Setting

Let (Q,M)(Q,M)(Q,M) be a pair of real random variables with joint law μ\muμ on R2\mathbb R^2R2. No independence between QQQ and MMM and no sign condition on either is assumed. A probability law ρ\rhoρ on R\mathbb RR is a law for RRR satisfying (1.1) if the law of Q+MRQ+MRQ+MR equals ρ\rhoρ when RRR has law ρ\rhoρ and is independent of (Q,M)(Q,M)(Q,M).

A law on R\mathbb RR is arithmetic if it is concentrated on a lattice {nλ:n∈Z}\{n\lambda:n\in\mathbb Z\}{nλ:n∈Z} for some λ>0\lambda>0λ>0, and nonarithmetic otherwise. For κ>0\kappa>0κ>0, the conditions of Lemma 2.2 on MMM are

E∣M∣κ=1,E∣M∣κlog⁡+∣M∣<∞,\mathbf E|M|^\kappa = 1,\qquad \mathbf E|M|^\kappa\log^+|M|<\infty,E∣M∣κ=1,E∣M∣κlog+∣M∣<∞,

and that the conditional law of log⁡∣M∣\log|M|log∣M∣ given M≠0M\ne0M=0 is nonarithmetic. Under them

m:=E∣M∣κlog⁡∣M∣∈(0,∞).m := \mathbf E|M|^\kappa\log|M| \in (0,\infty).m:=E∣M∣κlog∣M∣∈(0,∞).

With x+=x∨0x^+=x\vee0x+=x∨0 and x−=(−x)∨0x^-=(-x)\vee0x−=(−x)∨0, the constants of Theorem 4.1 are, when M≥0M\ge0M≥0 a.s.,

C±=E(((Q+MR)±)κ−((MR)±)κ)κm,C_\pm = \frac{\mathbf E\big(((Q+MR)^\pm)^\kappa-((MR)^\pm)^\kappa\big)}{\kappa m},C±​=κmE(((Q+MR)±)κ−((MR)±)κ)​,

and otherwise C+=C−=12κmE(∣Q+MR∣κ−∣MR∣κ)C_+=C_-=\frac{1}{2\kappa m}\mathbf E\big(|Q+MR|^\kappa-|MR|^\kappa\big)C+​=C−​=2κm1​E(∣Q+MR∣κ−∣MR∣κ), where RRR has the stationary law and is independent of (Q,M)(Q,M)(Q,M).

Formalization targets

Goal: Theorem 4.1

Assume the conditions of Lemma 2.2 and E∣Q∣κ<∞\mathbf E|Q|^\kappa<\inftyE∣Q∣κ<∞. Then there is a unique law ρ\rhoρ for RRR satisfying (1.1); the expectations defining C±C_\pmC±​ are finite; and

lim⁡t→∞tκP(R>t)=C+,lim⁡t→∞tκP(R<−t)=C−,\lim_{t\to\infty} t^\kappa P(R>t) = C_+,\qquad \lim_{t\to\infty} t^\kappa P(R<-t) = C_-,t→∞lim​tκP(R>t)=C+​,t→∞lim​tκP(R<−t)=C−​,

with C±C_\pmC±​ as above. Finally

C++C−>0  ⟺  P(Q=(1−M)c)<1  for each fixed c∈R.C_++C_->0 \iff P\big(Q=(1-M)c\big)<1 \ \text{ for each fixed } c\in\mathbb R.C+​+C−​>0⟺P(Q=(1−M)c)<1  for each fixed c∈R.

Milestones

In the order the proof uses them:

  1. Corollary 2.4: the implicit renewal theorem with the moment conditions (2.16)–(2.17) and constants (2.18)–(2.20), for a general random function Ψ\PsiΨ in place of t↦Q+Mtt\mapsto Q+Mtt↦Q+Mt.
  2. Lemma 9.4: tail-difference integrals against tκ−1dtt^{\kappa-1}dttκ−1dt versus moment differences.
  3. The elementary inequalities (9.26)–(9.27).
  4. (4.8): for κ>1\kappa>1κ>1, E∣R∣κ−1<∞\mathbf E|R|^{\kappa-1}<\inftyE∣R∣κ−1<∞ with an explicit bound.
  5. (2.16)–(2.17) for Ψ(t)=Q+Mt\Psi(t)=Q+MtΨ(t)=Q+Mt: the moment differences are integrable.
  6. Proposition 4.2 (Grincevičius's maximal inequality) and its consequence (4.6).
  7. The lower bound P(∣Πn∣>et for some n)≥δe−κtP(|\Pi_n|>e^t\text{ for some }n)\ge\delta e^{-\kappa t}P(∣Πn​∣>et for some n)≥δe−κt for the products Πn=M1⋯Mn\Pi_n=M_1\cdots M_nΠn​=M1​⋯Mn​.
  8. Under the condition P(Q=(1−M)c)<1P(Q=(1-M)c)<1P(Q=(1−M)c)<1 for each ccc, tκP(∣R∣>t)t^\kappa P(|R|>t)tκP(∣R∣>t) stays bounded away from 000.

Significance

The result. Theorem 4.1 identifies the tail exponent of the stationary solution as the root κ\kappaκ of E∣M∣κ=1\mathbf E|M|^\kappa=1E∣M∣κ=1, which depends on MMM alone, and expresses the tail constants as expectations under the stationary law. The constants yield the bounds of Corollary 4.3 and closed forms when κ\kappaκ is an integer (Corollaries 4.4, 4.5). The dichotomy between M≥0M\ge0M≥0 a.s. (different left and right constants) and P(M<0)>0P(M<0)>0P(M<0)>0 (equal constants) is visible only through these formulas. The positivity criterion tells when the power tail is really there: it fails exactly when the recursion has a deterministic fixed point ccc. Tail estimates for GARCH processes, perpetuities in insurance mathematics and random walks in random environment are applications of this statement.

Formalizing it. The theorem has been proved since 1973 and in the present form since 1991; it is open only as a formalization. No machine-checked proof of Kesten's theorem, of the implicit renewal theorem, or of the underlying nonarithmetic key renewal theorem on the whole line is known to this mission. The work consists of formalizing Goldie's proof, which assembles the implicit renewal theorem with moment estimates, a maximal inequality and a Cramér–Lundberg-type lower bound for a random walk with negative drift.

Difficulty

The obvious argument is to write R=∑k≥1Πk−1QkR=\sum_{k\ge1}\Pi_{k-1}Q_kR=∑k≥1​Πk−1​Qk​ and estimate the tail of each term. It fails because E∣M∣κ=1\mathbf E|M|^\kappa=1E∣M∣κ=1 makes every term contribute tails of the same order t−κt^{-\kappa}t−κ, and the sum of infinitely many such contributions is exactly what has to be computed; termwise bounds give the right exponent at best, not the limit or the constant. A second natural idea, applying the renewal theorem directly to P(R>t)P(R>t)P(R>t), needs integrability of a tail difference that is not evident, because E∣R∣κ\mathbf E|R|^\kappaE∣R∣κ is infinite whenever C++C−>0C_++C_->0C+​+C−​>0; the moment differences ((Q+MR)+)κ−((MR)+)κ((Q+MR)^+)^\kappa-((MR)^+)^\kappa((Q+MR)+)κ−((MR)+)κ must be controlled without either term being integrable. The positivity half is a separate problem: the formula for C±C_\pmC±​ is a difference of two infinite-looking quantities, and showing it is positive requires a lower bound on the tail that does not come from the formula.

Formalization scope

Everything is stated in terms of laws. The joint law of (Q,M)(Q,M)(Q,M) is a probability measure μ\muμ on R×R\mathbb R\times\mathbb RR×R (first coordinate QQQ, second MMM); a law for RRR satisfying (1.1) is a probability measure ρ\rhoρ on R\mathbb RR that equals the image of μ⊗ρ\mu\otimes\rhoμ⊗ρ under ((q,m),r)↦q+mr((q,m),r)\mapsto q+mr((q,m),r)↦q+mr, and uniqueness is among all probability measures on R\mathbb RR, with no moment restriction. Expectations involving RRR and (Q,M)(Q,M)(Q,M) are integrals against μ⊗ρ\mu\otimes\rhoμ⊗ρ, which is what makes RRR independent of (Q,M)(Q,M)(Q,M). The conditions of Lemma 2.2 are stated for the law of MMM, with E∣M∣κ\mathbf E|M|^\kappaE∣M∣κ and E∣M∣κlog⁡+∣M∣\mathbf E|M|^\kappa\log^+|M|E∣M∣κlog+∣M∣ as lower Lebesgue integrals and the conditional law of log⁡∣M∣\log|M|log∣M∣ taken given M≠0M\neq0M=0. "P(R>t)∼C+t−κP(R>t)\sim C_+t^{-\kappa}P(R>t)∼C+​t−κ" is the limit statement tκP(R>t)→C+t^\kappa P(R>t)\to C_+tκP(R>t)→C+​, which the paper prescribes and which includes C+=0C_+=0C+​=0. Milestones on sequences use independent copies (Qn,Mn)(Q_n,M_n)(Qn​,Mn​) on an arbitrary probability space carrying them, stored 0-based.

The statement does not reduce to a trivial one: the ratio form P(R>t)/(C+t−κ)→1P(R>t)/(C_+t^{-\kappa})\to1P(R>t)/(C+​t−κ)→1 (undefined when C+=0C_+=0C+​=0), existence of some fixed point without uniqueness, the positivity criterion as a one-way implication, and tail limits asserted for an arbitrary random variable rather than for the stationary law are all excluded. One correction to the source is built in: Lemma 9.4's (9.17) is printed as an equality, which fails for independent identically distributed non-degenerate XXX, YYY; the inequality the proof establishes is stated.

A complete development needs: convolution and image measures of products on R2×R\mathbb R^2\times\mathbb RR2×R; the key renewal theorem on the whole line for nonarithmetic laws with positive mean (the content of the first mission of this series); existence and uniqueness for contractive random affine maps; Lévy-type maximal inequalities; and ladder-height estimates for random walks with negative drift whose steps may equal −∞-\infty−∞. The renewal-theoretic and random-walk components are reusable well beyond this mission. Contributions of any milestone, and of supporting lemmas such as the moment bounds for perpetuities, are welcome.

Selected references

  • C. M. Goldie, Implicit renewal theory and tails of solutions of random equations, Annals of Applied Probability 1(1):126–166, 1991. https://doi.org/10.1214/aoap/1177005985
  • H. Kesten, Random difference equations and renewal theory for products of random matrices, Acta Mathematica 131:207–248, 1973. https://doi.org/10.1007/BF02392040
  • W. Vervaat, On a stochastic difference equation and a representation of non-negative infinitely divisible random variables, Advances in Applied Probability 11(4):750–783, 1979. https://doi.org/10.2307/1426858
  • L. de Haan, S. I. Resnick, H. Rootzén and C. G. de Vries, Extremal behaviour of solutions to a stochastic difference equation with applications to ARCH processes, Stochastic Processes and their Applications 32(2):213–224, 1989. https://doi.org/10.1016/0304-4149(89)90076-8
  • D. Buraczewski, E. Damek and T. Mikosch, Stochastic Models with Power-Law Tails: The Equation X = AX + B, Springer, 2016. https://doi.org/10.1007/978-3-319-29679-1
13 thms3 active usersReviewed
OptimizationProbability·Captain: mikedeng1

Bounded Rationality in Newsvendor Models V: If σ_T ≤ Σσ_i and σ_T ≥ σ_i, Pooling Strictly Lowers the Expected Cost of Logit Newsvendors with Normal DemandsResearch Paper

Motivation

Inventory pooling lets several locations serve their combined demand from one stock of goods. Classical newsvendor analysis predicts lower optimal cost when pooling reduces demand variation, but the reduction can vanish when demands are perfectly correlated. Xuanming Su asks whether that conclusion survives when managers make noisy stocking decisions rather than always choose the optimum. In the published 2008 article, Bounded Rationality in Newsvendor Models, the decision noise follows a continuous logit model, in which better quantities are chosen more often. Proposition 7 gives conditions under which pooling strictly lowers expected cost, including a case where classical pooling has no cost gain. Su, 2008

The question matters for multilocation inventory systems because an order quantity is a decision as well as a response to demand. Pooling changes both the distribution of demand faced by the system and the number of independently chosen orders. A comparison based only on optimal costs leaves the second change out. This mission isolates the paper's mathematical claim about the combined effect of demand and decision variation. Su, 2008, §9

Setting

There are nnn locations. Demand at location iii is normally distributed with mean μi\mu_iμi​ and standard deviation σi\sigma_iσi​. The total demand has normal law with mean μT=∑iμi\mu_T=\sum_i\mu_iμT​=∑i​μi​ and standard deviation σT\sigma_TσT​. An order of xxx against a realized demand DDD incurs holding cost h(x−D)+h(x-D)^+h(x−D)+ for unsold units and backlog cost b(D−x)+b(D-x)^+b(D−x)+ for unmet demand. Its expected cost is γ(x)\gamma(x)γ(x). The decentralized system incurs one such cost at each location; the pooled system orders once for total demand. The published InventoryControl_newsboy definition supplies this Gaussian expected cost, with the same orientation of holding and backlog penalties as Su's equations (29) and (31). Su, 2008, p. 584

For an expected profit function π\piπ on a decision set SSS, the logit choice density is proportional to eπ(x)/βe^{\pi(x)/\beta}eπ(x)/β on SSS, where β>0\beta>0β>0 is a common bounded-rationality parameter. Larger β\betaβ spreads choices more widely; smaller positive β\betaβ concentrates them near high-profit choices. For normal demand, the decision domain is all of R\mathbb RR. With p=h+bp=h+bp=h+b and c=hc=hc=h, expected profit differs from minus expected cost by a constant independent of the order. The same logit law is therefore obtained from utility −γ(x)-\gamma(x)−γ(x). The random behavioral order is denoted XibX_i^bXib​ at location iii and XTbX_T^bXTb​ for the pool. Su, 2008, pp. 571–572, 584

Formalization targets

Strict pooling reduction

The goal is Proposition 7. Under positive holding and backlog costs, one common positive β\betaβ, at least two locations, positive individual standard deviations, and

σT≤∑i=1nσi,σT≥σifor every i,\sigma_T\leq\sum_{i=1}^{n}\sigma_i, \qquad \sigma_T\geq\sigma_i\quad\text{for every }i,σT​≤i=1∑n​σi​,σT​≥σi​for every i,

the claim is

E[γT(XTb)]<∑i=1nE[γi(Xib)].\mathbb E\bigl[\gamma_T(X_T^b)\bigr] <\sum_{i=1}^{n}\mathbb E\bigl[\gamma_i(X_i^b)\bigr].E[γT​(XTb​)]<i=1∑n​E[γi​(Xib​)].

The first standard-deviation inequality is automatic for the sum of jointly normal demands. The second excludes a total demand whose standard deviation is smaller than an individual location's. The result still includes perfect positive correlation, where the first inequality is an equality. Su, 2008, Proposition 7, p. 585

Supporting statements

Five milestones record the source's route to that comparison: invariance of the choice distribution under an order-preserving affine change of quantity (Lemma 1), invariance under an additive shift in utility (Lemma 2), standardization of the Gaussian newsvendor objective (equation (63)), the optimum of the canonical standard-normal newsvendor and the nonpositivity of its profit, and the comparison of its expected values at different positive scales. The milestone text preserves the wording of the printed article; the precise Lean conditions and corrections are stated with the items. Su, 2008, pp. 572, 587–588

Significance

The strict inequality separates two mechanisms of pooling. Demand aggregation can reduce variability, while a single pooled order also avoids accumulating the costs of several noisy decisions. Proposition 7 shows that the latter mechanism can make the cost reduction strict even when perfect correlation removes the usual variance benefit. It provides a condition that can be checked from individual and total standard deviations, rather than requiring an explicit covariance matrix in the final comparison. Su, 2008, pp. 584–585

The result is proved in the paper; the remaining task is a machine-checked formalization of its definitions and argument. The Gaussian expected-cost object is already published on Prove2Me, while the continuous logit law and this behavioral pooling theorem are new to this mission. The invariance statements and canonical profit comparison are reusable wherever a continuous logit rule acts on a transformed one-dimensional objective.

Difficulty

The usual pooling comparison evaluates cost at an optimal order. Here each system draws its order from a different continuous probability law, and the cost to compare is averaged over those choices. Comparing σT\sigma_TσT​ with ∑iσi\sum_i\sigma_i∑i​σi​ alone does not compare the logit distributions; in particular, it gives equality under perfect positive correlation while the target is strict. A formal development must also show that the normalizing integrals and the resulting cost expectations are genuine finite integrals for every set of parameters covered by the theorem.

Formalization scope

The Lean model uses Mathlib's real Gaussian law with variance σ2\sigma^2σ2 and the published InventoryControl_newsboy.newsboyCost for equations (29) and (31). It records the choice density, CDF, expectation, canonical profit, and behavioral expected cost as separate definitions. The behavioral density uses e−γ/βe^{-\gamma/\beta}e−γ/β on R\mathbb RR; the utility shift from profit is covered by Lemma 2. The theorem specifies normal marginals and a normal total with mean ∑iμi\sum_i\mu_i∑i​μi​ and standard deviation σT\sigma_TσT​. Every jointly normal demand vector in the paper yields these laws, and the final comparison uses no further feature of its joint distribution.

The conditions h>0h>0h>0, b>0b>0b>0, and β>0\beta>0β>0 are standing readings needed for the continuous choice law on the unbounded domain. Proposition 7 additionally states n≥2n\geq2n≥2 and σi>0\sigma_i>0σi​>0: for one location the alleged strict comparison becomes equality, while zero variance makes the paper's continuous density on a point support undefined. Lemma 1 requires positive affine scale because a negative scale reverses CDF order, and its two invariance lemmas require a finite positive normalizer. Equation (66) is read with min⁡(Z,z)\min(Z,z)min(Z,z), as dictated by the surrounding formulas; the printed display drops the word “min.” These corrections and the cost-based choice convention are recorded item by item in the moderation notes.

No optimizer is supplied as a free variable, and no zero normalizer is allowed to turn a logit expectation into a trivial zero. Useful solver contributions include proofs that the cost-based logit normalizer and expected cost are integrable, Gaussian change-of-variables lemmas, and the strict scale comparison. These analytic facts can serve other continuous-choice models.

Selected references

  • Xuanming Su, Bounded Rationality in Newsvendor Models, Manufacturing & Service Operations Management 10(4):566–589, 2008. DOI: 10.1287/msom.1070.0200.
9 thms3 active usersReviewed
Bandit AlgorithmsStochastic Systems·Captain: mikedeng1

On the Gittins Index for Multiarmed Bandits 2: A Policy Falls Short of the Gittins Policy by at Most Its Expected Discounted Gap Between the Greatest Gittins Index and That of the Bandit It PlaysResearch Paper

Motivation

The multiarmed bandit problem asks how to allocate a single resource, one play at a time, among several alternative projects whose states evolve only when they are worked on. It models the scheduling of jobs on a single machine, the design of sequential clinical trials and many problems of research planning. Gittins and Jones showed that it is optimal to play, at each time, a project of greatest Gittins index, a number computed from that project alone (Gittins and Jones 1974; Gittins 1979).

In practice the Gittins index policy is often replaced by a heuristic: indices are computed approximately, or a policy is constrained by operational rules. A practitioner then needs to know how much value is lost. R. Weber's paper On the Gittins index for multiarmed bandits (Ann. Appl. Probab. 1992) gives a short proof of the index theorem through prevailing charges, and in its Section 5 derives from it two suboptimality bounds. This mission formalizes the second of them, Theorem 3, which bounds the loss of an arbitrary policy using Gittins indices only.

Timeline. Gittins and Jones (1974) and Gittins (1979) prove optimality of the index policy by an interchange argument; Whittle (1980) gives a proof by retirement options; Glazebrook (1982) bounds the suboptimality of policies in terms of Gittins indices, the bound Weber calls "usually weaker than (6)"; Glazebrook (1990) gives the prevailing-charge bound that is Weber's Theorem 2; Weber (1992) proves the index theorem by prevailing charges and states Theorems 2–4.

Setting

There are kkk bandit processes. Bandit iii has a state xi(t)x_i(t)xi​(t) in a state space SSS; at each epoch t=0,1,2,…t = 0, 1, 2, \dotst=0,1,2,… the gambler plays one bandit j(t)j(t)j(t), receives a reward with mean r(xj(t)(t))r(x_{j(t)}(t))r(xj(t)​(t)), the state of bandit j(t)j(t)j(t) moves according to a Markov transition kernel PPP, and the states of all other bandits are unchanged. Rewards are nonnegative and uniformly bounded, and 0<β<10 < \beta < 10<β<1 is a discount factor. A policy π\piπ chooses j(t)j(t)j(t), possibly at random, as a function of everything observed so far. Its value from the initial state vector xxx is the expected total-discounted reward

Vπ(x)=Eπ[∑t=0∞βtr(xj(t)(t)) ∣ x(0)=x].(1)V_\pi(x) = E_\pi\Big[\sum_{t=0}^\infty \beta^t r\big(x_{j(t)}(t)\big) \,\Big|\, x(0) = x\Big]. \tag{1}Vπ​(x)=Eπ​[t=0∑∞​βtr(xj(t)​(t))​x(0)=x].(1)

The fair charge γ(y)\gamma(y)γ(y) of a state yyy is the largest ratio of expected discounted reward to expected discounted time that a stopping time τ≥1\tau \ge 1τ≥1 of a single bandit started at yyy can achieve,

γ(y)=sup⁡τ≥1E[∑t=0τ−1βtr(x(t))∣x(0)=y]E[∑t=0τ−1βt∣x(0)=y],\gamma(y) = \sup_{\tau \ge 1} \frac{E\big[\sum_{t=0}^{\tau-1}\beta^t r(x(t)) \mid x(0)=y\big]}{E\big[\sum_{t=0}^{\tau-1}\beta^t \mid x(0)=y\big]},γ(y)=τ≥1sup​E[∑t=0τ−1​βt∣x(0)=y]E[∑t=0τ−1​βtr(x(t))∣x(0)=y]​,

and Weber's Gittins index is G(y)=γ(y)/(1−β)G(y) = \gamma(y)/(1-\beta)G(y)=γ(y)/(1−β). A Gittins index policy π∗\pi^*π∗ plays, at every epoch, a bandit with the greatest index, ties broken arbitrarily. Theorem 1 of the paper, already formalized on Prove2Me as BanditAlgorithm.gittins_index_theorem, states that every Gittins index policy maximizes Vπ(x)V_\pi(x)Vπ​(x).

The model, the fair charge and the Gittins index policy are the published GittinsIndex definitions of Shuze Chen, and the history truncation used to write round expectations is from Harry_Xu's GittinsTerminalPotential.

Formalization targets

Goal: Theorem 3

For a Gittins index policy π∗\pi^*π∗, every policy π\piπ and every initial state vector xxx,

Vπ∗(x)−Vπ(x)≤Eπ[∑t=0∞βt(max⁡iGi(xi(t))−Gj(t)(xj(t)(t))) | x(0)=x].(7)V_{\pi^*}(x) - V_\pi(x) \le E_\pi\left[\sum_{t=0}^\infty \beta^t\Big(\max_i G_i\big(x_i(t)\big) - G_{j(t)}\big(x_{j(t)}(t)\big)\Big) \,\middle|\, x(0)=x\right]. \tag{7}Vπ∗​(x)−Vπ​(x)≤Eπ​[t=0∑∞​βt(imax​Gi​(xi​(t))−Gj(t)​(xj(t)​(t)))​x(0)=x].(7)

The right-hand side is computed along the trajectory of π\piπ alone: in each epoch it charges the gap between the greatest index and the index of the bandit π\piπ actually plays.

Milestones

The proof compares, for each ttt, two policies built from π\piπ: π∗(t)\pi^*(t)π∗(t), identical to π\piπ before time ttt and a Gittins index policy from ttt on, and π(t)\pi(t)π(t), identical to π\piπ up to and including time ttt, which then continues playing j(t)j(t)j(t) until its fair charge drops below its value at time ttt and is a Gittins index policy thereafter.

  1. Switching to Gittins later never hurts. If σ′\sigma'σ′ is identical to σ\sigmaσ through time ttt and a Gittins index policy from t+1t+1t+1 on, then Vσ(x)≤Vσ′(x)V_\sigma(x) \le V_{\sigma'}(x)Vσ​(x)≤Vσ′​(x); in particular Vπ(t)(x)≤Vπ∗(t+1)(x)V_{\pi(t)}(x) \le V_{\pi^*(t+1)}(x)Vπ(t)​(x)≤Vπ∗(t+1)​(x).
  2. Equation (8).
Vπ∗(t)(x)−Vπ(t)(x)≤βtEπ[max⁡iγi(xi(t))−γj(t)(xj(t)(t))1−β | x(0)=x].V_{\pi^*(t)}(x) - V_{\pi(t)}(x) \le \beta^t E_\pi\left[\frac{\max_i \gamma_i(x_i(t)) - \gamma_{j(t)}(x_{j(t)}(t))}{1-\beta} \,\middle|\, x(0)=x\right].Vπ∗(t)​(x)−Vπ(t)​(x)≤βtEπ​[1−βmaxi​γi​(xi​(t))−γj(t)​(xj(t)​(t))​​x(0)=x].

Significance

The result. Theorem 3 turns any per-epoch guarantee about the index of the bandit played into a guarantee on value. If a policy always plays a bandit whose Gittins index is within ε\varepsilonε of the greatest, it loses at most ε/(1−β)\varepsilon/(1-\beta)ε/(1−β); this is the form in which index heuristics, approximate index computations and constrained index policies are analysed. The open Prove2Me goal AllocationIndices.eps_index_policy_near_optimal (Gittins, Glazebrook and Weber, Multi-armed Bandit Allocation Indices, Theorem 4.18, after Glazebrook 1982) is a bound of this kind for ε\varepsilonε-index policies and follows from (7); it is a separate item and is not part of this mission. Unlike Theorem 2 of the same paper, the bound (7) involves only Gittins indices, not prevailing charges or rewards.

Formalizing it. Theorem 3 is proved in the paper; no machine-checked proof exists. The mission produces a formal statement of the bound on top of the published Markov bandit model and Theorem 1, together with the two intermediate statements of Weber's proof, which have uses of their own: optimality of switching to the index policy after any finite prefix of play is the dynamic-programming form of the index theorem.

Difficulty

The informal proof is half a page, and its key sentence is that the difference of the charges paid by π∗(t)\pi^*(t)π∗(t) and π(t)\pi(t)π(t) at any later time is never more than the gap at time ttt. Making it rigorous requires the value-to-go of a history-dependent randomized policy after a fixed time, the fact that both policies from time ttt on are fair games in which expected discounted reward equals expected discounted charge, and a pathwise comparison of two interleavings of charge sequences. The naive reading, that π(t)\pi(t)π(t) loses only the single epoch ttt, is wrong: playing j(t)j(t)j(t) at time ttt commits the policy to a whole run of j(t)j(t)j(t), and the bound accounts for the entire run through the factor 1/(1−β)1/(1-\beta)1/(1−β). Telescoping (8) over ttt also needs Vπ∗(t)(x)→Vπ(x)V_{\pi^*(t)}(x) \to V_\pi(x)Vπ∗(t)​(x)→Vπ​(x) as t→∞t \to \inftyt→∞, which rests on bounded rewards and β<1\beta < 1β<1.

Formalization scope

The Lean development uses the published BanditAlgorithm model, in which all bandits share one state space SSS (a standard Borel space), one kernel PPP and one reward rrr; Weber's bandits with different state spaces are encoded by taking the disjoint union. Time is 0-indexed in both. The committed readings of the paper's phrases are:

  • "π∗\pi^*π∗ is the optimal (Gittins) policy" is any policy satisfying IsGittinsIndexPolicy; it is not assumed to be built from π\piπ.
  • Rj(xj(t))R_j(x_j(t))Rj​(xj​(t)) is represented by its conditional mean r(xj(t))r(x_j(t))r(xj​(t)), and "Eπ[∑tβt⋯ ]E_\pi[\sum_t \beta^t \cdots]Eπ​[∑t​βt⋯]" by the series of per-epoch expectations ∑tβtEπ[⋯ ]\sum_t \beta^t E_\pi[\cdots]∑t​βtEπ​[⋯], the published value convention.
  • The index in (7) is G=γ/(1−β)G = \gamma/(1-\beta)G=γ/(1−β) (weberIndex), and (8) is written with γ\gammaγ (gittinsIndex) divided by 1−β1-\beta1−β, as on the page.
  • π∗(t)\pi^*(t)π∗(t) and π(t)\pi(t)π(t) are predicates on a policy (IsSwitchToGittinsAt, IsRunThenGittinsAt), and (8) is stated for every pair of policies satisfying them. "Identical to π\piπ for times less than ttt" is rounds n<tn < tn<t; "plays j(t)j(t)j(t) at time ttt" and "identical through time ttt" are rounds n≤tn \le tn≤t. "Drops below" is strict.
  • The standing assumptions of Section 1 (nonnegative, uniformly bounded rewards and 0<β<10<\beta<10<β<1) are hypotheses of every theorem, as are measurability of rrr and of y↦γ(y)y \mapsto \gamma(y)y↦γ(y), which the paper takes for granted.

Using the fair charge γ\gammaγ in place of GGG in (7) would make the bound false by the factor 1−β1-\beta1−β; dropping the measurability of γ\gammaγ would let the expectation degenerate to 000 and make the bound claim that every policy is optimal. Neither is the statement posed here, and a constant-index or one-armed instance, where both sides vanish, only checks that the hypotheses are satisfiable.

Theorem 1 is referenced, not posed. Theorem 2 (the prevailing-charge bound) and Theorem 4 (submodularity of the optimal value in the set of bandits) are missions 1 and 3 of this series; this mission does not depend on them. Weber's definition of an index consistent policy (p. 1028) is not formalized here: the proof of (8) needs the fair-game property in the form of Remark 2 (continue while the fair charge exceeds the prevailing charge), which differs from the definition's "initial value" after an interruption. Contributions welcome: a measurable greatest-index selection, value-to-go decompositions for history-dependent policies, and the fair-game identity for index-consistent play are reusable beyond this mission.

Selected references

  • R. Weber, On the Gittins index for multiarmed bandits, The Annals of Applied Probability 2(4), 1024–1033, 1992. https://doi.org/10.1214/aoap/1177005588
  • J. C. Gittins, Bandit processes and dynamic allocation indices, Journal of the Royal Statistical Society B 41(2), 148–177, 1979. https://doi.org/10.1111/j.2517-6161.1979.tb01068.x
  • K. D. Glazebrook, Procedures for the evaluation of strategies for resource allocation in a stochastic environment, Journal of Applied Probability 27, 215–220, 1990.
  • J. C. Gittins and D. M. Jones, A dynamic allocation index for the sequential design of experiments, in Progress in Statistics (J. Gani et al., eds.), North-Holland, 241–266, 1974.
  • P. Whittle, Multi-armed bandits and the Gittins index, Journal of the Royal Statistical Society B 42(2), 143–149, 1980. https://doi.org/10.1111/j.2517-6161.1980.tb01111.x
  • K. D. Glazebrook, On the evaluation of suboptimal strategies for families of alternative bandit processes, Journal of Applied Probability 19, 716–722, 1982.
  • J. C. Gittins, K. D. Glazebrook and R. Weber, Multi-armed Bandit Allocation Indices, 2nd ed., Wiley, 2011. https://doi.org/10.1002/9780470980033
  • T. Lattimore and Cs. Szepesvári, Bandit Algorithms, Cambridge University Press, 2020, Chapter 35. https://doi.org/10.1017/9781108571401
8 thms3 active usersReviewed
🏆Completed
Bandit AlgorithmsDynamic ProgrammingProbability·Captain: mikedeng1

A Short Proof of the Gittins Index Theorem: For Finite-State Semi-Markov Bandits, Every Priority Policy Ordering States by the Index Algorithm's Indices Is OptimalResearch Paper

Motivation

The multi-armed bandit problem with discounted rewards asks how to allocate effort among nnn independent projects, only one of which can be worked on at a time, when the project worked on evolves randomly and the others stay frozen. It models job scheduling, research planning, search, and sequential clinical experimentation. Gittins and Jones showed in 1974 that the problem has an index solution: each state of each project has a number, computed from that project alone, and it is optimal always to work on the project whose current state has the largest number. The result turns an nnn-dimensional dynamic program into nnn one-dimensional computations.

Several proofs followed, each with its own model and its own definition of the index:

  • Gittins and Jones (1974) and Gittins (1979): the original interchange proofs, with the index as a supremum over stopping times of a reward-to-time ratio.
  • Whittle (1980): a proof through the retirement option and the dynamic-programming equation of the multi-armed problem.
  • Varaiya, Walrand and Buyukkoc (1985): the largest-remaining-index algorithm for finite-state Markov bandits, which computes the indices by removing states one at a time.
  • Weber (1992): the "prevailing charge" proof.
  • Tsitsiklis (1994): the short proof formalized here, for semi-Markov bandits with finite state spaces, by induction on the total number of states, with the indices produced by an index algorithm of the largest-remaining-index type.

Setting

There are n≥1n\ge1n≥1 bandit processes. Bandit iii has a finite nonempty state space Xi\mathcal X_iXi​, and X=X1∪⋯∪Xn\mathcal X=\mathcal X_1\cup\cdots\cup\mathcal X_nX=X1​∪⋯∪Xn​ is their disjoint union. When bandit iii at state x∈Xix\in\mathcal X_ix∈Xi​ is played, a random reward R(x)R(x)R(x) is received, the bandit is busy for a random time T(x)≥0T(x)\ge0T(x)≥0, and it then moves to a random state Y(x)∈XiY(x)\in\mathcal X_iY(x)∈Xi​; the other bandits do not move. The joint law of (T(x),R(x),Y(x))(T(x),R(x),Y(x))(T(x),R(x),Y(x)) depends only on xxx, and different plays are independent.

A policy is a map π:X1×⋯×Xn→{1,…,n}\pi:\mathcal X_1\times\cdots\times\mathcal X_n\to\{1,\dots,n\}π:X1​×⋯×Xn​→{1,…,n}: at time zero and at every play completion time it chooses the bandit to play from the current states. With tit_iti​ the start time and RiR_iRi​ the reward of the iii-th play and a discount rate β>0\beta>0β>0, the expected discounted reward from the initial joint state zzz is

Jπ(z)=E[∑i=1∞Rie−βti].J_\pi(z)=\mathbb E\Big[\sum_{i=1}^{\infty}R_i e^{-\beta t_i}\Big].Jπ​(z)=E[i=1∑∞​Ri​e−βti​].

A policy is optimal if it maximizes Jπ(z)J_\pi(z)Jπ​(z) for every initial state zzz. A priority rule is a policy for which some ordering of X\mathcal XX makes it always play the bandit whose current state is ordered highest.

The reward rate of a state is

r(x)=E[R(x)]E[∫0T(x)e−βt dt].(2.1)r(x)=\frac{\mathbb E[R(x)]}{\mathbb E\big[\int_0^{T(x)}e^{-\beta t}\,dt\big]}. \tag{2.1}r(x)=E[∫0T(x)​e−βtdt]E[R(x)]​.(2.1)

Reducing bandit i∗i^*i∗ by removing a state s∗s^*s∗ merges every play that ends in s∗s^*s∗ with the following run of plays at s∗s^*s∗ into one composite play, whose reward rate is r^(x)\hat r(x)r^(x) of (2.3). The index algorithm repeatedly picks a state s∗s^*s∗ of maximal current rate, sets its index γ(s∗)\gamma(s^*)γ(s∗) to that rate, and reduces its bandit by removing s∗s^*s∗ (or removes the bandit if s∗s^*s∗ was its last state).

Formalization targets

Goal: Theorem 2.2

Let γ\gammaγ be the indices of a run of the index algorithm. Then every priority rule whose ordering satisfies

γ(y)<γ(x) ⟹ y is ordered below x\gamma(y)<\gamma(x)\ \Longrightarrow\ y \text{ is ordered below } xγ(y)<γ(x) ⟹ y is ordered below x

is optimal. Ties in γ\gammaγ may be ordered either way, and the run may break ties in its own choices arbitrarily.

Milestones, in the order the proof uses them

  1. (2.2), the interchange inequality E[(1−e−βτ)∫0T(s∗)r(s∗)e−βtdt]≥E[(1−e−βT(s∗))∫0τrˉ(t)e−βtdt]\mathbb E\big[(1-e^{-\beta\tau})\int_0^{T(s^*)}r(s^*)e^{-\beta t}dt\big]\ge\mathbb E\big[(1-e^{-\beta T(s^*)})\int_0^{\tau}\bar r(t)e^{-\beta t}dt\big]E[(1−e−βτ)∫0T(s∗)​r(s∗)e−βtdt]≥E[(1−e−βT(s∗))∫0τ​rˉ(t)e−βtdt] when rˉ≤r(s∗)\bar r\le r(s^*)rˉ≤r(s∗).
  2. Lemma 2.1: if r(s∗)=max⁡xr(x)r(s^*)=\max_{x}r(x)r(s∗)=maxx​r(x), some optimal policy always plays bandit i∗i^*i∗ when it is at s∗s^*s∗.
  3. Reduction step: optimizing within the policies giving s∗s^*s∗ top priority is a bandit problem with one state fewer, the reduced bandit with rates (2.3).
  4. Theorem 2.1: some priority rule is optimal.
  5. Pick-order optimality: a priority rule that orders the states as a run of the index algorithm picks them is optimal.
  6. Index monotonicity: along a run, γ(s∗)≥γ(q∗)\gamma(s^*)\ge\gamma(q^*)γ(s∗)≥γ(q∗) for consecutive picks s∗,q∗s^*,q^*s∗,q∗.
  7. Picked-before characterization: xxx can be picked before yyy (in a run with the same indices) if and only if γ(x)≥γ(y)\gamma(x)\ge\gamma(y)γ(x)≥γ(y).

Significance

The theorem shows that the optimal priority order is determined by numbers that, by the reduction formulas, depend only on the statistics of each bandit separately. It is the basis of index policies in scheduling (the cμc\mucμ rule and its semi-Markov generalizations), of Klimov's problem and of branching bandits, which the paper's Section 3 obtains by modifying the same argument.

The result has been proved many times, but not in this generality on Prove2Me. The platform has a discrete-time Gittins index theorem for arms sharing one transition kernel and one reward function, with the index defined as a stopping-time supremum. This mission adds semi-Markov dynamics with random play durations and continuous discounting, heterogeneous finite bandits, priority rules, and the index algorithm as the definition of the index. A complete development would also give a machine-checked proof of correctness of a state-elimination algorithm for computing Gittins indices.

Difficulty

Lemma 2.1 compares an optimal stationary policy with a modified policy that is not stationary, and closes the gap by the optimality of stationary policies, which itself requires the dynamic-programming theory of discounted semi-Markov decision problems with finite state spaces. The reduction step requires an exact identification of the values of all top-priority policies with values in a different problem whose plays are composite and may never end. Theorem 2.1 is an induction over a family of problems with shrinking state spaces that are no longer raw semi-Markov bandits. Theorem 2.2 adds ties: a priority order compatible with the indices need not be the order of the given run, and one needs another run with the same indices.

Formalization scope

  • Bandits are indexed by Fin n (0,…,n−10,\dots,n-10,…,n−1), with n≥1n\ge1n≥1 and each state type finite and nonempty. X\mathcal XX is the sigma type Σ i, X i, disjoint by construction.
  • The law of (T(x),R(x),Y(x))(T(x),R(x),Y(x))(T(x),R(x),Y(x)) is a probability measure on R×R×Xi\mathbb R\times\mathbb R\times\mathcal X_iR×R×Xi​ with T≥0T\ge0T≥0 almost surely and RRR integrable. The model also assumes P(T(x)>0)>0\mathbb P(T(x)>0)>0P(T(x)>0)>0, which the page leaves implicit: it makes the denominator of (2.1) nonzero.
  • JπJ_\piJπ​ is computed from the moments E[R(x)]\mathbb E[R(x)]E[R(x)] and D(x,y)=E[e−βT(x);Y(x)=y]D(x,y)=\mathbb E[e^{-\beta T(x)};Y(x)=y]D(x,y)=E[e−βT(x);Y(x)=y]: it is the limit of the expected discounted reward of the first kkk plays, given by the first-step recursion. No path space is constructed. The row sums of DDD are below 111, so the limit exists; it never mentions rates, indices or reductions.
  • Policies are the paper's stationary deterministic maps of the current joint state, and optimality is within that class, for every initial state. An ordering of X\mathcal XX is an injective ranking into N\mathbb NN.
  • The reduced bandit is given by explicit formulas for its expected discounted reward, discounted duration and discounted transition data. These make the page's "transition probabilities are suitably modified" concrete, and the reduced rate is (2.3). Removing a bandit is the reduction of its last state.
  • The index is that of any run of the index algorithm, with arbitrary tie choices.

A formalization in which the value of a policy is defined through rates or indices, or in which γ\gammaγ is any function compatible with some order rather than the output of the algorithm, would make the goal trivial or empty; both are excluded by the definitions above.

Needed infrastructure: the convergence of the kkk-play values and the first-step (Bellman) equation for JπJ_\piJπ​; existence of an optimal stationary policy for finite discounted semi-Markov problems; the value identity for composite plays. The last two are reusable for any finite semi-Markov decision problem. Proofs of individual milestones, alternative arguments (Weber's prevailing charge, the retirement formulation), and the separability statement of p. 198 ("the index algorithm can be carried out separately for each different bandit") are welcome.

Selected references

  • J. N. Tsitsiklis, A Short Proof of the Gittins Index Theorem, Annals of Applied Probability 4(1) (1994), 194–199.
  • J. C. Gittins and D. M. Jones, A dynamic allocation index for the sequential design of experiments, in Progress in Statistics (J. Gani et al., eds.), North-Holland, 1974, 241–266.
  • J. C. Gittins, Bandit processes and dynamic allocation indices, J. Roy. Statist. Soc. Ser. B 41 (1979), 148–177. https://doi.org/10.1111/j.2517-6161.1979.tb01068.x
  • P. Whittle, Multi-armed bandits and the Gittins index, J. Roy. Statist. Soc. Ser. B 42 (1980), 143–149. https://doi.org/10.1111/j.2517-6161.1980.tb01111.x
  • P. P. Varaiya, J. C. Walrand and C. Buyukkoc, Extensions of the multiarmed bandit problem: the discounted case, IEEE Trans. Automat. Control 30 (1985), 426–439. https://doi.org/10.1109/TAC.1985.1103989
  • R. Weber, On the Gittins index for multiarmed bandits, Annals of Applied Probability 2(4) (1992), 1024–1033. https://doi.org/10.1214/aoap/1177005588
11 thms3 active usersReviewed
Dynamic ProgrammingProbability·Captain: mikedeng1

Optimal Ordering and Rationing Policies in a Nonstationary Dynamic Inventory Model with n Demand Classes IV: Critical-Level Ordering at Nondecreasing Myopic Levels ȳₘ Is OptimalResearch Paper

Motivation

A firm with one product may face several customer classes in each selling interval. When stock is scarce, it must decide which outstanding demands to satisfy and how much inventory to carry into later intervals. When new stock can be bought at several dates, the rationing choice also changes the value of future purchasing opportunities. Topkis studied these linked decisions in a nonstationary model with class-dependent shortage penalties and a finite number of ordering periods. His Theorem 4 identifies conditions under which a policy computed from each period's myopic cost is optimal in the full multiperiod problem Topkis 1968.

The result belongs to a line of work on critical-level policies: choose a stock target and order up to it if current stock is lower. Here the target can be computed one period at a time despite the possibility of future purchases and the separate question of how to ration stock among demand classes. The paper attributes a related myopic policy result to Veinott and explains that its own setting allows a more general rationing policy than the special zero-rationing-level case discussed there Topkis 1968, pp. 175–176. This mission formalizes Topkis's multiperiod statement, including its ordering and rationing conclusions.

Setting

There are NNN ordering periods, numbered 111 through NNN. Period mmm has a unit purchase cost cmc_mcm​. It contains kmk_mkm​ selling intervals, numbered backward: interval kmk_mkm​ is first and interval 111 is last. Within an interval, a random nonnegative demand vector has one component for each of nnn customer classes. The vectors in distinct intervals and periods are independent and each class has a finite mean. At the start of an interval the demand is observed. A decision then selects how much of each class's outstanding demand to leave unsatisfied. The remaining physical stock incurs a holding cost, and each unsatisfied unit incurs a class-specific penalty. Unsatisfied demand is either carried entirely to the next interval or lost entirely, according to the interval. Penalties are nonnegative and rise with class index, so class nnn has the highest shortage penalty Topkis 1968, pp. 162–163, 174.

Let www be net stock before ordering at the start of period mmm: physical stock minus outstanding backlogs. The order must clear the backlog, so the post-order stock zzz satisfies z≥w+=max⁡(w,0)z\ge w^+=\max(w,0)z≥w+=max(w,0). After period NNN, a further unit can be purchased for cN+1≥0c_{N+1}\ge0cN+1​≥0, while unused stock can be salvaged for revenue v≤cN+1v\le c_{N+1}v≤cN+1​. The terminal cost is CN+1(w)=(cN+1−v)w+C_{N+1}(w)=(c_{N+1}-v)w^+CN+1​(w)=(cN+1​−v)w+. Working backward, Cm(w)C_m(w)Cm​(w) is the optimal continuation cost, including the period-mmm ordering decision. The actual period cost g~m(z)\widetilde g^m(z)g​m(z) includes the later continuation value Cm+1C_{m+1}Cm+1​, and equation (19) reads

Cm(w)=inf⁡z≥w+g~m(z).C_m(w)=\inf_{z\ge w^+}\widetilde g^m(z).Cm​(w)=z≥w+inf​g​m(z).

The single-period cost gm(z)g^m(z)gm(z) uses the same demand, holding costs and rationing choices in period mmm, but replaces the later continuation value by the linear terminal charge −cm+1y-c_{m+1}y−cm+1​y. A myopic level yˉm\bar y_myˉ​m​ is any minimum of gmg^mgm on [0,∞)[0,\infty)[0,∞); it is +∞+\infty+∞ if no such minimum exists. Thus the level need not be the smallest minimum when several stock levels tie Topkis 1968, pp. 174–175.

Formalization targets

Theorem 4: myopic ordering and rationing

Suppose v=cN+1v=c_{N+1}v=cN+1​ and the selected myopic levels are nondecreasing from period mmm onward:

yˉm≤yˉm+1≤⋯≤yˉN.\bar y_m\le\bar y_{m+1}\le\cdots\le\bar y_N.yˉ​m​≤yˉ​m+1​≤⋯≤yˉ​N​.

Then yˉm<+∞\bar y_m<+\inftyyˉ​m​<+∞, and ordering to w∨yˉmw\vee\bar y_mw∨yˉ​m​ minimizes g~m\widetilde g^mg​m over all feasible post-order levels z≥w+z\ge w^+z≥w+. If m<Nm<Nm<N and the stock at the start of period mmm is at most yˉm+1\bar y_{m+1}yˉ​m+1​, the optimal rationing policy during that period is the optimal policy for its single-period problem, calculated with terminal costs v1≡0v_1\equiv0v1​≡0 and v2(y)=−cm+1yv_2(y)=-c_{m+1}yv2​(y)=−cm+1​y Topkis 1968, Theorem 4.

The milestones are the paper's regularity claim for CmC_mCm​ and g~m\widetilde g^mg​m, existence of an actual optimal order-up-to level, finiteness of yˉN\bar y_Nyˉ​N​, the shape of CmC_mCm​ around an optimal level, and the comparison in equation (20). Together these specify the route from the general dynamic program to the myopic target.

Significance

Theorem 4 gives a checkable sufficient condition for replacing a multiperiod ordering computation with a sequence of single-period cost minimizations. It also identifies when the rationing decisions can be obtained from the same single-period model. The stock bound in its rationing clause matters: outside that range, future costs may alter which class demands should be filled now. The result therefore describes both the simplification and its operational domain Topkis 1968, pp. 175–176.

Topkis proved the theorem in 1968; the task here is to produce machine-checked definitions and proofs of that known result. The definitions of feasible rationing, backward value functions, myopic costs and order-up-to levels will also support comparisons with other finite-horizon inventory models. The §1 model is duplicated locally while the four missions for this paper are drafted in parallel, then intended for consolidation into a shared interface.

Difficulty

Convexity alone gives an order-up-to form for the actual cost g~m\widetilde g^mg​m, but it does not identify its minimizing level with a minimum of the simpler cost gmg^mgm. The continuation value Cm+1C_{m+1}Cm+1​ depends on all later ordering and rationing decisions. When some unsatisfied demand is lost, the end-of-period net stock can depend on the within-period rationing choice as well. The core issue is therefore to control the difference between the actual and myopic objectives in the stock range relevant to period mmm Topkis 1968, pp. 174–176. A statement restricted to a preselected rationing rule would miss the theorem's claim about optimality among all feasible decisions.

Formalization scope

Classes are indexed by Fin n; the largest index is the highest penalty class. Intervals and ordering periods use natural numbers with explicit bounds, and intervals retain the paper's backward numbering. Stock, penalties and costs are real. A period's demand vector has a probability law on real vectors supported on the nonnegative orthant, with every coordinate integrable. The §1 dynamic program uses real infima for feasible rationing choices and Bochner integrals for demand expectations. The multiperiod value CmC_mCm​ uses the nonnegative post-order domain z≥w+z\ge w^+z≥w+ in (19). Its defining infimum is intended to be finite under the paper's assumptions; the regularity and attainment milestones expose the facts that rule out Lean's default value for an unbounded infimum. These functions are used only at 1≤m≤N+11\le m\le N+11≤m≤N+1, with period costs at 1≤m≤N1\le m\le N1≤m≤N.

The multiperiod standing assumptions require n>0n>0n>0, N>0N>0N>0, and at least one interval per period, matching the paper’s positive counts.

Holding costs and the appropriate terminal costs satisfy the convexity and continuity assumptions of §1. Within each period, backlog multipliers equal 000 or 111. The terminal procurement cost is nonnegative and salvage revenue does not exceed it. Assumption (D′) is encoded as an eventually positive lower bound on the extended-real right derivative of cmw+∑i=mN∑tht,i(w)−vwc_mw+\sum_{i=m}^N\sum_t h_{t,i}(w)-vwcm​w+∑i=mN​∑t​ht,i​(w)−vw. The §1 terminal functions used in the period assumptions are the linear functions required by the single-period comparison; their regularity adds no independent restriction. Independence across intervals and periods is built into successive expectations. The goal separately assumes v=cN+1v=c_{N+1}v=cN+1​ and monotonicity of the selected myopic levels only from mmm through NNN.

The formal target compares the actual and single-period sets of optimal rationing decisions at every interval and at every nonnegative state with stock at most yˉm+1\bar y_{m+1}yˉ​m+1​. The stock bound and the full feasible set prevent the claim from becoming a result about a handpicked policy. Contributions to the backward recursion, convexity and attainment facts, and the comparison of these two decision sets are all part of this mission.

Selected references

  • Donald M. Topkis, Optimal Ordering and Rationing Policies in a Nonstationary Dynamic Inventory Model with n Demand Classes, Management Science 15(3), 160–176, 1968. DOI: 10.1287/mnsc.15.3.160.
9 thms3 active usersReviewed
CombinatoricsProbability·Captain: mikedeng1

Concentration of Measure and Isoperimetric Inequalities in Product Spaces XI: The Random Assignment Problem — Fluctuations of the Optimal Cost of Order (log N)²/(√N log log N)Textbook

Motivation

The assignment problem asks for a one-to-one matching of NNN agents to NNN tasks that minimizes the total cost. It is one of the basic problems of combinatorial optimization and is solved in polynomial time by the Hungarian method. Its random version, in which the N2N^2N2 costs are independent random variables, is a standard model for the typical behavior of optimization problems on random inputs, and it has been studied in probability, operations research and statistical physics.

Timeline:

  • Walkup (1979) showed that the expected optimal cost E(LN)E(L_N)E(LN​) of the random assignment problem with independent uniform [0,1][0,1][0,1] costs stays bounded as N→∞N \to \inftyN→∞ (doi:10.1137/0208036).
  • Karp (1987) proved E(LN)≤2E(L_N) \le 2E(LN​)≤2.
  • Talagrand (1995), in the article this mission formalizes, bounded the fluctuations of LNL_NLN​ around its median by K(log⁡N)2/(Nlog⁡log⁡N)K(\log N)^2/(\sqrt N \log\log N)K(logN)2/(N​loglogN), as a showcase of his concentration inequality for product measures (doi:10.1007/BF02699376).
  • Aldous (2001) proved the limit E(LN)→π2/6E(L_N) \to \pi^2/6E(LN​)→π2/6, the value predicted by Mézard and Parisi (doi:10.1002/rsa.1015).

This mission is Chapter 10 of Talagrand's article.

Setting

Fix NNN and two sets III and JJJ of cardinal NNN. An assignment is a one-to-one map τ\tauτ from III onto JJJ. Given a cost matrix a=(ai,j)i∈I,j∈Ja = (a_{i,j})_{i \in I, j \in J}a=(ai,j​)i∈I,j∈J​, the cost of τ\tauτ is ∑i∈Iai,τ(i)\sum_{i \in I} a_{i,\tau(i)}∑i∈I​ai,τ(i)​. In the random problem the costs are Xi,jX_{i,j}Xi,j​, independent and uniformly distributed on [0,1][0,1][0,1], and the optimal cost is the random variable

LN=min⁡{∑i∈IXi,τ(i)  ;  τ assignment}.L_N = \min\Big\{ \sum_{i \in I} X_{i,\tau(i)} \;;\; \tau \text{ assignment} \Big\}.LN​=min{i∈I∑​Xi,τ(i)​;τ assignment}.

A median of LNL_NLN​ is any real MMM with P(LN≤M)≥1/2P(L_N \le M) \ge 1/2P(LN​≤M)≥1/2 and P(LN≥M)≥1/2P(L_N \ge M) \ge 1/2P(LN​≥M)≥1/2.

The argument uses digraphs. A digraph is a subset D⊆I×JD \subseteq I \times JD⊆I×J, and for S⊆IS \subseteq IS⊆I the set of neighbors is D(S)={j∈J; ∃i∈S, (i,j)∈D}D(S) = \{ j \in J ;\ \exists i \in S,\ (i,j) \in D \}D(S)={j∈J; ∃i∈S, (i,j)∈D}. For α≥2\alpha \ge 2α≥2, DDD is α\alphaα-expanding if for every S⊆IS \subseteq IS⊆I

card⁡S≤N2⇒card⁡D(S)≥min⁡(αcard⁡S,N2),card⁡S≥N2⇒card⁡D(S)≥N−1α(N−card⁡S).\operatorname{card} S \le \tfrac N2 \Rightarrow \operatorname{card} D(S) \ge \min\big(\alpha \operatorname{card} S, \tfrac N2\big), \qquad \operatorname{card} S \ge \tfrac N2 \Rightarrow \operatorname{card} D(S) \ge N - \tfrac 1\alpha (N - \operatorname{card} S).cardS≤2N​⇒cardD(S)≥min(αcardS,2N​),cardS≥2N​⇒cardD(S)≥N−α1​(N−cardS).

For u>0u > 0u>0 the threshold digraph is Du={(i,j); Xi,j≤2uN−1log⁡N}D_u = \{(i,j) ;\ X_{i,j} \le 2uN^{-1}\log N\}Du​={(i,j); Xi,j​≤2uN−1logN}: it keeps only the cheap edges.

Formalization targets

Goal: Theorem 10.5

There is a universal constant KKK such that for N≥3N \ge 3N≥3, every median MMM of LNL_NLN​ and every t≥0t \ge 0t≥0,

t≤log⁡N⇒P(∣LN−M∣≥Kt(log⁡N)2Nlog⁡log⁡N)≤2e−t2,t \le \sqrt{\log N} \Rightarrow P\Big(|L_N - M| \ge \frac{K t (\log N)^2}{\sqrt N \log\log N}\Big) \le 2 e^{-t^2},t≤logN​⇒P(∣LN​−M∣≥N​loglogNKt(logN)2​)≤2e−t2, t≥log⁡N⇒P(∣LN−M∣≥Kt3log⁡NNlog⁡t2)≤2e−t2.t \ge \sqrt{\log N} \Rightarrow P\Big(|L_N - M| \ge \frac{K t^3 \log N}{\sqrt N \log t^2}\Big) \le 2 e^{-t^2}.t≥logN​⇒P(∣LN​−M∣≥N​logt2Kt3logN​)≤2e−t2.

The constant KKK is left unspecified, as in the paper.

Milestones, in attack order

  1. Lemma 10.1 (deterministic): in an α\alphaα-expanding digraph with αm≥N/2\alpha^m \ge N/2αm≥N/2, every i∈Ii \in Ii∈I lies on a cycle i=i1,…,in+1=ii = i_1, \dots, i_{n+1} = ii=i1​,…,in+1​=i of distinct points, n≤2mn \le 2mn≤2m, with (iℓ,τ(iℓ+1))∈D(i_\ell, \tau(i_{\ell+1})) \in D(iℓ​,τ(iℓ+1​))∈D.
  2. Corollary 10.2 (deterministic in the costs): if DuD_uDu​ is α\alphaα-expanding and αm≥N/2\alpha^m \ge N/2αm≥N/2, every optimal assignment satisfies Xi,τ(i)≤4muN−1log⁡NX_{i,\tau(i)} \le 4muN^{-1}\log NXi,τ(i)​≤4muN−1logN.
  3. Lemma 10.4: for independent events of probability ppp, fewer than δpN\delta p NδpN occur with probability at most exp⁡(−Np/K(δ))\exp(-Np/K(\delta))exp(−Np/K(δ)).
  4. Proposition 10.3: for a universal KKK and u>Ku > Ku>K with ulog⁡N≤Nu \log N \le NulogN≤N, DuD_uDu​ is ulog⁡Nu\log NulogN-expanding with probability at least 1−N−u/K1 - N^{-u/K}1−N−u/K.

Significance

The expected value of LNL_NLN​ is of the same order as a single cost, yet LNL_NLN​ is a function of N2N^2N2 independent variables. A generic bounded-difference bound in all N2N^2N2 coordinates gives no useful concentration at this scale. Theorem 10.5 shows that the fluctuations are at most of order (log⁡N)2/(Nlog⁡log⁡N)(\log N)^2/(\sqrt N \log\log N)(logN)2/(N​loglogN), and by the remark after the theorem, so is the standard deviation of LNL_NLN​. The chapter is a worked example of how a concentration inequality in product spaces is combined with a combinatorial localization argument, the reduction to small costs, and that pattern recurs in the study of random combinatorial optimization problems.

Status: the theorem and its lemmas are proved in the paper. As far as a search of the platform shows, none of them has a machine-checked proof. The two posed statements of Theorem 4.1.1 on the platform (finite-alphabet form) are the concentration inequality the proof calls on; formalizing this chapter adds the combinatorics of expanding digraphs, the random-graph estimate Proposition 10.3 and the final assembly.

Difficulty

The naive approach applies a concentration inequality directly to LNL_NLN​ as a function of the N2N^2N2 costs, each of which can change LNL_NLN​ by up to 111. That loses all control, because the variance proxy grows with the number of coordinates. The central step is to show that, with high probability, an optimal assignment only uses costs of order N−1(log⁡N)2N^{-1}(\log N)^2N−1(logN)2. This requires the cycle structure of Lemma 10.1, and it requires showing that the sparse random digraph DuD_uDu​ has expansion uniformly over all subsets SSS of III, whose number is exponential in NNN. Proposition 10.3 has to beat that union bound, and its proof covers only one of the two expansion conditions in detail; the condition (10.2) for large sets is "left to the reader". The final step combines the truncation with Theorem 4.1.1 and a careful choice of parameters for the two ranges of ttt.

Formalization scope

The Lean development lives in the namespace TalagrandConc.Assignment and commits to the following conventions:

  • I=J=I = J = I=J= Fin N, assignments are Equiv.Perm (Fin N), and LNL_NLN​ is optCost, a Finset.inf' over all permutations (no junk value).
  • The probability space is the cost matrices Fin N × Fin N → ℝ with costLaw N, the product of Lebesgue measure restricted to [0,1][0,1][0,1]. The coordinates are the Xi,jX_{i,j}Xi,j​.
  • Cardinalities of subsets are Set.ncard on the finite type Fin N. α\alphaα-expansion includes α≥2\alpha \ge 2α≥2 as part of the definition.
  • Probabilities are in ℝ≥0∞, and 1−N−u/K1 - N^{-u/K}1−N−u/K is truncated subtraction there.
  • Universal constants are existentially quantified before every object they are uniform over. K(δ)K(\delta)K(δ) in Lemma 10.4 is chosen after δ\deltaδ and before everything else.
  • Implicit side conditions of the paper are stated: m≥1m \ge 1m≥1 in Lemma 10.1 and Corollary 10.2, n≥1n \ge 1n≥1 for the cycle, N≥1N \ge 1N≥1 in Proposition 10.3, t≥0t \ge 0t≥0 in Theorem 10.5.

A cycle of length n=0n = 0n=0 would satisfy Lemma 10.1 vacuously. The formal statement therefore requires n≥1n \ge 1n≥1, which rules out that trivializing reading. Similarly, Theorem 10.5 fixes one constant KKK for all NNN; a KKK depending on NNN would make the bound empty.

Infrastructure: the product of uniform laws on a finite index set, iterated expansion arguments for bipartite digraphs, a lower-tail Chernoff bound for independent events, and the union bound over subsets are reusable beyond this mission. Theorem 4.1.1 of the paper is posed elsewhere on the platform and is not restated here. The bound (8.1.1) used in Step 2 of the proof belongs to another chapter of the series. Contributions of proofs of any milestone, or of intermediate displayed estimates such as (10.5), (10.6) and (10.9), are welcome.

Selected references

  • M. Talagrand, Concentration of measure and isoperimetric inequalities in product spaces, Publ. Math. IHÉS 81 (1995), 73–205. doi:10.1007/BF02699376
  • D. W. Walkup, On the expected value of a random assignment problem, SIAM J. Comput. 8 (1979), 440–442. doi:10.1137/0208036
  • R. M. Karp, An upper bound on the expected cost of an optimal assignment, in Discrete Algorithms and Complexity, Academic Press (1987), 1–4.
  • J. M. Steele, Probability Theory and Combinatorial Optimization, SIAM (1997). doi:10.1137/1.9781611970029
  • D. J. Aldous, The ζ(2) limit in the random assignment problem, Random Structures Algorithms 18 (2001), 381–418. doi:10.1002/rsa.1015
7 thms3 active usersReviewed
🏆Completed
Complexity TheoryLinear OptimizationOptimization·Captain: mikedeng1

On Adaptive-Step Primal-Dual Interior-Point Algorithms for Linear Programming 2: The Adaptive-Step Algorithm in N∞(β) or N∞⁻(β) with γ ≤ 2(1 − β) Attains Precision t in O(nt) IterationsResearch Paper

Why wide neighbourhoods

Primal-dual interior-point methods solve a linear program by following, approximately, the central path of strictly feasible primal-dual pairs whose complementarity products xjsjx_js_jxj​sj​ are all equal. Every such method confines its iterates to a neighbourhood of that path, and the neighbourhood governs both the theory and the practice. The first primal-dual path-following algorithm, by Kojima, Mizuno and Yoshise (1989), used the one-sided neighbourhood {xjsj≥12 xTs/n}\{x_js_j \ge \tfrac12\,x^Ts/n\}{xj​sj​≥21​xTs/n} and attained precision ttt in O(nt)O(nt)O(nt) iterations. Kojima–Mizuno–Yoshise and Monteiro–Adler then switched to the narrow Euclidean neighbourhood N2(β)\mathcal N_2(\beta)N2​(β) and improved the bound to O(n t)O(\sqrt n\,t)O(n​t). Practical codes nevertheless favour wide neighbourhoods, which allow long steps.

Mizuno, Todd and Ye (Cornell ORIE Technical Report 944, 1990, revised 1991; published in Mathematics of Operations Research 18(4), 1993) analyse adaptive-step algorithms, which at every iteration take the longest step that keeps the iterate in the neighbourhood. This mission formalizes their §4: the adaptive-step algorithm in the wide neighbourhoods N∞(β)\mathcal N_\infty(\beta)N∞​(β) and N∞−(β)\mathcal N_\infty^-(\beta)N∞−​(β) attains precision ttt in O(nt)O(nt)O(nt) iterations. With β\betaβ close to 111, N∞−(β)\mathcal N_\infty^-(\beta)N∞−​(β) contains almost all of the strictly feasible set.

Setting

Fix n≥1n\ge1n≥1, m≥0m\ge0m≥0, A∈Rm×nA\in\mathbb R^{m\times n}A∈Rm×n, b∈Rmb\in\mathbb R^mb∈Rm, c∈Rnc\in\mathbb R^nc∈Rn, and consider

(P) min⁡ cTx  s.t. Ax=b, x≥0,(D) max⁡ bTy  s.t. ATy+s=c, s≥0.\text{(P)}\ \min\ c^Tx\ \text{ s.t. } Ax=b,\ x\ge0,\qquad \text{(D)}\ \max\ b^Ty\ \text{ s.t. } A^Ty+s=c,\ s\ge0 .(P) min cTx  s.t. Ax=b, x≥0,(D) max bTy  s.t. ATy+s=c, s≥0.

The strictly feasible pairs F0\mathcal F^0F0 are the (x,s)(x,s)(x,s) with x>0x>0x>0, s>0s>0s>0, Ax=bAx=bAx=b, and ATy+s=cA^Ty+s=cATy+s=c for some yyy. For such a pair the duality gap is xTsx^TsxTs, and the duality measure is μ=xTs/n\mu=x^Ts/nμ=xTs/n. Write X=diag⁡(x)X=\operatorname{diag}(x)X=diag(x), S=diag⁡(s)S=\operatorname{diag}(s)S=diag(s) and e=(1,…,1)Te=(1,\dots,1)^Te=(1,…,1)T.

Norms: ∥⋅∥\|\cdot\|∥⋅∥ is the Euclidean norm, ∥⋅∥∞\|\cdot\|_\infty∥⋅∥∞​ the maximum norm, and ∥z∥∞−:=∥z−∥∞\|z\|^-_\infty:=\|z^-\|_\infty∥z∥∞−​:=∥z−∥∞​, ∥z∥∞+:=∥z+∥∞\|z\|^+_\infty:=\|z^+\|_\infty∥z∥∞+​:=∥z+∥∞​ with (z−)j=min⁡{zj,0}(z^-)_j=\min\{z_j,0\}(z−)j​=min{zj​,0} and (z+)j=max⁡{zj,0}(z^+)_j=\max\{z_j,0\}(z+)j​=max{zj​,0}. For β∈(0,1)\beta\in(0,1)β∈(0,1) the wide neighbourhoods are

N∞(β)={(x,s)∈F0: ∥Xs−μe∥∞≤βμ},N∞−(β)={(x,s)∈F0: ∥Xs−μe∥∞−≤βμ}.\mathcal N_\infty(\beta)=\{(x,s)\in\mathcal F^0:\ \|Xs-\mu e\|_\infty\le\beta\mu\},\qquad \mathcal N^-_\infty(\beta)=\{(x,s)\in\mathcal F^0:\ \|Xs-\mu e\|^-_\infty\le\beta\mu\}.N∞​(β)={(x,s)∈F0: ∥Xs−μe∥∞​≤βμ},N∞−​(β)={(x,s)∈F0: ∥Xs−μe∥∞−​≤βμ}.

The second says only that xjsj≥(1−β)μx_js_j\ge(1-\beta)\muxj​sj​≥(1−β)μ for every jjj.

The search direction d=(dx,ds)d=(d_x,d_s)d=(dx​,ds​) with centering parameter γ\gammaγ solves, for some dyd_ydy​,

Sdx+Xds=γμe−Xs,Adx=0,ATdy+ds=0,(2)Sd_x+Xd_s=\gamma\mu e-Xs,\qquad Ad_x=0,\qquad A^Td_y+d_s=0, \tag{2}Sdx​+Xds​=γμe−Xs,Adx​=0,ATdy​+ds​=0,(2)

and the step is x(θ)=x+θdxx(\theta)=x+\theta d_xx(θ)=x+θdx​, s(θ)=s+θdss(\theta)=s+\theta d_ss(θ)=s+θds​. The scaled quantities p=X−1/2S1/2dxp=X^{-1/2}S^{1/2}d_xp=X−1/2S1/2dx​, q=X1/2S−1/2dsq=X^{1/2}S^{-1/2}d_sq=X1/2S−1/2ds​, r=(XS)−1/2(γμe−Xs)r=(XS)^{-1/2}(\gamma\mu e-Xs)r=(XS)−1/2(γμe−Xs) satisfy p+q=rp+q=rp+q=r and pTq=0p^Tq=0pTq=0. The componentwise product Pq=(pjqj)jPq=(p_jq_j)_jPq=(pj​qj​)j​ is the second-order term DxdsD_xd_sDx​ds​.

Algorithm 2 with neighbourhood N\mathcal NN and γ∈(0,1)\gamma\in(0,1)γ∈(0,1) starts at (x0,s0)∈N(x^0,s^0)\in\mathcal N(x0,s0)∈N with (x0)Ts0≤2t(x^0)^Ts^0\le2^t(x0)Ts0≤2t. While (xk)Tsk>2−t(x^k)^Ts^k>2^{-t}(xk)Tsk>2−t, it computes ddd from (2), takes the largest θˉ\bar\thetaθˉ such that (x(θ),s(θ))∈N(x(\theta),s(\theta))\in\mathcal N(x(θ),s(θ))∈N for all θ∈[0,θˉ]\theta\in[0,\bar\theta]θ∈[0,θˉ], and sets (xk+1,sk+1)=(x(θˉ),s(θˉ))(x^{k+1},s^{k+1})=(x(\bar\theta),s(\bar\theta))(xk+1,sk+1)=(x(θˉ),s(θˉ)).

Formalization targets

Goal: Theorem 2 with an explicit iteration count

Let β,γ∈(0,1)\beta,\gamma\in(0,1)β,γ∈(0,1) with γ≤2(1−β)\gamma\le2(1-\beta)γ≤2(1−β), and let N\mathcal NN be N∞(β)\mathcal N_\infty(\beta)N∞​(β) or N∞−(β)\mathcal N_\infty^-(\beta)N∞−​(β). Every run of Algorithm 2 reaches (xk)Tsk≤2−t(x^k)^Ts^k\le 2^{-t}(xk)Tsk≤2−t for some

k ≤ ⌈ln⁡2⋅n t2βγ(1−γ)⌉.k\ \le\ \Big\lceil\frac{\ln2\cdot n\,t}{2\beta\gamma(1-\gamma)}\Big\rceil .k ≤ ⌈2βγ(1−γ)ln2⋅nt​⌉.

The paper states "O(nt)O(nt)O(nt) iterations"; the count above is the one its inequality (15) yields.

Milestones, in the order the proof uses them

  • Lemma 1(b): −∥r∥2/4≤pjqj≤rj2/4-\|r\|^2/4\le p_jq_j\le r_j^2/4−∥r∥2/4≤pj​qj​≤rj2​/4 for each jjj.
  • Lemma 1(c): ∥Pq∥∞−≤∥r∥2/4≤n∥r∥∞2/4\|Pq\|^-_\infty\le\|r\|^2/4\le n\|r\|^2_\infty/4∥Pq∥∞−​≤∥r∥2/4≤n∥r∥∞2​/4, ∥Pq∥∞+≤∥r∥∞2/4\|Pq\|^+_\infty\le\|r\|^2_\infty/4∥Pq∥∞+​≤∥r∥∞2​/4, ∥Pq∥∞≤∥r∥2/4\|Pq\|_\infty\le\|r\|^2/4∥Pq∥∞​≤∥r∥2/4.
  • Lemma 2(c): if γ≤2(1−β)\gamma\le2(1-\beta)γ≤2(1−β) and (x,s)∈N∞−(β)(x,s)\in\mathcal N_\infty^-(\beta)(x,s)∈N∞−​(β) then ∥r∥2≤nμ\|r\|^2\le n\mu∥r∥2≤nμ; in N∞(β)\mathcal N_\infty(\beta)N∞​(β), ∥r∥∞2≤(1+β)μ\|r\|_\infty^2\le(1+\beta)\mu∥r∥∞2​≤(1+β)μ.
  • Lemma 5: θˉ≥θ2=min⁡{1,βγμ/∥Pq∥∞}\bar\theta\ge\theta_2=\min\{1,\beta\gamma\mu/\|Pq\|_\infty\}θˉ≥θ2​=min{1,βγμ/∥Pq∥∞​} in N∞(β)\mathcal N_\infty(\beta)N∞​(β), and θˉ≥θ2−=min⁡{1,βγμ/∥Pq∥∞−}\bar\theta\ge\theta_2^-=\min\{1,\beta\gamma\mu/\|Pq\|^-_\infty\}θˉ≥θ2−​=min{1,βγμ/∥Pq∥∞−​} in N∞−(β)\mathcal N_\infty^-(\beta)N∞−​(β).
  • Proof of Theorem 2: θ2−≥θ2≥4βγ/n\theta_2^-\ge\theta_2\ge4\beta\gamma/nθ2−​≥θ2​≥4βγ/n (for n≥2n\ge2n≥2).
  • (15): μk+1≤(1−4βγ(1−γ)/n)μk\mu^{k+1}\le\big(1-4\beta\gamma(1-\gamma)/n\big)\mu^kμk+1≤(1−4βγ(1−γ)/n)μk.

Significance

Theorem 2 shows that the adaptive long-step method in a neighbourhood covering almost all of F0\mathcal F^0F0 keeps the worst-case complexity of the original Kojima–Mizuno–Yoshise algorithm. Its per-iteration analysis (Lemma 5, Lemma 1(c)) is also what the paper reuses for its potential-reduction variant (§5, Theorem 3) and for its probabilistic explanation of why such methods take far fewer iterations in practice (§6). Lemma 1(b)–(c) are the standard bounds on the second-order Newton term, and they recur throughout the interior-point literature.

The results are proved in the paper. As far as the platform's corpus shows, none of them has a machine-checked proof: there is no formalization of the wide neighbourhoods N∞\mathcal N_\inftyN∞​, N∞−\mathcal N_\infty^-N∞−​, of the Newton system (2), or of an adaptive-step iteration. A complete development yields a reusable layer for primal-dual interior-point analysis in standard form (the neighbourhoods, the scaled direction, the second-order bounds) and the first formally verified iteration bound for a long-step primal-dual method.

Difficulty

Most of the steps are finite-dimensional inequalities. The sticking points are the following.

  • The bound pjqj≥−∥r∥2/4p_jq_j\ge-\|r\|^2/4pj​qj​≥−∥r∥2/4 uses the orthogonality pTq=0p^Tq=0pTq=0, which comes from Adx=0Ad_x=0Adx​=0 and ds=−ATdyd_s=-A^Td_yds​=−ATdy​. Those relations hold only for a solution of the full system (2), not for the first equation alone.
  • Lemma 5 needs every point of the segment [0,θ2][0,\theta_2][0,θ2​] to lie in the neighbourhood, including strict positivity of x(θ)x(\theta)x(θ) and s(θ)s(\theta)s(θ) and dual feasibility. Positivity of the products alone does not give positivity of the factors without a continuity argument along the segment.
  • "The largest θˉ\bar\thetaθˉ" is a maximum over a set defined by infinitely many conditions. The theorem needs only that θˉ\bar\thetaθˉ dominates θ2\theta_2θ2​, but the formal run must say what θˉ\bar\thetaθˉ is.
  • Converting the per-iteration contraction (15) into the explicit count needs (1−δ)k≤e−kδ(1-\delta)^k\le e^{-k\delta}(1−δ)k≤e−kδ, real powers of 222, and a ceiling.

Formalization scope

Vectors are Fin n → ℝ, with coordinates indexed 0,…,n−10,\dots,n-10,…,n−1, and A : Matrix (Fin m) (Fin n) ℝ. Mathlib's default norm on Fin n → ℝ is the sup norm, so the Euclidean norm norm2 and the norms normInf, normInfNeg, normInfPos are defined explicitly. μ\muμ divides by nnn as a real number. Here log⁡\loglog is the natural logarithm and 2t2^t2t is a real power with t∈Rt\in\mathbb Rt∈R.

Committed conventions and repairs:

  • The direction is "any (dx,dy,ds)(d_x,d_y,d_s)(dx​,dy​,ds​) solving (2)". No rank assumption on AAA is made.
  • "The largest θˉ\bar\thetaθˉ" is IsGreatest of the set of admissible step lengths, and θˉ\bar\thetaθˉ is not capped at 111. When no maximum exists (always the case for n=1n=1n=1, where Pq=0Pq=0Pq=0), no iteration exists. A run is then possible only if it has already stopped, and the theorem holds trivially. A sorry-free check confirms that an iteration exists for n=2n=2n=2.
  • A run is a pair of sequences that starts as required and makes one iteration from every iterate with (xk)Tsk>2−t(x^k)^Ts^k>2^{-t}(xk)Tsk>2−t. Its behaviour after the stopping test is unconstrained.
  • In θ2\theta_2θ2​ and θ2−\theta_2^-θ2−​, a zero norm makes the quotient +∞+\infty+∞ and the minimum 111. Since Lean's real division by zero is 000, this case is defined explicitly.
  • The bound θ2≥4βγ/n\theta_2\ge4\beta\gamma/nθ2​≥4βγ/n is stated for n≥2n\ge2n≥2. At n=1n=1n=1 it can fail (e.g. β=1/2\beta=1/2β=1/2, γ=0.9\gamma=0.9γ=0.9), and Algorithm 2 makes no iterations there.
  • The goal covers both neighbourhoods. A goal for N∞−\mathcal N^-_\inftyN∞−​ alone would be weaker than the paper.
  • Lemma 1 assumes only x,s>0x,s>0x,s>0 and γ∈[0,1]\gamma\in[0,1]γ∈[0,1] of the pair, which is all its statement uses.

The goal is not to be read with a hidden constant. A statement of the form "there is CCC with at most CntCntCnt iterations", with CCC allowed to depend on the instance, would be trivially true and is ruled out by the explicit count. Lemma 1(a) and Lemma 2(a), 2(b) belong to the paper's predictor–corrector analysis, which is a separate mission.

Contributions are welcome at every level: proofs of the milestones, helper lemmas about the norms on Fin n → ℝ, and the run-to-count argument.

Selected references

  • S. Mizuno, M. J. Todd, Y. Ye, On adaptive-step primal-dual interior-point algorithms for linear programming, Cornell ORIE Technical Report No. 944 (1990, rev. 1991); Mathematics of Operations Research 18(4):964–981, 1993. https://doi.org/10.1287/moor.18.4.964
  • M. Kojima, S. Mizuno, A. Yoshise, A primal-dual interior point algorithm for linear programming, in N. Megiddo (ed.), Progress in Mathematical Programming, Springer, 1989, pp. 29–47. https://doi.org/10.1007/978-1-4613-9617-8_2
  • R. D. C. Monteiro, I. Adler, Interior path following primal-dual algorithms. Part I: Linear programming, Mathematical Programming 44:27–41, 1989. https://doi.org/10.1007/BF01587075
  • S. J. Wright, Primal-Dual Interior-Point Methods, SIAM, 1997. https://doi.org/10.1137/1.9781611971453
11 thms3 active usersReviewed
Dynamic ProgrammingMarkov ChainStochastic Systems·Captain: mikedeng1

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

Motivation

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

Timeline:

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

Setting

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

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

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

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

Formalization targets

Goal: Proposition 8

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

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

and

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

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

Milestones

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

Significance

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

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

Difficulty

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

Formalization scope

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

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

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

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

Selected references

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

Régularisation d'inéquations variationnelles par approximations successives II: The Proximal Regularization of a Convex Minimization Problem Is a Minimizing SequenceResearch Paper

Motivation

The proximal point algorithm replaces a hard optimization or equilibrium problem by a sequence of better-conditioned ones: from the current point xnx^nxn it solves the original problem with a quadratic penalty ∥x−xn∥2\|x-x^n\|^2∥x−xn∥2 added, and takes the solution as xn+1x^{n+1}xn+1. The method is a building block of modern convex optimization. Augmented Lagrangian methods, Douglas–Rachford and ADMM splitting, and many bundle methods are proximal point iterations applied to suitable problems (Rockafellar 1976; Eckstein–Bertsekas 1992).

The algorithm was introduced by B. Martinet in a five-page note in the Revue française d'informatique et de recherche opérationnelle in 1970 (Martinet 1970). The note treats three cases: monotone variational inequalities on a bounded convex set (§II), convex–concave min–max problems (§III), and convex minimization (§IV). This mission formalizes §IV.

Timeline.

  • 1970, Martinet: the regularization (13) for convex minimization over a closed convex set in a Hilbert space; Théorème 3 (weak cluster points are minimizers, the sequence is minimizing), stated without proof.
  • 1976, Rockafellar (SIAM J. Control Optim. 14): the proximal point algorithm for maximal monotone operators, with inexact steps and weak convergence of the whole sequence when a zero exists.
  • 1991, Güler (SIAM J. Control Optim. 29): the rate f(xn)−inf⁡f=O(1/n)f(x^n)-\inf f = O(1/n)f(xn)−inff=O(1/n) for convex minimization, and an example in which the iterates converge weakly but not strongly.

Setting

Let HHH be a real Hilbert space with inner product ⟨⋅,⋅⟩\langle\cdot,\cdot\rangle⟨⋅,⋅⟩ and norm ∥⋅∥\|\cdot\|∥⋅∥. Let C⊆HC\subseteq HC⊆H be a nonempty, closed, convex set, and let f:H→Rf:H\to\mathbb Rf:H→R be a convex, lower semicontinuous function such that, for every a∈Ra\in\mathbb Ra∈R, the sublevel set {x∈C∣f(x)≤a}\{x\in C \mid f(x)\le a\}{x∈C∣f(x)≤a} is bounded. These are the standing hypotheses of §4.1 (Lean: Standing f C). The problem is

(12)min⁡ { f(x)∣x∈C },(12)\qquad \min\,\{\,f(x)\mid x\in C\,\},(12)min{f(x)∣x∈C},

and its solution set (solSet f C) is the set of xˉ∈C\bar x\in Cxˉ∈C with f(xˉ)≤f(x)f(\bar x)\le f(x)f(xˉ)≤f(x) for all x∈Cx\in Cx∈C.

The regularization algorithm (13) starts from x0∈Cx^0\in Cx0∈C and, given xnx^nxn, takes

(13)xn+1∈C  the minimizer of  f(x)+∥x−xn∥2  over x∈C.(13)\qquad x^{n+1}\in C\ \text{ the minimizer of } \ f(x)+\|x-x^n\|^2\ \text{ over } x\in C .(13)xn+1∈C  the minimizer of  f(x)+∥x−xn∥2  over x∈C.

Lean encodes one step as IsProxStep f C xn y (y∈Cy\in Cy∈C and f(y)+∥y−xn∥2≤f(x)+∥x−xn∥2f(y)+\|y-x^n\|^2\le f(x)+\|x-x^n\|^2f(y)+∥y−xn∥2≤f(x)+∥x−xn∥2 for all x∈Cx\in Cx∈C) and a run as IsProxSeq f C x.

A point x~\tilde xx~ is a weak cluster point of (xn)(x^n)(xn) (IsWeakClusterPt) if every neighbourhood of x~\tilde xx~ in the weak topology of HHH contains xnx^nxn for infinitely many nnn. A sequence is minimizing if f(xn)→inf⁡x∈Cf(x)f(x^n)\to\inf_{x\in C} f(x)f(xn)→infx∈C​f(x).

Formalization targets

Existence for (12) and well-posedness of (13)

∃ xˉ∈C  ∀x∈C: f(xˉ)≤f(x),∀xn∈C  ∃! y∈C: y minimizes f(x)+∥x−xn∥2 over C.\exists\,\bar x\in C\ \ \forall x\in C:\ f(\bar x)\le f(x), \qquad \forall x^n\in C\ \ \exists!\,y\in C:\ y \text{ minimizes } f(x)+\|x-x^n\|^2 \text{ over } C .∃xˉ∈C  ∀x∈C: f(xˉ)≤f(x),∀xn∈C  ∃!y∈C: y minimizes f(x)+∥x−xn∥2 over C.

These are the paper's claims in §4.1 ("Ces hypothèses assurent l'existence d'une solution pour (12)") and §4.2 ("solution unique").

Goal: Théorème 3

For every sequence generated by (13),

x~ a weak cluster point of (xn) ⟹ x~∈sol⁡(12),lim⁡n→∞f(xn)=inf⁡x∈Cf(x)∈R.\tilde x \text{ a weak cluster point of } (x^n)\ \Longrightarrow\ \tilde x\in \operatorname{sol}(12), \qquad \lim_{n\to\infty} f(x^n)=\inf_{x\in C} f(x)\in\mathbb R .x~ a weak cluster point of (xn) ⟹ x~∈sol(12),n→∞lim​f(xn)=x∈Cinf​f(x)∈R.

The goal asserts no rate and no constant. It is the statement the paper makes, with both conclusions in one theorem.

Stronger: Remarque 1

If in addition fff is uniformly convex, i.e. f(ax+by)≤af(x)+bf(y)−ab φ(∥x−y∥)f(ax+by)\le af(x)+bf(y)-ab\,\varphi(\|x-y\|)f(ax+by)≤af(x)+bf(y)−abφ(∥x−y∥) for a,b≥0a,b\ge0a,b≥0, a+b=1a+b=1a+b=1, with φ(t)>0\varphi(t)>0φ(t)>0 for t>0t>0t>0, then (12) has a unique solution xˉ\bar xxˉ and ∥xn−xˉ∥→0\|x^n-\bar x\|\to0∥xn−xˉ∥→0.

Significance

The result. Théorème 3 says that the proximal iterates make progress on the objective, not only on the distance to the solution set. A user of the method can stop on a value criterion. The convergence also needs no step-size tuning, no smoothness of fff, and no bound on fff beyond the boundedness of the sublevel sets. The well-posedness of (13) is what makes the method an algorithm. Each step is a strongly convex subproblem with a unique solution, and later inexact and splitting variants rely on that.

Formalizing it. The note gives no proof of Théorème 3 ("On peut faire une démonstration directe de ce théorème") and none of Remarque 1. The mission asks for a complete machine-checked proof of the convex minimization case of the original proximal point paper. To our knowledge, none of these statements has a machine-checked proof. Mathlib has convexity, lower semicontinuity, the weak topology of a normed space and uniform convexity of functions, but no proximal point algorithm.

Difficulty

Each iterate xn+1x^{n+1}xn+1 is defined only implicitly, as the minimizer of a problem that changes with nnn. Monotonicity of f(xn)f(x^n)f(xn) follows at once from comparing xn+1x^{n+1}xn+1 with xnx^nxn. Monotonicity alone gives convergence of f(xn)f(x^n)f(xn) to some limit, but not to inf⁡Cf\inf_C finfC​f. Closing that gap needs information about the minimizers of (12) and their distance to the iterates.

The cluster-point statement is about the weak topology. A norm-continuity argument does not apply: fff is only lower semicontinuous in norm, and passing to weak limits requires the weak lower semicontinuity of convex lower semicontinuous functions. The boundedness that makes weak cluster points exist comes from the sublevel-set hypothesis, not from CCC, which may be unbounded.

For Remarque 1, the obvious argument controls φ(∥xn−xˉ∥)\varphi(\|x^n-\bar x\|)φ(∥xn−xˉ∥), and the hypothesis on φ\varphiφ is only positivity. Passing from φ(∥xn−xˉ∥)→0\varphi(\|x^n-\bar x\|)\to0φ(∥xn−xˉ∥)→0 to ∥xn−xˉ∥→0\|x^n-\bar x\|\to0∥xn−xˉ∥→0 is not immediate without a monotone modulus.

Formalization scope

All statements live in MartinetReg.ConvexMin. The conventions the formalization commits to:

  • HHH is a real complete inner product space (InnerProductSpace ℝ H, CompleteSpace H). The paper says "espace de Hilbert", and its inequalities make it real.
  • C≠∅C\neq\emptysetC=∅ is a standing hypothesis. The paper leaves it implicit, but its existence claim for (12) is false for C=∅C=\emptysetC=∅.
  • fff is real-valued, convex and lower semicontinuous on all of HHH, as printed. The constraint x∈Cx\in Cx∈C stays explicit in (12) and (13). It is not absorbed into an extended-valued indicator.
  • The penalty in (13) has weight 111, as printed, not 12\tfrac1221​.
  • The algorithm is a relation on sequences: IsProxSeq accepts any sequence with x0∈Cx^0\in Cx0∈C satisfying (13) at every step. Existence and uniqueness of the step are a separate milestone, not built into a definition by choice.
  • "Minimisante" is stated as: some real mmm is the greatest lower bound of f(C)f(C)f(C) and f(xn)→mf(x^n)\to mf(xn)→m. This avoids the junk value sInf takes on sets unbounded below. As a side effect, the theorem asserts that fff is bounded below on CCC.
  • Weak cluster points are cluster points in WeakSpace ℝ H. A norm cluster point would weaken the conclusion and is not used.
  • Remarque 1 uses Mathlib's UniformConvexOn Set.univ φ f with φ(t)>0\varphi(t)>0φ(t)>0 for t>0t>0t>0. It keeps every hypothesis of §4.1.

The goal does not assume that (12) has a solution, that fff is bounded below on CCC, or that the iterates are bounded. Each of these would remove part of the content of Théorème 3, and the first two are consequences proved as milestones.

Not formalized here: Remarque 2 (p. 158), a comment that convexity seems indispensable; and the Exemple (p. 158). The Exemple's linear system (A∗A+2I)xn+1=A∗b+2xn(A^*A+2I)x^{n+1}=A^*b+2x^n(A∗A+2I)xn+1=A∗b+2xn corresponds to f=12∥Ax−b∥2f=\tfrac12\|Ax-b\|^2f=21​∥Ax−b∥2. For the printed f=∥Ax−b∥2f=\|Ax-b\|^2f=∥Ax−b∥2, (13) gives (A∗A+I)xn+1=A∗b+xn(A^*A+I)x^{n+1}=A^*b+x^n(A∗A+I)xn+1=A∗b+xn. The variational inequality case (§II) is the companion mission I of this series.

Reusable beyond this mission: the existence of minimizers of convex lower semicontinuous functions with bounded sublevel sets on closed convex subsets of a Hilbert space, and the weak lower semicontinuity it rests on. Contributions of these general lemmas, and of strong-convexity facts for x↦f(x)+∥x−xn∥2x\mapsto f(x)+\|x-x^n\|^2x↦f(x)+∥x−xn∥2, are welcome.

Selected references

  • B. Martinet, Brève communication. Régularisation d'inéquations variationnelles par approximations successives, Revue française d'informatique et de recherche opérationnelle, série rouge, 4(R-3), 154–158, 1970. https://doi.org/10.1051/m2an/197004R301541
  • R. T. Rockafellar, Monotone operators and the proximal point algorithm, SIAM Journal on Control and Optimization 14(5), 877–898, 1976. https://doi.org/10.1137/0314056
  • O. Güler, On the convergence of the proximal point algorithm for convex minimization, SIAM Journal on Control and Optimization 29(2), 403–419, 1991. https://doi.org/10.1137/0329022
  • J. Eckstein and D. P. Bertsekas, On the Douglas–Rachford splitting method and the proximal point algorithm for maximal monotone operators, Mathematical Programming 55, 293–318, 1992. https://doi.org/10.1007/BF01581204
  • J. L. Lions and G. Stampacchia, Variational inequalities, Communications on Pure and Applied Mathematics 20, 493–519, 1967. https://doi.org/10.1002/cpa.3160200302
6 thms3 active usersReviewed
🏆Completed
Dynamic ProgrammingMarkov ChainStochastic Systems·Captain: mikedeng1

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

Motivation

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

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

Setting

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

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

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

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

Formalization targets

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

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

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

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

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

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

Significance

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

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

Difficulty

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

Formalization scope

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

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

Selected references

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

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

Motivation

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

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

Setting

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

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

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

Formalization targets

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

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

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

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

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

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

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

Significance

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

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

Difficulty

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

Formalization scope

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

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

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

Selected references

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

Approximation Algorithms for Scheduling Unrelated Parallel Machines 2: Enumerating Long Assignments and Rounding the LP Gives a (1 + ε)-Approximation for MakespanResearch Paper

Motivation

Scheduling independent jobs on unrelated parallel machines to minimize the makespan is one of the basic NP-hard problems of scheduling theory: each job has its own processing time on each machine, with no relation between machines, and the goal is to finish all jobs as early as possible. When the number of machines is part of the input, Lenstra, Shmoys and Tardos showed that no polynomial algorithm can come within a factor below 3/2 of the optimum unless P = NP. When the number of machines mmm is a fixed constant, the picture is different: the problem admits a polynomial approximation scheme, a family of algorithms that reach any accuracy 1+ε1+\varepsilon1+ε.

Such a scheme was already known. Horowitz and Sahni (1976) gave a fully polynomial approximation scheme for fixed mmm, but its space requirement grows like (nm/ε)m(nm/\varepsilon)^m(nm/ε)m. The second application of the Rounding Theorem in the 1987 report of Lenstra, Shmoys and Tardos is a scheme whose space is polynomial in the input size, in mmm, and in log⁡(1/ε)\log(1/\varepsilon)log(1/ε). This mission formalizes the approximation guarantee of that scheme (Theorem 3 of the report).

Timeline:

  • 1976. Horowitz and Sahni, a fully polynomial approximation scheme for a fixed number of unrelated machines, with exponential space in mmm.
  • 1985. Potts, a 2-approximation for unrelated machines whose running time is mm−1m^{m-1}mm−1 times a polynomial, based on LP rounding with enumeration.
  • 1987. Lenstra, Shmoys and Tardos, the Rounding Theorem, a polynomial 2-approximation for arbitrary mmm, and, for fixed mmm, the scheme formalized here (FOCS 1987; journal version in Mathematical Programming 46, 1990).

Setting

There are mmm machines and nnn jobs. If job jjj is scheduled on machine iii it takes pijp_{ij}pij​ time units, a positive integer; P=(pij)P=(p_{ij})P=(pij​) is the processing-time matrix. A schedule σ\sigmaσ assigns every job to one machine. The load of machine iii is ∑j:σ(j)=ipij\sum_{j:\sigma(j)=i} p_{ij}∑j:σ(j)=i​pij​, the makespan is the largest load, and OPT\mathrm{OPT}OPT is the smallest makespan over all schedules.

Fix an integer deadline d≥0d\ge0d≥0 and an accuracy ε>0\varepsilon>0ε>0. Assigning job jjj to machine iii is long if pij>εdp_{ij}>\varepsilon dpij​>εd and short otherwise. A schedule of long assignments LLL is a partial assignment of jobs to machines using only long assignments; its long load on machine iii is tit_iti​, and LLL is admissible if ti≤dt_i\le dti​≤d for every iii.

For a threshold ttt and deadlines d1,…,dmd_1,\dots,d_md1​,…,dm​, the linear program (LP) of the Rounding Theorem has a variable xij≥0x_{ij}\ge0xij​≥0 for every pair with pij≤tp_{ij}\le tpij​≤t, the constraints ∑ixij=1\sum_i x_{ij}=1∑i​xij​=1 for each job, and ∑jpijxij≤di\sum_j p_{ij}x_{ij}\le d_i∑j​pij​xij​≤di​ for each machine. The residual LP of (d,L)(d,L)(d,L) is (LP) for the jobs left unassigned by LLL, with di=d−tid_i=d-t_idi​=d−ti​ and t=εdt=\varepsilon dt=εd.

The procedure AεA_\varepsilonAε​, on input ddd, tries every admissible LLL; if the residual LP is feasible it takes a vertex x~\tilde xx~, rounds it to a 0-1 solution of the integer program (IP) of the Rounding Theorem, and combines the result with LLL. It answers 'no' if no residual LP is feasible. A ρ\rhoρ-relaxed decision procedure answers 'no' only when no schedule has makespan at most ddd, and otherwise returns a schedule of makespan at most ρd\rho dρd. The binary search of Lemma 1 runs such a procedure on deadlines between ⌈t/m⌉\lceil t/m\rceil⌈t/m⌉ and ttt, where ttt is the makespan of the greedy schedule, and returns the best schedule found.

Formalization targets

Goal: Theorem 3

For every m≥1m\ge1m≥1, every positive integer matrix PPP, every ε>0\varepsilon>0ε>0, every LP solver VVV, the procedure AεA_\varepsilonAε​ run with VVV exists, and the binary search driven by any such procedure returns a schedule σ\sigmaσ with

makespan(σ)≤(1+ε) OPT.\mathrm{makespan}(\sigma)\le(1+\varepsilon)\,\mathrm{OPT}.makespan(σ)≤(1+ε)OPT.

Milestones (§3, p. 6)

  1. Every machine in an admissible LLL carries fewer than 1/ε1/\varepsilon1/ε long assignments, and for n,m≥1n,m\ge1n,m≥1
#{L admissible}<(n+1)m/ε.\#\{L\text{ admissible}\}<(n+1)^{m/\varepsilon}.#{L admissible}<(n+1)m/ε.
  1. If some schedule has makespan at most ddd, its long part is admissible and its short part is a feasible solution of the residual LP.
  2. If the short assignments take at most d−ti+εdd-t_i+\varepsilon dd−ti​+εd on machine iii, the combined schedule has load at most (1+ε)d(1+\varepsilon)d(1+ε)d on every machine.
  3. AεA_\varepsilonAε​ exists for every LP solver and is a (1+ε)(1+\varepsilon)(1+ε)-relaxed decision procedure.

Significance

Theorem 3 shows that for a fixed number of unrelated machines, the makespan can be approximated to any accuracy in polynomial time while keeping the memory polynomial in log⁡(1/ε)\log(1/\varepsilon)log(1/ε). It is an early instance of the pattern "enumerate the large items, solve an LP for the small ones, round", which recurs in later approximation schemes for scheduling and packing. Together with the 2-approximation of the same paper (mission 1 of this series) and the 3/2 hardness bound (mission 3), it delimits what is achievable for unrelated machines.

The theorem is proved in the paper; none of it is known to have a machine-checked proof. Formalizing it requires a precise account of the enumeration of long assignments, the residual LP, and the binary search, and it exercises the Rounding Theorem, which this series poses in mission 1, outside its original setting (with a non-integral threshold t=εdt=\varepsilon dt=εd).

Difficulty

The arithmetic of the scheme is short; the content lies in the Rounding Theorem, which turns a vertex of the residual LP into a 0-1 schedule exceeding each deadline by at most the threshold. The obvious argument, rounding an arbitrary feasible LP solution, fails: a non-vertex solution may split many jobs across many machines, and rounding them can overload a machine by far more than ttt. The bound depends on the structure of vertices of (LP), which an arbitrary feasible point does not have. A second difficulty is the count of milestone 1, which must be done with a real exponent m/εm/\varepsilonm/ε and a strict inequality.

Formalization scope

  • Machines are Fin m, jobs Fin n, processing times a matrix P : Matrix (Fin m) (Fin n) ℕ with all entries positive. Load, makespan and optimal schedules are those of the published MatousekLP.Scheduling.Schedule, applied to the real cast of P.
  • A vertex of an LP is a point of Set.extremePoints of its feasible region. Variables absent from the paper's (LP) are kept as matrix entries fixed to 000, which leaves the vertices unchanged.
  • The LP solver is a parameter (a vertex selector) and AεA_\varepsilonAε​ is a predicate on procedures: each answer must extend an admissible schedule of long assignments, round the selected vertex within its support, and satisfy the (IP) load bound. The guarantee is proved for every such procedure. The output is thereby tied to what the algorithm computes, so the bound is not witnessed by an optimal schedule.
  • The binary search is a definition: greedy start, l=⌈t/m⌉l=\lceil t/m\rceill=⌈t/m⌉ (the paper's t/mt/mt/m rounded up because makespans are integers), d=⌊(u+l)/2⌋d=\lfloor(u+l)/2\rfloord=⌊(u+l)/2⌋, best stored schedule as output.
  • Not formalized: that mmm is fixed, the polynomial running time, and the space bound polynomial in mmm, log⁡(1/ε)\log(1/\varepsilon)log(1/ε) and the input size. The guarantee is stated for every m≥1m\ge1m≥1. The count (n+1)m/ε(n+1)^{m/\varepsilon}(n+1)m/ε of milestone 1, on which the running-time claim rests, is formalized, with the real power Real.rpow.
  • The constants are exact: 1+ε1+\varepsilon1+ε, (n+1)m/ε(n+1)^{m/\varepsilon}(n+1)m/ε, d−ti+εdd-t_i+\varepsilon dd−ti​+εd. Milestone 1 needs n≥1n\ge1n≥1 and m≥1m\ge1m≥1 for strictness.
  • Theorem 1 (the Rounding Theorem) and Lemma 1 are milestones of mission 1 of this series and are not restated here.

Welcome contributions: a proof of the Rounding Theorem in the generality of real deadlines and thresholds, proofs of the counting bound, and lemmas on the binary search that are reusable for any relaxed decision procedure.

Selected references

  • J.K. Lenstra, D.B. Shmoys, É. Tardos, Approximation algorithms for scheduling unrelated parallel machines, CWI Report OS-R8714, Centre for Mathematics and Computer Science, Amsterdam, 1987 (the source; Theorem 3, p. 6). Journal version: Mathematical Programming 46 (1990) 259–271. https://doi.org/10.1007/BF01585745
  • E. Horowitz, S. Sahni, Exact and approximate algorithms for scheduling nonidentical processors, Journal of the ACM 23 (1976) 317–327. https://doi.org/10.1145/321941.321951
  • C.N. Potts, Analysis of a linear programming heuristic for scheduling unrelated parallel machines, Discrete Applied Mathematics 10 (1985) 155–164. https://doi.org/10.1016/0166-218X(85)90009-5
  • D.S. Hochbaum, D.B. Shmoys, Using dual approximation algorithms for scheduling problems: theoretical and practical results, Journal of the ACM 34 (1987) 144–162. https://doi.org/10.1145/7531.7535
10 thms3 active usersReviewed
🏆Completed
Linear algebraOptimization·Captain: mikedeng1

Strongly Regular Generalized Equations IV: Strong Second-Order Sufficiency and Linearly Independent Binding Gradients Make the KKT Generalized Equation Strongly RegularResearch Paper

Motivation

A nonlinear program is rarely solved once. Its data are estimated, rounded, or varied on purpose in a parametric study, and an algorithm such as sequential quadratic programming replaces it at every iteration by a nearby linearised problem. Both uses need the same fact: near a solution, the Karush–Kuhn–Tucker (KKT) system should have exactly one solution for every small perturbation, and that solution should move Lipschitz-continuously with the perturbation. For problems with equality constraints only, or with strict complementary slackness, the classical implicit-function theorem gives this, as in Fiacco's sensitivity analysis (Fiacco 1976, reference [4] of the paper). Without strict complementarity the KKT system is not a smooth equation, and the classical theorem does not apply.

S. M. Robinson's paper Strongly regular generalized equations, Math. Oper. Res. 5 (1980) 43–62 introduced strong regularity to handle exactly this case. §2 of the paper proves an implicit-function theorem for generalized equations, §3 characterises strong regularity of linear generalized equations through a Schur complement, and §4, the subject of this mission, applies both to nonlinear programming. Its Theorem 4.1 identifies the conditions under which the KKT system is strongly regular. These conditions (strong second-order sufficiency and linearly independent binding gradients) became standard hypotheses in the stability theory of nonlinear programs and in the local convergence analysis of Newton-type methods.

Setting

Let Ω⊆Rn\Omega\subseteq\mathbb R^nΩ⊆Rn be open and let θ:Ω→R\theta:\Omega\to\mathbb Rθ:Ω→R, g:Ω→Rpg:\Omega\to\mathbb R^pg:Ω→Rp, h:Ω→Rqh:\Omega\to\mathbb R^qh:Ω→Rq be Fréchet differentiable. The program is

minimize θ(x)subject tog(x)≤0, h(x)=0.(4.1)\text{minimize } \theta(x)\quad\text{subject to}\quad g(x)\le0,\ h(x)=0.\qquad(4.1)minimize θ(x)subject tog(x)≤0, h(x)=0.(4.1)

The Lagrangian is L(x,u,v)=θ(x)+⟨u,g(x)⟩+⟨v,h(x)⟩\mathcal L(x,u,v)=\theta(x)+\langle u,g(x)\rangle+\langle v,h(x)\rangleL(x,u,v)=θ(x)+⟨u,g(x)⟩+⟨v,h(x)⟩, and L′\mathcal L'L′ is its gradient in xxx.

For a set CCC and a point zzz, the normal-cone operator ∂ψC(z)\partial\psi_C(z)∂ψC​(z) is the set of vectors yyy with ⟨y,c−z⟩≤0\langle y,c-z\rangle\le0⟨y,c−z⟩≤0 for all c∈Cc\in Cc∈C when z∈Cz\in Cz∈C, and the empty set when z∉Cz\notin Cz∈/C. The KKT conditions of (4.1) are the generalized equation

0∈F(x,u,v)+∂ψRn×R+p×Rq(x,u,v),F(x,u,v)=(L′(x,u,v), −g(x), −h(x)).(4.3)0\in F(x,u,v)+\partial\psi_{\mathbb R^n\times\mathbb R^p_+\times\mathbb R^q}(x,u,v),\qquad F(x,u,v)=\big(\mathcal L'(x,u,v),\,-g(x),\,-h(x)\big).\qquad(4.3)0∈F(x,u,v)+∂ψRn×R+p​×Rq​(x,u,v),F(x,u,v)=(L′(x,u,v),−g(x),−h(x)).(4.3)

Its middle block says g(x)≤0g(x)\le0g(x)≤0, u≥0u\ge0u≥0 and ⟨u,g(x)⟩=0\langle u,g(x)\rangle=0⟨u,g(x)⟩=0.

A generalized equation 0∈F(z)+∂ψC(z)0\in F(z)+\partial\psi_C(z)0∈F(z)+∂ψC​(z) is strongly regular at a solution z0z_0z0​ (DEFINITION, p. 45) if its linearisation T(z)=F(z0)+F′(z0)(z−z0)+∂ψC(z)T(z)=F(z_0)+F'(z_0)(z-z_0)+\partial\psi_C(z)T(z)=F(z0​)+F′(z0​)(z−z0​)+∂ψC​(z) satisfies the following. There are neighbourhoods UUU of 000 and VVV of z0z_0z0​ and a constant λ\lambdaλ such that, for every y∈Uy\in Uy∈U, the inclusion y∈T(z)y\in T(z)y∈T(z) has exactly one solution z=s(y)z=s(y)z=s(y) in VVV, and sss is λ\lambdaλ-Lipschitz on UUU.

At a solution (x0,u0,v0)(x_0,u_0,v_0)(x0​,u0​,v0​) the inequality constraints split into three groups:

  • g+g^+g+, with gi(x0)=0g_i(x_0)=0gi​(x0​)=0 and u0,i>0u_{0,i}>0u0,i​>0;
  • g0g^0g0, the weakly active ones, with gi(x0)=0=u0,ig_i(x_0)=0=u_{0,i}gi​(x0​)=0=u0,i​;
  • g−g^-g−, with gi(x0)<0g_i(x_0)<0gi​(x0​)<0.

Write L′′=L′′(x0,u0,v0)\mathcal L''=\mathcal L''(x_0,u_0,v_0)L′′=L′′(x0​,u0​,v0​) for the Hessian of the Lagrangian in xxx, H=h′(x0)H=h'(x_0)H=h′(x0​), G+=g+′(x0)G^+=g^{+\prime}(x_0)G+=g+′(x0​) and G0=g0′(x0)G^0=g^{0\prime}(x_0)G0=g0′(x0​). A square matrix is a P-matrix if all its principal minors are positive.

Formalization targets

Goal: Theorem 4.1 (p. 56)

Assume θ,g,h\theta,g,hθ,g,h are twice differentiable at x0x_0x0​ and (x0,u0,v0)(x_0,u_0,v_0)(x0​,u0​,v0​) solves (4.3). Assume also:

  • (a′) strong second-order sufficiency: ⟨y,L′′y⟩>0\langle y,\mathcal L''y\rangle>0⟨y,L′′y⟩>0 for all y≠0y\ne0y=0 with G+y=0G^+y=0G+y=0 and Hy=0Hy=0Hy=0;
  • (b) linear independence: the matrix [G+G0H]\begin{bmatrix}G^+\\G^0\\H\end{bmatrix}​G+G0H​​ has full row rank.

Then

(4.3) is strongly regular at (x0,u0,v0).\text{(4.3) is strongly regular at }(x_0,u_0,v_0).(4.3) is strongly regular at (x0​,u0​,v0​).

The Lipschitz constant is not fixed; the goal asserts that one exists.

Milestones

  1. The matrix K=[L′′HTG+T−H00−G+00]K=\begin{bmatrix}\mathcal L''&H^T&G^{+T}\\-H&0&0\\-G^+&0&0\end{bmatrix}K=​L′′−H−G+​HT00​G+T00​​ of (4.5) is nonsingular.
  2. The equations (4.8) define V,A,BV,A,BV,A,B uniquely, and the Schur complement S=[G0 0 0] K−1 [G0 0 0]TS=[G^0\ 0\ 0]\,K^{-1}\,[G^0\ 0\ 0]^TS=[G0 0 0]K−1[G0 0 0]T of (4.6) satisfies S=G0V=VTL′′VS=G^0V=V^T\mathcal L''VS=G0V=VTL′′V, so SSS is symmetric.
  3. A symmetric matrix is a P-matrix if and only if it is positive definite.
  4. SSS is positive definite.
  5. The §4 criterion (p. 55): (4.3) is strongly regular at (x0,u0,v0)(x_0,u_0,v_0)(x0​,u0​,v0​) if and only if KKK is nonsingular and SSS is a P-matrix.

A further item formalizes the example (4.9)–(4.10) on pp. 56–57: a linear generalized equation in R4\mathbb R^4R4 whose unique solution satisfies the ordinary second-order sufficient condition and (b), yet is not strongly regular.

Significance

Strong regularity is the hypothesis of Robinson's implicit-function theorem (Theorem 2.1 of the paper). Theorem 4.1 therefore yields, for a parametrised nonlinear program, a locally unique and Lipschitz-continuous KKT point together with its multipliers, without strict complementary slackness. The same property underlies the local quadratic convergence of Josephy–Newton and SQP methods, and the criterion of milestone 5 is the form in which it is usually checked. The example of (4.10) shows that the ordinary second-order sufficient condition is not enough; the weakly active constraints have to be dropped from the cone on which L′′\mathcal L''L′′ must be positive.

All statements are proved in the paper. None of them, nor the notion of strong regularity, has a machine-checked proof on this platform. The matrix milestones (1–4) are self-contained linear algebra and can be proved independently. Milestone 3 for arbitrary symmetric matrices is a variant of Sylvester's criterion, which Mathlib does not currently state. Milestone 5 rests on §3 and the appendix of the paper (the Schur-complement criterion and the reduction of a linear generalized equation over a polyhedral set), which are the subjects of the companion missions II and III of this series.

Difficulty

The obvious argument would apply the classical implicit-function theorem to the active KKT equations. It fails because of the weakly active constraints. Near (x0,u0,v0)(x_0,u_0,v_0)(x0​,u0​,v0​) a constraint with gi(x0)=0=u0,ig_i(x_0)=0=u_{0,i}gi​(x0​)=0=u0,i​ can become active or inactive under arbitrarily small perturbations, so the solution map is piecewise smooth, not smooth. Uniqueness has to hold across all the pieces simultaneously, which is a combinatorial condition: the P-matrix property of a Schur complement, not the nonsingularity of a single Jacobian. Example (4.10) shows that the natural guess (nonsingularity of every piece, guaranteed by ordinary second-order sufficiency) is insufficient: three distinct KKT points can coalesce at the origin.

The analytic part is also not routine. Strong regularity concerns the linearised problem with an arbitrary small perturbation on the right-hand side, including perturbations of the complementarity block. The criterion needs the reduction of §3 and the appendix, which localises the polyhedral set Rn×R+p×Rq\mathbb R^n\times\mathbb R^p_+\times\mathbb R^qRn×R+p​×Rq around the solution.

Formalization scope

  • Spaces. Points of Rn\mathbb R^nRn are EuclideanSpace ℝ (Fin n). The triple (x,u,v)(x,u,v)(x,u,v) lives in EuclideanSpace ℝ (Fin n ⊕ (Fin p ⊕ Fin q)), the Euclidean Rn+p+q\mathbb R^{n+p+q}Rn+p+q, so the normal cone uses the standard inner product. A product type, which carries the sup norm and no inner product, is deliberately not used.
  • Normal cone. The operator includes the clause z∈Cz\in Cz∈C, so it is empty off CCC.
  • Strong regularity. It is stated on the linearisation data, with a real Lipschitz constant λ\lambdaλ, and requires existence, uniqueness in VVV and the Lipschitz bound. Strong regularity at a point bundles a Fréchet derivative of FFF there.
  • Twice differentiable at x0x_0x0​. This is encoded as θ\thetaθ, gig_igi​, hjh_jhj​ differentiable on the open set Ω\OmegaΩ (the standing assumption of (4.1)), together with differentiability at x0x_0x0​ of their gradients. It is not C2C^2C2 on Ω\OmegaΩ, and symmetry of L′′\mathcal L''L′′ is not assumed; it follows.
  • Matrix conventions. Positive definite means ⟨w,Mw⟩>0\langle w,Mw\rangle>0⟨w,Mw⟩>0 for w≠0w\ne0w=0, without symmetry. P-matrix quantifies over all nonempty principal index sets. The Schur complement is used only together with nonsingularity of (4.5), because Mathlib's inverse of a singular matrix is 000.
  • What must not be formalized. Replacing (a′) by the ordinary second-order sufficient condition, or restricting (b) to G+G^+G+ and HHH, gives a false or a different theorem. The milestones state exactly which constraints enter each condition: (a′) uses G+G^+G+ and HHH, and (b) uses G+G^+G+, G0G^0G0 and HHH. A formalization that drops the weakly active constraints from (b), or assumes strict complementarity, trivializes the goal to the classical implicit-function theorem.
  • Infrastructure. A complete development needs the normal cone of a product of orthants, block-matrix inversion and Schur-complement identities, Sylvester-type criteria for symmetric matrices, and the reduction of a linear generalized equation over a polyhedral set to its reduced form. The linear-algebra milestones are reusable beyond this mission. Proofs of any milestone, and of the general P-matrix/positive-definite equivalence, are welcome.

Selected references

  • S. M. Robinson, Strongly regular generalized equations, Mathematics of Operations Research 5(1) (1980) 43–62. https://doi.org/10.1287/moor.5.1.43
  • A. V. Fiacco and G. P. McCormick, Nonlinear Programming: Sequential Unconstrained Minimization Techniques, Wiley, 1968 (reference [3] of the paper; second-order sufficient condition, Chapter 2).
  • A. V. Fiacco, Sensitivity analysis for nonlinear programming using penalty methods, Mathematical Programming 10 (1976) 287–311 (reference [4] of the paper). https://doi.org/10.1007/BF01580379
  • R. W. Cottle, Manifestations of the Schur complement, Linear Algebra and its Applications 8 (1974) 189–211 (reference [1] of the paper). https://doi.org/10.1016/0024-3795(74)90055-4
  • A. L. Dontchev and R. T. Rockafellar, Implicit Functions and Solution Mappings, 2nd ed., Springer, 2014 (modern account of strong regularity). https://doi.org/10.1007/978-1-4939-1037-3
9 thms3 active usersReviewed
🏆Completed
CombinatoricsOptimization·Captain: mikedeng1

Application of the Branch and Bound Technique to Some Flow-Shop Scheduling Problems 3: Shifting and Scaling the Processing Times Changes Neither the Optimal Sequence nor the Branch-and-Bound PathResearch Paper

Motivation

Branch and bound was introduced for integer programming by Land and Doig (1960) and for the travelling salesman problem by Little, Murty, Sweeney and Karel (1963). Ignall and Schrage (1965) were among the first to apply it to machine scheduling. They give lower bounds for two permutation flow-shop problems: the makespan on three machines, and the mean completion time on two. Their Appendix then asks how the method depends on the units and the origin of the data. Its THEOREM says that changing the location and the scale of all processing times changes neither the optimal sequence nor the path the branch-and-bound procedure takes.

The statement matters for computational experiments of the kind the paper reports. Run times and node counts measured on one jobset carry over to every jobset obtained from it by a positive affine change of the processing times, so a test family need only vary the shape of the data, not its location and scale. It is also a correctness property of the procedure: a branch-and-bound method whose behaviour depended on the time unit would be suspect.

Setting

There are nnn jobs, and every job visits the machines in the same order: AAA, then BBB (two-machine problem), or AAA, BBB, then CCC (three-machine problem). Job iii has nonnegative processing times ai,bia_i, b_iai​,bi​ (and cic_ici​). Following Johnson (1954), both problems are restricted to permutation schedules. A full sequence σ\sigmaσ lists the jobs in the order in which every machine processes them, and each operation starts as early as possible. The makespan of σ\sigmaσ is the time machine CCC finishes its last job. The completion time did_idi​ of job iii is the time machine BBB finishes it, and the two-machine objective is ∑idi\sum_i d_i∑i​di​, which is nnn times the mean completion time.

A node JrJ_rJr​ is a partial sequence of rrr distinct jobs, and Jˉr\bar J_rJˉr​ is the set of the n−rn-rn−r jobs it has not scheduled. For three machines, TIMEA,TIMEB,TIMEC(Jr)\mathrm{TIMEA}, \mathrm{TIMEB}, \mathrm{TIMEC}(J_r)TIMEA,TIMEB,TIMEC(Jr​) are the times the machines finish JrJ_rJr​, and the lower bound (p. 401) is

LB(Jr)=max⁡[TIMEA+∑Jˉrai+min⁡Jˉr(bi+ci), TIMEB+∑Jˉrbi+min⁡Jˉrci, TIMEC+∑Jˉrci].LB(J_r)=\max\Big[\mathrm{TIMEA}+\sum_{\bar J_r}a_i+\min_{\bar J_r}(b_i+c_i),\ \mathrm{TIMEB}+\sum_{\bar J_r}b_i+\min_{\bar J_r}c_i,\ \mathrm{TIMEC}+\sum_{\bar J_r}c_i\Big].LB(Jr​)=max[TIMEA+Jˉr​∑​ai​+Jˉr​min​(bi​+ci​), TIMEB+Jˉr​∑​bi​+Jˉr​min​ci​, TIMEC+Jˉr​∑​ci​].

For two machines, T^r\hat T_rT^r​ and S^r\hat S_rS^r​ are the minima over orderings of Jˉr\bar J_rJˉr​ of two explicit sums TrT_rTr​, SrS_rSr​ (pp. 405–406), and the lower bound is LB(Jr)=∑i∈Jrdi+max⁡(T^r,S^r)LB(J_r)=\sum_{i\in J_r}d_i+\max(\hat T_r,\hat S_r)LB(Jr​)=∑i∈Jr​​di​+max(T^r​,S^r​).

The branch-and-bound procedure (p. 402) keeps a list of nodes ranked by LBLBLB, starting from the root alone. At each step it removes the first node and inserts each of its children Jr jJ_r\,jJr​j ranked into the list. On ties a new node goes before an old one (p. 403). It stops when the first node has scheduled n−1n-1n−1 jobs, which fixes the whole sequence. The list after kkk steps is runLB(k)\mathrm{run}_{LB}(k)runLB​(k).

Problems P′P'P′ (data ai′,bi′,ci′a'_i,b'_i,c'_iai′​,bi′​,ci′​) and P~\tilde PP~ are related by a change of location and scale when

a~i=H(ai′+G),b~i=H(bi′+G),c~i=H(ci′+G),H,G>0.\tilde a_i = H(a'_i+G),\qquad \tilde b_i=H(b'_i+G),\qquad \tilde c_i = H(c'_i+G),\qquad H,G>0.a~i​=H(ai′​+G),b~i​=H(bi′​+G),c~i​=H(ci′​+G),H,G>0.

Formalization targets

Goal: the Appendix THEOREM (p. 411)

For both the three-machine makespan problem and the two-machine sum-of-completion-times problem:

σ is optimal for P~  ⟺  σ is optimal for P′,runLBP~(k)=runLBP′(k)  for all k.\sigma \text{ is optimal for } \tilde P \iff \sigma \text{ is optimal for } P', \qquad \mathrm{run}_{LB_{\tilde P}}(k)=\mathrm{run}_{LB_{P'}}(k)\ \text{ for all } k .σ is optimal for P~⟺σ is optimal for P′,runLBP~​​(k)=runLBP′​​(k)  for all k.

Milestones, in the order of the paper's proof

  1. Adding GGG to every processing time raises the completion time of the rrr-th job on machine MMM by G(r+M−1)G(r+M-1)G(r+M−1).
  2. On two machines, ∑idi\sum_i d_i∑i​di​ rises by 12Gn(n+3)\tfrac12 Gn(n+3)21​Gn(n+3) for every sequence.
  3. On two machines, T^r\hat T_rT^r​ and S^r\hat S_rS^r​ rise by G[r(n−r)+12(n−r)(n−r+1)+(n−r)]G[r(n-r)+\tfrac12(n-r)(n-r+1)+(n-r)]G[r(n−r)+21​(n−r)(n−r+1)+(n−r)], ∑Jrdi\sum_{J_r}d_i∑Jr​​di​ by 12Gr(r+3)\tfrac12Gr(r+3)21​Gr(r+3), and LB(Jr)LB(J_r)LB(Jr​) by 12Gn(n+3)\tfrac12Gn(n+3)21​Gn(n+3), for 1≤r≤n−11\le r\le n-11≤r≤n−1.
  4. On three machines, every makespan and every LB(Jr)LB(J_r)LB(Jr​) with 1≤r≤n−11\le r\le n-11≤r≤n−1 rises by G(n+2)G(n+2)G(n+2).
  5. Multiplying all processing times by H>0H>0H>0 multiplies all these quantities by HHH.
  6. If LB′=φ∘LBLB'=\varphi\circ LBLB′=φ∘LB on the nodes with 1≤r≤n−11\le r\le n-11≤r≤n−1, for a strictly increasing φ\varphiφ, the two runs coincide at every step.

Significance

The THEOREM makes the method's behaviour a function of the shape of the data alone, not of its location or scale. This justifies normalizing test data, comparing running times across jobsets that differ by a change of units, and reporting results for one representative of each class. The proof also isolates a general principle: a deterministic best-first search depends on its bound only through the order the bound induces on the nodes it compares. Milestone 6 states that principle for the procedure of p. 402 with an arbitrary bound, so it applies to any other bound plugged into the same procedure.

As far as is known, no machine-checked version of this result or of the two lower bounds exists. The formalization needs the paper's procedure, with its tie rule, as an explicit deterministic function, and both lower bounds as functions of a node. The mission produces both, along with exact shift identities for every quantity the procedure uses.

Difficulty

The obvious argument is "adding GGG adds a constant to everything", and it is not literally true. The constant depends on the position of a job and on the machine, so the identities must be computed term by term: maxima over machine-availability times commute with the shift only because both arguments move by the same amount, and that fails at the first job if processing times may be negative. The paper's own accounting contains a slip, the missing factor GGG in 12r(r+3)\tfrac12 r(r+3)21​r(r+3). Its claim that "all lower bounds" of the three-machine problem rise by G(n+2)G(n+2)G(n+2) is false at the root, where TIMEB=0\mathrm{TIMEB}=0TIMEB=0 does not move. The run equality therefore has to use the fact that the root is never compared with another node. The minima T^r\hat T_rT^r​, S^r\hat S_rS^r​ range over all orderings of Jˉr\bar J_rJˉr​, so their shift requires every ordering to move by the same amount. Finally, "the same path" has to be shown for the procedure's insertion with ties, step by step.

Formalization scope

  • Jobs are Fin n, numbered from 000. Processing times are real, and the shift statements and the goal assume them nonnegative, the paper's standing convention for durations. With negative times the goal is false (a three-job counterexample is recorded in the goal's statement). Scaling needs no sign condition.
  • The schedules of full sequences are Johnson's published as-soon-as-possible schedules (JohnsonFlowShop.ThreeStage.asapDone, JohnsonFlowShop.TwoStage.asapC2). Node attributes are computed by the same recursion on lists.
  • The two-machine objective is ∑idi\sum_i d_i∑i​di​ instead of the mean; the two have the same minimizers.
  • T^r\hat T_rT^r​ and S^r\hat S_rS^r​ are minima over all orderings of Jˉr\bar J_rJˉr​, not values at a sorted order.
  • Terminal nodes have depth n−1n-1n−1. The procedure inserts children one at a time in increasing job index, each before every node of equal bound. Dominance discarding is not part of it.
  • Explicit readings. "The same sequence is optimal for both problems" means the sets of optimal sequences are equal, stated as an iff for every σ\sigmaσ. "Will follow the same path" means run(k)\mathrm{run}(k)run(k) is equal for both problems at every kkk. The paper's "all lower bounds" in the three-machine shift is restricted to nodes with 1≤r≤n−11\le r\le n-11≤r≤n−1. The hypotheses H>0H>0H>0 and G>0G>0G>0 are kept as stated.
  • Trivializations ruled out. A goal asserting only that some common optimal sequence exists, or only that the optimal values are related, would be weaker than the THEOREM. The goal states the iff and the equality of runs, with the procedure fixed independently of the data except through the bound.
  • The procedure, the node attributes and the lower bounds are also drafted in missions 1 and 2 of this series. Milestone 6 is reusable for any bound used with the same procedure. Proofs of any milestone are welcome. Generalizations, such as arbitrary real GGG in the shift identities, are welcome as separate items.

Credit: Johnson (1954) for the reduction to permutation schedules and the published schedule definitions. No platform item treats flow-shop lower bounds or branch and bound over sequences. The nearest is the branch-and-bound mission BiconvexProg.BranchBound (Al-Khayyal and Falk), an unrelated algorithm for biconvex programs.

Selected references

  • E. Ignall, L. Schrage, Application of the branch and bound technique to some flow-shop scheduling problems, Operations Research 13(3), 400–412, 1965. https://doi.org/10.1287/opre.13.3.400
  • S. M. Johnson, Optimal two- and three-stage production schedules with setup times included, Naval Research Logistics Quarterly 1(1), 61–68, 1954. https://doi.org/10.1002/nav.3800010110
  • A. H. Land, A. G. Doig, An automatic method of solving discrete programming problems, Econometrica 28(3), 497–520, 1960. https://doi.org/10.2307/1910129
  • J. D. C. Little, K. G. Murty, D. W. Sweeney, C. Karel, An algorithm for the traveling salesman problem, Operations Research 11(6), 972–989, 1963. https://doi.org/10.1287/opre.11.6.972
15 thms3 active usersReviewed
Convex OptimizationMarkov ChainStochastic Systems·Captain: mikedeng1

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

Motivation

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

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

Setting

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

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

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

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

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

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

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

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

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

Formalization targets

Goal: Theorem 10, corrected

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

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

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

Milestones

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

Significance

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

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

Difficulty

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

Formalization scope

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

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

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

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

Selected references

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

A Nonparametric Asymptotic Analysis of Inventory Planning with Censored Demand 1: AIM's Average Expected Cost Is Within O(1/√T) of the Newsvendor Cost, Perishable and Non-PerishableResearch Paper

Motivation

A retailer who restocks a product every period must choose an order-up-to level without knowing the demand distribution, and in most retail settings it observes only sales, the minimum of demand and stock. Demand above the stock is lost and never recorded. This is censored demand: the data needed to estimate the distribution are truncated exactly at the decision. Classical inventory theory assumes the distribution is known, and then the optimal policy in the stationary case is to order up to the newsvendor quantity in every period.

Huh and Rusmevichientong (Math. Oper. Res. 34(1), 2009) give a nonparametric policy that learns from censored sales alone, the Adaptive Inventory Management (AIM) algorithm, and prove that its average expected cost approaches the newsvendor cost at rate 1/T1/\sqrt T1/T​. The perishable case reduces to online convex optimization in the sense of Zinkevich (2003) and Flaxman, Kalai and McMahan (2005). The non-perishable case is new: leftover stock constrains the next decision, and the paper controls this constraint through a single-server queue.

Setting

Demands D1,D2,⋯≥0D_1, D_2, \dots \ge 0D1​,D2​,⋯≥0 are independent and identically distributed with an unknown law of finite mean; DDD denotes a generic demand and FFF its distribution function. A holding cost h>0h > 0h>0 is paid per unit left over and a penalty b>0b > 0b>0 per unit of lost demand. The newsvendor cost of a level y≥0y \ge 0y≥0 is

Q(y)=h E[y−D]++b E[D−y]+,Q(y) = h\,E[y-D]^+ + b\,E[D-y]^+ ,Q(y)=hE[y−D]++bE[D−y]+,

and the newsvendor quantity is yNV=inf⁡{y≥0∣F(y)≥b/(b+h)}y^{NV} = \inf\{y \ge 0 \mid F(y) \ge b/(b+h)\}yNV=inf{y≥0∣F(y)≥b/(b+h)}.

In period ttt the manager holds xt≥0x_t \ge 0xt​≥0 units (x1=0x_1 = 0x1​=0), raises the stock to yt≥xty_t \ge x_tyt​≥xt​, and observes min⁡{Dt,yt}\min\{D_t, y_t\}min{Dt​,yt​}. Excess inventory is either perishable (xt+1=0x_{t+1} = 0xt+1​=0) or non-perishable (xt+1=[yt−Dt]+x_{t+1} = [y_t - D_t]^+xt+1​=[yt​−Dt​]+).

Assumption 1 gives the manager a bound yˉ≥yNV\bar y \ge y^{NV}yˉ​≥yNV, and in the non-perishable case a bound ρ\rhoρ with 0<ρ<E[D1]0 < \rho < E[D_1]0<ρ<E[D1​]. AIM keeps a target y^t\hat y_ty^​t​ and an implemented level yty_tyt​: y1=y^1∈[0,yˉ]y_1 = \hat y_1 \in [0, \bar y]y1​=y^​1​∈[0,yˉ​], and for t≥1t \ge 1t≥1

y^t+1=P[0,yˉ](y^t−ϵtHt(y^t)),yt+1=max⁡{y^t+1,xt+1},\hat y_{t+1} = P_{[0,\bar y]}\big(\hat y_t - \epsilon_t H_t(\hat y_t)\big), \qquad y_{t+1} = \max\{\hat y_{t+1}, x_{t+1}\},y^​t+1​=P[0,yˉ​]​(y^​t​−ϵt​Ht​(y^​t​)),yt+1​=max{y^​t+1​,xt+1​},

with the projection P[0,yˉ](z)=max⁡{min⁡{z,yˉ},0}P_{[0,\bar y]}(z) = \max\{\min\{z,\bar y\},0\}P[0,yˉ​]​(z)=max{min{z,yˉ​},0}, steps ϵt=γyˉ/(max⁡{b,h}t)\epsilon_t = \gamma\bar y/(\max\{b,h\}\sqrt t)ϵt​=γyˉ​/(max{b,h}t​) for a scale γ>0\gamma > 0γ>0, and the censored gradient estimate Ht(y^t)=hH_t(\hat y_t) = hHt​(y^​t​)=h if Dt<y^tD_t < \hat y_tDt​<y^​t​ and −b-b−b if Dt≥y^tD_t \ge \hat y_tDt​≥y^​t​. The manager can compute HtH_tHt​ from the observed sales.

For θ>0\theta > 0θ>0 the waiting times W1(θ)=0W_1(\theta) = 0W1​(θ)=0, Wt+1(θ)=[Wt(θ)+θ−Dt]+W_{t+1}(\theta) = [W_t(\theta) + \theta - D_t]^+Wt+1​(θ)=[Wt​(θ)+θ−Dt​]+ describe a GI/D/1 queue with inter-arrival times DtD_tDt​ and service time θ\thetaθ. Its busy periods Ji(θ)J_i(\theta)Ji​(θ) are the stretches between successive returns to 000. The auxiliary queue Z1(θ)=0Z_1(\theta) = 0Z1​(θ)=0, Zt+1(θ)=[Zt(θ)+θ/t−Dt]+Z_{t+1}(\theta) = [Z_t(\theta) + \theta/\sqrt t - D_t]^+Zt+1​(θ)=[Zt​(θ)+θ/t​−Dt​]+ has shrinking service times.

Formalization targets

Goal: Theorem 2

For every T≥1T \ge 1T≥1, in the perishable case

E[1T∑t=1TQ(yt)]−Q(yNV)≤(γ+1γ)yˉmax⁡{b,h}T,E\Big[\frac1T\sum_{t=1}^T Q(y_t)\Big] - Q(y^{NV}) \le \Big(\gamma + \frac1\gamma\Big)\frac{\bar y\max\{b,h\}}{\sqrt T},E[T1​t=1∑T​Q(yt​)]−Q(yNV)≤(γ+γ1​)T​yˉ​max{b,h}​,

and in the non-perishable case, if E[D16]<∞E[D_1^6] < \inftyE[D16​]<∞ and γ≤ρmax⁡{b,h}/(hyˉ)\gamma \le \rho\max\{b,h\}/(h\bar y)γ≤ρmax{b,h}/(hyˉ​), there is a constant CCC, independent of TTT, with

E[1T∑t=1TQ(yt)]−Q(yNV)≤CT.E\Big[\frac1T\sum_{t=1}^T Q(y_t)\Big] - Q(y^{NV}) \le \frac{C}{\sqrt T}.E[T1​t=1∑T​Q(yt​)]−Q(yNV)≤T​C​.

The non-perishable bullet asserts only the existence of CCC, because the paper's explicit formula (9) depends on Proposition 4 (i), which is false as printed.

Milestones

  • §2.4: QQQ is convex with left derivative hP{D<y}−bP{D≥y}h P\{D<y\} - bP\{D\ge y\}hP{D<y}−bP{D≥y}, and E[Ht∣y^t]E[H_t \mid \hat y_t]E[Ht​∣y^​t​] equals it.
  • Lemma 3: projected stochastic subgradient descent with steps γdiam⁡(S)/(Bˉt)\gamma\operatorname{diam}(S)/(\bar B\sqrt t)γdiam(S)/(Bˉt​) has average error at most (γ+1/γ)diam⁡(S)Bˉ/T(\gamma + 1/\gamma)\operatorname{diam}(S)\bar B/\sqrt T(γ+1/γ)diam(S)Bˉ/T​.
  • §2.4: Q(y)−Q(y^)≤h(y−y^)Q(y) - Q(\hat y) \le h(y - \hat y)Q(y)−Q(y^​)≤h(y−y^​) for 0≤y^≤y0 \le \hat y \le y0≤y^​≤y.
  • Theorem 6: if γ≤ρmax⁡{b,h}/(hyˉ)\gamma \le \rho\max\{b,h\}/(h\bar y)γ≤ρmax{b,h}/(hyˉ​), then yt−y^t≤Zt(ρ)y_t - \hat y_t \le Z_t(\rho)yt​−y^​t​≤Zt​(ρ).
  • Lemma 13: E∣Ji(θ,t)(θ)∣≤E[∣J1(θ)∣2]E|J_{i(\theta,t)}(\theta)| \le E[|J_1(\theta)|^2]E∣Ji(θ,t)​(θ)∣≤E[∣J1​(θ)∣2].
  • Lemma 5: E[∑t=1TZt(θ)]≤2θE[∣J1(θ)∣2]TE[\sum_{t=1}^T Z_t(\theta)] \le 2\theta E[|J_1(\theta)|^2]\sqrt TE[∑t=1T​Zt​(θ)]≤2θE[∣J1​(θ)∣2]T​.
  • Lemma 12: E[(∑i≤nXi)6]≤21n3EX16E[(\sum_{i\le n} X_i)^6] \le 21 n^3 E X_1^6E[(∑i≤n​Xi​)6]≤21n3EX16​ for i.i.d. mean-zero XiX_iXi​ (and the fourth-moment analogue).
  • Proposition 4 (i), corrected: E[∣J1(θ)∣2]≤1+21π22E[(D1−ED1)6]/(ED1−θ)6E[|J_1(\theta)|^2] \le 1 + \tfrac{21\pi^2}{2}E[(D_1 - ED_1)^6]/(ED_1 - \theta)^6E[∣J1​(θ)∣2]≤1+221π2​E[(D1​−ED1​)6]/(ED1​−θ)6 for 0<θ<E[D1]0 < \theta < E[D_1]0<θ<E[D1​].

Significance

Theorem 2 shows that a manager who never observes lost sales can still reach the cost of a manager who knows the distribution, at a dimension-free rate, under only a sixth-moment condition in the non-perishable case. The example of §2.5 of the paper shows that the rate 1/T1/\sqrt T1/T​ cannot be improved in general for AIM. Theorem 6, the coupling of the excess inventory yt−y^ty_t - \hat y_tyt​−y^​t​ with a queue, is the step that handles decisions constrained by past decisions, and the same paper reuses it when ρ\rhoρ is unknown (§3.2).

The results are proved in the paper, and none of them is formalized as far as is known. This mission formalizes them and also corrects them: Proposition 4 (i) fails for deterministic demand, its explicit constant has to be replaced, and Eq. (2) labels a right derivative as a left one. Lemma 3 for decreasing steps and Lemma 12 are standard tools that are not in Mathlib.

Difficulty

The perishable case is a stochastic subgradient method, but its estimates are conditionally unbiased only given the current iterate, and QQQ is merely convex, not differentiable, so the textbook smooth argument does not apply directly. In the non-perishable case the implemented levels yty_tyt​ are not the gradient iterates, and yt−y^ty_t - \hat y_tyt​−y^​t​ is not small along a path: carried-over stock can keep yty_tyt​ above the target for many periods. A bound on E[yt−y^t]E[y_t - \hat y_t]E[yt​−y^​t​] for each ttt does not follow from a bound on one period. The queue Zt(ρ)Z_t(\rho)Zt​(ρ) dominates the whole excess process, but it is non-stationary. Its sum has to be compared with the stationary queue Wt(ρ)W_t(\rho)Wt​(ρ), whose busy period covering a fixed time is length-biased, so second moments of busy periods enter.

Formalization scope

All declarations are in the namespace AIMInventory.Known. The demand law and the i.i.d. path measure are the published CappedBaseStock.DemandLaw and demandPathLaw, whose law has finite and strictly positive mean. QQQ and yNVy^{NV}yNV are the published backorderCost and newsvendorLevel of LostSalesOrderUpTo.Asymptotic.Backorder. The optimality of yNVy^{NV}yNV is the already posed LostSalesOrderUpTo.Asymptotic.newsvendor_optimal and is included as a reference.

Conventions:

  • The demand path is zero-based (DtD_tDt​ is d (t - 1)), and all paper indices t≥1t \ge 1t≥1 are kept.
  • The AIM run, WWW, ZZZ, the renewal epochs and the busy periods are functions of the demand path, defined by recursion exactly as printed.
  • The queue indexing is W1=Z1=0W_1 = Z_1 = 0W1​=Z1​=0 and τ0=1\tau_0 = 1τ0​=1 (the paper's W0W_0W0​, Z0Z_0Z0​ need an undefined D0D_0D0​ and θ/0\theta/\sqrt 0θ/0​). Period 111 lies in no busy period, so Lemma 13 is stated for t≥2t \ge 2t≥2.
  • Busy-period lengths are ℕ∞-valued. Every expectation that can be infinite is a lower Lebesgue integral in [0,∞][0,\infty][0,∞]. The expectations in Theorem 2 have bounded integrands.
  • Readings of loose phrases:
    • "for some γ>0\gamma > 0γ>0" means for every γ>0\gamma > 0γ>0;
    • "any value in [0,yˉ][0,\bar y][0,yˉ​]" means for every y^1∈[0,yˉ]\hat y_1 \in [0, \bar y]y^​1​∈[0,yˉ​];
    • "with probability one" in Theorem 6 means for every demand path;
    • "There is a constant CCC" means ∃C, ∀T≥1\exists C,\ \forall T \ge 1∃C, ∀T≥1.
  • The implicit positivity of hhh, bbb, yˉ\bar yyˉ​ (they appear in denominators) is added as hypotheses.
  • Lemma 3 is stated on Rn\mathbb R^nRn for every comparator u∈Su \in Su∈S, with E[H(z)∣z]E[H(z)\mid z]E[H(z)∣z] read as conditioning on the σ-algebra of the current iterate.
  • Proposition 4 (ii) and the explicit constant (9) are not stated.

The mission does not accept a formalization that sums over arbitrary sequences with yt≥y^ty_t \ge \hat y_tyt​≥y^​t​ instead of the AIM run, uses an uncensored gradient, or lets a non-integrable expectation default to 000.

Contributions toward a stochastic subgradient method with anytime steps, moment bounds for i.i.d. sums, and busy periods of Lindley's recursion are reusable beyond this mission.

Selected references

  • W. T. Huh, P. Rusmevichientong, A Nonparametric Asymptotic Analysis of Inventory Planning with Censored Demand, Mathematics of Operations Research 34(1), 2009. https://doi.org/10.1287/moor.1080.0355
  • M. Zinkevich, Online Convex Programming and Generalized Infinitesimal Gradient Ascent, ICML 2003. https://dl.acm.org/doi/10.5555/3041838.3041955
  • A. Flaxman, A. T. Kalai, H. B. McMahan, Online Convex Optimization in the Bandit Setting: Gradient Descent without a Gradient, SODA 2005. https://arxiv.org/abs/cs/0408007
  • E. Hazan, A. Agarwal, S. Kale, Logarithmic Regret Algorithms for Online Convex Optimization, Machine Learning 69, 2007. https://doi.org/10.1007/s10994-007-5016-8
15 thms3 active usersReviewed
Machine LearningOptimizationProbability·Captain: mikedeng1

A Nonparametric Asymptotic Analysis of Inventory Planning with Censored Demand 3: For Any Step Scale γ, Non-Perishable AIM's Excess Cost Λ₂(T) Is Bounded by a Hitting Time and a Busy PeriodResearch Paper

Motivation

A retailer who stocks a perishable or storable product each period must choose an order-up-to level without knowing the demand distribution. Worse, demand is censored: when the shelf empties, the retailer observes sales, not demand. Huh and Rusmevichientong (Math. Oper. Res. 34(1), 2009) proposed the Adaptive Inventory Management (AIM) algorithm, a projected stochastic subgradient method that uses only the censored observation "was there stock left at the end of the period?". They proved that its average expected cost converges to the cost of the optimal newsvendor level at rate O(1/T)O(1/\sqrt T)O(1/T​), with no parametric assumption on demand.

In the non-perishable case, where leftover stock carries over, the main convergence theorem (Theorem 2, p. 7) requires the step-size scale γ\gammaγ to satisfy γ≤ρmax⁡{b,h}/(hyˉ)\gamma\le\rho\max\{b,h\}/(h\bar y)γ≤ρmax{b,h}/(hyˉ​), where ρ\rhoρ is a known lower bound on mean demand. Section 3.2 of the paper removes this requirement. Its Theorem 8 bounds the excess cost of AIM for every step scale γ>0\gamma>0γ>0, at the price of a hitting time and a busy period in the bound. This mission formalizes Theorem 8 and the steps of its proof.

Setting

Demands D1,D2,…D_1,D_2,\dotsD1​,D2​,… are independent, nonnegative, identically distributed, with finite positive mean E[D1]E[D_1]E[D1​] and otherwise unknown law. The holding cost is h>0h>0h>0 per unit left over and the penalty is b>0b>0b>0 per unit of unmet demand. The newsvendor cost of stocking up to y≥0y\ge0y≥0 is

Q(y)=h E[y−D1]++b E[D1−y]+,Q(y)=h\,E[y-D_1]^+ + b\,E[D_1-y]^+ ,Q(y)=hE[y−D1​]++bE[D1​−y]+,

and the newsvendor quantity is yNV=inf⁡{y≥0:P(D1≤y)≥b/(b+h)}y^{NV}=\inf\{y\ge0: P(D_1\le y)\ge b/(b+h)\}yNV=inf{y≥0:P(D1​≤y)≥b/(b+h)}. The manager knows an upper bound yˉ≥yNV\bar y\ge y^{NV}yˉ​≥yNV.

AIM, non-perishable case. Fix γ>0\gamma>0γ>0 and a starting target y^1∈[0,yˉ]\hat y_1\in[0,\bar y]y^​1​∈[0,yˉ​]. Put y1=y^1y_1=\hat y_1y1​=y^​1​, x1=0x_1=0x1​=0. In period t≥1t\ge1t≥1 the step is ϵt=γyˉ/(max⁡{b,h}t)\epsilon_t=\gamma\bar y/(\max\{b,h\}\sqrt t)ϵt​=γyˉ​/(max{b,h}t​), the observed slope is Ht=hH_t=hHt​=h if Dt<y^tD_t<\hat y_tDt​<y^​t​ and Ht=−bH_t=-bHt​=−b otherwise, and

y^t+1=max⁡{min⁡{y^t−ϵtHt,yˉ},0},xt+1=[yt−Dt]+,yt+1=max⁡{y^t+1,xt+1}.\hat y_{t+1}=\max\{\min\{\hat y_t-\epsilon_tH_t,\bar y\},0\},\qquad x_{t+1}=[y_t-D_t]^+,\qquad y_{t+1}=\max\{\hat y_{t+1},x_{t+1}\}.y^​t+1​=max{min{y^​t​−ϵt​Ht​,yˉ​},0},xt+1​=[yt​−Dt​]+,yt+1​=max{y^​t+1​,xt+1​}.

The target y^t\hat y_ty^​t​ follows the gradient step. The implemented level yty_tyt​ can exceed it because stock that has already been bought cannot be returned. The excess-cost term is

Λ2(T)=E[1T∑t=1T(Q(yt)−Q(y^t))].\Lambda_2(T)=E\Big[\frac1T\sum_{t=1}^T\big(Q(y_t)-Q(\hat y_t)\big)\Big].Λ2​(T)=E[T1​t=1∑T​(Q(yt​)−Q(y^​t​))].

Auxiliary processes. Let m=hγyˉ/max⁡{b,h}m=h\gamma\bar y/\max\{b,h\}m=hγyˉ​/max{b,h}. For a real θ\thetaθ:

  • W1(θ)=0W_1(\theta)=0W1​(θ)=0, Wt+1(θ)=[Wt(θ)+θ−Dt]+W_{t+1}(\theta)=[W_t(\theta)+\theta-D_t]^+Wt+1​(θ)=[Wt​(θ)+θ−Dt​]+ is a queue with constant inflow. Its first busy period has length ∣J1(θ)∣=inf⁡{t>1:Wt(θ)=0}−1|J_1(\theta)|=\inf\{t>1:W_t(\theta)=0\}-1∣J1​(θ)∣=inf{t>1:Wt​(θ)=0}−1.
  • Z1(θ)=0Z_1(\theta)=0Z1​(θ)=0, Zt+1(θ)=[Zt(θ)+θ/t−Dt]+Z_{t+1}(\theta)=[Z_t(\theta)+\theta/\sqrt t-D_t]^+Zt+1​(θ)=[Zt​(θ)+θ/t​−Dt​]+ is a queue with decreasing inflow.
  • K(θ,z)=min⁡{t≥0:z+∑s=1t(θ−Ds)≤0}K(\theta,z)=\min\{t\ge0: z+\sum_{s=1}^t(\theta-D_s)\le0\}K(θ,z)=min{t≥0:z+∑s=1t​(θ−Ds​)≤0} is the hitting time of (−∞,0](-\infty,0](−∞,0] by the random walk started at zzz.

For 0<ρ′<m0<\rho'<m0<ρ′<m, the proof uses T~=⌈(m/ρ′)2⌉\tilde T=\lceil(m/\rho')^2\rceilT~=⌈(m/ρ′)2⌉ and K~=min⁡{t>T~:Zt(m)=0}\tilde K=\min\{t>\tilde T:Z_t(m)=0\}K~=min{t>T~:Zt​(m)=0}.

Formalization targets

Goal: Theorem 8 (p. 13)

For every T≥1T\ge1T≥1 and every ρ′\rho'ρ′ with 0<ρ′<min⁡{m,E[D1]}0<\rho'<\min\{m,E[D_1]\}0<ρ′<min{m,E[D1​]},

Λ2(T)≤max⁡{b,h} yˉT{⌈(m/ρ′)2⌉+E[K(ρ′,22 m2ρ′)]}+2hm E[∣J1(ρ′)∣2]T.\Lambda_2(T)\le\frac{\max\{b,h\}\,\bar y}{T}\Big\{\big\lceil(m/\rho')^2\big\rceil+E\Big[K\Big(\rho',\frac{2\sqrt2\,m^2}{\rho'}\Big)\Big]\Big\}+\frac{2hm\,E\big[|J_1(\rho')|^2\big]}{\sqrt T}.Λ2​(T)≤Tmax{b,h}yˉ​​{⌈(m/ρ′)2⌉+E[K(ρ′,ρ′22​m2​)]}+T​2hmE[∣J1​(ρ′)∣2]​.

The statement makes no moment assumption on demand. It is stated with the paper's explicit constants, and both expectations on the right may be infinite.

Milestones

  1. Coupling (proof of Theorem 8, p. 13). For every demand path and every t≥1t\ge1t≥1, yt−y^t≤Zt(m)y_t-\hat y_t\le Z_t(m)yt​−y^​t​≤Zt​(m).
  2. Restart bound (p. 14). For 0<ρ′<m0<\rho'<m0<ρ′<m, E[K~]≤⌈(m/ρ′)2⌉+E[K(ρ′,22m2/ρ′)]E[\tilde K]\le\lceil(m/\rho')^2\rceil+E[K(\rho',2\sqrt2m^2/\rho')]E[K~]≤⌈(m/ρ′)2⌉+E[K(ρ′,22​m2/ρ′)].
  3. Claim (14) (p. 14, proved in Appendix E). For 0<ρ′<min⁡{m,E[D1]}0<\rho'<\min\{m,E[D_1]\}0<ρ′<min{m,E[D1​]}, hTE[∑t=K~+1TZt(m)]≤2hm E[∣J1(ρ′)∣2]/T\frac hT E\big[\sum_{t=\tilde K+1}^T Z_t(m)\big]\le 2hm\,E[|J_1(\rho')|^2]/\sqrt TTh​E[∑t=K~+1T​Zt​(m)]≤2hmE[∣J1​(ρ′)∣2]/T​.
  4. Lemma 9, corrected (p. 13). If θ<E[D1]\theta<E[D_1]θ<E[D1​], E[D14]<∞E[D_1^4]<\inftyE[D14​]<∞ and z>0z>0z>0, then E[K(θ,z)]≤1+2zE[D1]−θ+8π2E[(D1−E[D1])4](E[D1]−θ)4E[K(\theta,z)]\le1+\frac{2z}{E[D_1]-\theta}+\frac{8\pi^2E[(D_1-E[D_1])^4]}{(E[D_1]-\theta)^4}E[K(θ,z)]≤1+E[D1​]−θ2z​+(E[D1​]−θ)48π2E[(D1​−E[D1​])4]​.

Significance

The result. The cost of AIM relative to the newsvendor benchmark splits as Λ1(T)+Λ2(T)\Lambda_1(T)+\Lambda_2(T)Λ1​(T)+Λ2​(T). Stochastic subgradient descent controls Λ1(T)\Lambda_1(T)Λ1​(T) for every γ\gammaγ, so Theorem 8 is the remaining step in showing that AIM converges at rate O(1/T)O(1/\sqrt T)O(1/T​) without any knowledge of a lower bound on mean demand. The first term of the bound is O(1/T)O(1/T)O(1/T) whenever E[K]E[K]E[K] is finite, and Lemma 9 gives that under a finite fourth moment. The second term is O(1/T)O(1/\sqrt T)O(1/T​) whenever E[∣J1∣2]E[|J_1|^2]E[∣J1​∣2] is finite, and the paper's Proposition 4 gives that under a finite sixth moment. The result therefore removes the one piece of prior information about demand, other than yˉ\bar yyˉ​, that the non-perishable analysis needed.

Formalizing it. The paper's proof is complete and short, but it moves between expectations of random indices, pathwise couplings and renewal arguments, and the statements of Theorem 8 and Lemma 9 contain the slips recorded below. None of these results has a machine-checked proof. The mission produces a checked AIM recursion, a pathwise domination of excess inventory by a queue, and hitting-time and busy-period bounds for random walks with nonnegative i.i.d. decrements.

Difficulty

The argument behind Theorem 2 dominates yt−y^ty_t-\hat y_tyt​−y^​t​ by a queue whose inflow ρ/t\rho/\sqrt tρ/t​ is below the mean demand. For large γ\gammaγ the inflow m/tm/\sqrt tm/t​ exceeds E[D1]E[D_1]E[D1​] in early periods, so the queue Z(m)Z(m)Z(m) is unstable at first and its busy periods are not controlled by a stationary queue. A direct bound on E[∑tZt(m)]E[\sum_t Z_t(m)]E[∑t​Zt​(m)] through busy periods of W(m)W(m)W(m) fails, because W(m)W(m)W(m) may never empty when m≥E[D1]m\ge E[D_1]m≥E[D1​]. The proof therefore separates a random initial stretch, which ends at the first time after T~\tilde TT~ that Z(m)Z(m)Z(m) empties, from the remainder. The two parts are bounded by different processes. The random index K~\tilde KK~ sits inside the sums, so the expectations have to be handled with that dependence.

Formalization scope

  • Demand uses the published definition CappedBaseStock_Model (DemandLaw, the i.i.d. path measure demandPathLaw). Its law has finite and strictly positive mean. The cost QQQ and yNVy^{NV}yNV are the published backorderCost and newsvendorLevel of LostSalesOrderUpTo.Asymptotic.Backorder. Both are reused, not redefined.
  • The demand path is zero-based: the paper's DtD_tDt​ is d (t-1). AIM is a deterministic recursion on the path, and y^t,yt,xt\hat y_t,y_t,x_ty^​t​,yt​,xt​ depend on D1,…,Dt−1D_1,\dots,D_{t-1}D1​,…,Dt−1​ only. Levels are real numbers, and QQQ is evaluated at nonnegative levels.
  • The conventions are Z1=W1=0Z_1=W_1=0Z1​=W1​=0 and τ0=1\tau_0=1τ0​=1. The paper's own indexing (Z0=0Z_0=0Z0​=0 in (7)) is undefined at t=0t=0t=0, and these are the conventions its proofs use.
  • KKK, ∣J1∣|J_1|∣J1​∣ and K~\tilde KK~ take values in [0,∞][0,\infty][0,∞], and E[K]E[K]E[K], E[∣J1∣2]E[|J_1|^2]E[∣J1​∣2], E[K~]E[\tilde K]E[K~] are Lebesgue integrals in [0,∞][0,\infty][0,∞]. Theorem 8 and Claim (14) are stated in [0,∞][0,\infty][0,∞]. A divergent expectation therefore makes a bound trivially true. It can never make a bound false or vacuous through a junk value 000. Λ2(T)\Lambda_2(T)Λ2​(T) is a real expectation of a bounded integrand.
  • Explicit readings of loose phrases: "for any choice of the parameter γ\gammaγ" means every γ>0\gamma>0γ>0. "Set y1=y^1y_1=\hat y_1y1​=y^​1​ to any value in [0,yˉ][0,\bar y][0,yˉ​]" means the statements hold for every such start. "With probability one" in the coupling is stated pathwise. 0<ρ′0<\rho'0<ρ′ is added (the bound divides by ρ′\rho'ρ′), as are h,b,yˉ>0h,b,\bar y>0h,b,yˉ​>0. In Claim (14) the random lower limit K~\tilde KK~ is read inside the expectation, as in (13) and Appendix E.
  • Lemma 9 is false as printed: for D≡1D\equiv1D≡1, θ=0\theta=0θ=0, z=1/4z=1/4z=1/4 one has K=1K=1K=1 while the printed bound is 1/21/21/2. The mission states it with an additive 111, which is what the printed proof gives once the integers below 2z/(E[D1]−θ)2z/(E[D_1]-\theta)2z/(E[D1​]−θ) are counted correctly.
  • Ruled out: stating the goal about an arbitrary sequence of levels instead of the AIM recursion, taking E[K]E[K]E[K] or E[∣J1∣2]E[|J_1|^2]E[∣J1​∣2] as real Bochner integrals (which are 000 when the expectation diverges and would make the bound false), and dropping the newsvendor bound yNV≤yˉy^{NV}\le\bar yyNV≤yˉ​ from the goal.
  • Welcome contributions: a reusable Lindley-recursion (see Asmussen 2003, Ch. III) and busy-period library (the inspection-paradox bound E∣Ji(θ,s)(θ)∣≤E∣J1(θ)∣2E|J_{i(\theta,s)}(\theta)|\le E|J_1(\theta)|^2E∣Ji(θ,s)​(θ)∣≤E∣J1​(θ)∣2, Lemma 13 of the paper), fourth-moment Markov bounds for sums of i.i.d. centred variables, and shift invariance of the i.i.d. path measure.

Selected references

  • W. T. Huh and P. Rusmevichientong, A Nonparametric Asymptotic Analysis of Inventory Planning with Censored Demand, Mathematics of Operations Research 34(1):103–123, 2009. https://doi.org/10.1287/moor.1080.0355
  • S. Asmussen, Applied Probability and Queues, 2nd ed., Springer, 2003. https://doi.org/10.1007/b97236
8 thms3 active usersReviewed
🏆Completed
CombinatoricsGraph TheoryOptimization·Captain: mikedeng1

Sequencing a One State-Variable Machine: A Solvable Case of the Traveling Salesman Problem 2: For g = 0 ≤ f, the Tour ψ′ Minimizes the Largest Changeover CostResearch Paper

Motivation

A machine whose condition is described by one real number — the temperature of a furnace, the setting of a cutting knife — must process NNN jobs in some order. Job iii must be started in state AiA_iAi​ and leaves the machine in state BiB_iBi​; moving the state between jobs costs money. Ordering the jobs so that the machine returns to its starting job after the last one is a traveling salesman problem whose distance matrix has a special structure. P. C. Gilmore and R. E. Gomory showed in 1964 (Oper. Res. 12(5), 655–679) that this special traveling salesman problem can be solved exactly with O(N2)O(N^2)O(N2) operations, one of the first nontrivial polynomially solvable cases of the problem.

The same paper also treats a second objective: instead of the total changeover cost, minimize the largest single changeover cost of the cycle. This is the bottleneck traveling salesman problem, relevant whenever the binding constraint is the worst transition (a maximal temperature swing, a longest retooling) rather than the total. Without the tour constraint it is the bottleneck assignment problem solved by O. Gross (RAND, 1959). Gilmore and Gomory solve the bottleneck tour problem for the cost matrix of their model when only increases of the state cost anything. This mission formalizes that solution.

Timeline: Gross (1959) solves the bottleneck assignment problem; Gilmore and Gomory (1964) solve the sum and bottleneck traveling salesman problems for one state-variable costs; Gilmore, Lawler and Shmoys survey the well-solved special cases of the traveling salesman problem in The Traveling Salesman Problem (Wiley, 1985), where this case is a standard entry.

Setting

There are N=n+1N = n+1N=n+1 jobs. Job iii has a starting state Ai∈RA_i\in\mathbb RAi​∈R and a final state Bi∈RB_i\in\mathbb RBi​∈R, and the jobs are numbered so that B1≤B2≤⋯≤BNB_1\le B_2\le\dots\le B_NB1​≤B2​≤⋯≤BN​. Given two cost densities f,g:R→Rf, g:\mathbb R\to\mathbb Rf,g:R→R, the cost of having job jjj follow job iii is

cij=∫BiAjf(x) dx  if Aj≥Bi,cij=∫AjBig(x) dx  if Bi>Aj.c_{ij} = \int_{B_i}^{A_j} f(x)\,dx \ \text{ if } A_j\ge B_i,\qquad c_{ij} = \int_{A_j}^{B_i} g(x)\,dx \ \text{ if } B_i > A_j .cij​=∫Bi​Aj​​f(x)dx  if Aj​≥Bi​,cij​=∫Aj​Bi​​g(x)dx  if Bi​>Aj​.

A permutation ψ\psiψ of the jobs means "job ψ(i)\psi(i)ψ(i) follows job iii". It is a tour if ψ(s)≠s\psi(s)\ne sψ(s)=s for every nonempty proper subset sss of the jobs, i.e. if ψ\psiψ is a single cycle. The bottleneck cost of ψ\psiψ is

m(ψ)=max⁡1≤i≤Nciψ(i).m(\psi) = \max_{1\le i\le N} c_{i\psi(i)} .m(ψ)=1≤i≤Nmax​ciψ(i)​.

The bottleneck case of the paper is g=0g = 0g=0 and f≥0f\ge 0f≥0: lowering the state is free, raising it costs ∫f\int f∫f.

A permutation φ\varphiφ ranks the AAA's if j>ij>ij>i implies Aφ(j)≥Aφ(i)A_{\varphi(j)}\ge A_{\varphi(i)}Aφ(j)​≥Aφ(i)​. An interchange αij\alpha_{ij}αij​ is the transposition of iii and jjj; ψαij\psi\alpha_{ij}ψαij​ means "first apply αij\alpha_{ij}αij​, then ψ\psiψ". The graph GφG_\varphiGφ​ has the jobs as nodes and an undirected arc Riφ(i)R_{i\varphi(i)}Riφ(i)​ for each iii; Rq,q+1R_{q,q+1}Rq,q+1​ is the arc joining consecutive nodes qqq and q+1q+1q+1. A spanning tree of GφG_\varphiGφ​ is a set TTT of arcs Rq,q+1R_{q,q+1}Rq,q+1​ such that Gφ∪TG_\varphi\cup TGφ​∪T is connected and no proper subset of TTT connects GφG_\varphiGφ​. In the bottleneck case the arc Rq,q+1R_{q,q+1}Rq,q+1​ is given the cost cqφ(q+1)c_{q\varphi(q+1)}cqφ(q+1)​, and a minimum spanning tree minimizes the sum of these costs. If its arcs are Rj1,j1+1,…,Rjm,jm+1R_{j_1,j_1+1},\dots,R_{j_m,j_m+1}Rj1​,j1​+1​,…,Rjm​,jm​+1​ with j1<⋯<jmj_1<\dots<j_mj1​<⋯<jm​, the paper's candidate tour is

ψ′=φ αj1j1+1 αj2j2+1⋯αjmjm+1.\psi' = \varphi\,\alpha_{j_1 j_1+1}\,\alpha_{j_2 j_2+1}\cdots\alpha_{j_m j_m+1}.ψ′=φαj1​j1​+1​αj2​j2​+1​⋯αjm​jm​+1​.

Formalization targets

Goal: ψ′\psi'ψ′ solves the bottleneck traveling salesman problem

For BBB sorted, f≥0f\ge0f≥0 locally integrable, g=0g=0g=0, φ\varphiφ ranking the AAA's and TTT a minimum spanning tree as above,

ψ′ is a tourandm(ψ′)≤m(ψ)  for every tour ψ.\psi' \text{ is a tour}\quad\text{and}\quad m(\psi')\le m(\psi)\ \text{ for every tour } \psi .ψ′ is a tourandm(ψ′)≤m(ψ)  for every tour ψ.

The goal fixes no numerical constant. It asserts both that the construction produces a tour and that the tour is optimal, so it is a statement about the paper's algorithm, not only about the optimal value.

Milestones

  1. Lemma 8 (p. 668): for a fixed qqq, the number of iii with i≤q<φ−1ψ(i)i\le q<\varphi^{-1}\psi(i)i≤q<φ−1ψ(i) equals the number of jjj with φ−1ψ(j)≤q<j\varphi^{-1}\psi(j)\le q<jφ−1ψ(j)≤q<j.
  2. Lemma 7 (p. 668): for a tour ψ\psiψ, the graph Gψ∗G_\psi^*Gψ∗​ — GφG_\varphiGφ​ plus the arcs Rq,q+1R_{q,q+1}Rq,q+1​ selected by these two conditions — is connected.
  3. Eq. (30) (p. 670): if Rq,q+1R_{q,q+1}Rq,q+1​ is an arc of Gψ∗G_\psi^*Gψ∗​ not in GφG_\varphiGφ​, then m(ψ)≥cqφ(q+1)m(\psi)\ge c_{q\varphi(q+1)}m(ψ)≥cqφ(q+1)​.
  4. φ\varphiφ minimizes mmm (p. 671): m(φ)≤m(ψ)m(\varphi)\le m(\psi)m(φ)≤m(ψ) for every permutation ψ\psiψ.
  5. The value of m(ψ′)m(\psi')m(ψ′) (p. 671): m(ψ′)m(\psi')m(ψ′) equals some cjφ(j)c_{j\varphi(j)}cjφ(j)​ or the cost cqφ(q+1)c_{q\varphi(q+1)}cqφ(q+1)​ of an arc of TTT.
  6. Theorem 6, corrected (p. 671): for a directed graph with nested out-neighbourhoods Γ1⊆⋯⊆ΓN={1,…,N}\Gamma_1\subseteq\dots\subseteq\Gamma_N=\{1,\dots,N\}Γ1​⊆⋯⊆ΓN​={1,…,N} and φ\varphiφ listing them as initial segments, a Hamiltonian circuit exists iff φ(q)∈Γq\varphi(q)\in\Gamma_qφ(q)∈Γq​ for all qqq and the graph Gφ′G'_\varphiGφ′​ is connected.

Significance

The result gives an exact solution of a bottleneck traveling salesman problem by one minimum spanning tree computation and a fixed sequence of transpositions. Since general bottleneck traveling salesman problems are NP-hard, cases with an exact algorithm are the reference points against which heuristics and approximation results are compared. Theorem 6, an application, characterizes Hamiltonicity for directed graphs whose out-neighbourhoods form a chain, a class on which the general Hamiltonian circuit problem becomes a connectivity test.

The result is proved in the paper; the mission formalizes the proof. To our knowledge none of it has a machine-checked proof. The formalization adds two things to the paper. First, the statements are made explicit: the order in which interchanges are applied, the reading of "spanning tree", the integrability of fff. Second, Theorem 6 as printed is false (see below), and the mission states and asks for a proof of the corrected version. Machine-checked statements of Gψ∗G_\psi^*Gψ∗​ and Lemmas 7–8 are also the shared core of the companion mission on the minimal sum tour.

Difficulty

The obvious argument — every tour must "cross" each gap between consecutive components of GφG_\varphiGφ​, so it pays at least the cheapest crossing — fails because the cost of a crossing is not intrinsic to the gap: a tour may cross between components using arcs that are not of the form Rq,q+1R_{q,q+1}Rq,q+1​, and mmm looks at one arc at a time, not at a sum. The connection between an arbitrary tour and the spanning trees of GφG_\varphiGφ​ goes through the auxiliary graph Gψ∗G_\psi^*Gψ∗​ and a counting argument (Lemma 8), and the sum-minimizing tree must be shown to be bottleneck-optimal as well. For the upper bound, the transpositions in ψ′\psi'ψ′ cascade along runs of consecutive tree arcs, so ψ′(i)\psi'(i)ψ′(i) need not be φ(i)\varphi(i)φ(i) or φ(i+1)\varphi(i+1)φ(i+1); only the maximum m(ψ′)m(\psi')m(ψ′) has that form, and showing it needs the monotonicity of cijc_{ij}cij​ in AjA_jAj​ and BiB_iBi​, which holds because f≥0f\ge0f≥0 and g=0g=0g=0.

Formalization scope

Jobs are Fin (n + 1) (0-based; the paper's job iii is index i−1i-1i−1). A,B:Fin(n+1)→RA, B : \text{Fin}(n+1)\to\mathbb RA,B:Fin(n+1)→R with Monotone B. The cost keeps the general two-density form (1); the bottleneck hypotheses are f≥0f\ge0f≥0 everywhere, ggg identically 000, and fff locally integrable, so that every interval integral is genuine. Permutations are Equiv.Perm, and ψαij\psi\alpha_{ij}ψαij​ is ψ * Equiv.swap i j. mmm is a Finset.sup' over all jobs, including those that ψ′\psi'ψ′ leaves unchanged. The arc Rq,q+1R_{q,q+1}Rq,q+1​ is indexed by q : Fin n.

Explicit readings of the paper's phrases:

  • "tour": ψ(s)≠s\psi(s)\ne sψ(s)=s for every nonempty proper subset sss (the empty set is always fixed);
  • "a minimal set of additional arcs that connect": a connecting set of arcs Rq,q+1R_{q,q+1}Rq,q+1​ none of whose proper subsets connects;
  • "minimum spanning tree … with these new costs": minimum sum of cqφ(q+1)c_{q\varphi(q+1)}cqφ(q+1)​ over all such trees, not a bottleneck tree;
  • "j1,…,jmj_1,\dots,j_mj1​,…,jm​ in increasing order": the interchanges are applied to φ\varphiφ in increasing index, lowest first;
  • "ψ′\psi'ψ′ minimizes m(ψ′)m(\psi')m(ψ′)": ψ′\psi'ψ′ is a tour and m(ψ′)≤m(ψ)m(\psi')\le m(\psi)m(ψ′)≤m(ψ) for every tour ψ\psiψ;
  • Theorem 6: the condition φ(q)∈Γq\varphi(q)\in\Gamma_qφ(q)∈Γq​ for all qqq is added, without which sufficiency fails (for N=3N=3N=3, Γ1=Γ2={3}\Gamma_1=\Gamma_2=\{3\}Γ1​=Γ2​={3}, Γ3={1,2,3}\Gamma_3=\{1,2,3\}Γ3​={1,2,3}, φ=(3,1,2)\varphi=(3,1,2)φ=(3,1,2), Gφ′G'_\varphiGφ′​ is connected but no Hamiltonian circuit exists); the existence of φ\varphiφ is a hypothesis, not a claim.

Not formalized: the remark that the results hold for f=0f=0f=0, g≥0g\ge0g≥0; the remark that ψ′=ψ∗\psi'=\psi^*ψ′=ψ∗ when Bi≥Aφ(i)B_i\ge A_{\varphi(i)}Bi​≥Aφ(i)​; the O(N2)O(N^2)O(N2) operation count.

Trivializing formalizations are ruled out: with a Bochner integral and no integrability hypothesis every cost could collapse to 000 and every claim would hold; dropping the tour conjunct of the goal would let φ\varphiφ itself be "optimal"; and a maximum that ignored the unchanged arcs cjφ(j)c_{j\varphi(j)}cjφ(j)​ would make the goal false.

The traveling salesman items already on the platform (metric and symmetric models with tours as visiting orders, e.g. MetricTSP, TSPHeuristics.Shared.TSPModel) describe a different model and are not used. A complete development needs permutation cycle structure (Mathlib's Equiv.Perm.SameCycle), connectivity of finite simple graphs, and interval integrals of nonnegative functions; the lemmas on Gψ∗G_\psi^*Gψ∗​ and Lemma 8 are reusable for the sum objective. Proofs of any milestone are welcome independently.

Selected references

  • P. C. Gilmore and R. E. Gomory, Sequencing a one state-variable machine: a solvable case of the traveling salesman problem, Operations Research 12(5) (1964), 655–679. https://doi.org/10.1287/opre.12.5.655
  • O. Gross, The bottleneck assignment problem, RAND Corporation P-1630, 1959. https://www.rand.org/pubs/papers/P1630.html
  • P. C. Gilmore, E. L. Lawler and D. B. Shmoys, Well-solved special cases, in E. L. Lawler et al. (eds.), The Traveling Salesman Problem, Wiley, 1985, 87–143. ISBN 978-0-471-90413-7
9 thms3 active usersReviewed
🏆Completed
Markov ChainProbabilityStochastic Systems·Captain: mikedeng1

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

Motivation

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

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

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

Setting

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

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

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

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

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

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

Formalization targets

Goal: Theorem 7.6 (p. 982)

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

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

then for every finite ξ\xiξ,

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

Milestones

In the paper's proof order:

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

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

Significance

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

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

Difficulty

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

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

Formalization scope

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

Several trivializing formalizations are excluded:

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

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

Selected references

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

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