Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Collections

The OR Formalization Drive

Help us formalize the operations research literature in Lean.

508 open missions

Missions

41–60 of 508
OpenCompletedAll
Operations ResearchOptimizationProbability+2·Captain: mikedeng1

Acceleration of Stochastic Approximation by Averaging: Almost-Sure Convergence and Asymptotic Normality of the Averaged IterateResearch Paper

Motivation

Stochastic approximation finds a root x∗x^*x∗ of an unknown map R:RN→RNR:\mathbb R^N\to\mathbb R^NR:RN→RN from noisy evaluations yt=R(xt−1)+ξty_t=R(x_{t-1})+\xi_tyt​=R(xt−1​)+ξt​, by the Robbins–Monro recursion xt=xt−1−γtytx_t=x_{t-1}-\gamma_ty_txt​=xt−1​−γt​yt​. It underlies stochastic gradient descent, recursive estimation in statistics, adaptive control and simulation-based optimization. The classical theory (Sacks 1958) shows that the fastest attainable rate, t(xt−x∗)⇒N(0,G−1S(G−1)T)\sqrt t(x_t-x^*)\Rightarrow N(0,G^{-1}S(G^{-1})^T)t​(xt​−x∗)⇒N(0,G−1S(G−1)T) with G=R′(x∗)G=R'(x^*)G=R′(x∗) and SSS the noise covariance, is achieved by the matrix step γt=t−1G−1\gamma_t=t^{-1}G^{-1}γt​=t−1G−1, which requires knowing GGG.

Polyak and Juditsky (SIAM J. Control Optim. 30 (1992) 838–855) proved that the same optimal covariance is attained without any knowledge of GGG: run the recursion with scalar steps that decrease more slowly than 1/t1/t1/t and output the running average xˉt\bar x_txˉt​ of the iterates. Ruppert (Cornell ORIE technical report, 1988) obtained the one-dimensional case independently. The method, known as Polyak–Ruppert averaging, is the standard device for variance reduction in stochastic approximation.

Timeline:

  • 1951, Robbins and Monro: the recursion and its convergence in probability.
  • 1958, Sacks: asymptotic normality of xtx_txt​ for γt=γ/t\gamma_t=\gamma/tγt​=γ/t.
  • 1988, Ruppert: averaging in one dimension, i.i.d.-type noise.
  • 1990–1992, Polyak; Polyak and Juditsky: averaging in RN\mathbb R^NRN for linear problems with martingale-difference noise (Theorem 1) and nonlinear problems (Theorem 2).

Setting

Let (Ω,F,(Ft)t≥0,P)(\Omega,\mathcal F,(\mathcal F_t)_{t\ge0},P)(Ω,F,(Ft​)t≥0​,P) be a filtered probability space and (ξt)t≥1(\xi_t)_{t\ge1}(ξt​)t≥1​ an adapted RN\mathbb R^NRN-valued noise process. Given a nonrandom x0∈RNx_0\in\mathbb R^Nx0​∈RN and step sizes γt>0\gamma_t>0γt​>0, algorithm (7) is

xt=xt−1−γt(R(xt−1)+ξt),xˉt=1t∑i=0t−1xi.x_t=x_{t-1}-\gamma_t\bigl(R(x_{t-1})+\xi_t\bigr),\qquad\bar x_t=\frac1t\sum_{i=0}^{t-1}x_i .xt​=xt−1​−γt​(R(xt−1​)+ξt​),xˉt​=t1​i=0∑t−1​xi​.

The error is Δt=xt−x∗\Delta_t=x_t-x^*Δt​=xt​−x∗ and the estimation error is Δˉt=xˉt−x∗\bar\Delta_t=\bar x_t-x^*Δˉt​=xˉt​−x∗.

The hypotheses are:

  • Assumption 3.1: a Lyapunov function VVV with V(x)≥α∣x∣2V(x)\ge\alpha|x|^2V(x)≥α∣x∣2, Lipschitz gradient, V(0)=0V(0)=0V(0)=0, ∇V(x−x∗)TR(x)>0\nabla V(x-x^*)^TR(x)>0∇V(x−x∗)TR(x)>0 for x≠x∗x\neq x^*x=x∗, and ∇V(x−x∗)TR(x)≥λ1V(x−x∗)\nabla V(x-x^*)^TR(x)\ge\lambda_1V(x-x^*)∇V(x−x∗)TR(x)≥λ1​V(x−x∗) near x∗x^*x∗.
  • Assumption 3.2: ∣R(x)−G(x−x∗)∣≤K1∣x−x∗∣1+λ|R(x)-G(x-x^*)|\le K_1|x-x^*|^{1+\lambda}∣R(x)−G(x−x∗)∣≤K1​∣x−x∗∣1+λ near x∗x^*x∗, with 0<λ≤10<\lambda\le10<λ≤1 and every eigenvalue of GGG having positive real part.
  • Assumption 3.3: ξt\xi_tξt​ is a martingale difference with E(∣ξt∣2∣Ft−1)+∣R(xt−1)∣2≤K2(1+∣xt−1∣2)E(|\xi_t|^2\mid\mathcal F_{t-1})+|R(x_{t-1})|^2\le K_2(1+|x_{t-1}|^2)E(∣ξt​∣2∣Ft−1​)+∣R(xt−1​)∣2≤K2​(1+∣xt−1​∣2). It splits as ξt=ξt(0)+ζt\xi_t=\xi_t(0)+\zeta_tξt​=ξt​(0)+ζt​, where ξt(0)\xi_t(0)ξt​(0) is a martingale difference whose conditional covariance tends to S≻0S\succ0S≻0 in probability and whose conditional second moments are uniformly integrable, and E(∣ζt∣2∣Ft−1)≤δ(xt−1−x∗)E(|\zeta_t|^2\mid\mathcal F_{t-1})\le\delta(x_{t-1}-x^*)E(∣ζt​∣2∣Ft−1​)≤δ(xt−1​−x∗) with δ(x)→0\delta(x)\to0δ(x)→0 as x→0x\to0x→0.
  • Assumption 3.4: (γt−γt+1)/γt=o(γt)(\gamma_t-\gamma_{t+1})/\gamma_t=o(\gamma_t)(γt​−γt+1​)/γt​=o(γt​), ∑tγt(1+λ)/2t−1/2<∞\sum_t\gamma_t^{(1+\lambda)/2}t^{-1/2}<\infty∑t​γt(1+λ)/2​t−1/2<∞, γt→0\gamma_t\to0γt​→0 and ∑tγt2<∞\sum_t\gamma_t^2<\infty∑t​γt2​<∞.

The linear case, algorithm (2), is R(x)=Ax−bR(x)=Ax-bR(x)=Ax−b with every eigenvalue of AAA having positive real part.

Formalization targets

Goal: Theorem 2

Under Assumptions 3.1–3.4,

xˉt→x∗ a.s.,t (xˉt−x∗)→DN(0,  G−1S(G−1)T).\bar x_t\to x^*\ \text{a.s.},\qquad\sqrt t\,(\bar x_t-x^*)\xrightarrow{D}N\bigl(0,\;G^{-1}S(G^{-1})^T\bigr).xˉt​→x∗ a.s.,t​(xˉt​−x∗)D​N(0,G−1S(G−1)T).

Milestones

  • Lemma 1, Part 2: under condition (4) on the steps, tγt→∞t\gamma_t\to\inftytγt​→∞.
  • Lemma 1: the matrices φjt=A−1−γj∑i=jt−1∏k=ji−1(I−γkA)\varphi_j^t=A^{-1}-\gamma_j\sum_{i=j}^{t-1}\prod_{k=j}^{i-1}(I-\gamma_kA)φjt​=A−1−γj​∑i=jt−1​∏k=ji−1​(I−γk​A) are uniformly bounded, and 1t∑j<t∥φjt∥→0\frac1t\sum_{j<t}\|\varphi_j^t\|\to0t1​∑j<t​∥φjt​∥→0.
  • Lemma 2: the representation (A9) of t Δˉt\sqrt t\,\bar\Delta_tt​Δˉt​ for the linear error recursion.
  • Theorem 1(a): the linear case, t(xˉt−x∗)⇒N(0,A−1S(A−1)T)\sqrt t(\bar x_t-x^*)\Rightarrow N(0,A^{-1}S(A^{-1})^T)t​(xˉt​−x∗)⇒N(0,A−1S(A−1)T).
  • Proof of Theorem 2, Part 1: V(Δt)V(\Delta_t)V(Δt​) converges almost surely to a finite limit.
  • Proof of Theorem 2, p. 850: xt→x∗x_t\to x^*xt​→x∗ almost surely.
  • Proof of Theorem 2, Part 4: the average of the linearised process Δt1=Δt−11−γt(GΔt−11+ξt)\Delta^1_t=\Delta^1_{t-1}-\gamma_t(G\Delta^1_{t-1}+\xi_t)Δt1​=Δt−11​−γt​(GΔt−11​+ξt​) satisfies t(Δˉt1−Δˉt)→0\sqrt t(\bar\Delta^1_t-\bar\Delta_t)\to0t​(Δˉt1​−Δˉt​)→0 almost surely.

Significance

Theorem 2 shows that averaging turns a robust, slowly-stepped recursion into an asymptotically efficient estimator. The covariance G−1S(G−1)TG^{-1}S(G^{-1})^TG−1S(G−1)T is the lower bound for this class of problems: for linear recursive estimates with independent noise it is the bound of [26] in the paper. Downstream, the result is what is invoked for the asymptotic efficiency of averaged stochastic gradient descent (Theorem 3 of the paper) and of recursive M-estimators in regression (Theorem 4).

The result is proved, with a published proof, but has no machine-checked version. As far as a search of the platform shows, no statement of Theorem 1 or Theorem 2 exists on Prove2Me. The platform does have a scalar martingale central limit theorem (Martingale.clt_of_mds, proved, with unconditional Lindeberg condition), which is usable through the Cramér–Wold device. Formalizing Theorem 2 also requires the Robbins–Siegmund almost-supermartingale theorem, a multivariate CLT for martingale differences under conditional Lindeberg and conditional covariance conditions, and the Kronecker lemma. Mathlib has none of these three in the required form, and each is reusable well beyond this mission. Non-asymptotic SGD rates already on the platform (the Bottou–Curtis–Nocedal and Lan missions) are different results.

Difficulty

The obvious approach analyses xtx_txt​ directly. It fails: with steps decreasing more slowly than 1/t1/t1/t, t(xt−x∗)\sqrt t(x_t-x^*)t​(xt​−x∗) diverges, and only the average has the t\sqrt tt​ rate. The average must be compared with the averaged noise through the matrix sums of Lemma 1, whose bounds are uniform in both indices. Those bounds rely on the step condition (γt−γt+1)/γt=o(γt)(\gamma_t-\gamma_{t+1})/\gamma_t=o(\gamma_t)(γt​−γt+1​)/γt​=o(γt​) in a quantitative way.

The nonlinear case adds a second difficulty. The iterates are first shown to converge almost surely, by a Lyapunov argument. The nonlinear error is then transferred to a linearised process at the t\sqrt tt​ scale, which needs a summability estimate on ∣Δi∣1+λi−1/2|\Delta_i|^{1+\lambda}i^{-1/2}∣Δi​∣1+λi−1/2 obtained through stopping times. A central limit theorem for the linear process alone does not give the result, because the linearisation error must vanish after multiplication by t\sqrt tt​.

Formalization scope

Points are in EuclideanSpace ℝ (Fin N) and matrices are Matrix (Fin N) (Fin N) ℝ, acting through Matrix.toEuclideanLin. Matrix norms are operator norms. Conditional expectations are MeasureTheory.condExp on a Filtration ℕ. "Given Ft−1\mathcal F_{t-1}Ft−1​" is written with shifted indices (ξt+1\xi_{t+1}ξt+1​ given Ft\mathcal F_tFt​). The algorithm is a recursive definition from (x0,γ,R,ξ)(x_0,\gamma,R,\xi)(x0​,γ,R,ξ), with γ0,ξ0\gamma_0,\xi_0γ0​,ξ0​ unused and xˉt\bar x_txˉt​ averaging x0,…,xt−1x_0,\dots,x_{t-1}x0​,…,xt−1​. Convergence in distribution is TendstoInDistribution to multivariateGaussian 0 V. Convergence of conditional covariances in probability is entrywise TendstoInMeasure. A limsup or supremum "tending to 0 in probability" is unfolded into its η\etaη–δ\deltaδ definition.

Corrections of the printed text, each used by the paper's own proof:

  1. Assumption 3.1 prints V(x∗)=0V(x^*)=0V(x∗)=0 and ≥λV(x)\ge\lambda V(x)≥λV(x). Stated as V(0)=0V(0)=0V(0)=0 and ≥λ1V(x−x∗)\ge\lambda_1V(x-x^*)≥λ1​V(x−x∗) (as printed they force x∗=0x^*=0x∗=0). The drift constant is renamed λ1\lambda_1λ1​, since the paper uses λ\lambdaλ also in Assumption 3.2.
  2. Eq. (10) is garbled as printed. It is stated as ∑γt(1+λ)/2t−1/2<∞\sum\gamma_t^{(1+\lambda)/2}t^{-1/2}<\infty∑γt(1+λ)/2​t−1/2<∞, the form of Assumptions 4.7 and 5.6 and of p. 851.
  3. Assumption 3.3's δ(xt−1)\delta(x_{t-1})δ(xt−1​) is stated as δ(xt−1−x∗)\delta(x_{t-1}-x^*)δ(xt−1​−x∗).
  4. γt→0\gamma_t\to0γt​→0 and ∑γt2<∞\sum\gamma_t^2<\infty∑γt2​<∞ are added to Assumption 3.4. The proof uses them (p. 849), and they do not follow from it.
  5. RRR is assumed continuous. The paper states no regularity of RRR, but its proof of almost sure convergence (pp. 849–850) needs ∇V(x−x∗)TR(x)\nabla V(x-x^*)^TR(x)∇V(x−x∗)TR(x) bounded away from 000 on annuli around x∗x^*x∗, which continuity and Assumption 3.1 provide.
  6. Lemma 1 and Theorem 1(a) are stated under condition (4) only. The constant-step condition (3) is false as printed (A=diag(1,10)A=\mathrm{diag}(1,10)A=diag(1,10), γ=1\gamma=1γ=1), and Theorem 2 does not use it.
  7. (A3) is stated with the norm inside, as its proof establishes.
  8. (A9) and the linearised process of Part 4 are stated with −γtξt-\gamma_t\xi_t−γt​ξt​ noise signs, and with Δ01=Δ0\Delta^1_0=\Delta_0Δ01​=Δ0​. The printed +++ signs contradict (A8) at t=2t=2t=2.

Several formalizations would make the goal trivial, and all are ruled out:

  • conditional expectations of non-integrable functions, which are 000 in Lean (every noise process is required to be in L2L^2L2);
  • a real supremum for the uniform integrability in Assumption 3.3, which is 000 on unbounded families;
  • an arbitrary process with a property in place of the recursion (7);
  • a degenerate Dirac target (the covariance G−1S(G−1)TG^{-1}S(G^{-1})^TG−1S(G−1)T is positive definite under the hypotheses).

Welcome contributions: the Robbins–Siegmund theorem, a vector martingale CLT under conditional Lindeberg conditions, the Kronecker lemma, and the matrix estimates of Lemma 1.

Selected references

  • B. T. Polyak, A. B. Juditsky, Acceleration of stochastic approximation by averaging, SIAM J. Control Optim. 30(4), 838–855, 1992. https://doi.org/10.1137/0330046
  • H. Robbins, S. Monro, A stochastic approximation method, Ann. Math. Statist. 22, 400–407, 1951. https://doi.org/10.1214/aoms/1177729586
  • J. Sacks, Asymptotic distribution of stochastic approximation procedures, Ann. Math. Statist. 29, 373–405, 1958. https://doi.org/10.1214/aoms/1177706619
  • D. Ruppert, Efficient estimations from a slowly convergent Robbins–Monro process, Cornell University ORIE Technical Report 781, 1988 (no stable online link located).
  • H. Robbins, D. Siegmund, A convergence theorem for non negative almost supermartingales and some applications, in Optimizing Methods in Statistics, Academic Press, 233–257, 1971. https://doi.org/10.1016/B978-0-12-604550-5.50015-8
10 thms2 active usersReviewed
Convex OptimizationOperations ResearchOptimization·Captain: mikedeng1

An Exact Duality Theory for Semidefinite Programming and Its Complexity Implications: The Extended Lagrange–Slater Dual Has Zero Duality Gap and Attains Its OptimumResearch Paper

Motivation

Semidefinite programming (SDP) optimizes a linear function over the intersection of the cone of positive semidefinite matrices with an affine subspace. It contains linear programming as the diagonal case and is the computational core of relaxations in combinatorial optimization, control theory and polynomial optimization. Its standard duality theory, however, is weaker than that of linear programming. The Lagrangian dual of an SDP can have a strictly positive duality gap, can fail to attain its optimal value, and an infeasible semidefinite system need not have a certificate of infeasibility of the naive Farkas form. All the classical strong duality theorems for SDP therefore assume a constraint qualification such as Slater's condition (a strictly feasible point).

M. V. Ramana (1997, Math. Program. 77, 129–162) constructed a dual, the Extended Lagrange–Slater Dual (ELSD), whose size is polynomial in the data and which enjoys every property of linear programming duality for every SDP, with no constraint qualification. The same construction yields an exact theorem of the alternative for semidefinite feasibility and the complexity consequence that semidefinite feasibility lies in NP if and only if it lies in co-NP in the Turing model.

Timeline:

  • 1980s–1990s: Lagrangian (Slater-type) duality for SDP, with strong duality under strict feasibility (see e.g. the surveys of Vandenberghe and Boyd, SIAM Rev. 38 (1996)).
  • 1981: Borwein and Wolkowicz, facial reduction for general convex programs, which regularizes a problem by passing to the minimal face containing the feasible set; not of polynomial size in the SDP data (J. Math. Anal. Appl. 83 (1981)).
  • 1997: Ramana, the ELSD, an explicit polynomial-size dual with zero gap and dual attainment for every SDP.
  • 1997: Ramana, Tunçel and Wolkowicz relate the ELSD to facial reduction (SIAM J. Optim. 7 (1997)).

Setting

Let n,mn, mn,m be natural numbers, Mn\mathcal M_nMn​ the space of real n×nn\times nn×n matrices, and Sn⊆Mn\mathcal S_n\subseteq\mathcal M_nSn​⊆Mn​ the symmetric ones. On Mn\mathcal M_nMn​ the inner product is A∙B=∑i,jAijBijA\bullet B = \sum_{i,j}A_{ij}B_{ij}A∙B=∑i,j​Aij​Bij​. For symmetric AAA, A⪰0A\succeq 0A⪰0 means AAA is positive semidefinite. The data are symmetric Q0,Q1,…,Qm∈SnQ_0, Q_1,\dots,Q_m\in\mathcal S_nQ0​,Q1​,…,Qm​∈Sn​ and c∈Rmc\in\mathbb R^mc∈Rm. The primal SDP is

(P)sup⁡ cTxs.t.Q(x):=Q0−∑i=1mxiQi⪰0,(\mathrm P)\qquad \sup\ c^{\mathsf T}x\quad\text{s.t.}\quad Q(x) := Q_0-\sum_{i=1}^m x_iQ_i\succeq 0 ,(P)sup cTxs.t.Q(x):=Q0​−i=1∑m​xi​Qi​⪰0,

with feasible region G={x∣Q(x)⪰0}G = \{x\mid Q(x)\succeq 0\}G={x∣Q(x)⪰0}, a spectrahedron. Define Q∗:Mn→RmQ^*:\mathcal M_n\to\mathbb R^mQ∗:Mn​→Rm by Q∗(U)=(U∙Qi)i=1mQ^*(U) = (U\bullet Q_i)_{i=1}^mQ∗(U)=(U∙Qi​)i=1m​ and write Q#(U)=0Q^\#(U) = 0Q#(U)=0 for "Q0∙U=0Q_0\bullet U = 0Q0​∙U=0 and Q∗(U)=0Q^*(U) = 0Q∗(U)=0".

For k≥1k\ge 1k≥1 let Ck\mathcal C_kCk​ be the set of tuples (Ui,Wi)i=1k(U_i, W_i)_{i=1}^k(Ui​,Wi​)i=1k​ of real n×nn\times nn×n matrices with W0=0W_0 = 0W0​=0 and, for i=1,…,ki = 1,\dots,ki=1,…,k,

Q#(Ui+Wi−1)=0,Ui⪰WiWiT.Q^\#(U_i+W_{i-1}) = 0,\qquad U_i\succeq W_iW_i^{\mathsf T}.Q#(Ui​+Wi−1​)=0,Ui​⪰Wi​WiT​.

The WiW_iWi​ need not be symmetric. Uk\mathcal U_kUk​ and Wk\mathcal W_kWk​ are the sets of last components UkU_kUk​ and WkW_kWk​; W0={0}\mathcal W_0 = \{0\}W0​={0}. The ELSD is

inf⁡ (U+W)∙Q0s.t.Q∗(U+W)=c,W∈Wm,U⪰0,\inf\ (U+W)\bullet Q_0\quad\text{s.t.}\quad Q^*(U+W) = c,\quad W\in\mathcal W_m,\quad U\succeq 0,inf (U+W)∙Q0​s.t.Q∗(U+W)=c,W∈Wm​,U⪰0,

and Weak-ELSD is the same program with Wm−1\mathcal W_{m-1}Wm−1​. For the milestones: the polar G∘={y∣xTy≤1 ∀x∈G}G^\circ = \{y\mid x^{\mathsf T}y\le 1\ \forall x\in G\}G∘={y∣xTy≤1 ∀x∈G}, the algebraic polar G∗={Q∗(U)∣U∙Q0≤1, U⪰0}G^* = \{Q^*(U)\mid U\bullet Q_0\le 1,\ U\succeq 0\}G∗={Q∗(U)∣U∙Q0​≤1, U⪰0}, and Sk=Q∗(Wk)S_k = Q^*(\mathcal W_k)Sk​=Q∗(Wk​).

Formalization targets

Goal: Theorem 6 (Duality Theorem)

For all data (Q0,…,Qm,c)(Q_0,\dots,Q_m,c)(Q0​,…,Qm​,c):

  1. weak duality: cTx≤(U+W)∙Q0c^{\mathsf T}x\le (U+W)\bullet Q_0cTx≤(U+W)∙Q0​ for x∈Gx\in Gx∈G and (U,W)(U,W)(U,W) feasible for ELSD or Weak-ELSD;
  2. if G≠∅G\neq\emptysetG=∅, then sup⁡x∈GcTx<∞\sup_{x\in G}c^{\mathsf T}x<\inftysupx∈G​cTx<∞ iff ELSD is feasible, iff Weak-ELSD is feasible;
  3. if G≠∅G\ne\emptysetG=∅ and ELSD (or Weak-ELSD) is feasible, there is v∈Rv\in\mathbb Rv∈R with
v=sup⁡x∈GcTx=inf⁡ELSD(U+W)∙Q0=inf⁡Weak-ELSD(U+W)∙Q0;v = \sup_{x\in G}c^{\mathsf T}x = \inf_{\mathrm{ELSD}}(U+W)\bullet Q_0 = \inf_{\mathrm{Weak\text{-}ELSD}}(U+W)\bullet Q_0;v=x∈Gsup​cTx=ELSDinf​(U+W)∙Q0​=Weak-ELSDinf​(U+W)∙Q0​;
  1. if G≠∅G\ne\emptysetG=∅ and the primal is bounded, ELSD attains vvv.

Milestones

Propositions 7(vi) and 7(vii) (facts on PSD matrices), Lemma 9 (annihilation Q(x)U=Q(x)W=0Q(x)U = Q(x)W = 0Q(x)U=Q(x)W=0), weak duality over every Wk\mathcal W_kWk​, Lemma 10 (nested subspaces), Lemma 13 (G∘=Cl(G∗)G^\circ = \mathrm{Cl}(G^*)G∘=Cl(G∗)), Corollary 14, Claims 17 and 16, the central Theorem 12,

G∘={Q∗(U+W)∣W∈Wk, U⪰0, U∙Q0≤1}(0∈G, k≥m−1),G^\circ = \{Q^*(U+W)\mid W\in\mathcal W_k,\ U\succeq 0,\ U\bullet Q_0\le 1\}\qquad(0\in G,\ k\ge m-1),G∘={Q∗(U+W)∣W∈Wk​, U⪰0, U∙Q0​≤1}(0∈G, k≥m−1),

the translation invariance of Ck,Uk,Wk\mathcal C_k,\mathcal U_k,\mathcal W_kCk​,Uk​,Wk​ (§2.5), and system (14) (dual attainment at value 0). Theorems 19–21 (Farkas lemma for SDP, optimality condition, primal attainment) are further items stated on the same definitions.

Significance

The Duality Theorem gives SDP a dual with the full strength of linear programming duality for every instance, at polynomial size. Consequences in the paper: an exact theorem of the alternative for semidefinite feasibility (Theorem 19); semidefinite characterizations of optimality of a given point and of primal attainment (Theorems 20, 21); and the complexity results that semidefinite feasibility is in NP iff it is in co-NP in the Turing model and in NP ∩ co-NP in the Blum–Shub–Smale model (Theorem 25, not part of this mission). Theorem 12 separately gives an exact semidefinite description of the polar of any spectrahedron containing the origin.

The results are proved on paper and are classical. No machine-checked version is known to exist; the platform's existing SDP duality theorem assumes Slater's condition. A formalization would provide the first constraint-qualification-free SDP duality in Lean, together with reusable infrastructure on PSD matrices (range inclusion, A∙B=0⇒AB=0A\bullet B = 0\Rightarrow AB = 0A∙B=0⇒AB=0) and on polars of convex sets.

Difficulty

The obvious route to SDP strong duality separates the primal's value from the image of the PSD cone under a linear map and invokes a closed-cone Farkas lemma. That step fails: the linear image of the PSD cone need not be closed, which is exactly why Lagrangian duality has gaps. In this mission the obstruction reappears as the non-closedness of the algebraic polar G∗G^*G∗ (Lemma 13 only gives G∘=Cl(G∗)G^\circ = \mathrm{Cl}(G^*)G∘=Cl(G∗)). The difficulty is to show that finitely many, and at most m−1m-1m−1, corrections by the sets SkS_kSk​ close G∗+SkG^*+S_kG∗+Sk​ (Claims 16, 17), and to control dimensions in doing so. A proof by assuming closedness, strict feasibility or a Slater point is a different theorem.

Formalization scope

Everything lives in the namespace ExactSDPDuality.ELSD, in one definition file. Matrices are Matrix (Fin n) (Fin n) ℝ, vectors Fin m → ℝ; "⪰0\succeq 0⪰0" is Mathlib's PosSemidef (which over ℝ includes symmetry); A∙BA\bullet BA∙B is the entrywise sum on all of Mn\mathcal M_nMn​; cTxc^{\mathsf T}xcTx is the dot product. The data Q0,…,QmQ_0,\dots,Q_mQ0​,…,Qm​ carry symmetry hypotheses in every statement, as the paper assumes throughout. Ck\mathcal C_kCk​ is encoded by sequences U,W:N→MnU, W:\mathbb N\to\mathcal M_nU,W:N→Mn​ with U0=W0=0U_0 = W_0 = 0U0​=W0​=0, so U0=W0={0}\mathcal U_0 = \mathcal W_0 = \{0\}U0​=W0​={0}; for m=0m = 0m=0 the index m−1m-1m−1 is 000. Optimal values are least upper and greatest lower bounds of the value sets, never real sSup/sInf. The polar is the one-sided polar. In §2.4 statements the standing assumption 0∈G0\in G0∈G is a hypothesis. In Claim 16 the index satisfies k+1≤mk+1\le mk+1≤m, the range where Sk+1S_{k+1}Sk+1​ is introduced, and dim⁡Sk\dim S_kdimSk​ is the rank of the span of SkS_kSk​.

Theorems 20 and 21 are printed with Q∗(U+W)=0Q^*(U+W) = 0Q∗(U+W)=0; both are false as printed (counterexamples in the items) and are stated with the corrected Q∗(U+W)=cQ^*(U+W) = cQ∗(U+W)=c that the paper's derivation from Theorem 6 gives.

Trivializing formalizations are ruled out: no Slater or other constraint qualification appears; the dual is the ELSD built from the recursively defined Wm\mathcal W_mWm​, not the Lagrangian dual or an arbitrary subspace; the WiW_iWi​ range over all of Mn\mathcal M_nMn​, not only symmetric matrices (the paper's Example 4 needs a nonsymmetric W2W_2W2​).

Needed infrastructure: PSD matrix facts (Proposition 7), bipolar theorem for closed convex sets containing the origin (Proposition 11), closedness arguments for linear images of cones, and dimension counting of subspaces of Rm\mathbb R^mRm. Contributions of any milestone, of these general lemmas, and of alternative proofs (for instance via facial reduction) are welcome.

Selected references

  • M. V. Ramana, An exact duality theory for semidefinite programming and its complexity implications, Mathematical Programming 77 (1997) 129–162. https://doi.org/10.1007/BF02614433
  • M. V. Ramana, L. Tunçel, H. Wolkowicz, Strong duality for semidefinite programming, SIAM Journal on Optimization 7 (1997) 641–662. https://doi.org/10.1137/S1052623495288350
  • J. M. Borwein, H. Wolkowicz, Regularizing the abstract convex program, Journal of Mathematical Analysis and Applications 83 (1981) 495–530. https://doi.org/10.1016/0022-247X(81)90138-4
  • L. Vandenberghe, S. Boyd, Semidefinite programming, SIAM Review 38 (1996) 49–95. https://doi.org/10.1137/1038003
  • R. T. Rockafellar, Convex Analysis, Princeton University Press, 1970. https://doi.org/10.1515/9781400873173
14 thms3 active usersReviewed
Algorithmic Game TheoryLinear OptimizationOperations Research·Captain: mikedeng1

Market Equilibrium under Separable, Piecewise-Linear, Concave Utilities I: Fisher Markets with an Equilibrium Have Rational Equilibrium Prices of Polynomial Bit SizeResearch Paper

Motivation

A Fisher market is the simplest model of a market in which prices are set by supply and demand: buyers bring money, sellers bring goods, and a price vector is an equilibrium when every buyer, spending her money optimally at those prices, leaves every good exactly sold out. Computing equilibria is one of the central questions of algorithmic game theory, because a polynomial-time algorithm is what would make the equilibrium concept usable as a prediction or as a pricing mechanism.

For linear utilities an equilibrium always exists, is rational, and can be computed in polynomial time (Eisenberg and Gale 1959; Devanur, Papadimitriou, Saberi and Vazirani, J. ACM 2008, https://doi.org/10.1145/1411509.1411512). The next natural class, additively separable, piecewise-linear, concave utilities, captures diminishing marginal utility and is the class studied by Vazirani and Yannakakis (J. ACM 58(3), Article 10, 2011, https://doi.org/10.1145/1970392.1970394). Their paper shows that equilibria in this class are hard to compute (PPAD-complete) and that deciding whether one exists is NP-complete. Both results rest on a structural fact proved first: whenever such a market has an equilibrium at all, it has one whose prices are rational numbers of polynomial bit length. That fact is the subject of this mission.

Timeline:

  • 1959, Eisenberg and Gale: a convex program whose optimal solutions are the equilibria of linear Fisher markets; equilibrium prices are rational.
  • 2008, Devanur, Papadimitriou, Saberi and Vazirani: a combinatorial polynomial-time algorithm for linear Fisher markets, based on a max-flow test of candidate prices.
  • 2009, Chen, Dai, Du and Teng, and Chen and Teng (FOCS 2009; ISAAC 2009): PPAD-hardness for additively separable piecewise-linear concave utilities in Arrow–Debreu and Fisher markets.
  • 2011, Vazirani and Yannakakis: rationality of equilibria with polynomial bit size (Theorem 4.1 for Fisher markets, Theorem 5.1 for Arrow–Debreu markets), PPAD membership, and NP-completeness of existence.

Setting

There are nnn buyers B={1,…,n}B=\{1,\dots,n\}B={1,…,n} and ggg divisible goods G={1,…,g}G=\{1,\dots,g\}G={1,…,g}, one unit of each good. Buyer iii has a rational budget e(i)>0e(i)>0e(i)>0. For each buyer iii and good jjj a function fji:R+→R+f^i_j:\mathbb R_+\to\mathbb R_+fji​:R+​→R+​ gives the utility that iii derives from an amount of good jjj. It is piecewise linear and concave: it is given by a finite list of bounded segments (c1,a1),…,(cm,am)(c_1,a_1),\dots,(c_m,a_m)(c1​,a1​),…,(cm​,am​) with rational amounts ak>0a_k>0ak​>0, followed by a last, unbounded segment, with rational slopes c1≥c2≥⋯≥cm≥c∞≥0c_1\ge c_2\ge\dots\ge c_m\ge c_\infty\ge 0c1​≥c2​≥⋯≥cm​≥c∞​≥0. The function has slope ckc_kck​ on [a1+⋯+ak−1, a1+⋯+ak][a_1+\dots+a_{k-1},\,a_1+\dots+a_k][a1​+⋯+ak−1​,a1​+⋯+ak​] and slope c∞c_\inftyc∞​ afterwards. Buyer iii's utility for a bundle x=(x1,…,xg)x=(x_1,\dots,x_g)x=(x1​,…,xg​) is additively separable:

ui(x)=∑j∈Gfji(xj).u_i(x)=\sum_{j\in G}f^i_j(x_j).ui​(x)=j∈G∑​fji​(xj​).

Given prices p∈R≥0gp\in\mathbb R^g_{\ge0}p∈R≥0g​, a bundle x≥0x\ge0x≥0 is optimal for buyer iii if ∑jpjxj≤e(i)\sum_jp_jx_j\le e(i)∑j​pj​xj​≤e(i) and no bundle y≥0y\ge0y≥0 with ∑jpjyj≤e(i)\sum_jp_jy_j\le e(i)∑j​pj​yj​≤e(i) has ui(y)>ui(x)u_i(y)>u_i(x)ui​(y)>ui​(x). The prices ppp are equilibrium prices if there is an allocation (xij)(x_{ij})(xij​) that gives each buyer an optimal bundle and sells every good exactly: ∑ixij=1\sum_ix_{ij}=1∑i​xij​=1 for every jjj.

The bit size of a rational number a/ba/ba/b in lowest terms is the binary length of ∣a∣|a|∣a∣ plus that of bbb. The encoding size ∥M∥\|M\|∥M∥ of a market MMM is n+gn+gn+g plus the bit sizes of all budgets, slopes and amounts, plus the number of bounded segments.

For the intermediate results, fix positive prices ppp. The bang per buck of a segment sss of good jjj is slope(s)/pj\mathrm{slope}(s)/p_jslope(s)/pj​ and its value is amount(s)⋅pj\mathrm{amount}(s)\cdot p_jamount(s)⋅pj​ (infinite for an unbounded segment). Sorting buyer iii's segments by decreasing bang per buck into classes of equal bang per buck, the first class at which the cumulative value exceeds e(i)e(i)e(i) is her flexible class. Segments of strictly larger bang per buck are forced, the others undesirable. From these the paper defines spent(i)\mathrm{spent}(i)spent(i) (value of the forced segments), unspent(i)=e(i)−spent(i)\mathrm{unspent}(i)=e(i)-\mathrm{spent}(i)unspent(i)=e(i)−spent(i), unsold(j)\mathrm{unsold}(j)unsold(j) (the part of good jjj not taken by forced segments), and a network N(p)N(p)N(p) from a source through goods and buyers to a sink.

Formalization targets

Goal: Theorem 4.1 (p. 10:9)

There is a polynomial PPP such that for every Fisher market MMM as above,

M has equilibrium prices p∈Rg ⟹ M has equilibrium prices q∈Qg with ∑jbits⁡(qj)≤P(∥M∥).M\text{ has equilibrium prices }p\in\mathbb R^g\ \Longrightarrow\ M\text{ has equilibrium prices }q\in\mathbb Q^g\text{ with }\sum_{j}\operatorname{bits}(q_j)\le P(\|M\|).M has equilibrium prices p∈Rg ⟹ M has equilibrium prices q∈Qg with j∑​bits(qj​)≤P(∥M∥).

The polynomial is fixed before the market. Nothing beyond the existence of some real equilibrium is assumed.

Milestones

  1. Lemma 3.1 (p. 10:8). For positive prices with ∑jpj=∑ie(i)\sum_jp_j=\sum_ie(i)∑j​pj​=∑i​e(i), unspent≥0\mathrm{unspent}\ge0unspent≥0 and unsold≥0\mathrm{unsold}\ge0unsold≥0: ppp are equilibrium prices iff the max-flow value of N(p)N(p)N(p) is ∑iunspent(i)\sum_i\mathrm{unspent}(i)∑i​unspent(i).
  2. Proof of Theorem 4.1, first sentence (p. 10:9). From a positive equilibrium p′p'p′ with ∑jpj′=∑ie(i)\sum_jp'_j=\sum_ie(i)∑j​pj′​=∑i​e(i), build the linear program of §4, whose variables are prices and flows and whose combinatorial data are fixed by p′p'p′. Then p′p'p′, with a suitable flow, is an optimal solution of value ∑ie(i)\sum_ie(i)∑i​e(i).
  3. §4, second paragraph (p. 10:8). Every optimal solution of that LP with positive prices gives equilibrium prices.

Significance

The result is what makes the existence problem for these markets a problem in NP: a rational equilibrium of polynomial size is a certificate that can be checked, with Lemma 3.1, by one max-flow computation. The same rationality statement underlies the paper's PPAD-membership proof and its NP-completeness result for existence. It also marks the boundary with markets whose equilibria can be irrational, as happens for some non-separable utilities. In that sense it shows that separable piecewise-linear concave utilities keep the "linear" character of the problem even though computing an equilibrium becomes hard.

All three statements are proved in the source, and none of them has a machine-checked proof on the platform or, as far as is known, anywhere else. The mission produces the first formal account of piecewise-linear Fisher markets: the model, the forced/flexible/undesirable classification of segments, the max-flow test for equilibrium, and the linear program of §4. It also forces precision where the paper is informal. The §4 bang-per-buck inequalities are printed with their directions reversed, and the claim about optimal LP solutions needs positive prices. The formal statements record each of these choices.

Difficulty

The obvious argument is: "equilibria are solutions of a linear system, so a rational one exists". It fails as stated, because the set of equilibrium prices is not a polyhedron. Which segments a buyer buys depends on the prices themselves, through the ordering of the ratios slope/pj\mathrm{slope}/p_jslope/pj​, so the equilibrium conditions are a finite union of polyhedral pieces glued along the price-dependent ordering. The work is to freeze the combinatorial structure of one given equilibrium and to show that the resulting fixed linear program still certifies equilibrium at every one of its optimal points. That second step is what Lemma 3.1 is for. The polynomial bit bound then needs a quantitative bound on the vertices of a rational LP, uniform in the market's encoding.

Formalization scope

Buyers and goods are Fin n and Fin g. Budgets, slopes and amounts are rationals (ℚ). Prices and allocations are reals (ℝ), so that "admits rational prices" is a real conclusion: the goal returns q : Fin g → ℚ whose cast is an equilibrium. The committed conventions are:

  • each good has unit supply;
  • budgets are positive;
  • each fjif^i_jfji​ is a list of (slope, amount) pairs of bounded segments together with the slope of its last, unbounded segment ("the last (infinite) segment", §6), with nonnegative slopes, positive amounts and nonincreasing slopes, stored inside the market structure;
  • the unbounded segment has infinite value and, when flexible, gives its network edge infinite capacity; this is encoded logically (no upper bound on that edge);
  • equilibrium requires exact clearing of every good, which by the paper's footnote 3 gives the same equilibrium prices as leaving zero-price goods partly unsold;
  • the classes QlQ_lQl​ are represented by the bang per buck of the flexible class, not by an index;
  • parallel network edges are merged;
  • max-flow is the supremum of the values of feasible flows on the good–buyer edges.

Hypotheses added relative to the page, each disclosed in its statement:

  • positivity of the LP solution's prices (milestone 3).

The §2 condition on p. 10:7 is a sufficient condition for existence and is deliberately not a hypothesis of the goal, which assumes only that an equilibrium exists. Complexity-class statements ("in NP", "PPAD-complete") are out of scope. What is formalized is the explicit polynomial bit bound, with a polynomial chosen before the market. A goal with the polynomial chosen after the market, an encoding size that ignores the bits of the data, or an equilibrium notion without utility-maximizing bundles would be trivially satisfiable. The statements rule all three out.

Beyond this mission, a complete development needs LP theory with rational data: existence of optimal basic solutions and determinant bounds on their bit size. Existing platform results that may serve as substrate include SmaleNinth.exists_square_subsystem and SmaleNinth.abs_det_le_factorial_mul_pow. Contributions welcome: proofs of the milestones, a reusable bit-size theory for rational LP vertices, and the Arrow–Debreu analogue (Theorem 5.1).

Selected references

  • V. V. Vazirani and M. Yannakakis, Market Equilibrium under Separable, Piecewise-Linear, Concave Utilities, J. ACM 58(3), Article 10, 2011. https://doi.org/10.1145/1970392.1970394
  • N. R. Devanur, C. H. Papadimitriou, A. Saberi and V. V. Vazirani, Market Equilibrium via a Primal–Dual Algorithm for a Convex Program, J. ACM 55(5), 2008. https://doi.org/10.1145/1411509.1411512
  • E. Eisenberg and D. Gale, Consensus of Subjective Probabilities: The Pari-Mutuel Method, Ann. Math. Statist. 30(1), 1959. https://doi.org/10.1214/aoms/1177706369
  • X. Chen, D. Dai, Y. Du and S.-H. Teng, Settling the Complexity of Arrow–Debreu Equilibria in Markets with Additively Separable Utilities, FOCS 2009. https://doi.org/10.1109/FOCS.2009.29
  • W. C. Brainard and H. E. Scarf, How to Compute Equilibrium Prices in 1891, Cowles Foundation Discussion Paper 1272, 2000. https://cowles.yale.edu/research/cfdp-1272
8 thms2 active usersReviewed
Algorithmic Game TheoryComplexity TheoryOperations Research·Captain: mikedeng1

Market Equilibrium under Separable, Piecewise-Linear, Concave Utilities II: An Exact 3-Cover Exists iff the Constructed Market Has an EquilibriumResearch Paper

Motivation

Market equilibrium is the central solution concept of general equilibrium theory: prices at which every agent buys a utility-maximizing bundle and supply meets demand. Arrow and Debreu (1954) proved that equilibria exist under mild conditions on endowments and utilities, and a line of work in algorithmic game theory asks how hard it is to compute them. For linear utilities an equilibrium can be computed in polynomial time, and there is an efficiently checkable condition for its existence. The next natural class, additively separable piecewise-linear concave utilities, models diminishing marginal utility and is the class most used in applications.

Vazirani and Yannakakis (J. ACM 58(3), 2011) settle the complexity of this class. They show that equilibria are rational whenever they exist (Theorems 4.1 and 5.1), that computing an equilibrium under the standard sufficient conditions is PPAD-complete (Theorems 6.1 and 7.1, building on Chen, Dai, Du and Teng 2009), and — the subject of this mission — that deciding whether an equilibrium exists at all is NP-complete (Theorem 8.1). The hardness half rests on an explicit construction: from an instance of Exact Cover by 3-Sets, a market whose equilibria encode exact covers.

Setting

An Arrow–Debreu market has a finite set BBB of agents and a finite set GGG of divisible goods. Agent iii owns an endowment wij≥0w_{ij}\ge 0wij​≥0 of each good jjj and has utility ui(y)=∑jfji(yj)u_i(y)=\sum_{j} f^i_j(y_j)ui​(y)=∑j​fji​(yj​), where each fjif^i_jfji​ is a piecewise-linear concave utility function: slopes c1≥c2≥⋯≥cm>0c_1\ge c_2\ge\dots\ge c_m>0c1​≥c2​≥⋯≥cm​>0 on consecutive pieces of lengths a1,…,ama_1,\dots,a_ma1​,…,am​, followed by a last piece of slope t∈[0,cm]t\in[0,c_m]t∈[0,cm​] until infinity (t=0t=0t=0 means the function goes flat).

At prices ppp, agent iii's income is ∑jpjwij\sum_j p_j w_{ij}∑j​pj​wij​. An optimal bundle is an affordable y≥0y\ge 0y≥0 maximizing uiu_iui​ among affordable bundles, bought only along the pieces of fjif^i_jfji​ that carry utility. A price equilibrium is a price vector ppp in the unit simplex (p≥0p\ge 0p≥0, ∑jpj=1\sum_j p_j=1∑j​pj​=1) together with an allocation of optimal bundles such that ∑ixij=∑iwij\sum_i x_{ij}=\sum_i w_{ij}∑i​xij​=∑i​wij​ for every good jjj. It is an ϵ\epsilonϵ-approximate equilibrium if instead ∣∑ixij−∑iwij∣≤ϵ∑iwij|\sum_i x_{ij}-\sum_i w_{ij}|\le\epsilon\sum_i w_{ij}∣∑i​xij​−∑i​wij​∣≤ϵ∑i​wij​ for every jjj.

An X3C instance is a family C=(C1,…,Cn)\mathcal C=(C_1,\dots,C_n)C=(C1​,…,Cn​) of 333-element subsets of X={x1,…,xn}X=\{x_1,\dots,x_n\}X={x1​,…,xn​}; an exact cover is a subfamily in which every element of XXX lies in exactly one set. Following the paper, nnn is a multiple of 333, n>35n>35n>35, and ⋃iCi=X\bigcup_i C_i=X⋃i​Ci​=X.

The market D(C)D(\mathcal C)D(C) has 2n+12n+12n+1 goods (good 000, goods CiC_iCi​, goods xjx_jxj​) and 2n+22n+22n+2 agents, with e0=n3e_0=n^3e0​=n3:

  1. agent 000 owns e0e_0e0​ units of every good; his utility for every good has slope 222 up to e0e_0e0​ units and slope 111 beyond;
  2. agent CiC_iCi​ owns one unit of good CiC_iCi​; segments of slope 111, length 1/21/21/2 for good 000, slope 1/31/31/3, length 1/61/61/6 for each good xj∈Cix_j\in C_ixj​∈Ci​, slope 1/91/91/9, length 1/41/41/4 for good CiC_iCi​;
  3. agent xjx_jxj​ owns 1/61/61/6 unit of good xjx_jxj​; one segment of slope 111, length 1/121/121/12 for good 000;
  4. the extra agent owns n/2n/2n/2 units of good 000; one segment of slope 111, length 3/43/43/4 for each good CiC_iCi​.

All other utility functions are flat.

Formalization targets

Goal: the reduction statement

C has an exact cover  ⟺  D(C) has an equilibrium  ⟺  D(C) has an n−5-approximate equilibrium.\mathcal C\ \text{has an exact cover}\iff D(\mathcal C)\ \text{has an equilibrium}\iff D(\mathcal C)\ \text{has an } n^{-5}\text{-approximate equilibrium}.C has an exact cover⟺D(C) has an equilibrium⟺D(C) has an n−5-approximate equilibrium.

This is the mathematical content of the NP-hardness half of Theorem 8.1, assembled by the paper from Lemmas 8.2 and 8.3.

Milestones

  1. Lemma 8.2: an exact cover yields an equilibrium of D(C)D(\mathcal C)D(C).
  2. Lemma 7.2, as applied in Lemma 8.3: in an n−5n^{-5}n−5-approximate equilibrium of D(C)D(\mathcal C)D(C) all prices are positive and within a factor 222 of each other.
  3. Claims 8.4–8.7: in such an equilibrium, with pmp_mpm​ the minimum price, p(0)=2pmp(0)=2p_mp(0)=2pm​; p(xj)<2pmp(x_j)<2p_mp(xj​)<2pm​; with S={i:p(Ci)≥pm+16∑xj∈Cip(xj)}S=\{i: p(C_i)\ge p_m+\tfrac16\sum_{x_j\in C_i}p(x_j)\}S={i:p(Ci​)≥pm​+61​∑xj​∈Ci​​p(xj​)}, every i∉Si\notin Si∈/S has p(Ci)=pmp(C_i)=p_mp(Ci​)=pm​; and the sets indexed by SSS are pairwise disjoint.
  4. Lemma 8.3: an equilibrium, or an n−5n^{-5}n−5-approximate equilibrium, of D(C)D(\mathcal C)D(C) yields an exact cover.

Significance

Theorem 8.1 shows that there is no efficiently checkable necessary and sufficient condition for the existence of an equilibrium in piecewise-linear concave markets unless P = NP, in contrast with the linear case. Together with the PPAD results of the same paper it separates two questions: under the classical sufficient conditions an equilibrium exists and finding one is PPAD-complete; without them, even deciding existence is NP-hard, and remains so for n−5n^{-5}n−5-approximate equilibria. The construction illustrates the technique the paper uses for both of its negative results: well-chosen piecewise-linear pieces make an agent buy a segment wholly or not at all, depending on how prices compare, which gives the equilibrium problem a discrete character.

The result is proved in the paper. To our knowledge no part of it has been machine-checked. This mission formalizes the reduction's correctness at full strength, including the approximate version, which requires quantitative control of clearing errors that the exact version does not.

Difficulty

The direction "exact cover ⇒ equilibrium" is an explicit verification: prescribed prices and an allocation, and a check that every bundle is optimal, which for separable piecewise-linear utilities is a bang-per-buck comparison. The converse is the substantial part. An arbitrary approximate equilibrium must be shown to have the rigid price structure — every price in [pm,2pm][p_m,2p_m][pm​,2pm​], good 000 at 2pm2p_m2pm​, unused sets at pmp_mpm​ — before a counting argument on agent 000's savings forces ∣S∣=n/3|S|=n/3∣S∣=n/3. Each step is an excess-demand argument in which the error ϵ\epsilonϵ times the supply must be compared with quantities of order 1/n1/n1/n; this is where n>35n>35n>35 and the exponent 555 enter, and why the approximate statement does not follow from the exact one. Optimality of bundles is a statement about all affordable bundles, so each claim needs the structure of optimal bundles under piecewise-linear concave utility, which is not in Mathlib.

Formalization scope

Lean namespace PLCMarkets.ExactCover. Market data (endowments, slopes, lengths) are rationals; prices and allocations are reals. Goods and agents of D(C)D(\mathcal C)D(C) are small inductive types named as in the paper; indices are 0-based. Supplies are not normalized to 111, so clearing is ∑ixij=∑iwij\sum_i x_{ij}=\sum_i w_{ij}∑i​xij​=∑i​wij​; prices are normalized to the simplex in both equilibrium notions, as in the proof of Lemma 8.3. The family C\mathcal CC is indexed and may repeat a set; exact cover and the disjointness of SSS count indices.

Standing hypotheses of every theorem: each CiC_iCi​ has three elements, 3∣n3\mid n3∣n, n>35n>35n>35, ⋃iCi=X\bigcup_i C_i=X⋃i​Ci​=X — the paper's own "without loss of generality" assumptions (p. 10:19). Two conventions depart from the printed page, both necessary and both disclosed on the items:

  • Optimal bundles buy only utility-bearing pieces. If a utility function is flat beyond its segments, the agent does not buy beyond them. The paper uses this throughout (an agent "can only spend pm/6p_m/6pm​/6 on the single segment", Claim 8.5). Without it, agents can spend leftover income on goods worth nothing to them; then setting p(0)=2pmp(0)=2p_mp(0)=2pm​ and every other price to pmp_mpm​ gives an exact equilibrium of every D(C)D(\mathcal C)D(C), and the goal is false.
  • The extra agent's segments have length 3/43/43/4. The page prints 3n/43n/43n/4; every computation in the paper (Lemma 8.2, Claim 8.6, the end of Lemma 8.3) uses 3/43/43/4 per good, and with 3n/43n/43n/4 the prices of Lemma 8.2 are not an equilibrium.

Trivializing encodings are excluded: optimality of bundles is part of both equilibrium notions (without it the endowment itself clears every market), clearing is relative and per good, and the goal quantifies only over nnn and C\mathcal CC, with D(C)D(\mathcal C)D(C) an explicit function of C\mathcal CC.

Out of scope: the complexity-class statement "NP-complete" and NP membership (which comes from the rationality theorems of the companion mission); polynomial-time computability of the construction and string encodings of markets; and the Fisher market FFF of §8, whose half of Lemmas 8.2 and 8.3 is a natural follow-up. Reusable infrastructure: piecewise-linear concave utilities, Arrow–Debreu markets with exact and approximate equilibria, and bang-per-buck characterizations of optimal bundles. Contributions proving that characterization as a standalone lemma are welcome.

Selected references

  • V. V. Vazirani and M. Yannakakis, Market Equilibrium under Separable, Piecewise-Linear, Concave Utilities, Journal of the ACM 58(3), Article 10, 2011. https://doi.org/10.1145/1970392.1970394
  • X. Chen, D. Dai, Y. Du and S.-H. Teng, Settling the Complexity of Arrow–Debreu Equilibria in Markets with Additively Separable Utilities, Proceedings of the IEEE Symposium on Foundations of Computer Science (FOCS), 2009 (reference [Chen et al. 2009a] of the paper).
  • M. R. Garey and D. S. Johnson, Computers and Intractability: A Guide to the Theory of NP-Completeness, W. H. Freeman, 1979.
  • K. J. Arrow and G. Debreu, Existence of an Equilibrium for a Competitive Economy, Econometrica 22(3), 1954. https://doi.org/10.2307/1907353
12 thms2 active usersReviewed
Dynamic ProgrammingOperations ResearchProbability+1·Captain: mikedeng1

Asymptotic Optimality of Tailored Base-Surge Policies in Dual-Sourcing Inventory Systems: Asymptotic Optimality of the Best TBS Policy for Long Lead TimesResearch Paper

Motivation

Firms that can buy the same item from two suppliers, a cheap slow one and a fast expensive one, face the dual-sourcing inventory problem: how much to order from each source in every period when demand is random and unmet demand is backlogged. Global sourcing (offshore regular supply plus a near-shore express supply) is the standard example (Allon and Van Mieghem 2010). When the two lead times differ by more than one period, the optimal policy depends on the whole pipeline of outstanding orders. No simple optimal policy is known, and dynamic programming is intractable for long lead times.

The tailored base-surge (TBS) policy orders a constant amount from the slow source and uses the fast source to bring the expedited inventory position up to a fixed level. It is simple, and it is used in practice. Janakiraman, Seshadri and Sheopuri (JSS, Management Science 2015) showed that its best parameters solve a convex program that does not depend on the regular lead time, and they conjectured, with numerical support, that TBS is near-optimal when that lead time is long.

Timeline:

  • Karlin and Scarf (1958), Scarf (1960): structure of optimal single-source backlog policies with a lead time.
  • Sheopuri, Janakiraman and Seshadri (2010): reduction of dual-sourcing policies to the truncated regular pipeline and the expedited inventory position (Lemma 1 here).
  • Allon and Van Mieghem (2010): the TBS policy, with conjectures and numerical evidence.
  • JSS (2015): the TBS cost formula and a convex program for its parameters.
  • Xin and Goldberg (2018): proof of the conjecture with an explicit rate (Management Science 64(1), 2018). This mission formalizes that result.

Setting

Let DDD be a nonnegative random variable with finite mean E[D]\mathbb E[D]E[D] that is not almost surely constant. Demands D1,D2,…D_1, D_2, \dotsD1​,D2​,… are i.i.d. copies of DDD. The regular source has lead time LLL, the express source has lead time L0≥0L_0 \ge 0L0​≥0, and L>L0+1L > L_0 + 1L>L0​+1. In period ttt the controller orders qtR≥0q^R_t \ge 0qtR​≥0 and qtE≥0q^E_t \ge 0qtE​≥0; then qt−LR+qt−L0Eq^R_{t-L} + q^E_{t-L_0}qt−LR​+qt−L0​E​ arrives and DtD_tDt​ is realized, so the on-hand inventory evolves as It+1=It+qt−LR+qt−L0E−DtI_{t+1} = I_t + q^R_{t-L} + q^E_{t-L_0} - D_tIt+1​=It​+qt−LR​+qt−L0​E​−Dt​ and may be negative. Initially nothing is on order and I1=−∑i=1G^D−i′I_1 = -\sum_{i=1}^{\hat G} D'_{-i}I1​=−∑i=1G^​D−i′​, where the D−i′D'_{-i}D−i′​ are further i.i.d. copies of DDD and P(G^=k)=2−k\mathbb P(\hat G = k) = 2^{-k}P(G^=k)=2−k, k≥1k \ge 1k≥1.

The per-period cost is c qt−L0E+G(It+1)c\,q^E_{t-L_0} + G(I_{t+1})cqt−L0​E​+G(It+1​) with G(y)=hy++by−G(y) = h y^+ + b y^-G(y)=hy++by−, where b,h>0b, h > 0b,h>0 and c>0c > 0c>0 is the express premium (the regular unit cost is normalized to 000). An admissible policy π∈Π\pi \in \Piπ∈Π chooses the two orders in period ttt as deterministic measurable functions of (qt−LR,…,qt−1R,qt−L0E,…,qt−1E,It)(q^R_{t-L}, \dots, q^R_{t-1}, q^E_{t-L_0}, \dots, q^E_{t-1}, I_t)(qt−LR​,…,qt−1R​,qt−L0​E​,…,qt−1E​,It​). Its long-run average cost is

C(π)=lim sup⁡T→∞1T∑t=L0+1TE[Ctπ],OPT(L)=inf⁡π∈ΠC(π).C(\pi) = \limsup_{T\to\infty}\frac1T\sum_{t=L_0+1}^T \mathbb E[C^\pi_t], \qquad \mathrm{OPT}(L) = \inf_{\pi\in\Pi}C(\pi).C(π)=T→∞limsup​T1​t=L0​+1∑T​E[Ctπ​],OPT(L)=π∈Πinf​C(π).

With the expedited inventory position I^t=It+∑k=t−L0t−1qkE+∑k=t−Lt−L+L0qkR\hat I_t = I_t + \sum_{k=t-L_0}^{t-1}q^E_k + \sum_{k=t-L}^{t-L+L_0}q^R_kI^t​=It​+∑k=t−L0​t−1​qkE​+∑k=t−Lt−L+L0​​qkR​, the TBS policy πr,S\pi_{r,S}πr,S​ orders qtR=rq^R_t = rqtR​=r and qtE=max⁡(0,S−I^t)q^E_t = \max(0, S - \hat I_t)qtE​=max(0,S−I^t​). A best TBS pair (r∗,S∗)(r^*, S^*)(r∗,S∗) minimizes C(πr,S)C(\pi_{r,S})C(πr,S​) over 0≤r≤E[D]0 \le r \le \mathbb E[D]0≤r≤E[D] and S∈RS \in \mathbb RS∈R (first in rrr through F∞(r)=inf⁡SC(πr,S)F^\infty(r) = \inf_S C(\pi_{r,S})F∞(r)=infS​C(πr,S​), then in SSS).

The constants ϵ0\epsilon_0ϵ0​ and Y0Y_0Y0​ are explicit functionals of the law of DDD and of L0,b,h,cL_0, b, h, cL0​,b,h,c. They are built from g=inf⁡xE[G(x−∑i=1L0+1Di′)]g = \inf_x\mathbb E[G(x - \sum_{i=1}^{L_0+1}D'_i)]g=infx​E[G(x−∑i=1L0​+1​Di′​)], U=c E[D]+E[G(−∑i=1L0+1Di′)]U = c\,\mathbb E[D] + \mathbb E[G(-\sum_{i=1}^{L_0+1}D'_i)]U=cE[D]+E[G(−∑i=1L0​+1​Di′​)], p0=P(D<E[D])p_0 = \mathbb P(D < \mathbb E[D])p0​=P(D<E[D]), the mean absolute deviation η0\eta_0η0​, and the large-deviation quantities γϵ,ϑϵ\gamma_\epsilon, \vartheta_\epsilonγϵ​,ϑϵ​ of ϕϵ(θ)=eθ(E[D]−ϵ)E[e−θD]\phi_\epsilon(\theta) = e^{\theta(\mathbb E[D]-\epsilon)}\mathbb E[e^{-\theta D}]ϕϵ​(θ)=eθ(E[D]−ϵ)E[e−θD] (p. 441).

Formalization targets

Goal: Theorem 1 (p. 441)

For all L0≥0L_0 \ge 0L0​≥0, ϵ∈(0,1)\epsilon \in (0,1)ϵ∈(0,1) and L>ϵ0−2+Y0ϵ−2L > \epsilon_0^{-2} + Y_0\epsilon^{-2}L>ϵ0−2​+Y0​ϵ−2,

C(πr∗,S∗)OPT(L)<1+ϵ.\frac{C(\pi_{r^*,S^*})}{\mathrm{OPT}(L)} < 1 + \epsilon.OPT(L)C(πr∗,S∗​)​<1+ϵ.

The threshold does not depend on LLL, so the statement gives an explicit, inverse-polynomial rate. Its limit form C(πr∗,S∗)/OPT(L)→1C(\pi_{r^*,S^*})/\mathrm{OPT}(L) \to 1C(πr∗,S∗​)/OPT(L)→1 is Corollary 1 of the paper.

Milestones

In the order the proof uses them:

  • the bound g≤OPT(L)≤Ug \le \mathrm{OPT}(L) \le Ug≤OPT(L)≤U;
  • Lemma 1, the reduction to Π^\hat\PiΠ^ (quoted from Sheopuri et al.);
  • Eq. (3), the TBS cost formula C(πr,S)=c(E[D]−r)+E[G(I∞r+S−∑i=1L0+1Di′)]C(\pi_{r,S}) = c(\mathbb E[D]-r) + \mathbb E[G(I^r_\infty + S - \sum_{i=1}^{L_0+1}D'_i)]C(πr,S​)=c(E[D]−r)+E[G(I∞r​+S−∑i=1L0​+1​Di′​)] (quoted from JSS);
  • Theorem 2, the existence of a stationary-like vector (χ∗,L,q∗,L,I∗,L)(\chi^{*,L}, q^{*,L}, \mathcal I^{*,L})(χ∗,L,q∗,L,I∗,L) with rL=E[χ1∗,L]r_L = \mathbb E[\chi^{*,L}_1]rL​=E[χ1∗,L​];
  • Corollary 2 and Lemma 2, the lower bound OPT(L)≥c(E[D]−rL)+(1−α)VαL−L0(rL,−∞)\mathrm{OPT}(L) \ge c(\mathbb E[D]-r_L) + (1-\alpha)V^{L-L_0}_\alpha(r_L,-\infty)OPT(L)≥c(E[D]−rL​)+(1−α)VαL−L0​​(rL​,−∞) through a discounted single-source problem;
  • Lemma 3, the Bellman equation and structure of that problem (quoted from JSS and Scarf 1960);
  • Lemma 4 (8) and (9), and Corollary 3, the passage to the infinite horizon and to base-stock policies;
  • Lemma 5, the random-walk maxima MkrM^r_kMkr​ (proof omitted in the paper);
  • Lemmas 8–9 and Corollary 4: rL<E[D]−ϵ0r_L < \mathbb E[D] - \epsilon_0rL​<E[D]−ϵ0​ once L>ϵ0−2+L0+1L > \epsilon_0^{-2} + L_0 + 1L>ϵ0−2​+L0​+1.

Significance

The theorem shows that one of the simplest dual-sourcing heuristics is asymptotically optimal as the regular lead time grows. This is the regime where exact dynamic programming is hopeless. The best TBS parameters come from a convex program independent of LLL, so the result yields an algorithm whose running time does not grow with LLL and whose optimality gap is bounded explicitly for every finite LLL. It extends the lower-bounding technique of Xin and Goldberg's lost-sales work (Operations Research 2016) from a static to a dynamic relaxation.

Formalization adds the following. To the best of available knowledge, none of the objects involved (average-cost inventory control with backlog, TBS policies, Lindley-type maxima of random walks with their Spitzer identity) exists in Mathlib or on the platform. The paper's proof defers several ingredients to the literature or omits them: Lemma 1, Eq. (3), Lemma 3, and the details of Lemmas 5 and 7. A complete formal proof must supply them. The result is proved on paper but not formalized anywhere.

Difficulty

An optimal dual-sourcing policy need not be stationary, its induced Markov chain need not have a stationary distribution, and the inventory is unbounded below. The natural argument would compare the optimal policy's steady state with the TBS steady state, and it fails at its first step. Theorem 2 replaces the steady state by a vector with a few distributional properties, built from time averages. That construction, and the independence structure it must carry, is the central technical step. The conditional Jensen step then leads to a single-source problem with possibly negative demand, where textbook interchange-of-limits theorems do not apply directly. Finally, bounding rLr_LrL​ away from E[D]\mathbb E[D]E[D] requires a quantitative lower bound on the growth of random-walk maxima under only a first-moment assumption.

Formalization scope

Conventions of the Lean development (namespace XinGoldbergTBS.Asymptotic):

  • The law of DDD is a probability measure on R\mathbb RR with no mass on (−∞,0)(-\infty,0)(−∞,0), finite mean, and no atom of mass 111. The paper's "strictly positive (possibly infinite) variance" is read as "not almost surely constant".
  • cR=0c_R = 0cR​=0, b>0b > 0b>0, h>0h > 0h>0, c>0c > 0c>0, and L,L0L, L_0L,L0​ are natural numbers. The paper's standing assumption L>L0+1L > L_0 + 1L>L0​+1 is a hypothesis wherever the paper states it; in Theorem 1 it follows from the threshold.
  • Costs, expectations, C(π)C(\pi)C(π), OPT(L)\mathrm{OPT}(L)OPT(L), VαnV^n_\alphaVαn​ and Vα∞V^\infty_\alphaVα∞​ take values in [0,∞][0,\infty][0,∞], so infinite costs are never truncated. The ratio in Theorem 1 is stated as C(πr∗,S∗)<(1+ϵ)OPT(L)C(\pi_{r^*,S^*}) < (1+\epsilon)\mathrm{OPT}(L)C(πr∗,S∗​)<(1+ϵ)OPT(L), which is equivalent because 0<g≤OPT(L)≤U<∞0 < g \le \mathrm{OPT}(L) \le U < \infty0<g≤OPT(L)≤U<∞.
  • Π\PiΠ is exactly the paper's class: deterministic, time-dependent, measurable, nonnegative orders that depend on the pipeline and inventory. It is neither restricted to stationary policies nor enlarged to randomized ones. TBS policies are members, so C(πr,S)≥OPT(L)C(\pi_{r,S}) \ge \mathrm{OPT}(L)C(πr,S​)≥OPT(L) by construction.
  • ϑϵ∈[0,∞]\vartheta_\epsilon \in [0,\infty]ϑϵ​∈[0,∞] is the supremum of the minimizers of ϕϵ\phi_\epsilonϕϵ​ on [0,∞)[0,\infty)[0,∞), and it is ∞\infty∞ if the infimum is not attained; 1/∞=01/\infty = 01/∞=0.
  • The existence of a best TBS pair is asserted in the paper via JSS. The goal therefore also asserts that some TBS policy with 0≤r≤E[D]0 \le r \le \mathbb E[D]0≤r≤E[D] meets the bound, so it cannot hold vacuously when no minimizer exists.
  • rLr_LrL​ belongs to a witness of Theorem 2, and the results that use it hold for every witness.
  • The single-source class Πˉ\bar\PiΠˉ ("feasible nonanticipative policies, as typically defined") is read as nonnegative orders that are measurable functions of past demands. In Lemma 3 "increasing" is read as nondecreasing, and convexity in xxx includes finiteness.
  • The paper states Eq. (3) without a range for rrr; it is stated here for 0≤r≤E[D]0 \le r \le \mathbb E[D]0≤r≤E[D], the TBS parameters over which the paper optimizes. At r=E[D]r = \mathbb E[D]r=E[D] both sides are +∞+\infty+∞. In Lemma 8, the range's upper end is +∞+\infty+∞ when ϵ=0\epsilon = 0ϵ=0.
  • Differences such as Vα∞−VαnV^\infty_\alpha - V^n_\alphaVα∞​−Vαn​ and M∞r−MnrM^r_\infty - M^r_nM∞r​−Mnr​ are stated additively, and the negative terms of (9) and Corollary 3 are moved to the other side.

Lemma 1, Eq. (3) and Lemma 3 are results the paper quotes from Sheopuri et al. (2010), JSS and Scarf (1960). Proposition 1 (conditional-expectation form of the bound) is not included.

A trivializing formalization is ruled out: OPT(L)\mathrm{OPT}(L)OPT(L) ranges over the full admissible class, the constants are definitions rather than hypotheses, and the goal includes an existence clause.

Reusable beyond this mission: average-cost inventory models with lead times, discounted single-source backlog value functions, and Spitzer-type identities for random-walk maxima. Contributions to any milestone are welcome.

Selected references

  • L. Xin and D. A. Goldberg, Asymptotic Optimality of Tailored Base-Surge Policies in Dual-Sourcing Inventory Systems, Management Science 64(1):437–452, 2018. https://doi.org/10.1287/mnsc.2016.2607
  • G. Janakiraman, S. Seshadri and A. Sheopuri, Analysis of Tailored Base-Surge Policies in Dual Sourcing Inventory Systems, Management Science 61(7):1547–1561, 2015.
  • G. Allon and J. A. Van Mieghem, Global Dual Sourcing: Tailored Base-Surge Allocation to Near- and Offshore Production, Management Science 56(1):110–124, 2010.
  • A. Sheopuri, G. Janakiraman and S. Seshadri, New Policies for the Stochastic Inventory Control Problem with Two Supply Sources, Operations Research 58(3):734–745, 2010.
  • H. Scarf, The Optimality of (s, S) Policies in the Dynamic Inventory Problem, in Mathematical Methods in the Social Sciences, Stanford University Press, 1960, pp. 196–202.
  • L. Xin and D. A. Goldberg, Optimality Gap of Constant-Order Policies Decays Exponentially in the Lead Time for Lost Sales Models, Operations Research 64(6):1556–1565, 2016.
20 thms3 active usersReviewed
Control TheoryDynamical SystemsOperations Research+2·Captain: mikedeng1

Stabilization of Hybrid Systems by Feedback Control Based on Discrete-Time State Observations I: Almost Sure Asymptotic StabilityResearch Paper

Motivation

Many engineered systems switch between a finite number of operating modes at random times: a power grid after a line failure, a networked controller whose links drop, a manufacturing plant whose machines break down and are repaired. A standard model for such systems is a hybrid stochastic differential equation, also called an SDE with Markovian switching: the state follows an Itô equation whose coefficients depend on a mode that evolves as a continuous-time Markov chain. The monograph of Mao and Yuan (Stochastic Differential Equations with Markovian Switching, 2006) develops the stability theory of these equations.

A controller that stabilizes such a system usually needs the current state. In practice the state is sampled: it is observed at times 0,τ,2τ,…0,\tau,2\tau,\dots0,τ,2τ,… and the control is held between observations. Mao (Automatica 49, 2013) showed that, under a global Lipschitz condition on the drift and diffusion, a feedback control based on discrete-time observations stabilizes a hybrid SDE in the sense of mean-square exponential stability when τ\tauτ is small enough. You, Liu, Lu, Mao and Qiu (SIAM J. Control Optim. 53(2), 2015) replaced that condition by local Lipschitz continuity plus linear growth, gave an explicit bound (3.5) on the admissible observation interval τ\tauτ, and proved H∞H_\inftyH∞​-stability, mean-square asymptotic stability, almost sure asymptotic stability and exponential stability of the controlled system. This mission formalizes the almost sure asymptotic stability result, Theorem 3.4, and the results it is built on.

Setting

Let (Ω,F,{Ft}t≥0,P)(\Omega,\mathcal F,\{\mathcal F_t\}_{t\ge0},\mathbb P)(Ω,F,{Ft​}t≥0​,P) be a probability space with a filtration satisfying the usual conditions (increasing, right-continuous, F0\mathcal F_0F0​ contains the null sets). On it live an mmm-dimensional {Ft}\{\mathcal F_t\}{Ft​}-Brownian motion www and a right-continuous {Ft}\{\mathcal F_t\}{Ft​}-Markov chain rrr on S={1,…,N}S=\{1,\dots,N\}S={1,…,N} with generator Γ=(γij)\Gamma=(\gamma_{ij})Γ=(γij​) (γij≥0\gamma_{ij}\ge0γij​≥0 for i≠ji\ne ji=j, zero row sums), independent of www. Fix τ>0\tau>0τ>0 and the sampling time δt=[t/τ]τ\delta_t=[t/\tau]\tauδt​=[t/τ]τ, the last observation time up to ttt. The controlled system is

dx(t)=(f(x(t),r(t),t)+u(x(δt),r(t),t))dt+g(x(t),r(t),t) dw(t),x(0)=x0, r(0)=r0,(2.1)dx(t)=\big(f(x(t),r(t),t)+u(x(\delta_t),r(t),t)\big)dt+g(x(t),r(t),t)\,dw(t),\qquad x(0)=x_0,\ r(0)=r_0,\tag{2.1}dx(t)=(f(x(t),r(t),t)+u(x(δt​),r(t),t))dt+g(x(t),r(t),t)dw(t),x(0)=x0​, r(0)=r0​,(2.1)

with f,u:Rn×S×R+→Rnf,u:\mathbb R^n\times S\times\mathbb R_+\to\mathbb R^nf,u:Rn×S×R+​→Rn and g:Rn×S×R+→Rn×mg:\mathbb R^n\times S\times\mathbb R_+\to\mathbb R^{n\times m}g:Rn×S×R+​→Rn×m. The feedback uuu sees the state only at the observation times.

The hypotheses are:

  • Assumption 2.1: f,gf,gf,g locally Lipschitz in xxx, and ∣f(x,i,t)∣≤K1∣x∣|f(x,i,t)|\le K_1|x|∣f(x,i,t)∣≤K1​∣x∣, ∣g(x,i,t)∣≤K2∣x∣|g(x,i,t)|\le K_2|x|∣g(x,i,t)∣≤K2​∣x∣ (∣g∣|g|∣g∣ the trace norm).
  • Assumption 2.2: ∣u(x,i,t)−u(y,i,t)∣≤K3∣x−y∣|u(x,i,t)-u(y,i,t)|\le K_3|x-y|∣u(x,i,t)−u(y,i,t)∣≤K3​∣x−y∣ and u(0,i,t)=0u(0,i,t)=0u(0,i,t)=0.
  • Assumption 3.1: there are U∈C2,1(Rn×S×R+;R+)U\in C^{2,1}(\mathbb R^n\times S\times\mathbb R_+;\mathbb R_+)U∈C2,1(Rn×S×R+​;R+​) and λ1,λ2>0\lambda_1,\lambda_2>0λ1​,λ2​>0 with LU(x,i,t)+λ1∣Ux(x,i,t)∣2≤−λ2∣x∣2\mathcal LU(x,i,t)+\lambda_1|U_x(x,i,t)|^2\le-\lambda_2|x|^2LU(x,i,t)+λ1​∣Ux​(x,i,t)∣2≤−λ2​∣x∣2, where
LU=Ut+Ux[f+u]+12trace⁡[gTUxxg]+∑jγijU(x,j,t).\mathcal LU=U_t+U_x[f+u]+\tfrac12\operatorname{trace}[g^TU_{xx}g]+\sum_j\gamma_{ij}U(x,j,t).LU=Ut​+Ux​[f+u]+21​trace[gTUxx​g]+j∑​γij​U(x,j,t).
  • Condition (3.5): λ2>τK32λ1[2τ(K12+2K32)+K22]\lambda_2>\frac{\tau K_3^2}{\lambda_1}\big[2\tau(K_1^2+2K_3^2)+K_2^2\big]λ2​>λ1​τK32​​[2τ(K12​+2K32​)+K22​] and τ≤14K3\tau\le\frac1{4K_3}τ≤4K3​1​.

In Lean these are Assumption21, Assumption22, C21, LU, Assumption31, Condition35, in the namespace You2015.Asymp; the basis is HybridSetup, the Itô integral IsItoIntegral, the sampling time delta, and solutions SolvesSampledHybridSDE, in the namespace You2015.Shared shared with the companion mission.

Formalization targets

Goal: Theorem 3.4 (almost sure asymptotic stability)

Under the hypotheses above, every solution of (2.1) satisfies

lim⁡t→∞x(t)=0a.s.\lim_{t\to\infty}x(t)=0\quad\text{a.s.}t→∞lim​x(t)=0a.s.

for all x0∈Rnx_0\in\mathbb R^nx0​∈Rn and r0∈Sr_0\in Sr0​∈S. No rate is claimed; the statement is the qualitative convergence of almost every path.

Milestones, in the order the proof uses them

  1. (3.15) E∣x(t)−x(δt)∣2≤2E∫δtt[τ∣f+u(x(δs),⋅)∣2+∣g∣2]ds\mathbb E|x(t)-x(\delta_t)|^2\le2\mathbb E\int_{\delta_t}^t[\tau|f+u(x(\delta_s),\cdot)|^2+|g|^2]dsE∣x(t)−x(δt​)∣2≤2E∫δt​t​[τ∣f+u(x(δs​),⋅)∣2+∣g∣2]ds.
  2. Theorem 3.2 (H∞H_\inftyH∞​-stability): ∫0∞E∣x(s)∣2ds<∞\int_0^\infty\mathbb E|x(s)|^2ds<\infty∫0∞​E∣x(s)∣2ds<∞.
  3. (3.21) E∣x(s)−x(δs)∣2≤3(τK12+K22)1−6τ2K32∫δssE∣x(z)∣2dz+6τ2K321−6τ2K32E∣x(s)∣2\mathbb E|x(s)-x(\delta_s)|^2\le\frac{3(\tau K_1^2+K_2^2)}{1-6\tau^2K_3^2}\int_{\delta_s}^s\mathbb E|x(z)|^2dz+\frac{6\tau^2K_3^2}{1-6\tau^2K_3^2}\mathbb E|x(s)|^2E∣x(s)−x(δs​)∣2≤1−6τ2K32​3(τK12​+K22​)​∫δs​s​E∣x(z)∣2dz+1−6τ2K32​6τ2K32​​E∣x(s)∣2.
  4. (3.23) sup⁡t≥0E∣x(t)∣2<∞\sup_{t\ge0}\mathbb E|x(t)|^2<\inftysupt≥0​E∣x(t)∣2<∞.
  5. ∣E∣x(t2)∣2−E∣x(t1)∣2∣≤C(t2−t1)|\mathbb E|x(t_2)|^2-\mathbb E|x(t_1)|^2|\le C(t_2-t_1)∣E∣x(t2​)∣2−E∣x(t1​)∣2∣≤C(t2​−t1​).
  6. Theorem 3.3: lim⁡t→∞E∣x(t)∣2=0\lim_{t\to\infty}\mathbb E|x(t)|^2=0limt→∞​E∣x(t)∣2=0.
  7. (3.24)–(3.25): E∫0∞∣x(t)∣2dt<∞\mathbb E\int_0^\infty|x(t)|^2dt<\inftyE∫0∞​∣x(t)∣2dt<∞ and lim inf⁡t→∞∣x(t)∣=0\liminf_{t\to\infty}|x(t)|=0liminft→∞​∣x(t)∣=0 a.s.
  8. (3.28): P(∃t:∣x(t)∣≥h)≤C/h2\mathbb P(\exists t:|x(t)|\ge h)\le C/h^2P(∃t:∣x(t)∣≥h)≤C/h2 for h>∣x0∣h>|x_0|h>∣x0​∣.

Significance

The result. Theorem 3.4 says that a controller sampling the state at rate 1/τ1/\tau1/τ makes almost every trajectory of the switching system converge to the equilibrium, with an explicit, checkable bound (3.5) on τ\tauτ. Mean-square convergence (Theorem 3.3) does not imply almost sure convergence in general, and a single trajectory is what an operator observes, so the pathwise statement is the one relevant to a deployed system. Condition (3.5) is stated in terms of the constants of Assumptions 2.1, 2.2 and 3.1, so for a concrete system (Section 6 of the paper) it gives a numerical bound on the observation interval.

Formalizing it. The results are proved in the paper; none of them is machine-checked. Mathlib has real Brownian motion but no Itô integral, no stochastic differential equations and no continuous-time Markov chains. The mission therefore also produces a reusable definition layer: a filtration under the usual conditions, a multidimensional {Ft}\{\mathcal F_t\}{Ft​}-Brownian motion, an {Ft}\{\mathcal F_t\}{Ft​}-Markov chain with a given generator, the L2L^2L2 Itô integral of vector-valued integrands, and the solution notion of an SDE with Markovian switching and a sampled-state delay. A related but different layer exists on Prove2Me for Ethier–Kurtz (EthierKurtz_IsStandardBrownian, EthierKurtz_HasBrownianItoIntegral, EthierKurtz_SolvesBrownianSDE); it has no mode switching and no sampled state, so it cannot express (2.1).

Difficulty

Equation (2.1) is a stochastic differential delay equation with the delay t−δtt-\delta_tt−δt​, which is bounded but jumps at every observation time and has derivative 111 in between. The stability theorems for hybrid delay equations in the literature require a differentiable delay with derivative less than one (Mao–Yuan, p. 285), so they do not apply. Applying LU\mathcal LULU directly to U(x(t),r(t),t)U(x(t),r(t),t)U(x(t),r(t),t) leaves the term Ux[u(x(t))−u(x(δt))]U_x[u(x(t))-u(x(\delta_t))]Ux​[u(x(t))−u(x(δt​))], which has no sign and depends on the path over a whole observation interval, so a Lyapunov function of the current state alone does not close the argument.

For the goal, the natural first idea, deducing almost sure convergence from E∣x(t)∣2→0\mathbb E|x(t)|^2\to0E∣x(t)∣2→0 or from ∫0∞∣x(t)∣2dt<∞\int_0^\infty|x(t)|^2dt<\infty∫0∞​∣x(t)∣2dt<∞ a.s., fails: both are compatible with paths that make ever shorter excursions away from 000. The obstacle is to exclude infinitely many excursions of a fixed size, which neither moment statement controls.

Formalization scope

Conventions committed to in Lean:

  • The state space is EuclideanSpace ℝ (Fin n), so ∣x∣|x|∣x∣ is the Euclidean norm; the explicit constants in (3.5) and (3.21) depend on it. The diffusion ggg is given by its mmm columns and ∣g∣2=∑k∣gk∣2|g|^2=\sum_k|g_k|^2∣g∣2=∑k​∣gk​∣2 (trace norm). Modes are Fin N (0-based). Time is ℝ≥0; time integrals are over subsets of R\mathbb RR at s.toNNReal.
  • Every expectation E∣⋅∣2\mathbb E|\cdot|^2E∣⋅∣2 and every time integral of a nonnegative quantity is a lower Lebesgue integral in [0,∞][0,\infty][0,∞], so a non-integrable process cannot produce a junk value 000.
  • "The solution of (2.1)" is read as every process satisfying the solution definition: progressively measurable, almost surely continuous paths, E∣x(t)∣2<∞\mathbb E|x(t)|^2<\inftyE∣x(t)∣2<∞ for each ttt, and for each ttt, almost surely, the integral equation with Itô integrals in the L2L^2L2 sense. Existence and uniqueness (cited from Mao–Yuan on p. 908) are not asserted.
  • "An mmm-dimensional Brownian motion" and "a Markov chain with generator Γ\GammaΓ" are read in the Mao–Yuan framework the paper cites: an {Ft}\{\mathcal F_t\}{Ft​}-Brownian motion with independent coordinates and increments independent of the past, and an {Ft}\{\mathcal F_t\}{Ft​}-Markov chain with transition matrix etΓe^{t\Gamma}etΓ. The usual conditions are kept as hypotheses.
  • "Locally Lipschitz" is uniform in the mode and time on each ball. C2,1C^{2,1}C2,1 carries its derivatives Ut,Ux,UxxU_t,U_x,U_{xx}Ut​,Ux​,Uxx​ as witnesses tied to UUU by derivative relations and joint continuity.
  • "τ>0\tau>0τ>0 sufficiently small for (3.5)" means every τ>0\tau>0τ>0 satisfying both inequalities of (3.5). U,λ1,λ2,τU,\lambda_1,\lambda_2,\tauU,λ1​,λ2​,τ are data of each statement. The paper's "CCC denotes a positive constant" is an existential chosen after x0x_0x0​, r0r_0r0​ and the solution, and before the time variables and hhh.
  • (3.15) and (3.21) are stated under fewer hypotheses than the surrounding proof has (Assumptions 2.1, 2.2, τ>0\tau>0τ>0, and for (3.21) τ≤1/(4K3)\tau\le1/(4K_3)τ≤1/(4K3​)), because their derivations use no more. Misprints on the page (for example g(x,i,s)=f(x,i,0)g(x,i,s)=f(x,i,0)g(x,i,s)=f(x,i,0) on p. 909 and the swapped definitions of ∨,∧\vee,\wedge∨,∧ on p. 907) are not formalized.

A trivializing formalization is ruled out: the expectations are not Bochner integrals (which vanish for non-integrable integrands), the solution notion admits the true solution and requires path continuity, the derivative witnesses of UUU are tied to UUU, and a sorry-free check shows that the data hypotheses (Assumptions 2.1, 2.2, 3.1, C2,1C^{2,1}C2,1, (3.5)) are satisfiable, for example by n=m=N=1n=m=N=1n=m=N=1, f=g=0f=g=0f=g=0, u(x)=−xu(x)=-xu(x)=−x, U=∣x∣2U=|x|^2U=∣x∣2, λ1=1/4\lambda_1=1/4λ1​=1/4, λ2=1\lambda_2=1λ2​=1, τ=1/10\tau=1/10τ=1/10.

Welcome contributions: the Itô isometry and Itô's formula for the L2L^2L2 integral defined here, a generalized Itô formula for functions of a Markov-modulated Itô process, and Doob's maximal inequality in continuous time. These are reusable far beyond this mission. Section 4 of the paper (exponential stability) is a separate mission of the same series.

Selected references

  • S. You, W. Liu, J. Lu, X. Mao, Q. Qiu, Stabilization of Hybrid Systems by Feedback Control Based on Discrete-Time State Observations, SIAM J. Control Optim. 53(2), 905–925, 2015. https://doi.org/10.1137/140985779
  • X. Mao, C. Yuan, Stochastic Differential Equations with Markovian Switching, Imperial College Press, 2006. https://doi.org/10.1142/p473
  • X. Mao, Stabilization of continuous-time hybrid stochastic differential equations by discrete-time feedback control, Automatica 49(12), 3677–3681, 2013. https://doi.org/10.1016/j.automatica.2013.09.005
13 thms1 active userReviewed
Algorithmic Game TheoryLinear OptimizationOperations Research+1·Captain: mikedeng1

A General Framework for the Study of Decentralized Distribution Systems: A Core Allocation Rule Whose Nash Equilibrium Is First-BestResearch Paper

Pooling inventory among independent retailers

Retailers that sell the same product can raise their joint profit by pooling: stock left over at one location is shipped to meet unmet demand at another, and stock can be held in shared warehouses until demand is known (Eppen 1979; Eppen and Schrage 1981). When the retailers are independent firms, pooling creates two questions at once. After demand is realized, the extra profit from shipping must be split in a way no group of retailers would reject. Before demand is realized, each retailer chooses its own stock, and that choice depends on how the split will be made. A split that is fair ex post may lead to stocking decisions that are poor for the system as a whole.

Anupindi, Bassok and Zemel (MSOM 2001) model the ex-post split as a cooperative game, the ex-ante stocking as a non-cooperative game, and ask whether a single allocation rule can serve both. Their framework is a standard reference for "coopetition" models in supply chains, where firms compete on stocking decisions and cooperate on redistribution.

Setting

There are retailers N={1,…,N}\mathcal N=\{1,\dots,N\}N={1,…,N} and warehouses W={1,…,W}\mathcal W=\{1,\dots,W\}W={1,…,W}. Retailer nnn has unit cost cnc_ncn​, revenue rnr_nrn​ and salvage value vnv_nvn​; warehouse www has purchasing cost cwc_wcw​ and salvage value vwv_wvw​. Shipping from location iii to retailer nnn costs ti,nt_{i,n}ti,n​ per unit, and a fraction βi,n∈[0,1]\beta_{i,n}\in[0,1]βi,n​∈[0,1] of the customers at nnn accept service from iii.

Before demand, retailer nnn chooses a position Z⃗n=(Xn,Y1,n,…,YW,n)\vec Z_n=(X_n,Y_{1,n},\dots,Y_{W,n})Zn​=(Xn​,Y1,n​,…,YW,n​): local stock XnX_nXn​ and claims Yw,nY_{w,n}Yw,n​ on warehouse stock, so warehouse www holds Yw=∑nYw,nY_w=\sum_nY_{w,n}Yw​=∑n​Yw,n​. A profile is [Z]=(Z⃗1,…,Z⃗N)[Z]=(\vec Z_1,\dots,\vec Z_N)[Z]=(Z1​,…,ZN​). Demand D⃗\vec DD is random with law μ\muμ. After demand, retailer nnn has local sales Sn=min⁡{Xn,Dn}S_n=\min\{X_n,D_n\}Sn​=min{Xn​,Dn​}, residual inventory Hn=max⁡{Xn−Dn,0}H_n=\max\{X_n-D_n,0\}Hn​=max{Xn​−Dn​,0} and residual demand En=max⁡{Dn−Xn,0}E_n=\max\{D_n-X_n,0\}En​=max{Dn​−Xn​,0}.

The snapshot allocation game SAG([Z],D⃗)([Z],\vec D)([Z],D) gives each coalition S⊆N\mathcal S\subseteq\mathcal NS⊆N the value WS∗([Z],D⃗)W^*_{\mathcal S}([Z],\vec D)WS∗​([Z],D): the optimal value of the linear program (6), which ships qi,nq_{i,n}qi,n​ units from i∈S∪Wi\in\mathcal S\cup\mathcal Wi∈S∪W to n∈Sn\in\mathcal Sn∈S at profit rn−vi−ti,nr_n-v_i-t_{i,n}rn​−vi​−ti,n​ per unit, subject to ∑nqi,n≤Hi\sum_nq_{i,n}\le H_i∑n​qi,n​≤Hi​, ∑nqw,n≤∑n∈SYw,n\sum_nq_{w,n}\le\sum_{n\in\mathcal S}Y_{w,n}∑n​qw,n​≤∑n∈S​Yw,n​ and ∑iqi,n/βi,n≤En\sum_iq_{i,n}/\beta_{i,n}\le E_n∑i​qi,n​/βi,n​≤En​. Its core is the set of allocations α\alphaα with ∑j∈Sαj≥WS∗\sum_{j\in\mathcal S}\alpha_j\ge W^*_{\mathcal S}∑j∈S​αj​≥WS∗​ for every S\mathcal SS and ∑j∈Nαj=WN∗\sum_{j\in\mathcal N}\alpha_j=W^*_{\mathcal N}∑j∈N​αj​=WN∗​ (7).

An allocation rule AR-mmm assigns surplus αnm([Z],D⃗)\alpha^m_n([Z],\vec D)αnm​([Z],D); retailer nnn earns

Pnm([Z],D⃗)=rnSn+vnHn−cnXn−∑w(cw−vw)Yw,n+αnm([Z],D⃗)(9)P^m_n([Z],\vec D)=r_nS_n+v_nH_n-c_nX_n-\sum_w(c_w-v_w)Y_{w,n}+\alpha^m_n([Z],\vec D)\qquad(9)Pnm​([Z],D)=rn​Sn​+vn​Hn​−cn​Xn​−w∑​(cw​−vw​)Yw,n​+αnm​([Z],D)(9)

and expects Jnm([Z])=ED⃗PnmJ^m_n([Z])=E_{\vec D}P^m_nJnm​([Z])=ED​Pnm​. A Nash equilibrium (10) is a profile at which no retailer gains by changing its own position. The first-best profile [Z]c∗[Z]^{c*}[Z]c∗ maximizes the expected centralized profit JNc([Z])=ED⃗PNc([Z],D⃗)J^c_{\mathcal N}([Z])=E_{\vec D}P^c_{\mathcal N}([Z],\vec D)JNc​([Z])=ED​PNc​([Z],D), where PNc=∑n[rnSn+vnHn−cnXn]−∑w(cw−vw)Yw+WN∗P^c_{\mathcal N}=\sum_n[r_nS_n+v_nH_n-c_nX_n]-\sum_w(c_w-v_w)Y_w+W^*_{\mathcal N}PNc​=∑n​[rn​Sn​+vn​Hn​−cn​Xn​]−∑w​(cw​−vw​)Yw​+WN∗​.

The fractional rule AR-f (11) pays αnf=θnPNc−[ rnSn+vnHn−cnXn−∑w(cw−vw)Yw,n]\alpha^f_n=\theta_nP^c_{\mathcal N}-[\,r_nS_n+v_nH_n-c_nX_n-\sum_w(c_w-v_w)Y_{w,n}]αnf​=θn​PNc​−[rn​Sn​+vn​Hn​−cn​Xn​−∑w​(cw​−vw​)Yw,n​] with fixed shares θn∈(0,1)\theta_n\in(0,1)θn​∈(0,1), ∑nθn=1\sum_n\theta_n=1∑n​θn​=1. The dual allocation (8) is αnd=νnHn+∑wγwYw,n+δnEn\alpha^d_n=\nu_nH_n+\sum_w\gamma_wY_{w,n}+\delta_nE_nαnd​=νn​Hn​+∑w​γw​Yw,n​+δn​En​ for optimal dual prices (ν,γ,δ)(\nu,\gamma,\delta)(ν,γ,δ) of (6) for N\mathcal NN. The modified rule AR-c is αnc([Z],D⃗)=αnf([Z],D⃗)+wn([Z]c∗,D⃗)\alpha^c_n([Z],\vec D)=\alpha^f_n([Z],\vec D)+w_n([Z]^{c*},\vec D)αnc​([Z],D)=αnf​([Z],D)+wn​([Z]c∗,D) with wn=αnd([Z]c∗,⋅)−αnf([Z]c∗,⋅)w_n=\alpha^d_n([Z]^{c*},\cdot)-\alpha^f_n([Z]^{c*},\cdot)wn​=αnd​([Z]c∗,⋅)−αnf​([Z]c∗,⋅).

Formalization targets

Goal: Corollary 5.1 (p. 361)

For a first-best profile [Z]c∗[Z]^{c*}[Z]c∗ and a measurable choice of dual prices at [Z]c∗[Z]^{c*}[Z]c∗,

[Z]c∗ is a pure Nash equilibrium under AR-c, and  αc([Z]c∗,D⃗)∈Core⁡(SAG([Z]c∗,D⃗))  ∀D⃗,[Z]^{c*}\ \text{is a pure Nash equilibrium under AR-c, and}\ \ \alpha^c([Z]^{c*},\vec D)\in\operatorname{Core}\big(\mathrm{SAG}([Z]^{c*},\vec D)\big)\ \ \forall\vec D,[Z]c∗ is a pure Nash equilibrium under AR-c, and  αc([Z]c∗,D)∈Core(SAG([Z]c∗,D))  ∀D,

with integrable side payments.

Milestones

  • Examples 1 and 2 (pp. 358–359): a transfer-price allocation outside the core; the dual allocation (8,8,8,0)(8,8,8,0)(8,8,8,0) and the non-dual core allocation (0,0,0,24)(0,0,0,24)(0,0,0,24).
  • Theorem 4.1 (p. 358): if all inventory is claimed, the core of SAG([Z],D⃗)([Z],\vec D)([Z],D) is nonempty and contains the dual allocation (8) for every optimal dual.
  • Theorem 5.2 (p. 361): under AR-f every first-best profile is a Nash equilibrium.
  • Theorem 5.1 (p. 361): for any rule and any of its equilibria [Z]m∗[Z]^{m*}[Z]m∗ there are integrable demand-dependent side payments that leave the set of equilibria unchanged and put the allocations at [Z]m∗[Z]^{m*}[Z]m∗ in the core for every D⃗\vec DD.

Significance

The goal answers the paper's central question positively: there is an allocation mechanism under which the centrally optimal stock levels are an equilibrium of the decentralized stocking game, while every ex-post split of the pooling surplus is stable against all coalitions. Theorem 4.1 is the ex-post half: shadow prices of the shipping LP give a stable split for every realization, independently of who owns which units. The paper also shows (Proposition 5.1, not included here) that the dual allocation alone does not induce first-best stocking, which is why the side payments of Theorem 5.1 are needed.

The results are proved in the paper; Theorem 4.1 is proved there only by reference to the LP-game literature (Owen 1975; Samet and Zemel 1984). None of them has a machine-checked proof. The mission would produce the first formal treatment on Prove2Me of a linear-production (LP) game and its core, and of a model combining a cooperative second stage with a non-cooperative first stage.

Difficulty

Theorem 4.1 is an instance of Owen's theorem on LP games, but the instance is not a standard linear production game: coalition LPs have variables only on arcs inside the coalition, warehouse capacity is limited to the coalition's own claims, and the acceptance constraint divides by βi,n\beta_{i,n}βi,n​, which may be zero, so the general theorem cannot be quoted as it stands. The paper leaves the dual of (6) unwritten, and Mathlib has no ready-made LP duality in this form.

The stochastic layer is the other obstacle. Expected payoffs are integrals, and the side payment is built from a choice of dual prices for each demand realization. Its integrability requires measurability of that choice and of the LP value as a function of demand; neither is given by the paper, which treats the side payments as "constants".

Formalization scope

Retailers are Fin N, warehouses Fin W, locations Fin N ⊕ Fin W; quantities, prices and demands are real numbers; demand is a probability measure on Fin N → ℝ; expectations are Bochner integrals. WS∗W^*_{\mathcal S}WS∗​ is the real supremum of (6a) over the feasible set, and profiles are required to be nonnegative, which makes the feasible set nonempty and bounded. Arcs with βi,n=0\beta_{i,n}=0βi,n​=0 carry no shipment. The core is the platform definition Supermodularity.Cooperative.Core. The dual of (6) is written out explicitly (the paper does not state it). The paper's continuous-CDF assumption is not used and is dropped.

Pinned readings:

  1. "Dual prices" means any optimal solution of the dual of (6) for N\mathcal NN; Theorem 4.1 is stated for every such solution.
  2. "Induces the same equilibrium inventory levels as the first-best" (Theorem 5.2) and "the NE using αc\alpha^cαc is first-best" (Corollary 5.1) are stated as "every first-best profile is a Nash equilibrium", the direction the proofs give.
  3. "[Z]m~∗=[Z]m∗[Z]^{\tilde m*}=[Z]^{m*}[Z]m~∗=[Z]m∗" (Theorem 5.1) is stated as equality of the two sets of equilibria; the continuity and unimodality assumptions, which only guarantee existence of an equilibrium, are dropped because the equilibrium is a hypothesis.
  4. "An appropriate way of breaking ties" is a measurable choice of optimal dual prices; demand is almost surely nonnegative; the rule's payoffs in Theorem 5.1 are integrable.
  5. The shares γn\gamma_nγn​ of Theorem 5.2 are written θn\theta_nθn​, and Eq. (11) is used with +vnHn+v_nH_n+vn​Hn​ in the bracket (printed −vnHn-v_nH_n−vn​Hn​), as the proof on p. 367 requires.

Not acceptable: a core without the efficiency equation (7b); a feasible set that lets qi,n/0=0q_{i,n}/0=0qi,n​/0=0 sell to customers who balk; an arbitrary side payment instead of the constructed one; or a Nash equilibrium evaluated through non-integrable payoffs, whose Bochner integral is 000 and makes every profile an equilibrium.

Useful infrastructure: finite-dimensional LP duality in inequality form, measurable selection of LP optimal solutions, and continuity of LP values in the right-hand side. All of it can be reused in other LP-game and two-stage stochastic programming missions.

Selected references

  • R. Anupindi, Y. Bassok, E. Zemel, A General Framework for the Study of Decentralized Distribution Systems, Manufacturing & Service Operations Management 3(4):349–368, 2001. https://doi.org/10.1287/msom.3.4.349.9973
  • G. Owen, On the core of linear production games, Mathematical Programming 9:358–370, 1975. https://doi.org/10.1007/BF01681356
  • D. Samet, E. Zemel, On the core and dual set of linear programming games, Mathematics of Operations Research 9(2):309–316, 1984. https://doi.org/10.1287/moor.9.2.309
  • G. D. Eppen, Effects of centralization on expected costs in a multi-location newsboy problem, Management Science 25(5):498–501, 1979. https://doi.org/10.1287/mnsc.25.5.498
10 thms2 active usersReviewed
Operations ResearchOptimizationProbability·Captain: mikedeng1

Single-Period Multiproduct Inventory Models with Substitution: No Order for a Product Stocked Above Its Base-Stock LevelResearch Paper

Motivation

A retailer or manufacturer that stocks several grades of the same item (memory chips of different speeds, steel of different strengths, seats in fare classes) can often meet demand for a lower grade with a higher one when the lower grade runs out. This downward substitution changes the stocking decision: each product now protects the demand of every class below it, so the optimal stock of one product depends on the stock of all the others, and the single-product newsvendor answer no longer applies product by product.

Bassok, Anupindi and Akella (Operations Research 47(4), 1999) set up a single-period model with NNN products and full downward substitution and showed that the optimal ordering policy still has a simple structure: there is a base-stock vector y∗y^*y∗; products below it are ordered up to it, and a product already at or above its base-stock level is not ordered at all. Earlier work on multiproduct ordering, Veinott (1965) and Ignall and Veinott (1969), gave monotonicity conditions through a substitute matrix condition on the Hessian of the cost, which is hard to verify for a general NNN-product substitution structure; the paper works instead with concavity, submodularity and explicit first partial derivatives. Two-product substitution models had been analysed by McGillivray and Silver (1978) and Parlar and Goyal (1984).

Setting

There are NNN products and NNN demand classes, both numbered 1,…,N1,\dots,N1,…,N. Class iii can be served by product jjj whenever j≤ij \le ij≤i, at a unit substitution cost bbb when j<ij < ij<i. Each class iii has unit revenue pip_ipi​ and unit backorder cost πi\pi_iπi​; each product jjj has unit purchase cost cjc_jcj​ and effective unit salvage value sjs_jsj​ (salvage value minus holding cost, possibly negative). Put aji=pia_{ji} = p_iaji​=pi​ if j=ij = ij=i, aji=pi−ba_{ji} = p_i - baji​=pi​−b if j<ij < ij<i, and Tk=pk+πk−bT_k = p_k + \pi_k - bTk​=pk​+πk​−b. The standing assumptions are: (1) πi+pi≥πj+pj\pi_i + p_i \ge \pi_j + p_jπi​+pi​≥πj​+pj​ for i<ji < ji<j; (2) si≥sjs_i \ge s_jsi​≥sj​ for i<ji < ji<j; (3) aij+πj−si≥0a_{ij} + \pi_j - s_i \ge 0aij​+πj​−si​≥0 for i≤ji \le ji≤j.

The sequence of events: the starting inventory xxx is observed; stock is raised to y≥xy \ge xy≥x at unit costs ccc; the demand vector ddd is realized; stock is allocated to classes; leftovers are salvaged. For fixed yyy and ddd the allocation is the linear program

G(y,d)=max⁡∑i∑j≤iajiwji+∑isivi−∑iπiuiG(y,d) = \max \sum_{i}\sum_{j \le i} a_{ji} w_{ji} + \sum_i s_i v_i - \sum_i \pi_i u_iG(y,d)=maxi∑​j≤i∑​aji​wji​+i∑​si​vi​−i∑​πi​ui​

subject to ui+∑j≤iwji=diu_i + \sum_{j\le i} w_{ji} = d_iui​+∑j≤i​wji​=di​, vj+∑i≥jwji=yjv_j + \sum_{i \ge j} w_{ji} = y_jvj​+∑i≥j​wji​=yj​, and w,u,v≥0w, u, v \ge 0w,u,v≥0, where wjiw_{ji}wji​ is the amount of product jjj given to class iii, uiu_iui​ the shortage of class iii and vjv_jvj​ the leftover of product jjj. The expected profit is

P(x,y)=−∑kck(yk−xk)+E G(y,D),P(x,y) = -\sum_k c_k (y_k - x_k) + \mathbb E\, G(y, D),P(x,y)=−k∑​ck​(yk​−xk​)+EG(y,D),

and the ordering problem is max⁡y≥xP(x,y)\max_{y \ge x} P(x,y)maxy≥x​P(x,y); a maximizer is an optimal level yˉ(x)\bar y(x)yˉ​(x).

Allocation Algorithm (A) serves the classes in the order 1,2,…,N1,2,\dots,N1,2,…,N, class iii first from product iii and then from the leftovers of products i−1,…,1i-1,\dots,1i−1,…,1. The subproblem shortage SjkS^k_jSjk​ is the unmet demand of class jjj when (A) runs on the classes k,…,jk,\dots,jk,…,j with the products k,…,jk,\dots,jk,…,j only; S⃗a,nk=0\vec S^k_{a,n} = 0Sa,nk​=0 means Smk=0S^k_m = 0Smk​=0 for all a≤m≤na \le m \le na≤m≤n. The paper's first partial derivatives of PPP are sums of salvage values, substitution costs and the TkT_kTk​, weighted by probabilities of such shortage events.

Formalization targets

Goal: Theorem 2

With y∗y^*y∗ a maximizer of P(0,⋅)P(0,\cdot)P(0,⋅) over y≥0y \ge 0y≥0, every optimal level yˉ\bar yyˉ​ for every starting inventory x≥0x \ge 0x≥0 satisfies

xi≥yi∗  ⟹  yˉi=xi.x_i \ge y^*_i \implies \bar y_i = x_i .xi​≥yi∗​⟹yˉ​i​=xi​.

Milestones

  • Proposition 1: Algorithm (A) is feasible and optimal for the allocation LP, and its value is G(y,d)G(y,d)G(y,d).
  • Proposition 2: y↦P(x,y)y \mapsto P(x,y)y↦P(x,y) is concave and submodular on {y≥0}\{y \ge 0\}{y≥0}.
  • Eq. (4): the explicit formula for ∂P/∂yi\partial P/\partial y_i∂P/∂yi​ in terms of shortage probabilities.
  • Theorem 1: there is y∗≥0y^* \ge 0y∗≥0 with yˉ(x)=y∗\bar y(x) = y^*yˉ​(x)=y∗ whenever 0≤x≤y∗0 \le x \le y^*0≤x≤y∗.
  • Lemmas 1, 2, 3, 5: identities and monotonicity properties of the shortage probabilities used to compare ∂P/∂yi\partial P/\partial y_i∂P/∂yi​ and ∂P/∂yi+1\partial P/\partial y_{i+1}∂P/∂yi+1​.

Significance

Theorems 1 and 2 give the optimal ordering policy of the substitution model its base-stock form: a vector y∗y^*y∗, computed once, determines the decision for every starting inventory in the region x≤y∗x \le y^*x≤y∗ and fixes the order of every overstocked product elsewhere. The paper builds its bounds on y∗y^*y∗, its iterative algorithm for two products and its computational study of the value of substitution (§3) on this structure. Proposition 1 turns the second-stage linear program into a closed-form greedy allocation, which is what makes the derivative formula (4) explicit.

The results are proved in the paper, but none of them has been machine-checked. Several steps of the paper are informal: Proposition 1 is proved by reference to Monge sequences of transportation problems, the proof of Theorem 2 treats only the adjacent pair j=i+1j = i+1j=i+1, and the paper uses independence of demand classes, densities and a unique optimal level without stating them. A formal development makes these hypotheses explicit and checks each step. The model, the greedy allocation and the shortage calculus are reusable for other multi-product newsvendor and assortment models.

Difficulty

The obvious argument for Theorem 2 is the one-dimensional one: if xi≥yi∗x_i \ge y^*_ixi​≥yi∗​ then ∂P/∂yi≤0\partial P/\partial y_i \le 0∂P/∂yi​≤0 at yˉ\bar yyˉ​, so product iii should not be raised. It fails because ∂P/∂yi\partial P/\partial y_i∂P/∂yi​ depends on the other coordinates: at yˉ\bar yyˉ​ some products are raised above xxx and others kept at xj>yj∗x_j > y^*_jxj​>yj∗​, and concavity plus submodularity alone do not control the sign. For a general concave submodular function the conclusion is false; a three-variable quadratic in which raising one coordinate lowers the optimal level of a second one, which in turn raises the marginal value of the first, is a counterexample. The proof has to use the specific structure of the substitution model, through the pairwise comparison of the partial derivatives in Eq. (4). The derivative formula itself requires a careful account of how an extra unit of product iii propagates through the greedy allocation of every later class.

Formalization scope

Products and classes are indexed by Fin N (the paper's index kkk is Lean index k−1k-1k−1); stocks, demands and prices are real. The allocation LP is encoded with the upward arcs wjiw_{ji}wji​, i<ji < ji<j, forbidden (fixed to 000), as in the paper's proof of Proposition 1; GGG is the supremum of the LP objective. The demand law is a product ν1⊗⋯⊗νN\nu_1 \otimes \dots \otimes \nu_Nν1​⊗⋯⊗νN​. Submodularity is the lattice inequality P(x,y∨y′)+P(x,y∧y′)≤P(x,y)+P(x,y′)P(x, y \vee y') + P(x, y \wedge y') \le P(x,y) + P(x,y')P(x,y∨y′)+P(x,y∧y′)≤P(x,y)+P(x,y′), which is equivalent to the paper's nonpositive cross partials (Definition 2) for twice differentiable functions. Derivatives are stated with HasDerivAt, and the derivative inequalities of Lemmas 2 and 5 in the stronger monotone form, so that no statement is made true by a junk value of deriv. The "…" in Eq. (4) and in the lemmas are expanded as finite sums with the general term inferred from the printed first and last terms.

Hypotheses the paper uses without stating, made explicit here:

  • the substitution cost is nonnegative, b≥0b \ge 0b≥0 (Proposition 1 is false for b<0b < 0b<0);
  • the demand classes are independent (product forms in Lemma 3 and Appendix B);
  • each demand is nonnegative, has finite mean and has a density;
  • si<ci<pi+πis_i < c_i < p_i + \pi_isi​<ci​<pi​+πi​ for every product (Theorem 1's proof);
  • every demand law charges every nonempty open interval of [0,∞)[0,\infty)[0,∞), standing in for the uniqueness of the optimal level yˉ(x)\bar y(x)yˉ​(x) that the notation presupposes (Theorems 1 and 2).

The goal quantifies over every maximizer y∗y^*y∗ of P(0,⋅)P(0,\cdot)P(0,⋅) and every optimal yˉ\bar yyˉ​; it is not an existence statement, and y∗y^*y∗ is not chosen by the prover. Without the full-support hypothesis the universal statement fails already for one product (a flat-topped profit). Lemmas 4 and 6 of the paper are not included: under the definitions used here both are false as printed (small two- and three-product computations with exponential demands show it), and Theorem 3 comes after the goal and fails as printed for xi≥yi∗x_i \ge y^*_ixi​≥yi∗​.

A proof needs integrals of piecewise-linear functions of the demand vector, differentiation under the integral sign, and facts about product measures. Contributions of any of the milestones, and of general lemmas on the greedy allocation (monotonicity of SjkS^k_jSjk​ in yyy and ddd), are welcome.

Selected references

  • Y. Bassok, R. Anupindi, R. Akella, Single-Period Multiproduct Inventory Models with Substitution, Operations Research 47(4):632–642, 1999. https://doi.org/10.1287/opre.47.4.632
  • A. F. Veinott, Jr., Optimal Policy for a Multi-Product, Dynamic, Nonstationary Inventory Problem, Management Science 12(3):206–222, 1965. https://doi.org/10.1287/mnsc.12.3.206
  • E. Ignall, A. F. Veinott, Jr., Optimality of Myopic Inventory Policies for Several Substitute Products, Management Science 15(5):284–304, 1969. https://doi.org/10.1287/mnsc.15.5.284
  • A. J. Hoffman, On Simple Linear Programming Problems, in V. Klee (ed.), Convexity, Proceedings of Symposia in Pure Mathematics, Vol. 7, AMS, 1963.
12 thms2 active usersReviewed
Bandit AlgorithmsMachine LearningOperations Research+1·Captain: mikedeng1

Online Decision Making with High-Dimensional Covariates: Regret Bound of the LASSO BanditResearch Paper

Motivation

Many sequential decisions are personalised: a physician chooses a drug dose for each arriving patient, a platform chooses which offer to show each arriving user. Each decision is made after observing a vector of covariates describing the individual, and its outcome is observed only for the option chosen. This is the contextual (covariate) bandit problem, studied in operations research and machine learning since Auer (JMLR 2002) and Goldenshluger and Zeevi (Stochastic Systems 2013).

In medical and e-commerce applications the covariate vector is often high-dimensional: the number of covariates ddd is comparable to or larger than the number of decisions that will ever be made, while the outcome of each option depends on a few of them. Low-dimensional bandit algorithms then incur regret that grows polynomially with ddd. Bastani and Bayati (Operations Research 2020) proposed the LASSO Bandit, which estimates each option's reward model with the LASSO, and proved a regret bound that grows only logarithmically in ddd. The paper evaluates the method on warfarin dosing data.

Timeline:

  • 2002–2003: Auer introduces linear-reward contextual bandits with confidence bounds.
  • 2013: Goldenshluger and Zeevi give a forced-sampling algorithm for two arms in low dimension with O(log⁡T)O(\log T)O(logT) regret under a margin condition and an arm-optimality condition, and an information-theoretic lower bound of the same order.
  • 2020: Bastani and Bayati extend the forced-sampling scheme to KKK arms and high-dimensional sparse parameters, with regret O(s02[log⁡T+log⁡d]2)O(s_0^2[\log T+\log d]^2)O(s02​[logT+logd]2).

Setting

There are KKK arms with unknown parameters β1,…,βK∈Rd\beta_1,\dots,\beta_K\in\mathbb R^dβ1​,…,βK​∈Rd. At each time t=1,2,…,Tt=1,2,\dots,Tt=1,2,…,T a covariate vector Xt∈RdX_t\in\mathbb R^dXt​∈Rd arrives; the XtX_tXt​ are i.i.d. with law PX\mathcal P_XPX​ and take values in a fixed set X\mathcal XX. If arm iii is pulled, the reward is Xt⊤βi+εi,tX_t^\top\beta_i+\varepsilon_{i,t}Xt⊤​βi​+εi,t​, where the noises εi,t\varepsilon_{i,t}εi,t​ are independent, σ\sigmaσ-subgaussian (E[esε]≤eσ2s2/2\mathbb E[e^{s\varepsilon}]\le e^{\sigma^2s^2/2}E[esε]≤eσ2s2/2 for all sss), and independent of the covariates. A policy chooses the arm πt\pi_tπt​ from XtX_tXt​ and the past covariates, arms and observed rewards. Its cumulative expected regret is

RT=∑t=1TE[max⁡jXt⊤βj−Xt⊤βπt].R_T=\sum_{t=1}^T\mathbb E\Big[\max_jX_t^\top\beta_j-X_t^\top\beta_{\pi_t}\Big].RT​=t=1∑T​E[jmax​Xt⊤​βj​−Xt⊤​βπt​​].

The sparsity s0s_0s0​ is the smallest integer s0≥1s_0\ge1s0​≥1 with ∥βi∥0≤s0\|\beta_i\|_0\le s_0∥βi​∥0​≤s0​ for all iii.

The four assumptions are: (1) ∥x∥∞≤xmax⁡\|x\|_\infty\le x_{\max}∥x∥∞​≤xmax​ on X\mathcal XX and ∥βi∥1≤b\|\beta_i\|_1\le b∥βi​∥1​≤b; (2) a margin condition Pr⁡[0<∣X⊤(βi−βj)∣≤κ]≤C0κ\Pr[0<|X^\top(\beta_i-\beta_j)|\le\kappa]\le C_0\kappaPr[0<∣X⊤(βi​−βj​)∣≤κ]≤C0​κ; (3) arm optimality: every arm is either suboptimal by a margin hhh at every covariate, or optimal by margin hhh on a region UiU_iUi​ of probability at least p∗p_*p∗​; (4) a compatibility condition: the conditional second-moment matrix Σi=E[XX⊤∣X∈Ui]\Sigma_i=\mathbb E[XX^\top\mid X\in U_i]Σi​=E[XX⊤∣X∈Ui​] of each optimal arm lies in the set C(supp(βi),ϕ0)\mathcal C(\mathrm{supp}(\beta_i),\phi_0)C(supp(βi​),ϕ0​) of matrices M⪰0M\succeq0M⪰0 with ∥vI∥12≤∣I∣ v⊤Mv/ϕ02\|v_I\|_1^2\le|I|\,v^\top Mv/\phi_0^2∥vI​∥12​≤∣I∣v⊤Mv/ϕ02​ whenever ∥vIc∥1≤3∥vI∥1\|v_{I^c}\|_1\le3\|v_I\|_1∥vIc​∥1​≤3∥vI​∥1​.

The LASSO estimator on nnn samples is any minimizer of ∥Y−Xβ′∥22/n+λ∥β′∥1\|Y-\mathbf X\beta'\|_2^2/n+\lambda\|\beta'\|_1∥Y−Xβ′∥22​/n+λ∥β′∥1​. The LASSO Bandit forces arm iii at the prescribed times Ti={(2n−1)Kq+j:n≥0, q(i−1)<j≤qi}\mathcal T_i=\{(2^n-1)Kq+j : n\ge0,\ q(i-1)<j\le qi\}Ti​={(2n−1)Kq+j:n≥0, q(i−1)<j≤qi}. At every other time it keeps the arms whose forced-sample estimate β^(Ti,t−1,λ1)\hat\beta(\mathcal T_{i,t-1},\lambda_1)β^​(Ti,t−1​,λ1​) is within h/2h/2h/2 of the best. Among them it plays the arm with the largest all-sample estimate β^(Si,t−1,λ2,t−1)\hat\beta(\mathcal S_{i,t-1},\lambda_{2,t-1})β^​(Si,t−1​,λ2,t−1​), trained on every past pull of the arm, with λ2,t=λ2,0(log⁡t+log⁡d)/t\lambda_{2,t}=\lambda_{2,0}\sqrt{(\log t+\log d)/t}λ2,t​=λ2,0​(logt+logd)/t​.

Formalization targets

Goal: Theorem 1 (regret of the LASSO Bandit)

For q≥4⌈q0⌉q\ge4\lceil q_0\rceilq≥4⌈q0​⌉, K≥2K\ge2K≥2, d>2d>2d>2, T≥C5T\ge C_5T≥C5​, λ1=ϕ02p∗h/(64s0xmax⁡)\lambda_1=\phi_0^2p_*h/(64s_0x_{\max})λ1​=ϕ02​p∗​h/(64s0​xmax​) and λ2,0=[ϕ02/(2s0)]1/(p∗C1)\lambda_{2,0}=[\phi_0^2/(2s_0)]\sqrt{1/(p_*C_1)}λ2,0​=[ϕ02​/(2s0​)]1/(p∗​C1​)​,

RT≤C3(log⁡T)2+[2Kbxmax⁡(6q+4)+C3log⁡d]log⁡T+(2bxmax⁡C5+2Kbxmax⁡+C4),R_T\le C_3(\log T)^2+\big[2Kbx_{\max}(6q+4)+C_3\log d\big]\log T+\big(2bx_{\max}C_5+2Kbx_{\max}+C_4\big),RT​≤C3​(logT)2+[2Kbxmax​(6q+4)+C3​logd]logT+(2bxmax​C5​+2Kbxmax​+C4​),

with the explicit constants C1,…,C5C_1,\dots,C_5C1​,…,C5​, q0q_0q0​ of the paper (p. 285).

Milestones

  1. Proposition 1: a LASSO tail inequality for adaptively collected rows with conditionally subgaussian noise.
  2. Lemma 1: a LASSO tail inequality when a constant fraction of the rows is i.i.d. with a compatible second-moment matrix.
  3. Proposition 2: the forced-sample estimator of an optimal arm is within h/(4xmax⁡)h/(4x_{\max})h/(4xmax​) of βi\beta_iβi​ except with probability 5/t45/t^45/t4.
  4. Proposition 3: the all-sample estimator of an optimal arm is within 16(log⁡t+log⁡d)/(p∗3C1t)16\sqrt{(\log t+\log d)/(p_*^3C_1t)}16(logt+logd)/(p∗3​C1​t)​ of βi\beta_iβi​ except with probability 2/t+2e−p∗2C22t/322/t+2e^{-p_*^2C_2^2t/32}2/t+2e−p∗2​C22​t/32.

Significance

The theorem shows that exploiting sparsity makes the regret depend on the ambient dimension only through log⁡d\log dlogd, while its dependence on the horizon is within one log⁡T\log TlogT factor of the Ω(log⁡T)\Omega(\log T)Ω(logT) lower bound known in low dimension. Proposition 1 is a LASSO oracle inequality for adapted designs, where each row may depend on earlier observations. It applies whenever a LASSO is fitted to data gathered by a feedback policy: adaptive experiments, dynamic pricing, sequential treatment assignment.

The results are proved in the paper and its online appendix; none of them has a machine-checked proof. This mission produces a formal model of the covariate bandit with a non-anticipating algorithm, a formal LASSO for adapted designs, and, when complete, a verified regret bound with every constant explicit. Proposition 1 and Lemma 1 are reusable beyond bandits.

Difficulty

The all-sample estimator is trained on the times at which the algorithm chose an arm, and those choices depend on earlier estimates. Its design rows are therefore neither independent nor identically distributed, and the standard LASSO analysis, which starts from i.i.d. rows and a restricted-eigenvalue bound on their population covariance, does not apply. The forced samples are i.i.d. but only O(log⁡t)O(\log t)O(logt) in number, too few for the log⁡t/t\sqrt{\log t/t}logt/t​ rate the regret bound needs. Controlling the compatibility constant of the adaptively selected sample covariance, and the martingale noise term, is where the naive argument breaks.

Formalization scope

Arms are Fin K (paper arm iii is i.val + 1), coordinates Fin d, times are natural numbers from 111. The model is a structure IsCovariateNoiseModel on a probability space: i.i.d. measurable covariates in a measurable set X\mathcal XX, independent subgaussian noises (Mathlib's HasSubgaussianMGF with parameter σ2\sigma^2σ2), noise independent of covariates. Assumptions 1–4 are separate predicates. ∥x∥∞\|x\|_\infty∥x∥∞​ is Mathlib's sup norm, logarithms are natural, and Σi\Sigma_iΣi​ is the uncentred conditional second moment.

The LASSO minimizer and the arg max need not be unique, so the algorithm takes a selection rule and a tie-breaking rule as parameters, and the theorems hold for all of them. Each round reads only the current covariate, the past covariates, the past arms and their observed rewards. The regret theorem and Proposition 3, whose data set Si,t\mathcal S_{i,t}Si,t​ is chosen by the algorithm, require both rules to be measurable. Otherwise the trajectory would not be a random variable, and the expectations in RTR_TRT​ could be integrals of non-measurable functions, which Lean evaluates to 000 and which would make the goal trivially true. For the same reason every assumption constant is required to be positive, and T≥C5T\ge C_5T≥C5​ is imposed on the horizon. Only the explicit inequality of Theorem 1 is stated, not the trailing O(s02[log⁡T+log⁡d]2)O(s_0^2[\log T+\log d]^2)O(s02​[logT+logd]2) or q0=O(s02log⁡d)q_0=O(s_0^2\log d)q0​=O(s02​logd). Proposition 2 is stated for optimal arms (see its note).

A complete development needs matrix concentration for bounded i.i.d. rows, the Azuma–Hoeffding inequality, and the deterministic LASSO basic inequality under a compatibility condition. Contributions of any of these as standalone lemmas are welcome.

Selected references

  • H. Bastani and M. Bayati, Online Decision Making with High-Dimensional Covariates, Operations Research 68(1):276–294, 2020. https://doi.org/10.1287/opre.2019.1902
  • A. Goldenshluger and A. Zeevi, A Linear Response Bandit Problem, Stochastic Systems 3(1):230–261, 2013. https://doi.org/10.1287/11-SSY032
  • P. Auer, Using Confidence Bounds for Exploitation-Exploration Trade-offs, Journal of Machine Learning Research 3:397–422, 2002. https://www.jmlr.org/papers/v3/auer02a.html
  • P. Bühlmann and S. van de Geer, Statistics for High-Dimensional Data, Springer, 2011. https://doi.org/10.1007/978-3-642-20192-9
9 thms2 active usersReviewed
Algorithmic Game TheoryOperations ResearchProbability·Captain: mikedeng1

Subjectivity and Correlation in Randomized Strategies II: Subjective Events Let Both Zero-Sum Players Beat the ValueResearch Paper

Motivation

In a two-person zero-sum game with objective randomization, whatever one player gains the other loses: the value vvv of the game is the most player 1 can guarantee and the least player 2 can hold him to, and no arrangement between the players can give player 1 more than vvv and player 2 more than −v-v−v at the same time. Aumann's 1974 paper (doi:10.1016/0304-4068(74)90037-8) replaces objective coin flips by ordinary events of the world, about which players may hold different subjective probabilities and may be differently informed. Sect. 6 of the paper shows that this breaks the zero-sum logic: once the players disagree about the probability of events they can observe, a zero-sum game becomes, in expectation as each player computes it, a game in which both can gain.

The phenomenon is the game-theoretic form of betting between people who disagree: two players with different beliefs can each expect to profit from the same wager. Aumann's proposition identifies exactly what information structure makes such an agreement possible inside a given zero-sum game, and shows by an example that informing only one player of a subjective event is not enough. The same paper introduced correlated equilibrium; the companion mission of this series formalizes its two-person result on subjective mixed equilibria (Proposition 5.1).

Setting

A game has a finite set N={1,…,n}N=\{1,\dots,n\}N={1,…,n} of players, a finite set SiS_iSi​ of pure strategies for each player, a finite set XXX of outcomes and an outcome function ggg from S=×i∈NSiS=\times_{i\in N}S_iS=×i∈N​Si​ onto XXX. Player iii has a utility ui:X→Ru_i:X\to\mathbb Rui​:X→R; write hi(a)=ui(g(a))h_i(a)=u_i(g(a))hi​(a)=ui​(g(a)) for a∈Sa\in Sa∈S.

A randomizing structure consists of a set Ω\OmegaΩ of states of the world with a σ\sigmaσ-field B\mathcal BB of events, a sub-σ\sigmaσ-field Ji⊆B\mathcal J_i\subseteq\mathcal BJi​⊆B for each player (the events regarding which iii is informed), and a probability measure pip_ipi​ on B\mathcal BB for each player (the subjective probability of iii). A strategy of iii is a map si:Ω→Sis_i:\Omega\to S_isi​:Ω→Si​ whose level sets lie in Ji\mathcal J_iJi​. For a profile sss of strategies, player iii's payoff is computed under his own beliefs:

Hi(s)=∫Ωhi(s(ω)) dpi(ω).H_i(s)=\int_\Omega h_i\big(s(\omega)\big)\,dp_i(\omega).Hi​(s)=∫Ω​hi​(s(ω))dpi​(ω).

An event AAA is objective if all pi(A)p_i(A)pi​(A) coincide, and subjective otherwise. It is iii-secret if A∈JiA\in\mathcal J_iA∈Ji​ and every other player jjj regards AAA as independent of every event in the σ\sigmaσ-field generated by the Jk\mathcal J_kJk​, k≠ik\ne ik=i. It is public if it lies in every Ji\mathcal J_iJi​. A measure is non-atomic on a σ\sigmaσ-field R\mathcal RR if every event of R\mathcal RR of positive measure contains an event of R\mathcal RR of strictly smaller positive measure; a roulette is a sub-σ\sigmaσ-field of B\mathcal BB on which every pjp_jpj​ is non-atomic, and a public roulette is a roulette of public events. Throughout, Assumption II holds: every player iii has a σ\sigmaσ-field Ri\mathcal R_iRi​ of iii-secret events on which every pjp_jpj​ is non-atomic.

The game is two-person zero-sum if n=2n=2n=2 and u1(x)+u2(x)=0u_1(x)+u_2(x)=0u1​(x)+u2​(x)=0 for all x∈Xx\in Xx∈X. Its value vvv is player 1's payoff F1(σ)=∑a∈Sh1(a)σ1(a1)σ2(a2)F_1(\sigma)=\sum_{a\in S}h_1(a)\sigma_1(a_1)\sigma_2(a_2)F1​(σ)=∑a∈S​h1​(a)σ1​(a1​)σ2​(a2​) at a Nash equilibrium σ\sigmaσ of the classical mixed extension; by the minimax theorem all such equilibria give the payoff pair (v,−v)(v,-v)(v,−v).

Formalization targets

Goal: Proposition 6.1 (p. 80)

Let GGG be a two-person zero-sum game with value vvv, and assume

∃ x,y∈X: u1(x)>v>u1(y),(6.2)\exists\,x,y\in X:\ u_1(x)>v>u_1(y),\tag{6.2}∃x,y∈X: u1​(x)>v>u1​(y),(6.2) for each i∈{1,2} there is Bi∈Ji with p1(Bi)≠p2(Bi).(6.3)\text{for each } i\in\{1,2\} \text{ there is } B_i\in\mathcal J_i \text{ with } p_1(B_i)\ne p_2(B_i).\tag{6.3}for each i∈{1,2} there is Bi​∈Ji​ with p1​(Bi​)=p2​(Bi​).(6.3)

Then there is a pair s=(s1,s2)s=(s_1,s_2)s=(s1​,s2​) of strategies with

H1(s)>v,H2(s)>−v.(6.4)H_1(s)>v,\qquad H_2(s)>-v.\tag{6.4}H1​(s)>v,H2​(s)>−v.(6.4)

The pair is not an equilibrium: it is an agreement that each player, by his own beliefs, strictly prefers to playing the game.

Milestones

  1. Lemma 7.1 (p. 81): in a roulette R\mathcal RR there is, for every α∈[0,1]\alpha\in[0,1]α∈[0,1] and events B1,…,BlB^1,\dots,B^lB1,…,Bl, an objective event A∈RA\in\mathcal RA∈R with p(A)=αp(A)=\alphap(A)=α, independent of each BkB^kBk.
  2. Lemma 4.2 (p. 77): for every iii, event BBB and α∈[0,1]\alpha\in[0,1]α∈[0,1] there is an objective iii-secret event of probability α\alphaα independent of BBB.
  3. Lemma 4.4 (p. 77): if there is a public roulette, the same holds with "public" in place of "iii-secret".
  4. Remark after Proposition 6.1 (p. 80): the conclusion (6.4) under (6.2) and
there is a public subjective event B and there is a public roulette,(6.5)\text{there is a public subjective event } B \text{ and there is a public roulette,}\tag{6.5}there is a public subjective event B and there is a public roulette,(6.5)

a special case of the goal in which the players share both the subjective event and the correlating device.

Significance

The proposition shows that the value of a zero-sum game is a property of objective randomization, not of the game alone. With subjective randomization available to both players, the conflict of a zero-sum game can be resolved by agreement, so the classical prediction (each player receives his security level) is not robust to disagreement about probabilities. The counterexample on p. 81 (the game with matrix rows (1,1)(1,1)(1,1) and (2,0)(2,0)(2,0)) shows that hypothesis (6.3) is needed for both players, and the paper notes that in any specific game only one player need use a subjective strategy, though which one depends on the game.

Lemmas 4.2, 4.4 and 7.1 are the model's basic existence results for objective randomization: every probability can be realised by an event that is secret (or public) and independent of finitely many given events. They are used throughout the paper, including in the companion mission.

The paper's proofs are published and accepted; none of these statements has a machine-checked proof. This mission produces the formal statements and invites complete proofs; Lemma 7.1 requires Lyapunov's convexity theorem for finite-dimensional non-atomic vector measures, which is not in Mathlib.

Difficulty

The central difficulty for the goal is that (6.3) gives each player only some subjective event, of unknown size and in his own information field, while (6.4) requires strict gains for both players under two different measures at once. The obvious approach, betting on one subjective event, gives one player a strict gain but, when that event is not known to the other player, the other player cannot condition his choice on it; the example on p. 81 shows that one-sided information genuinely fails. Both inequalities must be arranged simultaneously, and the strategies must remain measurable with respect to each player's own information.

For Lemma 7.1, a non-atomic scalar measure takes every value in [0,p(Ω)][0,p(\Omega)][0,p(Ω)], but the lemma asks for one event with prescribed values under nnn measures and nlnlnl further measures simultaneously; this is the range of a vector measure, not of a scalar one.

Formalization scope

  • Players of the zero-sum game are 0, 1 : Fin 2 (the paper's 1, 2). S 0, S 1, X are finite types and g is surjective.
  • B\mathcal BB is the σ-field mΩ, an explicit parameter of RandomizingStructure; Ji\mathcal J_iJi​ are σ-fields below it, and each pip_ipi​ is a probability measure on B\mathcal BB. Probabilities are ℝ≥0∞-valued; "probability α\alphaα" is ENNReal.ofReal α with 0≤α≤10\le\alpha\le10≤α≤1.
  • Non-atomicity is the standard notion on a sub-σ-field, not Mathlib's NoAtoms, which would trivialize the roulette hypotheses.
  • HiH_iHi​ is a Bochner integral under pip_ipi​; for strategies with finitely many values it is the finite sum ∑api{s=a}hi(a)\sum_a p_i\{s=a\}h_i(a)∑a​pi​{s=a}hi​(a).
  • The value vvv is not a free real: IsValue u g v requires v=F1(σ)v=F_1(\sigma)v=F1​(σ) for a Nash equilibrium σ\sigmaσ of the mixed extension (AGT.IsMixedNash from the published definition agt_games). A free vvv would make the goal false. The minimax theorem is the published AGT.zero_sum_minimax.
  • Assumption II is a hypothesis of every theorem, including those whose proofs do not need it.
  • The conclusion of the goal and of the Remark asks for strategies, not for an equilibrium point, and does not require the strategies to be independent or objective.

Needed infrastructure: Lyapunov's theorem (or a direct argument for the finite-dimensional case), manipulation of σ-fields generated by families of sub-σ-fields, and computation of HiH_iHi​ for strategies with finitely many values. Lyapunov's theorem is reusable far beyond this mission. Contributions of any milestone are welcome.

Selected references

  • R. J. Aumann, Subjectivity and Correlation in Randomized Strategies, Journal of Mathematical Economics 1 (1974) 67–96. https://doi.org/10.1016/0304-4068(74)90037-8
  • A. Lyapunov, Sur les fonctions-vecteurs complètement additives, Bull. Acad. Sci. URSS Sér. Math. 4 (1940) 465–478.
  • J. von Neumann, Zur Theorie der Gesellschaftsspiele, Mathematische Annalen 100 (1928) 295–320. https://doi.org/10.1007/BF01448847
  • J. Nash, Non-cooperative games, Annals of Mathematics 54 (1951) 286–295. https://doi.org/10.2307/1969529
9 thms2 active usersReviewed
Operations ResearchProbabilityStochastic Systems·Captain: mikedeng1

Exit Problems for Spectrally Negative Lévy Processes and Applications to (Canadized) Russian Options I: Joint Laplace Transform of the Exit Time and Exit Position of the Reflected ProcessResearch Paper

Motivation

A spectrally negative Lévy process is a process with stationary independent increments whose jumps are all downward: Brownian motion with drift plus a compound Poisson or infinite-activity stream of negative jumps. It is the standard model for a risk reserve that earns premiums continuously and pays claims in lumps, for a storage level or a queue workload seen in reverse, and, in mathematical finance, for a log-price that can crash but not jump up. Exit problems (when and where such a process first leaves an interval) are the basic quantities in ruin theory, in dividend and barrier problems, and in the pricing of path-dependent options.

The reflected process Y=X‾−XY=\overline X-XY=X−X, the distance of XXX below its running maximum, is the drawdown of XXX. Its first passage above a level kkk is the time at which a drawdown of size kkk first occurs. Avram, Kyprianou and Pistorius (AKP 2004) computed the joint Laplace transform of this passage time and of the overshoot YτkY_{\tau_k}Yτk​​ in closed form, in terms of the scale functions of XXX. This is the first of three missions on that paper. The two others use this identity for the perpetual Russian option and its Canadized version.

Timeline. Bertoin gave the upward two-sided exit identity for spectrally negative Lévy processes in terms of scale functions (Bertoin 1996, Theorem VII.8) and the downward one (Bertoin 1997, Corollary 1). Avram, Kyprianou and Pistorius (2004) obtained the joint transform of (τk,Yτk)(\tau_k,Y_{\tau_k})(τk​,Yτk​​) for every spectrally negative Lévy process of unbounded variation, or of bounded variation with absolutely continuous Lévy measure.

Setting

Let X={Xt,t≥0}X=\{X_t,t\ge0\}X={Xt​,t≥0} be a spectrally negative Lévy process on (Ω,F,P)(\Omega,\mathcal F,\mathbb P)(Ω,F,P): it starts at 000, has independent and stationary increments, càdlàg paths, no positive jumps, and paths that are not monotone. Its Laplace exponent is ψ(θ)=log⁡E[eθX1]\psi(\theta)=\log\mathbb E[e^{\theta X_1}]ψ(θ)=logE[eθX1​], and "ψ(v)<∞\psi(v)<\inftyψ(v)<∞" means that evX1e^{vX_1}evX1​ is integrable. For such vvv, the tilted exponent is ψv(θ)=ψ(θ+v)−ψ(v)\psi_v(\theta)=\psi(\theta+v)-\psi(v)ψv​(θ)=ψ(θ+v)−ψ(v).

The paper assumes throughout that XXX has unbounded variation, or has bounded variation and a Lévy measure Λ\LambdaΛ with Λ(dx)≪dx\Lambda(dx)\ll dxΛ(dx)≪dx.

For q≥0q\ge0q≥0, Φ(q)\Phi(q)Φ(q) is the largest root of ψ(θ)=q\psi(\theta)=qψ(θ)=q. The qqq-scale function W(q):R→[0,∞)W^{(q)}:\mathbb R\to[0,\infty)W(q):R→[0,∞) is the unique function that vanishes on (−∞,0](-\infty,0](−∞,0], is continuous on (0,∞)(0,\infty)(0,∞), and satisfies

∫0∞e−θxW(q)(x) dx=1ψ(θ)−q,θ>Φ(q).\int_0^\infty e^{-\theta x}W^{(q)}(x)\,dx=\frac1{\psi(\theta)-q},\qquad\theta>\Phi(q).∫0∞​e−θxW(q)(x)dx=ψ(θ)−q1​,θ>Φ(q).

For q<0q<0q<0 it is defined by the series W(q)=∑k≥0qkW⋆(k+1)W^{(q)}=\sum_{k\ge0}q^kW^{\star(k+1)}W(q)=∑k≥0​qkW⋆(k+1), where W=W(0)W=W^{(0)}W=W(0) and ⋆\star⋆ is convolution on [0,∞)[0,\infty)[0,∞). Further, Z(q)(x)=1+q∫−∞xW(q)(z) dzZ^{(q)}(x)=1+q\int_{-\infty}^xW^{(q)}(z)\,dzZ(q)(x)=1+q∫−∞x​W(q)(z)dz. The functions Wv(p)W_v^{(p)}Wv(p)​ and Zv(p)Z_v^{(p)}Zv(p)​ are the same objects built from ψv\psi_vψv​ instead of ψ\psiψ.

Under Ps,x\mathbb P_{s,x}Ps,x​ the process starts at xxx with a prior maximum s≥xs\ge xs≥x. Its running maximum is X‾t=max⁡{s,sup⁡0≤u≤tXu}\overline X_t=\max\{s,\sup_{0\le u\le t}X_u\}Xt​=max{s,sup0≤u≤t​Xu​}, and the reflected process is Y=X‾−XY=\overline X-XY=X−X, which starts at z=s−xz=s-xz=s−x. For k>0k>0k>0,

τk=inf⁡{t≥0:Yt∉[0,k)}.\tau_k=\inf\{t\ge0:Y_t\notin[0,k)\}.τk​=inf{t≥0:Yt​∈/[0,k)}.

Formalization targets

Goal: Theorem 1

For u≥0u\ge0u≥0 and vvv with ψ(v)<∞\psi(v)<\inftyψ(v)<∞, with z=s−x≥0z=s-x\ge0z=s−x≥0 and p=u−ψ(v)p=u-\psi(v)p=u−ψ(v),

Es,x[e−uτk−vYτk]=e−vz(Zv(p)(k−z)−Wv(p)(k−z)pWv(p)(k)+vZv(p)(k)Wv(p)′(k)+vWv(p)(k)).\mathbb E_{s,x}\big[e^{-u\tau_k-vY_{\tau_k}}\big]=e^{-vz}\left(Z_v^{(p)}(k-z)-W_v^{(p)}(k-z)\frac{pW_v^{(p)}(k)+vZ_v^{(p)}(k)}{W_v^{(p)\prime}(k)+vW_v^{(p)}(k)}\right).Es,x​[e−uτk​−vYτk​​]=e−vz(Zv(p)​(k−z)−Wv(p)​(k−z)Wv(p)′​(k)+vWv(p)​(k)pWv(p)​(k)+vZv(p)​(k)​).

Here vvv may be negative, so ppp may be negative, which is where the series extension of WWW enters.

Milestones

  • (2) E[eθXt]=etψ(θ)\mathbb E[e^{\theta X_t}]=e^{t\psi(\theta)}E[eθXt​]=etψ(θ).
  • Remark 4: W(u)(x)=evxWv(u−ψ(v))(x)W^{(u)}(x)=e^{vx}W_v^{(u-\psi(v))}(x)W(u)(x)=evxWv(u−ψ(v))​(x) for every real uuu.
  • Proposition 1, (9) and (10): for x∈(a,b)x\in(a,b)x∈(a,b), the Laplace transforms of the exit time of XXX from (a,b)(a,b)(a,b) on the events of exit above and exit below.
  • (13): the splitting of the goal's expectation at the first zero of YYY.
  • (14)–(15) and (16): the two expectations of (13).
  • (22): the value CCC of the functional for YYY started at 000.
  • Remark 6, (23): the stopped process whose martingale property is equivalent to Theorem 1.

Items (13)–(22) are stated under the proof's restriction u≥ψ(v)∨0u\ge\psi(v)\vee0u≥ψ(v)∨0. The goal is not.

Significance

The identity gives, for every spectrally negative Lévy process, the law of the first drawdown of size kkk and of its overshoot. With v=0v=0v=0 it is the Laplace transform of the drawdown time. With u=0u=0u=0 it is the transform of the overshoot. The paper uses it, through its Corollary 1, to solve the perpetual Russian option and the Canadized Russian option in closed form. Identities of this form, written in scale functions, are the standard tool for drawdown and reflected-process problems for spectrally negative Lévy processes.

The theorem is proved. As far as the platform and Mathlib show, none of it is formalized: Mathlib has independent increments and cumulant generating functions but no Lévy process, no scale function and no excursion theory. This mission produces a formal statement of the paper's model and of the exit identities. A complete development would also give Mathlib its first fluctuation-theory results for Lévy processes.

Difficulty

The natural first idea is to treat YYY like XXX and read off its exit from [0,k)[0,k)[0,k) from the two-sided exit identities of Proposition 1. This works only until YYY first returns to 000. Up to that time YYY is a copy of −X-X−X. After it, YYY is reflected at 000, it is not a Lévy process, and no two-sided exit problem of XXX describes it. The whole content of the theorem is the constant CCC of (13), the value of the functional for YYY started at 000, where the reflection acts at every instant. A second difficulty is the range of (u,v)(u,v)(u,v). For v<0v<0v<0 the integrand e−vYτke^{-vY_{\tau_k}}e−vYτk​​ is unbounded, because YYY can jump far above kkk. Its finiteness is part of the claim. So is the passage from the region u≥ψ(v)∨0u\ge\psi(v)\vee0u≥ψ(v)∨0, where every scale function in (12) comes from Definition 2, to all u≥0u\ge0u≥0, where ppp can be negative.

Formalization scope

Time is [0,∞)[0,\infty)[0,∞) (ℝ≥0). XXX is a real process with X0=0X_0=0X0​=0. Px\mathbb P_xPx​ is encoded by the path x+Xx+Xx+X, and Ps,x\mathbb P_{s,x}Ps,x​ by that path together with the prior maximum sss. Random times take values in WithTop ℝ≥0, with ∞\infty∞ as "never". The functional e−uτk−vYτke^{-u\tau_k-vY_{\tau_k}}e−uτk​−vYτk​​ and discount factors e−qTe^{-qT}e−qT are set to 000 where the time is infinite. Every stated expectation carries its integrability as part of the conclusion.

Readings of the paper's informal words:

  • "Lévy process": the paths start at 000, are càdlàg and have no positive jumps for every ω\omegaω, not only almost surely.
  • "We exclude the case that X has monotone paths": the paths are neither almost surely nondecreasing nor almost surely nonincreasing.
  • "unbounded variation": not of bounded variation. The standing assumption is "bounded variation implies (AC)".
  • "Λ(dx)≪dx\Lambda(dx)\ll dxΛ(dx)≪dx": for every Lebesgue-null Borel AAA, almost surely no nonzero jump in (0,1](0,1](0,1] lands in AAA. The Lévy measure is not constructed.
  • "ψ(v)<∞\psi(v)<\inftyψ(v)<∞": evX1e^{vX_1}evX1​ is integrable.
  • "the largest root": the supremum of the nonnegative roots.
  • "the unique function": a definite description by choice.
  • "analytic extension": the series (5) for real negative index. Complex indices are out of scope.
  • "W′W'W′": the derivative at k>0k>0k>0.
  • "is a martingale" in (23): a martingale for the natural filtration of XXX.
  • Misprint: (23) prints vZv(q)(k)vZ_v^{(q)}(k)vZv(q)​(k), and the statement uses vZv(p)(k)vZ_v^{(p)}(k)vZv(p)​(k).

The scale functions are defined from the exponent ψ\psiψ of the given XXX. A formalization in which WWW is an arbitrary function satisfying a Laplace-transform hypothesis is ruled out. So is one in which Wv(p)W_v^{(p)}Wv(p)​ is defined as e−vxW(p+ψ(v))(x)e^{-vx}W^{(p+\psi(v))}(x)e−vxW(p+ψ(v))(x), which would make Remark 4 a tautology.

Infrastructure a complete development needs: Lévy processes and their Laplace exponent, the strong Markov property at stopping times, existence and regularity of scale functions (via Laplace inversion), and the Esscher change of measure. No statement of the mission mentions excursion theory. Contributions of reusable infrastructure for Lévy processes are welcome.

Selected references

  • F. Avram, A. E. Kyprianou, M. R. Pistorius, Exit problems for spectrally negative Lévy processes and applications to (Canadized) Russian options, Ann. Appl. Probab. 14(1), 215–238, 2004. https://doi.org/10.1214/aoap/1075828052
  • J. Bertoin, Lévy Processes, Cambridge University Press, 1996. https://www.cambridge.org/core/books/levy-processes/
  • J. Bertoin, Exponential decay and ergodicity of completely asymmetric Lévy processes in a finite interval, Ann. Appl. Probab. 7(1), 156–169, 1997. https://doi.org/10.1214/aoap/1034625254
16 thms2 active usersReviewed
CombinatoricsGraph TheoryOperations Research+1·Captain: mikedeng1

Scheduling Subject to Resource Constraints: Classification and Complexity III: The Two-Machine Algorithm for Q2 with One Resource and Unit-Time Jobs Is OptimalResearch Paper

Motivation

Many production and computing systems run jobs on parallel machines that also draw on a shared, limited resource: tools, workers, memory, power. Adding such a resource to a scheduling problem can change its complexity entirely. Błażewicz, Lenstra and Rinnooy Kan (DAM 1983) extended the three-field classification α∣β∣γ\alpha\mid\beta\mid\gammaα∣β∣γ of Graham, Lawler, Lenstra and Rinnooy Kan by a resource field resλσρres\lambda\sigma\rhoresλσρ, and determined the complexity of every problem with unit-time jobs on identical or uniform machines under the makespan criterion. Their Fig. 2 separates the maximal polynomially solvable cases from the minimal NP-hard ones.

This mission formalizes the polynomial side. Two identical machines are easy under arbitrary resources (Theorem 1, due to Garey and Johnson, via maximum matching). Three identical machines with one resource are NP-hard in the strong sense (Theorem 4), and so are two uniform machines with unit resources (Theorem 3). What remains for uniform machines is settled by two algorithms: a sorting-and-shifting procedure for two uniform machines with one resource of arbitrary size (Theorem 5), and a bottleneck transportation problem for any number of uniform machines with one resource and 0–1 requirements (Theorem 6). The hardness results are the subject of the companion missions I and II.

Setting

There are nnn jobs J1,…,JnJ_1,\dots,J_nJ1​,…,Jn​ and mmm machines M1,…,MmM_1,\dots,M_mM1​,…,Mm​. Machine MiM_iMi​ has speed qi>0q_i>0qi​>0; every job has unit execution requirement, so it takes time 1/qi1/q_i1/qi​ on MiM_iMi​. Identical machines (PPP) have qi=1q_i=1qi​=1; uniform machines (QQQ) have arbitrary speeds. There are lll resources RhR_hRh​ with positive integer sizes shs_hsh​, and job JjJ_jJj​ needs a nonnegative integer amount rhjr_{hj}rhj​ of RhR_hRh​ throughout its execution. The field resλσρres\lambda\sigma\rhoresλσρ records restrictions: λ\lambdaλ bounds the number of resources, σ\sigmaσ their sizes, ρ\rhoρ the requirements, a dot meaning "part of the input". So res1⋅⋅res1{\cdot}{\cdot}res1⋅⋅ is one resource with arbitrary size and requirements, and res1⋅1res1{\cdot}1res1⋅1 is one resource with requirements in {0,1}\{0,1\}{0,1}.

A schedule gives every job a machine μ(j)\mu(j)μ(j) and a start time Sj≥0S_j\ge0Sj​≥0; the job is executed during [Sj,Cj)[S_j,C_j)[Sj​,Cj​) with Cj=Sj+1/qμ(j)C_j=S_j+1/q_{\mu(j)}Cj​=Sj​+1/qμ(j)​. It is feasible if jobs on the same machine do not overlap and, at every time ttt, the jobs executed at ttt use at most shs_hsh​ of each resource RhR_hRh​. The makespan is Cmax⁡=max⁡jCjC_{\max}=\max_j C_jCmax​=maxj​Cj​. No precedence constraints occur in this mission.

Formalization targets

Goal: Theorem 5, correctness of the algorithm

For Q2∣res1⋅⋅, pj=1∣Cmax⁡Q2\mid res1{\cdot}{\cdot},\,p_j=1\mid C_{\max}Q2∣res1⋅⋅,pj​=1∣Cmax​ with q1≥q2q_1\ge q_2q1​≥q2​: put all jobs on M1M_1M1​ in order of nonincreasing r1jr_{1j}r1j​, then repeatedly move the last job of M1M_1M1​ to the earliest feasible time on M2M_2M2​ after the jobs already there, as long as this strictly reduces Cmax⁡C_{\max}Cmax​. For every order with nonincreasing requirements, the resulting schedule AAA is feasible and

Cmax⁡(A)≤Cmax⁡(σ)for every feasible schedule σ.C_{\max}(A)\le C_{\max}(\sigma)\quad\text{for every feasible schedule }\sigma.Cmax​(A)≤Cmax​(σ)for every feasible schedule σ.

Milestones for the goal

The paper's proof has two steps, both milestones. Call a schedule an (a)–(c) schedule when (a) M1M_1M1​ runs its jobs back to back from time 000 in nonincreasing r1jr_{1j}r1j​, (b) M2M_2M2​ runs its jobs in nondecreasing r1kr_{1k}r1k​, and (c) every requirement on M1M_1M1​ is at least every requirement on M2M_2M2​.

  1. The algorithm's schedule is feasible, is an (a)–(c) schedule, and is best among feasible (a)–(c) schedules.
  2. Every feasible schedule can be transformed into a feasible (a)–(c) schedule with no larger Cmax⁡C_{\max}Cmax​.

Further results

  • Theorem 1. For P2∣res⋅⋅⋅, pj=1∣Cmax⁡P2\mid res{\cdot}{\cdot}{\cdot},\,p_j=1\mid C_{\max}P2∣res⋅⋅⋅,pj​=1∣Cmax​, with GGG the graph joining two jobs when they can run together and SSS a maximum matching of GGG, the optimal makespan is n−∣S∣n-|S|n−∣S∣.
  • Theorem 6. For Q∣res1⋅1, pj=1∣Cmax⁡Q\mid res1{\cdot}1,\,p_j=1\mid C_{\max}Q∣res1⋅1,pj​=1∣Cmax​ with the s1s_1s1​ fastest machines listed first, the optimal makespan equals the optimal value of a bottleneck transportation problem that assigns jobs to slots (machine, position) with cost k/qik/q_ik/qi​, resource jobs only to the s1s_1s1​ fastest machines.

Significance

Theorems 5 and 6 complete the classification of Fig. 2 for uniform machines: every special case of Q∣res⋅⋅⋅, pj=1∣Cmax⁡Q\mid res{\cdot}{\cdot}{\cdot},\,p_j=1\mid C_{\max}Q∣res⋅⋅⋅,pj​=1∣Cmax​ not covered by the hardness theorems has a polynomial algorithm. Theorem 1 is the classical reduction of two-machine resource scheduling to maximum matching, the model case for later work on scheduling with conflict graphs.

The paper proves these results briefly: "clearly" for the first half of Theorem 5, "obviously" for Theorem 1, and a one-paragraph model for Theorem 6. The exchange argument of Theorem 5 is presented "in an informal way" through five steps that pass through fractional, preempted jobs. A machine-checked proof makes these arguments exact on a model with real start times. No formalization of these results is known, and the platform had no statement about resource-constrained scheduling on uniform machines before this mission.

Difficulty

With q1≠q2q_1\ne q_2q1​=q2​ the job boundaries on the two machines are misaligned: a job on M2M_2M2​ overlaps parts of several jobs on M1M_1M1​, so the resource check cannot be done slot by slot, and discrete reasoning on integer time grids does not apply. The exchange argument of Theorem 5 must control the resource usage at every real time while jobs are moved between machines and reordered, and it has to end with a nonpreemptive schedule even though the paper's intermediate steps split jobs. For Theorem 1, the hard direction is the lower bound: a feasible schedule with arbitrary real start times must be converted into a matching, which is a statement about how unit jobs on two machines can overlap. For Theorem 6, one must show that restricting resource jobs to the fastest machines and to back-to-back positions loses nothing.

Formalization scope

  • Model. Jobs, machines and resources are Fin n, Fin m, Fin l (0-based). Speeds are positive reals, sizes positive naturals, requirements naturals. Start times are nonnegative reals, execution intervals are half-open, and the resource constraint is checked at every real time. Cmax⁡=0C_{\max}=0Cmax​=0 for n=0n=0n=0. The model carries a precedence digraph for consistency with the companion missions; every statement here assumes it has no arcs.
  • Implicit hypothesis. Theorems 1 and 5 assume every job fits alone (rhj≤shr_{hj}\le s_hrhj​≤sh​), which the paper leaves unstated; without it no feasible schedule exists.
  • The algorithm is a Lean definition following the page: the order is an argument (any nonincreasing order), "as early as possible" is the earliest start after M2M_2M2​'s last job at which the resource constraint holds throughout, and the loop stops at the first move that does not strictly reduce Cmax⁡C_{\max}Cmax​.
  • Optimality is always stated in full: feasibility plus a lower bound against every feasible schedule. No minimum is written as an infimum of a possibly empty set.
  • Theorem 6 is stated with 0–1 slot assignments, the interpretation the paper gives to xijkx_{ijk}xijk​; the page's constraint ∑k=1m\sum_{k=1}^{m}∑k=1m​ is read as ∑k=1n\sum_{k=1}^{n}∑k=1n​.
  • Not formalized: the running times O(ln2+n5/2)O(ln^2+n^{5/2})O(ln2+n5/2) (Theorem 1), O(nlog⁡n)O(n\log n)O(nlogn) (Theorem 5, including the phrase "This O(n log n) algorithm") and O(n3)O(n^3)O(n3) (Theorem 6), which depend on a machine model the paper does not fix and, for Theorems 1 and 6, on cited matching and transportation algorithms.
  • Ruled out: a formalization of the goal that proves optimality only against (a)–(c) schedules, against schedules with integer start times, or for one fixed tie-breaking order proves less than Theorem 5.

Contributions welcome: lemmas about step functions of resource usage on half-open intervals, a left-shifting lemma for unit-time schedules on two machines, and the exchange steps of Theorem 5 as separate lemmas.

Selected references

  • J. Błażewicz, J.K. Lenstra, A.H.G. Rinnooy Kan, Scheduling subject to resource constraints: classification and complexity, Discrete Applied Mathematics 5 (1983) 11–24. https://doi.org/10.1016/0166-218X(83)90012-4
  • M.R. Garey, D.S. Johnson, Complexity results for multiprocessor scheduling under resource constraints, SIAM Journal on Computing 4 (1975) 397–411. https://doi.org/10.1137/0204035
  • R.L. Graham, E.L. Lawler, J.K. Lenstra, A.H.G. Rinnooy Kan, Optimization and approximation in deterministic sequencing and scheduling: a survey, Annals of Discrete Mathematics 5 (1979) 287–326. https://doi.org/10.1016/S0167-5060(08)70356-X
  • S. Even, O. Kariv, An O(n^{2.5}) algorithm for maximum matching in general graphs, Proc. 16th IEEE FOCS (1975) 100–112. https://doi.org/10.1109/SFCS.1975.23
10 thms1 active userReviewed
AnalysisOperations ResearchOptimization·Captain: mikedeng1

Generalized Gradients and Applications I: The Generalized Gradient of a Max FunctionResearch Paper

Motivation

Many objective functions in optimization are pointwise maxima: the worst case of a loss over an uncertainty set, the value of a minimax problem as a function of the outer variable, a penalty max⁡igi(x)\max_i g_i(x)maxi​gi​(x) for a system of constraints, or the largest eigenvalue of a symmetric matrix. Such a function

f(x)=max⁡{g(x,u):u∈U}f(x)=\max\{g(x,u):u\in U\}f(x)=max{g(x,u):u∈U}

is typically not differentiable even when every piece g(⋅,u)g(\cdot,u)g(⋅,u) is smooth, because the maximizing uuu jumps. Descent methods, optimality conditions and sensitivity analysis for these problems all need a substitute for the gradient of fff and a formula for its directional derivatives.

Danskin's theorem (Danskin 1966) answers this when ∇xg(x,u)\nabla_x g(x,u)∇x​g(x,u) exists and is continuous in (x,u)(x,u)(x,u) and UUU is compact: fff has one-sided directional derivatives f′(x;v)=max⁡{∇xg(x,u)⋅v:u∈M(x)}f'(x;v)=\max\{\nabla_x g(x,u)\cdot v:u\in M(x)\}f′(x;v)=max{∇x​g(x,u)⋅v:u∈M(x)}, where M(x)M(x)M(x) is the set of maximizers. Convex analysis gives the analogue when each g(⋅,u)g(\cdot,u)g(⋅,u) is convex (Rockafellar 1970). In Generalized gradients and applications (Clarke 1975) Frank Clarke introduced the generalized gradient of a locally Lipschitz function and proved, as his first application, a single theorem, Theorem (2.1), that contains both cases. The generalized gradient became the standard object of nonsmooth analysis (Clarke 1983), and Theorem (2.1) is the prototype of every "subdifferential of a max function" rule used in minimax optimization.

Setting

Work in Rn\mathbb R^nRn with the Euclidean norm ∣⋅∣|\cdot|∣⋅∣ and inner product ζ⋅v\zeta\cdot vζ⋅v. A function f:Rn→Rf:\mathbb R^n\to\mathbb Rf:Rn→R is locally Lipschitz if for every bounded set BBB there is KKK with ∣f(x1)−f(x2)∣≤K∣x1−x2∣|f(x_1)-f(x_2)|\le K|x_1-x_2|∣f(x1​)−f(x2​)∣≤K∣x1​−x2​∣ for x1,x2∈Bx_1,x_2\in Bx1​,x2​∈B. By Rademacher's theorem such fff is differentiable almost everywhere.

  • The generalized gradient ∂f(x)\partial f(x)∂f(x) (Definition (1.1)) is the convex hull of all limits lim⁡i∇f(x+hi)\lim_i\nabla f(x+h_i)limi​∇f(x+hi​), where hi→0h_i\to0hi​→0, fff is differentiable at each x+hix+h_ix+hi​, and the gradients converge.
  • The generalized directional derivative (Definition (1.3)) is
f∘(x;v)=lim sup⁡h→0, δ↓0f(x+h+δv)−f(x+h)δ,f^\circ(x;v)=\limsup_{h\to0,\ \delta\downarrow0}\frac{f(x+h+\delta v)-f(x+h)}{\delta},f∘(x;v)=h→0, δ↓0limsup​δf(x+h+δv)−f(x+h)​,

and the one-sided directional derivative is f′(x;v)=lim⁡δ↓0[f(x+δv)−f(x)]/δf'(x;v)=\lim_{\delta\downarrow0}[f(x+\delta v)-f(x)]/\deltaf′(x;v)=limδ↓0​[f(x+δv)−f(x)]/δ when the limit exists.

  • A multifunction Φ\PhiΦ into subsets of Rn\mathbb R^nRn is upper semicontinuous if xi→xx_i\to xxi​→x, vi→vv_i\to vvi​→v and vi∈Φ(xi)v_i\in\Phi(x_i)vi​∈Φ(xi​) imply v∈Φ(x)v\in\Phi(x)v∈Φ(x).

For the max function, UUU is a nonempty sequentially compact topological space and g:Rn×U→Rg:\mathbb R^n\times U\to\mathbb Rg:Rn×U→R. Write ∂xg(x,u)\partial_xg(x,u)∂x​g(x,u), gx∘(x,u;v)g^\circ_x(x,u;v)gx∘​(x,u;v), gx′(x,u;v)g'_x(x,u;v)gx′​(x,u;v) for the objects above applied to y↦g(y,u)y\mapsto g(y,u)y↦g(y,u) at xxx. Let f(x)=max⁡u∈Ug(x,u)f(x)=\max_{u\in U}g(x,u)f(x)=maxu∈U​g(x,u) and M(x)={u∈U:g(x,u)=f(x)}M(x)=\{u\in U:g(x,u)=f(x)\}M(x)={u∈U:g(x,u)=f(x)}. The hypotheses of Theorem (2.1) are:

  • (a) ggg is upper semicontinuous in (x,u)(x,u)(x,u);
  • (b) ggg is locally Lipschitz in xxx uniformly in uuu: for each bounded BBB one constant KKK serves for every u∈Uu\in Uu∈U;
  • (c) for all x,u,vx,u,vx,u,v, gx′(x,u;v)g'_x(x,u;v)gx′​(x,u;v) exists and equals gx∘(x,u;v)g^\circ_x(x,u;v)gx∘​(x,u;v);
  • (d) (x,u)↦∂xg(x,u)(x,u)\mapsto\partial_xg(x,u)(x,u)↦∂x​g(x,u) is upper semicontinuous on Rn×U\mathbb R^n\times URn×U.

Formalization targets

Goal: Theorem (2.1)

Under (a)–(d):

  1. fff is locally Lipschitz;
  2. f′(x;v)f'(x;v)f′(x;v) exists for all x,vx,vx,v;
  3. f′(x;v)=f∘(x;v)=max⁡{ζ⋅v:ζ∈∂xg(x,u), u∈M(x)}f'(x;v)=f^\circ(x;v)=\max\{\zeta\cdot v:\zeta\in\partial_xg(x,u),\ u\in M(x)\}f′(x;v)=f∘(x;v)=max{ζ⋅v:ζ∈∂x​g(x,u), u∈M(x)};
  4. for every xxx,
∂f(x)=co⁡{∂xg(x,u):u∈M(x)}.\partial f(x)=\operatorname{co}\{\partial_xg(x,u):u\in M(x)\}.∂f(x)=co{∂x​g(x,u):u∈M(x)}.

Milestones

  • Proposition (1.4): f∘(x;v)=max⁡{ζ⋅v:ζ∈∂f(x)}f^\circ(x;v)=\max\{\zeta\cdot v:\zeta\in\partial f(x)\}f∘(x;v)=max{ζ⋅v:ζ∈∂f(x)} for locally Lipschitz fff.
  • Corollary (1.10): if ζ⋅v≤lim sup⁡δ↓0[f(x+δv)−f(x)]/δ\zeta\cdot v\le\limsup_{\delta\downarrow0}[f(x+\delta v)-f(x)]/\deltaζ⋅v≤limsupδ↓0​[f(x+δv)−f(x)]/δ for all vvv, then ζ∈∂f(x)\zeta\in\partial f(x)ζ∈∂f(x).
  • Theorem (2.1)(1): under (a), (b), fff is locally Lipschitz.
  • (2.2): co⁡{∂xg(x,u):u∈M(x)}⊆∂f(x)\operatorname{co}\{\partial_xg(x,u):u\in M(x)\}\subseteq\partial f(x)co{∂x​g(x,u):u∈M(x)}⊆∂f(x).
  • (2.3): if fff is differentiable at xˉ\bar xxˉ and u∈M(xˉ)u\in M(\bar x)u∈M(xˉ), then ∂xg(xˉ,u)={∇f(xˉ)}\partial_xg(\bar x,u)=\{\nabla f(\bar x)\}∂x​g(xˉ,u)={∇f(xˉ)}.
  • Theorem (2.1)(4): the equality above.

Significance

The result. Theorem (2.1) computes the directional derivatives and the generalized gradient of a max function from those of its active pieces. It yields Danskin's theorem when ∇xg\nabla_xg∇x​g is continuous, and the convex max rule when each g(⋅,u)g(\cdot,u)g(⋅,u) is convex, and it applies to nonsmooth, nonconvex families satisfying (c), a property later called regularity (Clarke 1983, §2.3). In the same paper it is applied to the distance function dE(x)=min⁡e∈E∣x−e∣d_E(x)=\min_{e\in E}|x-e|dE​(x)=mine∈E​∣x−e∣ to compute ∂dE\partial d_E∂dE​ (Proposition (2.4), Corollary (2.5)), which then drives the characterization of flow-invariant sets in §4. Proposition (1.4) and Corollary (1.10), which the theorem rests on, are the duality between ∂f\partial f∂f and f∘f^\circf∘ used throughout nonsmooth optimization: Clarke stationarity, bundle methods and subgradient methods for weakly convex functions all state their results against them.

Formalizing it. The results are classical and proved; none of them, to the platform's knowledge, has a machine-checked proof. Mathlib has Rademacher's theorem, gradients and convex hulls, but no Clarke generalized gradient. This mission builds the first layer of nonsmooth analysis: the definitions of ∂f\partial f∂f, f∘f^\circf∘, f′f'f′ and upper semicontinuity of multifunctions, the support-function duality, and the max rule.

Difficulty

The obvious approach reads ∂f(x)\partial f(x)∂f(x) off a single active piece. It fails because the active set M(x+h)M(x+h)M(x+h) changes as h→0h\to0h→0, may be infinite, and need not converge; fff can be differentiable at points where no individual piece is known to be. Hypothesis (c) cannot be dropped: for UUU a single point and g(x,u)=−∣x∣g(x,u)=-|x|g(x,u)=−∣x∣ on R\mathbb RR, f=gf=gf=g has f′(0;v)=−∣v∣f'(0;v)=-|v|f′(0;v)=−∣v∣ while f∘(0;v)=∣v∣f^\circ(0;v)=|v|f∘(0;v)=∣v∣, so conclusion (3) fails. Limits of maximizers exist only through the sequential compactness of UUU together with (a), and limits of gradients only through the joint closed-graph condition (d) in (x,u)(x,u)(x,u); continuity in xxx for each fixed uuu is not enough. Proposition (1.4), on which everything rests, is itself a measure-theoretic statement: it relates the upper limit of difference quotients over all nearby base points to gradients that exist only almost everywhere.

Formalization scope

  • Rn\mathbb R^nRn is EuclideanSpace ℝ (Fin n), ζ⋅v\zeta\cdot vζ⋅v is inner ℝ ζ v, ∇f\nabla f∇f is Mathlib's gradient, and "∇f(x)\nabla f(x)∇f(x) exists" is DifferentiableAt ℝ f x.
  • "Locally Lipschitz" is the paper's bounded-set form, LipschitzOnBounded. Hypothesis (b) is ∀ B bounded, ∃ K, ∀ u, LipschitzOnWith K (g · u) B: the constant is uniform in uuu.
  • ∂f(x)\partial f(x)∂f(x) is the plain convex hull (no closure) of limits of gradients taken only at differentiability points; without that restriction 000 would belong to every ∂f(x)\partial f(x)∂f(x), because gradient is 000 where fff is not differentiable.
  • f∘f^\circf∘ is Filter.limsup in R\mathbb RR along N(0)×N>(0)\mathcal N(0)\times\mathcal N_{>}(0)N(0)×N>​(0); this is a junk value for non-Lipschitz fff, so every statement using f∘f^\circf∘ assumes the Lipschitz hypothesis. The one-sided derivative is a Tendsto along N>(0)\mathcal N_{>}(0)N>​(0).
  • "max" in conclusions is IsGreatest, which asserts attainment. The max function is ⨆ u, g x u; UUU is nonempty ([Nonempty U]) and SeqCompactSpace, and (a) is Mathlib's UpperSemicontinuous on Rn×U\mathbb R^n\times URn×U. The paper uses U≠∅U\ne\emptysetU=∅ implicitly; with U=∅U=\emptysetU=∅ conclusion (4) would be false.
  • (d) is the sequential closed-graph property in (x,u)(x,u)(x,u) jointly, not Mathlib's UpperHemicontinuous.
  • A formalization in which ∂f\partial f∂f contains junk gradients, f∘f^\circf∘ is a limsup without the Lipschitz hypothesis, or "max" is sSup without attainment would make the statements trivial or false; these are ruled out as above.

Contributions welcome: proofs of the milestones, in particular Proposition (1.4) and Corollary (1.10), which are reusable for every later nonsmooth-analysis mission; lemmas that ∂f(x)\partial f(x)∂f(x) is nonempty and compact; the equivalence of LipschitzOnBounded with Mathlib's LocallyLipschitz.

Selected references

  • F. H. Clarke, Generalized gradients and applications, Trans. Amer. Math. Soc. 205 (1975), 247–262. https://doi.org/10.1090/s0002-9947-1975-0367131-6
  • J. M. Danskin, The theory of max-min, with applications, SIAM J. Appl. Math. 14 (1966), 641–664. https://doi.org/10.1137/0114053
  • R. T. Rockafellar, Convex Analysis, Princeton University Press, 1970. https://doi.org/10.1515/9781400873173
  • F. H. Clarke, Optimization and Nonsmooth Analysis, Wiley, 1983; SIAM Classics reprint 1990. https://doi.org/10.1137/1.9781611971309
13 thms2 active usersReviewed
Convex OptimizationOperations ResearchOptimization·Captain: mikedeng1

The Generalized Quasi-Variational Inequality Problem I: Existence for the Generalized Implicit Complementarity Problem under Strong CopositivityResearch Paper

Motivation

Variational inequalities and complementarity problems are the standard formulation of equilibrium in operations research and mathematical economics: traffic equilibria, spatial price equilibria, Nash equilibria of convex games, and the optimality conditions of constrained optimization all take this form. Many applications have two features that the classical theory does not cover. The feasible set of a player or a flow can depend on the current state (a quasi-variational inequality, as in generalized Nash games with shared constraints), and the response map can be set-valued (a subdifferential, or a best-response correspondence). D. Chan and J. S. Pang (Math. Oper. Res. 7 (1982) 211–222) introduced the generalized quasi-variational inequality covering both, proved existence theorems for it, and derived existence for a new generalized implicit complementarity problem.

Timeline of the results this mission builds on:

  • 1966: Hartman and Stampacchia prove existence for the variational inequality on a compact convex set.
  • 1973: Bensoussan, Goursat and Lions introduce quasi-variational inequalities for impulse control.
  • 1976: Saigal extends the complementarity problem to set-valued maps.
  • 1974: Moré gives coercivity conditions for nonlinear complementarity problems; a special version of the lemma of §3 appears there.
  • 1979: Fang and Peterson prove a general existence theorem for generalized variational inequalities (report, University of Maryland Baltimore County); the lemma of §3 and the constant-KKK case of Theorem 3.2 are taken from there.
  • 1982: Chan and Pang prove existence for the generalized quasi-variational inequality using the Eilenberg–Montgomery fixed point theorem, and derive existence for the generalized implicit complementarity problem under strong copositivity (Theorem 4.2), the goal of this mission.

Setting

Throughout, Rn\mathbb R^nRn carries the Euclidean inner product xTyx^T yxTy and norm ∥x∥\|x\|∥x∥. A point-to-set mapping KKK assigns to each x∈Rnx\in\mathbb R^nx∈Rn a set K(x)⊆RnK(x)\subseteq\mathbb R^nK(x)⊆Rn. Given point-to-set mappings KKK and fff, the problem GQVI(K,f)\mathrm{GQVI}(K,f)GQVI(K,f) asks for vectors x,yx,yx,y with

x∈K(x),y∈f(x),(x′−x)Ty≥0  for all x′∈K(x).x\in K(x),\qquad y\in f(x),\qquad (x'-x)^T y\ge 0\ \text{ for all } x'\in K(x).x∈K(x),y∈f(x),(x′−x)Ty≥0  for all x′∈K(x).

A cone is a convex set containing 000 and closed under nonnegative scaling. The dual cone of a set SSS is S∗={y:yTx≥0 for all x∈S}S^*=\{y : y^T x\ge 0 \text{ for all } x\in S\}S∗={y:yTx≥0 for all x∈S}. For a point-to-point map mmm, a cone-valued map LLL and a point-to-set map fff, the problem GICP(L,m,f)\mathrm{GICP}(L,m,f)GICP(L,m,f) asks for x,yx,yx,y with

x∈m(x)+L(x),y∈f(x)∩L(x)∗,yT(x−m(x))=0.x\in m(x)+L(x),\qquad y\in f(x)\cap L(x)^*,\qquad y^T\big(x-m(x)\big)=0 .x∈m(x)+L(x),y∈f(x)∩L(x)∗,yT(x−m(x))=0.

A mapping fff is upper semicontinuous on a set CCC at x∈Cx\in Cx∈C if for each open G⊇f(x)G\supseteq f(x)G⊇f(x) there is a neighbourhood NNN of xxx with f(y)⊆Gf(y)\subseteq Gf(y)⊆G for y∈N∩Cy\in N\cap Cy∈N∩C; lower semicontinuous if for each open GGG meeting f(x)f(x)f(x), f(y)f(y)f(y) meets GGG for all yyy near xxx in CCC; continuous if both. A set SSS is contractible if some point x∈Sx\in Sx∈S and a continuous g:S×[0,1]→Sg:S\times[0,1]\to Sg:S×[0,1]→S satisfy g(x′,0)=x′g(x',0)=x'g(x′,0)=x′, g(x′,1)=xg(x',1)=xg(x′,1)=x. BrB_rBr​ is the closed ball of radius rrr about the origin, CrC_rCr​ its boundary sphere. For point-to-set maps μ\muμ and KKK, the coercivity function is

Cμ,K(r,x0)=inf⁡x∈K(x)∩Cr[inf⁡y∈μ(x)(x−x0)Ty]/(r+∥x0∥),C_{\mu,K}(r,x^0)=\inf_{x\in K(x)\cap C_r}\Big[\inf_{y\in\mu(x)}(x-x^0)^T y\Big]\Big/(r+\|x^0\|),Cμ,K​(r,x0)=x∈K(x)∩Cr​inf​[y∈μ(x)inf​(x−x0)Ty]/(r+∥x0∥),

with inf⁡∅=+∞\inf\emptyset=+\inftyinf∅=+∞. The map μ\muμ is strongly copositive with respect to KKK at x0x^0x0 if x0∈K(x0)x^0\in K(x^0)x0∈K(x0) and for some α>0\alpha>0α>0 and y0∈μ(x0)y^0\in\mu(x^0)y0∈μ(x0), (y−y0)T(x−x0)≥α∥x−x0∥2(y-y^0)^T(x-x^0)\ge\alpha\|x-x^0\|^2(y−y0)T(x−x0)≥α∥x−x0∥2 for all x∈K(x)x\in K(x)x∈K(x) and y∈μ(x)y\in\mu(x)y∈μ(x). For μ\muμ and q∈Rnq\in\mathbb R^nq∈Rn, (μ+q)(x)={y+q:y∈μ(x)}(\mu+q)(x)=\{y+q : y\in\mu(x)\}(μ+q)(x)={y+q:y∈μ(x)}.

Formalization targets

Goal: Theorem 4.2 (p. 218)

Let L~\tilde LL~ be a closed cone with nonempty interior, mmm continuous, K(x)=m(x)+L~K(x)=m(x)+\tilde LK(x)=m(x)+L~, and μ\muμ a mapping with nonempty contractible compact values, upper semicontinuous on Rn\mathbb R^nRn. If some u~\tilde uu~ satisfies u~−m(x)∈L~\tilde u-m(x)\in\tilde Lu~−m(x)∈L~ for all xxx, and μ\muμ is strongly copositive with respect to KKK at u~\tilde uu~, then for every qqq

∃ x,y:x−m(x)∈L~,y∈μ(x)+q,y∈L~∗,yT(x−m(x))=0.\exists\, x,y:\quad x-m(x)\in\tilde L,\quad y\in\mu(x)+q,\quad y\in\tilde L^*,\quad y^T(x-m(x))=0 .∃x,y:x−m(x)∈L~,y∈μ(x)+q,y∈L~∗,yT(x−m(x))=0.

Milestones, in the order the proof uses them

  • Theorem 3.1 (p. 214): for continuous φ\varphiφ quasi-concave in its first argument on a nonempty compact convex CCC, some u∗∈V(u∗)=K(u∗)∩Cu^*\in V(u^*)=K(u^*)\cap Cu∗∈V(u∗)=K(u∗)∩C and w∗∈f(u∗)w^*\in f(u^*)w∗∈f(u∗) satisfy φ(v,u∗,w∗)≤φ(u∗,u∗,w∗)\varphi(v,u^*,w^*)\le\varphi(u^*,u^*,w^*)φ(v,u∗,w∗)≤φ(u∗,u∗,w∗) for all v∈V(u∗)v\in V(u^*)v∈V(u∗).
  • Lemma of §3 (p. 215): a variational inequality on W∩EW\cap EW∩E at a point of W∩E0W\cap E^0W∩E0 extends to WWW.
  • Theorem 3.2 (p. 215): existence for GQVI(K,f)\mathrm{GQVI}(K,f)GQVI(K,f) from a compact truncation C=U∩EC=U\cap EC=U∩E and a boundary condition on ∂E\partial E∂E.
  • Theorem 4.1 (p. 217): if Cμ,K(r,x0)≥0C_{\mu,K}(r,x^0)\ge 0Cμ,K​(r,x0)≥0, then GQVI(K,μ+q)\mathrm{GQVI}(K,\mu+q)GQVI(K,μ+q) has a solution in BrB_rBr​ whenever ∥q∥≤Cμ,K(r,x0)\|q\|\le C_{\mu,K}(r,x^0)∥q∥≤Cμ,K​(r,x0).
  • Corollary 4.1 (pp. 217–218): under the coercivity condition (4), GQVI(K,μ+q)\mathrm{GQVI}(K,\mu+q)GQVI(K,μ+q) is solvable for every qqq, with bounded solution set.
  • Lemma 4.1 (p. 218): strong copositivity at x0x^0x0 implies coercivity (4) at x0x^0x0.
  • Proposition 2.1 (p. 213): GICP(L,m,f)\mathrm{GICP}(L,m,f)GICP(L,m,f) and GQVI(m+L,f)\mathrm{GQVI}(m+L,f)GQVI(m+L,f) have the same solutions.

Significance

Theorem 4.2 gives existence for complementarity problems whose cone is translated by a state-dependent map mmm and whose response map is set-valued. It contains existence for the implicit complementarity problem of Capuzzo-Dolcetta, Mosco and Pang (L~=R+n\tilde L=\mathbb R^n_+L~=R+n​) with strongly monotone data (Corollary 4.2 of the paper), and Saigal's generalized complementarity problem (m≡0m\equiv0m≡0). Theorems 3.2 and 4.1 are general-purpose existence tools for quasi-variational inequalities with set-valued maps; Theorem 3.2 reduces to the Fang–Peterson theorem when KKK is constant, and Corollary 3.1 to the Hartman–Stampacchia theorem when in addition fff is single-valued.

All results of the paper are proved; none is open. To our knowledge none of them has been formalized: no proof assistant library contains quasi-variational inequalities with set-valued maps, and Mathlib has neither Kakutani's nor the Eilenberg–Montgomery fixed point theorem (nor Brouwer's). A formal proof of the goal therefore also produces a reusable library of set-valued existence theory.

Difficulty

The whole chain rests on Theorem 3.1, whose proof applies the Eilenberg–Montgomery fixed point theorem for upper semicontinuous maps with acyclic (here contractible) compact values; this in turn needs either singular homology or an approximation argument, neither of which is available in Mathlib. Replacing "contractible" by "convex" to use Kakutani's theorem would prove a strictly weaker theorem: the paper states contractible values deliberately. The second difficulty is that the fixed point only solves the problem on the truncation V(x)=K(x)∩CV(x)=K(x)\cap CV(x)=K(x)∩C; turning it into a solution over all of K(x)K(x)K(x) needs the boundary argument of Theorem 3.2, and for Theorem 4.2 the continuity of x↦(m(x)+L~)∩Bρx\mapsto (m(x)+\tilde L)\cap B_\rhox↦(m(x)+L~)∩Bρ​, which is where the solidity of L~\tilde LL~ is used. The obvious approach of applying Theorem 3.2 directly with C=RnC=\mathbb R^nC=Rn fails because CCC must be compact.

Formalization scope

The space is EuclideanSpace ℝ (Fin n), so all norms and balls are Euclidean (not the sup norm of Fin n → ℝ). Point-to-set mappings are functions into Set; semicontinuity "on CCC" is Mathlib's UpperHemicontinuousOn/LowerHemicontinuousOn with neighbourhoods relative to CCC, and "on Rn\mathbb R^nRn" is UpperHemicontinuous. Cones are PointedCone ℝ _ (convex, containing 000, as footnote 1 of the paper says). Balls are centred at the origin.

Conventions that the Lean statements make explicit:

  • The paper takes its semicontinuity from Berge, whose upper semicontinuous maps have compact values. Theorems 3.1, 3.2, 4.1 and Corollary 4.1 are false without this (K(x)≡(0,1)K(x)\equiv(0,1)K(x)≡(0,1), C=[0,1]C=[0,1]C=[0,1], f≡{1}f\equiv\{1\}f≡{1}), so each one carries an explicit closedness hypothesis on K(x)∩CK(x)\cap CK(x)∩C or K(x)∩BρK(x)\cap B_\rhoK(x)∩Bρ​. Theorem 4.2 needs none, since m(x)+L~m(x)+\tilde Lm(x)+L~ is closed.
  • Every infimum uses inf⁡∅=+∞\inf\emptyset=+\inftyinf∅=+∞. Bounds of the form Cμ,K(r,x0)≥cC_{\mu,K}(r,x^0)\ge cCμ,K​(r,x0)≥c, condition (v) of Theorem 3.2, and the limit (4) are stated in universally quantified form. A real-valued Cμ,KC_{\mu,K}Cμ,K​ would be wrong: it returns 000 on an empty set.
  • Lemma 4.1 is stated at the same point x0x^0x0, which is what its proof gives. In Corollary 4.1 the bound rrr on the solutions is chosen after qqq.
  • Three glyphs are illegible in the scan and are read from the proofs: ≤\le≤ in Theorem 3.1, ≥0\ge 0≥0 in Theorem 3.2(v), and ≥\ge≥ in the Lemma of §3.

A trivializing formalization is ruled out: the GQVI solution tests over all of K(x)K(x)K(x), not over V(x)=K(x)∩CV(x)=K(x)\cap CV(x)=K(x)∩C, and the GICP solution keeps both the dual-cone condition and the complementarity equation. Dropping any of these would turn the goal into a restatement of Theorem 3.1.

A complete development needs: an Eilenberg–Montgomery (or at least Kakutani plus an acyclicity argument) fixed point theorem for set-valued maps, Berge's maximum theorem, and basic facts on hemicontinuity of intersections and translates of set-valued maps. The fixed point theorems, the maximum theorem and the hemicontinuity lemmas are reusable far beyond this mission. Contributions of any of these as separate theorems are welcome.

Selected references

  • D. Chan, J. S. Pang, The generalized quasi-variational inequality problem, Mathematics of Operations Research 7(2) (1982) 211–222. https://doi.org/10.1287/moor.7.2.211
  • S. Eilenberg, D. Montgomery, Fixed point theorems for multi-valued transformations, American Journal of Mathematics 68 (1946) 214–222. https://doi.org/10.2307/2371832
  • C. Berge, Topological Spaces, Macmillan, New York, 1963.
  • S. C. Fang, E. L. Peterson, Generalized variational inequalities, Mathematics Research Report 79-10, Department of Mathematics, University of Maryland Baltimore County, 1979 (no public link).
  • J. J. Moré, Coercivity conditions in nonlinear complementarity problems, SIAM Review 16(1) (1974) 1–16. https://doi.org/10.1137/1016001
  • P. Hartman, G. Stampacchia, On some non-linear elliptic differential-functional equations, Acta Mathematica 115 (1966) 271–310. https://doi.org/10.1007/BF02392210
  • R. Saigal, Extension of the generalized complementarity problem, Mathematics of Operations Research 1(3) (1976) 260–266. https://doi.org/10.1287/moor.1.3.260
12 thms3 active usersReviewed
Control TheoryOperations ResearchOptimization·Captain: mikedeng1

Optimizing Static Linear Feedback: Gradient Method I: The Gradient Method Converges to a Stationary Point, and Linearly to the Optimal Gain under State FeedbackResearch Paper

Motivation

The linear-quadratic regulator (LQR) is the basic problem of optimal control: steer a linear system x˙=Ax+Bu\dot x = Ax + Bux˙=Ax+Bu so as to minimize an integrated quadratic cost. When the full state is measured and the gain may be chosen freely, the optimal feedback is given by the algebraic Riccati equation (Kalman, 1960). In many applications only an output y=Cxy = Cxy=Cx is measured, and the controller is restricted to a static feedback u=−Kyu = -Kyu=−Ky. For this output-feedback problem no Riccati-type characterization exists; the design problem is a non-convex optimization over the gain matrix KKK.

Direct optimization of the gain by gradient descent, known in the control literature since Levine and Athans (1970) and revived in reinforcement learning as policy gradient (Fazel, Ge, Kakade and Mesbahi, 2018, arXiv:1801.05039), is therefore of interest both to control engineers and to the learning community. Fatkhullin and Polyak (arXiv:2004.09875, SIAM J. Control Optim. 2021) give a self-contained analysis of the continuous-time problem: the cost is coercive on the set of stabilizing gains, smooth on sublevel sets, and, for state feedback, satisfies a gradient-domination (Łežanski–Polyak–Łojasiewicz) inequality. From these they derive convergence guarantees for the gradient method.

Setting

Fix real matrices A∈Rn×nA\in\mathbb R^{n\times n}A∈Rn×n, B∈Rn×mB\in\mathbb R^{n\times m}B∈Rn×m, C∈Rr×nC\in\mathbb R^{r\times n}C∈Rr×n and weights Q∈Rn×nQ\in\mathbb R^{n\times n}Q∈Rn×n, R∈Rm×mR\in\mathbb R^{m\times m}R∈Rm×m, and an initial-state covariance Σ∈Rn×n\Sigma\in\mathbb R^{n\times n}Σ∈Rn×n. A gain is a matrix K∈Rm×rK\in\mathbb R^{m\times r}K∈Rm×r, and the closed-loop matrix is AK=A−BKCA_K = A - BKCAK​=A−BKC. A square matrix is Hurwitz if all its complex eigenvalues have negative real part. The set of stabilizing gains is

S={K∈Rm×r:AK is Hurwitz}.\mathcal S = \{K\in\mathbb R^{m\times r} : A_K \text{ is Hurwitz}\}.S={K∈Rm×r:AK​ is Hurwitz}.

For K∈SK\in\mathcal SK∈S let X(K)X(K)X(K) be the unique solution of the Lyapunov equation

AK⊤X+XAK+C⊤K⊤RKC+Q=0,A_K^\top X + XA_K + C^\top K^\top RKC + Q = 0,AK⊤​X+XAK​+C⊤K⊤RKC+Q=0,

and define the cost f(K)=Tr(X(K)Σ)f(K)=\mathrm{Tr}\big(X(K)\Sigma\big)f(K)=Tr(X(K)Σ), the expected integrated quadratic cost of the closed loop from a random initial state with covariance Σ\SigmaΣ. With Y(K)Y(K)Y(K) the solution of AKY+YAK⊤+Σ=0A_KY+YA_K^\top+\Sigma=0AK​Y+YAK⊤​+Σ=0, the gradient of fff in the Frobenius inner product is

∇f(K)=2(RKC−B⊤X(K))Y(K)C⊤.\nabla f(K)=2\big(RKC-B^\top X(K)\big)Y(K)C^\top .∇f(K)=2(RKC−B⊤X(K))Y(K)C⊤.

A known stabilizing gain K0∈SK_0\in\mathcal SK0​∈S is given, and S0={K∈S:f(K)≤f(K0)}\mathcal S_0=\{K\in\mathcal S: f(K)\le f(K_0)\}S0​={K∈S:f(K)≤f(K0​)} is its sublevel set. The standing assumptions are Q,R,Σ≻0Q,R,\Sigma\succ0Q,R,Σ≻0, rank⁡C=r\operatorname{rank}C=rrankC=r and B≠0B\neq0B=0. State feedback (SLQR) is the case C=IC=IC=I.

The gradient method with step sizes γj\gamma_jγj​ is

Kj+1=Kj−γj∇f(Kj),j≥0.K_{j+1}=K_j-\gamma_j\nabla f(K_j),\qquad j\ge0 .Kj+1​=Kj​−γj​∇f(Kj​),j≥0.

A number L>0L>0L>0 is a smoothness constant if ∥∇f(K)−∇f(K′)∥F≤L∥K−K′∥F\|\nabla f(K)-\nabla f(K')\|_F\le L\|K-K'\|_F∥∇f(K)−∇f(K′)∥F​≤L∥K−K′∥F​ for all K,K′∈S0K,K'\in\mathcal S_0K,K′∈S0​.

Formalization targets

Goal: Theorem 4.2 for state feedback

For C=IC=IC=I, an optimal gain K∗∈SK_*\in\mathcal SK∗​∈S, and any smoothness constant LLL:

  1. if 0<γj≤2/L0<\gamma_j\le 2/L0<γj​≤2/L for all jjj, then every Kj∈S0K_j\in\mathcal S_0Kj​∈S0​ and
f(Kj+1)≤f(Kj)−γj(1−Lγj2)∥∇f(Kj)∥F2;f(K_{j+1})\le f(K_j)-\gamma_j\Big(1-\frac{L\gamma_j}{2}\Big)\|\nabla f(K_j)\|_F^2 ;f(Kj+1​)≤f(Kj​)−γj​(1−2Lγj​​)∥∇f(Kj​)∥F2​;
  1. if 0<ε1≤γj≤2/L−ε20<\varepsilon_1\le\gamma_j\le 2/L-\varepsilon_20<ε1​≤γj​≤2/L−ε2​ with ε2>0\varepsilon_2>0ε2​>0, then ∇f(Kj)→0\nabla f(K_j)\to0∇f(Kj​)→0,
min⁡0≤j≤k∥∇f(Kj)∥F2≤f(K0)c1k(k≥1),c1=ε1ε2L2,\min_{0\le j\le k}\|\nabla f(K_j)\|_F^2\le\frac{f(K_0)}{c_1k}\quad(k\ge1),\qquad c_1=\frac{\varepsilon_1\varepsilon_2L}{2},0≤j≤kmin​∥∇f(Kj​)∥F2​≤c1​kf(K0​)​(k≥1),c1​=2ε1​ε2​L​,

and there are c≥0c\ge0c≥0, 0≤q<10\le q<10≤q<1 with ∥Kj−K∗∥F≤c qj\|K_j-K_*\|_F\le c\,q^j∥Kj​−K∗​∥F​≤cqj.

Milestones

In attack order:

  • Appendix A lemmas. Trace duality of dual Lyapunov equations (Lemma A.1), the trace sandwich (Lemma A.4), and eigenvalue lower bounds for Lyapunov solutions (Lemma A.5).
  • Coercivity and existence. Coercivity of fff with the lower bounds (3.1)–(3.2) (Lemma 3.8), boundedness of S0\mathcal S_0S0​ (Corollary 3.9), and existence of a minimizer (Corollary 3.10).
  • Smoothness. The gradient formula (Lemma 3.11) and existence of a smoothness constant on S0\mathcal S_0S0​ (Theorem 3.15, qualitative form).
  • Gradient domination for state feedback. Lemmas C.2, C.3 and C.1, and the LPL inequality with the explicit constant (3.11):
12∥∇f(K)∥F2≥μ(f(K)−f(K∗)),K∈S0(Theorem 3.17).\tfrac12\|\nabla f(K)\|_F^2\ge\mu\big(f(K)-f(K_*)\big),\qquad K\in\mathcal S_0 \qquad\text{(Theorem 3.17)}.21​∥∇f(K)∥F2​≥μ(f(K)−f(K∗​)),K∈S0​(Theorem 3.17).
  • Theorem 4.2 for output feedback. Descent and stationarity, parts 1 and 2 without the linear rate, for general CCC.

Significance

The theorem shows that a plain first-order method, started from any stabilizing gain, never destabilizes the closed loop and decreases the cost monotonically, for output feedback as well as state feedback. For state feedback it converges globally and linearly to the optimal gain. The cost is non-convex, and its domain S\mathcal SS is open, possibly non-convex and unbounded, so this does not follow from convex optimization theory. It is the continuous-time counterpart of the policy-gradient guarantees of Fazel et al. for discrete-time LQR, and it underlies model-free and data-driven variants of gain tuning.

The result is proved in the paper, but it has not been formalized. The formalization adds three things. It makes the invariance argument (the iterates stay in S0\mathcal S_0S0​) explicit, and the paper describes that argument as the non-trivial part. It corrects the statements where the printed text is wrong (see below). It also produces a reusable library of Lyapunov-equation facts. Mathlib has no Lyapunov equation, no LQR cost and no Hurwitz stability theory, and the platform has no continuous-time LQR material. The nearest platform items treat discrete-time Riccati iteration (BertsekasDP.riccati_convergence_stability) and Polyak–Łojasiewicz rates on a whole normed space (ShiOptRates.pl_rate). Neither applies to a function defined only on a non-convex open subset.

Difficulty

The standard descent-lemma argument assumes fff is defined and LLL-smooth on the whole space. Here fff is defined only on S\mathcal SS, and it is not smooth on all of S\mathcal SS: it blows up at the boundary. A gradient step from a point of S0\mathcal S_0S0​ could in principle jump out of S\mathcal SS, where the Lyapunov equation has no meaningful solution. The smoothness bound is available only inside S0\mathcal S_0S0​, so the argument must show that the whole segment from KjK_jKj​ to Kj+1K_{j+1}Kj+1​ stays in S0\mathcal S_0S0​ before the descent inequality can be used on it. That requires coercivity, compactness of S0\mathcal S_0S0​ and an exit-time argument. For the linear rate, gradient domination has to be established on S0\mathcal S_0S0​ with constants controlled by f(K0)f(K_0)f(K0​), and passing from function values to distances to K∗K_*K∗​ needs that minimizer's structure. Gradient domination fails for output feedback (the paper's Example 3.4 has two disconnected components with different minima), so the linear rate is stated only for C=IC=IC=I.

Formalization scope

Matrices are Matrix (Fin p) (Fin q) ℝ. Hurwitz means every element of the complex spectrum has negative real part. X(K)X(K)X(K), Y(K)Y(K)Y(K) are "the unique solution of the Lyapunov equation, 000 if there is none or several"; this junk value is never used, because every statement evaluates fff and ∇f\nabla f∇f only at gains proved or assumed to lie in S\mathcal SS. The iterates' membership in S0\mathcal S_0S0​ is a conclusion of the goal, never a hypothesis; assuming it would delete the theorem's content. ∇f\nabla f∇f is defined by the formula (3.3), and Lemma 3.11 is the theorem that it is the gradient. ∥⋅∥F\|\cdot\|_F∥⋅∥F​ is ∑Mij2\sqrt{\sum M_{ij}^2}∑Mij2​​, ∥⋅∥\|\cdot\|∥⋅∥ is the spectral (operator) norm, and λ1,λn\lambda_1,\lambda_nλ1​,λn​ are the minimum and maximum eigenvalue of a symmetric matrix. State feedback is the instance r=nr=nr=n, C=1C=1C=1. In (4.6) the Frobenius norm replaces the paper's spectral norm, which is equivalent because ccc is existential. The minimum over 0≤j≤k0\le j\le k0≤j≤k requires k≥1k\ge1k≥1.

Deviations from the printed text, each recorded in the item's Formalization Note:

  • The smoothness constant. The explicit LLL of (3.8) is false as printed (for n=m=1n=m=1n=m=1, A=0A=0A=0, B=100B=100B=100, Q=100Q=100Q=100, R=10−3R=10^{-3}R=10−3, Σ=0.1\Sigma=0.1Σ=0.1, K0=10−6K_0=10^{-6}K0​=10−6, one has f′′(K0)=2Lf''(K_0)=2Lf′′(K0​)=2L). The goal therefore takes LLL as any Lipschitz constant of ∇f\nabla f∇f on S0\mathcal S_0S0​, which is the paper's definition of LLL-smoothness (§3.6) and all that its proof uses. Theorem 3.15 enters only as "some such L>0L>0L>0 exists".
  • Lemma C.1. It is stated with λ12(Σ)\lambda_1^2(\Sigma)λ12​(Σ) in the denominator, as its proof concludes and as (3.11) requires.
  • Lemma A.5. It is stated for A⊤X+XA+Q=0A^\top X+XA+Q=0A⊤X+XA+Q=0; the printed −Q-Q−Q admits no positive definite solution.
  • The gain space. S⊆Rm×r\mathcal S\subseteq\mathbb R^{m\times r}S⊆Rm×r, where p. 3 prints Rm×n\mathbb R^{m\times n}Rm×n.

Not stated: Theorem 4.3 and Algorithm 4.1, Lemma 3.6, Lemmas 3.12–3.14, Corollary 3.16 and the explicit constant (3.8). Welcome contributions include a Lyapunov-equation library (existence, uniqueness, integral representation, positivity), continuity of the spectrum, and the exit-time argument, which is reusable for any descent method on a sublevel set of an open domain.

Selected references

  • I. Fatkhullin, B. Polyak, Optimizing Static Linear Feedback: Gradient Method, SIAM J. Control Optim. 59(5), 2021; preprint arXiv:2004.09875v2. https://arxiv.org/abs/2004.09875
  • M. Fazel, R. Ge, S. Kakade, M. Mesbahi, Global Convergence of Policy Gradient Methods for the Linear Quadratic Regulator, ICML 2018. https://arxiv.org/abs/1801.05039
  • W. Levine, M. Athans, On the determination of the optimal constant output feedback gains for linear multivariable systems, IEEE Trans. Automat. Control 15(1), 1970. https://doi.org/10.1109/TAC.1970.1099363
  • H. Karimi, J. Nutini, M. Schmidt, Linear Convergence of Gradient and Proximal-Gradient Methods Under the Polyak–Łojasiewicz Condition, ECML PKDD 2016. https://arxiv.org/abs/1608.04636
  • R. E. Kalman, Contributions to the theory of optimal control, Bol. Soc. Mat. Mexicana 5, 1960.
16 thms2 active usersReviewed
Control TheoryOperations ResearchOptimization·Captain: mikedeng1

Optimizing Static Linear Feedback: Gradient Method II: The Gradient Flow Stays in the Sublevel Set and Converges Exponentially under State FeedbackResearch Paper

Motivation

The linear-quadratic regulator (LQR) is the basic problem of optimal control: steer a linear system x˙=Ax+Bu\dot x = Ax + Bux˙=Ax+Bu so as to minimize an integrated quadratic cost of state and input. When the full state is measured, the optimal law is a static linear feedback u=−Kxu = -Kxu=−Kx obtained from an algebraic Riccati equation. When only an output y=Cxy = Cxy=Cx is measured, the optimal static output feedback u=−Kyu = -Kyu=−Ky has no closed form, and the problem is nonconvex. In both cases the cost can be written as a function f(K)f(K)f(K) of the gain alone, which makes it natural to minimize fff by gradient methods directly in the space of gains. This view goes back to Levine and Athans (1970) for output feedback and was revived in reinforcement learning by Fazel, Ge, Kakade and Mesbahi (2018), who proved global convergence of policy gradient for discrete-time state-feedback LQR.

Fatkhullin and Polyak (arXiv:2004.09875v2, SIAM J. Control Optim. 2021) carry out this program for the continuous-time problem. They show that fff is coercive, that it is LLL-smooth on every sublevel set, and that under state feedback it satisfies a gradient-domination (Łojasiewicz–Polyak) inequality. From these properties they derive convergence of the continuous gradient flow and of the discrete gradient method. This mission formalizes the continuous part, Theorem 4.1.

Setting

Fix real matrices A∈Rn×nA\in\mathbb R^{n\times n}A∈Rn×n, B∈Rn×mB\in\mathbb R^{n\times m}B∈Rn×m, C∈Rr×nC\in\mathbb R^{r\times n}C∈Rr×n and symmetric positive definite weights Q∈Rn×nQ\in\mathbb R^{n\times n}Q∈Rn×n, R∈Rm×mR\in\mathbb R^{m\times m}R∈Rm×m and covariance Σ∈Rn×n\Sigma\in\mathbb R^{n\times n}Σ∈Rn×n. A gain is K∈Rm×rK\in\mathbb R^{m\times r}K∈Rm×r, and the closed-loop matrix is AK=A−BKCA_K = A - BKCAK​=A−BKC. A square matrix is Hurwitz if all its eigenvalues have negative real part. The stabilizing set is

S={K:AK is Hurwitz}.\mathcal S = \{K : A_K \text{ is Hurwitz}\}.S={K:AK​ is Hurwitz}.

For K∈SK\in\mathcal SK∈S, let X(K)X(K)X(K) and Y(K)Y(K)Y(K) be the unique solutions of the Lyapunov equations

AK⊤X+XAK+C⊤K⊤RKC+Q=0,AKY+YAK⊤+Σ=0.A_K^\top X + XA_K + C^\top K^\top RKC + Q = 0,\qquad A_KY + YA_K^\top + \Sigma = 0 .AK⊤​X+XAK​+C⊤K⊤RKC+Q=0,AK​Y+YAK⊤​+Σ=0.

The LQR cost is f(K)=Tr(X(K)Σ)f(K) = \mathrm{Tr}(X(K)\Sigma)f(K)=Tr(X(K)Σ). It equals the expected infinite-horizon quadratic cost when the initial state has covariance Σ\SigmaΣ. Its gradient with respect to the Frobenius inner product ⟨M,N⟩=Tr(M⊤N)\langle M,N\rangle = \mathrm{Tr}(M^\top N)⟨M,N⟩=Tr(M⊤N) is

∇f(K)=2 (RKC−B⊤X(K)) Y(K) C⊤.\nabla f(K) = 2\,(RKC - B^\top X(K))\,Y(K)\,C^\top .∇f(K)=2(RKC−B⊤X(K))Y(K)C⊤.

Given a known stabilizing gain K0∈SK_0\in\mathcal SK0​∈S, the sublevel set is S0={K∈S:f(K)≤f(K0)}\mathcal S_0 = \{K\in\mathcal S : f(K)\le f(K_0)\}S0​={K∈S:f(K)≤f(K0​)}. The gradient flow is the ODE

K˙(t)=−∇f(K(t)),K(0)=K0.\dot K(t) = -\nabla f(K(t)),\qquad K(0) = K_0 .K˙(t)=−∇f(K(t)),K(0)=K0​.

State feedback (SLQR) is the case C=IC = IC=I; there fff is written fSf_SfS​, and K∗K_*K∗​ denotes a minimizer of fSf_SfS​ on S\mathcal SS. Norms: ∥⋅∥F\|\cdot\|_F∥⋅∥F​ is the Frobenius norm and ∥⋅∥\|\cdot\|∥⋅∥ the spectral norm. λ1(M)\lambda_1(M)λ1​(M) is the smallest eigenvalue of a symmetric MMM.

Formalization targets

Goal: Theorem 4.1 for state feedback

For C=IC=IC=I, let L>0L>0L>0 be a Lipschitz constant of ∇f\nabla f∇f on S0\mathcal S_0S0​ and let μ\muμ be the constant (3.11),

μ=λ1(R)λ12(Σ)λ1(Q)8fS(K∗)(∥A∥+∥B∥2fS(K0)/(λ1(Σ)λ1(R)))2.\mu = \frac{\lambda_1(R)\lambda_1^2(\Sigma)\lambda_1(Q)}{8f_S(K_*)\big(\|A\| + \|B\|^2 f_S(K_0)/(\lambda_1(\Sigma)\lambda_1(R))\big)^2}.μ=8fS​(K∗​)(∥A∥+∥B∥2fS​(K0​)/(λ1​(Σ)λ1​(R)))2λ1​(R)λ12​(Σ)λ1​(Q)​.

Then the flow has a solution on [0,∞)[0,\infty)[0,∞), and every solution stays in S0\mathcal S_0S0​, has f(Kt)f(K_t)f(Kt​) nonincreasing, has ∇f(Kt)→0\nabla f(K_t)\to0∇f(Kt​)→0 and min⁡0≤t≤T∥∇f(Kt)∥F2≤f(K0)/T\min_{0\le t\le T}\|\nabla f(K_t)\|_F^2\le f(K_0)/Tmin0≤t≤T​∥∇f(Kt​)∥F2​≤f(K0​)/T, and

∥Kt−K∗∥F≤2L(f(K0)−f(K∗))μ e−μt(t≥0).\|K_t - K_*\|_F \le \frac{\sqrt{2L(f(K_0)-f(K_*))}}{\mu}\,e^{-\mu t}\qquad(t\ge0).∥Kt​−K∗​∥F​≤μ2L(f(K0​)−f(K∗​))​​e−μt(t≥0).

Milestones

In attack order:

  1. Existence of a minimizer (Corollary 3.10).
  2. The gradient formula (Lemma 3.11).
  3. Existence of a Lipschitz constant of ∇f\nabla f∇f on S0\mathcal S_0S0​ (Theorem 3.15, qualitative).
  4. The gradient-domination inequality 12∥∇fS(K)∥F2≥μ(fS(K)−fS(K∗))\tfrac12\|\nabla f_S(K)\|_F^2\ge\mu(f_S(K)-f_S(K_*))21​∥∇fS​(K)∥F2​≥μ(fS​(K)−fS​(K∗​)) on S0\mathcal S_0S0​ (Theorem 3.17).
  5. The energy identity ddtf(Kt)=−∥∇f(Kt)∥F2\tfrac{d}{dt}f(K_t) = -\|\nabla f(K_t)\|_F^2dtd​f(Kt​)=−∥∇f(Kt​)∥F2​.
  6. The integral bound of Appendix D.1.
  7. The output-feedback part of Theorem 4.1 (general CCC with rank⁡C=r\operatorname{rank} C = rrankC=r): existence, invariance of S0\mathcal S_0S0​, monotonicity and (4.2).

Significance

The theorem certifies a simple, model-based procedure: start from any stabilizing gain and follow the negative gradient of the cost. The iterate never loses stability, and it converges exponentially to the optimal gain. The same happens for state feedback even though neither fff nor S\mathcal SS is convex. For output feedback it guarantees convergence to stationarity with an explicit O(1/T)O(1/T)O(1/T) rate. The continuous-time result is the template for the discrete gradient method of the same paper (Theorem 4.2) and for policy-gradient analyses of LQR in learning-based control.

The result is proved in the paper. The paper writes out the proof of (4.2) in Appendix D.1. It describes the whole proof as a replica of Theorems 8 and 9 of Polyak 1963, which treat functions satisfying the Łojasiewicz–Polyak inequality on the whole space. No machine-checked version of any of these statements is known. A formal proof would give the first verified treatment of LQR as an optimization problem over gains. It needs Lyapunov equations, the stabilizing set and the cost, together with the analytic facts on which the policy-gradient literature rests: coercivity, smoothness on sublevel sets, and gradient domination.

Difficulty

The obvious argument is the textbook convergence proof for gradient flows of smooth functions satisfying the Łojasiewicz–Polyak inequality. That proof assumes the function is defined and smooth on the whole space. Here fff lives only on the open set S\mathcal SS, blows up at its boundary, is unbounded on S\mathcal SS and is not globally LLL-smooth. The Łojasiewicz–Polyak inequality holds only on S0\mathcal S_0S0​, with a constant that depends on K0K_0K0​. The work therefore lies in keeping the trajectory inside S0\mathcal S_0S0​ and showing it exists for all time. This requires compactness of S0\mathcal S_0S0​ (coercivity of fff) and a positive distance from S0\mathcal S_0S0​ to the boundary of S\mathcal SS. Local ODE existence alone gives neither. The explicit constant μ\muμ additionally requires lower bounds on solutions of Lyapunov equations and an upper bound on ∥K∥F\|K\|_F∥K∥F​ over S0\mathcal S_0S0​.

Formalization scope

Matrices are Matrix (Fin p) (Fin q) ℝ. Hurwitz means every complex eigenvalue of the complexified matrix has negative real part. X(K)X(K)X(K) and Y(K)Y(K)Y(K) are the unique solutions of their Lyapunov equations. Where the solution is not unique (possible only off S\mathcal SS) they take the value 000, and no statement uses these off-S\mathcal SS values. ∇f\nabla f∇f is defined by formula (3.3), and Lemma 3.11 states that it is the Fréchet derivative with respect to the Frobenius inner product. A solution of the flow is a curve with K(0)=K0K(0)=K_0K(0)=K0​ that stays in S\mathcal SS for t≥0t\ge0t≥0. Its entries have the prescribed derivative within [0,∞)[0,\infty)[0,∞). Global existence and invariance of S0\mathcal S_0S0​ are conclusions, never hypotheses. Assuming a global solution, or a solution confined to S0\mathcal S_0S0​, would trivialize the theorem, and that encoding is excluded. The case C=IC=IC=I is a matrix argument CCC with C=1C=1C=1. λ1\lambda_1λ1​ is the minimum of the (unsorted) eigenvalues, and the spectral norm is λmax⁡(M⊤M)\sqrt{\lambda_{\max}(M^\top M)}λmax​(M⊤M)​. "Monotone decreasing" is rendered as nonincreasing. min⁡0≤t≤T\min_{0\le t\le T}min0≤t≤T​ is rendered as the existence of a point of [0,T][0,T][0,T] where the bound holds.

The standing assumptions of p. 3 are hypotheses wherever they apply: K0∈SK_0\in\mathcal SK0​∈S, Q,R,Σ≻0Q,R,\Sigma\succ0Q,R,Σ≻0, rank⁡C=r\operatorname{rank}C=rrankC=r, and B≠0B\ne0B=0. Deviations from the printed paper:

  • The paper's explicit Lipschitz constant (3.8) is false as printed; the planning notes record counterexamples for both output and state feedback. The goal therefore takes LLL as any Lipschitz constant of ∇f\nabla f∇f on S0\mathcal S_0S0​, which is the paper's own definition of LLL-smoothness (§3.6). Theorem 3.15 enters only in its qualitative form, as the existence of such an LLL.
  • The set-builder for S\mathcal SS on p. 3 writes Rm×n\mathbb R^{m\times n}Rm×n; gains are m×rm\times rm×r.
  • The optimal gain K∗K_*K∗​ is a hypothesis (its existence is Corollary 3.10), and f(K∗)>0f(K_*)>0f(K∗​)>0 is not assumed.

A complete development needs the following: Lyapunov equations and their solution theory (uniqueness, positivity, integral representation), continuity and differentiability of K↦X(K)K\mapsto X(K)K↦X(K) on S\mathcal SS, coercivity of fff, global existence for ODEs confined to a compact invariant set, and the Łojasiewicz–Polyak argument for flows on a subset. The Lyapunov and stabilizing-set layer is reusable across control missions. Proofs of any milestone, and of auxiliary lemmas such as Lemmas 3.8, A.5, C.1–C.3, are welcome.

Selected references

  • I. Fatkhullin, B. Polyak, Optimizing Static Linear Feedback: Gradient Method, SIAM J. Control Optim. 59 (2021); preprint arXiv:2004.09875v2. https://arxiv.org/abs/2004.09875
  • M. Fazel, R. Ge, S. Kakade, M. Mesbahi, Global Convergence of Policy Gradient Methods for the Linear Quadratic Regulator, ICML 2018. https://arxiv.org/abs/1801.05039
  • W. S. Levine, M. Athans, On the determination of the optimal constant output feedback gains for linear multivariable systems, IEEE Trans. Automat. Control 15 (1970). https://doi.org/10.1109/TAC.1970.1099363
  • H. Karimi, J. Nutini, M. Schmidt, Linear Convergence of Gradient and Proximal-Gradient Methods Under the Polyak–Łojasiewicz Condition, ECML PKDD 2016. https://arxiv.org/abs/1608.04636
  • B. T. Polyak, Gradient methods for the minimisation of functionals, USSR Comput. Math. Math. Phys. 3 (1963), 864–878. https://doi.org/10.1016/0041-5553(63)90382-3
11 thms1 active userReviewed
CombinatoricsOperations ResearchOptimization·Captain: mikedeng1

Branch-and-Price-and-Cut for the Split-Delivery Vehicle Routing Problem with Time Windows: Some Optimal Solution Traverses Each Pair of Reverse Customer Arcs at Most OnceResearch Paper

Motivation

Vehicle routing problems ask for minimum-cost vehicle routes that deliver goods from a depot to a set of customers. In the split-delivery vehicle routing problem with time windows (SDVRPTW) a customer's demand may be served by several vehicles, and each customer must be visited inside a prescribed time window. Allowing split deliveries matters in practice: for the variant without time windows, Dror and Trudeau (1989) showed empirically that splitting can save substantially, and Archetti, Savelsbergh and Speranza (2006) proved the savings can reach 50%.

Exact methods for the SDVRPTW are branch-and-price algorithms, and they rely on structural properties of optimal solutions to prune the search. Desaulniers (Operations Research 58(1), 2010) collects these properties in §2 of his paper and uses the strongest one, Corollary 2, as a family of valid inequalities (constraint (7)) in his branch-and-price-and-cut method.

Timeline (as reported by Desaulniers 2010, §§1–2).

  • 1989–1990. Dror and Trudeau prove, for the SDVRP without time windows and with the triangle inequality, that some optimal solution has no two routes sharing more than one split customer.
  • 2006. Gendreau, Dejax, Feillet and Gueguen observe that the property holds with time windows, derive the arc-based Corollary 1, and remark that elementary routes suffice (Remark 1).
  • 2010. Desaulniers strengthens Corollary 1 to pairs of reverse arcs (Corollary 2) and exploits it as cutting planes.

Setting

An instance has nnn customers N\mathcal NN, a start depot 000 and an end depot n+1n+1n+1 (the same location at the beginning and end of the planning horizon), and the following data: a vehicle capacity Q>0Q > 0Q>0; a demand di>0d_i > 0di​>0 for each customer, which may exceed QQQ; a time window [ev,lv][e_v, l_v][ev​,lv​] for each node, shared by the two depot copies; nonnegative travel times tvwt_{vw}tvw​, which include the service time at vvv; and nonnegative costs cvwc_{vw}cvw​. The arc set A\mathcal AA contains the idle arc (0,n+1)(0, n+1)(0,n+1) and every arc (v,w)(v, w)(v,w), v≠wv \ne wv=w, with ev+tvw≤lwe_v + t_{vw} \le l_wev​+tvw​≤lw​. The triangle inequality tvx≤tvw+twxt_{vx} \le t_{vw} + t_{wx}tvx​≤tvw​+twx​, cvx≤cvw+cwxc_{vx} \le c_{vw} + c_{wx}cvx​≤cvw​+cwx​ is assumed throughout.

A route is a walk 0→v1→⋯→vm→n+10 \to v_1 \to \dots \to v_m \to n+10→v1​→⋯→vm​→n+1 along arcs of A\mathcal AA, customers possibly repeated, with service start times inside the time windows that respect travel times (waiting is allowed), and nonnegative quantities delivered at its visits whose total is at most QQQ. Its cost is the sum of its arc costs. A solution is a finite family of routes, one per vehicle, with no bound on their number; it is feasible if every customer iii receives in total at least did_idi​, and optimal if it is feasible and no feasible solution costs less. For customers i,ji, ji,j, let xijx_{ij}xij​ be the number of times arc (i,j)(i, j)(i,j) is traversed, summed over all routes of a solution, and let A(N)=A∩(N×N)\mathcal A(\mathcal N) = \mathcal A \cap (\mathcal N \times \mathcal N)A(N)=A∩(N×N).

Formalization targets

All four statements assume the triangle inequality and that the instance has a feasible solution, and assert the existence of an optimal solution with a structural property.

Goal: Corollary 2 (p. 181)

∃ optimal solution with xij+xji≤1for all (i,j)∈A(N).\exists \text{ optimal solution with } x_{ij} + x_{ji} \le 1 \quad \text{for all } (i,j) \in \mathcal A(\mathcal N).∃ optimal solution with xij​+xji​≤1for all (i,j)∈A(N).

The two arcs of a pair of reverse customer arcs are used at most once in total. This is the form constraint (7) of the paper gives to the corollary.

Milestones

  1. Remark 1. Some optimal solution has only elementary routes: no route visits a customer twice.
  2. Theorem 1. Some optimal solution has no two distinct routes with two customers in common.
  3. Corollary 1. Some optimal solution has xij≤1x_{ij} \le 1xij​≤1 for all (i,j)∈A(N)(i, j) \in \mathcal A(\mathcal N)(i,j)∈A(N).

Significance

The result. Corollary 2 turns a property of optimal solutions into linear inequalities on arc-flow variables. Adding them to the arc-flow formulation cuts off fractional points of its linear relaxation while keeping an optimal integer solution, which is how Desaulniers uses them. Remark 1 justifies pricing only elementary routes in column generation. Theorem 1 is the combinatorial fact underneath both corollaries and is reused throughout the split-delivery literature.

Formalizing it. The four results are proved in the literature (Dror–Trudeau; Gendreau et al. 2006); Desaulniers states them without proof. No machine-checked version exists. This mission produces a reusable Lean model of the SDVRPTW (instances, arc sets, feasible routes with schedules and delivery patterns, solutions, optimality) and checked proofs of these properties, including the existence of an optimal solution, which the paper takes for granted.

Difficulty

The obvious argument is local: take an optimal solution that violates the property, shift quantities between two routes, remove a visit, and shortcut. Three points make this less routine than it sounds. First, the statements are existential: each exchange must keep the solution optimal and not reintroduce a violation already removed, so one needs a termination measure that decreases under every exchange (Corollary 2 needs elementarity and the Theorem 1 property simultaneously, not two separate optimal solutions). Second, removing a visit is feasible only because the arc set is defined by time windows: the shortcut arc (v,w)(v, w)(v,w) must be shown to exist from the schedule and the triangle inequality on travel times, and the new schedule must be built explicitly. Third, the feasible set is infinite (real quantities, unbounded walks, unbounded number of vehicles), so the existence of an optimal solution is itself a statement to prove, not a hypothesis.

Formalization scope

Namespace SplitDeliveryVRPTW.Known. Nodes are the inductive type Node n (start, cust i for i : Fin n, finish). All quantities, times and costs are real. The arc set is exactly the set the paper defines (read as "if and only if"), with arcs into the start depot and out of the end depot excluded. The triangle inequality for ttt is imposed on pairwise distinct nodes and for ccc on triples of arcs, where the paper's data is defined. A route is a customer list (repetitions allowed) with a time function over path positions and a quantity function over visits. A solution is an indexed family Fin m → Route I, so identical routes may appear twice. Demand satisfaction uses ≥\ge≥, as constraint (2) does. The per-vehicle bound min⁡{di,Q}\min\{d_i, Q\}min{di​,Q} of constraint (14) is omitted because it changes neither the feasible route patterns nor the costs.

Explicit readings of imprecise phrases:

  • "split customer", "in common" (Theorem 1) are undefined in the paper. A customer two distinct routes visit is split, and the routes have it in common. This visit-based reading is at least as strong as a delivery-based one.
  • Corollary 2's wording "at most one arc in set Aij∗\mathcal A^*_{ij}Aij∗​ appears at most once" is read through constraint (7): the total number of traversals of the arcs of Aij∗\mathcal A^*_{ij}Aij∗​ is at most one. It is stated in the equivalent form free of the choice of A∗(N)\mathcal A^*(\mathcal N)A∗(N).
  • "there exists an optimal solution" is conditional on feasibility, which is the hypothesis added.

Ruled-out trivializations: routes are not restricted to elementary walks (that would make Remark 1 definitional), solutions are not sets (that would forbid duplicate routes), optimality compares against solutions with any number of routes and any visit pattern, "split" is never counted over visits by the same route, capacity and time windows are part of route feasibility, and deliveries occur only at visits.

Useful infrastructure, reusable beyond this mission: shortcut lemmas for feasible routes (removing a visit), exchange lemmas between two routes, and existence of an optimum for split-delivery routing. Contributions of any of these as separate lemmas are welcome.

Selected references

  • G. Desaulniers, Branch-and-Price-and-Cut for the Split-Delivery Vehicle Routing Problem with Time Windows, Operations Research 58(1):179–192, 2010. https://doi.org/10.1287/opre.1090.0713
  • M. Dror, P. Trudeau, Savings by split delivery routing, Transportation Science 23(2):141–145, 1989. https://doi.org/10.1287/trsc.23.2.141
  • M. Dror, P. Trudeau, Split delivery routing, Naval Research Logistics 37(3):383–402, 1990. https://doi.org/10.1002/nav.3800370304
  • M. Gendreau, P. Dejax, D. Feillet, C. Gueguen, Vehicle routing with time windows and split deliveries, Technical Report 2006-851, Laboratoire Informatique d'Avignon, 2006.
  • C. Archetti, M. W. P. Savelsbergh, M. G. Speranza, Worst-case analysis for split delivery vehicle routing problems, Transportation Science 40(2):226–234, 2006. https://doi.org/10.1287/trsc.1050.0117
6 thms1 active userReviewed
Functional AnalysisOperations ResearchProbability·Captain: mikedeng1

Conditional and Dynamic Convex Risk Measures I: Robust Representation of Conditional Convex Risk MeasuresResearch Paper

Motivation

A convex risk measure assigns to a bounded financial position XXX (a random net payoff) a number ρ(X)\rho(X)ρ(X), interpreted as the capital that must be added to XXX to make it acceptable. The axiomatic theory began with coherent risk measures (Artzner, Delbaen, Eber and Heath, 1999) and was extended to convex ones by Föllmer and Schied (2002) and Frittelli and Rosazza Gianin (2002). Its central structural result is a robust representation: a convex risk measure that is continuous from above equals a worst case of expected losses over a family of probabilistic models, each penalized by how implausible it is.

Regulators and risk managers do not assess positions once and for all; they reassess them as information arrives. Detlefsen and Scandolo (2005) extend the representation to conditional risk measures, whose value ρ(X)\rho(X)ρ(X) is itself a random variable measurable with respect to the information available to the agent. This is the building block of dynamic (time-consistent) risk measurement, studied in later work on dynamic risk measures and backward stochastic differential equations.

Timeline. Artzner et al. (1999): coherent risk measures on finite Ω\OmegaΩ. Delbaen (2002): coherent risk measures on general probability spaces, Fatou property. Föllmer–Schied (2002) and Frittelli–Rosazza Gianin (2002): convex risk measures and their robust representation; Föllmer–Schied, Stochastic Finance, Theorem 4.26 (2002 edition) for L∞L^\inftyL∞ with continuity from above. Detlefsen–Scandolo (2005): the conditional version, Theorem 3.2 of the paper formalized here.

Setting

Fix a probability space (Ω,F,P)(\Omega,\mathcal F,P)(Ω,F,P) and a sub-σ\sigmaσ-algebra G⊆F\mathcal G\subseteq\mathcal FG⊆F describing the available information. L∞L^\inftyL∞ is the space of essentially bounded random variables and LG∞L^\infty_{\mathcal G}LG∞​ its G\mathcal GG-measurable part; every (in)equality between random variables holds PPP-almost surely.

A map ρ:L∞→LG∞\rho:L^\infty\to L^\infty_{\mathcal G}ρ:L∞→LG∞​ is a conditional convex risk measure if ρ(0)=0\rho(0)=0ρ(0)=0 and, for X,Y∈L∞X,Y\in L^\inftyX,Y∈L∞:

  • (conditional translation invariance) ρ(X+Z)=ρ(X)−Z\rho(X+Z)=\rho(X)-Zρ(X+Z)=ρ(X)−Z for every Z∈LG∞Z\in L^\infty_{\mathcal G}Z∈LG∞​;
  • (monotonicity) X≤YX\le YX≤Y implies ρ(X)≥ρ(Y)\rho(X)\ge\rho(Y)ρ(X)≥ρ(Y);
  • (conditional convexity) ρ(ΛX+(1−Λ)Y)≤Λρ(X)+(1−Λ)ρ(Y)\rho(\Lambda X+(1-\Lambda)Y)\le\Lambda\rho(X)+(1-\Lambda)\rho(Y)ρ(ΛX+(1−Λ)Y)≤Λρ(X)+(1−Λ)ρ(Y) for every Λ∈LG∞\Lambda\in L^\infty_{\mathcal G}Λ∈LG∞​ with 0≤Λ≤10\le\Lambda\le10≤Λ≤1.

The admissible models are

PG={Q probability on (Ω,F):Q≪P, Q(A)=P(A) for all A∈G}.\mathcal P_{\mathcal G}=\{Q \text{ probability on }(\Omega,\mathcal F): Q\ll P,\ Q(A)=P(A)\text{ for all }A\in\mathcal G\}.PG​={Q probability on (Ω,F):Q≪P, Q(A)=P(A) for all A∈G}.

For a family X\mathcal XX of [−∞,+∞][-\infty,+\infty][−∞,+∞]-valued random variables, the essential supremum ess.sup⁡X\operatorname{ess.sup}\mathcal Xess.supX is the PPP-a.s. smallest random variable that dominates every member PPP-a.s.; it replaces the pointwise supremum, which is not meaningful for uncountable families of equivalence classes.

A map ρ\rhoρ is representable if there is a penalty α:PG→LG0([0,+∞])\alpha:\mathcal P_{\mathcal G}\to L^0_{\mathcal G}([0,+\infty])α:PG​→LG0​([0,+∞]) with

ρ(X)=ess.sup⁡Q∈PG{−EQ(X∣G)−α(Q)},X∈L∞.\rho(X)=\operatorname*{ess.sup}_{Q\in\mathcal P_{\mathcal G}}\{-E_Q(X\mid\mathcal G)-\alpha(Q)\},\qquad X\in L^\infty .ρ(X)=Q∈PG​ess.sup​{−EQ​(X∣G)−α(Q)},X∈L∞.

The minimal penalty is α∗(Q)=ess.sup⁡X∈L∞{−EQ(X∣G)−ρ(X)}\alpha^*(Q)=\operatorname{ess.sup}_{X\in L^\infty}\{-E_Q(X\mid\mathcal G)-\rho(X)\}α∗(Q)=ess.supX∈L∞​{−EQ​(X∣G)−ρ(X)}. ρ\rhoρ is continuous from above if Xn↘XX_n\searrow XXn​↘X PPP-a.s. implies ρ(Xn)↗ρ(X)\rho(X_n)\nearrow\rho(X)ρ(Xn​)↗ρ(X) PPP-a.s.

Formalization targets

Goal: Theorem 3.2

For a conditional convex risk measure ρ\rhoρ, the following are equivalent:

(a) ρ continuous from above  ⟺  (b) ρ representable  ⟺  (c) ρ(X)=ess.sup⁡Q∈PG{−EQ(X∣G)−α∗(Q)}.\text{(a) } \rho \text{ continuous from above}\iff\text{(b) } \rho\text{ representable}\iff\text{(c) } \rho(X)=\operatorname*{ess.sup}_{Q\in\mathcal P_{\mathcal G}}\{-E_Q(X\mid\mathcal G)-\alpha^*(Q)\}.(a) ρ continuous from above⟺(b) ρ representable⟺(c) ρ(X)=Q∈PG​ess.sup​{−EQ​(X∣G)−α∗(Q)}.

Milestones

  • Theorem A.1: existence and a.s. uniqueness of the essential supremum; an increasing sequence converging to it for upward directed families.
  • Lemma A.2: EP(ess.sup⁡X)=sup⁡X∈XEPXE_P(\operatorname{ess.sup}\mathcal X)=\sup_{X\in\mathcal X}E_PXEP​(ess.supX)=supX∈X​EP​X for upward directed X\mathcal XX.
  • The easy inequality ρ(X)≥ess.sup⁡Q{−EQ(X∣G)−α∗(Q)}\rho(X)\ge\operatorname{ess.sup}_{Q}\{-E_Q(X\mid\mathcal G)-\alpha^*(Q)\}ρ(X)≥ess.supQ​{−EQ​(X∣G)−α∗(Q)}.
  • The unconditional representation (Föllmer–Schied, Theorem 4.26) of a convex risk measure ρ0:L∞→R\rho_0:L^\infty\to\mathbb Rρ0​:L∞→R continuous from above: ρ0(X)=sup⁡Q≪P{−EQX−α0∗(Q)}\rho_0(X)=\sup_{Q\ll P}\{-E_QX-\alpha^*_0(Q)\}ρ0​(X)=supQ≪P​{−EQ​X−α0∗​(Q)}.
  • For ρ0=EP[ρ(⋅)]\rho_0=E_P[\rho(\cdot)]ρ0​=EP​[ρ(⋅)]: α0∗(Q)<∞\alpha^*_0(Q)<\inftyα0∗​(Q)<∞ forces Q∈PGQ\in\mathcal P_{\mathcal G}Q∈PG​.
  • The family BQ={−EQ(X∣G)−ρ(X):X∈L∞}B_Q=\{-E_Q(X\mid\mathcal G)-\rho(X):X\in L^\infty\}BQ​={−EQ​(X∣G)−ρ(X):X∈L∞} is upward directed.
  • EP[α∗(Q)]=α0∗(Q)E_P[\alpha^*(Q)]=\alpha^*_0(Q)EP​[α∗(Q)]=α0∗​(Q) for Q∈PGQ\in\mathcal P_{\mathcal G}Q∈PG​.
  • Representable implies continuous from above.
  • Remark 3.3: α∗≤α\alpha^*\le\alphaα∗≤α for every penalty α\alphaα, and α∗(Q)=ess.sup⁡X∈Aρ{−EQ(X∣G)}\alpha^*(Q)=\operatorname{ess.sup}_{X\in\mathcal A_\rho}\{-E_Q(X\mid\mathcal G)\}α∗(Q)=ess.supX∈Aρ​​{−EQ​(X∣G)}.

Significance

The result. Theorem 3.2 shows that a conditional convex risk measure is determined by a random penalty on the models consistent with the available information, exactly when it satisfies a sequential continuity condition. The representation is the input for the paper's later sections: the conditional entropic risk measure, whose minimal penalty is the conditional relative entropy, and the consistency of dynamic risk measures via Lemma 3.4, which is expressed through the minimal penalty. The restriction to PG\mathcal P_{\mathcal G}PG​ has an interpretation: the more information, the fewer models can enter the worst case.

Formalizing it. The theorem has been proved in the literature since 2005; to our knowledge neither it nor its unconditional counterpart has a machine-checked proof. The mission produces an essential supremum of arbitrary families of extended random variables with its existence theorem, the exchange of expectation and essential supremum for directed families, and the unconditional Föllmer–Schied representation on L∞L^\inftyL∞. The last of these is the standard representation theorem of the theory of convex risk measures and is useful well beyond this paper.

Difficulty

The obvious route, applying the unconditional representation pathwise or ω\omegaω by ω\omegaω, fails: ρ(X)(ω)\rho(X)(\omega)ρ(X)(ω) is not a risk measure of anything, and conditional expectations are only defined up to null sets that depend on QQQ, of which there are uncountably many. The essential supremum is what turns an uncountable supremum of classes into a well-defined class, and passing expectations through it requires directedness. The unconditional step itself (continuity from above implies the dual representation) rests on a Krein–Šmulian / weak* closedness argument on L∞L^\inftyL∞, which is not available off the shelf.

Formalization scope

  • Payoffs are real functions Ω→R\Omega\to\mathbb RΩ→R with MemLp X ⊤ P; ρ\rhoρ is a map (Ω→R)→(Ω→R)(\Omega\to\mathbb R)\to(\Omega\to\mathbb R)(Ω→R)→(Ω→R) constrained only on L∞L^\inftyL∞. Because it acts on functions, ρ\rhoρ is required to respect PPP-a.s. equality, and ρ(X)\rho(X)ρ(X) is required to be G\mathcal GG-strongly measurable and essentially bounded; the paper's ρ\rhoρ acts on classes, so this adds nothing in substance. G\mathcal GG is a MeasurableSpace m with m ≤ mΩ.
  • Translation invariance and convexity quantify over G\mathcal GG-measurable ZZZ and Λ\LambdaΛ (not constants). PG\mathcal P_{\mathcal G}PG​ is the subtype of probability measures Q≪PQ\ll PQ≪P with Q(A)=P(A)Q(A)=P(A)Q(A)=P(A) for all A∈GA\in\mathcal GA∈G — equality on G\mathcal GG, not mutual absolute continuity.
  • EQ(X∣G)E_Q(X\mid\mathcal G)EQ​(X∣G) is Mathlib's Q[X | m]; it is G\mathcal GG-measurable, hence determined PPP-a.s. for Q∈PGQ\in\mathcal P_{\mathcal G}Q∈PG​.
  • Extended values live in EReal; penalties are ENNReal-valued and coerced, so only (real) −(+∞)=−∞-(+\infty)=-\infty−(+∞)=−∞ occurs, never +∞−(+∞)+\infty-(+\infty)+∞−(+∞).
  • The essential supremum is a predicate IsEssSup P F Z (a.e. upper bound of every member, a.e. below every a.e.-measurable a.e. upper bound). The minimal penalty is a predicate IsMinimalPenalty on a candidate; statement (c) of the goal asserts that a G\mathcal GG-measurable [0,+∞][0,+\infty][0,+∞]-valued essential supremum of BQB_QBQ​ is a penalty for ρ\rhoρ.
  • Continuity from above: Xn,X∈L∞X_n,X\in L^\inftyXn​,X∈L∞, (Xn)(X_n)(Xn​) a.s. non-increasing and a.s. convergent to XXX implies (ρ(Xn))(\rho(X_n))(ρ(Xn​)) a.s. non-decreasing and a.s. convergent to ρ(X)\rho(X)ρ(X). It is not norm or weak* continuity.
  • Lemma A.2's "provided the expectations exist" is pinned as: each member has an expectation in [−∞,+∞][-\infty,+\infty][−∞,+∞] and some member has integrable negative part (without the latter the lemma is false). Theorem A.1's directed part assumes a nonempty family. The acceptance set of Remark 3.3 is {X∈L∞:ρ(X)≤0}\{X\in L^\infty:\rho(X)\le0\}{X∈L∞:ρ(X)≤0} (the paper's LG∞L^\infty_{\mathcal G}LG∞​ on p. 4 is a misprint).
  • Ruled out: an essential supremum defined as a pointwise ⨆ over the family, or via Mathlib's essSup of a single function, and an index set equal to all Q≪PQ\ll PQ≪P or to the QQQ equivalent to PPP; each of these changes statement (b) or makes it vacuous.
  • Needed infrastructure: essential suprema of families, extended expectations with monotone convergence, conditional expectation under a change of measure agreeing on G\mathcal GG, and the L∞L^\inftyL∞–L1L^1L1 duality behind Föllmer–Schied 4.26. The essential-supremum layer and the unconditional representation are reusable in any mission on risk measures or robust optimization; contributions to either are welcome.

Selected references

  • K. Detlefsen, G. Scandolo, Conditional and Dynamic Convex Risk Measures, SFB 649 Discussion Paper 2005-006, Humboldt-Universität zu Berlin, 2005 (the version formalized here; journal version: Finance and Stochastics 9(4), 539–561, 2005, https://doi.org/10.1007/s00780-005-0159-6)
  • H. Föllmer, A. Schied, Stochastic Finance — An Introduction in Discrete Time, de Gruyter Studies in Mathematics 27, 2002. https://doi.org/10.1515/9783110198065
  • H. Föllmer, A. Schied, Convex measures of risk and trading constraints, Finance and Stochastics 6(4), 429–447, 2002. https://doi.org/10.1007/s007800200072
  • M. Frittelli, E. Rosazza Gianin, Putting order in risk measures, Journal of Banking and Finance 26, 1473–1486, 2002. https://doi.org/10.1016/S0378-4266(02)00270-4
  • P. Artzner, F. Delbaen, J.-M. Eber, D. Heath, Coherent measures of risk, Mathematical Finance 9(3), 203–228, 1999. https://doi.org/10.1111/1467-9965.00068
  • F. Delbaen, Coherent risk measures on general probability spaces, in Advances in Finance and Stochastics, Springer, 2002. https://doi.org/10.1007/978-3-662-04790-3_1
14 thms2 active usersReviewed
CombinatoricsComplexity TheoryOperations Research+1·Captain: mikedeng1

A Threshold of ln n for Approximating Set Cover I: The ln n Inapproximability of Set CoverResearch Paper

Motivation

Set cover is the problem of covering a finite ground set with as few members of a given family of subsets as possible. It models facility location, crew scheduling, test-suite minimization and many other selection problems in operations research, and it is one of the canonical NP-hard problems. The greedy algorithm, which repeatedly picks the subset covering the most uncovered points, finds a cover at most about ln⁡n\ln nlnn times larger than the optimum on an instance with nnn points (Johnson 1974; Lovász 1975; Chvátal 1979). Whether any efficient algorithm does substantially better was open for two decades.

Timeline of the lower bounds:

  • 1992. The PCP theorem (Arora, Lund, Motwani, Sudan, Szegedy) implies that set cover cannot be approximated within some constant 1+ε1+\varepsilon1+ε unless P = NP.
  • 1994. Lund and Yannakakis showed that set cover cannot be approximated within 14log⁡2n\tfrac14\log_2 n41​log2​n unless NP⊆TIME(nO(polylog n))\mathrm{NP}\subseteq\mathrm{TIME}(n^{O(\mathrm{polylog}\, n)})NP⊆TIME(nO(polylogn)), and within 12log⁡2n≈0.72ln⁡n\tfrac12\log_2 n\approx 0.72\ln n21​log2​n≈0.72lnn under a randomized assumption.
  • 1998. Feige showed that for every ε>0\varepsilon>0ε>0, set cover cannot be approximated within (1−ε)ln⁡n(1-\varepsilon)\ln n(1−ε)lnn unless NP⊆TIME(nO(log⁡log⁡n))\mathrm{NP}\subseteq\mathrm{TIME}(n^{O(\log\log n)})NP⊆TIME(nO(loglogn)) (J. ACM 45(4), 634–652). This matches the greedy bound up to lower-order terms.
  • 2014. Dinur and Steurer replaced the assumption by P ≠ NP (STOC 2014).

This mission formalizes Feige's theorem, the result that fixed ln⁡n\ln nlnn as the threshold.

Setting

An instance consists of nnn points {0,…,n−1}\{0,\dots,n-1\}{0,…,n−1} and a list of subsets S1,…,SsS_1,\dots,S_sS1​,…,Ss​. A cover is a set of indices whose subsets together contain every point. The instance is coverable if every point lies in some SiS_iSi​. It is written as a string: nnn in unary, then each subset as its characteristic vector.

A deterministic polynomial-time algorithm approximates set cover within ρ(n)\rho(n)ρ(n) if, for some threshold n0n_0n0​ and every coverable instance with n≥n0n \ge n_0n≥n0​ points, the value vvv it outputs satisfies OPT≤v≤ρ(n)⋅OPT\mathrm{OPT}\le v\le\rho(n)\cdot\mathrm{OPT}OPT≤v≤ρ(n)⋅OPT, where OPT\mathrm{OPT}OPT is the size of a smallest cover.

TIME(nO(log⁡log⁡n))\mathrm{TIME}(n^{O(\log\log n)})TIME(nO(loglogn)) is the class of languages that a deterministic one-tape Turing machine decides within ∣w∣c(log⁡2log⁡2∣w∣+1)+c|w|^{c(\log_2\log_2|w|+1)}+c∣w∣c(log2​log2​∣w∣+1)+c steps, for some constant ccc. Machines, P\mathrm{P}P and NP\mathrm{NP}NP are those of the published definition CookPvsNP_defs.

The proof passes through three objects, each defined in the mission:

  1. 3CNF-5 formulas: CNF formulas in which every clause has three literals on distinct variables and every variable occurs in exactly five clauses.
  2. The kkk-prover proof system of §2.3. A verifier picks ℓ\ellℓ random clauses and a distinguished variable in each. Each prover, according to its code word, receives some of these clauses and the distinguished variables of the others. Under the weak acceptance predicate, some two provers give consistent answers on the distinguished variables. Under the strong acceptance predicate, all provers do.
  3. Partition systems B(m,L,k,d)B(m,L,k,d)B(m,L,k,d) (Definition 3.1). These are LLL partitions of mmm points, each into kkk parts, such that covering the points with parts taken from pairwise different partitions needs at least ddd parts.

Formalization targets

Goal: Theorem 4.4

∃ ε>0: set cover is approximable within (1−ε)ln⁡n ⟹ NP⊆TIME(nO(log⁡log⁡n)).\exists\,\varepsilon>0:\ \text{set cover is approximable within }(1-\varepsilon)\ln n\ \Longrightarrow\ \mathrm{NP}\subseteq\mathrm{TIME}\big(n^{O(\log\log n)}\big).∃ε>0: set cover is approximable within (1−ε)lnn ⟹ NP⊆TIME(nO(loglogn)).

The statement fixes no constant beyond ε\varepsilonε. The parameters kkk, ℓ\ellℓ and mmm of the reduction are choices made inside the proof. The goal carries three cited results as hypotheses: Theorem 2.1.1 (MAX 3SAT-B gap), the consequence of Raz's parallel repetition theorem for the clause–variable game, and the Naor–Schulman–Srinivasan construction of partition systems.

Milestones, in the order the proof uses them

  1. Proposition 2.1.2: MAX 3SAT-5 is gap NP-hard.
  2. Proposition 2.2.1: the one-round clause–variable game has value 1−ε/31-\varepsilon/31−ε/3.
  3. Lemma 2.3.1: the kkk-prover system is complete with strong acceptance and has soundness k22−cℓk^2 2^{-c\ell}k22−cℓ for weak acceptance.
  4. Lemma 3.2: partition systems with d=(1−2/k)kln⁡md=(1-2/k)k\ln md=(1−2/k)klnm exist.
  5. Propositions 4.2 and 4.3: a cover with (1−δ)kQln⁡m(1-\delta)kQ\ln m(1−δ)kQlnm subsets yields a prover strategy that is weakly accepted with probability at least 2δ/(kln⁡m)22\delta/(k\ln m)^22δ/(klnm)2.
  6. Lemma 4.1: the gap between kQkQkQ and (1−2f(k))kQln⁡m(1-2f(k))kQ\ln m(1−2f(k))kQlnm.

Significance

The result. Combined with the greedy algorithm, Theorem 4.4 shows that ln⁡n\ln nlnn is the approximation threshold of set cover under a mild complexity assumption. Set cover reduces approximation-preservingly to many covering problems, so the threshold transfers to them. Examples are dominating set, several facility-location and group Steiner problems, and hitting-set formulations used in scheduling and testing. The kkk-prover system with two acceptance predicates and the partition-system gadget became standard tools for later hardness-of-approximation proofs.

Formalizing it. The theorem is proved and has been strengthened (Dinur–Steurer 2014), but no machine-checked proof of any Ω(log⁡n)\Omega(\log n)Ω(logn) inapproximability of set cover is known. This mission contributes:

  • a Lean model of multi-prover proof systems with uniform-count probabilities;
  • partition systems and their probabilistic existence proof;
  • a gap-preserving reduction whose running time is analysed on Turing machines, not merely asserted.

Difficulty

  • The ratio comes from two gaps at once. One is a gap in acceptance probability. The other is a gap between strong and weak acceptance. A reduction from a two-prover system, as in Lund–Yannakakis, loses a constant factor because a cheating cover can use two parts of the same partition. Feige's analysis must turn every small cover into a strategy under which some pair of provers is consistent (Proposition 4.3), and this averaging argument has to lose only a factor (kln⁡m)2(k\ln m)^2(klnm)2.
  • Parameters interlock. ℓ=Θ(log⁡log⁡n)\ell=\Theta(\log\log n)ℓ=Θ(loglogn) must make k22−cℓk^2 2^{-c\ell}k22−cℓ smaller than 2δ/(kln⁡m)22\delta/(k\ln m)^22δ/(klnm)2 while keeping the instance of size nO(log⁡log⁡n)n^{O(\log\log n)}nO(loglogn). The time bound must hold for a one-tape machine, including the deterministic partition-system construction.
  • Encoding. The reduction must be computed by an explicit machine on string encodings. Showing that a "clearly polynomial" construction meets the time bound on such a machine is substantial work.

Formalization scope

  • Cited results as hypotheses. Theorem 2.1.1, Raz's theorem and the Naor et al. construction are not proved in the mission; each is a named proposition (Thm211, RazRepetition, NaorPartitionSystems) and a hypothesis of the goal.
    • RazRepetition is only the consequence of Raz's theorem that the paper uses (p. 642): a 2−cℓ2^{-c\ell}2−cℓ error bound for the repeated clause–variable game on 3CNF-5 formulas far from satisfiable.
    • NaorPartitionSystems relaxes "time linear in mmm" to polynomial time and renders "LLL polynomial in ddd" as L≤⌊log⁡2m⌋aL\le\lfloor\log_2 m\rfloor^aL≤⌊log2​m⌋a. Both relaxations weaken the hypothesis.
  • Approximation in value form. The algorithm outputs a number vvv with OPT≤v≤ρ(n)OPT\mathrm{OPT}\le v\le\rho(n)\mathrm{OPT}OPT≤v≤ρ(n)OPT, and only on coverable instances with n≥n0n\ge n_0n≥n0​. Any algorithm that outputs a cover yields such a value, so this hypothesis is weaker than the paper's. The guard n≥n0n\ge n_0n≥n0​ is needed because (1−ε)ln⁡n<1(1-\varepsilon)\ln n<1(1−ε)lnn<1 for small nnn.
  • Machine model. The machines are Cook's deterministic one-tape machines. Multi-tape simulation costs a quadratic factor, which the class absorbs.
  • Probabilities are uniform counts over the (5n)ℓ(5n)^\ell(5n)ℓ random strings. Strategies are deterministic. Answers are canonical (satisfying on clause coordinates), as the paper assumes without loss of generality.
  • Not formalized. Randomized classes (ZTIME) are not defined here, so the following are omitted: the last sentence of Lemma 3.2, Proposition 6.1, and the randomized variants.
  • Ruling out a trivial formalization. The gap notion requires far-from-satisfiable formulas to have at least one clause. Otherwise the empty formula would be both a yes-instance and a no-instance, and Theorem 2.1.1 would hold trivially.
  • Infrastructure and reuse. The shared layer can serve other PCP-based hardness proofs: 3CNF-5 formulas, the kkk-prover system, partition systems, and the gap-NP-hardness notion. Welcome contributions include:
    • time bounds for list and table manipulations on one-tape machines;
    • a Hadamard-code construction satisfying the weight and distance conditions;
    • the union-bound and averaging lemmas behind Lemma 2.3.1 and Proposition 4.2.

Selected references

  • U. Feige, A threshold of ln n for approximating set cover, J. ACM 45(4), 634–652, 1998. https://doi.org/10.1145/285055.285059
  • C. Lund, M. Yannakakis, On the hardness of approximating minimization problems, J. ACM 41(5), 960–981, 1994. https://doi.org/10.1145/185675.306789
  • R. Raz, A parallel repetition theorem, SIAM J. Comput. 27(3), 763–803, 1998 (STOC 1995). https://doi.org/10.1137/S0097539795280895
  • M. Naor, L. J. Schulman, A. Srinivasan, Splitters and near-optimal derandomization, FOCS 1995, 182–191. https://doi.org/10.1109/SFCS.1995.492475
  • S. Arora, C. Lund, R. Motwani, M. Sudan, M. Szegedy, Proof verification and the hardness of approximation problems, J. ACM 45(3), 501–555, 1998. https://doi.org/10.1145/278298.278306
  • C. Papadimitriou, M. Yannakakis, Optimization, approximation, and complexity classes, J. Comput. Syst. Sci. 43(3), 425–440, 1991. https://doi.org/10.1016/0022-0000(91)90023-X
  • V. Chvátal, A greedy heuristic for the set-covering problem, Math. Oper. Res. 4(3), 233–235, 1979. https://doi.org/10.1287/moor.4.3.233
  • I. Dinur, D. Steurer, Analytical approach to parallel repetition, STOC 2014, 624–633. https://doi.org/10.1145/2591796.2591884
15 thms3 active usersReviewed
CombinatoricsComplexity TheoryOperations Research+2·Captain: mikedeng1

A Threshold of ln n for Approximating Set Cover II: The Inapproximability of Max k-CoverResearch Paper

Motivation

Max kkk-cover is the basic coverage problem of combinatorial optimization. The input is a collection of subsets of a finite ground set and a number kkk; the task is to choose kkk subsets that together cover as many points as possible. It models facility and sensor placement, the selection of a small committee or feature set representing a population, and budgeted versions of set cover. It is also the prototype of maximizing a monotone submodular function under a cardinality constraint.

The greedy algorithm covers at least a 1−1/e≈0.6321-1/e\approx 0.6321−1/e≈0.632 fraction of the optimum. This bound goes back to Hochbaum and Pathria and, for general submodular functions, to Nemhauser, Wolsey and Fisher (1978). For two decades it was not known whether a polynomial-time algorithm could do better. Uriel Feige answered the question in A Threshold of ln n for Approximating Set Cover (J. ACM 45(4), 1998, pp. 634–652, doi:10.1145/285055.285059), Section 5. His Theorem 5.3 (p. 648) states: "For any ϵ>0\epsilon > 0ϵ>0, max kkk-cover cannot be approximated in polynomial time within a ratio of (1−1/e+ϵ)(1 - 1/e + \epsilon)(1−1/e+ϵ), unless P=NPP = NPP=NP." Together with the greedy bound, it makes 1−1/e1-1/e1−1/e the exact approximation threshold of max kkk-cover.

Timeline:

  • 1978: Nemhauser, Wolsey and Fisher prove the greedy 1−1/e1-1/e1−1/e bound for monotone submodular maximization.
  • 1992: Arora, Lund, Motwani, Sudan and Szegedy prove the PCP theorem. With Papadimitriou–Yannakakis (1991) it gives Theorem 2.1.1 of the paper: MAX 3SAT-B has a constant gap unless P = NP.
  • 1994: Lund and Yannakakis introduce partition-system reductions from multi-prover proof systems to set cover.
  • 1995: Raz proves the parallel repetition theorem (Theorem 2.2.2 of the paper).
  • 1998: Feige proves the ln n threshold for set cover (the subject of mission I of this series) and the 1−1/e1-1/e1−1/e threshold for max kkk-cover.

Setting

An instance consists of nnn points {0,…,n−1}\{0,\dots,n-1\}{0,…,n−1}, a list of subsets S1,…,SsS_1,\dots,S_sS1​,…,Ss​ of the points, and a number kkk. Its value opt\mathrm{opt}opt is the largest number of points covered by at most kkk of the sets. Instances are written over a three-letter alphabet:

  • nnn in unary;
  • each set as its characteristic bit-vector;
  • kkk in unary.

Following p. 648, a polynomial-time algorithm approximates max kkk-cover within a ratio δ\deltaδ if on every input it outputs a number vvv with

δ⋅opt≤v≤opt.\delta\cdot\mathrm{opt}\le v\le\mathrm{opt}.δ⋅opt≤v≤opt.

The algorithm need not name the sets. This is the non-constructive notion of approximation.

The proof is a reduction from the MAX 3SAT-5 problem. A 3CNF-5 formula has exactly three literals per clause, over three distinct variables, and every variable occurs in exactly five clauses. The reduction goes through a kkk-prover proof system for such a formula φ\varphiφ with MMM clauses:

  • The verifier picks ℓ\ellℓ clauses at random, and a distinguished variable in each; there are R=(3M)ℓR=(3M)^\ellR=(3M)ℓ random strings rrr.
  • Each prover PiP_iPi​ is attached to a code word of length ℓ\ellℓ and weight ℓ/2\ell/2ℓ/2; distinct words are at Hamming distance at least ℓ/3\ell/3ℓ/3.
  • On coordinate jjj, prover PiP_iPi​ receives the clause if its bit is 1, and the distinguished variable if its bit is 0.
  • Answers are satisfying assignments of the received clauses and bits for the received variables.
  • Two provers are consistent if they assign the same values to the distinguished variables. The verifier weakly accepts if some pair of distinct provers is consistent, and strongly accepts if every pair is.

The max k′k'k′-cover instance of §5 attaches to every random string rrr a copy BrB_rBr​ of the explicit partition system. Its points are the vectors in {0,…,k−1}L\{0,\dots,k-1\}^L{0,…,k−1}L with L=2ℓL=2^\ellL=2ℓ, so m=kLm=k^Lm=kL. Its LLL partitions are labelled by the ℓ\ellℓ-bit strings, and each splits the points by the value of one coordinate. There are N=mRN=mRN=mR points in all. For each prover iii, question qqq and answer aaa, the set S(q,a,i)S_{(q,a,i)}S(q,a,i)​ collects, for every rrr on which PiP_iPi​ receives qqq, the iiith part of the partition of BrB_rBr​ labelled by the values that aaa gives to the distinguished variables of rrr. The budget is k′=kQk'=kQk′=kQ, where QQQ is the number of questions a single prover can receive.

Formalization targets

Goal: Theorem 5.3

∀ε>0:max k-cover is approximable within 1−1e+ε ⟹ P=NP,\forall\varepsilon>0:\quad \text{max } k\text{-cover is approximable within } 1-\tfrac1e+\varepsilon \ \Longrightarrow\ \mathrm{P}=\mathrm{NP},∀ε>0:max k-cover is approximable within 1−e1​+ε ⟹ P=NP,

conditional on the two cited results below. The ratio is left free (any ε>0\varepsilon>0ε>0), so the goal records the shape of the threshold and not a particular constant.

Milestones

  • Proposition 2.1.2 (p. 640): for some ε>0\varepsilon>0ε>0 it is NP-hard to distinguish satisfiable 3CNF-5 formulas from those in which at most a (1−ε)(1-\varepsilon)(1−ε)-fraction of the clauses can be satisfied simultaneously.
  • Lemma 2.3.1 (p. 643): a satisfiable φ\varphiφ admits a strategy that always strongly accepts; on a far-from-satisfiable φ\varphiφ the weak acceptance probability is at most k2 2−cℓk^2\,2^{-c\ell}k22−cℓ.
  • Coverage of the explicit partition system (p. 649): jjj subsets from pairwise different partitions cover exactly (1−(1−1/k)j)m(1-(1-1/k)^j)m(1−(1−1/k)j)m points.
  • Proposition 5.4 (p. 649): if at most kQkQkQ sets cover a (1−1/e+ε)(1-1/e+\varepsilon)(1−1/e+ε)-fraction of the points, then at least an ε/3\varepsilon/3ε/3-fraction of the random strings are good. Here rrr is good if wr≤3k/εw_r\le3k/\varepsilonwr​≤3k/ε sets meet BrB_rBr​ and two of them from different provers lie in the same partition.
  • Decoding (p. 649): such a covering yields a strategy that weakly accepts with probability at least (ε/3)(ε/3k)2(\varepsilon/3)(\varepsilon/3k)^2(ε/3)(ε/3k)2.
  • Gap (p. 649): a satisfiable formula gives a cover of all NNN points by kQkQkQ sets. If at most a (1−ε′)(1-\varepsilon')(1−ε′)-fraction of the clauses are satisfiable, kQkQkQ sets cover at most (1−1/e+g(k))N(1-1/e+g(k))N(1−1/e+g(k))N points, where g(k)→0g(k)\to0g(k)→0, for all large ℓ\ellℓ.
  • Proposition 5.1 (p. 647): every greedy run covers at least (1−1/e) opt(1-1/e)\,\mathrm{opt}(1−1/e)opt points.

Significance

The result closes the approximability of max kkk-cover: the greedy algorithm cannot be beaten by any constant unless P = NP. Consequences:

  • Submodular maximization. Coverage functions are monotone submodular, so the bound transfers to monotone submodular maximization under a cardinality constraint, whenever the function is given in a form that encodes a coverage instance.
  • Other problems. Hardness results for facility location, budgeted allocation, and welfare maximization with coverage valuations reduce from it.
  • The reduction itself. The ℓ\ellℓ-fold kkk-prover system combined with a partition system that is exactly countable is the template for later 1−1/e1-1/e1−1/e hardness proofs.

Status: the theorem has been proved since 1998. It has not been formalized; neither the reduction nor the underlying proof systems exist in Mathlib or on this platform. This mission produces:

  • a machine-checked reduction from MAX 3SAT-5 to max kkk-cover;
  • an exact counting lemma for product partition systems;
  • the averaging and concavity argument of Proposition 5.4;
  • a formal statement of the greedy bound for coverage.

The cited PCP-based gap (Theorem 2.1.1) and parallel repetition (Theorem 2.2.2) remain hypotheses. They are separate, much larger formalization projects.

Difficulty

The obvious argument uses the soundness of the proof system directly: a large cover should force consistent answers. It fails because a cover may spend many sets on a few random strings and cover them completely, while covering the rest partially without any two sets from the same partition. What saves the argument is exact counting. For sets from pairwise different partitions, coverage is exactly h(j)=(1−(1−1/k)j)mh(j)=(1-(1-1/k)^j)mh(j)=(1−(1−1/k)j)m, a concave function of the number jjj of sets used. Since the sets meet a random string kkk times on average, Jensen's inequality caps the total coverage of such "unstructured" strings at about (1−(1−1/k)k)(1-(1-1/k)^k)(1−(1−1/k)k), which tends to 1−1/e1-1/e1−1/e. A further obstacle is that the reduction must run in polynomial time. The paper therefore takes ℓ\ellℓ and kkk constant (unlike the set-cover reduction, where ℓ=Θ(log⁡log⁡n)\ell=\Theta(\log\log n)ℓ=Θ(loglogn)), and the soundness bound k22−cℓk^2 2^{-c\ell}k22−cℓ must beat (ε/3)(ε/3k)2(\varepsilon/3)(\varepsilon/3k)^2(ε/3)(ε/3k)2 at a constant ℓ\ellℓ. The quantifier order (kkk large first, then ℓ\ellℓ large) is part of the difficulty.

A second obstacle is the machine model. The goal is a statement about polynomial-time Turing machines, so the reduction and the decision procedure built from a hypothetical approximation algorithm must be compiled into Cook's one-tape machines.

Formalization scope

  • Machine model. CookPvsNP_defs (a published platform definition): one-tape Turing machines, P\mathrm{P}P, NP\mathrm{NP}NP, polynomial-time computable functions, CNF formulas and their encoding. "P = NP" is P Bool = NP Bool, the form in which CookPvsNP.P_ne_NP states the open problem.
  • Cited results as hypotheses. Theorem 2.1.1 enters as Thm211. Raz's theorem enters as RazRepetition, its consequence stated on p. 642: the ℓ\ellℓ-fold clause–variable game on a far-from-satisfiable 3CNF-5 formula has acceptance probability at most 2−cℓ2^{-c\ell}2−cℓ. This is weaker than Raz's general theorem, so the conditional statement is stronger. No hypothesis about max kkk-cover is assumed.
  • Approximation. The value form above, with no size threshold. For ε>1/e\varepsilon>1/eε>1/e the ratio exceeds one and the hypothesis is unsatisfiable on any instance with opt>0\mathrm{opt}>0opt>0; those values are vacuous, as in the paper.
  • opt\mathrm{opt}opt. Taken over at most kkk sets. This agrees with the paper's "exactly kkk" whenever k≤sk\le sk≤s.
  • Probability and counting. Probabilities are uniform counts over the (3M)ℓ(3M)^\ell(3M)ℓ random strings. Fractions in lower-bound statements are written as counts compared with multiples of RRR.
  • Canonical answers. The type of answers is restricted to satisfying assignments of the received clauses, following the paper's "without loss of generality" (p. 643). All indices are 0-based.
  • Partition system. The §4 construction is defined for any partition system with ℓ\ellℓ-bit partition labels and instantiated with the explicit product system. Its L=2ℓL=2^\ellL=2ℓ coordinates are the ℓ\ellℓ-bit strings themselves.
  • Not formalized. The running time of the greedy algorithm, and the constructive variant (Proposition 5.2), which belongs to the set-cover mission.

A trivializing formalization is ruled out: every cited input is a named, satisfiable proposition about 3CNF formulas or the two-prover game, never about max kkk-cover, and the approximation hypothesis is satisfiable for ratios up to 111.

Needed infrastructure, reusable beyond this mission:

  • composition and simulation lemmas for Cook's machines;
  • the uniformity of the verifier's questions on 3CNF-5 formulas;
  • concavity of j↦1−(1−1/k)jj\mapsto 1-(1-1/k)^jj↦1−(1−1/k)j;
  • (1−1/k)k→1/e(1-1/k)^k\to 1/e(1−1/k)k→1/e bounds.

Contributions to any of these, or to either cited theorem, are welcome.

Selected references

  • U. Feige, A threshold of ln n for approximating set cover, J. ACM 45(4) (1998) 634–652. https://doi.org/10.1145/285055.285059
  • R. Raz, A parallel repetition theorem, SIAM J. Comput. 27(3) (1998) 763–803 (STOC 1995). https://doi.org/10.1137/S0097539795280895
  • S. Arora, C. Lund, R. Motwani, M. Sudan, M. Szegedy, Proof verification and the hardness of approximation problems, J. ACM 45(3) (1998) 501–555. https://doi.org/10.1145/278298.278306
  • C. Papadimitriou, M. Yannakakis, Optimization, approximation, and complexity classes, J. Comput. System Sci. 43(3) (1991) 425–440. https://doi.org/10.1016/0022-0000(91)90023-X
  • C. Lund, M. Yannakakis, On the hardness of approximating minimization problems, J. ACM 41(5) (1994) 960–981. https://doi.org/10.1145/185675.306789
  • G. L. Nemhauser, L. A. Wolsey, M. L. Fisher, An analysis of approximations for maximizing submodular set functions—I, Math. Programming 14 (1978) 265–294. https://doi.org/10.1007/BF01588971
  • S. Cook, The P versus NP problem, Clay Mathematics Institute. https://www.claymath.org/wp-content/uploads/2022/06/pvsnp.pdf
13 thms3 active usersReviewed
PreviousNext

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