Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

Optimization

1,666 missions · 898 completed

Missions

Open768Completed898All1666
Algorithmic Game TheoryLinear Optimization·Captain: mikedeng1

Bimatrix Equilibrium Points and Mathematical Programming: If Z Is Non-Degenerate and uᵀMu ≥ 0, uᵀMu = 0 ⇒ Mu + Mᵀu = 0 for All u ≥ 0, a Non-Empty Z Has an Equilibrium PointResearch Paper

Motivation

The linear complementarity problem asks, for a real square matrix MMM of order nnn and a vector q∈Rnq\in\mathbb R^nq∈Rn, for a vector zzz with

z≥0,w=Mz−q≥0,zTw=0.z\ge 0,\qquad w=Mz-q\ge 0,\qquad z^{\mathsf T}w=0 .z≥0,w=Mz−q≥0,zTw=0.

It is the common form of the Kuhn–Tucker conditions of linear and convex quadratic programs and of the equilibrium conditions of two-person non-zero-sum (bimatrix) games. In 1964 Lemke and Howson gave a constructive existence proof for equilibrium points of bimatrix games by following a path of adjacent extreme points of a polyhedron (Lemke–Howson 1964). In 1965 Lemke adapted that path-following technique to the general problem above, under a condition on MMM that covers the positive semidefinite case treated by Dantzig and Cottle and the case M>0M>0M>0 (Lemke 1965). The resulting procedure, now called Lemke's algorithm or complementary pivoting, became a standard method for linear complementarity problems and a template for later path-following existence proofs (Cottle, Pang, Stone 1992).

Timeline:

  • 1964: Lemke and Howson, adjacent-extreme-point path for bimatrix games.
  • 1965: Lemke, existence for matrices satisfying conditions (i)–(ii) below (the goal of this mission), under a non-degeneracy assumption, by an augmented path with an artificial variable z0z_0z0​.
  • Later literature names matrices with (i)–(ii) copositive-plus, and removes non-degeneracy by lexicographic perturbation.

Setting

Fix a finite index set of size nnn, a real n×nn\times nn×n matrix MMM and q∈Rnq\in\mathbb R^nq∈Rn. Inequalities between vectors are componentwise and eee is the all-ones vector.

  • The set Z={z∈Rn:z≥0, w=Mz−q≥0}Z=\{z\in\mathbb R^n : z\ge 0,\ w=Mz-q\ge 0\}Z={z∈Rn:z≥0, w=Mz−q≥0}; www is always the function Mz−qMz-qMz−q of zzz.
  • An equilibrium point is a point z∈Zz\in Zz∈Z with zTw=0z^{\mathsf T}w=0zTw=0; SSS is the set of them.
  • For any z∈Rnz\in\mathbb R^nz∈Rn, the matrix N(z)N(z)N(z) consists of the columns of (MT,I)(M^{\mathsf T},I)(MT,I) that are kept when one deletes the iii-th column of MTM^{\mathsf T}MT whenever wi≠0w_i\ne 0wi​=0 and the iii-th column of III whenever zi≠0z_i\ne0zi​=0.
  • An extreme point of ZZZ is a point z∈Zz\in Zz∈Z with rank⁡N(z)=n\operatorname{rank}N(z)=nrankN(z)=n; zzz lies on an open edge if z∈Zz\in Zz∈Z and rank⁡N(z)=n−1\operatorname{rank}N(z)=n-1rankN(z)=n−1. An open edge is the set of points of ZZZ sharing the matrix N(z)N(z)N(z) of such a point; a ray is an open edge with exactly one end-point.
  • ZZZ is non-degenerate if for every z∈Rnz\in\mathbb R^nz∈Rn the columns of N(z)N(z)N(z) are linearly independent.
  • For an index sss, Zs={z∈Z:zTw=zsws}Z_s=\{z\in Z : z^{\mathsf T}w=z_sw_s\}Zs​={z∈Z:zTw=zs​ws​}. An adjacency path is a non-empty connected class of closed edges of ZZZ no three of which meet; its end-points are the extreme points lying on exactly one of its edges.
  • The augmented sets: Z∗={(z,z0):z≥0, z0≥0, Mz+z0e−q≥0}Z^*=\{(z,z_0) : z\ge0,\ z_0\ge0,\ Mz+z_0e-q\ge0\}Z∗={(z,z0​):z≥0, z0​≥0, Mz+z0​e−q≥0}, its subset Z0∗Z_0^*Z0∗​ where zTw=0z^{\mathsf T}w=0zTw=0, and, for a number kkk, Z∗∗Z^{**}Z∗∗, the set of the form above for the bordered data (Me−eT0)\begin{pmatrix}M&e\\-e^{\mathsf T}&0\end{pmatrix}(M−eT​e0​), (q−k)\begin{pmatrix}q\\-k\end{pmatrix}(q−k​).

Formalization targets

Goal: Theorem 4 (p. 7)

Suppose ZZZ is non-degenerate and that for every u≥0u\ge0u≥0

(i) uTMu≥0,(ii) uTMu=0 ⟹ Mu+MTu=0.\text{(i)}\ u^{\mathsf T}Mu\ge 0,\qquad \text{(ii)}\ u^{\mathsf T}Mu=0\ \Longrightarrow\ Mu+M^{\mathsf T}u=0 .(i) uTMu≥0,(ii) uTMu=0 ⟹ Mu+MTu=0.

Then

Z≠∅ ⟹ ∃z∈Z, zT(Mz−q)=0.Z\ne\emptyset\ \Longrightarrow\ \exists z\in Z,\ z^{\mathsf T}(Mz-q)=0 .Z=∅ ⟹ ∃z∈Z, zT(Mz−q)=0.

Milestones, in the order the paper's proof uses them

  1. Theorem 1 (p. 3): for non-degenerate ZZZ, ZsZ_sZs​ is empty or a disjoint union of adjacency paths whose end-points are exactly the equilibrium points.
  2. Lemma 2 (p. 4): Z=∅Z=\emptysetZ=∅ iff some u≥0u\ge0u≥0 has MTu≤0M^{\mathsf T}u\le0MTu≤0, uTq>0u^{\mathsf T}q>0uTq>0.
  3. Theorem 2 (p. 4): if some ZsZ_sZs​ contains precisely one ray of a non-degenerate ZZZ, the number of equilibrium points is odd.
  4. p. 6: for kkk chosen as in (12), the starting ray E0∗E_0^*E0∗​ (z=0z=0z=0) is a ray of Z∗∗Z^{**}Z∗∗ inside Z0∗∗Z_0^{**}Z0∗∗​, and it is the only one.
  5. Lemma 2 (p. 6): Z∗∗Z^{**}Z∗∗ has an equilibrium point.
  6. Lemma 3 (p. 7): a ray (zˉ+θu,zˉ0+θu0)(\bar z+\theta u,\bar z_0+\theta u_0)(zˉ+θu,zˉ0​+θu0​) of Z∗Z^*Z∗ in Z0∗Z_0^*Z0∗​ with eTu=1e^{\mathsf T}u=1eTu=1 satisfies uTMu+u0=0u^{\mathsf T}Mu+u_0=0uTMu+u0​=0.
  7. (22)–(25) (pp. 7–8): under (i)–(ii) such a ray has zˉ0=0\bar z_0=0zˉ0​=0 and zˉ\bar zzˉ an equilibrium point of ZZZ, or zˉ0>0\bar z_0>0zˉ0​>0 and Z=∅Z=\emptysetZ=∅.

Companion results

The Corollary (p. 5: q=eq=eq=e, M>0M>0M>0 gives an odd number of equilibrium points), Theorem 3 (p. 5: if zTMz≥0z^{\mathsf T}Mz\ge0zTMz≥0 for all zzz, at most one equilibrium point) and Theorem 5 (p. 8: if moreover Z≠∅Z\ne\emptysetZ=∅, ZZZ has at least nnn rays).

Significance

Theorem 4 is an existence theorem for a class of linear complementarity problems that contains convex quadratic programming (the case zTMz≥0z^{\mathsf T}Mz\ge0zTMz≥0 for all zzz) and strictly positive matrices, and its proof is an algorithm: the path followed is the sequence of pivots of Lemke's method. The parity statements (Theorem 2, the Corollary) are an early instance of the path-following parity arguments later abstracted in the complexity class PPAD (Papadimitriou 1994).

The theorem is classical and proved. To our knowledge neither Lemke's theorem nor the polyhedral path machinery of Theorems 1–2 has a machine-checked proof in Lean or Mathlib. This mission produces the vocabulary of non-degenerate complementarity polyhedra (the matrix N(z)N(z)N(z), open edges, rays, adjacency paths), the parity theorem, and the existence theorem itself; the Farkas-type Lemma 2 (p. 4) is already available on the platform.

Difficulty

The algebraic part (Lemma 3 and (22)–(25)) is short. The difficulty is combinatorial-geometric: Theorem 1 requires that, under non-degeneracy, every extreme point of ZZZ has exactly nnn incident edges, that each point of ZsZ_sZs​ is an extreme point or lies on an open edge, and that the edges contained in ZsZ_sZs​ form paths whose end-points are exactly the equilibrium points; the parity of Theorem 2 then needs finiteness of the set of extreme points. None of this polyhedral structure (edges as zero-pattern classes, their closures and end-points) is in Mathlib. Moreover, the printed proof of Theorem 4 applies Theorem 2 to Z∗∗Z^{**}Z∗∗, whose non-degeneracy the paper obtains from an informal perturbation remark, and it sketches the step from the end of the augmented path to a ray of Z∗Z^*Z∗; a complete proof of the goal must supply these steps or take another route.

Formalization scope

  • Vectors are functions from a finite index type ι\iotaι to R\mathbb RR (n=∣ι∣n=|\iota|n=∣ι∣; Fin n\mathrm{Fin}\,nFinn is a special case); the bordered system lives on ι⊕{∗}\iota\oplus\{\ast\}ι⊕{∗}. www is always Mz−qMz-qMz−q, never a free variable.
  • N(z)N(z)N(z) is the indexed family of its columns, rank⁡N(z)\operatorname{rank}N(z)rankN(z) the dimension of their span; "rank⁡N(z)=n−1\operatorname{rank}N(z)=n-1rankN(z)=n−1" is written rank⁡N(z)+1=n\operatorname{rank}N(z)+1=nrankN(z)+1=n.
  • Non-degeneracy (Def. 3) is linear independence of the columns of N(z)N(z)N(z) for every z∈Rnz\in\mathbb R^nz∈Rn. The phrase "(but not all)" is read as excluding only the empty matrix; the other reading differs only when q=0q=0q=0, and the formal definition is then the stronger hypothesis.
  • An open edge is the set of points of ZZZ with the zero pattern of a point z0z_0z0​ with rank⁡N(z0)=n−1\operatorname{rank}N(z_0)=n-1rankN(z0​)=n−1; closed edges are closures; end-points of an open edge EEE are the points of E‾∖E\overline E\setminus EE∖E; a ray has exactly one. Adjacency paths are classes of closed edges.
  • Conditions (i)–(ii) are quantified over u≥0u\ge0u≥0 only. "Non-negative definite" (Theorems 3, 5) is zTMz≥0z^{\mathsf T}Mz\ge0zTMz≥0 for all zzz, with no symmetry assumed.
  • "An odd number" is finiteness plus odd cardinality; "at least nnn rays" counts rays as an extended natural number; "at most one" is a subsingleton.
  • Equilibrium points include membership in ZZZ: zT(Mz−q)=0z^{\mathsf T}(Mz-q)=0zT(Mz−q)=0 alone holds at z=0z=0z=0 and would make the goal trivial. The goal mentions neither Z∗Z^*Z∗, Z∗∗Z^{**}Z∗∗, kkk, rays nor paths; in particular non-degeneracy of Z∗∗Z^{**}Z∗∗ is not a hypothesis of the goal.
  • Deviations: Lemma 2 (p. 6) assumes non-degeneracy of Z∗∗Z^{**}Z∗∗ (Def. 3 does not define it for the non-square Z∗Z^*Z∗); milestone 4 holds for every kkk without non-degeneracy; Lemma 3 and (22)–(25) parametrize the ray as in (15) without requiring zˉ∗\bar z^*zˉ∗ to be an extreme point, which makes them stronger.

Contributions welcome: the polyhedral lemmas for non-degenerate ZZZ (extreme points have nnn edges, finitely many extreme points), the parity argument, and any complete route to Theorem 4.

Selected references

  • C. E. Lemke, Bimatrix Equilibrium Points and Mathematical Programming, Management Science 11(7):681–689, 1965. https://doi.org/10.1287/mnsc.11.7.681 (cited from the HAL deposit hal-01885823v1)
  • C. E. Lemke, J. T. Howson, Equilibrium Points of Bimatrix Games, J. SIAM 12(2):413–423, 1964. https://doi.org/10.1137/0112033
  • R. W. Cottle, J.-S. Pang, R. E. Stone, The Linear Complementarity Problem, Academic Press 1992; SIAM Classics 2009. https://doi.org/10.1137/1.9780898719000
  • C. H. Papadimitriou, On the complexity of the parity argument and other inefficient proofs of existence, J. Computer and System Sciences 48(3):498–532, 1994. https://doi.org/10.1016/S0022-0000(05)80063-7
10 thms3 active usersReviewed
Convex OptimizationOperations ResearchStochastic Systems·Captain: mikedeng1

Loss Networks 1: The Primal Problem Has a Unique Optimum x_r = ν_r ∏_j (1 − B_j)^{A_jr}; the Conditions on B Are Solvable, Uniquely if rank A = J, and Biject with Dual OptimaResearch Paper

Motivation

A loss network carries calls that require capacity on one or more links. A call is accepted only when every required link has enough free circuits; otherwise it is lost. This makes the traffic on different links dependent even when calls on different routes arrive independently. Network operators need to know where capacity constraints bind and how offered traffic is converted into carried traffic. Kelly's 1991 survey develops a continuous optimization problem that identifies a characteristic flow vector and gives a linkwise description of blocking in this setting. Kelly, Loss networks (1991), §§1.2 and 2.1.

The paper begins with the equilibrium distribution of the discrete network and uses a continuous relaxation when analyzing its likely state. The resulting primal problem is useful beyond the original probability calculation because it links route flows, capacity constraints, and a convex dual. Theorem 2.8 collects the existence, uniqueness, and correspondence statements for these descriptions. This mission targets that theorem and the intermediate claims Kelly states in §2.1. Kelly (1991), pp. 327–329.

Setting

There are finitely many links jjj and finitely many routes rrr. Link jjj has CjC_jCj​ circuits, and one call on route rrr uses AjrA_{jr}Ajr​ circuits there, with AjrA_{jr}Ajr​ a nonnegative integer. Calls request route rrr at positive offered rate νr\nu_rνr​. The matrix AAA need not be a zero–one incidence matrix: one call may use more than one circuit on a link. Kelly's fixed-routing model and its general integer matrix are described in §1.2. Kelly (1991), p. 321.

A real route-flow vector x=(xr)x=(x_r)x=(xr​) is primal feasible if xr≥0x_r\ge0xr​≥0 for every route and ∑rAjrxr≤Cj\sum_r A_{jr}x_r\le C_j∑r​Ajr​xr​≤Cj​ for every link. The objective is

F(x)=∑r(xrlog⁡νr−xrlog⁡xr+xr),F(x)=\sum_r\bigl(x_r\log\nu_r-x_r\log x_r+x_r\bigr),F(x)=r∑​(xr​logνr​−xr​logxr​+xr​),

with xrlog⁡xr=0x_r\log x_r=0xr​logxr​=0 at xr=0x_r=0xr​=0. The primal optimum maximizes FFF over precisely this feasible set. This is the continuous problem (2.1), rather than an optimization over the integer-valued network state. Kelly (1991), p. 327, (2.1).

A nonnegative vector y=(yj)y=(y_j)y=(yj​) assigns one multiplier to each link. The dual objective is

D(y)=∑rνrexp⁡ ⁣(−∑jyjAjr)+∑jyjCj,yj≥0.D(y)=\sum_r\nu_r\exp\!\left(-\sum_jy_jA_{jr}\right)+\sum_jy_jC_j, \qquad y_j\ge0.D(y)=r∑​νr​exp(−j∑​yj​Ajr​)+j∑​yj​Cj​,yj​≥0.

A blocking vector B=(Bj)B=(B_j)B=(Bj​) has 0≤Bj<10\le B_j<10≤Bj​<1. Its carried route flow is νr∏i(1−Bi)Air\nu_r\prod_i(1-B_i)^{A_{ir}}νr​∏i​(1−Bi​)Air​. The conditions on BBB say that the total carried flow through link jjj equals CjC_jCj​ when Bj>0B_j>0Bj​>0, and is at most CjC_jCj​ when Bj=0B_j=0Bj​=0. The multiplier and blocking coordinates are related by Bj=1−e−yjB_j=1-e^{-y_j}Bj​=1−e−yj​, equivalently yj=−log⁡(1−Bj)y_j=-\log(1-B_j)yj​=−log(1−Bj​). These are equations (2.3), (2.6), and (2.7). Kelly (1991), p. 328.

Formalization targets

Theorem 2.8: primal optimum, blocking solutions, and dual optima

The goal first asserts that the primal problem has exactly one optimizer. Every blocking solution must describe that same optimizer:

xr=νr∏j(1−Bj)Ajrfor every route r.x_r=\nu_r\prod_j(1-B_j)^{A_{jr}}\quad\text{for every route }r.xr​=νr​j∏​(1−Bj​)Ajr​for every route r.

It also asserts that a blocking solution exists, and that it is unique if AAA has rank JJJ, the number of links. Finally, the transformations Bj=1−e−yjB_j=1-e^{-y_j}Bj​=1−e−yj​ and yj=−log⁡(1−Bj)y_j=-\log(1-B_j)yj​=−log(1−Bj​) give a bijection between all blocking solutions and all dual optima. The formal goal includes both directions and both inverse identities, even when the dual optimizer is not unique. Kelly (1991), p. 329, Theorem 2.8.

Claims leading to the theorem

The milestone list follows Kelly's stated progression: unique primal attainment; the Lagrangian maximum and the dual value in (2.2); feasibility and complementary slackness in (2.4)–(2.5); the substitution (2.6); dual attainment; both directions of the blocking–dual correspondence; and strict convexity plus uniqueness under full row rank. One direction of the correspondence is an existing, proved platform theorem, KellyStochasticNetworks.dual_optimum_conditions; it is referenced directly. The other direction remains a new target. Kelly (1991), pp. 327–329.

Significance

The theorem makes the carried flow uniquely determined even when several blocking vectors or dual optimizers describe it. Under full row rank, it also identifies a unique linkwise blocking vector. Its correspondence lets a statement in the flow language be translated to a statement in the multiplier language without selecting a preferred optimizer. The interpretation following Theorem 2.8 explains the linkwise condition: positive blocking occurs only on a saturated link. Kelly (1991), p. 329, discussion after Theorem 2.8.

The mathematical result was proved in the source paper. The work here is to obtain machine-checked proofs of its exact finite-dimensional statements. The published Kelly–Yudovina definition KellyStochasticNetworks.dualObjective already represents the dual formula, and its proved optimum-conditions theorem supplies one direction of the correspondence. The remaining development would give reusable facts about separable entropy objectives, nonnegative linear capacity constraints, complementary slackness, and exponential coordinate changes. Those facts can support later loss-network formalizations without changing this mission's target.

Difficulty

The boundary xr=0x_r=0xr​=0 requires care: the objective has a continuous value there, but its logarithmic derivative does not. Thus a calculation that differentiates the objective throughout the closed nonnegative cone does not justify the printed differentiability sentence on p. 327. Dual existence is another boundary issue. A nonnegative capacity permits Cj=0C_j=0Cj​=0, while the paper's stated growth of the dual objective in every nonnegative coordinate can fail at that input. Any formal argument for the complete theorem must cover these domains accurately. Full row rank controls uniqueness of the dual coordinates; without it, the paper explicitly allows nonunique blocking solutions. Kelly (1991), pp. 327–329.

Formalization scope

Lean represents links by Fin J, routes by Fin R, AjrA_{jr}Ajr​ and CjC_jCj​ by natural numbers, and xrx_rxr​, yjy_jyj​, BjB_jBj​, and νr\nu_rνr​ by real numbers. The primal feasible set includes both coordinatewise nonnegativity and every link-capacity inequality. The dual optimum is minimal over the nonnegative orthant, using the published dual objective. The finite sums and products have their usual empty-index values; no hidden nonemptiness assumption is imposed. Matrix rank is taken over the reals and compared with JJJ, so the rank condition is full row rank.

The goal assumes νr>0\nu_r>0νr​>0 and Cj≥1C_j\ge1Cj​≥1 for every route and link. Positive rates give the logarithm in the primal objective its intended meaning. Positive capacities exclude a degeneracy in the dual-attainment and blocking parts of the theorem. The value at xr=0x_r=0xr​=0 is the continuous extension xrlog⁡xr=0x_r\log x_r=0xr​logxr​=0; no differentiability assertion at that boundary is part of the formal target. Blocking values belong to [0,1)[0,1)[0,1), so the inverse logarithm is evaluated on a positive number. A flow optimum always ranges over the exact primal feasible set, and a blocking solution always ranges over the full conditions (2.7); neither can be replaced by an arbitrary vector with a convenient equation.

A complete proof may require finite-dimensional convex analysis, strict concavity of the entropy term, attainment on a closed feasible set, the dual first-order condition, and facts about exponentials, logarithms, products, and matrix rank. The definitions and theorems are kept separate so work on these pieces can be reused. Contributions proving either a milestone or a reusable supporting lemma are in scope.

Selected references

  • F. P. Kelly, Loss networks, The Annals of Applied Probability 1(3), 319–378, 1991. DOI: 10.1214/aoap/1177005872.
11 thms3 active usersReviewed
🏆Completed
CombinatoricsGraph TheoryOperations Research·Captain: mikedeng1

Sequencing a One State-Variable Machine: A Solvable Case of the Traveling Salesman Problem 1: The Spanning-Tree Interchange Tour ψ* Is a Minimal Cost TourResearch Paper

Motivation

The traveling salesman problem is NP-hard in general, so special cost structures under which it can be solved exactly in polynomial time are of lasting interest in combinatorial optimization and scheduling. One of the earliest and most cited such cases comes from sequencing on a machine whose condition is described by a single real number: a furnace temperature, a knife setting, a fill level. Each job must start at a prescribed state and leaves the machine in another, and changing the state between consecutive jobs costs money or time. Finding the cheapest cyclic order of the jobs is a traveling salesman problem with asymmetric costs.

P. C. Gilmore and R. E. Gomory solved this problem exactly in 1964 (Oper. Res. 12(5), 655–679) with an algorithm of O(N2)O(N^2)O(N2) simple steps. Their construction became the standard example of a solvable TSP case: it is the starting point of the survey literature on polynomially solvable TSPs (Gilmore, Lawler and Shmoys 1985; Burkard, Deineko, van Dal, van der Veen and Woeginger 1998), and it appears in the no-wait flow shop literature, where two-machine no-wait scheduling reduces to exactly this cost structure.

Setting

There are NNN jobs J1,…,JNJ_1,\dots,J_NJ1​,…,JN​. Job iii must be started when the state of the machine is AiA_iAi​ and leaves the machine in state BiB_iBi​; the jobs are numbered so that j>ij>ij>i implies Bj≥BiB_j\ge B_iBj​≥Bi​. Two cost densities f,g:R→Rf,g:\mathbb R\to\mathbb Rf,g:R→R satisfy f(x)+g(x)≥0f(x)+g(x)\ge0f(x)+g(x)≥0: raising the state through xxx costs f(x)f(x)f(x) per unit, lowering it costs g(x)g(x)g(x) per unit. The changeover cost of having job jjj follow job iii is

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

A permutation ψ\psiψ of the jobs assigns to each job iii its successor ψ(i)\psi(i)ψ(i) and has cost c(ψ)=∑iciψ(i)c(\psi)=\sum_i c_{i\psi(i)}c(ψ)=∑i​ciψ(i)​. It is a tour if ψ(s)≠s\psi(s)\ne sψ(s)=s for every nonempty proper subset sss of the jobs, i.e. if it is a single cycle through all jobs.

A permutation φ\varphiφ ranks the AAA if j>ij>ij>i implies Aφ(j)≥Aφ(i)A_{\varphi(j)}\ge A_{\varphi(i)}Aφ(j)​≥Aφ(i)​. The interchange αij\alpha_{ij}αij​ swaps iii and jjj; applying it to ψ\psiψ gives ψαij\psi\alpha_{ij}ψαij​ (first αij\alpha_{ij}αij​, then ψ\psiψ), which exchanges the successors of iii and jjj, at cost cψ(αij)=c(ψαij)−c(ψ)c_\psi(\alpha_{ij})=c(\psi\alpha_{ij})-c(\psi)cψ​(αij​)=c(ψαij​)−c(ψ). The graph GφG_\varphiGφ​ links iii and φ(i)\varphi(i)φ(i) for every iii; a spanning tree of GφG_\varphiGφ​ is a minimal set of additional arcs RijR_{ij}Rij​ that makes it connected, with cost ∑cφ(αij)\sum c_\varphi(\alpha_{ij})∑cφ​(αij​). Node qqq is of type 1 if Bq≤Aφ(q)B_q\le A_{\varphi(q)}Bq​≤Aφ(q)​ and of type 2 otherwise.

Given a minimal cost spanning tree τ\tauτ of GφG_\varphiGφ​ made of arcs Rq,q+1R_{q,q+1}Rq,q+1​, the tour ψ∗\psi^*ψ∗ is obtained from φ\varphiφ by executing the interchanges αq,q+1\alpha_{q,q+1}αq,q+1​, Rq,q+1∈τR_{q,q+1}\in\tauRq,q+1​∈τ, first those of type 1 in decreasing order of qqq, then those of type 2 in increasing order of qqq.

Formalization targets

Goal: Theorem 5

ψ∗ is a tour, andc(ψ∗)≤c(ψ)  for every tour ψ.\psi^*\ \text{is a tour, and}\quad c(\psi^*)\le c(\psi)\ \text{ for every tour }\psi.ψ∗ is a tour, andc(ψ∗)≤c(ψ)  for every tour ψ.

This is the paper's main theorem. It fixes no constant and no special form of f,gf,gf,g; it asserts that the specific tour produced by the algorithm is optimal among all tours.

Milestones

In the order the proof uses them:

  1. Theorem 1: c(φ)=min⁡ψc(ψ)c(\varphi)=\min_\psi c(\psi)c(φ)=minψ​c(ψ) over all permutations.
  2. Eq. (11): under Bj≥BiB_j\ge B_iBj​≥Bi​, Aψ(j)≥Aψ(i)A_{\psi(j)}\ge A_{\psi(i)}Aψ(j)​≥Aψ(i)​, the cost of αij\alpha_{ij}αij​ is ∫[Bi,Bj]∩[Aψ(i),Aψ(j)](f+g)\int_{[B_i,B_j]\cap[A_{\psi(i)},A_{\psi(j)}]}(f+g)∫[Bi​,Bj​]∩[Aψ(i)​,Aψ(j)​]​(f+g).
  3. Lemma 1: an interchange between two different cycles merges them.
  4. Theorem 2: the interchanges of a spanning tree, in any order, turn ψ\psiψ into a tour.
  5. Lemma 2: some minimal cost spanning tree of GφG_\varphiGφ​ uses only arcs Ri,i+1R_{i,i+1}Ri,i+1​.
  6. Lemma 5: adjacent interchanges executed on φ\varphiφ in the stated order have additive cost.
  7. Theorem 3: ψ∗\psi^*ψ∗ is a tour of cost c(φ)+cφ(τ)c(\varphi)+c_\varphi(\tau)c(φ)+cφ​(τ).
  8. Theorem 4: c(ψ)≥c(φ)+c∗(ψ)c(\psi)\ge c(\varphi)+c^*(\psi)c(ψ)≥c(φ)+c∗(ψ) for every permutation, with the underestimate c∗c^*c∗ of (17).
  9. Lemma 7: for a tour ψ\psiψ the graph Gψ∗G_\psi^*Gψ∗​ is connected.
  10. Lemma 8: conditions (22a) and (22b) hold for equally many indices.
  11. Eq. (28): c∗(ψ)≥cφ(τ)c^*(\psi)\ge c_\varphi(\tau)c∗(ψ)≥cφ​(τ) for every tour ψ\psiψ.

Off the goal's path: Theorem 7, a minimal tour for (f,g)(f,g)(f,g) is minimal for (f+g,0)(f+g,0)(f+g,0).

Significance

The theorem shows that a traveling salesman problem whose costs come from a one-dimensional state is solved by three polynomial steps: sorting (an optimal assignment), a minimum spanning tree over N−1N-1N−1 candidate arcs, and a prescribed sequence of interchanges. It is the base case for a family of later results on solvable TSPs and for the two-machine no-wait flow shop, where it gives an exact polynomial algorithm.

The result has been proved since 1964. No machine-checked proof of it is known to exist. The proof in the paper argues largely from figures ("evident geometrically"), and its statement of Theorem 3 lists the interchanges in an order that contradicts its own proof: executed in the printed order, the paper's numerical example yields a tour of cost 39 instead of the optimum 34. A formal proof settles which order is correct and fills in the geometric steps. Partial contributions are useful: the permutation facts (Lemmas 1, 8 and Theorem 2) are independent of the cost model and reusable.

Difficulty

The obvious argument fails at two points. First, interchanges do not commute in cost: once one interchange is executed, the cost of the next one depends on the new successors, so the cost of ψ∗\psi^*ψ∗ is not simply c(φ)c(\varphi)c(φ) plus the tree cost for an arbitrary execution order. Showing that the specific order of Lemma 5 avoids all interference requires tracking how type-1 and type-2 nodes behave as interchanges are applied. Second, optimality is not a local statement: an arbitrary tour is not reachable from φ\varphiφ by tree interchanges, so the lower bound needs the separate underestimate c∗c^*c∗ and a counting argument relating every tour to a spanning tree of GφG_\varphiGφ​. Neither step follows from general minimum spanning tree theory.

Formalization scope

Jobs are Fin (n + 1) (N=n+1≥1N=n+1\ge1N=n+1≥1), so the paper's job iii is index i−1i-1i−1; the adjacent arc Rq,q+1R_{q,q+1}Rq,q+1​ is indexed by q : Fin n and joins q.castSucc and q.succ. Permutations are Equiv.Perm (Fin (n + 1)), and ψαij\psi\alpha_{ij}ψαij​ is ψ * Equiv.swap i j (Mathlib's composition, "first αij\alpha_{ij}αij​, then ψ\psiψ"). Costs are real; (1) uses oriented interval integrals and (17) set integrals.

Explicit readings of the paper's loose phrases:

  • "any integrable functions f,gf,gf,g" is read as local integrability on R\mathbb RR, with f+g≥0f+g\ge0f+g≥0 the only sign condition;
  • "proper subsets sss" in (4) are nonempty proper subsets;
  • "a minimal set of additional arcs that connect" is minimal under inclusion; "minimal cost spanning tree" is minimal in cost among spanning trees made of adjacent arcs (by Lemma 2 the same minimum as over all trees);
  • "minimal cost tour" means cost at most that of every tour, i.e. every permutation that is a single cycle;
  • "obtained by executing the α\alphaα's in a particular order" (Lemma 5) is the explicit order of its proof;
  • ties among the AAA leave φ\varphiφ non-unique; every statement holds for every ranking φ\varphiφ.

The order of ψ∗\psi^*ψ∗ is that of the proof of Lemma 5 and of steps T2–T4 (p. 673), not the order printed in Theorem 3.

Trivializing formalizations are ruled out: the goal quantifies over all tours, not over permutations (that is Theorem 1) nor over tours reachable from φ\varphiφ; ψ∗\psi^*ψ∗ is constructed from φ\varphiφ and τ\tauτ, not taken as an arbitrary tour of the right cost; τ\tauτ is both inclusion-minimal and cost-minimal; and the costs keep both branches of (1) with general densities, not cij=∣Aj−Bi∣c_{ij}=|A_j-B_i|cij​=∣Aj​−Bi​∣. The TSP items already on the platform concern symmetric or metric distances with tours as visiting orders, a different model, and are not reused.

Needed infrastructure: cycle structure of permutations under transpositions (Mathlib's Equiv.Perm.SameCycle), connectivity of finite simple graphs, interval integrals of locally integrable functions. Contributions to any milestone are welcome; the purely combinatorial ones (Lemmas 1, 8, Theorem 2, Lemma 7) are independent of the integrals.

Selected references

  • P. C. Gilmore and R. E. Gomory, Sequencing a one state-variable machine: a solvable case of the traveling salesman problem, Operations Research 12(5), 1964, 655–679. https://doi.org/10.1287/opre.12.5.655
  • P. C. Gilmore, E. L. Lawler and D. B. Shmoys, Well-solved special cases, in The Traveling Salesman Problem (Lawler, Lenstra, Rinnooy Kan, Shmoys, eds.), Wiley, 1985, 87–143. ISBN 978-0-471-90413-7
  • R. E. Burkard, V. G. Deineko, R. van Dal, J. A. A. van der Veen and G. J. Woeginger, Well-solvable special cases of the traveling salesman problem: a survey, SIAM Review 40(3), 1998, 496–546. https://doi.org/10.1137/S0036144596297514
  • J. B. Kruskal, On the shortest spanning subtree of a graph and the traveling salesman problem, Proc. AMS 7(1), 1956, 48–50. https://doi.org/10.1090/S0002-9939-1956-0078686-7
15 thms3 active usersReviewed
🏆Completed
Convex OptimizationFunctional Analysis·Captain: mikedeng1

A Dual Algorithm for the Solution of Nonlinear Variational Problems via Finite Element Approximation 1: For 0 < ρ < 2r, the Modified Dual Algorithm Converges Strongly to (v*, Av*)Research Paper

Motivation

Many problems in mechanics and optimal control are posed as the minimization of a convex functional of the form f(Av)−⟨b,v⟩f(Av)-\langle b,v\ranglef(Av)−⟨b,v⟩, where AAA is a differential operator and fff is non-smooth: an obstacle, a friction term, a plasticity threshold. Splitting the variable, y=Avy=Avy=Av, separates the linear operator from the non-smooth function, and a Lagrange multiplier for the constraint Av−y=0Av-y=0Av−y=0 turns the problem into a sequence of two simpler ones: a linear system in vvv and a pointwise nonlinear problem in yyy. The scheme that alternates between the two and then updates the multiplier is now called the alternating direction method of multipliers (ADMM). It is one of the standard algorithms of large-scale convex optimization, statistics and imaging (Boyd, Parikh, Chu, Peleato and Eckstein, 2011).

Gabay and Mercier (IRIA report RR-126, 1975; Comput. Math. Appl., 1976) gave a convergence proof of this method in Hilbert space, for a stepsize ρ\rhoρ anywhere in (0,2r)(0,2r)(0,2r), where rrr is the penalty parameter of the augmented Lagrangian.

Timeline.

  • 1969: Hestenes and Powell introduce the augmented Lagrangian (method of multipliers).
  • 1975: Glowinski and Marrocco propose the alternating scheme for nonlinear Dirichlet problems.
  • 1975–76: Gabay and Mercier prove strong convergence of the primal iterates for 0<ρ<2r0<\rho<2r0<ρ<2r under strong monotonicity of f1′f_1'f1′​ (this mission).
  • 1983: Gabay identifies ADMM with Douglas–Rachford splitting applied to the dual.
  • 1992: Eckstein and Bertsekas extend convergence to maximal monotone operators, without strong monotonicity, for ρ=r\rho=rρ=r.

Setting

VVV and YYY are real Hilbert spaces; (⋅,⋅)(\cdot,\cdot)(⋅,⋅) and ∣⋅∣|\cdot|∣⋅∣ are the inner product and norm of YYY, ∥⋅∥\|\cdot\|∥⋅∥ the norm of VVV. A:V→YA:V\to YA:V→Y is a continuous linear operator and bbb is a continuous linear functional on VVV, with value ⟨b,v⟩\langle b,v\rangle⟨b,v⟩ at vvv. The dual of YYY is identified with YYY. The function f:Y→(−∞,+∞]f:Y\to(-\infty,+\infty]f:Y→(−∞,+∞] is a sum f=f1+f2f=f_1+f_2f=f1​+f2​ where

  1. f1:Y→Rf_1:Y\to\mathbb Rf1​:Y→R is convex and continuously differentiable, and its gradient is strongly monotone: (f1′(y)−f1′(z),y−z)≥γ∣y−z∣2(f_1'(y)-f_1'(z),y-z)\ge\gamma|y-z|^2(f1′​(y)−f1′​(z),y−z)≥γ∣y−z∣2 for some γ>0\gamma>0γ>0 (2.3);
  2. f2f_2f2​ is proper (never −∞-\infty−∞, somewhere finite), convex and lower semicontinuous;
  3. ∣Av∣2≥α2∥v∥2|Av|^2\ge\alpha^2\|v\|^2∣Av∣2≥α2∥v∥2 for some α>0\alpha>0α>0 (2.5);
  4. some Av0Av_0Av0​ lies in the interior of dom⁡f2={y:f2(y)<+∞}\operatorname{dom}f_2=\{y:f_2(y)<+\infty\}domf2​={y:f2​(y)<+∞} (qualification).

The problem is

(P)inf⁡v∈V f(Av)−⟨b,v⟩,(\mathcal P)\qquad \inf_{v\in V}\ f(Av)-\langle b,v\rangle ,(P)v∈Vinf​ f(Av)−⟨b,v⟩,

and a solution v∗v^*v∗ is a point where this value is finite and minimal. The Lagrangian and augmented Lagrangian are, for λ∈Y\lambda\in Yλ∈Y and r>0r>0r>0,

L(v,y;λ)=f(y)+(λ,Av−y)−⟨b,v⟩,Lr=L+r2∣Av−y∣2.\mathcal L(v,y;\lambda)=f(y)+(\lambda,Av-y)-\langle b,v\rangle,\qquad \mathcal L_r=\mathcal L+\frac r2|Av-y|^2 .L(v,y;λ)=f(y)+(λ,Av−y)−⟨b,v⟩,Lr​=L+2r​∣Av−y∣2.

The modified dual algorithm (3.4) starts from any (y0,λ0)∈Y×Y(y^0,\lambda^0)\in Y\times Y(y0,λ0)∈Y×Y and, for n≥0n\ge0n≥0,

  1. finds vn+1v^{n+1}vn+1 with r(Avn+1,Aw)=(ryn−λn,Aw)+⟨b,w⟩r(Av^{n+1},Aw)=(ry^n-\lambda^n,Aw)+\langle b,w\rangler(Avn+1,Aw)=(ryn−λn,Aw)+⟨b,w⟩ for all w∈Vw\in Vw∈V (minimization of Lr\mathcal L_rLr​ in vvv);
  2. finds yn+1y^{n+1}yn+1 with λn+rAvn+1−ryn+1−f1′(yn+1)∈∂f2(yn+1)\lambda^n+rAv^{n+1}-ry^{n+1}-f_1'(y^{n+1})\in\partial f_2(y^{n+1})λn+rAvn+1−ryn+1−f1′​(yn+1)∈∂f2​(yn+1) (minimization of Lr\mathcal L_rLr​ in yyy);
  3. sets λn+1=λn+ρ(Avn+1−yn+1)\lambda^{n+1}=\lambda^n+\rho(Av^{n+1}-y^{n+1})λn+1=λn+ρ(Avn+1−yn+1).

PPP denotes the orthogonal projection of YYY onto the range R(A)R(A)R(A), which is closed by (2.5).

Formalization targets

Goal: Theorem 3.1

For r>0r>0r>0 and every stepsize with

0<ρ<2r,0<\rho<2r,0<ρ<2r,

every run of the algorithm satisfies

∥vn−v∗∥→0,∣yn−Av∗∣→0,sup⁡n∣λn∣<∞,\|v^n-v^*\|\to0,\qquad |y^n-Av^*|\to0,\qquad \sup_n|\lambda^n|<\infty,∥vn−v∗∥→0,∣yn−Av∗∣→0,nsup​∣λn∣<∞,

where v∗v^*v∗ is the unique solution of (P)(\mathcal P)(P). The multipliers need not converge.

Milestones

  1. Proposition 2.1: (P)(\mathcal P)(P) has a unique solution.
  2. Theorem 2.1: a saddle point (v∗,y∗;λ∗)(v^*,y^*;\lambda^*)(v∗,y∗;λ∗) of L\mathcal LL consists of the solution v∗v^*v∗, y∗=Av∗y^*=Av^*y∗=Av∗ and λ∗∈∂f(Av∗)\lambda^*\in\partial f(Av^*)λ∗∈∂f(Av∗) with A′λ∗=bA'\lambda^*=bA′λ∗=b; and a saddle point exists.
  3. Theorem 2.2: for r>0r>0r>0, Lr\mathcal L_rLr​ and L\mathcal LL have the same saddle points.
  4. (3.8)–(3.10): a saddle point is a fixed point of Steps 1–2.
  5. (3.11)–(3.12): A(vn+1−v∗)=P(yn−y∗)−1rP(λn−λ∗)A(v^{n+1}-v^*)=P(y^n-y^*)-\frac1rP(\lambda^n-\lambda^*)A(vn+1−v∗)=P(yn−y∗)−r1​P(λn−λ∗).
  6. (3.19)–(3.20): the energy estimate
γ∣yn+1−y∗∣2+(r−ρ2)∣(I−P)(yn+1−y∗)∣2+r2∣P(yn+1−y∗)∣2+12ρ∣(I−P)(λn+1−λ∗)∣2≤r2∣P(yn−y∗)∣2+12ρ∣(I−P)(λn−λ∗)∣2\gamma|y^{n+1}-y^*|^2+\Bigl(r-\frac\rho2\Bigr)|(I-P)(y^{n+1}-y^*)|^2+\frac r2|P(y^{n+1}-y^*)|^2+\frac1{2\rho}|(I-P)(\lambda^{n+1}-\lambda^*)|^2\le\frac r2|P(y^n-y^*)|^2+\frac1{2\rho}|(I-P)(\lambda^n-\lambda^*)|^2γ∣yn+1−y∗∣2+(r−2ρ​)∣(I−P)(yn+1−y∗)∣2+2r​∣P(yn+1−y∗)∣2+2ρ1​∣(I−P)(λn+1−λ∗)∣2≤2r​∣P(yn−y∗)∣2+2ρ1​∣(I−P)(λn−λ∗)∣2

and its sum over n=0,…,Nn=0,\dots,Nn=0,…,N. 7. yn→y∗y^n\to y^*yn→y∗ for 0<ρ≤2r0<\rho\le2r0<ρ≤2r. 8. (3.22)–(3.23): a contraction-plus-summable-forcing recursion for ∣P(λn−λ∗)∣2|P(\lambda^n-\lambda^*)|^2∣P(λn−λ∗)∣2, and the scalar lemma that such recursions tend to 000. 9. P(λn−λ∗)→0P(\lambda^n-\lambda^*)\to0P(λn−λ∗)→0 and vn→v∗v^n\to v^*vn→v∗ for 0<ρ<2r0<\rho<2r0<ρ<2r.

Significance

The theorem says that ADMM converges without any step-size tuning beyond ρ<2r\rho<2rρ<2r, and that the primal iterates converge in norm in infinite dimension, which is what makes the method usable for finite element discretizations of variational problems (the companion mission on internal approximations treats the discretization). It covers obstacle problems, Bingham fluids and elasto-plastic torsion, where f2f_2f2​ is an indicator or a non-differentiable norm.

The result is proved in the 1975 report. To our knowledge it has no machine-checked proof. Formalizing it adds a library-level convergence theorem for ADMM in Hilbert space with EReal\mathrm{EReal}EReal-valued convex functions, a saddle-point existence theorem for linearly constrained convex problems, and the energy estimate (3.19) as a reusable lemma. The formalization also fixes two defects of the printed text (see Formalization scope): a sign in Step 1 and a qualification hypothesis that is too weak.

Difficulty

The energy estimate (3.19) only controls the multiplier through its component in R(A)⊥R(A)^\perpR(A)⊥, and only the yyy-error through γ>0\gamma>0γ>0. The natural first idea, a Lyapunov function in ∣λn−λ∗∣2|\lambda^n-\lambda^*|^2∣λn−λ∗∣2 alone that decreases at each step, does not work for ρ≠r\rho\ne rρ=r: the component P(λn−λ∗)P(\lambda^n-\lambda^*)P(λn−λ∗) obeys a separate recursion whose contraction factor ∣1−ρ/r∣|1-\rho/r|∣1−ρ/r∣ is below one only for 0<ρ<2r0<\rho<2r0<ρ<2r, and whose forcing term must be shown summable from the yyy-estimate. The existence of a multiplier, i.e. of a saddle point, is a separate difficulty: it needs the subdifferential chain rule ∂(f∘A)=A′∂f(A ⋅)\partial(f\circ A)=A'\partial f(A\,\cdot)∂(f∘A)=A′∂f(A⋅) in infinite dimension, under a constraint qualification.

Formalization scope

Lean conventions:

  • VVV, YYY are InnerProductSpace ℝ with CompleteSpace; multipliers are elements of YYY; bbb is a StrongDual ℝ V.
  • f1:Y→Rf_1:Y\to\mathbb Rf1​:Y→R (a Gateaux-differentiable function is finite), with a gradient f₁' at every point (HasGradientAt) that is continuous; "weakly continuous on finite-dimensional subspaces" is then automatic.
  • f2:Y→f_2:Y\tof2​:Y→ EReal, with IsProperFn, IsConvexFn, IsSubgradient from the published InertialFB.IFB.ConvexAnalysis and Mathlib's LowerSemicontinuous. No subtraction in EReal occurs: the variational inequalities (3.6), (3.9) are stated as subgradient inclusions, and the Lagrangians as a real part plus f2(y)f_2(y)f2​(y).
  • A solution of (P)(\mathcal P)(P) has finite value. A run is any triple of sequences indexed by N\mathbb NN satisfying Steps 1–3 for every nnn; the start is arbitrary, and the well-posedness of the steps is not assumed or used.
  • PPP is the orthogonal projection onto the closure of R(A)R(A)R(A), equal to R(A)R(A)R(A) under (2.5).
  • Strong convergence is convergence in norm; "bounded" is Bornology.IsBounded (Set.range λ).

Corrections to the printed text, each explained in the item's statement:

  • Step 1 (3.5) and (3.8) carry +⟨b,v⟩+\langle b,v\rangle+⟨b,v⟩. The paper prints −⟨b,v⟩-\langle b,v\rangle−⟨b,v⟩ there and in Remark 1 of p. 15, which is inconsistent with L\mathcal LL and (P)(\mathcal P)(P): with the printed sign the iteration solves the problem with −b-b−b.
  • The qualification (2.4), "int⁡dom⁡f2≠∅\operatorname{int}\operatorname{dom}f_2\ne\emptysetintdomf2​=∅", is strengthened to int⁡dom⁡f2∩R(A)≠∅\operatorname{int}\operatorname{dom}f_2\cap R(A)\ne\emptysetintdomf2​∩R(A)=∅. With (2.4) alone, Theorem 2.1's saddle point need not exist and the multipliers of Theorem 3.1 need not be bounded: V=RV=\mathbb RV=R, Y=R2Y=\mathbb R^2Y=R2, Av=(v,0)Av=(v,0)Av=(v,0), f1=∣⋅∣2/2f_1=|\cdot|^2/2f1​=∣⋅∣2/2, f2f_2f2​ the indicator of the disc of centre (0,1)(0,1)(0,1) and radius 111, ⟨b,v⟩=v\langle b,v\rangle=v⟨b,v⟩=v.
  • Proposition 2.1 assumes that f2∘Af_2\circ Af2​∘A is somewhere finite, which its proof requires.

Ruled out: the solution v∗v^*v∗ is a hypothesis of the goal, so the hypotheses must not be contradictory. They are met by V=Y=RV=Y=\mathbb RV=Y=R, A=idA=\mathrm{id}A=id, f1(y)=y2/2f_1(y)=y^2/2f1​(y)=y2/2, f2=0f_2=0f2​=0, b=0b=0b=0, and a proper f2f_2f2​ excludes the degenerate reading in which every point "solves" (P)(\mathcal P)(P) with value +∞+\infty+∞.

A complete development needs: existence of minimizers of coercive convex l.s.c. functions on a Hilbert space; the subdifferential sum and chain rules under a continuity qualification; orthogonal projections onto closed ranges; and elementary facts about summable sequences. The saddle-point theory (Theorems 2.1–2.2) and the scalar lemma (3.23) are reusable beyond this mission. Proofs of any milestone are welcome, as are proofs of the goal by a different route.

Selected references

  • D. Gabay and B. Mercier, A dual algorithm for the solution of non linear variational problems via finite element approximation, IRIA Rapport de Recherche 126, 1975. https://hal.science/hal-04716124v1 ; journal version: Computers & Mathematics with Applications 2 (1976) 17–40, https://doi.org/10.1016/0898-1221(76)90003-1
  • R. Glowinski and A. Marrocco, Sur l'approximation, par éléments finis d'ordre un, et la résolution, par pénalisation-dualité, d'une classe de problèmes de Dirichlet non linéaires, RAIRO Analyse Numérique 9 (1975) 41–76. https://doi.org/10.1051/m2an/197509R200411
  • M. R. Hestenes, Multiplier and gradient methods, J. Optim. Theory Appl. 4 (1969) 303–320. https://doi.org/10.1007/BF00927673
  • I. Ekeland and R. Temam, Analyse convexe et problèmes variationnels, Dunod, 1974 (the paper's [E]).
  • J. Eckstein and D. P. Bertsekas, On the Douglas–Rachford splitting method and the proximal point algorithm for maximal monotone operators, Math. Programming 55 (1992) 293–318. https://doi.org/10.1007/BF01581204
  • S. Boyd, N. Parikh, E. Chu, B. Peleato and J. Eckstein, Distributed optimization and statistical learning via the alternating direction method of multipliers, Found. Trends Mach. Learn. 3 (2011) 1–122. https://doi.org/10.1561/2200000016
16 thms3 active usersReviewed
🏆Completed
Linear OptimizationOperations Research·Captain: mikedeng1

On the Relation Between Integer and Noninteger Solutions to Linear Programs: Deep in the Optimal-Basis Cone, z₂(b) = z₁(b) + φ(b) and the Group Problem Gives an Integer OptimumResearch Paper

Motivation

An integer program is a linear program whose variables must take integer values. Its linear relaxation can be solved efficiently, while the integer program itself is NP-hard in general, so a recurring question in integer programming is how much the optimal solution of the relaxation says about the integer optimum. Simple rounding of the fractional optimum does not answer it: examples show that the integer optimum need not lie within distance one of the LP optimum, even when the right-hand side is large.

R. E. Gomory's 1965 note in the Proceedings of the National Academy of Sciences (doi:10.1073/pnas.53.2.260) showed that, for right-hand sides lying deep inside the cone of an optimal LP basis, the integer program is solved exactly by the LP solution plus a correction computed in a finite abelian group. The resulting group relaxation (the "corner polyhedron" of Gomory's later work, Gomory 1969) underlies a large body of work on cutting planes, the master group problem, Gomory–Johnson functions and asymptotic integer programming.

Timeline. Gomory's fractional cutting-plane algorithm (Gomory 1958) introduced the "fractional rows" of the simplex tableau; the 1965 note identifies the group they generate with M(I)/M(B)M(I)/M(B)M(I)/M(B) and proves the asymptotic theorem formalized here. Gomory 1969 develops the corner polyhedron; Gomory and Johnson (1972) study the continuous valid functions of the corner polyhedron.

Setting

Let AAA be an integer m×(m+n)m\times(m+n)m×(m+n) matrix of the form (A′,I)(A',I)(A′,I), let b∈Zmb\in\mathbb Z^mb∈Zm and c∈Rm+nc\in\mathbb R^{m+n}c∈Rm+n. Problem P1 is

max⁡ z1=cxs.t.Ax=b, x≥0,\max\ z_1=cx\quad\text{s.t.}\quad Ax=b,\ x\ge0,max z1​=cxs.t.Ax=b, x≥0,

and P2 is P1 with xxx integer. A basis is a nonsingular m×mm\times mm×m submatrix BBB of AAA; after rearranging, A=(B,N)A=(B,N)A=(B,N) with B=(α1,…,αm)B=(\alpha_1,\dots,\alpha_m)B=(α1​,…,αm​) and N=(αm+1,…,αm+n)N=(\alpha_{m+1},\dots,\alpha_{m+n})N=(αm+1​,…,αm+n​), and c=(cB,cN)c=(c_B,c_N)c=(cB​,cN​). The relative cost of a nonbasic column is ci∗=ci−cBB−1αic^*_i=c_i-c_BB^{-1}\alpha_ici∗​=ci​−cB​B−1αi​, and BBB is an optimal basis when all ci∗≤0c^*_i\le0ci∗​≤0. The cone of the basis is KB={β∈Rm:B−1β≥0}K^B=\{\beta\in\mathbb R^m: B^{-1}\beta\ge0\}KB={β∈Rm:B−1β≥0}; removing from it all points within Euclidean distance ddd of its boundary gives the reduced cone KB(d)K^B(d)KB(d).

Let M(I)=ZmM(I)=\mathbb Z^mM(I)=Zm and M(B)=LBM(B)=\mathfrak L_BM(B)=LB​ the lattice of integer combinations of α1,…,αm\alpha_1,\dots,\alpha_mα1​,…,αm​. The factor module M(I)/M(B)M(I)/M(B)M(I)/M(B) is a finite abelian group with D=∣det⁡B∣D=|\det B|D=∣detB∣ elements; write αˉi\bar\alpha_iαˉi​, bˉ\bar bbˉ for the classes of αi\alpha_iαi​, bbb. The group problem (4) is

max⁡ ∑i=1nci+m∗yis.t.∑i=1nαˉi+myi=bˉ,yi≥0 integer,\max\ \sum_{i=1}^n c^*_{i+m}y_i\quad\text{s.t.}\quad\sum_{i=1}^n\bar\alpha_{i+m}y_i=\bar b,\quad y_i\ge0\text{ integer},max i=1∑n​ci+m∗​yi​s.t.i=1∑n​αˉi+m​yi​=bˉ,yi​≥0 integer,

with optimal value φB(b)\varphi^B(b)φB(b). Finally l=max⁡i>m∥αi∥l=\max_{i>m}\|\alpha_i\|l=maxi>m​∥αi​∥.

Formalization targets

Goal: THEOREM 1 (p. 261)

If b∈KB(l(D−1))b\in K^B(l(D-1))b∈KB(l(D−1)), then P1, P2 and (4) attain their optima, the value z2(b)z_2(b)z2​(b) of P2 is

z2(b)=z1(b)+φB(b),z_2(b)=z_1(b)+\varphi^B(b),z2​(b)=z1​(b)+φB(b),

an optimal solution of P2 is

x(b)=(B−1(b−NyB(b)), yB(b))x(b)=\big(B^{-1}(b-Ny^B(b)),\ y^B(b)\big)x(b)=(B−1(b−NyB(b)), yB(b))

for an optimal solution yB(b)y^B(b)yB(b) of (4) with ∑iyiB(b)≤D−1\sum_iy^B_i(b)\le D-1∑i​yiB​(b)≤D−1, and φB\varphi^BφB, yBy^ByB are mmm-periodic: φB(b+αi)=φB(b)\varphi^B(b+\alpha_i)=\varphi^B(b)φB(b+αi​)=φB(b).

Milestones

In the order of the paper's proof: ∣M(I)/M(B)∣=D|M(I)/M(B)|=D∣M(I)/M(B)∣=D (p. 262); periodicity of (4) (p. 263); the cost identity (5)–(6); "cBB−1bc_BB^{-1}bcB​B−1b is z1(b)z_1(b)z1​(b)", the simplex optimality criterion (a published, proved theorem); the projection of a solution of P2 to a solution of (4); the bound (7), z2(b)≤z1(b)+φ(b)z_2(b)\le z_1(b)+\varphi(b)z2​(b)≤z1​(b)+φ(b); the extension of a solution of (4) to an integer solution; the LEMMA (an optimal solution of (4) with ∑yi≤D−1\sum y_i\le D-1∑yi​≤D−1); and the bound ∥Ny∥≤(D−1)l\|Ny\|\le(D-1)l∥Ny∥≤(D−1)l that places b−Nyb-Nyb−Ny in KBK^BKB.

Companions

THEOREM 2: the optimal x(b)x(b)x(b) satisfies ∑i>mxi=∑iyi≤D−1\sum_{i>m}x_i=\sum_iy_i\le D-1∑i>m​xi​=∑i​yi​≤D−1. THEOREM 4 (with the bound corrected, see below): if an optimal yyy of (4) has ∏i(yi+1)>D\prod_i(y_i+1)>D∏i​(yi​+1)>D, the optimum of (4) is not unique.

Significance

THEOREM 1 reduces integer programming, for right-hand sides far from the boundary of an optimal cone, to a shortest-path-type problem over a group of order DDD: the integer optimum is determined by the LP optimum and a periodic correction, and it can be computed in time polynomial in nnn and DDD (THEOREM 3, not formalized here). It explains why rounding fails while a structured correction succeeds, and it is the starting point of the corner-polyhedron and cutting-plane theory built on the group relaxation. THEOREM 2 bounds how far the integer optimum lies from a lattice point of LB\mathfrak L_BLB​, an early proximity result.

The results are classical and proved in the paper; none of them has a machine-checked proof that this mission is aware of. The mission produces a Lean statement and proof of the asymptotic theorem, together with reusable statements about the group Zm/BZm\mathbb Z^m/B\mathbb Z^mZm/BZm and the zero-sum shortening argument of the LEMMA.

Difficulty

The decomposition z2≤z1+φz_2\le z_1+\varphiz2​≤z1​+φ is a direct computation. The difficulty is the converse: an optimal solution yyy of the group problem extends to an integer point xB=B−1(b−Ny)x_B=B^{-1}(b-Ny)xB​=B−1(b−Ny), but nothing in (4) forces xB≥0x_B\ge0xB​≥0. Optimality of yyy alone does not bound yyy: an optimal solution may carry zero-cost cycles of arbitrary length, and then b−Nyb-Nyb−Ny can leave the cone KBK^BKB. The theorem therefore depends on choosing the right optimal solution of (4), one whose total size is bounded by the group order, and on relating that combinatorial bound to the Euclidean geometry of the cone.

Formalization scope

  • The basis is fixed: BBB is an integer m×mm\times mm×m matrix and NNN an integer m×nm\times nm×n matrix; column jjj of NNN (000-based) is the paper's αm+1+j\alpha_{m+1+j}αm+1+j​. The costs cBc_BcB​, cNc_NcN​ are real.
  • The standing assumptions of pp. 260–262 are hypotheses of the goal: det⁡B≠0\det B\neq0detB=0; every unit vector of Zm\mathbb Z^mZm is a column of BBB or of NNN (the paper's A=(A′,I)A=(A',I)A=(A′,I), without which P2 can be infeasible); all relative costs ci∗≤0c^*_i\le0ci∗​≤0 (BBB is optimal, without which (4) is unbounded).
  • P2's variables are natural numbers (integer and nonnegative). The group problem is written as "b−Ny∈BZmb-Ny\in B\mathbb Z^mb−Ny∈BZm", which is equivalent to ∑αˉi+myi=bˉ\sum\bar\alpha_{i+m}y_i=\bar b∑αˉi+m​yi​=bˉ.
  • Optimal values are greatest elements of the sets of objective values, never suprema; the goal asserts that they are attained.
  • The norm in lll and in KB(d)K^B(d)KB(d) is Euclidean. KB(d)K^B(d)KB(d) is the set of points whose closed ball of radius ddd lies in KBK^BKB. l=0l=0l=0 when n=0n=0n=0.
  • In part (3) of the goal, yB(b)y^B(b)yB(b) ranges over optimal solutions of (4) with ∑iyi≤D−1\sum_iy_i\le D-1∑i​yi​≤D−1, the solutions the paper's LEMMA and dynamic program produce.
  • THEOREM 4 is stated with the hypothesis ∏(yi+1)>D\prod(y_i+1)>D∏(yi​+1)>D: the printed >D−1>D-1>D−1 is false (m=n=1m=n=1m=n=1, B=(2)B=(2)B=(2), N=(1)N=(1)N=(1), c=(2,0)c=(2,0)c=(2,0), b=1b=1b=1 has the unique optimum y=1y=1y=1 with ∏(yi+1)=2\prod(y_i+1)=2∏(yi​+1)=2).
  • A trivializing formalization is ruled out: the goal assumes none of the LEMMA, the inequality (7), integrality of B−1(b−Ny)B^{-1}(b-Ny)B−1(b−Ny) or the norm bound, and it states the existence of the optima instead of assuming them.
  • Not in scope: the operation counts of THEOREM 3 and the recursion (8), which need a machine model the paper does not define.

Needed infrastructure: the cardinality of Zm/BZm\mathbb Z^m/B\mathbb Z^mZm/BZm (available in Mathlib through determinants of basis changes), a zero-sum/pigeonhole argument in a finite abelian group, the simplex optimality criterion (published), and elementary Euclidean estimates. The group-theoretic lemmas are reusable for other group-relaxation and proximity missions. Proofs of the milestones, alternative arguments and the extension to the open-ball reading of KB(d)K^B(d)KB(d) are welcome.

Selected references

  • R. E. Gomory, On the relation between integer and noninteger solutions to linear programs, Proc. Natl. Acad. Sci. USA 53(2):260–265, 1965. https://doi.org/10.1073/pnas.53.2.260
  • R. E. Gomory, Outline of an algorithm for integer solutions to linear programs, Bull. Amer. Math. Soc. 64:275–278, 1958. https://doi.org/10.1090/S0002-9904-1958-10224-4
  • R. E. Gomory, Some polyhedra related to combinatorial problems, Linear Algebra Appl. 2:451–558, 1969. https://doi.org/10.1016/0024-3795(69)90017-2
  • R. E. Gomory and E. L. Johnson, Some continuous functions related to corner polyhedra, Math. Programming 3:23–85, 1972.
  • J. Matoušek and B. Gärtner, Understanding and Using Linear Programming, Springer, 2007 (simplex optimality criterion). https://doi.org/10.1007/978-3-540-30717-4
11 thms3 active usersReviewed
Operations ResearchProbabilityStochastic Systems·Captain: mikedeng1

Optimal Starting Times for End-of-Season Sales and Optimal Stopping Times for Promotional Fares 1: Markdown Is Optimal Once Time-to-Go Falls Below a Strictly Increasing Threshold x_nResearch Paper

Why the timing of a markdown matters

A seller with limited stock can charge a high price while demand is strong and lower the price before the selling season ends. The timing depends on how many units remain: a markdown that is sensible with ample stock may be premature when only one unit is left. Feng and Gallego studied this decision when each price generates a Poisson demand stream and only one price change is allowed. Their 1995 paper proves that the optimal decision has a threshold in remaining time for every inventory level. This mission formalizes their markdown theorem, including its value-function representation, rather than just the existence of a switching rule.

The model is a finite-inventory revenue problem, relevant when an unsold unit loses its value at the end of a season. It is also a continuous-time stopping problem: the seller observes actual sales and may react to them. A fixed calendar date for the markdown cannot describe all of those decisions. The paper treats the markdown case separately from the markup case, because the order of prices, arrival rates and revenue rates reverses the behavior of the switching boundary. The present mission concerns the markdown case alone.

Prices, demand, and admissible switches

Let n≥1n\ge1n≥1 be the initial stock and t≥0t\ge0t≥0 the time to go. The seller first charges price p1p_1p1​ and may change once to a lower price p2p_2p2​. Demands at the two prices are independent Poisson counts with positive rates λ1\lambda_1λ1​ and λ2\lambda_2λ2​. A lower price produces more arrivals, so p2<p1p_2<p_1p2​<p1​ and λ1<λ2\lambda_1<\lambda_2λ1​<λ2​. Feng and Gallego also assume that lowering the price increases the revenue rate: p1λ1<p2λ2p_1\lambda_1<p_2\lambda_2p1​λ1​<p2​λ2​. There is no salvage payment for inventory left when time expires. These conventions come from §2 and the case split on pp. 1375–1376.

Write N1(s)N_1(s)N1​(s) for the observed sales count at the initial price by time sss. If the price changes at deterministic time s∈[0,t]s\in[0,t]s∈[0,t], let J(n,t;s)J(n,t;s)J(n,t;s) be the expected total revenue. The count after the change is independent of N1(s)N_1(s)N1​(s), and their sum has Poisson mean λ1s+λ2(t−s)\lambda_1s+\lambda_2(t-s)λ1​s+λ2​(t−s). The optimal value J(n,t)J(n,t)J(n,t) allows the switch time τ\tauτ to depend on the counts observed so far. An admissible τ\tauτ lies between zero and ttt, is a stopping time for the history of N1N_1N1​, and occurs before stock is exhausted almost surely. At s=0s=0s=0, J(n,t;0)J(n,t;0)J(n,t;0) is the revenue from charging p2p_2p2​ immediately. The paper defines these quantities in §3, pp. 1377–1379.

Formalization targets

The goal is Theorem 1, p. 1380. It asserts a strictly increasing sequence x1<x2<⋯x_1<x_2<\cdotsx1​<x2​<⋯ of inventory-dependent thresholds. When t≤xnt\le x_nt≤xn​, switching immediately earns the optimal value; when t>xnt>x_nt>xn​, a correction F(n,t)F(n,t)F(n,t) is added:

J(n,t)={J(n,t;0),t≤xn,J(n,t;0)+F(n,t),t>xn.J(n,t)=\begin{cases} J(n,t;0),&t\le x_n,\\ J(n,t;0)+F(n,t),&t>x_n. \end{cases}J(n,t)={J(n,t;0),J(n,t;0)+F(n,t),​t≤xn​,t>xn​.​

The theorem specifies the correction, rather than leaving it as an arbitrary difference of values. It starts with F(0,t)=0F(0,t)=0F(0,t)=0. For n≥1n\ge1n≥1, set L(n,t)=G(n,t)+λ1F(n−1,t)L(n,t)=G(n,t)+\lambda_1F(n-1,t)L(n,t)=G(n,t)+λ1​F(n−1,t), where GGG is the Poisson-tail expression from §4.1. The threshold xnx_nxn​ is the first nonnegative zero of L(n,⋅)L(n,\cdot)L(n,⋅). A function H(n,⋅)H(n,\cdot)H(n,⋅) satisfies ∂tH=−λ1H+L\partial_tH=-\lambda_1H+L∂t​H=−λ1​H+L for positive time and H(n,xn)=0H(n,x_n)=0H(n,xn​)=0; FFF is zero below xnx_nxn​ and equals HHH at and above it. If yny_nyn​ is the first zero of G(n,⋅)G(n,\cdot)G(n,⋅), the theorem also gives x1=y1x_1=y_1x1​=y1​ and xn<ynx_n<y_nxn​<yn​ for n>1n>1n>1.

Three supporting targets match the source's attack path. Equation (17) differentiates immediate-switch revenue. Lemma 2 gives the zeros and one sign change of GGG in the markdown case. Lemma 1 identifies a value function through differential inequalities and its stopping payoff. Each is recorded with its page-level statement in the milestone list.

What the result provides

The threshold sequence turns an adaptive stopping problem into a state rule: inspect remaining inventory and time to go, then compare time with the corresponding threshold. The value representation supplies the expected-revenue quantity on both sides of that comparison. Strict increase means a larger stock requires a larger remaining-time threshold before charging the higher initial price is worthwhile. These are the conclusions of Theorem 1, already proved in the paper.

The work here is a Lean statement and eventual machine-checked proof of that known result. The current theorem items are open proof targets. Formalizing the model gives reusable Poisson-tail revenue expressions and a continuous-time stopping-value interface; Lemma 1 can also serve other Poisson-driven stopping problems once proved. A checked proof would establish that the threshold representation and the optimal stopping value agree under the stated assumptions, including boundary cases that informal notation leaves implicit.

Where the mathematics is difficult

The obvious comparison of two fixed switching times misses the information contained in the sales path. The switch decision can change after each observed arrival, while the threshold for inventory nnn depends on the correction at stock n−1n-1n−1. Showing that every such comparison is organized by one increasing threshold requires more than differentiating the fixed-switch revenue. The paper's appendix handles the interaction between the sign of GGG, the recursive correction, and the stopping-value verification; these are distinct formal targets pp. 1387–1388.

The printed verification lemma and one word of Lemma 2 require care. Lemma 1 omits boundary and regularity conditions needed by its proof. Lemma 2 calls the zero sequence “bounded,” although its thresholds tend to infinity; the usable claim is that they stay above a positive lower bound. The formal statements expose these corrections and retain the rest of the source's conclusions.

Formalization scope

Lean represents the first demand stream by a counting process built from independent exponential interarrival times. The terminal revenue after a switch is expressed using the Poisson law of the sum of the two independent counts. The stopping class records the count-generated history, bounds the stopping time by the horizon, and requires stock to remain at stopping almost surely. Its expected payoff uses the number sold before stopping and the immediate-switch value for the unsold stock. Prices and rates are positive, the markdown ordering and revenue-rate inequality are explicit, and the probability measure is named explicitly even though the exponential-interarrival law already entails it.

The paper uses nonnegative real time, inventories indexed by positive integers, and zero salvage. Lean uses a real supremum for the value and a real infimum for each threshold; the admissible payoff is bounded and measurable, and every threshold-defining zero set is asserted nonempty. The ODE is expressed with an actual derivative at positive time. The auxiliary Poisson-tail definition maps a negative mean to zero, but all model applications have nonnegative means. The threshold construction, its ODE, and the equality with the stopping value are all conclusions of the goal, so none is an assumed solution.

For Lemma 1, the formal target adds the initial-time and zero-stock boundary values, domination of terminal revenue, and local Lipschitz regularity in time. The first three conditions are used in the source's own proof or reformulation; local Lipschitz regularity makes its integral calculation valid. Contributions may establish the Poisson-tail calculus, the sign and threshold results, the verification theorem, or the complete markdown theorem. The referenced arrival-process definition is shared infrastructure; the two-price revenue and stopping model are specific to this paper.

Selected references

  • Y. Feng and G. Gallego, Optimal Starting Times for End-of-Season Sales and Optimal Stopping Times for Promotional Fares, Management Science 41(8), 1995, pp. 1371–1391. DOI: 10.1287/mnsc.41.8.1371.
6 thms3 active usersReviewed
Dynamic ProgrammingGraph TheoryOperations Research·Captain: mikedeng1

The Complexity of Markov Decision Processes III: The Optimal Discounted Cost of a Deterministic Process Is the Least Discounted Cost of a SigmaResearch Paper

Motivation

A Markov decision process with finitely many states and decisions, a discount factor β∈(0,1)\beta\in(0,1)β∈(0,1) and the objective of minimizing expected discounted cost is the basic model of sequential decision making in operations research and reinforcement learning. It is solvable in polynomial time by linear programming. Papadimitriou and Tsitsiklis (Math. Oper. Res. 12(3), 1987) asked the finer question of whether it can be solved fast in parallel, and showed a sharp split: the general (stochastic) problem is P-complete (their Theorem 1), so it is unlikely to admit a polylogarithmic parallel algorithm, while the deterministic special case, where every transition probability is 0 or 1, is in NC (their Theorem 4).

The deterministic case is a shortest-path problem with a twist. Every policy traces a walk in a graph, and the cost of the walk counts its ttt-th arc with weight βt\beta^tβt. The paper's argument identifies the optimal discounted cost with the cost of a finite combinatorial object, a sigma, and computes it from discounted min-plus matrix products. This mission formalizes that identity.

Setting

A deterministic stationary Markov decision process consists of a finite set SSS of nnn states, an initial state s0∈Ss_0\in Ss0​∈S, and for each state sss a finite nonempty set DsD_sDs​ of decisions. Decision i∈Dsi\in D_si∈Ds​ costs c(s,i)∈Rc(s,i)\in\mathbb Rc(s,i)∈R and leads with certainty to the state next(s,i)\mathrm{next}(s,i)next(s,i). Equivalently, it is a directed graph on SSS with an arc s→next(s,i)s\to\mathrm{next}(s,i)s→next(s,i) of weight c(s,i)c(s,i)c(s,i) for each decision; parallel arcs and loops are allowed.

A policy δ\deltaδ chooses a decision δ(s,t)∈Ds\delta(s,t)\in D_sδ(s,t)∈Ds​ for every state sss and time t=0,1,2,…t=0,1,2,\dotst=0,1,2,…; it is stationary if δ(s,t)\delta(s,t)δ(s,t) does not depend on ttt. From s0s_0s0​ it produces the states st+1=next(st,δ(st,t))s_{t+1}=\mathrm{next}(s_t,\delta(s_t,t))st+1​=next(st​,δ(st​,t)) and the discounted cost

Jβ(δ)=∑t=0∞βtc(st,δ(st,t)).J_\beta(\delta)=\sum_{t=0}^{\infty}\beta^t c\bigl(s_t,\delta(s_t,t)\bigr).Jβ​(δ)=t=0∑∞​βtc(st​,δ(st​,t)).

The optimal discounted cost is Jβ∗(s0)=inf⁡δJβ(δ)J^*_\beta(s_0)=\inf_\delta J_\beta(\delta)Jβ∗​(s0​)=infδ​Jβ​(δ), the infimum over all policies δ(s,t)\delta(s,t)δ(s,t).

A sigma is a walk w0=s0,w1,…,wNw_0=s_0,w_1,\dots,w_Nw0​=s0​,w1​,…,wN​ along decisions et∈Dwte_t\in D_{w_t}et​∈Dwt​​ whose nodes w0,…,wN−1w_0,\dots,w_{N-1}w0​,…,wN−1​ are distinct and whose last node repeats an earlier one, wN=wjw_N=w_jwN​=wj​ with j<Nj<Nj<N: the walk from s0s_0s0​ up to the first repetition of a node. It is a prefix of jjj arcs followed by a cycle of l=N−j≥1l=N-j\ge1l=N−j≥1 arcs. Its discounted cost cβ(P)c_\beta(P)cβ​(P) is the discounted cost of the infinite walk that follows it and repeats its cycle forever.

In the min-plus semiring (addition is min⁡\minmin, multiplication is +++, zero is +∞+\infty+∞), let AuvA_{uv}Auv​ be the least cost of a decision from uuu to vvv (+∞+\infty+∞ if none), let rArArA multiply every finite entry by rrr, and let

B0=I,Bk=A⊗βA⊗⋯⊗βk−1A,B_0=I,\qquad B_k=A\otimes\beta A\otimes\cdots\otimes\beta^{k-1}A ,B0​=I,Bk​=A⊗βA⊗⋯⊗βk−1A,

with III the min-plus identity. The entry (Bk)uv(B_k)_{uv}(Bk​)uv​ is the least discounted cost ∑t<kβtct\sum_{t<k}\beta^t c_t∑t<k​βtct​ of a kkk-arc walk from uuu to vvv.

Formalization targets

Goal

For 0<β<10<\beta<10<β<1,

Jβ∗(s0)=min⁡P sigmacβ(P)=min⁡{(Bk)s0u+βk(Bl)uu1−βl  :  u∈S, 0≤k≤n, 1≤l≤n, both entries finite},J^*_\beta(s_0)=\min_{P\text{ sigma}}c_\beta(P)=\min\Bigl\{(B_k)_{s_0u}+\frac{\beta^{k}(B_l)_{uu}}{1-\beta^{l}}\;:\;u\in S,\ 0\le k\le n,\ 1\le l\le n,\ \text{both entries finite}\Bigr\},Jβ∗​(s0​)=P sigmamin​cβ​(P)=min{(Bk​)s0​u​+1−βlβk(Bl​)uu​​:u∈S, 0≤k≤n, 1≤l≤n, both entries finite},

with both minima attained. This is the claim on pp. 446–447 on which Theorem 4 rests. The algebraic expression is the corrected form of the paper's (see Formalization scope).

Milestones

  1. The closed form of the cost of a sigma (p. 446): cβ(P)=∑t<jβtct+βj1−βl∑t<lβtcj+tc_\beta(P)=\sum_{t<j}\beta^tc_t+\frac{\beta^j}{1-\beta^l}\sum_{t<l}\beta^tc_{j+t}cβ​(P)=∑t<j​βtct​+1−βlβj​∑t<l​βtcj+t​.
  2. A stationary optimal policy exists (§2, p. 444; cited on p. 446). The general finite stochastic statement is on the platform as BertsekasDP.discounted_main_theorem (Proved), and the deterministic case is stated in this mission's model.
  3. The path of a stationary policy, cut at its first repeated node, is a sigma with the same discounted cost, and every sigma arises this way (p. 446).
  4. The products BjB_jBj​ are the cheapest discounted jjj-arc walks (p. 447).

Significance

The identity reduces an optimization over infinite objects, the time-dependent policies, to a minimum over finitely many closed-form expressions in matrix entries. Each BkB_kBk​ is a product of kkk min-plus matrices, and matrix products parallelize well; that is the source of the NC algorithm. The same reduction, with the discounting removed, underlies the minimum-mean-cycle characterization of the average-cost problem (mission II of this series), and the sigma structure reappears in the stationary finite-horizon analysis (mission IV).

On the formalization side, the result has been proved in the paper only as a short paragraph, which cites the existence of stationary optimal policies and leaves the algebra to the reader. Its printed formulas contain index slips (below). A machine-checked version fixes the exact constants. To our knowledge none of these statements has a formal proof. The existence of stationary optimal policies for finite discounted problems is formalized on the platform in Bertsekas's general stochastic setting.

Difficulty

The obvious argument says: an optimal policy may be taken stationary, a stationary deterministic policy produces an eventually periodic path, and an eventually periodic path is a sigma. The first step is the substantial one: the optimum is an infimum over all time-dependent policies δ(s,t)\delta(s,t)δ(s,t), and a non-stationary policy can follow any walk at all, so this step is a statement about the whole dynamic program, not a combinatorial fact about a single walk. The second part of the goal adds a matching argument in the other direction: the expression ranges over arbitrary kkk-arc walks and closed lll-walks, which need not be simple, so one must check that none of them beats the best sigma, and that the best sigma has k≤nk\le nk≤n and l≤nl\le nl≤n. Finally, the discount factors must be tracked exactly; the printed formulas are off by one power of β\betaβ in two places.

Formalization scope

The Lean development lives in the namespace MDPComplexity.Discounted, with one definition file and five theorems. Conventions committed to:

  • The model is stationary and deterministic. A DetMDP S has a finite state type, a nonempty finite decision type at each state (the paper says "a finite set DsD_sDs​"; nonemptiness is implicit since a policy must choose a decision), a successor map and real costs.
  • Policies are maps δ(s,t)\delta(s,t)δ(s,t), time is N\mathbb NN from 000, and the optimum optDisc is the infimum over all such policies. Defining it over stationary policies or over sigmas would make the goal true by definition. That shortcut is ruled out, and the stationarity step is part of the content.
  • Costs are tsums, which are junk (000) for non-summable series; every statement that sums costs assumes 0<β<10<\beta<10<β<1, under which the series converge absolutely.
  • A sigma is encoded as a lasso, wN=wjw_N=w_jwN​=wj​ with j<Nj<Nj<N. This includes j=0j=0j=0, a sigma whose cycle passes through s0s_0s0​, which the printed form (u0,…,uk,v1,…,vl,v1)(u_0,\dots,u_k,v_1,\dots,v_l,v_1)(u0​,…,uk​,v1​,…,vl​,v1​) omits but the definition "a path from u0u_0u0​ until the first repetition of a node" includes. The paper's kkk is j−1j-1j−1.
  • Corrected slips: (i) in the sigma display the cycle sum carries βj−1\beta^{j-1}βj−1, not βj\beta^jβj, for its jjj-th arc, and the indices are made consistent; (ii) the algorithm's expression is λ+βkμ/(1−βl)\lambda+\beta^k\mu/(1-\beta^l)λ+βkμ/(1−βl) with l≥1l\ge1l≥1, not λ+βk+1μ/(1+βl)\lambda+\beta^{k+1}\mu/(1+\beta^l)λ+βk+1μ/(1+βl) (one state with a loop of cost 111 has optimum 1/(1−β)1/(1-\beta)1/(1−β), which the printed form misses); (iii) B0B_0B0​, used but not defined, is the min-plus identity.
  • Matrix entries are in Tropical (WithTop ℝ), so +∞+\infty+∞ is ⊤ and the product is Mathlib's matrix product over the tropical semiring.

Not formalized: membership in NC, the processor count n4n^4n4, the log⁡2n+3log⁡n\log^2 n+3\log nlog2n+3logn parallel time, and the P-completeness of the general problem. Mathlib has no parallel complexity classes. Only the identity that makes the algorithm correct is a target.

Contributions welcome: proofs of any milestone. A bridge from DetMDP to BertsekasSSPModel (taking decisions as controls and 0/1 transition rows) would let milestone 2 be derived from the platform's proved Proposition 7.3.1. A direct proof of the deterministic case is also welcome. The lasso and walk lemmas are reusable for the other missions of the series.

Selected references

  • C. H. Papadimitriou and J. N. Tsitsiklis, The Complexity of Markov Decision Processes, Mathematics of Operations Research 12(3), 441–450, 1987. https://doi.org/10.1287/moor.12.3.441
  • D. P. Bertsekas, Dynamic Programming and Optimal Control, Vol. I, 3rd ed., Athena Scientific, 2005, §7.3 (discounted problems, Proposition 7.3.1).
  • M. L. Puterman, Markov Decision Processes: Discrete Stochastic Dynamic Programming, Wiley, 1994, Ch. 6 (existence of stationary optimal policies for discounted models). https://doi.org/10.1002/9780470316887
7 thms3 active usersReviewed
🏆Completed
Algorithmic Game TheoryOperations Research·Captain: mikedeng1

The Bargaining Problem: The Nash Product Maximizer Is the Unique Solution Satisfying Invariance, Symmetry, IIA and Pareto EfficiencyResearch Paper

Motivation

Two parties who can cooperate for mutual benefit must still agree on how to share the benefit. In The Bargaining Problem (Econometrica, 1950) John Nash asked which agreement two rational bargainers of equal skill should reach. His answer is not a model of haggling: it is a list of conditions any reasonable rule should satisfy, together with a proof that exactly one point of the set of feasible agreements is compatible with them. That point maximizes the product of the two parties' utility gains. Known as the Nash bargaining solution, it is the reference point of cooperative bargaining theory. Economics, operations research and networking all use it: in supply contracts, in wage bargaining, and in fair bandwidth allocation, where maximizing a product of gains becomes maximizing a sum of logarithms (proportional fairness).

Timeline:

  • 1944. von Neumann and Morgenstern axiomatize expected utility. A utility is determined up to a positive affine transformation au+bau+bau+b. Nash quotes this on p. 157.
  • 1950. Nash introduces the two-person bargaining problem and the axioms of Pareto efficiency, independence of irrelevant alternatives and symmetry, the solution being invariant under the choice of utility scales. He proves that they force the maximizer of the product u1u2u_1u_2u1​u2​ (doi:10.2307/1907266).
  • 1953. Nash's Two-Person Cooperative Games adds the threat game that fixes the disagreement point.
  • 1975. Kalai and Smorodinsky replace independence of irrelevant alternatives by monotonicity and obtain a different solution.
  • 1986. Binmore, Rubinstein and Wolinsky show that the Nash solution is the limit of equilibria of alternating-offers bargaining as the time between offers vanishes.

Setting

A bargaining problem is a pair ⟨S,d⟩\langle S,d\rangle⟨S,d⟩. Here S⊆R2S\subseteq\mathbb R^2S⊆R2 is the set of utility pairs u=(u1,u2)u=(u_1,u_2)u=(u1​,u2​) the two players can reach by agreement, including lotteries over agreements. d∈Sd\in Sd∈S is the disagreement point, the utilities of no cooperation. As in the platform goal, SSS is compact and convex, and some s∈Ss\in Ss∈S has s1>d1s_1>d_1s1​>d1​ and s2>d2s_2>d_2s2​>d2​ (both individuals could gain). Write B\mathcal BB for the set of such pairs.

A bargaining solution is a map ggg from B\mathcal BB to R2\mathbb R^2R2. Nash requires:

  • Selection. g(S,d)∈Sg(S,d)\in Sg(S,d)∈S.
  • PAR (Nash's assumption 6). If s,t∈Ss,t\in Ss,t∈S and ttt is strictly better than sss for both players, then g(S,d)≠sg(S,d)\neq sg(S,d)=s.
  • IIA (assumption 7). If S⊆TS\subseteq TS⊆T and g(T,d)∈Sg(T,d)\in Sg(T,d)∈S, then g(S,d)=g(T,d)g(S,d)=g(T,d)g(S,d)=g(T,d).
  • SYM (assumption 8). If d1=d2d_1=d_2d1​=d2​ and SSS is symmetric in the line u1=u2u_1=u_2u1​=u2​, then g(S,d)g(S,d)g(S,d) lies on that line.
  • INV. For L(s)=(α1s1+β1, α2s2+β2)L(s)=(\alpha_1s_1+\beta_1,\ \alpha_2s_2+\beta_2)L(s)=(α1​s1​+β1​, α2​s2​+β2​) with α1,α2>0\alpha_1,\alpha_2>0α1​,α2​>0, g(L(S),L(d))=L(g(S,d))g(L(S),L(d))=L(g(S,d))g(L(S),L(d))=L(g(S,d)).

The paper has no separate INV axiom. It normalizes the disagreement utility to 000 and notes that each utility is then determined only up to a positive multiple (p. 158), so the solution must not depend on that choice.

Formalization targets

Goal

The goal is the platform theorem NashBargaining.nash_bargaining_solution_unique, posed by Nickrobbins95 and currently Open. This mission references it and does not restate it. It asserts that there is a solution fff such that a solution ggg satisfies selection, INV, SYM, IIA and PAR if and only if g=fg=fg=f, and that for every ⟨S,d⟩∈B\langle S,d\rangle\in\mathcal B⟨S,d⟩∈B

f(S,d)≥d,(s1−d1)(s2−d2)<(f1−d1)(f2−d2)  for all s∈S, s≥d, s≠f(S,d).f(S,d)\ge d,\qquad (s_1-d_1)(s_2-d_2)<(f_1-d_1)(f_2-d_2)\ \text{ for all } s\in S,\ s\ge d,\ s\neq f(S,d).f(S,d)≥d,(s1​−d1​)(s2​−d2​)<(f1​−d1​)(f2​−d2​)  for all s∈S, s≥d, s=f(S,d).

Nash's paper proves the necessity half: a solution satisfying the conditions must select the maximizer of the Nash product. The sufficiency half, that the maximizer map satisfies the five conditions, is not argued in the paper. It must be supplied by whoever closes the goal.

Milestones

  1. On a compact convex S∋(0,0)S\ni(0,0)S∋(0,0) that contains a point where both players gain, u1u2u_1u_2u1​u2​ has exactly one strict maximizer ppp in the closed first quadrant, and p1,p2>0p_1,p_2>0p1​,p2​>0.
  2. Multiplying the utilities by positive constants maps the maximizer to the maximizer, so ppp may be moved to (1,1)(1,1)(1,1).
  3. If SSS is convex and (1,1)(1,1)(1,1) maximizes u1u2u_1u_2u1​u2​, then u1+u2≤2u_1+u_2\le2u1​+u2​≤2 on all of SSS.
  4. A compact SSS under that line lies in a square Qh={2−2h≤u1+u2≤2, ∣u1−u2∣≤h}Q_h=\{2-2h\le u_1+u_2\le2,\ |u_1-u_2|\le h\}Qh​={2−2h≤u1​+u2​≤2, ∣u1​−u2​∣≤h}.
  5. (1,1)(1,1)(1,1) is the only point of QhQ_hQh​ on the diagonal that no point of QhQ_hQh​ strictly dominates.
  6. Necessity. Under the five conditions, g(S,d)g(S,d)g(S,d) is the strict maximizer of (s1−d1)(s2−d2)(s_1-d_1)(s_2-d_2)(s1​−d1​)(s2​−d2​) over S∩{s≥d}S\cap\{s\ge d\}S∩{s≥d}.

Two further items formalize the paper's examples: the Bill–Jack barter, whose solution is the vertex (12,5)(12,5)(12,5) reached by exactly one exchange, and trade with money, where the solution gives equal money profits.

Significance

The Nash product characterization is used, mostly without proof, wherever a "fair" split of a cooperative surplus is needed. Examples are generalized Nash bargaining in supply-chain contracting and labour economics, the proportional-fairness criterion in network rate control, and the Nash-in-Nash models of bilateral negotiations. Many papers that build on it apply it to a specific feasible set. They therefore rely on the necessity direction, which is the step that makes the maximizer the unique answer rather than one answer among several.

The result has been proved since 1950, while the referenced Prove2Me goal remains Open. This mission supplies the milestones of Nash's own argument in the encoding of that goal, so that the necessity direction can be assembled from them. Sufficiency remains as separate work. The two examples are small, concrete checks of the solution concept.

Difficulty

Each step is elementary. The difficulty is in keeping the bookkeeping honest across the normalizations. The axioms are stated on the class B\mathcal BB, and a solution is a function on a subtype. Every application of INV, SYM or IIA therefore needs a membership proof for a transformed set: the image of SSS under an affine map, or the enclosing square. It also needs the disagreement point to be carried along. The tempting short cut is to argue "without loss of generality d=0d=0d=0 and p=(1,1)p=(1,1)p=(1,1)". That is exactly what INV licenses, but only after compactness, convexity, the point where both gain, and the location of ddd inside the square have been re-established for each transformed problem. Uniqueness of the maximizer also needs care at the boundary of the quadrant, where the product vanishes.

Formalization scope

Utility pairs are ℝ × ℝ, with u.1 player 1's utility and u.2 player 2's. Milestones 1–5 work at d=(0,0)d=(0,0)d=(0,0), the paper's normalization. Milestone 6 has a general ddd and the goal's encoding. Milestones 1–5 make the following readings explicit:

  • "First quadrant" is the closed quadrant u1≥0, u2≥0u_1\ge0,\ u_2\ge0u1​≥0, u2​≥0.
  • "The point where u1u2u_1u_2u1​u2​ is maximized" is the strict maximizer over SSS in that quadrant, in the goal's form. Milestone 1 also states p1,p2>0p_1,p_2>0p1​,p2​>0, which follows from the point where both gain (p. 158).
  • Milestone 3's hypothesis is the weak maximum s1s2≤1s_1s_2\le1s1​s2​≤1. Its conclusion covers every point of SSS, not only first-quadrant points.
  • The square is the explicit set QhQ_hQh​. Its compactness, convexity and literal symmetry (a,b)∈Qh  ⟺  (b,a)∈Qh(a,b)\in Q_h\iff(b,a)\in Q_h(a,b)∈Qh​⟺(b,a)∈Qh​ are part of milestone 4's conclusion.
  • "Satisfying assumptions (6) and (8)" in the square means lying on u1=u2u_1=u_2u1​=u2​ and being strictly dominated by no point of the square.

Milestone 6's five hypotheses are copied verbatim from the goal, and its conclusion is the goal's last conjunct for the given ggg. It does not restate the goal: it has no existence claim and no "if and only if".

Trivializing formalizations are ruled out. The point where both gain is a hypothesis wherever uniqueness is claimed; without it a segment on an axis has many maximizers of u1u2=0u_1u_2=0u1​u2​=0. The square is a concrete set, not "some symmetric compact convex set", and the solution's properties are quantified over the goal's class B\mathcal BB, which is nonempty.

The examples need finite sums, convex hulls of finite sets, and extreme points, all in Mathlib. Contributions are welcome on each milestone and on the sufficiency half of the goal.

Related platform work treats other bargaining models. These are Rubinstein's alternating-offers game (RubinsteinBargaining.PEP) and the Chatterjee–Samuelson sealed-offer double auction (ChatterjeeSamuelson). Neither is used here. The von Neumann–Morgenstern utility theorem behind the normalization is formalized as TheoryOfGames.Utility.utility_existence_uniqueness.

Selected references

  • J. F. Nash, Jr., The Bargaining Problem, Econometrica 18(2), 155–162, 1950. doi:10.2307/1907266
  • J. von Neumann, O. Morgenstern, Theory of Games and Economic Behavior, Princeton University Press, 1944.
  • J. F. Nash, Jr., Two-Person Cooperative Games, Econometrica 21(1), 128–140, 1953. doi:10.2307/1906951
  • E. Kalai, M. Smorodinsky, Other Solutions to Nash's Bargaining Problem, Econometrica 43(3), 513–518, 1975. doi:10.2307/1914280
  • K. Binmore, A. Rubinstein, A. Wolinsky, The Nash Bargaining Solution in Economic Modelling, RAND Journal of Economics 17(2), 176–188, 1986. doi:10.2307/2555382
  • M. J. Osborne, A. Rubinstein, Bargaining and Markets, Academic Press, 1990, Theorem 2.3.
10 thms3 active usersReviewed
🏆Completed
Operations ResearchProbability·Captain: mikedeng1

Supply Chain Coordination with Contracts VI: With a Forecast Update, Buy-Back Terms with w₁ − w₂ + λc₂ = λc₁ Give the Retailer λΩ₁(q₁) and a Lower Period-2 Margin w₂ − c₂ < w₁ − c₁Textbook

Motivation

A newsvendor retailer who may order twice faces a tradeoff. Ordering late lets the retailer use a better demand forecast. Ordering early lets the supplier produce more cheaply, with longer procurement lead times and no overtime labor. Fisher and Raman (1996) document such forecast improvements between ordering epochs in fashion apparel. A decentralized supply chain must balance cheap early production against well-informed late production, and it is not obvious that a simple contract can induce both firms to strike the balance an integrated firm would choose.

This mission formalizes §6.6 of G. P. Cachon's survey chapter Supply Chain Coordination with Contracts (Handbooks in OR & MS, Vol. 11, 2003), read in the author's January 2003 draft. The section builds on Donohue (2000), who studied the same two-mode production problem under forced compliance. The chapter's model lets the supplier operate under voluntary compliance: she may deliver less than the retailer orders, and she may produce more in period 1 than was ordered. The question is whether a buy back contract with one wholesale price per ordering epoch still coordinates the supply chain.

Setting

A demand signal ξ≥0\xi \ge 0ξ≥0 with density ggg and distribution function GGG is observed once before the selling season. Given ξ\xiξ, demand DDD has distribution function F(⋅ ∣ ξ)F(\cdot\,|\,\xi)F(⋅∣ξ), continuous and strictly increasing on [0,∞)[0,\infty)[0,∞). Demand is stochastically increasing in the signal: F(x ∣ ξh)<F(x ∣ ξl)F(x\,|\,\xi_h) < F(x\,|\,\xi_l)F(x∣ξh​)<F(x∣ξl​) for ξh>ξl\xi_h > \xi_lξh​>ξl​. Expected sales are S(q ∣ ξ)=E[min⁡(q,D) ∣ ξ]S(q\,|\,\xi) = E[\min(q,D)\,|\,\xi]S(q∣ξ)=E[min(q,D)∣ξ]. Period 1 is before the signal and period 2 is after it. The retailer's total order is q1q_1q1​ after period 1 and q2≥q1q_2 \ge q_1q2​≥q1​ after period 2. The supplier's unit production cost is cic_ici​ in period iii, with c1<c2<pc_1 < c_2 < pc1​<c2​<p, where ppp is the retail price. Salvage values and goodwill costs are zero.

The supply chain's period-2 objective is

Ω2(q2 ∣ q1,ξ)=pS(q2 ∣ ξ)−c2q2+c2q1,\Omega_2(q_2\,|\,q_1,\xi) = pS(q_2\,|\,\xi) - c_2 q_2 + c_2 q_1 ,Ω2​(q2​∣q1​,ξ)=pS(q2​∣ξ)−c2​q2​+c2​q1​,

and q2(q1,ξ)q_2(q_1,\xi)q2​(q1​,ξ) maximizes it over q2≥q1q_2 \ge q_1q2​≥q1​. The supply chain's expected profit is Ω1(q1)=−c1q1+E[Ω2(q2(q1,ξ) ∣ q1,ξ)]\Omega_1(q_1) = -c_1 q_1 + E[\Omega_2(q_2(q_1,\xi)\,|\,q_1,\xi)]Ω1​(q1​)=−c1​q1​+E[Ω2​(q2​(q1​,ξ)∣q1​,ξ)].

Under the buy back contract {w1,w2,b}\{w_1, w_2, b\}{w1​,w2​,b} the retailer pays wiw_iwi​ per unit ordered in period iii, and the supplier refunds bbb per unsold unit. The retailer's period-2 profit is π2(q2 ∣ q1,ξ)=(p−b)S(q2 ∣ ξ)−(w2−b)q2+w2q1\pi_2(q_2\,|\,q_1,\xi) = (p-b)S(q_2\,|\,\xi) - (w_2-b)q_2 + w_2 q_1π2​(q2​∣q1​,ξ)=(p−b)S(q2​∣ξ)−(w2​−b)q2​+w2​q1​, and his period-1 profit is π1(q1)=−w1q1+E[π2(q2(q1,ξ) ∣ q1,ξ)]\pi_1(q_1) = -w_1 q_1 + E[\pi_2(q_2(q_1,\xi)\,|\,q_1,\xi)]π1​(q1​)=−w1​q1​+E[π2​(q2​(q1​,ξ)∣q1​,ξ)]. The supplier's period-2 profit Π2\Pi_2Π2​ and her period-1 profit Π1(x ∣ q1)\Pi_1(x\,|\,q_1)Π1​(x∣q1​), as functions of the stock xxx she holds, are given in the mission's Profits definition.

Formalization targets

Goal: the buy back contract coordinates

For λ∈[0,1]\lambda \in [0,1]λ∈[0,1] with

p−b=λp,w2−b=λc2,w1−w2+λc2=λc1,p - b = \lambda p,\qquad w_2 - b = \lambda c_2,\qquad w_1 - w_2 + \lambda c_2 = \lambda c_1,p−b=λp,w2​−b=λc2​,w1​−w2​+λc2​=λc1​,

the identities

π2(q2 ∣ q1,ξ)=λ(Ω2(q2 ∣ q1,ξ)−c2q1)+w2q1,π1(q1)=λ Ω1(q1)\pi_2(q_2\,|\,q_1,\xi) = \lambda\big(\Omega_2(q_2\,|\,q_1,\xi) - c_2 q_1\big) + w_2 q_1,\qquad \pi_1(q_1) = \lambda\,\Omega_1(q_1)π2​(q2​∣q1​,ξ)=λ(Ω2​(q2​∣q1​,ξ)−c2​q1​)+w2​q1​,π1​(q1​)=λΩ1​(q1​)

hold, so the supply chain's optima in both periods are the retailer's optima (with equivalence for λ>0\lambda > 0λ>0). In addition,

w2−c2=w1−(λc1+(1−λ)c2)<w1−c1(λ<1).w_2 - c_2 = w_1 - \big(\lambda c_1 + (1-\lambda)c_2\big) < w_1 - c_1 \quad (\lambda < 1).w2​−c2​=w1​−(λc1​+(1−λ)c2​)<w1​−c1​(λ<1).

Milestones

  1. The structure of the period-2 problem, Eqs. (25)–(26): q2(ξ)q_2(\xi)q2​(ξ) solves F(q2(ξ) ∣ ξ)=(p−c2)/pF(q_2(\xi)\,|\,\xi) = (p-c_2)/pF(q2​(ξ)∣ξ)=(p−c2​)/p and increases in ξ\xiξ, and the threshold ξ(q1)\xi(q_1)ξ(q1​) splits the signals into those that trigger a period-2 order and those that do not.
  2. The retailer's period-2 identity (p. 65).
  3. The supplier fills any period-2 order up to q2(q1,ξ)q_2(q_1,\xi)q2​(q1​,ξ), and for λ<1\lambda < 1λ<1 she does not fill a larger one (p. 65).
  4. The retailer's period-1 identity (p. 66).
  5. The first-order condition (27) for q1oq_1^oq1o​.
  6. The supplier's period-2 profit increases in her stock below q1q_1q1​, so she produces at least the period-1 order (p. 66).
  7. The supplier produces exactly the period-1 order (p. 67).
  8. The margin comparison (p. 67).

Significance

The result shows that the buy back contract, which coordinates the single-period newsvendor, extends to a setting with a forecast update and two production modes, even when the supplier is free to under-deliver or to stockpile. Profit can be divided arbitrarily through λ\lambdaλ. Coordination also forces the supplier's margin on expensive late production below her margin on cheap early production, which contradicts the intuition that the better-informed late order should command a premium. Milestone 7 rules out stranded inventory: under the coordinating terms the supplier never stocks more than the retailer ordered in period 1.

These results are established on paper in Cachon's chapter. No machine-checked version is known. The identities are algebraic. The supplier's production result needs differentiation of an expectation over the signal across the moving threshold ξ(x)\xi(x)ξ(x).

Difficulty

The retailer's identities reduce to algebra once the contract terms are substituted, and the margin comparison is one line. The substantive steps are the derivative formulas (27) and ∂Π1(x ∣ q1)/∂x=−c1+c2(1−G(ξ(x)))\partial \Pi_1(x\,|\,q_1)/\partial x = -c_1 + c_2(1 - G(\xi(x)))∂Π1​(x∣q1​)/∂x=−c1​+c2​(1−G(ξ(x))). The obvious move, differentiating inside the expectation term by term, fails because the period-2 optimum max⁡(q1,q2(ξ))\max(q_1, q_2(\xi))max(q1​,q2​(ξ)) has a kink at ξ=ξ(q1)\xi = \xi(q_1)ξ=ξ(q1​). The integrand switches between two regimes, and the switch point moves with q1q_1q1​. The supplier's period-1 profit is not differentiable at x=q1x = q_1x=q1​; only its right derivative is negative at q1oq_1^oq1o​. Turning the page's derivative statements into the global claim that x=q1ox = q_1^ox=q1o​ is her unique optimum needs a monotonicity argument on both sides of q1oq_1^oq1o​.

Formalization scope

The conditional law is a measurable family ξ↦Dξ\xi \mapsto D_\xiξ↦Dξ​ of probability measures on R\mathbb RR supported on [0,∞)[0,\infty)[0,∞), each with a finite mean, a continuous distribution function, and a distribution function strictly increasing on [0,∞)[0,\infty)[0,∞). The signal has a measurable density g≥0g \ge 0g≥0 with ∫0∞g=1\int_0^\infty g = 1∫0∞​g=1, and demand has a finite unconditional mean. These standing assumptions follow the chapter's p. 7 newsvendor model, together with the measurability needed for expectations over the signal. 0<c2<p0 < c_2 < p0<c2​<p makes the critical ratio lie in (0,1)(0,1)(0,1). Expected sales reuse the platform definition SupplyChainTheory.expSales (from SupplyChainTheory_contracts).

The optimum q2(q1,ξ)q_2(q_1,\xi)q2​(q1​,ξ) is a hypothesis-carried selection maximizing Ω2\Omega_2Ω2​ over q2≥q1q_2 \ge q_1q2​≥q1​. It is never an arbitrary function: a formalization that let q2(q1,ξ)q_2(q_1,\xi)q2​(q1​,ξ) be unconstrained would make π1=λΩ1\pi_1 = \lambda\Omega_1π1​=λΩ1​ a statement about meaningless orders. The thresholds ξ(q1)\xi(q_1)ξ(q1​) enter as solutions of (26) whose existence is assumed where the page assumes it. Optimal order quantities are taken over q1≥0q_1 \ge 0q1​≥0 and q2≥q1q_2 \ge q_1q2​≥q1​. Derivatives are stated with HasDerivAt (or HasDerivWithinAt for the right derivative at a kink).

Three corrections of the print are disclosed in the item notes:

  • the strict margin inequality fails at λ=1\lambda = 1λ=1;
  • the p. 66 identity for Π2(x,q1,q2,ξ)\Pi_2(x, q_1, q_2, \xi)Π2​(x,q1​,q2​,ξ) is off by the constant (1−λ)c2q1(1-\lambda)c_2q_1(1−λ)c2​q1​;
  • "retailer optimal equals chain optimal" needs λ>0\lambda > 0λ>0 in the converse direction.

Contributions are welcome on all milestones. A lemma that differentiates q↦E[max⁡q2≥qΩ2]q \mapsto E[\max_{q_2 \ge q} \Omega_2]q↦E[maxq2​≥q​Ω2​] with a density-driven threshold would be reusable beyond this mission.

Selected references

  • G. P. Cachon, Supply Chain Coordination with Contracts, in S. Graves and T. de Kok (eds.), Handbooks in Operations Research and Management Science, Vol. 11: Supply Chain Management, North-Holland, 2003, Ch. 6. https://doi.org/10.1016/S0927-0507(03)11006-7
  • K. L. Donohue, Efficient Supply Contracts for Fashion Goods with Forecast Updating and Two Production Modes, Management Science 46(11), 1397–1411, 2000. https://doi.org/10.1287/mnsc.46.11.1397.12088
  • M. Fisher and A. Raman, Reducing the Cost of Demand Uncertainty Through Accurate Response to Early Sales, Operations Research 44(1), 87–99, 1996. https://doi.org/10.1287/opre.44.1.87
12 thms3 active usersReviewed
🏆Completed
Operations ResearchProbability·Captain: mikedeng1

Supply Chain Coordination with Contracts VII: In the Single-Location Base-Stock Model the Transfers t_I = (1 − λ)h_r, t_B = β_r − λβ Make the Retailer's Cost λc(s_r)Textbook

Motivation

A retailer can keep too little inventory even when its own stocking decision is optimal. In the single-location model of Cachon, Supply Chain Coordination with Contracts (2003), the supplier suffers a cost when the retailer has backorders, but the retailer does not bear that part of the cost. The supplier and retailer therefore prefer different base-stock levels. Section 6.7 asks whether payments tied to expected inventory and backorders can make the retailer choose the level that minimizes their combined cost. The result also describes how the contract divides that cost between the firms.

The model concerns a continuing operation with repeated replenishment opportunities and backordered demand. A base-stock policy keeps the retailer's inventory position at a chosen level by replacing units as demand occurs. Cachon reduces the cost calculation for such a policy to the distribution of demand over one replenishment lead time. That reduction allows the coordination question to be stated with one real stock-level decision rather than a full inventory trajectory. The chapter presents this model as a building block for its two-location system in §6.8 Cachon (2003).

Setting

Let DrD_rDr​ denote lead-time demand, the amount demanded while the retailer waits for replenishment. It is nonnegative and has a finite mean μr=E[Dr]\mu_r=\mathbb E[D_r]μr​=E[Dr​], distribution function FrF_rFr​, and density frf_rfr​. At inventory level s∈Rs\in\mathbb Rs∈R, expected inventory is Ir(s)=E[(s−Dr)+]I_r(s)=\mathbb E[(s-D_r)^+]Ir​(s)=E[(s−Dr​)+] and expected backorders are Br(s)=E[(Dr−s)+]B_r(s)=\mathbb E[(D_r-s)^+]Br​(s)=E[(Dr​−s)+], where x+=max⁡(x,0)x^+=\max(x,0)x+=max(x,0). The section assumes Fr(0)=0F_r(0)=0Fr​(0)=0 and a strictly increasing differentiable FrF_rFr​ on nonnegative levels. These assumptions place the optimum above zero.

The retailer pays holding cost hrIr(s)h_r I_r(s)hr​Ir​(s) and its own backorder cost βrBr(s)\beta_r B_r(s)βr​Br​(s). The supplier pays a further backorder cost βsBr(s)\beta_s B_r(s)βs​Br​(s). All three cost rates are positive. Thus cr(s)=hrIr(s)+βrBr(s)c_r(s)=h_r I_r(s)+\beta_r B_r(s)cr​(s)=hr​Ir​(s)+βr​Br​(s) and cs(s)=βsBr(s)c_s(s)=\beta_s B_r(s)cs​(s)=βs​Br​(s) are the firms' costs, while c(s)=cr(s)+cs(s)c(s)=c_r(s)+c_s(s)c(s)=cr​(s)+cs​(s) is the channel cost. Write β=βr+βs\beta=\beta_r+\beta_sβ=βr​+βs​. Because demand is backordered rather than lost, the section treats the sales rate as constant across the stock decisions and compares costs alone Cachon (2003), §6.7.1.

The proposed contract pays the retailer tIIr(s)+tBBr(s)t_I I_r(s)+t_B B_r(s)tI​Ir​(s)+tB​Br​(s) from the supplier, where tIt_ItI​ and tBt_BtB​ are transfer rates. A positive rate is a subsidy; a negative rate charges the retailer. For a parameter λ∈(0,1]\lambda\in(0,1]λ∈(0,1], the contract sets tI=(1−λ)hrt_I=(1-\lambda)h_rtI​=(1−λ)hr​ and tB=βr−λβt_B=\beta_r-\lambda\betatB​=βr​−λβ. The retailer's contracted cost is its original cost minus this transfer; the supplier's contracted cost is its original cost plus it. The parameter λ\lambdaλ describes a family of printed contract rates and is not itself a payment term Cachon (2003), p. 74.

Formalization targets

The milestones establish the two expectation identities, the channel's cost formula and strict convexity, the channel's critical ratio, the retailer's lower uncontracted stock level, and the retailer's cost after the printed transfer. In the notation above, the channel optimum sr∘s_r^\circsr∘​ is unique and satisfies

Fr(sr∘)=βhr+β;F_r(s_r^\circ)=\frac{\beta}{h_r+\beta};Fr​(sr∘​)=hr​+ββ​;

the uncontracted retailer has its own unique optimum sr∗s_r^*sr∗​ with sr∗<sr∘s_r^*<s_r^\circsr∗​<sr∘​. Three further statements of §6.7.1 complete the section: the signs of the transfer rates over the family (tI≥0t_I\ge0tI​≥0, with tI>0t_I>0tI​>0 exactly for λ<1\lambda<1λ<1, and {tB:0<λ≤1}=[−βs,βr)\{t_B:0<\lambda\le1\}=[-\beta_s,\beta_r){tB​:0<λ≤1}=[−βs​,βr​)); the decomposition

tIIr(y)+tBBr(y)=(tI+tB)Ir(y)+tB(μr−y);t_I I_r(y)+t_B B_r(y)=(t_I+t_B)I_r(y)+t_B(\mu_r-y);tI​Ir​(y)+tB​Br​(y)=(tI​+tB​)Ir​(y)+tB​(μr​−y);

and the equivalence with the newsvendor model: with lead-time demand as newsvendor demand, retail price p=hr+βrp=h_r+\beta_rp=hr​+βr​ and wholesale price w=hrw=h_rw=hr​, the newsvendor retailer's profit pS(q)−wqpS(q)-wqpS(q)−wq, with expected sales S(q)=E[min⁡(q,Dr)]S(q)=\mathbb E[\min(q,D_r)]S(q)=E[min(q,Dr​)], equals −cr(q)+βrμr-c_r(q)+\beta_r\mu_r−cr​(q)+βr​μr​. The mission goal is the coordinating identity of Eq. (33), together with the unique optimality it implies:

crλ(s)=λc(s),csλ(s)=(1−λ)c(s)for all s∈R and 0<λ≤1.c_r^\lambda(s)=\lambda c(s),\qquad c_s^\lambda(s)=(1-\lambda)c(s) \quad\text{for all }s\in\mathbb R\text{ and }0<\lambda\le1.crλ​(s)=λc(s),csλ​(s)=(1−λ)c(s)for all s∈R and 0<λ≤1.

Consequently, the retailer's contracted cost has the same unique minimizer sr∘s_r^\circsr∘​ as the channel cost. At each stock level the retailer's contracted cost is strictly increasing in λ\lambdaλ, which is the page's statement that the retailer's share of the cost increases with λ\lambdaλ. The result does not prescribe one fixed allocation of cost: each λ\lambdaλ in the stated interval gives a contract with the same coordinated stock level and a different retailer share Cachon (2003), Eq. (33), p. 74.

Significance

The theorem identifies an explicit transfer that corrects an incentive gap created by the supplier's backorder cost. Without it, the retailer sets stock according to βr\beta_rβr​, while the channel's stock decision uses βr+βs\beta_r+\beta_sβr​+βs​. Under the contract, the retailer bears the fraction λ\lambdaλ of total cost at every stock level, so its decision agrees with the integrated channel's decision. This conclusion connects a decentralized cost objective to the base-stock target used in the next section's two-location analysis Cachon (2003), §§6.7–6.8.

The chapter proves these claims informally; this mission asks for machine-checked Lean proofs of the expectation identities, convexity and optimality claims, and the contract identity. Its reusable output is the precise treatment of expected positive-part inventory and backorders under a demand law with finite mean. The local definitions may also support later formalizations of inventory contracts. Expected sales in the newsvendor comparison is the published SupplyChainTheory.expSales (definition SupplyChainTheory_contracts), referenced rather than redefined. The existing proved SupplyChainTheory.chain_optimal_fractile concerns a single-period newsvendor profit objective; its critical ratio is related mathematically but belongs to a different model and is not substituted for Eq. (31).

Difficulty

The algebra of the transfer rates is short, but the unique-optimum claim depends on more than algebra. It requires expected inventory and backorders to match the distribution formulas, the cost to have the required curvature at nonnegative levels, and the optimum to occur at a positive level. A formal statement that defines the retailer's contracted cost directly as λc\lambda cλc would erase the coordinating claim. The negative-stock region also matters: since demand is nonnegative, expected inventory vanishes there and cost is affine rather than strictly convex. The formulation must keep strict convexity on the range where it holds while still identifying the unique optimum among all real stock levels.

Formalization scope

Lean represents DrD_rDr​ by a probability measure on R\mathbb RR supported on [0,∞)[0,\infty)[0,∞), with an explicit integrable first moment. The density is a measurable nonnegative function whose induced measure is the demand law; the cdf is continuous, strictly increasing on [0,∞)[0,\infty)[0,∞), equals zero at zero, and has that density as its derivative at positive levels. These are the section's distribution assumptions. The positive rates hr,βr,βsh_r,\beta_r,\beta_shr​,βr​,βs​ are fields of one model, and Ir,BrI_r,B_rIr​,Br​ are defined by expectations. This rules out accidental zero values from nonintegrable real integrals. The cost functions are constructed from the expected inventory and backorders; the transfer is constructed from the two printed rates. The identities in Eqs. (28)–(33) are theorem targets, not definitions.

Stock levels are real, including negative levels, because the section does not explicitly restrict the decision set. The formal result states strict convexity on nonnegative levels and uniqueness of the cost minimizers over all real levels. The page's sentence that tI>0t_I>0tI​>0 for all λ∈(0,1]\lambda\in(0,1]λ∈(0,1] fails at λ=1\lambda=1λ=1, where tI=0t_I=0tI​=0; the formal statement asserts tI≥0t_I\ge0tI​≥0 with strict positivity exactly for λ<1\lambda<1λ<1. The contract range is exactly 0<λ≤10<\lambda\le10<λ≤1; λ=0\lambda=0λ=0 would make every retailer stock level cost-equivalent. The transfer sign is positive from supplier to retailer, as on p. 73. Risk neutrality and full information are the chapter's standing conventions. The continuous-review state process, supplier capacity, and proof that a base-stock policy attains the displayed long-run average are not modeled; the mission formalizes the section's explicit lead-time-demand cost reduction. Contributions that establish integrability, distribution identities, strict convexity, and critical-ratio optimality are all needed for closure.

Selected references

  • Gérard P. Cachon, Supply Chain Coordination with Contracts, in Handbooks in Operations Research and Management Science, vol. 11, North-Holland, 2003; source used here: author's third draft, January 2003, §6.7. DOI.
12 thms3 active usersReviewed
Dynamic ProgrammingGraph TheoryOperations Research·Captain: mikedeng1

Send-and-Split Method for Minimum-Concave-Cost Network Flows II: Subproblem Minimum Costs Are the Greatest Solution of the Send-and-Split Equations, Unique if Circulations Cost Positively (Theorem 2)Research Paper

Motivation

Many network-design and production-planning problems ask for a cheapest way to route a commodity from supply points to demand points when the cost of an arc grows less than proportionally with the amount sent: setup charges, economies of scale, and fixed-plus-linear costs all give concave arc costs. Minimizing a concave function over the flow polytope is NP-hard in general, and the classical linear-cost machinery (potentials, negative-cycle tests) no longer applies. Erickson, Monma and Veinott (Math. Oper. Res. 12 (1987)) gave the send-and-split method, a dynamic program over subsets of the demand nodes that solves the uncapacitated problem in time polynomial in the number of nodes and arcs and exponential only in the number of demand nodes. It contains as special cases the Dreyfus–Wagner recursion for Steiner trees in graphs (Networks 1 (1971)), and the paper applies it to concave-cost production, inventory and network-design problems (§6).

Timeline. Zangwill (1968) solved minimum-concave-cost flows on special networks by dynamic programming. Dreyfus and Wagner (1971) gave the subset recursion for Steiner trees with positive arc lengths. Erickson, Monma and Veinott (1987) extended the subset recursion to arbitrary uncapacitated networks with additive concave arc costs and arbitrary real demands, proved that the minimum costs of the subproblems form the greatest solution of the resulting equations (Theorem 2), and showed it is the only solution when every simple circulation has positive cost.

Setting

A network consists of a directed graph G=(N,A)G = (N, A)G=(N,A) with nodes N={0,…,n−1}N = \{0, \dots, n-1\}N={0,…,n−1} and arcs AAA, ordered pairs of distinct nodes, together with a real demand vector r=(ri)r = (r_i)r=(ri​). A preflow is a nonnegative matrix x=(xij)x = (x_{ij})x=(xij​) supported on AAA; a flow for rrr is a preflow with inflow minus outflow equal to rir_iri​ at every node. Each arc has a cost function cijc_{ij}cij​, concave on [0,∞)[0, \infty)[0,∞) with cij(0)=0c_{ij}(0) = 0cij​(0)=0, and the cost of a preflow is c(x)=∑(i,j)∈Acij(xij)c(x) = \sum_{(i,j)\in A} c_{ij}(x_{ij})c(x)=∑(i,j)∈A​cij​(xij​). A minimum-cost flow is a flow whose cost is at most that of every flow. A simple circulation is a circulation equal to some θ>0\theta > 0θ>0 on the arcs of a simple directed circuit and 000 elsewhere.

The demand nodes are D={i:ri≠0}D = \{ i : r_i \neq 0 \}D={i:ri​=0}. For ∅⊂I⊆D\emptyset \subset I \subseteq D∅⊂I⊆D let rI=∑j∈Irjr_I = \sum_{j \in I} r_jrI​=∑j∈I​rj​. The subproblem i→Ii \to Ii→I keeps the demands of the nodes in III, sets all others to zero, and subtracts rIr_IrI​ at node iii; CiIC_{iI}CiI​ is its minimum cost, +∞+\infty+∞ when it has no flow. Let AI=AA_I = AAI​=A if rI>0r_I > 0rI​>0 and the reversed arcs if rI<0r_I < 0rI​<0, with sending cost cij(rI)c_{ij}(r_I)cij​(rI​), read as cji(−rI)c_{ji}(-r_I)cji​(−rI​) when rI<0r_I < 0rI​<0. The send-and-split equations for an array C′C'C′ are

CiI′=Cj,I∖{j}′ (j∈I)if rI=0,(1)C'_{iI} = C'_{j, I\setminus\{j\}} \ (j \in I) \quad \text{if } r_I = 0, \qquad (1)CiI′​=Cj,I∖{j}′​ (j∈I)if rI​=0,(1) CiI′=min⁡(i,j)∈AI[cij(rI)+CjI′]∧BiI′if rI≠0,(2)C'_{iI} = \min_{(i,j)\in A_I} \bigl[ c_{ij}(r_I) + C'_{jI} \bigr] \wedge B'_{iI} \quad \text{if } r_I \neq 0, \qquad (2)CiI′​=(i,j)∈AI​min​[cij​(rI​)+CjI′​]∧BiI′​if rI​=0,(2)

with BiI′=min⁡∅⊂J⊂I[CiJ′+Ci,I∖J′]B'_{iI} = \min_{\emptyset\subset J\subset I} [C'_{iJ} + C'_{i,I\setminus J}]BiI′​=min∅⊂J⊂I​[CiJ′​+Ci,I∖J′​] for ∣I∣>1|I| > 1∣I∣>1, and BiI′=0B'_{iI} = 0BiI′​=0 if I={i}I = \{i\}I={i}, +∞+\infty+∞ otherwise, for ∣I∣=1|I| = 1∣I∣=1 (3).

Formalization targets

Goal: Theorem 2 (Dynamic-Programming Equations)

If there is a minimum-cost flow for rrr, then

C solves (1)–(3),CjI′≤CjI  for every +∞-or-real solution C′,C \text{ solves (1)–(3)}, \qquad C'_{jI} \le C_{jI} \ \text{ for every } +\infty\text{-or-real solution } C',C solves (1)–(3),CjI′​≤CjI​  for every +∞-or-real solution C′,

for all j∈Nj \in Nj∈N and ∅⊂I⊆D\emptyset \subset I \subseteq D∅⊂I⊆D. If moreover every simple circulation has positive cost, then every +∞+\infty+∞-or-real solution equals CCC.

Milestones

In attack order: the subproblem alternative (a minimum-cost flow or no flow, p. 640); equation (1); inequalities (4), (5), (6) (p. 641); CiI=BiIC_{iI} = B_{iI}CiI​=BiI​ for i∈Ii \in Ii∈I (p. 641); CCC satisfies (1) and (2) (p. 642); and two generic statements about Bellman's equations (2)′ for minimum-cost chains in a graph with nonnegative, respectively positive, simple circuits: the minimum chain costs form the greatest solution and are nondecreasing in the arc costs, and with positive circuits the solution is unique (p. 642).

Significance

Theorem 2 is the correctness theorem of the send-and-split method: it says that solving equations (1)–(3) by increasing ∣I∣|I|∣I∣, with a shortest-chain computation for each III, yields the true subproblem minimum costs, in particular the optimum CiDC_{iD}CiD​ of the original problem. Its uniqueness clause identifies when the equations alone determine the answer, and the counterexample on p. 641 (zero costs on a strongly connected graph) shows that the positivity hypothesis cannot simply be dropped. The same structure underlies the Steiner-tree recursion.

The theorem is proved in the paper; to our knowledge none of it is formalized. This mission supplies Lean definitions of uncapacitated concave-cost flows with extended-real minimum costs and the send-and-split equations, and poses the correctness theorem as a proof goal. The two Bellman milestones are general facts about minimum-cost chains with +∞+\infty+∞-or-real values and are reusable well beyond this paper. Related items on the platform are credited, not reused: the Dreyfus–Wagner Steiner recursion DreyfusWagner.Steiner.steinerLength_recurrence and DreyfusWagner.Steiner.optimal_decomposition (the special case of undirected positive lengths), and BellmanRouting.PolicySpace.routing_equation_unique (uniqueness of the routing equation on a complete graph with positive real times).

Difficulty

The equations (2) mix two minima: sending the whole demand rIr_IrI​ across one arc, and splitting III at the current node. Showing that CCC satisfies them requires that some optimal flow of every subproblem has a tree-like structure, which in turn rests on the existence theory for concave-cost flows (an optimum is attained at an extreme flow whose support is a forest). Showing that CCC is the greatest solution requires an induction on ∣I∣|I|∣I∣ in which, for fixed III, equation (2) is a shortest-chain system whose arc costs to an auxiliary node depend on the solution at smaller sets; comparison then needs monotonicity of minimum chain costs in the arc costs, including arcs whose cost drops from +∞+\infty+∞. The naive attempt to prove uniqueness by iterating (2) fails without the positivity hypothesis, because zero-cost circuits admit spurious solutions.

Formalization scope

Nodes are Fin n; arcs are a Finset (Fin n × Fin n) with no loops; arc costs are functions R→R\mathbb{R} \to \mathbb{R}R→R assumed concave on Set.Ici 0 with cij(0)=0c_{ij}(0) = 0cij​(0)=0 at arcs (the paper's standing assumption, stated as a hypothesis). Minimum costs, sending costs, splitting terms and solutions take values in EReal; the empty infimum is +∞+\infty+∞, as on the page.

Explicit readings of the paper's phrases:

  • "there is a minimum-cost flow" means a flow for rrr whose cost is at most that of every flow for rrr;
  • "+∞+\infty+∞ or real-valued" means ≠−∞\neq -\infty=−∞, required on every ∅⊂I⊆D\emptyset \subset I \subseteq D∅⊂I⊆D;
  • "greatest solution" is two claims: CCC is a solution, and every solution is ≤C\le C≤C entrywise;
  • "each simple circulation has positive cost" quantifies over every simple circuit and every θ>0\theta > 0θ>0;
  • "CiIC_{iI}CiI​ is finite" is rendered as CiI=c(x)C_{iI} = c(x)CiI​=c(x) for a minimum-cost flow xxx of the subproblem;
  • "minimum-cost chain" is the infimum of walk costs, attained or +∞+\infty+∞; arc costs of +∞+\infty+∞ in (2)′ are missing arcs.

The definition of CiIC_{iI}CiI​ is the infimum over flows, never the equations themselves; a formalization defining CCC by (1)–(3), or omitting the ≠−∞\neq -\infty=−∞ condition on solutions, or dropping the clause that CCC is itself a solution, would make the theorem trivial or false and is ruled out. Arrays are compared only on admissible sets. The graph structure of (2)′ is the platform definition BertsekasSPGraph. Running-time bounds, the planar refinements of §4 (Theorem 3) and the capacitated reduction of §5 are out of scope. Proofs of any milestone, and a formalization of the paper's Theorem 1 that the proofs rely on, are welcome.

Selected references

  • R. E. Erickson, C. L. Monma, A. F. Veinott, Jr., Send-and-Split Method for Minimum-Concave-Cost Network Flows, Mathematics of Operations Research 12(4), 1987, 634–664. https://doi.org/10.1287/moor.12.4.634
  • S. E. Dreyfus, R. A. Wagner, The Steiner Problem in Graphs, Networks 1(3), 1971, 195–207. https://doi.org/10.1002/net.3230010302
  • R. Bellman, On a Routing Problem, Quarterly of Applied Mathematics 16(1), 1958, 87–90. https://doi.org/10.1090/qam/102435
  • W. M. Hirsch, A. J. Hoffman, Extreme Varieties, Concave Functions, and the Fixed Charge Problem, Communications on Pure and Applied Mathematics 14(3), 1961, 355–369. https://doi.org/10.1002/cpa.3160140312
  • W. I. Zangwill, Minimum Concave Cost Flows in Certain Networks, Management Science 14(7), 1968, 429–450. https://doi.org/10.1287/mnsc.14.7.429
15 thms3 active usersReviewed
🏆Completed
Operations ResearchProbability·Captain: mikedeng1

Supply Chain Coordination with Contracts II: With Price-Dependent Demand the Price-Contingent Buy-Back Gives the Retailer λΠ(q, p), as Revenue Sharing Does, and Coordinates Price and QuantityTextbook

Motivation

A retailer who controls both inventory and price can respond to a supply contract in two ways. A contract that induces the right order quantity at a fixed price may change the retailer's incentive to raise or lower that price. For a one-season supply chain, Cachon's chapter compares familiar contracts under price-dependent demand and identifies a price-contingent buy-back, also called a price-discount contract, that aligns both decisions. The mission concerns §6.3 of the author's January 2003 third draft, on printed pages 33–38. Those page and equation numbers belong to the draft and may differ from the typeset chapter.

Setting

One risk-neutral supplier and one risk-neutral retailer have full information before a single selling season. The retailer chooses a nonnegative stocking quantity qqq and a retail price ppp from an admissible price set PPP; the price stays fixed during the season. Demand has a probability law DpD_pDp​ that depends on ppp. Write F(y∣p)F(y\mid p)F(y∣p) for its distribution function, S(q,p)=Ep[min⁡(q,D)]S(q,p)=\mathbb E_p[\min(q,D)]S(q,p)=Ep​[min(q,D)] for expected sales, and μ(p)=Ep[D]\mu(p)=\mathbb E_p[D]μ(p)=Ep​[D] for mean demand. Demand is nonnegative, has a finite mean and, in the chapter's regular setting, its distribution function increases with demand level and has a positive price derivative at positive demand levels. Higher prices thus lower demand in the stochastic order used by the chapter. The price set is nonempty and open so an admissible price optimum has an interior first-order condition.

The supplier's unit cost is csc_scs​, the retailer's unit procurement cost is crc_rcr​, and c=cs+crc=c_s+c_rc=cs​+cr​ is total unit cost. Their goodwill penalties for unmet demand are gsg_sgs​ and grg_rgr​, with g=gs+grg=g_s+g_rg=gs​+gr​. An unsold unit has salvage value vvv at the retailer. The integrated channel's expected profit is

Π(q,p)=(p−v+g)S(q,p)−(c−v)q−gμ(p).\Pi(q,p)=(p-v+g)S(q,p)-(c-v)q-g\mu(p).Π(q,p)=(p−v+g)S(q,p)−(c−v)q−gμ(p).

A buy-back contract charges a wholesale price wbw_bwb​ for each ordered unit and pays the retailer bbb for each unsold unit. A revenue-sharing contract charges a wholesale price wrw_rwr​ and gives the retailer a fraction ϕ\phiϕ of sales and salvage revenue. In this section the supplier offers the terms and the retailer chooses (q,p)(q,p)(q,p). The profit formulas use the chapter's convention that a positive transfer goes from retailer to supplier.

Formalization targets

The goal is the price-contingent buy-back on p. 35, with λ∈[0,1]\lambda\in[0,1]λ∈[0,1]:

b(p)=(1−λ)(p−v+g)−gs,wb(p)=λcs+(1−λ)(p+g−cr)−gs.b(p)=(1-\lambda)(p-v+g)-g_s,\qquad w_b(p)=\lambda c_s+(1-\lambda)(p+g-c_r)-g_s.b(p)=(1−λ)(p−v+g)−gs​,wb​(p)=λcs​+(1−λ)(p+g−cr​)−gs​.

In the chapter's zero-goodwill case, gr=gs=0g_r=g_s=0gr​=gs​=0, every feasible (q,p)(q,p)(q,p) then gives the retailer λΠ(q,p)\lambda\Pi(q,p)λΠ(q,p) and the supplier (1−λ)Π(q,p)(1-\lambda)\Pi(q,p)(1−λ)Π(q,p). The same retailer profit is obtained from revenue sharing with ϕ=λ\phi=\lambdaϕ=λ and wr=λ(c−v)−cr+λvw_r=\lambda(c-v)-c_r+\lambda vwr​=λ(c−v)−cr​+λv. Thus every existing maximizer (q∘,p∘)(q^\circ,p^\circ)(q∘,p∘) of the integrated profit maximizes each firm's profit under the contingent buy-back. At λ=0\lambda=0λ=0 the retailer is indifferent; at λ=1\lambda=1λ=1 the supplier is indifferent.

The milestones follow the chapter's printed claims in attack order:

  1. the integrated price condition (14), p. 34;
  2. the quantity-flexibility condition (15), p. 34: price coordination forces wq=v−crw_q=v-c_rwq​=v−cr​ or δ=0\delta=0δ=0;
  3. the fixed buy-back condition (16), p. 35: price coordination forces b=−gsb=-g_sb=−gs​ and then wb=cs−gsw_b=c_s-g_swb​=cs​−gs​;
  4. the linear price-contingent terms derived from (5)–(6), p. 35;
  5. the p. 36 profit split πr=λ(Π+gμ)−grμ\pi_r=\lambda(\Pi+g\mu)-g_r\muπr​=λ(Π+gμ)−gr​μ, πs=(1−λ)Π−(λg−gr)μ\pi_s=(1-\lambda)\Pi-(\lambda g-g_r)\muπs​=(1−λ)Π−(λg−gr​)μ, valid for all goodwill penalties as an identity;
  6. the zero-goodwill revenue-sharing price claim following (17), p. 36 (the milestone quotes its restatement in §6.3.2, p. 38);
  7. the price-contingent revenue-sharing parameters, p. 37;
  8. the quantity discount wd(q)w_d(q)wd​(q), pp. 37–38: with gs=0g_s=0gs​=0 it does not distort the price, and given p∘p^\circp∘ it makes q∘q^\circq∘ optimal for both firms.

Significance

The result identifies a contract schedule under which the same quantity-price pair is best for the integrated channel and for the two firms' reported profit functions. It also explains the relation between a buy-back whose terms vary with the chosen price and a revenue-sharing arrangement. In the zero-goodwill setting, both allocate every realized choice's expected channel profit in fixed shares. The general-goodwill identity shows the additional mean-demand terms that matter when the retailer controls price.

The source presents these results analytically; this mission asks for Lean proofs of the stated price and profit relationships. A published Prove2Me definition already supplies expected sales and mean demand for a single demand law, and the model here applies those functions to each price's law. The earlier open theorem RevShareCoord.Single.price_quantity_coordination (from Cachon and Lariviere's revenue-sharing paper) treats deterministic revenue and a simpler cost convention. It is an overlap in theme, but its statement does not include price-indexed demand, salvage value, retailer cost or the contingent buy-back terms, so it is not posed again here. The new model can support further price-dependent contract comparisons in the chapter.

Difficulty

The obstacle is that matching the retailer's quantity incentive at a fixed price can change the retailer's price incentive. The buy-back rate required by the fixed-price coordination equations depends on ppp; a fixed buy-back contract therefore does not generally align both choices. Revenue sharing with goodwill penalties has a similar price dependence. The integrated profit need not be concave or unimodal in (q,p)(q,p)(q,p), so a price first-order condition by itself does not establish coordination. The chapter assumes a finite integrated optimum exists and treats the price condition as necessary, not sufficient.

Formalization scope

Lean represents price-dependent demand as a family of probability measures on R\mathbb RR, one for each price in PPP. Each admissible law is supported on nonnegative demand, has no atom at zero and has an integrable identity function, so μ(p)\mu(p)μ(p) is a genuine finite expectation. Sales are defined by Ep[min⁡(q,D)]\mathbb E_p[\min(q,D)]Ep​[min(q,D)], using the published SupplyChainTheory_contracts definition; they are not defined by the equivalent CDF integral. The admissible decisions are exactly q≥0q\ge0q≥0 and p∈Pp\in Pp∈P. Unit costs and goodwill penalties are nonnegative, each admissible price exceeds c=cs+crc=c_s+c_rc=cs​+cr​, and v<cv<cv<c, as in the model of §6.2. The chapter's standing risk-neutrality and full-information conventions appear in the use of expected profit with the same demand laws available to both firms.

There is a material qualification. With price-dependent demand, μ(p)\mu(p)μ(p) may change with ppp. The printed first-order condition (14) and the p. 36 inference from πr=λ(Π+gμ)−grμ\pi_r=\lambda(\Pi+g\mu)-g_r\muπr​=λ(Π+gμ)−gr​μ to a joint optimum omit that effect when goodwill penalties are positive. Price first-order and optimality statements here therefore use gr=gs=0g_r=g_s=0gr​=gs​=0, a case explicitly discussed in the chapter; general-goodwill claims are limited to algebraic identities. The printed p. 36 equality of price derivatives under revenue sharing also misses its factor ϕ\phiϕ, which the formal statement restores. The contingent buy-back terms are defined by the chapter's linear formulas, not by a property that hard-codes coordination. The algebraic statement permits parameter values that may violate economic buy-back bounds such as 0≤b≤wb0\le b\le w_b0≤b≤wb​; those bounds need separate checks when selecting a contract.

Two first-order statements, (15) and (16), compare price derivatives; they take the derivative of expected sales in price as a hypothesis, and (15) also takes differentiation under the integral sign of ∫(1−δ)qqF(y∣p) dy\int_{(1-\delta)q}^{q}F(y\mid p)\,dy∫(1−δ)qq​F(y∣p)dy as a disclosed regularity hypothesis. For the quantity discount, the statement claims what the page shows, undistorted prices for each qqq and optimality of q∘q^\circq∘ given p∘p^\circp∘, not joint optimality of (q∘,p∘)(q^\circ,p^\circ)(q∘,p∘) for the retailer. The page's claim that revenue sharing with goodwill coordinates only with ϕ=gr/g\phi=g_r/gϕ=gr​/g is not stated, for the mean-demand reason above.

A trivializing formalization is ruled out: no contract term is defined by the profit identity it should satisfy, the demand family cannot be replaced by a single law, and the optimal pair is a hypothesis about the integrated profit, not a chosen witness.

Reusable contributions include the price-indexed demand family, the expected-profit model with five contract types, and the price-maximizer statements. Proofs of the first-order milestones need Fermat's interior-extremum theorem on the open price set and, for (15), positivity of an interval integral; the identities need the expectation algebra of SSS and μ\muμ, including S(0,p)=0S(0,p)=0S(0,p)=0.

Selected references

  • Gérard P. Cachon, “Supply Chain Coordination with Contracts,” in Handbooks in Operations Research and Management Science, vol. 11, Supply Chain Management, North-Holland, 2003. DOI 10.1016/S0927-0507(03)11006-7. Formalization source: author's third draft, January 2003, §6.3, pp. 33–38.
  • Fernando Bernstein and Awi Federgruen, “Decentralized supply chains with competing retailers under demand uncertainty,” Management Science 51(1), 2005 (the price-discount sharing contract; cited in the draft as a 2000 working paper). DOI 10.1287/mnsc.1040.0230
  • Nicholas C. Petruzzi and Maqbool Dada, “Pricing and the newsvendor problem: a review with extensions,” Operations Research 47(2), 1999, 183–194. DOI 10.1287/opre.47.2.183
12 thms3 active usersReviewed
🏆Completed
Graph TheoryLinear OptimizationOperations Research·Captain: mikedeng1

Finding Minimum-Cost Circulations by Successive Approximation II: For Real Costs, the Strongly Polynomial Loop Reaches a Minimum-Cost Circulation After at Most m⌈log₂(2n)⌉ RefinementsResearch Paper

Why minimum-cost circulation needs a real-cost iteration bound

A minimum-cost circulation is a way to send flow around a directed network while respecting capacities and paying a cost per unit on each arc. It is a basic form of network optimization: a minimum-cost flow with prescribed supplies and demands can be reduced to a circulation problem, and the circulation formulation exposes the residual arcs on which a flow can be improved. Goldberg and Tarjan's successive-approximation method relaxes exact optimality by an error parameter and repeatedly reduces that error. Its ordinary stopping rule for integer costs depends on the largest cost. For arbitrary real costs, including irrational costs, a decreasing positive error need never cross a fixed numerical cutoff. The strongly polynomial loop in their 1987 technical report, later published in Mathematics of Operations Research instead tests the smallest error parameter appropriate to the current circulation and stops when it is zero.

This mission formalizes the number of refinement calls made by that loop. It builds on the related Goldberg–Tarjan 1988 max-flow and 1989 minimum-mean cycle-canceling series: those develop different algorithms for network flow, while the published 1989 circulation and approximate-optimality definitions provide this mission's common network model. The result here concerns successive approximation and its fixed-arc progress measure.

Network and approximate optimality

The vertex set VVV is finite, with n=∣V∣n=|V|n=∣V∣, and EEE is a symmetric set of directed arcs, with m=∣E∣m=|E|m=∣E∣. Symmetry means that (v,w)∈E(v,w)\in E(v,w)∈E brings (w,v)∈E(w,v)\in E(w,v)∈E too. Each arc has a real capacity u(v,w)u(v,w)u(v,w) and a real cost c(v,w)c(v,w)c(v,w); costs obey c(v,w)=−c(w,v)c(v,w)=-c(w,v)c(v,w)=−c(w,v). A circulation fff obeys f(v,w)≤u(v,w)f(v,w)\le u(v,w)f(v,w)≤u(v,w), f(v,w)=−f(w,v)f(v,w)=-f(w,v)f(v,w)=−f(w,v), and conservation of flow at every vertex. Its total cost is half the sum of c(v,w)f(v,w)c(v,w)f(v,w)c(v,w)f(v,w) over directed arcs, since each unordered edge appears twice. A minimum-cost circulation costs no more than any other circulation of the network.

The residual capacity is uf(v,w)=u(v,w)−f(v,w)u_f(v,w)=u(v,w)-f(v,w)uf​(v,w)=u(v,w)−f(v,w). For a price function p:V→Rp:V\to\mathbb Rp:V→R, the report writes the reduced cost as cp(v,w)=c(v,w)−p(v)+p(w)c_p(v,w)=c(v,w)-p(v)+p(w)cp​(v,w)=c(v,w)−p(v)+p(w). A circulation is ε\varepsilonε-optimal with respect to ppp when every residual arc has reduced cost at least −ε-\varepsilon−ε. It is ε\varepsilonε-optimal if some price function works, where ε≥0\varepsilon\ge0ε≥0. The tight error ε(f)\varepsilon(f)ε(f) is the least such error. A circulation is ε\varepsilonε-tight when it is ε\varepsilonε-optimal but fails to be ε′\varepsilon'ε′-optimal at every ε′<ε\varepsilon'<\varepsilonε′<ε. This includes attainment at ε\varepsilonε.

An arc is ε\varepsilonε-fixed if all ε\varepsilonε-optimal circulations carry the same flow through it. Write FεF_\varepsilonFε​ for the set of these arcs. Theorem 4.2 supplies an arc-fixing criterion from a large absolute reduced cost. Lemma 4.4 says that when a positive tight error falls by a factor of 2n2n2n, FεF_\varepsilonFε​ becomes strictly larger. Both are numbered results on printed pages 16–17 of the source report's journal counterpart.

Formalization targets

The goal is the circulation-level form of Theorem 4.5. Begin with a circulation f0f_0f0​ and a sequence f0,f1,…f_0,f_1,\ldotsf0​,f1​,… whose positive-error steps satisfy the contract of Figure 3: if ε(fk)>0\varepsilon(f_k)>0ε(fk​)>0, the next circulation is ε(fk)/2\varepsilon(f_k)/2ε(fk​)/2-optimal. With the report's standing n≥2n\ge2n≥2 and m≥n−1m\ge n-1m≥n−1, the target is

∃k≤m⌈log⁡2(2n)⌉:ε(fk)=0andfk is minimum-cost.\exists k\le m\left\lceil\log_2(2n)\right\rceil:\quad \varepsilon(f_k)=0\quad\text{and}\quad f_k\text{ is minimum-cost}.∃k≤m⌈log2​(2n)⌉:ε(fk​)=0andfk​ is minimum-cost.

The milestone list contains the already proved complementary-slackness characterization of minimum cost (Theorem 2.2), the cross-parameter arc-fixing result (Theorem 4.2), and strict growth of fixed arcs (Lemma 4.4). The report states Theorem 4.5 as O(mlog⁡n)O(m\log n)O(mlogn) iterations when each refinement decreases error by a constant factor. The target makes explicit the factor two used by the paper's refinements and the resulting finite count.

What the result establishes

The theorem gives a bound on the number of refinement calls that depends on the number of vertices and arcs, not on the magnitude, precision, or integrality of the costs. It gives an exact minimum-cost circulation rather than an arbitrary small-error approximation. This distinguishes the real-cost loop from an integer-cost stopping rule based on 1/n1/n1/n. The bound counts refinement calls only; the report analyzes the work within particular implementations separately.

The published 1989 definitions and the complementary-slackness theorem already have machine-checked status on the platform. Theorem 4.2, Lemma 4.4, and this iteration theorem are the open formalization targets. A complete development will connect the tight error to residual-cycle structure, establish that its infimum is attained for circulations, and prove that zero tight error implies minimum cost. The mission thereby makes the fixed-arc argument reusable for other circulation algorithms that lower an approximate-optimality parameter.

Why the bound needs more than repeated halving

Repeatedly dividing a positive real error by two gives errors approaching zero, but it does not by itself produce a finite step with zero error. The missing finite progress is structural: an arc must become fixed after enough reductions, and only finitely many arcs exist. Proving that fixedness is strict is delicate because it compares all circulations at two different error levels, not just two consecutive flows. Theorem 4.2 is the quantitative bridge between a price certificate for one flow and agreement of an arc across every sufficiently accurate flow. At the boundary ε=0\varepsilon=0ε=0, the printed wording of Lemma 4.4 would require F0F_0F0​ to be a proper subset of itself, so its positive-error regime must be made explicit.

Formalization scope

The Lean network uses CycleCanceling.MinMean.CircNetwork with a finite vertex type, a finite symmetric arc set, and real-valued capacities, costs, and flows. Off-arc values of these functions are irrelevant. The report assumes m≥n−1≥1m\ge n-1\ge1m≥n−1≥1 on printed page 5; the theorem binders express it as n≥2n\ge2n≥2 and m≥n−1m\ge n-1m≥n−1. The arc count is for ordered arcs, exactly as the report defines mmm. No integrality, rounding, or bounded-cost hypothesis is imposed. A feasible initial circulation is required because Figure 3 starts from one; infeasibility detection is outside this target.

The reused 1989 definitions write reduced cost as c(v,w)+p(v)−p(w)c(v,w)+p(v)-p(w)c(v,w)+p(v)−p(w). Substituting −p-p−p for ppp gives the report's c(v,w)−p(v)+p(w)c(v,w)-p(v)+p(w)c(v,w)−p(v)+p(w), so existential price certificates, ε\varepsilonε-optimality, and absolute reduced-cost conditions agree. The tight error is represented by a real infimum; proving that it is attained is part of the work. The set FεF_\varepsilonFε​ is filtered from EEE and includes only arcs whose flow is shared by all ε\varepsilonε-optimal circulations. The halving run computes its error from the current circulation; it does not take an unrelated error sequence. Once that error is zero, the loop has returned and later sequence entries are unconstrained. These choices exclude a vacuous or artificially fixed error parameter and a preselected optimal flow.

The explicit reading of the report's asymptotic count is t=⌈log⁡2(2n)⌉t=\lceil\log_2(2n)\rceilt=⌈log2​(2n)⌉ halvings per factor-2n2n2n reduction and at most mmm such blocks, giving mtm tmt refinements. This is a statement about refinement count, not a RAM-operation bound. Contributions on Theorem 4.2, the residual-cycle characterization of positive tight error, the fixed-arc strictness lemma, and the final finite counting argument all support the goal. The circulation, price, and fixed-arc infrastructure can be reused beyond this particular implementation.

Selected references

  • A. V. Goldberg and R. E. Tarjan, Finding Minimum-Cost Circulations by Successive Approximation, MIT/LCS/TM-333, July 1987; journal version in Mathematics of Operations Research 15(3), 1990, pp. 430–466. DOI: 10.1287/moor.15.3.430. The mission's page and theorem indices refer to the 1987 report.
9 thms3 active usersReviewed
🏆Completed
Machine LearningReinforcement Learning·Captain: mikedeng1

On the Theory of Policy Gradient Methods: Optimality, Approximation, and Distribution Shift 6: Agnostic Q-NPG for Log-Linear Policies, Bounded by Transfer Error, Excess Risk and Condition NumberResearch Paper

Motivation

Policy gradient methods optimize a decision rule by changing the parameters that determine its action probabilities. In reinforcement learning, the objective is the expected total reward collected over time. Once a policy is restricted to a feature-based class, the best policy may be less effective than the unrestricted optimum. A useful guarantee must therefore compare the computed policy with a chosen comparator and account for both the limits of the features and the error in estimating an update direction. Agarwal, Kakade, Lee and Mahajan give such a guarantee for a version of the natural policy gradient method that fits action values with linear features, called Q-NPG (Agarwal et al., §6.2).

The result matters when a policy has far fewer parameters than there are state-action pairs. A bound phrased only for exact action values or an unrestricted policy class would leave out the errors introduced by fitting from samples and by moving the fitting distribution from the states of a comparator to the states visited by the current policy. Theorem 6.1 keeps those effects visible as separate terms. It also avoids assuming that the comparator is an optimal policy; the comparator can be a policy selected for an application or a benchmark within a restricted class.

Setting

A discounted Markov decision process has a finite state set S, a finite nonempty action set A, transition probabilities P(s'|s,a), immediate rewards r(s,a) in [0,1], and a discount factor γ in [0,1). A policy π assigns a probability distribution over A to every state. The value V^π(s) is the expected sum of discounted rewards from s, and V^π(ρ) averages this value over an initial state distribution ρ. The action value Q^π(s,a) starts by choosing a in s and then follows π. Its advantage is A^π(s,a)=Q^π(s,a)−V^π(s). These are the unnormalized value conventions of §3, pp. 9–12.

For each state-action pair, fix a feature vector φ(s,a) in Euclidean d-space. The log-linear policy with parameter θ assigns probability proportional to exp(θ·φ(s,a)):

πθ(a∣s)=exp⁡(θ⋅ϕ(s,a))∑a′∈Aexp⁡(θ⋅ϕ(s,a′)).\pi_\theta(a\mid s)= \frac{\exp(\theta\cdot\phi(s,a))} {\sum_{a'\in A}\exp(\theta\cdot\phi(s,a'))}.πθ​(a∣s)=∑a′∈A​exp(θ⋅ϕ(s,a′))exp(θ⋅ϕ(s,a))​.

The Q-NPG fitting loss L(w;θ,υ)L(w;\theta,\upsilon)L(w;θ,υ) is the mean squared error of predicting Qπθ(s,a)Q^{\pi_\theta}(s,a)Qπθ​(s,a) by w⋅ϕ(s,a)w\cdot\phi(s,a)w⋅ϕ(s,a) under a state-action distribution υ\upsilonυ. Q-NPG uses an approximate minimizer w of this loss under its current on-policy measure and updates θ by ηw. The distribution ν specifies the initial state-action pair for that measure. At time zero, the pair is drawn directly from ν; the given initial action is executed before later actions follow the current policy. These definitions are (19)–(20) of §6.2, pp. 27–28.

The comparison policy π⋆ has discounted state visitation distribution dρπ⋆d^{\pi^\star}_\rhodρπ⋆​. The paper's transfer measure d⋆d^\stard⋆ pairs those states with a uniform action from A. The excess risk measures how much worse an approximate fitting direction is than an exact constrained minimizer under the current on-policy measure. The transfer error measures the exact minimizer's loss under d⋆d^\stard⋆. A relative condition number κ bounds, in every feature direction, the covariance quadratic form under d⋆d^\stard⋆ by κ times that under ν (Assumptions 6.1–6.2, pp. 28–29).

Formalization targets

Agnostic Q-NPG guarantee

The goal is Theorem 6.1, p. 29. Starting with θ⁽⁰⁾=0, taking T positive updates with step size η=2log⁡∣A∣/(B2W2T)\eta=\sqrt{2\log|A|/(B^2W^2T)}η=2log∣A∣/(B2W2T)​, bounding feature norms by B and update norms by W, and assuming the expected excess and transfer errors are at most εstat\varepsilon_{\rm stat}εstat​ and εbias\varepsilon_{\rm bias}εbias​, respectively, it asserts

E ⁣[min⁡t<T{Vπ⋆(ρ)−Vπθ(t)(ρ)}]≤BW1−γ2log⁡∣A∣T+4∣A∣κεstat(1−γ)3+4∣A∣εbias1−γ.\mathbb E\!\left[ \min_{t<T}\{V^{\pi^\star}(\rho)-V^{\pi_{\theta^{(t)}}}(\rho)\} \right] \le \frac{BW}{1-\gamma}\sqrt{\frac{2\log|A|}{T}} + \sqrt{\frac{4|A|\kappa\varepsilon_{\rm stat}}{(1-\gamma)^3}} + \frac{\sqrt{4|A|\varepsilon_{\rm bias}}}{1-\gamma}.E[t<Tmin​{Vπ⋆(ρ)−Vπθ(t)​(ρ)}]≤1−γBW​T2log∣A∣​​+(1−γ)34∣A∣κεstat​​​+1−γ4∣A∣εbias​​​.

The expectation encloses the minimum: each random run may have a different best iterate. The claim gives a finite-horizon comparison with π⋆ even when π⋆ is not globally optimal.

Supporting targets

The milestones are the paper's performance-difference identity (Lemma 3.2), smoothness of bounded-feature log-linear policies (Remark 6.7), the deterministic NPG regret lemma (Lemma 6.2), and the two displayed bounds that control transfer and estimation terms ((25) and (26)). Together they connect the MDP's value comparison with the two statistical errors in the goal. Each milestone states a source result rather than a weakened surrogate.

Significance

The theorem separates three quantities that can vary independently in an application: the number of iterations, the statistical quality of the update direction, and the mismatch between the comparator's visited states and the fitting distribution. If both errors vanish, the displayed bound decreases with T at a square-root rate. With imperfect features, the transfer term shows the remaining performance limit. With finite-sample fitting, the excess-risk term shows how estimation quality affects the policy value. This is an agnostic statement because the comparator need not belong to a globally complete policy class (Agarwal et al., Theorem 6.1 and discussion, pp. 29–30).

The paper proves these claims mathematically. This mission asks for machine-checked proofs of the same statements in Lean, including the probabilistic expectation and the exact constants. The reusable parts are the state-action visitation distribution with a prescribed initial action, the log-linear policy and its smoothness property, the least-squares loss, and the deterministic regret lemma. Those objects can support other policy-gradient analyses with different fitting guarantees.

Difficulty

The update direction minimizes a loss under the distribution generated by the current policy, while the value comparison uses states visited by a different policy. The two distributions need not agree, and prediction error under one cannot simply be substituted for error under the other. The relative condition number controls the feature geometry of this shift, while the transfer error separately measures how well an exact on-policy fit predicts under the comparator's measure. Random approximate minimizers add a further layer: the bound concerns the expectation of the best iterate in each run, rather than a deterministic iterate chosen in advance. These are the obstacles identified around Assumptions 6.1–6.2 and the proof of Theorem 6.1.

Formalization scope

The Lean development uses finite state and action types, as in the paper's §3 standing setting. It imports published definitions of transition kernels, policies, occupation probabilities, value and Q-functions, and defines this paper's advantage, discounted visitation, log-linear class and fitting loss on top of them. Parameters and features lie in EuclideanSpace ℝ (Fin d), so the norm is the Euclidean norm used by the paper. A general probability space carries the random update directions and exact constrained minimizers; their measurability and boundedness make the displayed loss expectations integrable.

The action type is nonempty so that the uniform action distribution exists. B and W are positive and T is positive, because the prescribed step size divides by B2W2TB^2W^2TB2W2T and the result minimizes over t<Tt<Tt<T. The comparator is assumed to be a policy, with no optimality hypothesis. The nonnegative condition number is represented by its quadratic-form upper-bound property for every direction. This avoids undefined real ratios when a covariance form vanishes and includes the finite coefficient in Assumption 6.2. The value and loss expressions are calculated from P, r, π and φ; they are not free variables. The Q-NPG parameter sequence is defined by the update rule from θ⁽⁰⁾=0. In particular, the goal does not assume the regret lemma or either of the two statistical inequalities that the proof must establish.

The paper notes that some §6 results extend beyond finite state or action spaces. This mission fixes the finite case inherited from §3. Contributions that prove the source milestones, establish the required summability and integrability facts, or generalize the development to larger measurable spaces are useful; a generalization must keep the same statistical and comparator conventions.

Selected references

  • Alekh Agarwal, Sham M. Kakade, Jason D. Lee and Gaurav Mahajan, On the Theory of Policy Gradient Methods: Optimality, Approximation, and Distribution Shift, Journal of Machine Learning Research 22(98), 2021. arXiv:1908.00261v5
  • Sham M. Kakade and John Langford, Approximately Optimal Approximate Reinforcement Learning, Proceedings of the 19th International Conference on Machine Learning, 2002. PDF
16 thms3 active usersReviewed
🏆Completed
Machine LearningReinforcement Learning·Captain: mikedeng1

On the Theory of Policy Gradient Methods: Optimality, Approximation, and Distribution Shift 2: On a Chain MDP All Low-Order Derivatives of the Value Are Exponentially Small at Suboptimal PoliciesResearch Paper

Motivation

Policy gradient methods adjust a policy by following derivatives of its expected reward. A common expectation is that a small gradient indicates a policy close to optimal. For discounted Markov decision processes, that interpretation can fail when a policy rarely reaches the states where reward is available. Agarwal, Kakade, Lee, and Mahajan study this obstruction as part of their analysis of optimality and distribution shift in policy gradient methods. Their chain example makes the obstruction quantitative: even derivatives of several orders can be exponentially small while the value gap grows with the chain length. Agarwal et al., §4.3 and Proposition 4.1.

The example isolates a specific issue for local optimization. A parameter change at an early state affects reward only after the agent has passed through many intermediate decisions. A local derivative therefore measures the behavior of a policy under its own visitation pattern, which can be very different from the visitation pattern of an optimal policy. This mission states the resulting separation with explicit constants rather than treating “vanishing gradients” as a qualitative description.

Setting

A discounted Markov decision process has a finite set of states, a finite set of actions, a transition probability for each state and action, a reward in [0,1][0,1][0,1], and a discount 0≤γ<10\le\gamma<10≤γ<1. The value Vπ(s)V^\pi(s)Vπ(s) of a policy π\piπ is the expected sum of discounted rewards when the process starts in state sss and follows π\piπ. An optimal policy π⋆\pi^\starπ⋆ has value at least as large as every other policy at every state. These conventions are those of §3 of the paper and its unnormalized infinite-horizon value definition. Agarwal et al., §3, pp. 9–12.

The central model is a deterministic chain with states s0,s1,…,sH+1s_0,s_1,\ldots,s_{H+1}s0​,s1​,…,sH+1​ and four actions. At s0s_0s0​ the process moves to s1s_1s1​. At each interior state sis_isi​, action a1a_1a1​ moves forward to si+1s_{i+1}si+1​, while a2,a3,a4a_2,a_3,a_4a2​,a3​,a4​ move backward to si−1s_{i-1}si−1​. State sH+1s_{H+1}sH+1​ is absorbing. The only positive reward is r(sH+1,a1)=1r(s_{H+1},a_1)=1r(sH+1​,a1​)=1, and γ=H/(H+1)\gamma=H/(H+1)γ=H/(H+1). This is Figure 2 and the transition matrix in equation (27). Agarwal et al., Figure 2, p. 11, and (27), p. 50.

The direct policy parameter θ\thetaθ has three free coordinates at each interior state: the probabilities assigned to a1,a2,a3a_1,a_2,a_3a1​,a2​,a3​. The probability of a4a_4a4​ is their complement. Write πθ\pi_\thetaπθ​ for this policy expression and FH(θ)=Vπθ(s0)F_H(\theta)=V^{\pi_\theta}(s_0)FH​(θ)=Vπθ​(s0​) for its value from the starting state. The paper studies parameters whose free coordinates lie strictly between zero and one and whose forward-action coordinates satisfy θi,a1<1/4\theta_{i,a_1}<1/4θi,a1​​<1/4.

Formalization targets

The goal is Proposition 4.1. For H≥1H\ge1H≥1, every such θ\thetaθ, and every nonnegative integer kkk satisfying k≤H/(40log⁡(2H))−1k\le H/(40\log(2H))-1k≤H/(40log(2H))−1, it asserts the multilinear operator-norm bound

∥∇kFH(θ)∥op≤(1/3)H/4.\|\nabla^k F_H(\theta)\|_{\mathrm{op}}\le (1/3)^{H/4}.∥∇kFH​(θ)∥op​≤(1/3)H/4.

The same statement compares this policy with an optimal policy:

Vπ⋆(s0)−FH(θ)≥H+18−(H+1)23H.V^{\pi^\star}(s_0)-F_H(\theta) \ge \frac{H+1}{8}-\frac{(H+1)^2}{3^H}.Vπ⋆(s0​)−FH​(θ)≥8H+1​−3H(H+1)2​.

Both clauses and their constants are part of the target. The derivative order includes k=0k=0k=0 whenever the displayed threshold admits it. Agarwal et al., Proposition 4.1, p. 16.

Three supporting targets follow the appendix's attack path. First, FH(θ)F_H(\theta)FH​(θ) equals the (0,H+1)(0,H+1)(0,H+1) entry of the resolvent Mp=(I−γPp)−1M^p=(I-\gamma P^p)^{-1}Mp=(I−γPp)−1, where pi=θi,a1p_i=\theta_{i,a_1}pi​=θi,a1​​. Second, equation (32) gives the derivative of any entry of MpM^pMp in one forward probability. Third, the appendix separately bounds the optimal value below by (H+1)/8(H+1)/8(H+1)/8 and FH(θ)F_H(\theta)FH​(θ) above by (H+1)2/3H(H+1)^2/3^H(H+1)2/3H. A companion theorem records Lemma 3.1: a five-state deterministic example has a value function that is nonconcave in both the direct and softmax parameterizations. Agarwal et al., Appendix B.2, pp. 51, 54, 59; Lemma 3.1, p. 11.

Significance

The proposition supplies an explicit family in which local derivative information, even at orders growing with H/log⁡HH/\log HH/logH, is small at policies with a large value gap. It limits what a guarantee based only on finding a point with small low-order derivatives can imply about global policy quality. The paper uses this example to motivate attention to state visitation and distribution mismatch in its positive results. Agarwal et al., §4.3, pp. 16–17.

The mathematical result is proved in the cited paper. The remaining work is a machine-checked development of the chain model, its value and resolvent identities, the higher derivative estimates, and the value-gap inequality. The reusable parts include finite-state discounted value calculations, differentiation of a matrix inverse, and operator-norm estimates for multilinear derivatives. The statements in this proposal are proof targets; they do not themselves claim that those proofs have been formalized.

Difficulty

A policy can have a small gradient simply because it almost never reaches the rewarding state. The obvious inference from a near-zero gradient to near-optimal value therefore fails in this model. The technical difficulty is quantitative: each differentiation of a resolvent entry produces terms involving several entries, and the operator norm combines all mixed partial derivatives. The bound must remain exponentially small after that combination, uniformly over every derivative order allowed by the threshold. The second clause must simultaneously show that a policy taking the forward action reaches the reward often enough to create a large value gap. Agarwal et al., Appendix B.2, pp. 54–59.

Formalization scope

States are Fin (H + 2) and actions are Fin 4; the parameter space is EuclideanSpace ℝ (Fin H × Fin 3). Its norm is the Euclidean norm, so the norm of the iterated Fréchet derivative is the paper's multilinear operator norm. The first and last states have no free policy parameters. All four actions at s0s_0s0​ induce the same transition to s1s_1s1​, and the parameterized policy chooses a1a_1a1​ at both boundary states. The resolvent is the matrix inverse of I−γPpI-\gamma P^pI−γPp; its milestone statements are restricted to interior probabilities 0<pi<10<p_i<10<pi​<1, where that inverse is nonsingular.

The displayed coordinate assumptions of Proposition 4.1 do not require the three free probabilities at a state to sum to at most one. The Lean goal retains exactly those assumptions. Its value expression is still determined by the forward probabilities, because every other action has the same backward transition and only the absorbing state yields reward. This prevents an added simplex constraint from silently narrowing the proposition. A constant function or a free value variable cannot replace the chain value: FHF_HFH​ is computed from the concrete transition and reward arrays.

The development uses the published finite-state transition-kernel, policy, occupation, value, and optimal-policy definitions. Contributions needed for a proof include stochasticity of the chain, geometric-series evaluation of its absorbing reward, nonsingularity and differentiation of its resolvent, and estimates that pass from mixed partial derivatives to the Euclidean operator norm. For the companion example, direct parameters lie in the product of action simplices, with positive discount; at zero discount its value is constant and the nonconcavity claim would be false.

Selected references

  • Alekh Agarwal, Sham M. Kakade, Jason D. Lee, Gaurav Mahajan, On the Theory of Policy Gradient Methods: Optimality, Approximation, and Distribution Shift, Journal of Machine Learning Research 22(98), 2021. arXiv:1908.00261v5.
12 thms3 active usersReviewed
🏆Completed
Linear algebraMachine Learning·Captain: mikedeng1

Distributed Optimization and Statistical Learning via the Alternating Direction Method of Multipliers VII: Factor Model Fitting — the ADMM X-Update in Closed Form, Entry by EntryTextbook

Motivation

Alternating direction methods are used when one part of an optimization problem is easy to minimize and another part has a simple projection. Chapter 9 of Boyd, Parikh, Chu, Peleato and Eckstein (2011) examines this idea with nonconvex constraints. Its examples include sparse vectors, Boolean vectors and low-rank matrices. The chapter says explicitly that ADMM can fail to converge in this setting and that a limit need not be globally optimal. The useful claim here is narrower and concrete: several individual updates can still be computed exactly.

The capstone is factor-model fitting. A symmetric data matrix, such as an empirical covariance matrix, is approximated by a positive semidefinite matrix of prescribed rank plus a nonnegative diagonal matrix. This decomposition gives one component that captures shared variation and another that represents coordinate-specific variation. The chapter separates the diagonal fit from the rank constraint and writes the resulting ADMM X-update entry by entry. This mission formalizes that exact update and two other projection rules stated in the same chapter.

Setting

Fix a positive integer nnn. Write Sn\mathbb S^nSn for the real symmetric n×nn\times nn×n matrices, and let Σ∈Sn\Sigma\in\mathbb S^nΣ∈Sn be the matrix to approximate. The Frobenius norm squares and sums every ordered matrix entry: ∥X∥F2=∑i,jXij2\|X\|_F^2=\sum_{i,j}X_{ij}^2∥X∥F2​=∑i,j​Xij2​. A vector d∈Rnd\in\mathbb R^nd∈Rn is nonnegative when di≥0d_i\ge0di​≥0 for every iii, and diag⁡(d)\operatorname{diag}(d)diag(d) places those entries on a diagonal matrix. The book's reduced fitting loss is

fΣ(X)=inf⁡d≥012∥X+diag⁡(d)−Σ∥F2.f_\Sigma(X)=\inf_{d\ge0}\frac12\|X+\operatorname{diag}(d)-\Sigma\|_F^2.fΣ​(X)=d≥0inf​21​∥X+diag(d)−Σ∥F2​.

In the scaled ADMM iteration, ZZZ carries the positive semidefinite rank constraint and UUU is the scaled dual matrix. Given the current symmetric matrices Z,UZ,UZ,U and a penalty ρ>0\rho>0ρ>0, the X-step minimizes fΣ(X)+(ρ/2)∥X−Z+U∥F2f_\Sigma(X)+(\rho/2)\|X-Z+U\|_F^2fΣ​(X)+(ρ/2)∥X−Z+U∥F2​ over X∈SnX\in\mathbb S^nX∈Sn. The X-step itself has no rank or positive semidefinite restriction. The following Z-step projects onto the chosen rank-constrained positive semidefinite set. The theorem here concerns the X-step, whose definition is independent of the chosen rank.

The other two results concern Euclidean projection of vectors v∈Rnv\in\mathbb R^nv∈Rn. The cardinality card⁡(x)\operatorname{card}(x)card(x) is the number of nonzero coordinates of xxx. The sparse set is {x:card⁡(x)≤c}\{x:\operatorname{card}(x)\le c\}{x:card(x)≤c} for a nonnegative integer ccc. The Boolean cube is {0,1}n\{0,1\}^n{0,1}n. Projection means a nearest point in squared Euclidean distance; it may have more than one value when coordinates tie.

Formalization targets

Partial minimization of the diagonal

The first milestone identifies the book's infimum as the explicit componentwise loss and states that the optimizing diagonal is attained:

fΣ(X)=12∑i≠j(Xij−Σij)2+12∑i(Xii−Σii)+2,di=(Σii−Xii)+.f_\Sigma(X)=\frac12\sum_{i\ne j}(X_{ij}-\Sigma_{ij})^2+ \frac12\sum_i(X_{ii}-\Sigma_{ii})_+^2, \qquad d_i=(\Sigma_{ii}-X_{ii})_+.fΣ​(X)=21​i=j∑​(Xij​−Σij​)2+21​i∑​(Xii​−Σii​)+2​,di​=(Σii​−Xii​)+​.

The sum over i≠ji\ne ji=j counts both (i,j)(i,j)(i,j) and (j,i)(j,i)(j,i). The statement preserves that convention instead of treating a symmetric matrix as a list of independent upper-triangular entries.

Exact projections for two nonconvex sets

The page 74 milestones say that retaining the min⁡(c,n)\min(c,n)min(c,n) entries of largest absolute value gives a nearest point in {x:card⁡(x)≤c}\{x:\operatorname{card}(x)\le c\}{x:card(x)≤c}, and that rounding every coordinate to a nearest element of {0,1}\{0,1\}{0,1} gives a nearest Boolean vector. They assert nearest-point status for ties without asserting uniqueness. These are chapter results on the same theme of exact nonconvex updates, although they are independent of the factor-model goal.

Factor-model X-update

The goal identifies the unique symmetric minimizer X+X^+X+ of the X-subproblem. With aij=Zij−Uija_{ij}=Z_{ij}-U_{ij}aij​=Zij​−Uij​, its off-diagonal and diagonal entries are

Xij+=Σij+ρaij1+ρ(i≠j),Xii+={Σii+ρaii1+ρ,Σii≤aii,aii,Σii>aii.X^+_{ij}=\frac{\Sigma_{ij}+\rho a_{ij}}{1+\rho}\quad(i\ne j),\qquad X^+_{ii}=\begin{cases} \dfrac{\Sigma_{ii}+\rho a_{ii}}{1+\rho},&\Sigma_{ii}\le a_{ii},\\ a_{ii},&\Sigma_{ii}>a_{ii}. \end{cases}Xij+​=1+ρΣij​+ρaij​​(i=j),Xii+​=⎩⎨⎧​1+ρΣii​+ρaii​​,aii​,​Σii​≤aii​,Σii​>aii​.​

The target asserts both the formula and global minimality over symmetric matrices. It does not replace minimality with a stationarity condition.

Significance

The exact X-update separates the matrix fit from the nonconvex rank projection. It establishes that the factor-model algorithm's X-step is a well-defined, single-valued minimization for every symmetric current state and every positive penalty. It also makes the one-sided diagonal loss explicit: a nonnegative diagonal can absorb a shortfall below Σii\Sigma_{ii}Σii​, but cannot absorb an excess. The two vector projections give similarly exact updates for sparse and Boolean constraint sets.

The mathematical claims are given in §9.1–9.1.2 of the published monograph; they are not open conjectures. The formalization work is to check the infimum, projection and unique-minimizer statements with every domain and tie convention explicit. The mission poses theorem statements for proofs; these draft statements themselves do not yet supply machine-checked proofs. A complete development can reuse its finite matrix loss and finite vector projection vocabulary in other splitting algorithms.

Difficulty

The diagonal partial minimization is one-sided, while the proximal penalty is symmetric around Z−UZ-UZ−U. An entrywise formula alone does not show that the assembled matrix minimizes the full objective or that it is the only minimizer. Symmetry also couples the two displayed off-diagonal positions (i,j)(i,j)(i,j) and (j,i)(j,i)(j,i), so a scalar statement on one entry must agree with its transpose. For sparse projection, ties at the cutoff make a rule phrased as “the projection” ambiguous. For Boolean projection, the midpoint is a tie and requires a declared convention. These issues are part of the theorem statements, not numerical implementation details.

Formalization scope

Matrices are Matrix (Fin n) (Fin n) ℝ; symmetry is an entrywise equality predicate. The factor-model statements assume n≥1n\ge1n≥1, symmetric Σ,Z,U\Sigma,Z,UΣ,Z,U, and ρ>0\rho>0ρ>0. The book uses Zk,UkZ^k,U^kZk,Uk at an iteration; the Lean theorem uses those current matrices as parameters and does not posit convergence of an ADMM sequence. The reduced loss is literally the infimum over all componentwise nonnegative ddd, and the Frobenius square is the finite sum of entry squares. The stated X-minimization ranges over all symmetric matrices, with no positive semidefinite or rank hypothesis on XXX.

For sparse vectors, the index set has size min⁡(c,n)\min(c,n)min(c,n) and its selected magnitudes dominate unselected ones. This covers c=0c=0c=0, c>nc>nc>n and cutoff ties. The Boolean rounding function chooses zero when an entry equals 1/21/21/2. The book uses indices 1,…,n1,\ldots,n1,…,n; Fin n uses 0,…,n−10,\ldots,n-10,…,n−1. On page 75 the printed diagonal branch conditions omit the superscript kkk on ZZZ and UUU; the formalization uses the current Z,UZ,UZ,U that appear in the surrounding ADMM update. The theorem requires the candidate to minimize the book's reduced loss, preventing an arbitrary replacement loss from making the statement trivial.

The development needs finite-sum algebra, real infima with an attained lower bound, symmetry of matrices, and nearest-point arguments for finite vectors. The rank-ccc singular-value projection on page 74 is already an open target elsewhere and is outside this mission. The positive semidefinite rank-kkk eigenvalue projection on page 76 is also outside this goal; it would require a separate spectral development. Contributions that prove the three milestones or the goal against these definitions are in scope. The page also mentions rounding under integer constraints; this mission selects the preceding Boolean claim as its projection milestone.

Selected references

  • Stephen Boyd, Neal Parikh, Eric Chu, Borja Peleato and Jonathan Eckstein, Distributed Optimization and Statistical Learning via the Alternating Direction Method of Multipliers, Foundations and Trends in Machine Learning 3(1), 2011, pp. 73–76, §§9.1–9.1.2. DOI: 10.1561/2200000016.
7 thms3 active usersReviewed
🏆Completed
Dynamic ProgrammingOperations Research·Captain: mikedeng1

Contraction Mappings in the Theory Underlying Dynamic Programming 2: Under N-Stage Contraction and Monotonicity the Optimal Return Is the Unique Fixed Point of the Maximization OperatorResearch Paper

Motivation

Infinite-horizon dynamic programs, including discounted Markov decision processes, stochastic games and semi-Markov models, are usually analysed through a single equation: the optimal return fff solves the optimality equation v=Avv = Avv=Av, where AAA maximizes the one-step return over decisions. Denardo's 1967 paper (SIAM Review 9(2), 165–177) separated the argument from the particular model. It isolated two properties of an abstract return hhh, contraction and monotonicity, and showed that the standard conclusions follow from them alone. The examples of §8 of the paper cover Howard's discounted model, Shapley's stochastic games and Blackwell's, Jewell's and Fox's models.

The plain contraction assumption (each one-step operator shrinks distances by a factor c<1c<1c<1) fails in models where the process stops only from a subset of states, or where discounting acts only after several transitions. §5 of the paper handles these with the N-stage contraction assumption: only NNN steps of a policy need to contract, while one step only needs to be nonexpansive. This mission formalizes that section. Its companion mission (part 1 of the series) formalizes the plain contraction case.

Timeline:

  • 1953: Shapley proves that the value of a discounted stochastic game is the fixed point of a contraction.
  • 1960: Howard introduces policy iteration for finite discounted Markov decision processes.
  • 1962–1965: Blackwell studies discrete and discounted dynamic programming, including the existence of optimal stationary policies.
  • 1967: Denardo, in this paper, states the contraction and monotonicity assumptions for an abstract return and proves Theorems 1–4.
  • 1977: Bertsekas, "Monotone mappings with application in dynamic programming", drops contraction and keeps only monotonicity.

Setting

Let Ω\OmegaΩ be a set of points. Each point xxx has a decision set DxD_xDx​. A policy δ\deltaδ picks a decision δx∈Dx\delta_x\in D_xδx​∈Dx​ at every point, so the policy space is Δ=×x∈ΩDx\Delta=\times_{x\in\Omega}D_xΔ=×x∈Ω​Dx​. Let VVV be the bounded real functions on Ω\OmegaΩ with the metric ρ(u,v)=sup⁡x∣u(x)−v(x)∣\rho(u,v)=\sup_x|u(x)-v(x)|ρ(u,v)=supx​∣u(x)−v(x)∣; VVV is complete. Write u≥vu\ge vu≥v when u(x)≥v(x)u(x)\ge v(x)u(x)≥v(x) for every xxx.

The return hhh assigns a real number h(x,dx,v)h(x,d_x,v)h(x,dx​,v) to each point xxx, decision dx∈Dxd_x\in D_xdx​∈Dx​ and v∈Vv\in Vv∈V. It defines two kinds of operators on VVV:

[Hδv](x)=h(x,δx,v),(Av)(x)=sup⁡dx∈Dxh(x,dx,v),[H_\delta v](x)=h(x,\delta_x,v),\qquad (Av)(x)=\sup_{d_x\in D_x}h(x,d_x,v),[Hδ​v](x)=h(x,δx​,v),(Av)(x)=dx​∈Dx​sup​h(x,dx​,v),

and both are assumed to map VVV into VVV. An operator BBB on VVV has modulus ccc or less when ρ(Bu,Bv)≤c ρ(u,v)\rho(Bu,Bv)\le c\,\rho(u,v)ρ(Bu,Bv)≤cρ(u,v) for all u,vu,vu,v.

  • Monotonicity assumption: if u≥vu\ge vu≥v then Hδu≥HδvH_\delta u\ge H_\delta vHδ​u≥Hδ​v for every δ\deltaδ.
  • N-stage contraction assumption: for a positive integer NNN and a number c<1c<1c<1, both independent of δ\deltaδ, every HδNH_\delta^NHδN​ has modulus ccc or less and every HδH_\deltaHδ​ has modulus 111 or less.

Under these assumptions HδNH_\delta^NHδN​ is a contraction, so it has a unique fixed point vδv_\deltavδ​, the return function of δ\deltaδ. The optimal return is f(x)=sup⁡δvδ(x)f(x)=\sup_\delta v_\delta(x)f(x)=supδ​vδ​(x). The auxiliary operator EEE is (Ev)(x)=sup⁡δ(HδNv)(x)(Ev)(x)=\sup_\delta(H_\delta^Nv)(x)(Ev)(x)=supδ​(HδN​v)(x).

Formalization targets

Goal: Theorem 4 (p. 169)

Under the monotonicity and N-stage contraction assumptions:

(a) Hδvδ=vδ and vδ is the only fixed point of Hδ;(b) ρ(vδ,v)≤ρ(Hδv,v) N1−c;\text{(a) } H_\delta v_\delta=v_\delta \text{ and } v_\delta \text{ is the only fixed point of } H_\delta;\qquad \text{(b) } \rho(v_\delta,v)\le\frac{\rho(H_\delta v,v)\,N}{1-c};(a) Hδ​vδ​=vδ​ and vδ​ is the only fixed point of Hδ​;(b) ρ(vδ​,v)≤1−cρ(Hδ​v,v)N​; (c) E has modulus c or less;(d) f∈V, Ef=f, Af=f,  and f is the only fixed point of E and of A;\text{(c) } E \text{ has modulus } c \text{ or less};\qquad \text{(d) } f\in V,\ Ef=f,\ Af=f,\ \text{ and } f \text{ is the only fixed point of } E \text{ and of } A;(c) E has modulus c or less;(d) f∈V, Ef=f, Af=f,  and f is the only fixed point of E and of A; (e) v≤f ⟹ ρ(ANv,f)≤c ρ(v,f).\text{(e) } v\le f\ \Longrightarrow\ \rho(A^Nv,f)\le c\,\rho(v,f).(e) v≤f ⟹ ρ(ANv,f)≤cρ(v,f).

Milestones

  1. The observation at the end of §3 (p. 168): if every operator in a nonempty family has modulus ccc or less, then their pointwise supremum has modulus ccc or less, provided it maps VVV into VVV.
  2. Lemma 1 (p. 168): under monotonicity, AAA is monotone; Av≥vAv\ge vAv≥v implies that AnvA^nvAnv is nondecreasing in nnn; Hδv≥vH_\delta v\ge vHδ​v≥v implies that HδnvH_\delta^nvHδn​v is nondecreasing in nnn.
  3. Theorem 4 (a)–(c), the part the paper proves in the text of §5 before stating the theorem. This milestone also includes the existence of EEE as an operator on VVV and f∈Vf\in Vf∈V.
  4. Lemma 2 (p. 169): Av≤vAv\le vAv≤v implies v≥fv\ge fv≥f, and Av≥vAv\ge vAv≥v implies v≤fv\le fv≤f; Avδ≥vδAv_\delta\ge v_\deltaAvδ​≥vδ​; Hδv≥vH_\delta v\ge vHδ​v≥v implies vδ≥Hδvv_\delta\ge H_\delta vvδ​≥Hδ​v.

The mission also contains two consequences that are not milestones: fff is optimal for the mathematical programs min⁡v\min vminv s.t. Av≤vAv\le vAv≤v and max⁡v\max vmaxv s.t. Av≥vAv\ge vAv≥v (§6, p. 171), and a policy is optimal exactly when it attains f(x)=h(x,δx,f)f(x)=h(x,\delta_x,f)f(x)=h(x,δx​,f) at every point (§7, p. 173).

Significance

Theorem 4 lets models whose one-step operators are not contractions use the contraction-mapping theory of dynamic programming. Under its hypotheses the optimality equation v=Avv=Avv=Av has exactly one bounded solution, and that solution is the optimal return. Successive approximation converges geometrically from below (part (e)). Lemma 2 shows that fff is the least vvv with Av≤vAv\le vAv≤v and the greatest vvv with Av≥vAv\ge vAv≥v. This gives the linear-programming formulation of finite Markov decision processes (Program I) and the policy-improvement argument of §6. The characterization Δ∗=Δ+\Delta^*=\Delta^+Δ∗=Δ+ reduces the search for optimal policies to the decisions that attain the maximum in the optimality equation.

The results are proved in the paper. The work of this mission is to formalize them, in the abstract form that Mathlib does not have: monotone operators on bounded functions that are contractive only after NNN steps, with suprema taken over arbitrary, possibly infinite, decision and policy sets. No machine-checked proof of Theorem 4 or of Lemma 2 is known. The closest formal statements, Propositions 4.1–4.2 of Bertsekas and Shreve under their Assumption C, concern a different model (extended-real costs, nonstationary policies) and are themselves unproved formally.

Difficulty

The obvious argument would apply the Banach fixed-point theorem to AAA. That does not work: under the N-stage assumption, ANA^NAN need not be a contraction. The paper gives an example (p. 170) with N=2N=2N=2, c=12c=\tfrac12c=21​, where AnA^nAn has modulus 111 for every nnn. The supremum over decisions does not commute with composition, so the contraction of each HδNH_\delta^NHδN​ says nothing directly about ANA^NAN. The paper therefore works through the auxiliary operator EEE, which is a contraction. The hard step is to show that fff, the supremum of the policy returns, is a fixed point of AAA. This is the second half of Lemma 2(a), an ε\varepsilonε-argument that uses both monotonicity and the modulus-111 bound on HδH_\deltaHδ​.

Part (e) holds only for v≤fv\le fv≤f. It is not a contraction property of ANA^NAN on all of VVV.

Formalization scope

  • VVV is lp (fun _ : Ω => ℝ) ⊤ (as BFun Ω), and its dist is ρ\rhoρ. The order is pointwise (PLe).
  • HHH, AAA and EEE are given as functions V→VV\to VV→V, which is the paper's "range contained in VVV". They are tied to hhh by IsPolicyOperator, IsMaxOperator and IsNStageSupOperator. Every supremum, including fff (IsOptimalReturn), is a genuine least upper bound (IsLUB). sSup/⨆ are never used, so no junk value can make a statement trivial.
  • "Modulus ccc or less" is the inequality ModulusLE B c. NStageContractionAssumption H N c holds 0<N0<N0<N, c<1c<1c<1, ModulusLE (H δ)^[N] c and ModulusLE (H δ) 1, with NNN and ccc independent of δ\deltaδ.
  • The return functions are a family v with HδNvδ=vδH_\delta^Nv_\delta=v_\deltaHδN​vδ​=vδ​, the paper's §5 definition. Hδvδ=vδH_\delta v_\delta=v_\deltaHδ​vδ​=vδ​ is the conclusion (a), never a hypothesis.
  • In the goal, EEE is an operator with IsNStageSupOperator H N E. The milestone Theorem 4 (a)–(c) proves that such an operator exists. fff is never defined as a fixed point of AAA or EEE. The goal asserts that the pointwise least upper bound of {vδ(x)}\{v_\delta(x)\}{vδ​(x)} exists in VVV and is the unique fixed point of both.
  • The trivializing formalizations are ruled out explicitly: assuming Hδvδ=vδH_\delta v_\delta=v_\deltaHδ​vδ​=vδ​, defining fff as AAA's fixed point, or dropping v≤fv\le fv≤f from (e) would each change the theorem.

A complete development needs the Banach fixed-point theorem for iterates (Mathlib's ContractingWith, applied to HδNH_\delta^NHδN​), suprema of families of real numbers, and induction on iterates. The §3 observation and Lemma 1 are reusable for any monotone operator family on bounded functions. Contributions to every milestone and to the two §6–§7 consequences are welcome.

Selected references

  • E. V. Denardo, Contraction Mappings in the Theory Underlying Dynamic Programming, SIAM Review 9(2) (1967) 165–177. https://doi.org/10.1137/1009030
  • L. S. Shapley, Stochastic Games, Proc. Nat. Acad. Sci. 39 (1953) 1095–1100. https://doi.org/10.1073/pnas.39.10.1095
  • R. A. Howard, Dynamic Programming and Markov Processes, MIT Press, 1960.
  • D. Blackwell, Discounted Dynamic Programming, Ann. Math. Statist. 36 (1965) 226–235. https://doi.org/10.1214/aoms/1177700285
  • D. P. Bertsekas, Monotone Mappings with Application in Dynamic Programming, SIAM J. Control Optim. 15(3) (1977) 438–464. https://doi.org/10.1137/0315031
7 thms3 active usersReviewed
🏆Completed
Dynamic ProgrammingOperations ResearchProbability·Captain: mikedeng1

Coordinating Inventory Control and Pricing Strategies with Random Demand and Fixed Ordering Cost: The Finite Horizon Case 2: General Demand: Sym-k-Concave Profit-to-Go, Optimal (s, S, A, p) PolicyResearch Paper

Motivation

A seller with replenishable inventory must decide how much to order and what price to charge before demand is known. A price that increases current revenue can also change the inventory left for later periods; a fixed charge for placing any positive order adds a discontinuity to the decision. Chen and Simchi-Levi study this coordination problem over a finite horizon with backlogging and random, price-dependent demand. Their general-demand result characterizes an optimal order-and-price policy even when a conventional two-threshold ordering rule can fail. The paper gives explicit counterexamples to ordinary kkk-concavity and to optimality of a standard (s,S,p)(s,S,p)(s,S,p) policy in this setting (Chen and Simchi-Levi, 2004, §4, Lemmas 3–4).

Setting

There are periods t=1,…,Tt=1,\ldots,Tt=1,…,T. At the start of period ttt, the firm has inventory xxx, which may be negative because unmet demand is backlogged. It may order to any level y≥xy\ge xy≥x. If y>xy>xy>x, it pays a fixed ordering cost kkk as well as a variable cost ct(y−x)c_t(y-x)ct​(y−x). After ordering it chooses an expected demand level ddd in a closed interval [d‾t,d‾t][\underline d_t,\overline d_t][d​t​,dt​]. The corresponding price is Pt(d)P_t(d)Pt​(d), the inverse of the period's decreasing demand curve, and expected revenue is Rt(d)=dPt(d)R_t(d)=dP_t(d)Rt​(d)=dPt​(d).

Actual demand is αtd+βt\alpha_t d+\beta_tαt​d+βt​. The random pair (αt,βt)(\alpha_t,\beta_t)(αt​,βt​) has a period-dependent law μt\mu_tμt​, with E[αt]=1\mathbb E[\alpha_t]=1E[αt​]=1 and E[βt]=0\mathbb E[\beta_t]=0E[βt​]=0. No sign restriction is placed on αt\alpha_tαt​ in the paper's general model. The inventory after demand is y−αtd−βty-\alpha_t d-\beta_ty−αt​d−βt​, incurring a convex holding or backlog cost hth_tht​ and entering the next period. The paper assumes the random perturbations are independent across periods. Its Bellman equation uses their individual period laws (Chen and Simchi-Levi, 2004, §2, Assumptions 1–5).

The profit-to-go vt(x)v_t(x)vt​(x) starts with vT+1(x)=0v_{T+1}(x)=0vT+1​(x)=0. For a post-order inventory yyy and expected demand ddd, write

gt(y,d)=Rt(d)−cty+E[−ht(y−αtd−βt)+vt+1(y−αtd−βt)].g_t(y,d)=R_t(d)-c_ty+\mathbb E[-h_t(y-\alpha_t d-\beta_t)+v_{t+1}(y-\alpha_t d-\beta_t)].gt​(y,d)=Rt​(d)−ct​y+E[−ht​(y−αt​d−βt​)+vt+1​(y−αt​d−βt​)].

The firm maximizes gt(y,d)g_t(y,d)gt​(y,d) over admissible ddd and then maximizes the resulting value, less the fixed ordering charge, over y≥xy\ge xy≥x. This defines vt(x)v_t(x)vt​(x) by equation (2) of the paper. A symmetrically kkk-convex real function fff satisfies

f((1−λ)x0+λx1)≤(1−λ)f(x0)+λf(x1)+max⁡{λ,1−λ}kf((1-\lambda)x_0+\lambda x_1)\le(1-\lambda)f(x_0)+\lambda f(x_1)+\max\{\lambda,1-\lambda\}kf((1−λ)x0​+λx1​)≤(1−λ)f(x0​)+λf(x1​)+max{λ,1−λ}k

for every x0,x1∈Rx_0,x_1\in\mathbb Rx0​,x1​∈R and λ∈[0,1]\lambda\in[0,1]λ∈[0,1]. A function is symmetrically kkk-concave when its negative is symmetrically kkk-convex. This is Definition 4.1, equation (8), and preserves the symmetry between the two endpoint inventories (Chen and Simchi-Levi, 2004, p. 891).

Formalization targets

The goal is Theorem 4.1(c)–(d). If Gt(y)=max⁡d∈[d‾t,d‾t]gt(y,d)G_t(y)=\max_{d\in[\underline d_t,\overline d_t]}g_t(y,d)Gt​(y)=maxd∈[d​t​,dt​]​gt​(y,d), then for every period

Gt and vt are symmetrically k-concave.G_t\text{ and }v_t\text{ are symmetrically }k\text{-concave}.Gt​ and vt​ are symmetrically k-concave.

There are thresholds st≤Sts_t\le S_tst​≤St​ and a possibly empty set At⊆[st,(st+St)/2]A_t\subseteq[s_t,(s_t+S_t)/2]At​⊆[st​,(st​+St​)/2]. An optimal policy orders to StS_tSt​ if x<stx<s_tx<st​ or x∈Atx\in A_tx∈At​, and places no order otherwise. It chooses the maximizing expected demand for the resulting post-order level. In particular, all states that order to StS_tSt​ can use the same demand level dt(St)d_t(S_t)dt​(St​) and hence the same price Pt(dt(St))P_t(d_t(S_t))Pt​(dt​(St​)).

The milestones state the preceding polynomial growth and continuity assertions from Theorem 4.1(a)–(b), the threshold structure of Lemma 5(d), and the named steps in the proof on p. 892. The link from the paper's earlier kkk-convexity to symmetric kkk-convexity is also included. These targets preserve the paper's general demand law rather than restricting it to the additive case.

Significance

The theorem describes an optimal decision at every inventory level under random price-dependent demand. The exceptional set AtA_tAt​ records states where ordering to StS_tSt​ is optimal inside the interval where a single reorder threshold need not describe all optimal actions. Thus the result retains a concise policy description while allowing the behavior exhibited by the paper's counterexamples (Chen and Simchi-Levi, 2004, §4).

Formalizing the result requires a reusable account of symmetric kkk-convexity, a fixed-cost ordering envelope, and a finite-horizon Bellman recursion with real-valued expectations. The source proves Theorem 4.1 on paper. This mission poses its statements as Lean goals; the theorem files currently contain sorry and therefore are not machine-checked proofs. The published platform definition BertsekasKConvex supplies the earlier notion from Definition 2.1, so the bridge to Definition 4.1 can be stated without duplicating it.

Difficulty

In the additive-demand case, a maximizing expected-demand choice can be selected so that post-demand inventory changes monotonically with the initial inventory. For general demand αtd+βt\alpha_t d+\beta_tαt​d+βt​, that monotonicity can fail: the random multiplier changes how a pricing choice moves the next inventory state. The earlier ordered-chord kkk-concavity argument therefore does not carry over unchanged. A second issue is the fixed ordering charge. It creates ties between ordering and not ordering, so the policy region can include isolated or noninterval states within [st,(st+St)/2][s_t,(s_t+S_t)/2][st​,(st​+St​)/2]. The statement must assert Bellman optimality at every xxx, including those ties, rather than only the geometry of AtA_tAt​ (Chen and Simchi-Levi, 2004, pp. 891–892).

Formalization scope

The Lean model uses expected demand ddd as the decision variable and obtains price from Pt(d)P_t(d)Pt​(d), matching the paper's reformulation after Assumption 5. The admissible demand interval is nonempty. Periods are natural numbers 1,…,T1,\ldots,T1,…,T, with T>0T>0T>0 and terminal value vT+1=0v_{T+1}=0vT+1​=0. Random demand is integrated against a probability measure on R×R\mathbb R\times\mathbb RR×R. The first moments and the paper's demand moment condition are explicit; holding-cost and continuation integrability prevent a nonintegrable real integral from acquiring Lean's default zero value. The paper's O(∣y∣ρ)O(|y|^\rho)O(∣y∣ρ) statements are encoded by constants multiplying 1+∣y∣ρ1+|y|^\rho1+∣y∣ρ.

The formal assumptions include k≥0k\ge0k≥0 and ct≥0c_t\ge0ct​≥0, and set cT+1=0c_{T+1}=0cT+1​=0 where the paper's Assumption 3 uses that otherwise undefined terminal coefficient. The latter two restrictions make the printed finite-horizon claim valid under its cost interpretation; they are stated rather than silently supplied. The paper assumes temporal independence, while the formal Bellman recursion starts from the marginal laws and so needs no separate joint process. The paper's (y,p)(y,p)(y,p) in Theorem 4.1(b) is expressed as (y,d)(y,d)(y,d) through the continuous one-to-one price–expected-demand correspondence. The model places no positivity condition on αt\alpha_tαt​.

The optimized demand value and ordering value are real suprema. The statements include maximizing choices and Bellman attainment; a proof cannot rely on a default value for an empty or unbounded supremum. The goal requires an actual optimal action for every inventory state. Contributions that establish integrability, continuity, coercivity, symmetric convexity preservation, or the ordering-envelope structure are useful beyond this mission.

Selected references

  • Xin Chen and David Simchi-Levi, Coordinating Inventory Control and Pricing Strategies with Random Demand and Fixed Ordering Cost: The Finite Horizon Case, Operations Research 52(6), 887–896, 2004. DOI: 10.1287/opre.1040.0127.
12 thms3 active usersReviewed
🏆Completed
Convex OptimizationOperations ResearchProbability·Captain: mikedeng1

The Exact Feasibility of Randomized Solutions of Uncertain Convex Programs: Fully-Supported Problems Attain the Binomial Violation Tail ExactlyResearch Paper

Motivation

Many design problems in control, finance and engineering are convex programs whose constraints depend on an uncertain parameter δ\deltaδ: a solution must satisfy x∈Xδx\in\mathcal X_\deltax∈Xδ​ for every δ\deltaδ in a possibly infinite set Δ\DeltaΔ. Enforcing all constraints (robust optimization) is often intractable or overly conservative. The scenario approach draws NNN independent samples of δ\deltaδ, solves the convex program with those NNN constraints only, and asks how likely it is that the resulting solution violates a fresh constraint. The question matters wherever a randomized design is certified by a confidence statement, from robust control to chance-constrained portfolio selection.

Timeline.

  • Calafiore and Campi (Math. Program. 2005; IEEE TAC 2006) introduced the method and bounded the probability that the violation exceeds ε\varepsilonε by a quantity of order (Nd)(1−ε)N−d\binom Nd(1-\varepsilon)^{N-d}(dN​)(1−ε)N−d. The bound is valid but loose.
  • Campi and Garatti (SIAM J. Optim. 2008, this mission's source) proved the bound ∑i=0d−1(Ni)εi(1−ε)N−i\sum_{i=0}^{d-1}\binom Ni\varepsilon^i(1-\varepsilon)^{N-i}∑i=0d−1​(iN​)εi(1−ε)N−i for every convex problem satisfying existence and uniqueness of solutions. They showed it is attained with equality by every fully-supported problem, so it cannot be improved without further assumptions.
  • Later work extended the result to non-unique solutions, constraint removal, and non-convex decisions (Campi and Garatti, Introduction to the Scenario Approach, SIAM 2018).

Setting

Let (Δ,D,P)(\Delta,\mathcal D,\mathbb P)(Δ,D,P) be a probability space, c∈Rdc\in\mathbb R^dc∈Rd with d≥1d\ge1d≥1, and let X⊆Rd\mathcal X\subseteq\mathbb R^dX⊆Rd and Xδ⊆Rd\mathcal X_\delta\subseteq\mathbb R^dXδ​⊆Rd (δ∈Δ\delta\in\Deltaδ∈Δ) be convex closed sets. The violation probability of a point xxx is

V(x)=P{δ∈Δ: x∉Xδ}.V(x)=\mathbb P\{\delta\in\Delta:\ x\notin\mathcal X_\delta\}.V(x)=P{δ∈Δ: x∈/Xδ​}.

For a multi-extraction (δ(1),…,δ(m))∈Δm(\delta^{(1)},\dots,\delta^{(m)})\in\Delta^m(δ(1),…,δ(m))∈Δm, the program PmP_mPm​ minimises c⊤xc^\top xc⊤x over x∈X∩⋂i=1mXδ(i)x\in\mathcal X\cap\bigcap_{i=1}^m\mathcal X_{\delta^{(i)}}x∈X∩⋂i=1m​Xδ(i)​. It is assumed that every PmP_mPm​ has a unique solution xm∗x^*_mxm∗​. A constraint δ(r)\delta^{(r)}δ(r) is a support constraint of PmP_mPm​ if its removal changes the solution. A convex PmP_mPm​ has at most ddd support constraints (Proposition 2.2). The problem is fully-supported if, for every m≥dm\ge dm≥d, the program PmP_mPm​ built from mmm independent samples has exactly ddd support constraints with Pm\mathbb P^mPm-probability one.

Two further objects carry the argument. For I⊆{1,…,m}\mathcal I\subseteq\{1,\dots,m\}I⊆{1,…,m} of cardinality ddd, SIS_{\mathcal I}SI​ is the set of multi-extractions whose support constraints have exactly the indexes in I\mathcal II. The violation law is

F(α)=Pd{V(xd∗)≤α},F(\alpha)=\mathbb P^d\{V(x^*_d)\le\alpha\},F(α)=Pd{V(xd∗​)≤α},

the distribution of the violation of the solution built from ddd samples.

Formalization targets

Goal: Theorem 2.4, equation (2.3)

For a fully-supported problem, every N≥dN\ge dN≥d and every ε∈[0,1]\varepsilon\in[0,1]ε∈[0,1],

PN{V(xN∗)>ε}=∑i=0d−1(Ni)εi(1−ε)N−i.\mathbb P^N\{V(x^*_N)>\varepsilon\}=\sum_{i=0}^{d-1}\binom Ni\varepsilon^i(1-\varepsilon)^{N-i}.PN{V(xN∗​)>ε}=i=0∑d−1​(iN​)εi(1−ε)N−i.

Milestones (PART 1 of §3)

  • Proposition 2.2: at most ddd support constraints.
  • SIˉ⊆S~IˉS_{\bar{\mathcal I}}\subseteq\widetilde S_{\bar{\mathcal I}}SIˉ​⊆SIˉ​ for Iˉ={1,…,d}\bar{\mathcal I}=\{1,\dots,d\}Iˉ={1,…,d}, where S~Iˉ\widetilde S_{\bar{\mathcal I}}SIˉ​ is the set where δ(d+1),…,δ(m)\delta^{(d+1)},\dots,\delta^{(m)}δ(d+1),…,δ(m) are not violated by the solution generated by δ(1),…,δ(d)\delta^{(1)},\dots,\delta^{(d)}δ(1),…,δ(d); and S~Iˉ⊆SIˉ\widetilde S_{\bar{\mathcal I}}\subseteq S_{\bar{\mathcal I}}SIˉ​⊆SIˉ​ up to a probability-zero set.
  • (3.3): Pm{SI}=∫01(1−α)m−dF(dα)\mathbb P^m\{S_{\mathcal I}\}=\int_0^1(1-\alpha)^{m-d}F(\mathrm d\alpha)Pm{SI​}=∫01​(1−α)m−dF(dα) for every I\mathcal II of cardinality ddd.
  • (3.4): (md)∫01(1−α)m−dF(dα)=1\binom md\int_0^1(1-\alpha)^{m-d}F(\mathrm d\alpha)=1(dm​)∫01​(1−α)m−dF(dα)=1 for all m≥dm\ge dm≥d.
  • Moment uniqueness: F(α)=αdF(\alpha)=\alpha^dF(α)=αd is the only distribution on [0,1][0,1][0,1] satisfying (3.4).
  • (3.2): F(α)=αdF(\alpha)=\alpha^dF(α)=αd.
  • Partition chain: PN{V(xN∗)>ε}=(Nd)∫(ε,1](1−α)N−dF(dα)\mathbb P^N\{V(x^*_N)>\varepsilon\}=\binom Nd\int_{(\varepsilon,1]}(1-\alpha)^{N-d}F(\mathrm d\alpha)PN{V(xN∗​)>ε}=(dN​)∫(ε,1]​(1−α)N−dF(dα).
  • Integration by parts: (Nd)∫ε1(1−α)N−d d αd−1 dα=∑i=0d−1(Ni)εi(1−ε)N−i\binom Nd\int_\varepsilon^1(1-\alpha)^{N-d}\,d\,\alpha^{d-1}\,\mathrm d\alpha=\sum_{i=0}^{d-1}\binom Ni\varepsilon^i(1-\varepsilon)^{N-i}(dN​)∫ε1​(1−α)N−ddαd−1dα=∑i=0d−1​(iN​)εi(1−ε)N−i.

Significance

The result. Equation (2.3) shows that the scenario bound (2.2) is tight: no bound that depends only on NNN, ddd and ε\varepsilonε can be smaller, because a fully-supported problem attains it. The distribution of V(xN∗)V(x^*_N)V(xN∗​) is then a Beta law, PN{V(xN∗)≤ε}\mathbb P^N\{V(x^*_N)\le\varepsilon\}PN{V(xN∗​)≤ε} being the probability that a Binomial(N,ε)\mathrm{Binomial}(N,\varepsilon)Binomial(N,ε) variable is at least ddd, the same for every fully-supported problem. This is what fixes the sample sizes used in practice: NNN is chosen so that the binomial tail is below a confidence level β\betaβ. Fact (3.2), that V(xd∗)V(x^*_d)V(xd∗​) has distribution function αd\alpha^dαd whatever the problem, is a distribution-free statement of independent interest.

Formalizing it. The result is proved in the source. As far as is known it has no machine-checked proof. The goal statement is already posed on the platform, and this mission supplies the paper's proof structure as milestones. Two milestones are reusable outside the scenario approach: the uniqueness of a distribution on [0,1][0,1][0,1] given the moments ∫(1−α)k dF=1/(d+kd)\int(1-\alpha)^k\,\mathrm dF=1/\binom{d+k}d∫(1−α)kdF=1/(dd+k​), and the incomplete-beta identity for binomial tails.

Difficulty

The obvious route would compute the law of V(xN∗)V(x^*_N)V(xN∗​) directly, but it depends on the geometry of the constraints. The paper never computes it. It obtains the law of V(xd∗)V(x^*_d)V(xd∗​) only implicitly, through the infinite family of identities (3.4), and recovers it by a uniqueness theorem for moment problems. Two points need care. First, full support holds only almost surely: duplicated samples, for instance, produce programs with fewer than ddd support constraints, so every set identity holds only up to null sets. Second, the claim that removing a non-support constraint keeps the first ddd constraints as the only support constraints uses Proposition 2.2. Two identical non-support constraints show that a constraint can become a support constraint after another is removed, unless the count is bounded by ddd.

Formalization scope

Goal. The goal is the already-posed platform statement ScenarioApproach.Generalization.violation_tail_eq_binomial_sum_of_fullySupported (theorem id cffaa932-832c-42ca-9e81-1848ffab7e34), referenced as it stands and not restated. Proposition 2.2 is the platform statement card_support_constraints_le_dim (f70e8aa3-…). This mission adds the PART 1 steps as milestones under ScenarioExact.PartOne.

Representation. Decisions are vectors in EuclideanSpace ℝ (Fin d). A multi-extraction is ω : Fin m → Δ, with 0-based indexes, so Iˉ\bar{\mathcal I}Iˉ is {i:i<d}\{i : i<d\}{i:i<d} and "δ(d+1),…,δ(m)\delta^{(d+1)},\dots,\delta^{(m)}δ(d+1),…,δ(m)" are the indexes j≥dj\ge dj≥d. Pm\mathbb P^mPm is Measure.pi (fun _ : Fin m => P). VVV, the feasible set, solutions, support constraints and full support are the published definitions violation, feasibleSet, IsSolution, IsSupportConstraint and FullySupported. A support constraint is one whose removal admits a feasible point of strictly smaller cost, which under uniqueness is the paper's "its removal changes the solution". Full support is almost sure, not pointwise.

Hypotheses made explicit. Assumption 1 is entered as existence and uniqueness of the solution for every number of constraints and every sample, together with a family of solution maps θs k, each assumed to solve PkP_kPk​ and to be measurable. Under uniqueness, θs N is the goal's solution map. The paper's "measurability ... is assumed for granted" (p. 4) is replaced by joint measurability of {(x,δ):x∈Xδ}\{(x,\delta):x\in\mathcal X_\delta\}{(x,δ):x∈Xδ​} and measurability of the solution maps, the same two hypotheses as the goal. No set SIS_{\mathcal I}SI​ is assumed measurable. The nonempty-interior clause of Assumption 1 is unused in PART 1 and is not assumed, so the milestones compose with the goal.

Conventions. FFF is the push-forward measure violationLaw on R\mathbb RR, with F(α)F(\alpha)F(α) = violationLaw … (Set.Iic α). Integrals against FFF are lower Lebesgue integrals of nonnegative integrands, as extended nonnegative reals: over [0,1][0,1][0,1] for ∫01\int_0^1∫01​, and over (ε,1](\varepsilon,1](ε,1] for ∫ε1\int_\varepsilon^1∫ε1​ in the partition chain, since that integral comes from the event V>εV>\varepsilonV>ε. The integration-by-parts identity is a real interval integral. Ranges are 1≤d1\le d1≤d, d≤md\le md≤m, d≤Nd\le Nd≤N and 0≤ε≤10\le\varepsilon\le10≤ε≤1.

Ruled out. A pointwise "exactly ddd support constraints for every sample" would be unsatisfiable for many problems (repeated samples) and would trivialise the probabilistic content, so it is not used. Assuming measurability of the event {V(xN∗)>ε}\{V(x^*_N)>\varepsilon\}{V(xN∗​)>ε} or of SIS_{\mathcal I}SI​, or the identity Pm{SI}=Pm{S~I}\mathbb P^m\{S_{\mathcal I}\}=\mathbb P^m\{\widetilde S_{\mathcal I}\}Pm{SI​}=Pm{SI​}, as a hypothesis would assume part of the conclusion, so none of these is a hypothesis.

Infrastructure. A complete development needs: the support-constraint count (Proposition 2.2, a Helly-type argument), invariance of product measures under coordinate permutations, the change-of-variables formula for push-forward measures, the Hausdorff moment uniqueness theorem on [0,1][0,1][0,1], and the binomial–incomplete-beta identity. The last two are general results, and contributions of them are welcome independently.

Selected references

  • M. C. Campi, S. Garatti, The exact feasibility of randomized solutions of uncertain convex programs, SIAM J. Optim. 19(3) (2008) 1211–1230. https://doi.org/10.1137/07069821X
  • G. Calafiore, M. C. Campi, Uncertain convex programs: randomized solutions and confidence levels, Math. Program. 102 (2005) 25–46. https://doi.org/10.1007/s10107-003-0499-y
  • G. Calafiore, M. C. Campi, The scenario approach to robust control design, IEEE Trans. Automat. Control 51(5) (2006) 742–753. https://doi.org/10.1109/TAC.2006.875041
  • M. C. Campi, S. Garatti, Introduction to the Scenario Approach, SIAM, 2018. https://doi.org/10.1137/1.9781611975444
  • A. N. Shiryaev, Probability, 2nd ed., Springer, 1996, Chapter II, §12. https://doi.org/10.1007/978-1-4757-2539-1
14 thms3 active usersReviewed
🏆Completed
CombinatoricsConvex OptimizationProbability·Captain: mikedeng1

Convex Optimization: Algorithms and Complexity XVII: Goemans–Williamson Rounding of the MAXCUT SDP Relaxation Has Expected Value at Least 0.878 Times the Maximum CutTextbook

Motivation

MAXCUT asks for a partition of the vertices of a weighted graph into two sets that maximizes the total weight of the edges between them. It is one of Karp's original NP-hard problems, so no polynomial-time exact algorithm is expected, and the natural question is how close a polynomial-time algorithm can come to the optimum. Sampling a uniformly random partition already achieves, in expectation, half of the optimal value. For two decades this factor 1/21/21/2 was essentially the best known.

Goemans and Williamson (J. ACM 42(6), 1995) replaced the combinatorial problem by a semidefinite relaxation, solvable in polynomial time by interior point methods, and rounded its solution with a random Gaussian hyperplane. They proved that the resulting cut has expected weight at least 0.8780.8780.878 times the maximum. The technique founded the use of semidefinite programming in approximation algorithms. Khot, Kindler, Mossel and O'Donnell (SIAM J. Comput. 37(1), 2007) showed that, assuming the Unique Games Conjecture, no polynomial-time algorithm achieves a better constant. Nesterov (Optim. Methods Softw. 9, 1998) extended the rounding analysis to maximizing any positive semidefinite quadratic form over the hypercube, with the constant 2/π2/\pi2/π.

This mission formalizes the presentation of these results in §6.6 of S. Bubeck, Convex Optimization: Algorithms and Complexity (arXiv:1405.4980v2), pp. 343–347.

Setting

Let n≥0n\ge 0n≥0 and let A∈Rn×nA\in\mathbb R^{n\times n}A∈Rn×n be a symmetric matrix with non-negative entries; Ai,jA_{i,j}Ai,j​ is the weight between points iii and jjj. The graph Laplacian is L=D−AL=D-AL=D−A, where DDD is the diagonal matrix with entries ∑j=1nAi,j\sum_{j=1}^n A_{i,j}∑j=1n​Ai,j​. For x∈{−1,1}nx\in\{-1,1\}^nx∈{−1,1}n the vector xxx encodes a partition, and MAXCUT is (6.7)

max⁡x∈{−1,1}nx⊤Lx.\max_{x\in\{-1,1\}^n} x^\top L x .x∈{−1,1}nmax​x⊤Lx.

Write ⟨M,X⟩=Tr⁡(M⊤X)\langle M,X\rangle=\operatorname{Tr}(M^\top X)⟨M,X⟩=Tr(M⊤X) for the Frobenius inner product and S+n\mathbb S^n_+S+n​ for the symmetric positive semidefinite matrices. Since x⊤Lx=⟨L,xx⊤⟩x^\top Lx=\langle L,xx^\top\ranglex⊤Lx=⟨L,xx⊤⟩ and xx⊤∈S+nxx^\top\in\mathbb S^n_+xx⊤∈S+n​ has unit diagonal, MAXCUT is bounded above by the SDP relaxation

max⁡{⟨L,X⟩:X∈S+n, Xi,i=1, i∈[n]}.\max\bigl\{\langle L,X\rangle : X\in\mathbb S^n_+,\ X_{i,i}=1,\ i\in[n]\bigr\}.max{⟨L,X⟩:X∈S+n​, Xi,i​=1, i∈[n]}.

A solution Σ\SigmaΣ of the relaxation is any feasible matrix attaining this maximum. The rounding draws ξ∼N(0,Σ)\xi\sim\mathcal N(0,\Sigma)ξ∼N(0,Σ), a centered Gaussian vector with covariance Σ\SigmaΣ, and outputs ζ=sign⁡(ξ)∈{−1,1}n\zeta=\operatorname{sign}(\xi)\in\{-1,1\}^nζ=sign(ξ)∈{−1,1}n coordinatewise.

Formalization targets

Goal: Theorem 6.11 (Goemans–Williamson)

For AAA symmetric with non-negative entries, L=D−AL=D-AL=D−A, Σ\SigmaΣ any solution of the relaxation, ξ∼N(0,Σ)\xi\sim\mathcal N(0,\Sigma)ξ∼N(0,Σ) and ζ=sign⁡(ξ)\zeta=\operatorname{sign}(\xi)ζ=sign(ξ):

E ζ⊤Lζ ≥ 0.878max⁡x∈{−1,1}nx⊤Lx.\mathbb E\,\zeta^\top L\zeta\ \ge\ 0.878\max_{x\in\{-1,1\}^n}x^\top Lx.Eζ⊤Lζ ≥ 0.878x∈{−1,1}nmax​x⊤Lx.

Milestones

  1. Bounded entries. If Σ∈S+n\Sigma\in\mathbb S^n_+Σ∈S+n​ and Σi,i=1\Sigma_{i,i}=1Σi,i​=1, then ∣Σi,j∣≤1|\Sigma_{i,j}|\le 1∣Σi,j​∣≤1 (remark in the proof of Lemma 6.12).
  2. Lemma 6.12 (Sheppard's formula). If ξ∼N(0,Σ)\xi\sim\mathcal N(0,\Sigma)ξ∼N(0,Σ) with Σi,i=1\Sigma_{i,i}=1Σi,i​=1 and ζ=sign⁡(ξ)\zeta=\operatorname{sign}(\xi)ζ=sign(ξ), then E ζiζj=2πarcsin⁡(Σi,j)\mathbb E\,\zeta_i\zeta_j=\frac{2}{\pi}\arcsin(\Sigma_{i,j})Eζi​ζj​=π2​arcsin(Σi,j​).
  3. Inequality (6.8). 1−2πarcsin⁡(t)≥0.878(1−t)1-\frac{2}{\pi}\arcsin(t)\ge 0.878(1-t)1−π2​arcsin(t)≥0.878(1−t) for all t∈[−1,1]t\in[-1,1]t∈[−1,1].
  4. Relaxation inequality. max⁡xx⊤Lx=max⁡x⟨L,xx⊤⟩≤⟨L,Σ⟩\max_{x}x^\top Lx=\max_x\langle L,xx^\top\rangle\le\langle L,\Sigma\ranglemaxx​x⊤Lx=maxx​⟨L,xx⊤⟩≤⟨L,Σ⟩ for every solution Σ\SigmaΣ.

The separately stated Laplacian identity on p. 346 is also included as a theorem item: if Xi,i=1X_{i,i}=1Xi,i​=1 for all iii, then ⟨L,X⟩=∑i,jAi,j(1−Xi,j)\langle L,X\rangle=\sum_{i,j}A_{i,j}(1-X_{i,j})⟨L,X⟩=∑i,j​Ai,j​(1−Xi,j​); for x∈{−1,1}nx\in\{-1,1\}^nx∈{−1,1}n, x⊤Lx=∑i,jAi,j(1−xixj)x^\top Lx=\sum_{i,j}A_{i,j}(1-x_ix_j)x⊤Lx=∑i,j​Ai,j​(1−xi​xj​).

Companion: Theorem 6.13 (Nesterov)

For B∈S+nB\in\mathbb S^n_+B∈S+n​, Σ\SigmaΣ a solution of max⁡{⟨B,X⟩:X∈S+n, Xi,i=1}\max\{\langle B,X\rangle : X\in\mathbb S^n_+,\ X_{i,i}=1\}max{⟨B,X⟩:X∈S+n​, Xi,i​=1}, ξ∼N(0,Σ)\xi\sim\mathcal N(0,\Sigma)ξ∼N(0,Σ) and ζ=sign⁡(ξ)\zeta=\operatorname{sign}(\xi)ζ=sign(ξ):

E ζ⊤Bζ ≥ 2πmax⁡x∈{−1,1}nx⊤Bx.\mathbb E\,\zeta^\top B\zeta\ \ge\ \frac{2}{\pi}\max_{x\in\{-1,1\}^n}x^\top Bx.Eζ⊤Bζ ≥ π2​x∈{−1,1}nmax​x⊤Bx.

Significance

The result. Theorem 6.11 is a polynomial-time randomized 0.8780.8780.878-approximation for MAXCUT: the relaxation is a semidefinite program, and sampling a Gaussian vector and taking signs is cheap. Repeated sampling turns the bound in expectation into a cut of value close to 0.8780.8780.878 times the optimum with high probability. The same scheme of relaxation followed by randomized rounding underlies approximation algorithms for MAX-2SAT, correlation clustering and quadratic programs over the hypercube, and Nesterov's Theorem 6.13 is the version for an arbitrary positive semidefinite objective.

Formalizing it. Both theorems were proved long ago. To our knowledge neither has a machine-checked proof in Mathlib. The platform has related statements from other books, in different forms: Grothendieck's identity for a standard Gaussian and two unit vectors, and the relaxation guarantee with a Grothendieck constant. This mission states the textbook's results for a Gaussian with a possibly singular covariance matrix, which is the form the rounding uses. A complete development needs Sheppard's formula for a degenerate bivariate Gaussian, an elementary but careful real-variable inequality, and a link between Mathlib's multivariate Gaussian and Gram factorizations of Σ\SigmaΣ. All three are reusable.

Difficulty

The algebra (the Laplacian identity and milestone 4) is routine. The probabilistic core is Lemma 6.12. The textbook argument reduces it to the probability that a uniformly random direction separates two unit vectors, which is "a quick picture" on paper. In Lean this requires showing that the pair (ξi,ξj)(\xi_i,\xi_j)(ξi​,ξj​) has the law of (⟨Vi,ε⟩,⟨Vj,ε⟩)(\langle V_i,\varepsilon\rangle,\langle V_j,\varepsilon\rangle)(⟨Vi​,ε⟩,⟨Vj​,ε⟩) for a standard Gaussian ε\varepsilonε, and then computing an angular measure in the plane, including the degenerate cases Σi,j=±1\Sigma_{i,j}=\pm1Σi,j​=±1, where the pair is supported on a line. A density-based argument fails there, because N(0,Σ)\mathcal N(0,\Sigma)N(0,Σ) has no density when Σ\SigmaΣ is singular, and singular solutions of the relaxation occur (for instance Σ=xx⊤\Sigma=xx^\topΣ=xx⊤). Inequality (6.8) is a statement about a transcendental function on a closed interval with a tight constant (0.8780.8780.878 against the true minimum ≈0.87856\approx0.87856≈0.87856), so crude estimates do not suffice near the minimizer t≈−0.689t\approx-0.689t≈−0.689.

Formalization scope

  • Matrices are Matrix (Fin n) (Fin n) ℝ, vectors Fin n → ℝ. S+n\mathbb S^n_+S+n​ is Matrix.PosSemidef, which includes symmetry, and ⟨M,X⟩\langle M,X\rangle⟨M,X⟩ is trace (Mᵀ * X).
  • N(0,Σ)\mathcal N(0,\Sigma)N(0,Σ) is Mathlib's ProbabilityTheory.multivariateGaussian 0 Σ on EuclideanSpace ℝ (Fin n), defined for every positive semidefinite Σ\SigmaΣ, singular ones included. Expectations are Bochner integrals against it, and each theorem also asserts integrability of its (bounded) integrand.
  • The sign is {−1,1}\{-1,1\}{−1,1}-valued: sign⁡(r)=1\operatorname{sign}(r)=1sign(r)=1 for r≥0r\ge0r≥0 and −1-1−1 for r<0r<0r<0. Mathlib's Real.sign would give sign⁡(0)=0\operatorname{sign}(0)=0sign(0)=0, which takes ζ\zetaζ out of {−1,1}n\{-1,1\}^n{−1,1}n; the two agree almost surely because Σi,i=1\Sigma_{i,i}=1Σi,i​=1.
  • The maximum over the hypercube is a finite maximum (Finset.sup') over the 2n2^n2n Boolean vectors read as ±1\pm1±1 vectors, so it is never a junk value. "The solution" of the relaxation means any maximizer, and maximizers exist since the feasible set is compact and contains the identity.
  • Standing hypotheses: in Theorem 6.11, AAA symmetric with non-negative entries (the book's MAXCUT setting); in Lemma 6.12, Σ\SigmaΣ positive semidefinite (implicit in "ξ∼N(0,Σ)\xi\sim\mathcal N(0,\Sigma)ξ∼N(0,Σ)"); in Theorem 6.13, BBB positive semidefinite. The identities of milestones 4 and 5 hold for every real matrix AAA and are stated without hypotheses on AAA.
  • Ruled out: tying ξ\xiξ's law to anything other than Σ\SigmaΣ, or dropping optimality of Σ\SigmaΣ, would make the goal false or vacuous; here the law is exactly N(0,Σ)\mathcal N(0,\Sigma)N(0,Σ) and Σ\SigmaΣ is a maximizer.
  • Welcome contributions: Sheppard's formula in Mathlib's multivariate Gaussian language, a proof of (6.8), and the Schur product theorem (A,B⪰0⇒A∘B⪰0A,B\succeq0\Rightarrow A\circ B\succeq0A,B⪰0⇒A∘B⪰0) used in Theorem 6.13.

Selected references

  • S. Bubeck, Convex Optimization: Algorithms and Complexity, Foundations and Trends in Machine Learning 8(3–4):231–358, 2015. arXiv:1405.4980v2
  • M. X. Goemans, D. P. Williamson, Improved approximation algorithms for maximum cut and satisfiability problems using semidefinite programming, J. ACM 42(6):1115–1145, 1995. doi:10.1145/227683.227684
  • Yu. Nesterov, Semidefinite relaxation and nonconvex quadratic optimization, Optim. Methods Softw. 9(1–3):141–160, 1998. doi:10.1080/10556789808805690
  • S. Khot, G. Kindler, E. Mossel, R. O'Donnell, Optimal inapproximability results for MAX-CUT and other 2-variable CSPs?, SIAM J. Comput. 37(1):319–357, 2007. doi:10.1137/S0097539705447372
  • W. F. Sheppard, On the application of the theory of error to cases of normal distribution and normal correlation, Phil. Trans. R. Soc. A 192:101–167, 1899. doi:10.1098/rsta.1899.0003
6 thms3 active usersReviewed
🏆Completed
Convex OptimizationMachine LearningProbability·Captain: mikedeng1

Convex Optimization: Algorithms and Complexity XVI: Random Coordinate Descent RCD(γ) on a Strongly Convex Coordinate-Smooth Function Has Rate (1 − 1/κ_γ)^tTextbook

Motivation

When a problem has millions of variables, even one full gradient can be too expensive to compute, while a single partial derivative ∂f/∂xi\partial f/\partial x_i∂f/∂xi​ is often cheap: in regularized regression, support vector machines and many structured problems, updating one coordinate costs a small fraction of a full gradient step. Coordinate descent methods exploit this by moving along one coordinate at a time. They are among the oldest optimization schemes and were for a long time analysed only for cyclic orders and only asymptotically.

Nesterov (2012) showed that choosing the coordinate at random, with probabilities depending on the coordinate-wise smoothness constants, gives global, non-asymptotic rates that can beat full gradient descent in total work. This mission formalizes that analysis as presented in §6.4 of S. Bubeck, Convex Optimization: Algorithms and Complexity (arXiv:1405.4980v2), pp. 338–342, and in particular its linear rate for strongly convex functions (Theorem 6.8).

Setting

Let f:Rn→Rf:\mathbb R^n\to\mathbb Rf:Rn→R be differentiable, write ∇if(x)=∂f∂xi(x)\nabla_i f(x)=\frac{\partial f}{\partial x_i}(x)∇i​f(x)=∂xi​∂f​(x) and let eie_iei​ be the iii-th standard basis vector. The function is directionally smooth with constants β1,…,βn>0\beta_1,\dots,\beta_n>0β1​,…,βn​>0 if

∣∇if(x+uei)−∇if(x)∣≤βi∣u∣for all i∈[n], x∈Rn, u∈R,|\nabla_i f(x+ue_i)-\nabla_i f(x)|\le\beta_i|u|\qquad\text{for all } i\in[n],\ x\in\mathbb R^n,\ u\in\mathbb R,∣∇i​f(x+uei​)−∇i​f(x)∣≤βi​∣u∣for all i∈[n], x∈Rn, u∈R,

equivalently, each one-variable restriction u↦f(x+uei)u\mapsto f(x+ue_i)u↦f(x+uei​) is βi\beta_iβi​-smooth.

For a real exponent ccc, the weighted norms are

∥x∥[c]=∑iβicxi2,∥x∥[c]∗=∑iβi−cxi2.\|x\|_{[c]}=\sqrt{\textstyle\sum_{i}\beta_i^{c}x_i^2},\qquad \|x\|^*_{[c]}=\sqrt{\textstyle\sum_{i}\beta_i^{-c}x_i^2}.∥x∥[c]​=∑i​βic​xi2​​,∥x∥[c]∗​=∑i​βi−c​xi2​​.

For α>0\alpha>0α>0, fff is α\alphaα-strongly convex w.r.t. a norm ∥⋅∥\|\cdot\|∥⋅∥ if f(x)−f(y)≤∇f(x)⊤(x−y)−α2∥x−y∥2f(x)-f(y)\le\nabla f(x)^\top(x-y)-\frac{\alpha}{2}\|x-y\|^2f(x)−f(y)≤∇f(x)⊤(x−y)−2α​∥x−y∥2 for all x,yx,yx,y. The point x∗x^*x∗ is a minimizer of fff.

For γ≥0\gamma\ge0γ≥0, RCD(γ\gammaγ) starts at x1∈Rnx_1\in\mathbb R^nx1​∈Rn and iterates

xs+1=xs−1βis∇isf(xs) eis,x_{s+1}=x_s-\frac{1}{\beta_{i_s}}\nabla_{i_s}f(x_s)\,e_{i_s},xs+1​=xs​−βis​​1​∇is​​f(xs​)eis​​,

where i1,i2,…i_1,i_2,\dotsi1​,i2​,… are drawn independently from pγ(i)=βiγ/∑jβjγp_\gamma(i)=\beta_i^\gamma/\sum_{j}\beta_j^\gammapγ​(i)=βiγ​/∑j​βjγ​. The case γ=0\gamma=0γ=0 is uniform sampling; γ=1\gamma=1γ=1 samples proportionally to βi\beta_iβi​.

Formalization targets

Goal: Theorem 6.8 (p. 341)

Let γ≥0\gamma\ge0γ≥0, let fff be α\alphaα-strongly convex w.r.t. ∥⋅∥[1−γ]\|\cdot\|_{[1-\gamma]}∥⋅∥[1−γ]​ and directionally smooth with constants βi\beta_iβi​, and let κγ=∑iβiγ/α\kappa_\gamma=\sum_i\beta_i^\gamma/\alphaκγ​=∑i​βiγ​/α. Then for every t≥0t\ge0t≥0

Ef(xt+1)−f(x∗)≤(1−1κγ)t(f(x1)−f(x∗)).\mathbb E f(x_{t+1})-f(x^*)\le\Big(1-\frac{1}{\kappa_\gamma}\Big)^t\big(f(x_1)-f(x^*)\big).Ef(xt+1​)−f(x∗)≤(1−κγ​1​)t(f(x1​)−f(x∗)).

Milestones

  1. Lemma 6.9 (p. 341): for fff α\alphaα-strongly convex w.r.t. any norm, f(x)−f(x∗)≤12α∥∇f(x)∥∗2f(x)-f(x^*)\le\frac{1}{2\alpha}\|\nabla f(x)\|_*^2f(x)−f(x∗)≤2α1​∥∇f(x)∥∗2​.
  2. One coordinate step (p. 340): f(x−1βi∇if(x)ei)−f(x)≤−12βi(∇if(x))2f\big(x-\frac{1}{\beta_i}\nabla_i f(x)e_i\big)-f(x)\le-\frac{1}{2\beta_i}(\nabla_i f(x))^2f(x−βi​1​∇i​f(x)ei​)−f(x)≤−2βi​1​(∇i​f(x))2.
  3. Expected decrease (p. 340): Eisf(xs+1)−f(xs)≤−12∑iβiγ(∥∇f(xs)∥[1−γ]∗)2\mathbb E_{i_s}f(x_{s+1})-f(x_s)\le-\frac{1}{2\sum_i\beta_i^\gamma}\big(\|\nabla f(x_s)\|^*_{[1-\gamma]}\big)^2Eis​​f(xs+1​)−f(xs​)≤−2∑i​βiγ​1​(∥∇f(xs​)∥[1−γ]∗​)2.
  4. Lemma 6.9 in the weighted norm (p. 342): (∥∇f(x)∥[1−γ]∗)2≥2α(f(x)−f(x∗))\big(\|\nabla f(x)\|^*_{[1-\gamma]}\big)^2\ge2\alpha(f(x)-f(x^*))(∥∇f(x)∥[1−γ]∗​)2≥2α(f(x)−f(x∗)).
  5. Contraction (pp. 341–342): one step multiplies the expected gap by at most 1−1/κγ1-1/\kappa_\gamma1−1/κγ​.

Companion: Theorem 6.7 (pp. 339–340)

For fff convex and directionally smooth, and t≥2t\ge2t≥2,

Ef(xt)−f(x∗)≤2R1−γ2(x1)∑iβiγt−1,R1−γ(x1)=sup⁡f(x)≤f(x1)∥x−x∗∥[1−γ].\mathbb E f(x_t)-f(x^*)\le\frac{2R_{1-\gamma}^2(x_1)\sum_i\beta_i^\gamma}{t-1},\qquad R_{1-\gamma}(x_1)=\sup_{f(x)\le f(x_1)}\|x-x^*\|_{[1-\gamma]}.Ef(xt​)−f(x∗)≤t−12R1−γ2​(x1​)∑i​βiγ​​,R1−γ​(x1​)=f(x)≤f(x1​)sup​∥x−x∗∥[1−γ]​.

Significance

Theorem 6.8 says random coordinate descent converges linearly, with a rate governed by ∑iβiγ/α\sum_i\beta_i^\gamma/\alpha∑i​βiγ​/α instead of the global smoothness constant. For γ=1\gamma=1γ=1, directional smoothness implies fff is β\betaβ-smooth with β≤∑iβi\beta\le\sum_i\beta_iβ≤∑i​βi​, so for functions whose global smoothness constant is of the order of ∑iβi\sum_i\beta_i∑i​βi​, RCD(1) attains the accuracy of gradient descent after the same number of iterations (book, p. 340, comparing Theorem 6.7 with Theorem 3.3), while each iteration touches a single coordinate. The same per-step inequalities underlie later accelerated and parallel coordinate methods.

These results are proved in the literature (Nesterov 2012; Bubeck 2015). Their contribution here is a machine-checked version. As far as a search of the Prove2Me catalogue shows, no coordinate descent rate of this kind has been formalized there; a Euclidean-norm special case of Lemma 6.9 exists on the platform as a separate result, but not the arbitrary-norm lemma or the weighted-norm instance used here.

Difficulty

The main obstacle is bookkeeping of the randomness: the per-step inequality holds for each fixed iterate, while the theorem is about the expectation over the whole sequence of draws i1,…,iti_1,\dots,i_ti1​,…,it​, so the pointwise contraction has to be passed through the tower of conditional expectations. In the strongly convex case this is linear and exact; for Theorem 6.7 the recursion on δs=Ef(xs)−f(x∗)\delta_s=\mathbb Ef(x_s)-f(x^*)δs​=Ef(xs​)−f(x∗) is quadratic, and since δs\delta_sδs​ is an expectation while the gradient norm at xsx_sxs​ is random, the pointwise inequality does not transfer to δs\delta_sδs​ verbatim. A second point is geometric: strong convexity, the dual norm and the sampling distribution must use matching weights (βi1−γ\beta_i^{1-\gamma}βi1−γ​ against βiγ\beta_i^{\gamma}βiγ​), and a mismatch silently changes the constant.

Formalization scope

  • Rn\mathbb R^nRn is EuclideanSpace ℝ (Fin n). The gradient is an explicit map ggg with HasGradientAt f (g x) x, so ∇if(x)=g(x)i\nabla_i f(x)=g(x)_i∇i​f(x)=g(x)i​. Lemma 6.9 is stated for a finite-dimensional real normed space with the Fréchet derivative and the operator norm as the dual norm.
  • Powers βic\beta_i^cβic​ are real powers. The theorems assume n≥1n\ge1n≥1, α>0\alpha>0α>0 and βi>0\beta_i>0βi​>0, which the book uses implicitly; γ≥0\gamma\ge0γ≥0 is the book's.
  • RCD(γ) is a deterministic function of the drawn coordinates, and the expectation over ttt independent draws from pγp_\gammapγ​ is the finite sum ∑(i1,…,it)∈[n]t∏spγ(is) F(i1,…,it)\sum_{(i_1,\dots,i_t)\in[n]^t}\prod_s p_\gamma(i_s)\,F(i_1,\dots,i_t)∑(i1​,…,it​)∈[n]t​∏s​pγ​(is​)F(i1​,…,it​). No measure theory or integrability conventions are involved.
  • The minimizer x∗x^*x∗ is assumed to exist, as the book does throughout; its uniqueness, which the book assumes "only for sake of notation", is not used.
  • In Theorem 6.7 the supremum R1−γ(x1)R_{1-\gamma}(x_1)R1−γ​(x1​) is passed as any real upper bound RRR on the sublevel set, which is equivalent when the supremum is finite and avoids Lean's value 000 for an unbounded supremum.
  • Directional smoothness is required at every xxx and uuu, and pγp_\gammapγ​ is fixed by the βi\beta_iβi​; neither is weakened to hold only along the iterates, which would change the theorem.

A complete development needs the one-dimensional descent lemma (3.5), weighted Cauchy–Schwarz for the dual pair ∥⋅∥[c],∥⋅∥[c]∗\|\cdot\|_{[c]},\|\cdot\|^*_{[c]}∥⋅∥[c]​,∥⋅∥[c]∗​, and a decomposition of the finite expectation over [n]t+1[n]^{t+1}[n]t+1 into the last draw and the first ttt. The weighted-norm and finite-expectation lemmas are reusable for other randomized coordinate and sampling methods. Proofs of the milestones and of either theorem are welcome.

Selected references

  • S. Bubeck, Convex Optimization: Algorithms and Complexity, Foundations and Trends in Machine Learning 8(3–4):231–358, 2015. arXiv:1405.4980v2, §6.4, pp. 338–342.
  • Yu. Nesterov, Efficiency of coordinate descent methods on huge-scale optimization problems, SIAM Journal on Optimization 22(2):341–362, 2012. doi:10.1137/100802001
  • P. Richtárik and M. Takáč, Parallel coordinate descent methods for big data optimization, Mathematical Programming 156:433–484, 2016. arXiv:1212.0873
7 thms3 active usersReviewed
🏆Completed
Convex OptimizationMachine LearningProbability·Captain: mikedeng1

Convex Optimization: Algorithms and Complexity XV: SVRG with η = 1/(10β) and k = 20κ Contracts the Expected Optimality Gap by 0.9 per EpochTextbook

Motivation

Many optimization problems in machine learning minimize an average of losses, one loss for each observation. A full gradient step examines every observation, while a stochastic gradient step examines one. The latter is cheaper per step, but its sampled gradient can remain noisy even near the optimum. Section 6.3 of Bubeck's monograph studies stochastic variance reduced gradient descent (SVRG), which periodically computes a full gradient at an anchor point and uses it to correct subsequent sampled gradients. The question for this mission is whether that correction gives a geometric reduction of the expected objective gap at the constants printed in Theorem 6.5.

Bubeck places this method alongside full gradient descent and stochastic gradient descent for finite sums. The section records that earlier stochastic average gradient and dual coordinate ascent methods attain a gradient-computation cost of order (m+κ)log⁡(1/ε)(m+\kappa)\log(1/\varepsilon)(m+κ)log(1/ε) for the same regime, where mmm is the number of components and κ\kappaκ is a condition number. The target here is the precise SVRG convergence statement in the book, rather than a comparison of implementation costs. The source's discussion on pp. 334–336 gives the context and the algorithm.

Setting

Let f1,…,fm:Rn→Rf_1,\ldots,f_m:\mathbb R^n\to\mathbb Rf1​,…,fm​:Rn→R be differentiable convex functions, with m≥1m\ge1m≥1, and define the finite-sum objective and its gradient by

f(x)=1m∑i=1mfi(x),G(x)=1m∑i=1m∇fi(x).f(x)=\frac1m\sum_{i=1}^m f_i(x),\qquad G(x)=\frac1m\sum_{i=1}^m \nabla f_i(x).f(x)=m1​i=1∑m​fi​(x),G(x)=m1​i=1∑m​∇fi​(x).

Each component is β\betaβ-smooth when its gradient is β\betaβ-Lipschitz in the Euclidean norm: ∥∇fi(x)−∇fi(z)∥2≤β∥x−z∥2\|\nabla f_i(x)-\nabla f_i(z)\|_2\le\beta\|x-z\|_2∥∇fi​(x)−∇fi​(z)∥2​≤β∥x−z∥2​ for all x,zx,zx,z. The average fff is α\alphaα-strongly convex, meaning that for all x,zx,zx,z it lies at least α2∥z−x∥22\frac\alpha2\|z-x\|_2^22α​∥z−x∥22​ above its first-order affine approximation at xxx. The constants α\alphaα and β\betaβ are positive, x∗x^*x∗ minimizes fff over Rn\mathbb R^nRn, and κ=β/α\kappa=\beta/\alphaκ=β/α.

An epoch begins at an anchor yyy. Its first inner iterate is x1=yx_1=yx1​=y. For t=1,…,kt=1,\ldots,kt=1,…,k, draw iti_tit​ uniformly from {1,…,m}\{1,\ldots,m\}{1,…,m}, independently across steps and epochs, and update

xt+1=xt−η(∇fit(xt)−∇fit(y)+G(y)).x_{t+1}=x_t-\eta\bigl(\nabla f_{i_t}(x_t)-\nabla f_{i_t}(y)+G(y)\bigr).xt+1​=xt​−η(∇fit​​(xt​)−∇fit​​(y)+G(y)).

The next anchor is the average y+=k−1∑t=1kxty^+=k^{-1}\sum_{t=1}^k x_ty+=k−1∑t=1k​xt​. In particular, this average uses x1x_1x1​ through xkx_kxk​, while the last updated point xk+1x_{k+1}xk+1​ is excluded. Starting from an arbitrary y(1)y^{(1)}y(1) and repeating the epoch produces y(s+1)y^{(s+1)}y(s+1). The expectation of f(y(s+1))f(y^{(s+1)})f(y(s+1)) is over all sksksk sampled indices in the first sss epochs.

Formalization targets

Goal: geometric contraction across epochs

Theorem 6.5 sets η=1/(10β)\eta=1/(10\beta)η=1/(10β) and k=20κk=20\kappak=20κ and asserts, for every s≥1s\ge1s≥1,

Ef(y(s+1))−f(x∗)≤0.9s(f(y(1))−f(x∗)).\mathbb E f(y^{(s+1)})-f(x^*) \le 0.9^s\bigl(f(y^{(1)})-f(x^*)\bigr).Ef(y(s+1))−f(x∗)≤0.9s(f(y(1))−f(x∗)).

The epoch length is a count, so the statement takes k∈Nk\in\mathbb Nk∈N and explicitly requires k=20β/αk=20\beta/\alphak=20β/α. The goal uses exactly the book's step size, epoch length, and contraction factor.

Milestones: second moments and a single epoch

Lemma 6.4 bounds Ei∥∇fi(x)−∇fi(x∗)∥22\mathbb E_i\|\nabla f_i(x)-\nabla f_i(x^*)\|_2^2Ei​∥∇fi​(x)−∇fi​(x∗)∥22​ by 2β(f(x)−f(x∗))2\beta(f(x)-f(x^*))2β(f(x)−f(x∗)). Equation (6.3) bounds the second moment of the corrected sampled direction by the objective gaps at the current point and the anchor. Equation (6.2), the unbiased-direction display, and the one-step display express how that direction changes squared distance to x∗x^*x∗. The later display on p. 338 bounds one epoch for any positive step size with 2βη<12\beta\eta<12βη<1. Finally, equation (6.1) substitutes the stated constants to obtain the factor 0.90.90.9 for one epoch. These seven source claims form the milestone list in reading order.

Significance

The theorem gives an explicit accuracy guarantee after a specified number of epochs: an initial gap DDD falls below 0.9sD0.9^sD0.9sD in expectation. Because each epoch uses a full gradient at its anchor as well as sampled component gradients, the result makes clear which quantity contracts and which operations are counted. It is a concrete linear-rate statement for a method whose individual stochastic gradients need not approach zero at the optimum. Bubeck, §6.3 discusses this issue when introducing the correction term.

The mathematical result is already proved in the monograph. The remaining task is to produce machine-checked proofs of its precise finite-sum model, the single-index estimates, the epoch inequality, and the full repeated-epoch guarantee. The mission drafts those statements and definitions; no proof is claimed for the open theorem items. The finite uniform-average representation and the separation between a conditional one-step average and the full multi-epoch average can be reused in other finite-sum stochastic algorithms.

Difficulty

The sampled component gradient ∇fit(xt)\nabla f_{i_t}(x_t)∇fit​​(xt​) need not be small when xtx_txt​ is near x∗x^*x∗, so a bound using only its norm does not yield the desired fixed-step contraction. The correction −∇fit(y)+G(y)-\nabla f_{i_t}(y)+G(y)−∇fit​​(y)+G(y) has mean zero relative to the full gradient at the current iterate, but its second moment still depends on both xtx_txt​ and yyy. The proof must control those two gaps while respecting the fact that xtx_txt​ depends on earlier samples. A single-index estimate with xtx_txt​ held fixed and an expectation over complete sample histories are different statements; confusing them would make the goal weaker or false.

Formalization scope

The carrier is EuclideanSpace ℝ (Fin n) with its usual inner product and norm. The Fin m components and every sample array are finite. A real-valued uniform average is an ordinary finite sum divided by the number of arrays, and m≥1m\ge1m≥1 and k≥1k\ge1k≥1 prevent an empty average. Independent uniform sampling is represented by averaging over every function from step positions to component indices. The multi-epoch sample space has one such block for every epoch. There are no integrals or measurability side conditions.

The component assumptions include differentiability with an explicit gradient map, convexity on all of Rn\mathbb R^nRn, and the book's gradient-Lipschitz version of smoothness. Strong convexity is imposed on the average objective alone, using the published OnlineConvexOpt.ConvexBasics.StronglyConvexOn definition on the whole space. The book's standing notation assumes a minimizing x∗x^*x∗ exists; this is explicit. Positivity of α\alphaα and β\betaβ, and integrality of 20β/α20\beta/\alpha20β/α, make the displayed divisions and epoch length meaningful. The general epoch bound also requires 0<η0<\eta0<η and 2βη<12\beta\eta<12βη<1. Dimension zero is allowed: the theorem remains a statement about the unique point of R0\mathbb R^0R0 and its zero objective gap.

The direction always contains the sampled difference ∇fit(xt)−∇fit(y)\nabla f_{i_t}(x_t)-\nabla f_{i_t}(y)∇fit​​(xt​)−∇fit​​(y) and the full anchor gradient G(y)G(y)G(y). Replacing that direction with G(xt)G(x_t)G(xt​) would define gradient descent and would not satisfy this mission's algorithm. Contributions are welcome for the finite averaging identities, the component-gradient estimate, the conditional one-step calculation, the epoch inequality, and the induction across epochs.

Selected references

  • Sébastien Bubeck, Convex Optimization: Algorithms and Complexity, Foundations and Trends in Machine Learning 8(3–4), 2015, pp. 231–358. arXiv:1405.4980v2
  • Rie Johnson and Tong Zhang, Accelerating Stochastic Gradient Descent using Predictive Variance Reduction, Advances in Neural Information Processing Systems 26 (NIPS), 2013 (the origin of SVRG, cited by Bubeck on p. 335). https://proceedings.neurips.cc/paper/2013/hash/ac1dd209cbcc5e5d1c6e28598e8cbbe8-Abstract.html
10 thms3 active usersReviewed
🏆Completed
Convex OptimizationMachine LearningProbability·Captain: mikedeng1

Convex Optimization: Algorithms and Complexity XIV: Stochastic Mirror Descent on a β-Smooth Function with Noise σ Has Rate Rσ√(2/t) + βR²/tTextbook

Motivation

Many optimization problems in statistics and machine learning ask to minimize an expected loss f(x)=Eξ ℓ(x,ξ)f(x)=\mathbb E_\xi\,\ell(x,\xi)f(x)=Eξ​ℓ(x,ξ), or an average f(x)=1m∑i=1mfi(x)f(x)=\frac1m\sum_{i=1}^m f_i(x)f(x)=m1​∑i=1m​fi​(x) over a large data set. Exact gradients of such an fff are unavailable or too expensive, but unbiased random estimates are cheap: the gradient of the loss at one sample, or of one randomly chosen summand. The observation that first-order methods still make progress when the gradients are only correct on average goes back to Robbins and Monro (1951) and underlies stochastic gradient descent.

Chapter 6 of S. Bubeck, Convex Optimization: Algorithms and Complexity (2015), studies this setting through stochastic mirror descent (S-MD). Its Section 6.1 shows that in the non-smooth case a noisy oracle costs nothing in rate. Section 6.2 asks what smoothness buys: for a general stochastic oracle it cannot buy acceleration, but Theorem 6.3, whose proof the book takes from Dekel, Gilad-Bachrach, Shamir and Xiao (2012), shows that the rate splits into a noise term of order 1/t1/\sqrt t1/t​ and a smoothness term of order 1/t1/t1/t. The book uses it to justify mini-batch SGD. This mission is the fourteenth of a series that formalizes the section capstones of the book.

Setting

Let EEE be a finite-dimensional real vector space with an arbitrary norm ∥⋅∥\|\cdot\|∥⋅∥. Gradients are linear forms ggg on EEE, the value of ggg at vvv is written g⊤vg^\top vg⊤v, and the dual norm is ∥g∥∗=sup⁡∥v∥≤1g⊤v\|g\|_*=\sup_{\|v\|\le1}g^\top v∥g∥∗​=sup∥v∥≤1​g⊤v. Let X⊆E\mathcal X\subseteq EX⊆E be compact and convex.

A mirror map is a function Φ\PhiΦ on an open convex set D\mathcal DD with X⊆D‾\mathcal X\subseteq\overline{\mathcal D}X⊆D and X∩D≠∅\mathcal X\cap\mathcal D\ne\emptysetX∩D=∅. It is strictly convex and differentiable on D\mathcal DD, its gradient ∇Φ\nabla\Phi∇Φ takes every value, and ∥∇Φ(x)∥∗→∞\|\nabla\Phi(x)\|_*\to\infty∥∇Φ(x)∥∗​→∞ as xxx approaches the boundary of D\mathcal DD. Its Bregman divergence is DΦ(x,y)=Φ(x)−Φ(y)−∇Φ(y)⊤(x−y)D_\Phi(x,y)=\Phi(x)-\Phi(y)-\nabla\Phi(y)^\top(x-y)DΦ​(x,y)=Φ(x)−Φ(y)−∇Φ(y)⊤(x−y). The map is 1-strongly convex on X∩D\mathcal X\cap\mathcal DX∩D if DΦ(y,x)≥12∥x−y∥2D_\Phi(y,x)\ge\frac12\|x-y\|^2DΦ​(y,x)≥21​∥x−y∥2 there. A function fff is β\betaβ-smooth on X\mathcal XX if ∥∇f(x)−∇f(y)∥∗≤β∥x−y∥\|\nabla f(x)-\nabla f(y)\|_*\le\beta\|x-y\|∥∇f(x)−∇f(y)∥∗​≤β∥x−y∥ for x,y∈Xx,y\in\mathcal Xx,y∈X.

A stochastic oracle returns, at a query point xxx, a random linear form g~(x)\tilde g(x)g~​(x). When the query point is itself random, the book requires the conditional expectation given the query point, E(g~(x)∣x)\mathbb E(\tilde g(x)\mid x)E(g~​(x)∣x), to be a subgradient of fff at xxx. In the smooth case it requires E(g~(x)∣x)=∇f(x)\mathbb E(\tilde g(x)\mid x)=\nabla f(x)E(g~​(x)∣x)=∇f(x) together with the variance bound E(∥g~(x)−∇f(x)∥∗2∣x)≤σ2\mathbb E(\|\tilde g(x)-\nabla f(x)\|_*^2\mid x)\le\sigma^2E(∥g~​(x)−∇f(x)∥∗2​∣x)≤σ2.

S-MD with step γ\gammaγ starts at x1∈argmin⁡X∩DΦx_1\in\operatorname{argmin}_{\mathcal X\cap\mathcal D}\Phix1​∈argminX∩D​Φ and, writing g~s=g~(xs)\tilde g_s=\tilde g(x_s)g~​s​=g~​(xs​), iterates

xs+1∈argmin⁡x∈X∩D γ g~s⊤x+DΦ(x,xs).x_{s+1}\in\operatorname*{argmin}_{x\in\mathcal X\cap\mathcal D}\ \gamma\,\tilde g_s^\top x+D_\Phi(x,x_s).xs+1​∈x∈X∩Dargmin​ γg~​s⊤​x+DΦ​(x,xs​).

Let R2≥sup⁡x∈X∩DΦ(x)−Φ(x1)R^2\ge\sup_{x\in\mathcal X\cap\mathcal D}\Phi(x)-\Phi(x_1)R2≥supx∈X∩D​Φ(x)−Φ(x1​), and let x∗x^*x∗ minimize fff on X\mathcal XX.

Formalization targets

Goal: Theorem 6.3

Let fff be convex and β\betaβ-smooth, and let the oracle have variance at most σ2\sigma^2σ2. Then for every t≥1t\ge1t≥1, S-MD with step 1/(β+1/η)1/(\beta+1/\eta)1/(β+1/η) and η=Rσ2/t\eta=\frac R\sigma\sqrt{2/t}η=σR​2/t​ satisfies

E f(1t∑s=1txs+1)−f(x∗)≤Rσ2t+βR2t.\mathbb E\,f\Big(\frac1t\sum_{s=1}^t x_{s+1}\Big)-f(x^*)\le R\sigma\sqrt{\frac2t}+\frac{\beta R^2}{t}.Ef(t1​s=1∑t​xs+1​)−f(x∗)≤Rσt2​​+tβR2​.

Milestones (the proof's four displays)

For points xs,xs+1∈X∩Dx_s,x_{s+1}\in\mathcal X\cap\mathcal Dxs​,xs+1​∈X∩D and η>0\eta>0η>0, the smoothness step is

f(xs+1)−f(xs)≤g~s⊤(xs+1−xs)+η2∥∇f(xs)−g~s∥∗2+(β+1/η)DΦ(xs+1,xs).f(x_{s+1})-f(x_s)\le\tilde g_s^\top(x_{s+1}-x_s)+\tfrac\eta2\|\nabla f(x_s)-\tilde g_s\|_*^2+(\beta+1/\eta)D_\Phi(x_{s+1},x_s).f(xs+1​)−f(xs​)≤g~​s⊤​(xs+1​−xs​)+2η​∥∇f(xs​)−g~​s​∥∗2​+(β+1/η)DΦ​(xs+1​,xs​).

If xs+1x_{s+1}xs+1​ is the S-MD step, the mirror step is

1β+1/ηg~s⊤(xs+1−x∗)≤DΦ(x∗,xs)−DΦ(x∗,xs+1)−DΦ(xs+1,xs).\tfrac{1}{\beta+1/\eta}\tilde g_s^\top(x_{s+1}-x^*)\le D_\Phi(x^*,x_s)-D_\Phi(x^*,x_{s+1})-D_\Phi(x_{s+1},x_s).β+1/η1​g~​s⊤​(xs+1​−x∗)≤DΦ​(x∗,xs​)−DΦ​(x∗,xs+1​)−DΦ​(xs+1​,xs​).

Combining the two gives a pathwise bound on f(xs+1)f(x_{s+1})f(xs+1​) with the cross term (g~s−∇f(xs))⊤(x∗−xs)(\tilde g_s-\nabla f(x_s))^\top(x^*-x_s)(g~​s​−∇f(xs​))⊤(x∗−xs​). Taking expectations gives the expected one-step bound

Ef(xs+1)−f(x∗)≤(β+1/η) E(DΦ(x∗,xs)−DΦ(x∗,xs+1))+ησ22.\mathbb Ef(x_{s+1})-f(x^*)\le(\beta+1/\eta)\,\mathbb E\big(D_\Phi(x^*,x_s)-D_\Phi(x^*,x_{s+1})\big)+\frac{\eta\sigma^2}{2}.Ef(xs+1​)−f(x∗)≤(β+1/η)E(DΦ​(x∗,xs​)−DΦ​(x∗,xs+1​))+2ησ2​.

Companion: Theorem 6.1 and (4.10)

For a convex fff with E(∥g~(x)∥∗2∣x)≤B2\mathbb E(\|\tilde g(x)\|_*^2\mid x)\le B^2E(∥g~​(x)∥∗2​∣x)≤B2, S-MD with η=RB2/t\eta=\frac RB\sqrt{2/t}η=BR​2/t​ satisfies

E f(1t∑s=1txs)−min⁡Xf≤RB2/t.\mathbb E\,f\Big(\frac1t\sum_{s=1}^tx_s\Big)-\min_{\mathcal X}f\le RB\sqrt{2/t}.Ef(t1​s=1∑t​xs​)−Xmin​f≤RB2/t​.

This rests on the deterministic regret bound (4.10) of mirror descent along arbitrary vectors gsg_sgs​:

∑s≤tgs⊤(xs−x)≤R2η+η2ρ∑s≤t∥gs∥∗2.\sum_{s\le t}g_s^\top(x_s-x)\le\frac{R^2}{\eta}+\frac{\eta}{2\rho}\sum_{s\le t}\|g_s\|_*^2.s≤t∑​gs⊤​(xs​−x)≤ηR2​+2ρη​s≤t∑​∥gs​∥∗2​.

Significance

Theorem 6.3 says exactly how much smoothness helps under noise. As σ→0\sigma\to0σ→0 it recovers the βR2/t\beta R^2/tβR2/t rate of deterministic smooth optimization. For large ttt the noise term Rσ2/tR\sigma\sqrt{2/t}Rσ2/t​ dominates; the book notes, citing Tsybakov (2003), that smoothness brings no acceleration for a general stochastic oracle. Averaging mmm independent oracle answers divides the variance by mmm, so the theorem quantifies the benefit of mini-batches: the noise term shrinks by m\sqrt mm​ while the smoothness term is unchanged. Theorem 6.1 is the matching non-smooth statement and the template for stochastic subgradient methods in any norm.

These are classical, proved results. None of them is known to be formalized in Lean, and the platform has no stochastic mirror descent statement. Its stochastic gradient items cover the Euclidean strongly convex case and the non-convex gradient-norm case. This mission adds a reusable stochastic-oracle layer in an arbitrary norm, with conditional expectations given random query points, on top of the mirror-map layer of Chapter 4.

Difficulty

The deterministic steps are short manipulations of Bregman divergences. The difficulty is in the passage to expectations. The query point xsx_sxs​ is random, so unbiasedness enters only through the conditional expectation given xsx_sxs​. Making the cross term vanish requires pulling the σ(xs)\sigma(x_s)σ(xs​)-measurable vector x∗−xsx^*-x_sx∗−xs​ out of a conditional expectation of a dual-valued random variable. Every expectation also has to exist. When ∇Φ\nabla\Phi∇Φ blows up at the boundary of D\mathcal DD, the Bregman terms DΦ(x∗,xs)D_\Phi(x^*,x_s)DΦ​(x∗,xs​) are not bounded a priori, and their integrability has to be derived from the recursion. A further obstacle is that the minimizer x∗x^*x∗ may lie on the boundary of D\mathcal DD, where Φ\PhiΦ is not part of the book's data. Treating E\mathbb EE informally, or assuming x∗∈Dx^*\in\mathcal Dx∗∈D, skips exactly these points.

Formalization scope

  • Spaces and gradients. EEE is a finite-dimensional real normed space. Gradients are explicit maps Φ' f' : E → (E →L[ℝ] ℝ), g⊤vg^\top vg⊤v is g v, and ∥⋅∥∗\|\cdot\|_*∥⋅∥∗​ is the operator norm. β\betaβ-smoothness is stated with derivatives relative to X\mathcal XX. Φ\PhiΦ is a total function, constrained only by the mirror-map axioms on D\mathcal DD.
  • Runs and oracle. S-MD is a run predicate. For every outcome, x1x_1x1​ minimizes Φ\PhiΦ on X∩D\mathcal X\cap\mathcal DX∩D, and xs+1x_{s+1}xs+1​ is some minimizer of the step objective. The oracle is a predicate on the random sequences (xs,g~s)(x_s,\tilde g_s)(xs​,g~​s​): each xsx_sxs​ is measurable, and the conditional expectations are taken given σ(xs)\sigma(x_s)σ(xs​). Every conditioned quantity is integrable.
  • Conclusions. Every bound on an expectation also asserts integrability. Without it, the Lean integral of a non-integrable function is 000 and the bound could hold trivially.
  • Standing assumptions. The book's R2=sup⁡(Φ−Φ(x1))R^2=\sup(\Phi-\Phi(x_1))R2=sup(Φ−Φ(x1​)) is replaced by any upper bound R2R^2R2. The minimizer x∗∈Xx^*\in\mathcal Xx∗∈X exists (p. 242). X\mathcal XX is compact and convex (Chapter 4), and convex functions are closed (p. 236).
  • Positivity side conditions. R,σ,B>0R,\sigma,B>0R,σ,B>0 and t≥1t\ge1t≥1 make the step sizes and bounds defined, and β≥0\beta\ge0β≥0.

A variance hypothesis stated only at deterministic points would not control the random iterates, and is not used. Run predicates that let xs+1x_{s+1}xs+1​ be an arbitrary point of X∩D\mathcal X\cap\mathcal DX∩D would make the theorems false, and are not used either.

A complete development needs: first-order optimality over a convex set, the three-point identity of Bregman divergences, the descent lemma in an arbitrary norm, and continuity of the gradient of a differentiable convex function. On the probability side it needs pull-out and conditional Jensen properties for dual-valued conditional expectations. The probability layer is reusable for every stochastic first-order method in the book, including SVRG and random coordinate descent. Proofs of the milestones are welcome, and so are general lemmas about conditional expectations of continuous-linear-map-valued random variables.

Selected references

  • S. Bubeck, Convex Optimization: Algorithms and Complexity, Foundations and Trends in Machine Learning 8(3–4):231–358, 2015. arXiv:1405.4980v2, https://arxiv.org/abs/1405.4980 (Chapter 6, pp. 329–333; Chapter 4, pp. 297–307).
  • O. Dekel, R. Gilad-Bachrach, O. Shamir, L. Xiao, Optimal distributed online prediction using mini-batches, Journal of Machine Learning Research 13:165–202, 2012. https://jmlr.org/papers/v13/dekel12a.html
  • H. Robbins, S. Monro, A stochastic approximation method, Annals of Mathematical Statistics 22(3):400–407, 1951. https://doi.org/10.1214/aoms/1177729586
  • A. Beck, M. Teboulle, Mirror descent and nonlinear projected subgradient methods for convex optimization, Operations Research Letters 31(3):167–175, 2003. https://doi.org/10.1016/S0167-6377(02)00231-6
  • A. Nemirovski, A. Juditsky, G. Lan, A. Shapiro, Robust stochastic approximation approach to stochastic programming, SIAM Journal on Optimization 19(4):1574–1609, 2009. https://doi.org/10.1137/070704277
6 thms3 active usersReviewed
🏆Completed
Convex OptimizationMachine Learning·Captain: mikedeng1

Convex Optimization: Algorithms and Complexity XII: Mirror Prox on a Convex β-Smooth Function Has Rate βR²/(ρt)Textbook

Motivation

First-order methods for constrained convex optimization are usually analysed in the Euclidean norm, where gradient descent and its projected and accelerated variants have well-understood rates. Many constraint sets of practical interest, such as the probability simplex, the ℓ1\ell_1ℓ1​ ball and the spectrahedron, are poorly adapted to the Euclidean geometry: the Euclidean diameter and the Euclidean Lipschitz or smoothness constants grow with the dimension. Mirror descent, due to Nemirovski and Yudin, replaces the Euclidean step by a step taken in the dual space through a mirror map Φ\PhiΦ, so that the rate depends on constants measured in a norm matched to the set. For non-smooth Lipschitz functions it attains the rate 1/t1/\sqrt t1/t​ (Theorem 4.2 of the source, the subject of the previous mission of this series).

For smooth functions, a rate of order 1/t1/t1/t is available in any geometry by an extragradient-type modification. Mirror prox was introduced by Nemirovski in 2004 (Prox-method with rate of convergence O(1/t)) for variational inequalities with Lipschitz monotone operators and convex–concave saddle-point problems. It is the basis of smoothing approaches to non-smooth optimization and of stochastic saddle-point methods. This mission formalizes the version for minimizing a single smooth convex function, Theorem 4.4 of S. Bubeck, Convex Optimization: Algorithms and Complexity (Foundations and Trends in Machine Learning, 2015), §4.5.

Setting

Fix an arbitrary norm ∥⋅∥\|\cdot\|∥⋅∥ on a finite-dimensional real space EEE. Gradients are linear functionals on EEE; for a functional ggg write g⊤vg^\top vg⊤v for its value at vvv, and ∥g∥∗=sup⁡∥v∥≤1g⊤v\|g\|_*=\sup_{\|v\|\le1}g^\top v∥g∥∗​=sup∥v∥≤1​g⊤v for the dual norm. Let X⊆E\mathcal X\subseteq EX⊆E be compact and convex.

  • The Bregman divergence of a differentiable Φ\PhiΦ is DΦ(x,y)=Φ(x)−Φ(y)−∇Φ(y)⊤(x−y)D_\Phi(x,y)=\Phi(x)-\Phi(y)-\nabla\Phi(y)^\top(x-y)DΦ​(x,y)=Φ(x)−Φ(y)−∇Φ(y)⊤(x−y).
  • Let D\mathcal DD be a convex open set with X⊆D‾\mathcal X\subseteq\overline{\mathcal D}X⊆D and X∩D≠∅\mathcal X\cap\mathcal D\ne\emptysetX∩D=∅. A mirror map on D\mathcal DD is a function Φ\PhiΦ that is strictly convex and differentiable on D\mathcal DD, whose gradient takes every value (∇Φ(D)\nabla\Phi(\mathcal D)∇Φ(D) is the whole dual space), and whose gradient norm tends to +∞+\infty+∞ at the boundary of D\mathcal DD.
  • The Bregman projection of y∈Dy\in\mathcal Dy∈D is ΠXΦ(y)=argmin⁡x∈X∩DDΦ(x,y)\Pi^\Phi_{\mathcal X}(y)=\operatorname{argmin}_{x\in\mathcal X\cap\mathcal D}D_\Phi(x,y)ΠXΦ​(y)=argminx∈X∩D​DΦ​(x,y).
  • Φ\PhiΦ is ρ\rhoρ-strongly convex on X∩D\mathcal X\cap\mathcal DX∩D if Φ(x)−Φ(y)≤∇Φ(x)⊤(x−y)−ρ2∥x−y∥2\Phi(x)-\Phi(y)\le\nabla\Phi(x)^\top(x-y)-\frac\rho2\|x-y\|^2Φ(x)−Φ(y)≤∇Φ(x)⊤(x−y)−2ρ​∥x−y∥2 there; fff is β\betaβ-smooth on X\mathcal XX if ∥∇f(x)−∇f(y)∥∗≤β∥x−y∥\|\nabla f(x)-\nabla f(y)\|_*\le\beta\|x-y\|∥∇f(x)−∇f(y)∥∗​≤β∥x−y∥ for x,y∈Xx,y\in\mathcal Xx,y∈X.

Mirror prox with step size η\etaη generates, from xtx_txt​,

∇Φ(yt+1′)=∇Φ(xt)−η∇f(xt),yt+1∈argmin⁡x∈X∩DDΦ(x,yt+1′),\nabla\Phi(y'_{t+1})=\nabla\Phi(x_t)-\eta\nabla f(x_t),\qquad y_{t+1}\in\operatorname*{argmin}_{x\in\mathcal X\cap\mathcal D}D_\Phi(x,y'_{t+1}),∇Φ(yt+1′​)=∇Φ(xt​)−η∇f(xt​),yt+1​∈x∈X∩Dargmin​DΦ​(x,yt+1′​), ∇Φ(xt+1′)=∇Φ(xt)−η∇f(yt+1),xt+1∈argmin⁡x∈X∩DDΦ(x,xt+1′).\nabla\Phi(x'_{t+1})=\nabla\Phi(x_t)-\eta\nabla f(y_{t+1}),\qquad x_{t+1}\in\operatorname*{argmin}_{x\in\mathcal X\cap\mathcal D}D_\Phi(x,x'_{t+1}).∇Φ(xt+1′​)=∇Φ(xt​)−η∇f(yt+1​),xt+1​∈x∈X∩Dargmin​DΦ​(x,xt+1′​).

The first half is a mirror descent step from xtx_txt​ to yt+1y_{t+1}yt+1​; the second restarts from xtx_txt​ with the gradient evaluated at yt+1y_{t+1}yt+1​.

Formalization targets

Goal: Theorem 4.4

With η=ρ/β\eta=\rho/\betaη=ρ/β, x1∈argmin⁡X∩DΦx_1\in\operatorname{argmin}_{\mathcal X\cap\mathcal D}\Phix1​∈argminX∩D​Φ, R2≥sup⁡x∈X∩DΦ(x)−Φ(x1)R^2\ge\sup_{x\in\mathcal X\cap\mathcal D}\Phi(x)-\Phi(x_1)R2≥supx∈X∩D​Φ(x)−Φ(x1​), fff convex and β\betaβ-smooth and x∗x^*x∗ a minimizer of fff on X\mathcal XX, for every t≥1t\ge1t≥1

f(1t∑s=1tys+1)−f(x∗)≤βR2ρt.f\Bigl(\frac1t\sum_{s=1}^t y_{s+1}\Bigr)-f(x^*)\le\frac{\beta R^2}{\rho t}.f(t1​s=1∑t​ys+1​)−f(x∗)≤ρtβR2​.

Milestones

  1. Lemma 4.1 (Bregman projections): (∇Φ(ΠXΦ(y))−∇Φ(y))⊤(ΠXΦ(y)−x)≤0(\nabla\Phi(\Pi^\Phi_{\mathcal X}(y))-\nabla\Phi(y))^\top(\Pi^\Phi_{\mathcal X}(y)-x)\le0(∇Φ(ΠXΦ​(y))−∇Φ(y))⊤(ΠXΦ​(y)−x)≤0 and DΦ(x,ΠXΦ(y))+DΦ(ΠXΦ(y),y)≤DΦ(x,y)D_\Phi(x,\Pi^\Phi_{\mathcal X}(y))+D_\Phi(\Pi^\Phi_{\mathcal X}(y),y)\le D_\Phi(x,y)DΦ​(x,ΠXΦ​(y))+DΦ​(ΠXΦ​(y),y)≤DΦ​(x,y) for x∈X∩Dx\in\mathcal X\cap\mathcal Dx∈X∩D, y∈Dy\in\mathcal Dy∈D.
  2. First term: η∇f(yt+1)⊤(xt+1−x)≤DΦ(x,xt)−DΦ(x,xt+1)−DΦ(xt+1,xt)\eta\nabla f(y_{t+1})^\top(x_{t+1}-x)\le D_\Phi(x,x_t)-D_\Phi(x,x_{t+1})-D_\Phi(x_{t+1},x_t)η∇f(yt+1​)⊤(xt+1​−x)≤DΦ​(x,xt​)−DΦ​(x,xt+1​)−DΦ​(xt+1​,xt​).
  3. Second term, (4.9): η∇f(xt)⊤(yt+1−xt+1)≤DΦ(xt+1,xt)−ρ2∥xt+1−yt+1∥2−ρ2∥yt+1−xt∥2\eta\nabla f(x_t)^\top(y_{t+1}-x_{t+1})\le D_\Phi(x_{t+1},x_t)-\frac\rho2\|x_{t+1}-y_{t+1}\|^2-\frac\rho2\|y_{t+1}-x_t\|^2η∇f(xt​)⊤(yt+1​−xt+1​)≤DΦ​(xt+1​,xt​)−2ρ​∥xt+1​−yt+1​∥2−2ρ​∥yt+1​−xt​∥2.
  4. Third term: (∇f(yt+1)−∇f(xt))⊤(yt+1−xt+1)≤β2∥yt+1−xt∥2+β2∥yt+1−xt+1∥2(\nabla f(y_{t+1})-\nabla f(x_t))^\top(y_{t+1}-x_{t+1})\le\frac\beta2\|y_{t+1}-x_t\|^2+\frac\beta2\|y_{t+1}-x_{t+1}\|^2(∇f(yt+1​)−∇f(xt​))⊤(yt+1​−xt+1​)≤2β​∥yt+1​−xt​∥2+2β​∥yt+1​−xt+1​∥2.
  5. Per-step bound: f(yt+1)−f(x)≤(DΦ(x,xt)−DΦ(x,xt+1))/ηf(y_{t+1})-f(x)\le\bigl(D_\Phi(x,x_t)-D_\Phi(x,x_{t+1})\bigr)/\etaf(yt+1​)−f(x)≤(DΦ​(x,xt​)−DΦ​(x,xt+1​))/η for x∈X∩Dx\in\mathcal X\cap\mathcal Dx∈X∩D.

The three-point identity (4.1), (∇f(x)−∇f(y))⊤(x−z)=Df(x,y)+Df(z,x)−Df(z,y)(\nabla f(x)-\nabla f(y))^\top(x-z)=D_f(x,y)+D_f(z,x)-D_f(z,y)(∇f(x)−∇f(y))⊤(x−z)=Df​(x,y)+Df​(z,x)−Df​(z,y), is already posed on the platform as BeckTeboulleMD.EMDA.lemma_4_1 and is included by reference.

Significance

Theorem 4.4 shows that the 1/t1/t1/t rate of gradient descent on smooth functions survives in non-Euclidean geometries, with the dimension entering only through R2/ρR^2/\rhoR2/ρ. With the negative entropy on the simplex, R2/ρR^2/\rhoR2/ρ is of order log⁡n\log nlogn for the ℓ1\ell_1ℓ1​ norm, against a polynomial dependence for Euclidean methods. Beyond this single-function version, the same three-term argument is the core of the analysis of mirror prox for monotone variational inequalities and saddle-point problems (§4.6 and §5.2 of the source), where it gives the 1/t1/t1/t rate for smooth convex–concave games.

The result is proved in the source and in Nemirovski's paper. As far as this mission is aware it has no machine-checked proof; Mathlib has no Bregman divergences, mirror maps or mirror-descent-type algorithms. A formal proof would supply reusable infrastructure: the Bregman projection lemma (Lemma 4.1) and the three-point identity are used by every mirror-descent analysis, including the stochastic and online variants later in the source.

Difficulty

The obvious argument for mirror descent bounds f(xt)−f(x)f(x_t)-f(x)f(xt​)−f(x) by ∇f(xt)⊤(xt−x)\nabla f(x_t)^\top(x_t-x)∇f(xt​)⊤(xt​−x) and leaves a stability term of size η2∥∇f∥∗2\eta^2\|\nabla f\|_*^2η2∥∇f∥∗2​, which yields only 1/t1/\sqrt t1/t​. Smoothness has to be used to cancel that term, and a single gradient step does not do so in a general norm. Mirror prox evaluates the gradient at the extrapolated point yt+1y_{t+1}yt+1​; the analysis must show that the error created by using ∇f(xt)\nabla f(x_t)∇f(xt​) for the first step is paid for by the strong convexity of Φ\PhiΦ, which requires splitting ∇f(yt+1)⊤(yt+1−x)\nabla f(y_{t+1})^\top(y_{t+1}-x)∇f(yt+1​)⊤(yt+1​−x) into three terms and bounding each with matching constants.

In Lean the difficulty is in the infrastructure: first-order optimality of a Bregman projection over X∩D\mathcal X\cap\mathcal DX∩D, which need not be closed; the passage from x∈X∩Dx\in\mathcal X\cap\mathcal Dx∈X∩D to a minimizer x∗x^*x∗ that may lie on the boundary of D\mathcal DD; and Jensen's inequality for the average of the ys+1y_{s+1}ys+1​.

Formalization scope

  • EEE is a finite-dimensional real normed space. Gradients are continuous linear functionals E →L[ℝ] ℝ given by explicit maps Φ' and f'; the dual norm is the operator norm. Φ' is the Fréchet derivative of Φ\PhiΦ at each point of D\mathcal DD; f' is the derivative of fff relative to X\mathcal XX at each point of X\mathcal XX.
  • The mirror map definition keeps all three properties of §4.1, including surjectivity of the gradient and divergence at each frontier point of D\mathcal DD.
  • Projections and runs are relations: every admissible argmin choice is covered; no choice function is used. The run is indexed from t=1t=1t=1; index 000 is unused.
  • Standing and implicit hypotheses: X\mathcal XX compact convex; a minimizer x∗∈Xx^*\in\mathcal Xx∗∈X exists (the source's standing assumption); ρ>0\rho>0ρ>0 and β>0\beta>0β>0 (so that η=ρ/β\eta=\rho/\betaη=ρ/β and the division by ρt\rho tρt are meaningful); x1∈argmin⁡X∩DΦx_1\in\operatorname{argmin}_{\mathcal X\cap\mathcal D}\Phix1​∈argminX∩D​Φ (unspecified in §4.5, taken as in mirror descent, §4.2).
  • RRR is any real with Φ−Φ(x1)≤R2\Phi-\Phi(x_1)\le R^2Φ−Φ(x1​)≤R2 on X∩D\mathcal X\cap\mathcal DX∩D. The source's R2=sup⁡R^2=\supR2=sup is the case where the supremum is finite; when it is infinite, the source's bound is void.
  • A run in which the second step started from yt+1y_{t+1}yt+1​, or projected yt+1′y'_{t+1}yt+1′​ again, would be mirror descent, for which the claimed rate is false; the formal run follows the four equations of the source exactly. The average is over the extrapolated points ys+1y_{s+1}ys+1​, s=1,…,ts=1,\dots,ts=1,…,t.

Contributions welcome: proofs of Lemma 4.1 and the three-term bounds, which are reusable for the stochastic mirror descent and saddle-point missions of this series, and the final telescoping and limit argument.

Selected references

  • S. Bubeck, Convex Optimization: Algorithms and Complexity, Foundations and Trends in Machine Learning 8(3–4):231–358, 2015. https://arxiv.org/abs/1405.4980v2
  • A. Nemirovski, Prox-method with rate of convergence O(1/t) for variational inequalities with Lipschitz continuous monotone operators and smooth convex-concave saddle point problems, SIAM Journal on Optimization 15(1):229–251, 2004. https://doi.org/10.1137/S1052623403425629
  • A. Beck and M. Teboulle, Mirror descent and nonlinear projected subgradient methods for convex optimization, Operations Research Letters 31(3):167–175, 2003. https://doi.org/10.1016/S0167-6377(02)00231-6
  • A. Nemirovski and D. Yudin, Problem Complexity and Method Efficiency in Optimization, Wiley, 1983.
8 thms3 active usersReviewed
🏆Completed
Convex OptimizationMachine Learning·Captain: mikedeng1

Convex Optimization: Algorithms and Complexity XI: Mirror Descent with a ρ-Strongly Convex Mirror Map Has Rate RL√(2/(ρt))Textbook

Motivation

The projected subgradient method of Chapter 3 measures distances in the Euclidean norm, and its rate RL/tRL/\sqrt tRL/t​ depends on the geometry only through a Euclidean radius RRR and a Euclidean bound LLL on the subgradients. For many constraint sets that occur in practice this is the wrong geometry. On the probability simplex Δn\Delta_nΔn​ with subgradients bounded in ℓ∞\ell_\inftyℓ∞​, as for linear losses with bounded coefficients, the Euclidean constants make RLRLRL grow like n\sqrt nn​, while the problem itself is nearly dimension-free.

Mirror descent, introduced by Nemirovski and Yudin (1983), repairs this. The gradient step is taken in the dual space, after mapping the current point through the gradient of a strictly convex mirror map Φ\PhiΦ, and feasibility is restored by a projection in the Bregman divergence of Φ\PhiΦ rather than in the Euclidean distance. Beck and Teboulle (2003, doi:10.1016/S0167-6377(02)00231-6) recast it as a nonlinear projected subgradient method and showed that with the negative entropy on the simplex its rate is O(Llog⁡n/t)O(L\sqrt{\log n/t})O(Llogn/t​). Nesterov (2009, doi:10.1007/s10107-007-0149-x) introduced dual averaging, a lazy variant that averages the subgradients in the dual space and maps back only when a primal point is needed. Both methods underlie online learning (exponential weights is mirror descent with the entropy), stochastic optimization, and saddle-point methods such as mirror prox.

This mission is the eleventh of a series formalizing S. Bubeck, Convex Optimization: Algorithms and Complexity (Foundations and Trends in Machine Learning, 2015, arXiv:1405.4980). It covers the preamble of Chapter 4, Sections 4.1 and 4.2, and Section 4.4.

Setting

Let EEE be a finite-dimensional real vector space (the book's Rn\mathbb R^nRn) with an arbitrary norm ∥⋅∥\|\cdot\|∥⋅∥. A linear functional ggg on EEE acts on xxx by g⊤xg^\top xg⊤x and has dual norm ∥g∥∗=sup⁡∥x∥≤1g⊤x\|g\|_*=\sup_{\|x\|\le1}g^\top x∥g∥∗​=sup∥x∥≤1​g⊤x. Let X⊆E\mathcal X\subseteq EX⊆E be compact and convex.

Let D⊆E\mathcal D\subseteq ED⊆E be a convex open set with X⊆D‾\mathcal X\subseteq\overline{\mathcal D}X⊆D and X∩D≠∅\mathcal X\cap\mathcal D\neq\emptysetX∩D=∅. A function Φ:D→R\Phi:\mathcal D\to\mathbb RΦ:D→R is a mirror map if it is strictly convex and differentiable, its gradient takes every value in the dual space, and ∥∇Φ(x)∥→+∞\|\nabla\Phi(x)\|\to+\infty∥∇Φ(x)∥→+∞ as xxx tends to the boundary of D\mathcal DD. Its Bregman divergence is

DΦ(x,y)=Φ(x)−Φ(y)−∇Φ(y)⊤(x−y),D_\Phi(x,y)=\Phi(x)-\Phi(y)-\nabla\Phi(y)^\top(x-y),DΦ​(x,y)=Φ(x)−Φ(y)−∇Φ(y)⊤(x−y),

and the Bregman projection of y∈Dy\in\mathcal Dy∈D is ΠXΦ(y)=argmin⁡x∈X∩DDΦ(x,y)\Pi^\Phi_{\mathcal X}(y)=\operatorname{argmin}_{x\in\mathcal X\cap\mathcal D}D_\Phi(x,y)ΠXΦ​(y)=argminx∈X∩D​DΦ​(x,y). The mirror map is ρ\rhoρ-strongly convex on X∩D\mathcal X\cap\mathcal DX∩D if Φ(x)−Φ(y)≤∇Φ(x)⊤(x−y)−ρ2∥x−y∥2\Phi(x)-\Phi(y)\le\nabla\Phi(x)^\top(x-y)-\frac\rho2\|x-y\|^2Φ(x)−Φ(y)≤∇Φ(x)⊤(x−y)−2ρ​∥x−y∥2 for all x,y∈X∩Dx,y\in\mathcal X\cap\mathcal Dx,y∈X∩D.

Let fff be convex on X\mathcal XX with a minimizer x∗∈Xx^*\in\mathcal Xx∗∈X. A linear functional ggg is a subgradient of fff at xxx if f(x)−f(y)≤g⊤(x−y)f(x)-f(y)\le g^\top(x-y)f(x)−f(y)≤g⊤(x−y) for all y∈Xy\in\mathcal Xy∈X, and fff is LLL-Lipschitz if the subgradients satisfy ∥g∥∗≤L\|g\|_*\le L∥g∥∗​≤L.

Mirror descent with step η\etaη starts at x1∈argmin⁡X∩DΦx_1\in\operatorname{argmin}_{\mathcal X\cap\mathcal D}\Phix1​∈argminX∩D​Φ and, for t≥1t\ge1t≥1, picks gt∈∂f(xt)g_t\in\partial f(x_t)gt​∈∂f(xt​) and

∇Φ(yt+1)=∇Φ(xt)−ηgt,yt+1∈D,xt+1=ΠXΦ(yt+1).(4.2–4.3)\nabla\Phi(y_{t+1})=\nabla\Phi(x_t)-\eta g_t,\quad y_{t+1}\in\mathcal D,\qquad x_{t+1}=\Pi^\Phi_{\mathcal X}(y_{t+1}).\tag{4.2–4.3}∇Φ(yt+1​)=∇Φ(xt​)−ηgt​,yt+1​∈D,xt+1​=ΠXΦ​(yt+1​).(4.2–4.3)

Dual averaging instead sets xt∈argmin⁡x∈X∩Dη∑s=1t−1gs⊤x+Φ(x)x_t\in\operatorname{argmin}_{x\in\mathcal X\cap\mathcal D}\eta\sum_{s=1}^{t-1}g_s^\top x+\Phi(x)xt​∈argminx∈X∩D​η∑s=1t−1​gs⊤​x+Φ(x) (4.6). Let R2R^2R2 bound Φ(x)−Φ(x1)\Phi(x)-\Phi(x_1)Φ(x)−Φ(x1​) over X∩D\mathcal X\cap\mathcal DX∩D.

Formalization targets

Goal: Theorem 4.2

With η=RL2ρt\eta=\frac RL\sqrt{\frac{2\rho}{t}}η=LR​t2ρ​​, every run of mirror descent satisfies

f(1t∑s=1txs)−f(x∗)≤RL2ρt.f\Big(\frac1t\sum_{s=1}^t x_s\Big)-f(x^*)\le RL\sqrt{\frac{2}{\rho t}}.f(t1​s=1∑t​xs​)−f(x∗)≤RLρt2​​.

Milestones

  1. The three-point identity (4.1): (∇f(x)−∇f(y))⊤(x−z)=Df(x,y)+Df(z,x)−Df(z,y)(\nabla f(x)-\nabla f(y))^\top(x-z)=D_f(x,y)+D_f(z,x)-D_f(z,y)(∇f(x)−∇f(y))⊤(x−z)=Df​(x,y)+Df​(z,x)−Df​(z,y).
  2. Lemma 4.1: for x∈X∩Dx\in\mathcal X\cap\mathcal Dx∈X∩D and y∈Dy\in\mathcal Dy∈D, DΦ(x,ΠXΦ(y))+DΦ(ΠXΦ(y),y)≤DΦ(x,y)D_\Phi(x,\Pi^\Phi_{\mathcal X}(y))+D_\Phi(\Pi^\Phi_{\mathcal X}(y),y)\le D_\Phi(x,y)DΦ​(x,ΠXΦ​(y))+DΦ​(ΠXΦ​(y),y)≤DΦ​(x,y), together with the first-order inequality that implies it.
  3. The per-step inequality: f(xs)−f(x)≤1η(DΦ(x,xs)+DΦ(xs,ys+1)−DΦ(x,xs+1)−DΦ(xs+1,ys+1))f(x_s)-f(x)\le\frac1\eta\big(D_\Phi(x,x_s)+D_\Phi(x_s,y_{s+1})-D_\Phi(x,x_{s+1})-D_\Phi(x_{s+1},y_{s+1})\big)f(xs​)−f(x)≤η1​(DΦ​(x,xs​)+DΦ​(xs​,ys+1​)−DΦ​(x,xs+1​)−DΦ​(xs+1​,ys+1​)).
  4. The stability term: DΦ(xs,ys+1)−DΦ(xs+1,ys+1)≤(ηL)2/(2ρ)D_\Phi(x_s,y_{s+1})-D_\Phi(x_{s+1},y_{s+1})\le(\eta L)^2/(2\rho)DΦ​(xs​,ys+1​)−DΦ​(xs+1​,ys+1​)≤(ηL)2/(2ρ).
  5. The summed bound: ∑s=1t(f(xs)−f(x))≤DΦ(x,x1)/η+ηL2t/(2ρ)\sum_{s=1}^t(f(x_s)-f(x))\le D_\Phi(x,x_1)/\eta+\eta L^2t/(2\rho)∑s=1t​(f(xs​)−f(x))≤DΦ​(x,x1​)/η+ηL2t/(2ρ).

Companion: Theorem 4.3

With η=RLρ2t\eta=\frac RL\sqrt{\frac{\rho}{2t}}η=LR​2tρ​​, dual averaging satisfies f(1t∑s=1txs)−f(x∗)≤2RL2ρtf\big(\frac1t\sum_{s=1}^tx_s\big)-f(x^*)\le2RL\sqrt{\frac2{\rho t}}f(t1​∑s=1t​xs​)−f(x∗)≤2RLρt2​​, with the two displays (4.7) and (4.8) of its proof as supporting items.

Significance

Theorem 4.2 is the basic rate of non-Euclidean first-order optimization. With the Euclidean mirror map Φ=12∥⋅∥22\Phi=\frac12\|\cdot\|_2^2Φ=21​∥⋅∥22​ it recovers the projected subgradient rate of Chapter 3; with the negative entropy on the simplex, which is 111-strongly convex for ℓ1\ell_1ℓ1​ by Pinsker's inequality and has R2=log⁡nR^2=\log nR2=logn, it gives L∞2log⁡n/tL_\infty\sqrt{2\log n/t}L∞​2logn/t​, so the dependence on the dimension becomes logarithmic. The same analysis, with fff replaced by a sequence of losses, is the regret bound of online mirror descent, and its per-step and stability inequalities are reused for stochastic mirror descent and mirror prox in later chapters of the book.

The results are classical and fully proved in the book. What this mission adds is a machine-checked version in a general finite-dimensional normed space, with gradients as linear functionals and the dual norm as the operator norm, for an arbitrary mirror map on an arbitrary open domain. On Prove2Me the three-point identity (4.1) is already posed, as Lemma 4.1 of the Beck–Teboulle formalization, and is reused here; a regret bound for online mirror descent with Legendre functions is proved in another library, but it is not this theorem and does not cover a domain D\mathcal DD distinct from the whole space or a Bregman projection onto X∩D\mathcal X\cap\mathcal DX∩D.

Difficulty

The algebra of the proof is short. The difficulty lies at the boundary of D\mathcal DD. The minimizer x∗x^*x∗ may lie on ∂D\partial\mathcal D∂D, where Φ\PhiΦ and ∇Φ\nabla\Phi∇Φ are not defined; this is the typical case for the entropy on the simplex, where x∗x^*x∗ is often a vertex. The per-step bound holds only for comparison points x∈X∩Dx\in\mathcal X\cap\mathcal Dx∈X∩D, so the bound at x∗x^*x∗ has to be recovered from points of X∩D\mathcal X\cap\mathcal DX∩D, where no regularity of fff beyond convexity on X\mathcal XX is available. Lemma 4.1 needs the first-order optimality condition of the Bregman projection over the convex set X∩D\mathcal X\cap\mathcal DX∩D, which is not closed. In the non-Euclidean setting the gradient step cannot be written in the primal space at all: the update (4.2) is an equation between linear functionals, and the norm and dual norm must be kept apart throughout.

Formalization scope

  • The space is a finite-dimensional real normed space E with an arbitrary norm; gradients and subgradients are elements of E →L[ℝ] ℝ, the dual norm is the operator norm, and ∇Φ\nabla\Phi∇Φ is an explicit map Φ' with HasFDerivAt Φ (Φ' x) x on D\mathcal DD.
  • The mirror map carries all three properties (i)–(iii) of the book; the standing setting (X\mathcal XX compact convex, X⊆D‾\mathcal X\subseteq\overline{\mathcal D}X⊆D, X∩D≠∅\mathcal X\cap\mathcal D\neq\emptysetX∩D=∅) is a single predicate.
  • Runs are predicates over the first ttt steps, quantified universally: any subgradient, any yt+1y_{t+1}yt+1​ solving (4.2), any minimizer. A run whose next iterate were an arbitrary point of X∩D\mathcal X\cap\mathcal DX∩D, rather than the Bregman projection, would make the theorem false; the projection is part of the run.
  • Sequences are indexed from 111; t≥1t\ge1t≥1, ρ>0\rho>0ρ>0, L>0L>0L>0, R>0R>0R>0 and η>0\eta>0η>0 are explicit, since the step and the bound divide by them.
  • R2R^2R2 is any upper bound of sup⁡X∩DΦ−Φ(x1)\sup_{\mathcal X\cap\mathcal D}\Phi-\Phi(x_1)supX∩D​Φ−Φ(x1​) (the book's RRR is the least one); when the supremum is infinite the hypotheses cannot be met, as on the page.
  • "fff is LLL-Lipschitz" is assumed for the subgradients the run uses. Subgradients relative to X\mathcal XX are unbounded at boundary points of X\mathcal XX, so the literal "every subgradient at every point" would make the hypothesis unsatisfiable.
  • The definitions (Bregman divergence, mirror map, Bregman projection, the two runs) are reusable by the later chapters on mirror prox and stochastic mirror descent. Proofs of any milestone, and of the general facts they need (nonnegativity of Bregman divergences, first-order optimality over a convex set that is not closed), are welcome.

Selected references

  • S. Bubeck, Convex Optimization: Algorithms and Complexity, Foundations and Trends in Machine Learning 8(3–4):231–358, 2015. arXiv:1405.4980
  • A. Nemirovski and D. Yudin, Problem Complexity and Method Efficiency in Optimization, Wiley, 1983 (book; no DOI).
  • A. Beck and M. Teboulle, Mirror descent and nonlinear projected subgradient methods for convex optimization, Operations Research Letters 31(3):167–175, 2003. doi:10.1016/S0167-6377(02)00231-6
  • Y. Nesterov, Primal-dual subgradient methods for convex problems, Mathematical Programming 120(1):221–259, 2009. doi:10.1007/s10107-007-0149-x
7 thms3 active usersReviewed
PreviousPage 10 of 67Next

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