Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

Optimization

661 missions · 430 completed

Missions

Open231Completed430All661
🏆Completed
CombinatoricsInformation TheoryLinear Optimization+1·Captain: mikedeng1

Understanding and Using Linear Programming VIII: The Delsarte Linear Programming Bound for Binary CodesTextbook

Motivation

A binary error-correcting code is a set of nnn-bit words chosen so that the words stay distinguishable after a few bits have been corrupted in transmission. A code can correct any rrr errors exactly when every two of its words differ in at least 2r+12r+12r+1 positions. The more words the code has, the more information each transmitted block carries. So the central quantitative question of coding theory is how large a code of given length and minimum distance can be. Codes are used in every technology that transmits or stores data, from disks and phones to deep-space probes.

In 1973 Philippe Delsarte showed that an upper bound on this maximum size is the optimum value of an explicit linear program (Delsarte, An algebraic approach to the association schemes of coding theory, Philips Res. Repts. Suppl. 10, 1973). The bound was far stronger than the classical volume argument and remains a standard tool. This mission formalizes the self-contained proof of the bound in §8.4 of Matoušek and Gärtner's textbook (Springer 2007). That proof follows Best, Brouwer, MacWilliams, Odlyzko and Sloane (IEEE Trans. Inform. Theory 24, 1978). The mission also covers the step of Delsarte's original argument that the book isolates as a lemma.

Timeline.

  • 1950: Hamming introduces single-error-correcting codes and the sphere-packing bound.
  • 1973: Delsarte proves the linear programming bound using association schemes.
  • 1978: Best et al. give the elementary parity proof and small improvements, among them A(17,3)≤6552A(17,3) \le 6552A(17,3)≤6552.
  • 2005: Schrijver replaces the linear program by a semidefinite program and improves many entries of the code tables (IEEE Trans. Inform. Theory 51).

Setting

A word is w=(w1,…,wn)∈{0,1}n\mathbf w = (w_1,\dots,w_n) \in \{0,1\}^nw=(w1​,…,wn​)∈{0,1}n, and a code is any set C⊆{0,1}nC \subseteq \{0,1\}^nC⊆{0,1}n. The Hamming distance dH(w,w′)d_H(\mathbf w,\mathbf w')dH​(w,w′) is the number of positions jjj with wj≠wj′w_j \ne w'_jwj​=wj′​. The weight ∣w∣|\mathbf w|∣w∣ is the number of ones in w\mathbf ww. The word w⊕w′\mathbf w \oplus \mathbf w'w⊕w′ is the entrywise sum modulo 2. For I⊆{1,…,n}I \subseteq \{1,\dots,n\}I⊆{1,…,n}, the restricted distance dHI(w,w′)d^I_H(\mathbf w,\mathbf w')dHI​(w,w′) counts only the differing positions that lie in III.

A code has distance ddd if dH(w,w′)≥dd_H(\mathbf w,\mathbf w') \ge ddH​(w,w′)≥d for all distinct w,w′∈C\mathbf w,\mathbf w' \in Cw,w′∈C (Definition 8.4.1). The quantity A(n,d)A(n,d)A(n,d) is the maximum of ∣C∣|C|∣C∣ over all codes C⊆{0,1}nC \subseteq \{0,1\}^nC⊆{0,1}n with distance ddd.

For 0≤i,t≤n0 \le i,t \le n0≤i,t≤n the Krawtchouk numbers are

Kt(n,i)=∑j=0min⁡(i,t)(−1)j(ij)(n−it−j).K_t(n,i) = \sum_{j=0}^{\min(i,t)} (-1)^j \binom ij \binom{n-i}{t-j}.Kt​(n,i)=j=0∑min(i,t)​(−1)j(ji​)(t−jn−i​).

The distance distribution of a code CCC is

x~i(C)=1∣C∣ ∣{(w,w′)∈C2:dH(w,w′)=i}∣,i=0,…,n.\tilde x_i(C) = \frac{1}{|C|}\,\bigl|\{(\mathbf w,\mathbf w')\in C^2 : d_H(\mathbf w,\mathbf w') = i\}\bigr|, \qquad i=0,\dots,n.x~i​(C)=∣C∣1​​{(w,w′)∈C2:dH​(w,w′)=i}​,i=0,…,n.

The Delsarte linear program has variables x0,…,xnx_0,\dots,x_nx0​,…,xn​. It maximizes x0+⋯+xnx_0+\dots+x_nx0​+⋯+xn​ subject to:

  • x0=1x_0 = 1x0​=1;
  • xi=0x_i = 0xi​=0 for 1≤i≤d−11 \le i \le d-11≤i≤d−1;
  • ∑i=0nKt(n,i) xi≥0\sum_{i=0}^n K_t(n,i)\,x_i \ge 0∑i=0n​Kt​(n,i)xi​≥0 for 1≤t≤n1 \le t \le n1≤t≤n;
  • x≥0x \ge 0x≥0.

For Delsarte's original argument, MiM_iMi​ is the 2n×2n2^n\times 2^n2n×2n matrix whose (v,w)(\mathbf v,\mathbf w)(v,w) entry is 111 when dH(v,w)=id_H(\mathbf v,\mathbf w) = idH​(v,w)=i and 000 otherwise. The weights are y~i=∣{(w,w′)∈C2:dH=i}∣/(2n(ni))\tilde y_i = |\{(\mathbf w,\mathbf w')\in C^2 : d_H = i\}| / (2^n\binom ni)y~​i​=∣{(w,w′)∈C2:dH​=i}∣/(2n(in​)).

Formalization targets

Goal: Theorem 8.4.3 (the Delsarte bound)

A(n,d)  ≤  max⁡{∑i=0nxi  :  x feasible for the Delsarte program}for all n,d.A(n,d) \;\le\; \max\Bigl\{\textstyle\sum_{i=0}^n x_i \;:\; x \text{ feasible for the Delsarte program}\Bigr\}\quad\text{for all } n, d.A(n,d)≤max{∑i=0n​xi​:x feasible for the Delsarte program}for all n,d.

The goal is stated against every upper bound vvv of the objective on the feasible set. No particular optimum value is fixed, so the statement covers every nnn and ddd at once.

Milestones, in attack order

  1. Lemma 8.4.5. For every III and CCC, the pairs in C2C^2C2 with even dHId^I_HdHI​ are at least as many as the pairs with odd dHId^I_HdHI​.
  2. Corollary 8.4.6. ∑(w,w′)∈C2(−1)(w⊕w′)Tv≥0\sum_{(\mathbf w,\mathbf w')\in C^2}(-1)^{(\mathbf w\oplus\mathbf w')^T\mathbf v}\ge 0∑(w,w′)∈C2​(−1)(w⊕w′)Tv≥0 for every v\mathbf vv.
  3. Proposition 8.4.4. ∑i=0nKt(n,i) x~i(C)≥0\sum_{i=0}^n K_t(n,i)\,\tilde x_i(C) \ge 0∑i=0n​Kt​(n,i)x~i​(C)≥0 for every CCC and every t=1,…,nt = 1,\dots,nt=1,…,n.
  4. §8.4, p. 160. The values x~i(C)\tilde x_i(C)x~i​(C) sum to ∣C∣|C|∣C∣. For a nonempty code with distance ddd, the vector x~(C)\tilde x(C)x~(C) is feasible for the program.
  5. Lemma 8.4.2 (sphere-packing bound). A(n,2r+1)≤⌊2n/∑i=0r(ni)⌋A(n,2r+1) \le \lfloor 2^n / \sum_{i=0}^r\binom ni\rfloorA(n,2r+1)≤⌊2n/∑i=0r​(in​)⌋.
  6. Lemma 8.4.7. M~=∑i=0ny~iMi\tilde M = \sum_{i=0}^n \tilde y_i M_iM~=∑i=0n​y~​i​Mi​ is positive semidefinite.

Significance

The Delsarte bound turns an extremal problem over the 22n2^{2^n}22n subsets of the cube into a linear program with n+1n+1n+1 variables. For A(17,3)A(17,3)A(17,3) it gives 655365536553, while the sphere-packing bound gives 728172817281. Many entries of the standard code tables rest on this bound or its refinements. The positive semidefiniteness in Lemma 8.4.7 is the starting point of the semidefinite programming bounds of Schrijver and of later work. The same framework also underlies the linear programming bounds for spherical codes and sphere packings.

The theorem is classical and fully proved in the literature. Neither Mathlib nor this platform has a formal statement or proof of it. Mathlib has Hamming distance and binomial coefficients, but it has no A(n,d)A(n,d)A(n,d), no Krawtchouk numbers and no LP bound for codes. This mission would produce the first formal statement and proof. It would also produce reusable identities on Krawtchouk sums and character sums over {0,1}n\{0,1\}^n{0,1}n.

Difficulty

Two of the program's constraints are immediate once x~i\tilde x_ix~i​ is defined: x~0=1\tilde x_0 = 1x~0​=1, and x~i=0\tilde x_i = 0x~i​=0 for i<di < di<d. The difficulty lies in the Krawtchouk constraints. They do not follow from counting pairs at a single distance. They require a sign-weighted count over all words of weight ttt, and the sum must then be regrouped by the distance of each pair. That regrouping identifies a count of words, split by how many ones they share with a fixed word, with the Krawtchouk number. Formally this is an exchange of finite sums together with a binomial counting identity, and the index bookkeeping, including the range j≤min⁡(i,t)j \le \min(i,t)j≤min(i,t), has to be exact.

The obvious attempt proves the inequality one distance class at a time. It fails because the individual terms Kt(n,i) x~iK_t(n,i)\,\tilde x_iKt​(n,i)x~i​ have no sign. Only the whole sum is nonnegative.

Formalization scope

  • Words and codes. Words are Fin n → Bool, with bit 111 as true. The book's positions 1,…,n1,\dots,n1,…,n become 0, …, n-1. Codes are Finsets of words, and dHd_HdH​ is Mathlib's hammingDist.
  • The maximum A(n,d)A(n,d)A(n,d). A(n,d)A(n,d)A(n,d) is a Finset.sup over the finite family of codes with distance ddd. This family contains the empty code, so the maximum is attained.
  • Krawtchouk numbers. Kt(n,i)K_t(n,i)Kt​(n,i) is an integer, and its natural-number subtractions are honest for i≤ni \le ni≤n and j≤tj \le tj≤t.
  • LP variables and the xi=0x_i = 0xi​=0 constraints. The LP variables are indexed by Fin (n+1) with no index shift. The constraints xi=0x_i = 0xi​=0 are imposed for 1≤i<d1 \le i < d1≤i<d, so they are vacuous for d≤1d \le 1d≤1.
  • The empty code. Lean's convention 1/0=01/0 = 01/0=0 gives x~(∅)=0\tilde x(\emptyset) = 0x~(∅)=0. Proposition 8.4.4 then holds trivially, and the feasibility milestone carries the hypothesis C≠∅C \ne \emptysetC=∅ that the book's division presupposes.
  • The sphere-packing floor. The floor in the sphere-packing bound is natural-number division by a denominator that is at least 111.
  • Positive semidefiniteness. This is Mathlib's Matrix.PosSemidef over R\mathbb RR.

No trivialization. The goal is not stated as "A(n,d)≤sup⁡A(n,d) \le \supA(n,d)≤sup" with a real supremum, which Lean would evaluate to 000 on an empty or unbounded set. Its hypothesis ranges over upper bounds of a feasible program: (1,0,…,0)(1,0,\dots,0)(1,0,…,0) is always feasible, so the hypothesis is never vacuous.

Contributions welcome. Useful lemmas include:

  • Krawtchouk identities, for example ∑tKt(n,i)=2n[i=0]\sum_{t}K_t(n,i) = 2^n[i=0]∑t​Kt​(n,i)=2n[i=0] and Ki(n,t)(ni)=Kt(n,i)(nt)K_i(n,t)\binom ni = K_t(n,i)\binom ntKi​(n,t)(in​)=Kt​(n,i)(tn​);
  • counting words of weight ttt that meet a fixed support in exactly jjj positions;
  • general facts on character sums ∑w∈C(−1)wTv\sum_{\mathbf w\in C}(-1)^{\mathbf w^T\mathbf v}∑w∈C​(−1)wTv.

These are reusable for other LP and SDP bounds in coding theory.

Selected references

  • J. Matoušek, B. Gärtner, Understanding and Using Linear Programming, Springer Universitext, 2007, §8.4. https://doi.org/10.1007/978-3-540-30717-4
  • P. Delsarte, An algebraic approach to the association schemes of coding theory, Philips Research Reports Supplements 10, 1973.
  • M. R. Best, A. E. Brouwer, F. J. MacWilliams, A. M. Odlyzko, N. J. A. Sloane, Bounds for binary codes of length less than 25, IEEE Trans. Inform. Theory 24 (1978), 81–93. https://doi.org/10.1109/TIT.1978.1055827
  • A. Schrijver, New code upper bounds from the Terwilliger algebra and semidefinite programming, IEEE Trans. Inform. Theory 51 (2005), 2859–2866. https://doi.org/10.1109/TIT.2005.851748
10 thms2 active usersReviewed
CombinatoricsLinear OptimizationOperations Research+1·Captain: mikedeng1

Understanding and Using Linear Programming VII: LP Rounding Schedules Unrelated Machines Within Twice the Optimal MakespanTextbook

Motivation

Scheduling indivisible jobs on parallel machines to finish all of them as early as possible is a basic problem in operations research and in the theory of algorithms. In the unrelated machines model each job may take a different time on each machine, with no relation between the rows of the time table, as when machines of different types (black-and-white, duplex, colour copiers in the book's example) handle jobs of different kinds. Minimizing the makespan in this model is NP-hard, so the question is how close to the optimum a polynomial-time algorithm can get.

  • 1990. Lenstra, Shmoys and Tardos (Math. Programming 46, 259–271) give a polynomial-time algorithm that rounds a basic optimal solution of a linear programming relaxation and returns a schedule of makespan at most 2 topt2\,t_{\mathrm{opt}}2topt​. The same paper shows that approximating the optimum makespan within a factor less than 3/23/23/2 is NP-hard.
  • 2007. Matoušek and Gärtner present the algorithm in §8.3 of Understanding and Using Linear Programming in a simplified, somewhat less efficient form: minimize t∗(T)+Tt^*(T) + Tt∗(T)+T over the thresholds TTT rather than binary-searching for the smallest TTT with t∗(T)≤Tt^*(T) \le Tt∗(T)≤T. This mission follows the book's presentation.

The gap between 3/23/23/2 and 222 for the general unrelated-machines problem has remained open since 1990; it is the standard example of LP rounding driven by the sparsity of basic solutions.

Setting

There are mmm machines MMM and nnn jobs JJJ; dij>0d_{ij} > 0dij​>0 is the running time of job jjj on machine iii. A schedule is a map σ:J→M\sigma : J \to Mσ:J→M assigning each job to one machine. The load of machine iii is ∑j:σ(j)=idij\sum_{j:\sigma(j)=i} d_{ij}∑j:σ(j)=i​dij​, the makespan of σ\sigmaσ is the largest load, and toptt_{\mathrm{opt}}topt​ is the makespan of an optimal schedule, one whose makespan is at most that of every schedule.

For a real threshold TTT, the linear program LPR(T)\mathrm{LPR}(T)LPR(T) in the variables ttt and xijx_{ij}xij​ is

minimize  tsubject to  ∑i∈Mxij=1  (j∈J),∑j∈Jdijxij≤t  (i∈M),xij≥0,xij=0  whenever dij>T.\begin{aligned} \text{minimize } \ & t \\ \text{subject to } \ & \textstyle\sum_{i \in M} x_{ij} = 1 \ \ (j \in J), \qquad \textstyle\sum_{j \in J} d_{ij} x_{ij} \le t \ \ (i \in M),\\ & x_{ij} \ge 0, \qquad x_{ij} = 0 \ \text{ whenever } d_{ij} > T . \end{aligned}minimize  subject to  ​t∑i∈M​xij​=1  (j∈J),∑j∈J​dij​xij​≤t  (i∈M),xij​≥0,xij​=0  whenever dij​>T.​

Its optimal value is t∗(T)t^*(T)t∗(T), with t∗(T)=∞t^*(T) = \inftyt∗(T)=∞ when LPR(T)\mathrm{LPR}(T)LPR(T) is infeasible. The constraint matrix AAA has one row per machine, one per job and one per pair with dij>Td_{ij} > Tdij​>T; the column of xijx_{ij}xij​ carries dijd_{ij}dij​ in the row of machine iii, 111 in the row of job jjj, and 111 in the row of the constraint xij=0x_{ij} = 0xij​=0 if present. Assumption 8.3.1 on a solution x∗x^*x∗ is that the columns of AAA belonging to its nonzero variables are linearly independent; basic feasible solutions satisfy it. The support graph of x∗x^*x∗ is the bipartite graph G=(M∪J,E)G = (M \cup J, E)G=(M∪J,E) with E={{i,j}:xij∗>0}E = \{\{i,j\} : x^*_{ij} > 0\}E={{i,j}:xij∗​>0}.

Formalization targets

Goal: Theorem 8.3.4

Let T∗T^*T∗ minimize t∗(T)+Tt^*(T) + Tt∗(T)+T over all real TTT and let (t∗,x∗)(t^*, x^*)(t∗,x∗) be an optimal solution of LPR(T∗)\mathrm{LPR}(T^*)LPR(T∗) satisfying Assumption 8.3.1. Then there is a schedule σ\sigmaσ with xσ(j)j∗>0x^*_{\sigma(j) j} > 0xσ(j)j∗​>0 for every job jjj and

max⁡i∈M∑j:σ(j)=idij  ≤  2 topt.\max_{i \in M} \sum_{j : \sigma(j) = i} d_{ij} \;\le\; 2\, t_{\mathrm{opt}} .i∈Mmax​j:σ(j)=i∑​dij​≤2topt​.

Milestones

  1. Lemma 8.3.2. Every subgraph of the support graph GGG has at most as many edges as vertices: ∣E′∣≤∣M′∣+∣J′∣|E'| \le |M'| + |J'|∣E′∣≤∣M′∣+∣J′∣.
  2. Lemma 8.3.3. For T≥0T \ge 0T≥0 and an optimal solution (t∗,x∗)(t^*, x^*)(t∗,x∗) of LPR(T)\mathrm{LPR}(T)LPR(T) satisfying Assumption 8.3.1, some schedule along the edges of GGG has makespan at most t∗+Tt^* + Tt∗+T.
  3. Proof of Theorem 8.3.4, first step. LPR(topt)\mathrm{LPR}(t_{\mathrm{opt}})LPR(topt​) is feasible and t∗(topt)≤toptt^*(t_{\mathrm{opt}}) \le t_{\mathrm{opt}}t∗(topt​)≤topt​.
  4. Proof of Theorem 8.3.4, second step. t∗(T∗)+T∗≤2 toptt^*(T^*) + T^* \le 2\,t_{\mathrm{opt}}t∗(T∗)+T∗≤2topt​.

Significance

The theorem gives a polynomial-time 2-approximation for an NP-hard problem, and its proof isolates a reusable principle: a basic solution of an assignment-type LP has a support graph in which every subgraph has at most as many edges as vertices (a pseudoforest), so all but a matching's worth of the fractional assignment is already integral. The same sparsity argument underlies rounding results for the generalized assignment problem and for many later scheduling and allocation relaxations.

The result has been proved since 1990 and is textbook material. It is not formalized on Prove2Me or, to the maintainers' knowledge, in Mathlib. This mission produces a machine-checked version of the rounding theorem together with the counting lemma on basic solutions, the relaxation inequality t∗(topt)≤toptt^*(t_{\mathrm{opt}}) \le t_{\mathrm{opt}}t∗(topt​)≤topt​, and the bound on the chosen threshold, each stated on shared definitions of the scheduling LP.

Difficulty

The obvious approach, rounding every job to the machine carrying the largest fraction of it, can overload a machine by many jobs at once and gives no constant factor. The bound t∗+Tt^* + Tt∗+T needs two facts that are not visible from the LP value alone: that the support of a basic solution is sparse in the precise sense of Lemma 8.3.2, which has to be read off the linear independence of columns of the constraint matrix after deleting rows; and that the jobs left fractional can be matched injectively to machines, which requires a Hall-type condition derived from that sparsity. Relating linear independence of real column vectors to an edge count in a bipartite graph, and then producing a matching, is where the formal work lies.

A second subtlety is the threshold TTT: the bound t∗+T≤2toptt^* + T \le 2 t_{\mathrm{opt}}t∗+T≤2topt​ holds only because T∗T^*T∗ is chosen by minimizing over thresholds, and the relaxation at T=toptT = t_{\mathrm{opt}}T=topt​ must be compared with the one at T∗T^*T∗ through optimal solutions of different linear programs.

Formalization scope

Machines are Fin m, jobs are Fin n (0-based; the book's machines 1,…,m1,\dots,m1,…,m and jobs m+1,…,m+nm+1,\dots,m+nm+1,…,m+n are disjoint index sets), running times form d : Matrix (Fin m) (Fin n) ℝ, and the standing hypothesis dij>0d_{ij} > 0dij​>0 of §8.3 appears in every theorem. A schedule is a function Fin n → Fin m; the makespan is the supremum of the loads over the finite type Fin m, which is the maximum for m≥1m \ge 1m≥1. The optimum toptt_{\mathrm{opt}}topt​ is the makespan of a schedule assumed optimal, never an infimum.

Optimal values of LPR(T)\mathrm{LPR}(T)LPR(T) are never written as sInf: statements quantify over optimal solutions, i.e. feasible (t,x)(t, x)(t,x) with t≤t′t \le t't≤t′ for every feasible (t′,x′)(t', x')(t′,x′). The book's convention t∗(T)=∞t^*(T) = \inftyt∗(T)=∞ for infeasible LPR(T)\mathrm{LPR}(T)LPR(T) is encoded by letting thresholds without an optimal solution impose no condition in the minimality hypothesis on T∗T^*T∗, which reads t∗+T∗≤t+Tt^* + T^* \le t + Tt∗+T∗≤t+T for every real TTT and every optimal solution (t,x)(t, x)(t,x) of LPR(T)\mathrm{LPR}(T)LPR(T). The constraint matrix used in Assumption 8.3.1 has rows indexed by Fin m ⊕ Fin n ⊕ {(i, j) // T < d i j} and excludes the column of ttt, as on p. 151.

"Efficiently construct" in Lemma 8.3.3 and "computes" in Theorem 8.3.4 are formalized by the property of the constructed schedule, not by its running time: every job goes to a machine iii with xij∗>0x^*_{ij} > 0xij∗​>0. This constraint is what rules out the trivializing formalization — "some schedule has makespan at most 2topt2 t_{\mathrm{opt}}2topt​" is true of the optimal schedule itself and says nothing about the rounding.

A complete development needs: finite linear algebra (a linearly independent family of vectors supported on kkk coordinates has at most kkk members), Hall's marriage theorem (available in Mathlib as Finset.all_card_le_biUnion_card_iff_exists_injective), and the existence of an optimal solution of a feasible, bounded linear program (used to apply the minimality of T∗T^*T∗ at T=toptT = t_{\mathrm{opt}}T=topt​). The counting lemma for basic solutions and the definitions of LPR(T)\mathrm{LPR}(T)LPR(T) are reusable for other assignment relaxations. Proofs of any milestone, and alternative proofs of Lemma 8.3.3 by the direct pseudoforest argument of p. 153–154, are welcome.

Selected references

  • J. Matoušek, B. Gärtner, Understanding and Using Linear Programming, Springer Universitext, 2007, §8.3, pp. 148–156. https://doi.org/10.1007/978-3-540-30717-4
  • J. K. Lenstra, D. B. Shmoys, É. Tardos, Approximation algorithms for scheduling unrelated parallel machines, Mathematical Programming 46 (1990), 259–271. https://doi.org/10.1007/BF01585745
7 thms2 active usersReviewed
🏆Completed
Algorithmic Game TheoryLinear OptimizationOperations Research·Captain: mikedeng1

Understanding and Using Linear Programming VI: The Minimax Theorem for Zero-Sum GamesTextbook

Why zero-sum games belong in a linear programming course

A two-player zero-sum game models any situation in which one party's gain is exactly the other party's loss: a military allocation in the spirit of Colonel Blotto, a sealed-bid contest, rock–paper–scissors. The central question is what each player should do when the opponent is also reasoning about them. John von Neumann answered it in 1928 with the minimax theorem (von Neumann 1928): each player has a strategy guaranteeing the same number, the value of the game, whatever the opponent does. The theorem underlies modern game theory, robust decision making, and the analysis of online learning algorithms, where regret bounds are routinely derived from it.

Section 8.1 of Matoušek and Gärtner's Understanding and Using Linear Programming (Springer 2007) presents the theorem as an application of linear programming duality. This mission is the sixth of a series formalizing the capstone results of the book.

Setting

Alice has m≥1m \ge 1m≥1 pure strategies and Bob has n≥1n \ge 1n≥1. A real m×nm \times nm×n payoff matrix M=(mij)M = (m_{ij})M=(mij​) records Alice's gain, and Bob's loss, when Alice plays her iiith and Bob his jjjth pure strategy. A mixed strategy of Alice is a probability vector x∈Rm\mathbf x \in \mathbb R^mx∈Rm, ∑ixi=1\sum_i x_i = 1∑i​xi​=1, x≥0\mathbf x \ge \mathbf 0x≥0; a mixed strategy of Bob is a probability vector y∈Rn\mathbf y \in \mathbb R^ny∈Rn. When the players randomize independently, Alice's expected payoff is

xTMy=∑i,jmijxiyj.\mathbf x^T M \mathbf y = \sum_{i,j} m_{ij} x_i y_j .xTMy=i,j∑​mij​xi​yj​.

The worst-case payoffs are

β(x)=min⁡yxTMy,α(y)=max⁡xxTMy,\beta(\mathbf x) = \min_{\mathbf y} \mathbf x^T M \mathbf y, \qquad \alpha(\mathbf y) = \max_{\mathbf x} \mathbf x^T M \mathbf y,β(x)=ymin​xTMy,α(y)=xmax​xTMy,

over mixed strategies. A mixed strategy of Bob is a best response against x\mathbf xx if it minimizes xTMy\mathbf x^T M\mathbf yxTMy; a mixed strategy of Alice is a best response against y\mathbf yy if it maximizes it. A pair (x~,y~)(\tilde{\mathbf x}, \tilde{\mathbf y})(x~,y~​) is a mixed Nash equilibrium (Definition 8.1.1) if each is a best response against the other. Alice's x~\tilde{\mathbf x}x~ is worst-case optimal if β(x~)=max⁡xβ(x)\beta(\tilde{\mathbf x}) = \max_{\mathbf x} \beta(\mathbf x)β(x~)=maxx​β(x); Bob's y~\tilde{\mathbf y}y~​ is worst-case optimal if α(y~)=min⁡yα(y)\alpha(\tilde{\mathbf y}) = \min_{\mathbf y}\alpha(\mathbf y)α(y~​)=miny​α(y).

The proof in the book passes through three linear programs: the dual of (8.1), which for a fixed x\mathbf xx maximizes x0x_0x0​ subject to MTx−1x0≥0M^T \mathbf x - \mathbf 1 x_0 \ge \mathbf 0MTx−1x0​≥0; program (8.2), the same with x\mathbf xx as variables subject to ∑ixi=1\sum_i x_i = 1∑i​xi​=1, x≥0\mathbf x \ge \mathbf 0x≥0; and program (8.4), which minimizes y0y_0y0​ subject to My−1y0≤0M \mathbf y - \mathbf 1 y_0 \le \mathbf 0My−1y0​≤0, ∑jyj=1\sum_j y_j = 1∑j​yj​=1, y≥0\mathbf y \ge \mathbf 0y≥0.

Formalization targets

Goal: Theorem 8.1.3 (minimax theorem for zero-sum games)

For every m×nm \times nm×n payoff matrix with m,n≥1m, n \ge 1m,n≥1: worst-case optimal mixed strategies exist for both players; for any worst-case optimal x~\tilde{\mathbf x}x~ of Alice and y~\tilde{\mathbf y}y~​ of Bob, the pair (x~,y~)(\tilde{\mathbf x}, \tilde{\mathbf y})(x~,y~​) is a mixed Nash equilibrium; and there is a single number vvv, the value of the game, with

β(x~)=x~TMy~=α(y~)=v\beta(\tilde{\mathbf x}) = \tilde{\mathbf x}^T M \tilde{\mathbf y} = \alpha(\tilde{\mathbf y}) = vβ(x~)=x~TMy~​=α(y~​)=v

for every such pair. The third clause is what distinguishes the theorem from the existence of some saddle point.

Milestones

  1. β\betaβ and α\alphaα are attained minima and maxima (p. 135).
  2. Lemma 8.1.2(i): β(x)≤xTMy≤α(y)\beta(\mathbf x) \le \mathbf x^T M \mathbf y \le \alpha(\mathbf y)β(x)≤xTMy≤α(y) for all mixed x,y\mathbf x, \mathbf yx,y, hence max⁡xβ≤min⁡yα\max_{\mathbf x}\beta \le \min_{\mathbf y}\alphamaxx​β≤miny​α.
  3. Lemma 8.1.2(ii): both strategies of a mixed Nash equilibrium are worst-case optimal.
  4. Lemma 8.1.2(iii): β(x~)=α(y~)\beta(\tilde{\mathbf x}) = \alpha(\tilde{\mathbf y})β(x~)=α(y~​) implies that (x~,y~)(\tilde{\mathbf x}, \tilde{\mathbf y})(x~,y~​) is a mixed Nash equilibrium.
  5. The dual of (8.1) has optimal value β(x)\beta(\mathbf x)β(x) (p. 137).
  6. Eq. (8.3): an optimal solution (x~0,x~)(\tilde x_0, \tilde{\mathbf x})(x~0​,x~) of (8.2) satisfies x~0=β(x~)=max⁡xβ(x)\tilde x_0 = \beta(\tilde{\mathbf x}) = \max_{\mathbf x}\beta(\mathbf x)x~0​=β(x~)=maxx​β(x).
  7. Eq. (8.5): an optimal solution (y~0,y~)(\tilde y_0, \tilde{\mathbf y})(y~​0​,y~​) of (8.4) satisfies y~0=α(y~)=min⁡yα(y)\tilde y_0 = \alpha(\tilde{\mathbf y}) = \min_{\mathbf y}\alpha(\mathbf y)y~​0​=α(y~​)=miny​α(y).
  8. Programs (8.2) and (8.4) both have optimal solutions, and their optimum values coincide (p. 138).
  9. The minimax equality (p. 137):
max⁡xmin⁡yxTMy=min⁡ymax⁡xxTMy.\max_{\mathbf x}\min_{\mathbf y}\mathbf x^T M \mathbf y = \min_{\mathbf y}\max_{\mathbf x}\mathbf x^T M \mathbf y .xmax​ymin​xTMy=ymin​xmax​xTMy.

Significance

The theorem gives a complete prescription for zero-sum play: a worst-case optimal strategy secures at least the value against any opponent, and a worst-case optimal opponent holds the player to at most the value, so both players can announce their strategies in advance without loss. With Lemma 8.1.2(ii) it yields a characterization: a pair of mixed strategies is a Nash equilibrium if and only if both are worst-case optimal. The minimax equality is used downstream in online learning (regret-to-value arguments), in robust optimization, and in Yao's principle for randomized algorithms.

The mathematics is classical and proved; what this mission adds is a machine-checked version in the book's own formulation. The platform already has AGT.zero_sum_minimax (Algorithmic Game Theory I), which proves the existence of a saddle point, and the general FamousTheorems.sion_minimax_theorem. Neither states that every pair of worst-case optimal strategies is an equilibrium with a common value, and neither exhibits the LP route: the dual of (8.1), the programs (8.2) and (8.4), and their duality. The mission records that route statement by statement, so that it can be reused as a worked instance of LP duality.

Difficulty

Lemma 8.1.2 is routine; the entire content is the reverse inequality max⁡xβ(x)≥min⁡yα(y)\max_{\mathbf x}\beta(\mathbf x) \ge \min_{\mathbf y}\alpha(\mathbf y)maxx​β(x)≥miny​α(y). The obvious attack, maximizing β\betaβ directly, fails because β\betaβ is a minimum of linear functions and hence not linear, so its maximization is not a linear program as written. The obstacle is removed only by an appeal to LP duality in the proof, together with the facts that the simplices are nonempty and compact, and that the relevant programs are feasible and bounded so that optima exist. None of this is supplied by the pure-strategy structure of the game: pure Nash equilibria need not exist (rock–paper–scissors has none).

Formalization scope

Pure strategies are indexed by Fin m and Fin n, with the book's standing assumption m,n≥1m, n \ge 1m,n≥1 carried as hypotheses 1 ≤ m, 1 ≤ n by every theorem; the book's indices 1,…,m1,\dots,m1,…,m become 0,…,m−10,\dots,m-10,…,m−1. Mixed strategies are Mathlib's stdSimplex ℝ (Fin m), the payoff is x ⬝ᵥ (M *ᵥ y). β(x)\beta(\mathbf x)β(x) is the real sInf and α(y)\alpha(\mathbf y)α(y) the real sSup of the payoffs over the opponent's simplex; milestone 1 states that these are attained. A mixed Nash equilibrium is defined in the verbal form of Definition 8.1.1 (mutual best responses). Worst-case optimality is defined against all mixed strategies, never as a saddle-point condition, so the goal is not circular with Lemma 8.1.2(iii). LP optimality is stated as "feasible and at least as good as every feasible point", so no supremum over a possibly empty or unbounded feasible set is used.

The book's clause that worst-case optimal strategies "can be efficiently computed by linear programming" is algorithmic and is not part of the formal statement; there is no complexity model. A goal asserting only the existence of worst-case optimal strategies, or only the existence of some equilibrium, would drop the theorem's third clause and is ruled out: the common value vvv is quantified before all pairs of worst-case optimal strategies.

A complete development needs compactness of the standard simplex, continuity of the bilinear payoff, and a strong duality theorem for linear programs in the form of the programs (8.2)/(8.4); the latter is reusable across the whole series. Proofs by other routes (Sion's theorem, a separating hyperplane argument, fixed points) are welcome for the goal; the LP milestones stand on their own as statements about the programs.

Selected references

  • J. Matoušek, B. Gärtner, Understanding and Using Linear Programming, Springer Universitext, 2007, §8.1, pp. 131–142. https://doi.org/10.1007/978-3-540-30717-4
  • J. von Neumann, "Zur Theorie der Gesellschaftsspiele", Mathematische Annalen 100 (1928), 295–320. https://doi.org/10.1007/BF01448847
  • M. Sion, "On general minimax theorems", Pacific Journal of Mathematics 8 (1958), 171–176. https://doi.org/10.2140/pjm.1958.8.171
12 thms2 active usersReviewed
Convex OptimizationLinear OptimizationOperations Research·Captain: mikedeng1

Understanding and Using Linear Programming V: The Primal–Dual Central Path and the Self-Dual EmbeddingTextbook

Motivation

Interior point methods solve linear programs in a number of iterations polynomial in the input size, and in practice they compete with the simplex method on large instances. Their modern form goes back to Karmarkar's projective algorithm (Karmarkar 1984); the primal–dual path-following variant analysed in textbooks follows a curve, the central path, defined by a perturbed system of optimality conditions. Two facts make the method well defined. First, the central path exists and is unique whenever the primal and dual programs have strictly feasible points. Second, an arbitrary linear program, possibly infeasible or unbounded, can be embedded in an auxiliary program that has an explicit starting point on its own central path and whose suitable optimal solutions either solve the original program or certify that it has no optimum.

Chapter 7, §7.2 of Matoušek and Gärtner, Understanding and Using Linear Programming (Springer 2007), presents both facts in elementary form, following Terlaky (2001). This mission formalizes its three numbered lemmas.

Timeline. The homogeneous system bearing their names is due to Goldman and Tucker (1956), in the study of the structure of optimal solution sets; the self-dual embedding for interior point methods was introduced by Ye, Todd and Mizuno (1994), and the book's presentation follows the skew-symmetric form in Roos, Terlaky and Vial (2005).

Setting

Let AAA be a real m×nm\times nm×n matrix, b∈Rmb\in\mathbb{R}^mb∈Rm, c∈Rnc\in\mathbb{R}^nc∈Rn. The linear program in equational form (7.2) is

maximize cTx subject to Ax=b, x≥0,\text{maximize } c^{T}x \text{ subject to } Ax=b,\ x\ge 0,maximize cTx subject to Ax=b, x≥0,

where AAA has rank mmm; its dual (7.5) is: minimize bTyb^{T}ybTy subject to ATy≥cA^{T}y\ge cATy≥c, y∈Rmy\in\mathbb{R}^my∈Rm. The notation x>0x>0x>0 means that all coordinates of xxx are strictly positive. For μ>0\mu>0μ>0 the barrier function is fμ(x)=cTx+μ∑j=1nln⁡xjf_\mu(x)=c^{T}x+\mu\sum_{j=1}^n\ln x_jfμ​(x)=cTx+μ∑j=1n​lnxj​, defined for x>0x>0x>0. The central-path system (7.4), in unknowns x,s∈Rnx,s\in\mathbb{R}^nx,s∈Rn and y∈Rmy\in\mathbb{R}^my∈Rm, is

Ax=b,ATy−s=c,(s1x1,…,snxn)=μ1,x,s≥0.Ax=b,\qquad A^{T}y-s=c,\qquad (s_1x_1,\dots,s_nx_n)=\mu\mathbf 1,\qquad x,s\ge 0 .Ax=b,ATy−s=c,(s1​x1​,…,sn​xn​)=μ1,x,s≥0.

For the embedding, the book switches to the inequality form (7.7): maximize cTxc^{T}xcTx subject to Ax≤bAx\le bAx≤b, x≥0x\ge 0x≥0, with dual: minimize bTyb^{T}ybTy subject to ATy≥cA^{T}y\ge cATy≥c, y≥0y\ge 0y≥0. The Goldman–Tucker system (GTS) is

Ax−τb≤0,−ATy+τc≤0,bTy−cTx≤0,x,y≥0, τ≥0,Ax-\tau b\le 0,\qquad -A^{T}y+\tau c\le 0,\qquad b^{T}y-c^{T}x\le 0,\qquad x,y\ge 0,\ \tau\ge 0,Ax−τb≤0,−ATy+τc≤0,bTy−cTx≤0,x,y≥0, τ≥0,

and ρ=ρ(x,y)=cTx−bTy\rho=\rho(x,y)=c^{T}x-b^{T}yρ=ρ(x,y)=cTx−bTy is the slack of its last inequality. With u=(y,x,τ)∈Rku=(y,x,\tau)\in\mathbb{R}^ku=(y,x,τ)∈Rk, k=n+m+1k=n+m+1k=n+m+1, (GTS) reads M0u≤0M_0u\le 0M0​u≤0, u≥0u\ge 0u≥0 for the skew-symmetric matrix

M0=(0A−b−AT0cbT−cT0).M_0=\begin{pmatrix}0&A&-b\\-A^{T}&0&c\\b^{T}&-c^{T}&0\end{pmatrix}.M0​=​0−ATbT​A0−cT​−bc0​​.

Put r=1+M01r=\mathbf 1+M_0\mathbf 1r=1+M0​1, M=(M0−rrT0)M=\begin{pmatrix}M_0&-r\\r^{T}&0\end{pmatrix}M=(M0​rT​−r0​) and q=(0,…,0,k+1)∈Rk+1q=(0,\dots,0,k+1)\in\mathbb{R}^{k+1}q=(0,…,0,k+1)∈Rk+1. The self-dual program (SD) in v=(u,ϑ)v=(u,\vartheta)v=(u,ϑ) is: maximize −qTv-q^{T}v−qTv subject to Mv≤qMv\le qMv≤q, v≥0v\ge 0v≥0. Its slacks are z=q−Mvz=q-Mvz=q−Mv, and a feasible vvv is strictly complementary if vj>0v_j>0vj​>0 or zj>0z_j>0zj​>0 for every j=1,…,k+1j=1,\dots,k+1j=1,…,k+1.

Formalization targets

Goal: Lemma 7.2.1 (p. 121)

If (7.2) has a feasible x~>0\tilde x>0x~>0 and (7.5) has a feasible y~\tilde yy~​ with s~=ATy~−c>0\tilde s=A^{T}\tilde y-c>0s~=ATy~​−c>0, then for every μ>0\mu>0μ>0

∃! (x∗,y∗,s∗) solving (7.4),x∗=arg⁡max⁡{fμ(x):Ax=b, x>0} (uniquely).\exists!\,(x^*,y^*,s^*)\ \text{solving (7.4)},\qquad x^*=\arg\max\{f_\mu(x): Ax=b,\ x>0\}\ \text{(uniquely)}.∃!(x∗,y∗,s∗) solving (7.4),x∗=argmax{fμ​(x):Ax=b, x>0} (uniquely).

Milestones

  1. Claim in the proof of Lemma 7.2.1 (p. 121): under the lemma's assumptions and for fixed μ>0\mu>0μ>0, the set Q={x:Ax=b, x>0, fμ(x)≥fμ(x~)}Q=\{x: Ax=b,\ x>0,\ f_\mu(x)\ge f_\mu(\tilde x)\}Q={x:Ax=b, x>0, fμ​(x)≥fμ​(x~)} is bounded.
  2. Lemma 7.2.2 (p. 126): no solution of (GTS) has τ≠0\tau\ne 0τ=0 and ρ≠0\rho\ne 0ρ=0; exactly one of "a solution with τ>0\tau>0τ>0" and "a solution with ρ>0\rho>0ρ>0" exists; in the first case 1τx\frac1\tau xτ1​x and 1τy\frac1\tau yτ1​y are optimal for (7.7) and its dual; in the second, (7.7) is infeasible or unbounded.
  3. Lemma 7.2.3 (p. 128): (SD) is feasible and bounded, every optimal solution has ϑ=0\vartheta=0ϑ=0 and its uuu-part solves (GTS), and every strictly complementary optimal solution gives a solution of (GTS) with τ>0\tau>0τ>0 or ρ>0\rho>0ρ>0.

Significance

Lemma 7.2.1 is what makes "the central path" a well-defined object: without existence, a path-following method has nothing to follow, and without uniqueness the point x∗(μ)x^*(\mu)x∗(μ) that the algorithm approximates is not determined. It also identifies the barrier maximizer with the solution of the Lagrange system (7.4), which is the system the Newton steps of the algorithm linearize. Lemmas 7.2.2 and 7.2.3 remove the need for an interior starting point and for knowing in advance that the program has an optimum: every linear program reduces to computing a strictly complementary optimal solution of a program with a known interior point on its central path.

The three lemmas are classical and proved in the book (7.2.2 as a sketch). Formalizing them adds a machine-checked account of the central path in equational form, and of the Goldman–Tucker and self-dual constructions with explicit block matrices, reusable by any later formalization of interior point complexity bounds. As far as a search of the platform shows, no formal statement of the Goldman–Tucker system or of the self-dual embedding exists there; the nearest item, Lemma 9.5 of Introduction to Linear Optimization XII (Bertsimas–Tsitsiklis), characterizes the central path by KKT conditions and is not linked to a formal statement.

Difficulty

For Lemma 7.2.1, uniqueness of a maximizer follows from strict concavity, but existence does not: the feasible region {Ax=b, x>0}\{Ax=b,\ x>0\}{Ax=b, x>0} is open relative to its affine hull and typically unbounded, and fμf_\mufμ​ need not attain its supremum on such a set. The interior dual point is what rules out escape to infinity; the primal interior point is what rules out escape to the boundary. Identifying the maximizer with the unique solution of (7.4) further needs the Lagrange multiplier rule on an open set and the full row rank of AAA to determine yyy from sss.

For Lemma 7.2.2 the exclusivity and the optimality statements are weak-duality arguments, but existence of a solution with ρ>0\rho>0ρ>0 when (7.7) is infeasible or unbounded requires a Farkas-type alternative for both the primal and the dual, and the case split in the book's sketch ("the dual case is analogous") must be carried out. Lemma 7.2.3 requires bookkeeping with the block structure of MMM and the skew-symmetry of M0M_0M0​.

Formalization scope

Vectors are functions Fin n → ℝ and Fin m → ℝ; the book's indices 1,…,n1,\dots,n1,…,n become 0,…,n−10,\dots,n-10,…,n−1. Matrices are Matrix (Fin m) (Fin n) ℝ, inequalities between vectors are componentwise, x>0x>0x>0 is ∀ j, 0 < x j. The rank condition of (7.2) is the hypothesis A.rank = m. Optimal solutions and unboundedness are expressed against every feasible point, never through a real supremum. The vector u=(y,x,τ)u=(y,x,\tau)u=(y,x,τ) is indexed by Fin m ⊕ Fin n ⊕ Unit and v=(u,ϑ)v=(u,\vartheta)v=(u,ϑ) by (Fin m ⊕ Fin n ⊕ Unit) ⊕ Unit; M0M_0M0​, rrr, MMM and qqq are defined entrywise on these index types, with the last entry of qqq equal to k+1=n+m+2k+1=n+m+2k+1=n+m+2. "Exactly one" in Lemma 7.2.2 is Xor.

Lean's Real.log returns 000 for nonpositive arguments, so a statement comparing fμf_\mufμ​ over {Ax=b}\{Ax=b\}{Ax=b} or {Ax=b, x≥0}\{Ax=b,\ x\ge 0\}{Ax=b, x≥0} would be a different, and generally false or trivial, claim; every comparison of barrier values is restricted to points with all coordinates strictly positive. The unique solution of (7.4) is stated as existence plus equality of every solution with it, not as existence of some solution.

Useful infrastructure: strict concavity of sums of logarithms, the Lagrange multiplier rule for affine constraints (Mathlib's IsLocalExtrOn.exists_multipliers_of_hasStrictFDerivAt or a direct orthogonality argument), compactness of closed bounded sets in Fin n → ℝ, and Farkas' lemma in the forms of Proposition 6.4.1 of the book. Proofs of the milestones, alternative arguments, and general lemmas about skew-symmetric linear programs are all welcome.

Selected references

  • J. Matoušek, B. Gärtner, Understanding and Using Linear Programming, Springer Universitext, 2007, §7.2. https://doi.org/10.1007/978-3-540-30717-4
  • T. Terlaky, An easy way to teach interior-point methods, European Journal of Operational Research 130(1), 2001, 1–19.
  • C. Roos, T. Terlaky, J.-P. Vial, Interior Point Methods for Linear Optimization, 2nd ed., Springer, 2005. https://doi.org/10.1007/b100325
  • A. J. Goldman, A. W. Tucker, Theory of linear programming, in Linear Inequalities and Related Systems, Annals of Mathematics Studies 38, Princeton University Press, 1956, 53–97.
  • Y. Ye, M. J. Todd, S. Mizuno, An O(nL)O(\sqrt{n}L)O(n​L)-iteration homogeneous and self-dual linear programming algorithm, Mathematics of Operations Research 19(1), 1994, 53–67. https://doi.org/10.1287/moor.19.1.53
  • N. Karmarkar, A new polynomial-time algorithm for linear programming, Combinatorica 4, 1984, 373–395. https://doi.org/10.1007/BF02579150
  • F. A. Potra, S. J. Wright, Interior-point methods, Journal of Computational and Applied Mathematics 124, 2000, 281–302.
6 thms2 active usersReviewed
🏆Completed
Linear OptimizationOperations Research·Captain: mikedeng1

Understanding and Using Linear Programming II: Optimal Basic Feasible Solutions and Vertices in Equational FormTextbook

Motivation

Every finite algorithm for linear programming rests on one structural fact: if a linear program has an optimum at all, it has one at a point singled out by finitely many linear conditions. The simplex method walks between such points, and exact complexity analyses, sensitivity analysis and integrality arguments all start from them. Chapter 4 of J. Matoušek and B. Gärtner, Understanding and Using Linear Programming (Springer, 2007, DOI 10.1007/978-3-540-30717-4), establishes this fact for linear programs in equational form, in the definitions that the rest of the book (the simplex method of Chapter 5, duality in Chapter 6, the applications in Chapter 8) uses.

This mission is the second of a series formalizing that book. It fixes the book's notion of a basic feasible solution and of a vertex, and targets the theorem that optimal solutions exist whenever the program is feasible and bounded, and can then be chosen basic.

Setting

A linear program in equational form is

maximize cTxsubject toAx=b, x≥0,\text{maximize } c^{T}x \quad\text{subject to}\quad Ax=b,\ x\ge 0,maximize cTxsubject toAx=b, x≥0,

where AAA is a real m×nm\times nm×n matrix, b∈Rmb\in\mathbb{R}^mb∈Rm, c∈Rnc\in\mathbb{R}^nc∈Rn, and x≥0x\ge 0x≥0 means every coordinate of xxx is nonnegative. A feasible solution is an x∈Rnx\in\mathbb{R}^nx∈Rn satisfying both constraints; the set of them is PPP. An optimal solution is a feasible xxx with cTy≤cTxc^{T}y\le c^{T}xcTy≤cTx for every feasible yyy. The objective is bounded from above if some real MMM satisfies cTx≤Mc^{T}x\le McTx≤M for all feasible xxx.

Throughout Section 4.2 the book assumes that AAA has n≥mn\ge mn≥m columns and rank mmm (its rows are linearly independent). For S⊆{1,…,n}S\subseteq\{1,\dots,n\}S⊆{1,…,n}, ASA_SAS​ denotes the matrix formed by the columns of AAA with indices in SSS. A basis is an mmm-element set BBB for which ABA_BAB​ is nonsingular, i.e. its columns are linearly independent. A basic feasible solution is a feasible xxx for which some basis BBB has xj=0x_j=0xj​=0 for every j∉Bj\notin Bj∈/B.

A point vvv is a vertex of PPP if v∈Pv\in Pv∈P and some nonzero c∈Rnc\in\mathbb{R}^nc∈Rn satisfies cTv>cTyc^{T}v>c^{T}ycTv>cTy for every y∈P∖{v}y\in P\setminus\{v\}y∈P∖{v}: vvv is the unique maximizer over PPP of a nonzero linear function.

Formalization targets

Goal: Theorem 4.2.3 (p. 46)

For AAA of rank mmm with n≥mn\ge mn≥m,

(P≠∅ ∧ ∃M ∀x∈P, cTx≤M) ⟹ ∃ x∗ optimal,\Bigl(P\neq\emptyset\ \wedge\ \exists M\ \forall x\in P,\ c^{T}x\le M\Bigr)\ \Longrightarrow\ \exists\,x^{*}\ \text{optimal},(P=∅ ∧ ∃M ∀x∈P, cTx≤M) ⟹ ∃x∗ optimal, ∃ x∗ optimal ⟹ ∃ x~ optimal and basic feasible.\exists\,x^{*}\ \text{optimal}\ \Longrightarrow\ \exists\,\tilde x\ \text{optimal and basic feasible}.∃x∗ optimal ⟹ ∃x~ optimal and basic feasible.

Both parts are one theorem, as in the book. Part (i) says optimal solutions fail to exist only for the two obvious reasons, infeasibility and unboundedness; part (ii) says an optimum can always be found among basic feasible solutions.

Milestones

  1. Lemma 4.2.1 (p. 45): a feasible xxx is basic if and only if the columns of AKA_KAK​ are linearly independent, where K={j:xj>0}K=\{j : x_j>0\}K={j:xj​>0}.
  2. Proposition 4.2.2 (p. 45): for a basis BBB there is at most one feasible solution vanishing outside BBB.
  3. The statement proved inside the proof of Theorem 4.2.3 (p. 47): if the objective is bounded above, every feasible x0x_0x0​ is dominated by a basic feasible x~\tilde xx~, cTx~≥cTx0c^{T}\tilde x\ge c^{T}x_0cTx~≥cTx0​.
  4. Theorem 4.4.1 (p. 54): a point of PPP is a vertex of PPP if and only if it is a basic feasible solution.

Significance

Theorem 4.2.3 gives a finite, if impractical, algorithm for linear programming: enumerate the at most (nm)\binom{n}{m}(mn​) sets BBB, solve ABxB=bA_Bx_B=bAB​xB​=b, and keep the best nonnegative solution. It is the correctness backbone of the simplex method, which visits basic feasible solutions in a smarter order, and it is the source of the book's claim that a feasible and bounded linear program has an optimal solution. Theorem 4.4.1 identifies this algebraic notion with the geometric corners of the feasible polyhedron, which is what makes statements such as "the LP relaxation has an integral vertex" in later chapters meaningful.

All of these results are classical and fully proved in the book. The value of formalizing them here is the definition layer: later missions of this series (Bland's rule, the central path, the scheduling application) state their results about bases and basic feasible solutions in exactly these definitions, and a proved Theorem 4.2.3 in this form lets them import the existence of an optimal basic solution instead of re-deriving it. Related facts are already machine-checked on Prove2Me in the formulation of Bertsimas and Tsitsiklis (Introduction to Linear Optimization I and II: minimization over polyhedra {x:aiTx≥bi}\{x : a_i^{T}x\ge b_i\}{x:aiT​x≥bi​}, extreme points, basic solutions as nnn active linearly independent constraints). Those statements concern a different presentation of the program and a different notion of basic solution; connecting them to the equational-form statements here is itself a welcome contribution.

Difficulty

The obvious argument for part (i), "a continuous function on a closed set bounded above attains its supremum", fails: the feasible set is usually unbounded, and a linear function bounded above on an unbounded closed convex set need not obviously attain its supremum without using the polyhedral structure. The existence of an optimum is exactly the nontrivial content of part (i); compactness is not available.

For milestone 1, the delicate direction is the converse: a set of linearly independent columns indexed by KKK must be completed to an mmm-element basis, which requires the rank-mmm assumption. For Theorem 4.4.1, the direction from vertex to basic feasible solution is not local: a vertex is defined by an optimization property, while basicness is a statement about the support of the point.

Formalization scope

All items live in the namespace MatousekLP.BFS and share one definition module, MatousekLP.BFS.EquationalForm. Conventions:

  • vectors are Fin n → ℝ, matrices Matrix (Fin m) (Fin n) ℝ; the book's indices 1,…,n1,\dots,n1,…,n are 0, …, n-1;
  • Ax=bAx=bAx=b is A *ᵥ x = b, x≥0x\ge 0x≥0 is 0 ≤ x (pointwise), cTxc^{T}xcTx is c ⬝ᵥ x;
  • a subset BBB of indices is a Finset (Fin n); "ABA_BAB​ nonsingular" is linear independence over R\mathbb{R}R of the family of columns of AAA indexed by the elements of BBB, together with B.card = m;
  • the standing assumption of §4.2 is the pair of hypotheses m ≤ n and A.rank = m on every theorem;
  • "optimal" and "bounded from above" are stated against every feasible point. No real supremum over the feasible set appears anywhere, so an empty or unbounded feasible set cannot make a statement hold through a default value;
  • "vertex" is the book's unique-maximizer definition of p. 53, not Mathlib's Set.extremePoints; the book's remark on p. 55 that the two coincide is not used as a definition;
  • Theorem 4.4.1 carries the extra hypothesis n≥1n\ge 1n≥1: for n=0n=0n=0 there is no nonzero vector in R0\mathbb{R}^0R0, the single feasible point 000 is basic but not a vertex, and the book's equivalence fails.

A formalization in which "optimal" were defined through sSup of the objective over the feasible set would make part (ii) trivially true or false on unbounded programs; the definitions here rule that out. Dropping the rank hypothesis would make part (ii) false (no basis exists when the rows are dependent), so it is not optional.

Reusable infrastructure: the column-restriction and basis vocabulary, the support set KKK, and the extension of a linearly independent set of columns to a basis of the column space are needed again in the simplex chapter. Proofs of any milestone, and bridges to Mathlib's Set.extremePoints or to the Bertsimas–Tsitsiklis statements on the platform, are welcome.

Selected references

  • J. Matoušek and B. Gärtner, Understanding and Using Linear Programming, Universitext, Springer, 2007, Chapter 4, pp. 41–56. https://doi.org/10.1007/978-3-540-30717-4
  • D. Bertsimas and J. N. Tsitsiklis, Introduction to Linear Optimization, Athena Scientific, 1997, Chapter 2.
  • G. M. Ziegler, Lectures on Polytopes, Graduate Texts in Mathematics 152, Springer, 1995. https://doi.org/10.1007/978-1-4613-8431-1
6 thms2 active usersReviewed
CombinatoricsGraph TheoryLinear Optimization+1·Captain: mikedeng1

Understanding and Using Linear Programming I: Integral Bipartite Matchings, Total Unimodularity and König's TheoremTextbook

Motivation

Many combinatorial optimization problems are integer programs: linear objectives and linear constraints, with the extra requirement that the variables be integers. Dropping that requirement gives the LP relaxation, which is solvable efficiently but in general only bounds the integer optimum. For a small but important class of problems the relaxation loses nothing: its optimum is attained at an integral point, so linear programming solves the combinatorial problem exactly. Bipartite matching is the standard example, and the job-assignment problem that opens Chapter 3 of Matoušek and Gärtner's Understanding and Using Linear Programming (Springer 2007) is a maximum-weight perfect matching problem in a bipartite graph.

The same phenomenon, combined with linear programming duality, produces combinatorial min–max theorems. The oldest of them is König's theorem (1931) on matchings and vertex covers in bipartite graphs; Hall's marriage theorem (1935) follows from it. This mission formalizes the book's treatment of both strands: the integrality of the bipartite matching LP (Section 3.2), total unimodularity and König's theorem (Section 8.2), and, on the same objects for general graphs, the LP-rounding 2-approximation for vertex cover (Section 3.3).

Setting

Let G=(V,E)G = (V, E)G=(V,E) be a finite simple graph. A bipartition of GGG is a pair of disjoint sets X,YX, YX,Y with X∪Y=VX \cup Y = VX∪Y=V such that every edge joins a vertex of XXX to a vertex of YYY; GGG is bipartite if it has one. A matching is a set M⊆EM \subseteq EM⊆E in which each vertex is incident to at most one edge; a vertex cover is a set C⊆VC \subseteq VC⊆V containing at least one end-vertex of every edge. A matching is maximum if no matching has more edges; a vertex cover is minimum if no vertex cover has fewer vertices.

The incidence matrix of GGG has a row for each vertex and a column for each edge, with entry 111 when the vertex lies on the edge and 000 otherwise. A real matrix is totally unimodular if every square submatrix, obtained by deleting some rows and some columns, has determinant 000, 111 or −1-1−1.

Given real edge weights wew_ewe​, the integer program (3.1) maximizes ∑ewexe\sum_{e} w_e x_e∑e​we​xe​ subject to ∑e∋vxe=1\sum_{e \ni v} x_e = 1∑e∋v​xe​=1 for every vertex vvv and xe∈{0,1}x_e \in \{0,1\}xe​∈{0,1}; its 0/1 solutions are the perfect matchings. Its LP relaxation replaces xe∈{0,1}x_e \in \{0,1\}xe​∈{0,1} by 0≤xe≤10 \le x_e \le 10≤xe​≤1. The vertex-cover relaxation (3.3) minimizes ∑vxv\sum_v x_v∑v​xv​ subject to xu+xv≥1x_u + x_v \ge 1xu​+xv​≥1 for every edge {u,v}\{u,v\}{u,v} and 0≤xv≤10 \le x_v \le 10≤xv​≤1.

Formalization targets

Goal: König's theorem (Theorem 8.2.2)

For every finite bipartite graph GGG,

max⁡{∣M∣:M a matching of G}  =  min⁡{∣C∣:C a vertex cover of G}.\max\{|M| : M \text{ a matching of } G\} \;=\; \min\{|C| : C \text{ a vertex cover of } G\}.max{∣M∣:M a matching of G}=min{∣C∣:C a vertex cover of G}.

Total unimodularity (Lemmas 8.2.3–8.2.5)

A TU  ⇒  (A∣ei) TU;A TU, b∈Zm, max⁡{cTx:Ax≤b, x≥0} attained  ⇒  attained at some x∗∈Zn;A \text{ TU} \;\Rightarrow\; (A \mid e_i) \text{ TU}; \qquad A \text{ TU},\ b \in \mathbb{Z}^m,\ \max\{c^Tx : Ax \le b,\ x \ge 0\} \text{ attained} \;\Rightarrow\; \text{attained at some } x^* \in \mathbb{Z}^n;A TU⇒(A∣ei​) TU;A TU, b∈Zm, max{cTx:Ax≤b, x≥0} attained⇒attained at some x∗∈Zn;

and the incidence matrix of a bipartite graph is totally unimodular.

Integrality of the perfect-matching relaxation (Theorem 3.2.1)

If the LP relaxation of (3.1) for a bipartite graph with real weights is feasible, it has an optimal solution with all xe∈{0,1}x_e \in \{0,1\}xe​∈{0,1}, which is also optimal for (3.1).

Consequences on the same objects

Hall's theorem (Theorem 8.2.1): if ∣N(T)∣≥∣T∣|N(T)| \ge |T|∣N(T)∣≥∣T∣ for every T⊆XT \subseteq XT⊆X, where N(T)⊆YN(T) \subseteq YN(T)⊆Y is the set of neighbours of TTT, then some matching covers every vertex of XXX. And for an arbitrary graph, with x∗x^*x∗ optimal for (3.3), SLP={v:xv∗≥12}S_{LP} = \{v : x^*_v \ge \tfrac12\}SLP​={v:xv∗​≥21​} and SOPTS_{OPT}SOPT​ a minimum vertex cover (§3.3, p. 38):

SLP is a vertex cover and ∣SLP∣≤2 ∣SOPT∣.S_{LP} \text{ is a vertex cover and } |S_{LP}| \le 2\,|S_{OPT}| .SLP​ is a vertex cover and ∣SLP​∣≤2∣SOPT​∣.

Significance

König's theorem says that for bipartite graphs the two natural certificates, a matching (a lower bound on any vertex cover) and a vertex cover (an upper bound on any matching), always meet. It makes maximum matchings and minimum vertex covers computable by linear programming, whereas minimum vertex cover in general graphs is NP-hard; Section 3.3's rounding bound quantifies what the LP still gives in that general case. Lemma 8.2.4 is the general tool behind this and behind the max-flow min-cut theorem that the book mentions on p. 148: any integer program with a totally unimodular constraint matrix and integral right-hand side can be solved as a linear program.

All results here are classical and proved. The formalization work is to connect them: Mathlib already has the definition of total unimodularity (Matrix.IsTotallyUnimodular), closure under appending unit-like rows, and Hall's theorem in the form of Finset.all_card_le_biUnion_card_iff_exists_injective. To the best of the drafting survey, neither König's theorem nor the total unimodularity of bipartite incidence matrices nor the integrality lemma 8.2.4 is in Mathlib, and no König statement was found among the platform's missions. The mission produces these in a form that later chapters on network flows and combinatorial duality can import.

Difficulty

The inequality "maximum matching ≤\le≤ minimum vertex cover" is immediate, since each edge of a matching needs its own cover vertex. The difficulty is the reverse inequality, and it is exactly where bipartiteness is needed: the triangle has maximum matching 111 and minimum vertex cover 222. Along the book's route, the obstacle is that LP duality equates the optima of the two relaxations, which are real numbers; one must show that both relaxations already have integral optimal solutions, which is the content of total unimodularity and Lemma 8.2.4. Theorem 3.2.1 is a separate integrality statement with equality constraints and weights of arbitrary sign; it is not a consequence of the Birkhoff–von Neumann theorem unless the graph is complete bipartite with equal sides.

Formalization scope

Graphs are SimpleGraph V on a Fintype vertex type with decidable equality; edges are elements of Sym2 V, and a matching is a Finset (Sym2 V) of edges. Bipartiteness is the existence of finite sets X,YX, YX,Y forming a bipartition; the empty graph and the empty vertex type are allowed and the statements remain the book's there. Vertex covers are Mathlib's SimpleGraph.IsVertexCover. Matrices are real; LP vectors are Fin n → ℝ (0-based indices) or indexed by the edge set or the vertices. An "optimal solution" is always a feasible point that is at least as good as every feasible point: no supremum or infimum over a possibly empty or unbounded set is used, and König's theorem asserts that both a maximum matching and a minimum vertex cover exist and have equal size. Lemma 8.2.4 takes b∈Zmb \in \mathbb{Z}^mb∈Zm and allows real ccc; its conclusion is an integral optimal solution, not merely an integral feasible one. Theorem 3.2.1 is the perfect-matching version with equality constraints, not the "≤1\le 1≤1" matching version discussed in the book's remarks.

A formalization in which König's theorem compares a supremum and an infimum of possibly empty sets, or in which "optimal" is not tied to feasibility, would be trivializing and is ruled out by these conventions.

Useful infrastructure, reusable beyond this mission: Laplace expansion arguments for totally unimodular matrices, the equivalence of the inequality form with the equational form, existence of optimal basic feasible solutions, and LP duality in inequality form (the platform's LinearOptimization.lp_strong_duality states duality for a general-form LP). Combinatorial proofs of König and Hall are equally welcome; only the statements are fixed.

Selected references

  • J. Matoušek, B. Gärtner, Understanding and Using Linear Programming, Springer Universitext, 2007, §3.2–3.3 and §8.2. https://doi.org/10.1007/978-3-540-30717-4
  • D. Kőnig, "Gráfok és mátrixok", Matematikai és Fizikai Lapok 38 (1931), 116–119.
  • P. Hall, "On representatives of subsets", Journal of the London Mathematical Society 10 (1935), 26–30. https://doi.org/10.1112/jlms/s1-10.37.26
  • A. J. Hoffman, J. B. Kruskal, "Integral boundary points of convex polyhedra", in Linear Inequalities and Related Systems, Annals of Mathematics Studies 38, Princeton, 1956, 223–246. https://doi.org/10.1515/9781400881987-014
  • A. Schrijver, Theory of Linear and Integer Programming, Wiley, 1986, Chapter 19.
12 thms2 active usersReviewed
Algorithmic Game TheoryDynamic ProgrammingOperations Research·Captain: mikedeng1

Bellman's Dynamic Programming VIII: Multi-Stage Games, Games of Survival and the Extended Min-Max TheoremTextbook

Why multi-stage games

Chapter X of Richard Bellman's Dynamic Programming (Princeton University Press, 1957; Princeton Landmarks edition 2010, DOI 10.2307/j.ctv1nxcw0f) carries the functional-equation method of the earlier chapters from one-player decision processes to two-player zero-sum games that are played over many stages. At each stage the two players make simultaneous choices, and those choices change the state in which the next stage is played. Games of survival are the standard example. They generalize the gambler's ruin: two players with finite resources play until one of them is ruined. The same framework is the discrete-time form of what Shapley (1953) called stochastic games. It underlies pursuit games, attrition models and the later theory of dynamic games in operations research and economics.

The chapter builds on von Neumann's min-max theorem (1928), which Bellman assumes without proof (§ 3, Eq. (3.4)). It proves three kinds of result: existence and uniqueness for the general multi-stage game equation (§§ 11–16), existence and uniqueness for games of survival with integer payoffs (§ 19), and an extended min-max theorem for ratios of bilinear forms (§ 23). Bellman proposes the ratio as a criterion for non-zero-sum games.

Setting

A matrix game is given by a real M×NM\times NM×N matrix A=(aij)A=(a_{ij})A=(aij​). Player AAA chooses row iii with probability pip_ipi​ and player BBB chooses column jjj with probability qjq_jqj​; ppp and qqq are distribution vectors (points of the standard simplex). The expected return to AAA is

EA(p,q)=∑i,jaij pi qj.E_A(p,q)=\sum_{i,j}a_{ij}\,p_i\,q_j .EA​(p,q)=i,j∑​aij​pi​qj​.

The game has value vvv when max⁡pmin⁡qEA=v=min⁡qmax⁡pEA\max_p\min_q E_A=v=\min_q\max_p E_Amaxp​minq​EA​=v=minq​maxp​EA​, all extrema attained. In the Lean development this is IsMaxMinMinMaxValue, and the bilinear form is bilin.

In the general multi-stage game (§ 12) the state is a pair of vectors P∈D⊆RnP\in D\subseteq\mathbb R^nP∈D⊆Rn, P′∈D′⊆Rn′P'\in D'\subseteq\mathbb R^{n'}P′∈D′⊆Rn′ with norms ∥P∥=∑i∣Pi∣\|P\|=\sum_i|P_i|∥P∥=∑i​∣Pi​∣. In state (P,P′)(P,P')(P,P′), AAA chooses uuu in a choice domain S(P,P′)S(P,P')S(P,P′) and BBB chooses vvv in S′(P,P′)S'(P,P')S′(P,P′). AAA receives R(u,v)R(u,v)R(u,v), and play continues from the state T(P,P′;u,v)T(P,P';u,v)T(P,P′;u,v), T′(P,P′;u,v)T'(P,P';u,v)T′(P,P′;u,v) with weight h(P,P′;u,v)h(P,P';u,v)h(P,P′;u,v). Mixed strategies GGG, G′G'G′ are probability measures on the choice domains. The multi-stage game equation is

f(P,P′)=max⁡Gmin⁡G′∬[R(u,v)+h(P,P′;u,v) f(T,T′)] dG(u) dG′(v)=min⁡G′max⁡G[ ⋯ ].f(P,P')=\max_G\min_{G'}\iint\big[R(u,v)+h(P,P';u,v)\,f(T,T')\big]\,dG(u)\,dG'(v)=\min_{G'}\max_G[\ \cdots\ ].f(P,P′)=Gmax​G′min​∬[R(u,v)+h(P,P′;u,v)f(T,T′)]dG(u)dG′(v)=G′min​Gmax​[ ⋯ ].

A game of survival with integer payoffs (§ 19) has one integer state xxx, the resources of AAA out of a fixed total ddd. AAA is ruined at x≤0x\le0x≤0 and wins at x≥dx\ge dx≥d. At each stage the players play the 2×22\times22×2 game with matrix (−1ac−b)\begin{pmatrix}-1&a\\c&-b\end{pmatrix}(−1c​a−b​), whose entries are the transfers to AAA.

Formalization targets

Goal: the extended min-max theorem (Chapter X, Theorem 7)

For real matrices A=(aij)A=(a_{ij})A=(aij​), B=(bij)B=(b_{ij})B=(bij​) with ∑i,jbijpiqj≥d>0\sum_{i,j}b_{ij}p_iq_j\ge d>0∑i,j​bij​pi​qj​≥d>0 for all distribution vectors p,qp,qp,q,

max⁡pmin⁡q∑i,jaijpiqj∑i,jbijpiqj=min⁡qmax⁡p∑i,jaijpiqj∑i,jbijpiqj.\max_p\min_q\frac{\sum_{i,j}a_{ij}p_iq_j}{\sum_{i,j}b_{ij}p_iq_j}=\min_q\max_p\frac{\sum_{i,j}a_{ij}p_iq_j}{\sum_{i,j}b_{ij}p_iq_j}.pmax​qmin​∑i,j​bij​pi​qj​∑i,j​aij​pi​qj​​=qmin​pmax​∑i,j​bij​pi​qj​∑i,j​aij​pi​qj​​.

It is the chapter's final result, and its statement involves only finite matrices.

Milestones

  1. Eq. (3.4), von Neumann's theorem VA=VBV_A=V_BVA​=VB​. It is already on the platform as AGT.zero_sum_minimax (existence of a saddle point) and enters as a reference.
  2. Lemma 1: the value of a one-stage game moves by at most the largest change of its kernel, ∣L(f)−L1(F)∣≤max⁡u,v [ ∣R−R1∣+∣h∣ ∣f(T,T′)−F(T,T′)∣ ]|L(f)-L_1(F)|\le\max_{u,v}\,[\,|R-R_1|+|h|\,|f(T,T')-F(T,T')|\,]∣L(f)−L1​(F)∣≤maxu,v​[∣R−R1​∣+∣h∣∣f(T,T′)−F(T,T′)∣].
  3. Theorem 1: under hypotheses (4a)–(4e), the multi-stage game equation has a unique solution among functions continuous on D×D′D\times D'D×D′ that vanish at the origin, and it is the uniform limit on bounded regions of the successive approximations.
  4. Theorem 3: the successive approximations converge from any admissible initial function.
  5. Theorem 4: stability, ∣f(P,P′)−F(P,P′)∣≤∑n≥0Δ(knc)|f(P,P')-F(P,P')|\le\sum_{n\ge0}\Delta(k^nc)∣f(P,P′)−F(P,P′)∣≤∑n≥0​Δ(knc).
  6. Theorem 5: the game of survival equation with boundary values 000 and 111 has a unique solution with values in [0,1][0,1][0,1].

Significance

Theorem 7 gives a value for ratio games, the games in which a player maximizes a return per unit of a resource consumed. Bellman uses it to give a rationale for the play of non-zero-sum games (§ 24) and to derive the approximate equation (22.4) for non-zero-sum games of survival. Chapter XI, Theorem 5 generalizes it to Markovian decision processes. Theorem 1 is the existence and uniqueness result that justifies replacing an infinite game by its functional equation, and Theorems 3 and 4 make that equation usable for computation and perturbation. Theorem 5 is an early uniqueness theorem for a discrete stochastic game with absorbing boundaries.

None of these statements is formalized on the platform. Von Neumann's theorem is (AGT.zero_sum_minimax, and Sion's theorem as FamousTheorems.sion_minimax_theorem). Theorem 7 is a classical result: with a positive denominator the ratio is quasiconcave in ppp and quasiconvex in qqq. This mission asks for a machine-checked proof of the book's statement, by Bellman's route or by any other. Theorems 1, 3 and 4 need a formal theory of games whose mixed strategies are probability measures on moving compact choice domains. No such theory is on the platform yet.

Difficulty

The ratio in Theorem 7 is not bilinear, and in general it is neither concave in ppp nor convex in qqq, so neither von Neumann's theorem nor a concave-convex min-max theorem applies to it directly. For Theorem 1, the contraction argument needs each one-stage game to have a value and the value to depend continuously on the state. That requires a min-max theorem for continuous games on compact sets, together with continuity of the value when the choice domains move. In Theorem 5, existence follows from monotone iteration. The uniqueness step is the hard part: the operator is not a contraction in the sup norm, and a second solution must be ruled out even at states where the optimal mixed strategies are degenerate.

Formalization scope

  • Distribution vectors are points of stdSimplex ℝ ι for nonempty finite types. "Max-min equals min-max" always asserts attainment (IsGreatest/IsLeast) and never uses sSup/sInf, which return 000 on empty or unbounded sets. Theorem 7 must not assume a saddle point; its only hypothesis is the bound on the denominator.
  • States are Fin n → ℝ with the ℓ1\ell^1ℓ1 norm of Eq. (12.1). Choice domains are nonempty compact sets (NonemptyCompacts), and mixed strategies are probability measures of full mass on them. "Vary continuously" in (4b), which the book does not define, is read as continuity in Mathlib's topology on nonempty compact sets (for a metric space, the topology of the Hausdorff distance).
  • The maxima w(c)w(c)w(c) of (4d) and Δ(c)\Delta(c)Δ(c) of Theorem 4 are expressed through majorants, which is equivalent to the book's condition. k≥0k\ge0k≥0 is stated explicitly. In Lemma 1 the kernels are assumed measurable and bounded on S×S′S\times S'S×S′ so that the integrals exist, and each game having a value is a hypothesis, as in Bellman's footnote 4.
  • Theorem 3's "converges" is stated as uniform convergence on bounded regions, the mode of Theorem 1, whose proof Theorem 3 repeats. Theorem 4's unspecified ccc is any c≥∥P∥+∥P′∥c\ge\|P\|+\|P'\|c≥∥P∥+∥P′∥. The book's p. 301 prints the first min-max of Theorem 4 with the subscripts GGG, G′G'G′ interchanged; the equation used is that of Theorem 1.
  • Theorem 5 adds the implicit d≥1d\ge1d≥1: for d≤0d\le0d≤0 the boundary conditions contradict each other. The state is an integer and f:Z→Rf:\mathbb Z\to\mathbb Rf:Z→R.
  • Taking the choice domains constant would trivialize Theorem 1: condition (4d) would then force R≡0R\equiv0R≡0 on them. The choice domains therefore depend on the state.
  • Not included: Theorem 2 (optimal strategies of the infinite game, which needs a model of the game's plays), Theorem 6 (non-zero-sum survival; the boundary conditions (21.3) do not cover all states, see the moderation notes).

Contributions of reusable infrastructure are welcome: the min-max theorem for continuous games on compact sets (Eq. (4.2)), continuity of the value in the choice domains, and value iteration for contracting game operators.

Selected references

  • R. Bellman, Dynamic Programming, Princeton University Press, 1957; Princeton Landmarks in Mathematics, 2010. DOI 10.2307/j.ctv1nxcw0f
  • J. von Neumann, Zur Theorie der Gesellschaftsspiele, Mathematische Annalen 100, 1928. DOI 10.1007/BF01448847
  • L. S. Shapley, Stochastic games, Proceedings of the National Academy of Sciences 39, 1953. DOI 10.1073/pnas.39.10.1095
  • M. Sion, On general minimax theorems, Pacific Journal of Mathematics 8, 1958. DOI 10.2140/pjm.1958.8.171
  • I. L. Glicksberg, A further generalization of the Kakutani fixed point theorem, with application to Nash equilibrium points, Proceedings of the AMS 3, 1952. DOI 10.1090/S0002-9939-1952-0046638-5
9 thms2 active usersReviewed
Dynamic ProgrammingOperations ResearchProbability·Captain: mikedeng1

Bellman's Dynamic Programming III: Index Rules for the Stochastic Gold-Mining ProcessTextbook

Motivation

Chapter II of Richard Bellman's Dynamic Programming (Princeton University Press, 1957) treats the stochastic gold-mining process, the first stochastic multi-stage decision process of the book whose optimal policy can be written down in closed form. There Bellman introduces decision regions, the sets of states at which a given first choice is optimal, and where he obtains an index rule: at every state, compute one number per alternative and choose the largest. The same kind of rule was later developed in general form as the Gittins index for multi-armed bandits (Gittins 1979), and the gold-mining process is an early instance of what that literature calls a deteriorating bandit, in which each alternative's index can only decrease when it is used.

Bellman first described the process in his 1954 survey The theory of dynamic programming, with the two-mine index rule stated as Eq. (8.3), and it appears on Prove2Me in a mission on that paper. The book gives the full chapter: existence and uniqueness, the rule for two mines, its extension to several outcomes per use and to any number of mines, the finite-horizon process, and a stability estimate.

Setting

Two mines, Anaconda and Bonanza, hold amounts of gold x≥0x \ge 0x≥0 and y≥0y \ge 0y≥0. A single machine is used in one mine at a time. Used in Anaconda, it mines the fraction r1r_1r1​ of the gold there and stays in working order with probability p1p_1p1​, or is destroyed without mining anything with probability 1−p11 - p_11−p1​. Bonanza has the corresponding data p2p_2p2​ and r2r_2r2​. Before each use the operator chooses a mine (choice A or B), and the process stops when the machine is destroyed. The aim is to maximize the expected total amount of gold mined.

The expected return f(x,y)f(x, y)f(x,y) under an optimal policy satisfies the functional equation

f(x,y)=max⁡[ Af(x,y),  Bf(x,y) ],x,y≥0,(5.1)f(x,y) = \max\Big[\,A_f(x,y),\; B_f(x,y)\,\Big], \qquad x, y \ge 0, \tag{5.1}f(x,y)=max[Af​(x,y),Bf​(x,y)],x,y≥0,(5.1)

where Af(x,y)=p1[r1x+f((1−r1)x, y)]A_f(x,y) = p_1\big[r_1x + f((1-r_1)x,\,y)\big]Af​(x,y)=p1​[r1​x+f((1−r1​)x,y)] is the return of an A-choice followed by optimal continuation and Bf(x,y)=p2[r2y+f(x, (1−r2)y)]B_f(x,y) = p_2\big[r_2y + f(x,\,(1-r_2)y)\big]Bf​(x,y)=p2​[r2​y+f(x,(1−r2​)y)] that of a B-choice. The NNN-stage returns are f1(x,y)=max⁡(p1r1x, p2r2y)f_1(x,y) = \max(p_1r_1x,\ p_2r_2y)f1​(x,y)=max(p1​r1​x, p2​r2​y) and fN+1=max⁡(AfN,BfN)f_{N+1} = \max(A_{f_N}, B_{f_N})fN+1​=max(AfN​​,BfN​​). The A-region of a value function is the set of points of the closed quadrant where the A-branch attains the maximum; the B-region is defined in the same way.

In the generalization, a use of mine iii has KKK outcomes: outcome kkk occurs with probability pikp_{ik}pik​, yields cikxic_{ik}x_icik​xi​ and leaves cik′xi=(1−cik)xic'_{ik}x_i = (1-c_{ik})x_icik′​xi​=(1−cik​)xi​ in the mine, and 1−∑kpik1 - \sum_k p_{ik}1−∑k​pik​ is the probability that the machine is destroyed. With nnn mines the equation is

f(x1,…,xn)=max⁡i∑k=1Kpik[cikxi+f(x1,…,cik′xi,…,xn)].(4)f(x_1,\dots,x_n) = \max_i \sum_{k=1}^{K} p_{ik}\big[c_{ik}x_i + f(x_1,\dots,c'_{ik}x_i,\dots,x_n)\big]. \tag{4}f(x1​,…,xn​)=imax​k=1∑K​pik​[cik​xi​+f(x1​,…,cik′​xi​,…,xn​)].(4)

"The solution" of an equation always means its unique solution in the class of functions bounded in every rectangle 0≤x≤Xˉ0 \le x \le \bar X0≤x≤Xˉ, 0≤y≤Yˉ0 \le y \le \bar Y0≤y≤Yˉ (or every box 0≤xi≤Xˉi0 \le x_i \le \bar X_i0≤xi​≤Xˉi​), per Bellman's footnote 7.

Formalization targets

Goal: Chapter II, Theorem 4 (the index rule for nnn mines)

Under pik≥0p_{ik} \ge 0pik​≥0, ∑kpik<1\sum_k p_{ik} < 1∑k​pik​<1, 0≤cik≤10 \le c_{ik} \le 10≤cik​≤1, cik+cik′=1c_{ik} + c'_{ik} = 1cik​+cik′​=1, equation (4) has a unique solution bounded on boxes, and at every state xxx any index maximizing

Di(x)=∑kpikcik1−∑kpik  xiD_i(x) = \frac{\sum_{k} p_{ik}c_{ik}}{1-\sum_{k} p_{ik}}\;x_iDi​(x)=1−∑k​pik​∑k​pik​cik​​xi​

attains the maximum in (4). Ties among the maximizers may be broken arbitrarily.

Milestones

  1. Theorem 1: for ∣pi∣<1|p_i| < 1∣pi​∣<1 and 0≤ri<10 \le r_i < 10≤ri​<1, (5.1) has a unique solution bounded in every rectangle, and it is continuous on the closed quadrant.
  2. Theorem 2: for 0≤pi<10 \le p_i < 10≤pi​<1, 0≤ri≤10 \le r_i \le 10≤ri​≤1, the solution takes the A-branch when p1r1x/(1−p1)>p2r2y/(1−p2)p_1r_1x/(1-p_1) > p_2r_2y/(1-p_2)p1​r1​x/(1−p1​)>p2​r2​y/(1−p2​), the B-branch when the reverse inequality holds, and both on equality.
  3. Theorem 3: the same rule for two mines with KKK outcomes per use.
  4. Theorem 5: for each NNN, the NNN-stage process has exactly two decision regions: a sector along the xxx-axis where A is optimal and a sector along the yyy-axis where B is optimal, separated by a ray through the origin.
  5. Theorem 6: as NNN grows, the regions of fNf_NfN​ move monotonically, and from some N0N_0N0​ on they coincide with those of fff.
  6. Theorem 7: if ggg solves (5.1) with an added term hhh, then ∣f−g∣≤max⁡R∣h∣/q|f - g| \le \max_R|h|/q∣f−g∣≤maxR​∣h∣/q on every rectangle RRR, where q=min⁡(1−p1,1−p2)q = \min(1-p_1, 1-p_2)q=min(1−p1​,1−p2​).

Significance

The index rule reduces the choice among nnn mines to computing nnn numbers. Each one depends only on its own mine, as the ratio of immediate expected gain to immediate expected loss. Without the theorem, an optimal policy for the NNN-stage process is a word in nnn letters whose number of candidates grows like nNn^NnN. The finite-horizon theorems show that the same rule is exactly optimal for every horizon beyond a finite N0N_0N0​, and the stability theorem bounds how much the solution moves when the equation is perturbed.

Theorem 2's content is also the target of the 1954-paper mission, where it is stated for the supremum of expected returns over choice sequences. Those statements (BellmanTheoryDP.GoldMining.gold_mining_decision_rule, …optimal_return_functional_equation) are included here as reference items. They concern a different object: the book's theorems are about the unique bounded solution of (5.1), and the two coincide once (5.1) is known to characterize the optimal return. None of the chapter's results has a machine-checked proof on the platform yet. The nnn-mine rule (Theorem 4) and the finite-horizon results (Theorems 5 and 6) are not stated anywhere on the platform.

Difficulty

The equation for the boundary between the regions involves the unknown function fff, so equating the two branches of (5.1) does not by itself locate the boundary. Comparing the orders "A then B" and "B then A" determines the index line, but only on the assumption that there are just two regions. Bellman's Figure 1 shows why that assumption carries real content: homogeneity alone only makes the regions unions of sectors, which could alternate. The assumption is not automatic either. In § 13 a third, compromise choice is added, and a counterexample shows that the three-choice problem need not have the analogous three-sector structure. For the finite-horizon process the boundary ray of fNf_NfN​ generally differs from the index line, and Theorems 5 and 6 are statements about how it differs.

Formalization scope

Namespace BellmanDP.GoldMining. Values are real functions ℝ → ℝ → ℝ (two mines) or (Fin n → ℝ) → ℝ (n mines); equations are imposed only on the closed quadrant or orthant, and uniqueness means agreement there. Mines are Fin n with n≥1n \ge 1n≥1 added (with no mine the maximum in (4) is empty). Outcomes are Fin K (Theorem 3's NNN). A maximum over two branches is max, and a maximum over mines is encoded as "every alternative is at most f(x)f(x)f(x) and one equals it". The class "bounded in any rectangle" is BoundedOnRectangles, and for nnn mines it is BoundedOnBoxes. The NNN-stage returns are goldIter N, with goldIter 0 = 0 so that goldIter 1 is the book's f1f_1f1​.

Choices made explicit:

  • Theorem 1 keeps the book's signed range ∣pi∣<1|p_i| < 1∣pi​∣<1 (footnote 2), while Theorems 2, 5, 6 and 7 use the range of § 8 and Theorem 2, 0≤pi<10 \le p_i < 10≤pi​<1, 0≤ri≤10 \le r_i \le 10≤ri​≤1.
  • The goal asserts existence and uniqueness of the bounded solution of (4) together with the index rule. This is how "the solution" is meant in the book; the extension of Theorem 1 to (4) is not a separate numbered result.
  • The goal's conclusion is the book's: a maximizer of DDD is optimal. It does not also assert that the other indices are suboptimal.
  • Theorem 5's printed statement is only "there are two decision regions". It is formalized as the ray-separation statement its proof establishes, and is titled as the precise reading. Theorem 6's "converge in a monotone fashion" is formalized as monotonicity of the regions as sets, in one of the two directions.
  • Theorem 7 adds the hypothesis that hhh is bounded in every rectangle, which is what gives the perturbed equation a solution in the class. max⁡R∣h∣\max_R|h|maxR​∣h∣ is expressed through any bound MMM of ∣h∣|h|∣h∣ on RRR.

A statement of the index rule that assumes the index policy's return satisfies (5.1) and calls it "the solution" without the bounded-class uniqueness would prove nothing about optimality. Here every theorem is about solutions in the bounded class, whose uniqueness is Theorem 1 (and part of the goal).

Contraction estimates on rectangles (Theorems 1 and 7) are reusable across the other functional-equation chapters of this series. Proofs of the goal via general index theory are welcome, provided they discharge the statements as written.

Selected references

  • Richard Bellman, Dynamic Programming, Princeton University Press, 1957; Princeton Landmarks in Mathematics ed., 2010, Chapter II, pp. 61–80. https://doi.org/10.2307/j.ctv1nxcw0f
  • Richard Bellman, The theory of dynamic programming, Bulletin of the American Mathematical Society 60 (1954), 503–515. https://doi.org/10.1090/S0002-9904-1954-09848-8
  • J. C. Gittins, Bandit processes and dynamic allocation indices, Journal of the Royal Statistical Society, Series B 41 (1979), 148–177. https://doi.org/10.1111/j.2517-6161.1979.tb01068.x
11 thms2 active usersReviewed
🏆Completed
Convex OptimizationInformation TheoryLinear algebra+1·Captain: naimengye

Decoding by Linear Programming: Exact Recovery by ℓ1 Minimization under the Restricted Isometry ConditionResearch Paper

Motivation

Consider the classical error-correcting problem. An input vector f∈Rnf \in \mathbb{R}^nf∈Rn (the plaintext) is encoded as Af∈RmAf \in \mathbb{R}^mAf∈Rm by a coding matrix AAA with m>nm > nm>n, and an unknown, arbitrary vector of errors eee corrupts the result, so that only y=Af+ey = Af + ey=Af+e is observed. Can fff be recovered exactly, and by an algorithm whose running time is polynomial in mmm? Candès and Tao (2005) answer both questions at once: if a matrix FFF annihilating AAA satisfies a restricted orthonormality condition, then fff is the unique solution of the convex program min⁡g∥y−Ag∥ℓ1\min_g \|y - Ag\|_{\ell^1}ming​∥y−Ag∥ℓ1​, which is a linear program, whenever at most SSS entries of yyy are corrupted, whatever their positions and values. Read for the matrix FFF alone, the same theorem says that ℓ1\ell^1ℓ1 minimization (basis pursuit) returns the sparsest solution of an underdetermined linear system. That statement is the mathematical core of compressed sensing, and the restricted isometry constants introduced in this paper became the standard tool of the field.

Timeline. Donoho and Huo (2001), followed by Elad–Bruckstein, Donoho–Elad and Gribonval–Nielsen, proved the equivalence of ℓ0\ell^0ℓ0 and ℓ1\ell^1ℓ1 minimization for matrices formed by concatenating two orthonormal bases, for sparsity of order m\sqrt{m}m​, through incoherence. Candès, Romberg and Tao (2004) and Candès and Tao (2004) obtained recovery with overwhelming probability for random matrices at sparsity of order m/log⁡mm/\log mm/logm. Donoho (2004) showed for Gaussian matrices that a constant, unspecified fraction ρm\rho mρm of nonzero entries can be tolerated. The present paper (December 2004, published 2005) gives a deterministic sufficient condition, δS+θS,S+θS,2S<1\delta_S + \theta_{S,S} + \theta_{S,2S} < 1δS​+θS,S​+θS,2S​<1, valid for every matrix, and specializes it to Gaussian matrices with explicit numerical values of the tolerable fraction. Later work, for instance Candès (2008) with the condition δ2S<2−1\delta_{2S} < \sqrt{2} - 1δ2S​<2​−1, sharpened the sufficient condition; those later results are not part of this mission.

Setting

Let FFF be a real p×mp \times mp×m matrix with columns v1,…,vm∈Rpv_1, \dots, v_m \in \mathbb{R}^pv1​,…,vm​∈Rp, and let HHH be the linear span of these columns. For an index set T⊆{1,…,m}T \subseteq \{1,\dots,m\}T⊆{1,…,m} and real coefficients c=(cj)j∈Tc = (c_j)_{j \in T}c=(cj​)j∈T​, write FTc=∑j∈TcjvjF_T c = \sum_{j \in T} c_j v_jFT​c=∑j∈T​cj​vj​. A vector c∈Rmc \in \mathbb{R}^mc∈Rm is supported on TTT when cj=0c_j = 0cj​=0 for all j∉Tj \notin Tj∈/T; with this convention FTcF_T cFT​c is just the product FcFcFc. Norms are the Euclidean norm ∥c∥=(∑jcj2)1/2\|c\| = (\sum_j c_j^2)^{1/2}∥c∥=(∑j​cj2​)1/2 and the ℓ1\ell^1ℓ1 norm ∥c∥ℓ1=∑j∣cj∣\|c\|_{\ell^1} = \sum_j |c_j|∥c∥ℓ1​=∑j​∣cj​∣.

Definition 1.1. For an integer SSS, the SSS-restricted isometry constant δS\delta_SδS​ is the smallest quantity such that

(1−δS)∥c∥2≤∥FTc∥2≤(1+δS)∥c∥2(1 - \delta_S)\|c\|^2 \le \|F_T c\|^2 \le (1 + \delta_S)\|c\|^2(1−δS​)∥c∥2≤∥FT​c∥2≤(1+δS​)∥c∥2

for all TTT of cardinality at most SSS and all real coefficients (cj)j∈T(c_j)_{j \in T}(cj​)j∈T​. The S,S′S, S'S,S′-restricted orthogonality constant θS,S′\theta_{S,S'}θS,S′​ is the smallest quantity such that

∣⟨FTc,FT′c′⟩∣≤θS,S′ ∥c∥ ∥c′∥|\langle F_T c, F_{T'} c' \rangle| \le \theta_{S,S'} \, \|c\| \, \|c'\|∣⟨FT​c,FT′​c′⟩∣≤θS,S′​∥c∥∥c′∥

for all disjoint T,T′T, T'T,T′ with ∣T∣≤S|T| \le S∣T∣≤S and ∣T′∣≤S′|T'| \le S'∣T′∣≤S′. The paper writes θS\theta_SθS​ for θS,S\theta_{S,S}θS,S​. These numbers measure how far the columns of FFF are from an orthonormal system when only linear combinations of at most SSS columns are considered.

The two optimization problems are

(P1)min⁡d∈Rm∥d∥ℓ1  subject to  Fd=f,(P1′)min⁡g∈Rn∥y−Ag∥ℓ1.(P_1)\quad \min_{d \in \mathbb{R}^m} \|d\|_{\ell^1} \ \text{ subject to } \ Fd = f, \qquad\qquad (P_1')\quad \min_{g \in \mathbb{R}^n} \|y - Ag\|_{\ell^1}.(P1​)d∈Rmmin​∥d∥ℓ1​  subject to  Fd=f,(P1′​)g∈Rnmin​∥y−Ag∥ℓ1​.

A vector is the unique minimizer of one of these problems when it is feasible and every other feasible vector has a strictly larger objective value.

Formalization targets

Goal: Theorem 1.5 (decoding by linear programming)

Let AAA be a real m×nm \times nm×n matrix of full rank with m>nm > nm>n, and FFF a real p×mp \times mp×m matrix with FA=0FA = 0FA=0. Let S≥1S \ge 1S≥1 satisfy

δS(F)+θS,S(F)+θS,2S(F)<1.(1.10)\delta_S(F) + \theta_{S,S}(F) + \theta_{S,2S}(F) < 1 . \tag{1.10}δS​(F)+θS,S​(F)+θS,2S​(F)<1.(1.10)

If y=Af+ey = Af + ey=Af+e where eee is supported on a set of size at most SSS, then fff is the unique minimizer of (P1′)(P_1')(P1′​).

Core: Theorem 1.4 (exact recovery by ℓ1\ell^1ℓ1 minimization)

Let S≥1S \ge 1S≥1 satisfy (1.10) for FFF, and let ccc be supported on a set TTT with ∣T∣≤S|T| \le S∣T∣≤S. Then ccc is the unique minimizer of (P1)(P_1)(P1​) with f:=Fcf := Fcf:=Fc.

Theorem 1.5 is the companion of Theorem 1.4 for the decoding problem, and the mission's milestones are the four lemmas the paper proves on the way: Lemma 1.2 (the δ\deltaδ numbers control the θ\thetaθ numbers), Lemma 1.3 (uniqueness of sparse representations under δ2S<1\delta_{2S} < 1δ2S​<1), and the two dual sparse reconstruction properties, Lemma 2.1 (ℓ2\ell^2ℓ2 version) and Lemma 2.2 (ℓ∞\ell^\inftyℓ∞ version).

Significance

The result. The guarantee is deterministic and uniform: one condition on FFF, checkable in principle from the matrix alone, ensures that a single linear program recovers every sufficiently sparse vector, with no probability of failure. In the decoding reading, a fixed fraction of the ciphertext can be corrupted arbitrarily and the plaintext is still recovered exactly by convex optimization. The paper shows in its Section 3 that Gaussian matrices satisfy (1.10) with overwhelming probability at explicit values of S/mS/mS/m, and in Section 5 that the same hypothesis yields near-optimal recovery of compressible signals from few measurements; both are consequences of the deterministic core formalized here.

Formalizing it. The theorems are proved in the paper, and no machine-checked proof of them exists. Prove2Me holds a formalization of a different restricted-isometry sufficient condition taken from a textbook (HighDimProb.SparseRecovery.rip_implies_exact_recovery); it uses a different definition of the isometry constant and a different hypothesis, so nothing there can be reused as is. This mission produces the definitions of δS\delta_SδS​ and θS,S′\theta_{S,S'}θS,S′​ exactly as in Definition 1.1, the dual-certificate lemmas, and the two theorems, in a form that later missions on compressed sensing can import. The probabilistic Theorem 1.6, Lemma 3.1 and Corollary 1.7, and the compressible-signal Theorem 5.1, are not targets: see the scope section for why.

Difficulty

The whole proof rests on a dual certificate: a vector w∈Hw \in Hw∈H with ⟨w,vj⟩=sgn⁡(cj)\langle w, v_j \rangle = \operatorname{sgn}(c_j)⟨w,vj​⟩=sgn(cj​) for j∈Tj \in Tj∈T and ∣⟨w,vj⟩∣<1|\langle w, v_j \rangle| < 1∣⟨w,vj​⟩∣<1 for j∉Tj \notin Tj∈/T. Given such a www, the argument of Section 2.2 is a short chain of inequalities. The first idea every newcomer has is w=FT(FT∗FT)−1sgn⁡(c)w = F_T (F_T^* F_T)^{-1} \operatorname{sgn}(c)w=FT​(FT∗​FT​)−1sgn(c); this interpolates the signs on TTT and, by restricted orthogonality, its inner products off TTT are small in an ℓ2\ell^2ℓ2 sense, but not in the ℓ∞\ell^\inftyℓ∞ sense required. That is exactly Lemma 2.1: the ℓ∞\ell^\inftyℓ∞ bound holds only outside an exceptional set of at most S′S'S′ indices. Lemma 2.2 removes the exceptional set by an infinite alternating iteration, prescribing values on the previous exceptional set while keeping the values on TTT fixed, and summing a geometrically convergent series.

Two points deserve attention from solvers. First, the paper's proof of Lemma 2.2 prescribes values on sets of size up to 2S2S2S (T0∪TnT_0 \cup T_nT0​∪Tn​) at each step, while the per-step factors it quotes, θS,2S/(1−δS)\theta_{S,2S}/(1-\delta_S)θS,2S​/(1−δS​), are what Lemma 2.1 gives for a set of size SSS; a proof of the printed constant in (2.4) has to account for this, and the hypothesis of Theorem 1.4 leaves room for a proof with slightly worse per-step factors. Second, Lemma 2.1 is printed with θS\theta_SθS​ in its ℓ2\ell^2ℓ2 bound on the exceptional set, while the inequality (2.3) its proof establishes gives θS,S′\theta_{S,S'}θS,S′​; the mission states the lemma with θS,S′\theta_{S,S'}θS,S′​, which coincides with the printed form in the case S′=SS' = SS′=S used by Lemma 2.2.

Formalization scope

Matrices are Matrix (Fin p) (Fin m) ℝ; a coefficient vector on TTT is a vector in Fin m → ℝ supported on the finite set TTT, and FTcF_T cFT​c is F.mulVec c. The Euclidean and ℓ1\ell^1ℓ1 norms and the inner product are explicit finite sums, so every statement can be checked by hand against the paper. HHH is the span of the columns.

The constants δS\delta_SδS​ and θS,S′\theta_{S,S'}θS,S′​ are the infimum of the set of nonnegative δ\deltaδ (resp. θ\thetaθ) satisfying the defining inequalities for all admissible sets and coefficients. This set is nonempty, closed and bounded below, so the infimum is attained and is the paper's smallest quantity; on the paper's domain the smallest such quantity is nonnegative, so the extra clause only fixes a harmless value in degenerate cases such as S=0S = 0S=0. The definitions are total in S,S′S, S'S,S′, and each theorem carries the paper's domain conditions (S≥1S \ge 1S≥1, and 2S≤m2S \le m2S≤m, 3S≤m3S \le m3S≤m or S+S′≤mS + S' \le mS+S′≤m as needed) as explicit hypotheses. The hypotheses are satisfiable, since a matrix with orthonormal columns has δS=θS,S′=0\delta_S = \theta_{S,S'} = 0δS​=θS,S′​=0, so none of the statements is vacuous.

"Unique minimizer" is a strict inequality against every competitor. "Full rank" for the m×nm \times nm×n matrix AAA with m>nm > nm>n is injectivity of g↦Agg \mapsto Agg↦Ag; both are standing assumptions of the paper's Section 1.1 and appear as hypotheses of Theorem 1.5. In Lemma 2.1, "a constant K>0K > 0K>0 depending only on δS\delta_SδS​" is a positive function of the real number δS\delta_SδS​, quantified before all other data.

Out of scope, with the reason for each: Theorem 1.6 refers to a threshold r∗(p,m)r^*(p,m)r∗(p,m) "given in Section 3.5", which the paper does not contain, and to "overwhelming probability" with unspecified constants; Lemma 3.1 is proved only for mmm and ppp "large enough", with an unspecified threshold and an o(1)o(1)o(1) term quoted from the literature; Corollary 1.7 rests on Theorem 1.6; Theorem 5.1 has an unspecified constant CCC and is explicitly not proved in the paper. A future mission can add these once precise statements are fixed.

Contributions that are welcome: proofs of the four milestone lemmas and of the two theorems; reusable lemmas on the attainment and monotonicity of the constants, on the Gram matrix FT∗FTF_T^* F_TFT∗​FT​ and its inverse under δS<1\delta_S < 1δS​<1, and on the duality inequality of Section 2.2. Statements that weaken the hypotheses (for instance to δ2S<2−1\delta_{2S} < \sqrt{2} - 1δ2S​<2​−1) belong to a separate mission.

Selected references

  • E. J. Candès and T. Tao, Decoding by linear programming, IEEE Trans. Inform. Theory 51 (12), 2005, 4203–4215. https://doi.org/10.1109/TIT.2005.858979 (arXiv: https://arxiv.org/abs/math/0502327)
  • E. J. Candès, J. Romberg and T. Tao, Robust uncertainty principles: exact signal reconstruction from highly incomplete frequency information, IEEE Trans. Inform. Theory 52 (2), 2006. https://arxiv.org/abs/math/0409186
  • E. J. Candès and T. Tao, Near optimal signal recovery from random projections: universal encoding strategies?, IEEE Trans. Inform. Theory 52 (12), 2006. https://arxiv.org/abs/math/0410542
  • D. L. Donoho and X. Huo, Uncertainty principles and ideal atomic decomposition, IEEE Trans. Inform. Theory 47, 2001, 2845–2862. https://doi.org/10.1109/18.959265
  • S. S. Chen, D. L. Donoho and M. A. Saunders, Atomic decomposition by basis pursuit, SIAM J. Sci. Comput. 20, 1999, 33–61. https://doi.org/10.1137/S1064827596304010
  • E. J. Candès, The restricted isometry property and its implications for compressed sensing, C. R. Acad. Sci. Paris, Ser. I 346, 2008, 589–592. https://doi.org/10.1016/j.crma.2008.03.014
9 thms2 active usersReviewed
Convex OptimizationOperations Research·Captain: mikedeng1

Analysis and Algorithms for Service Parts Supply Chains VIII: Bounds on Optimal Stock AllocationsTextbook

Motivation

Military and commercial service parts systems keep repairable parts at a central depot warehouse and at a set of operating bases. Chapter 10 of Muckstadt's Analysis and Algorithms for Service Parts Supply Chains (Springer 2005, DOI 10.1007/b138879) turns from the planning models of the earlier chapters to execution. Each period, the stock that is at the depot or arriving there must be divided among the bases. The planner knows what is already in the pipeline and faces random demand at each base. The chapter's models are solved in a rolling-horizon manner. Each period's decisions are the first step of an optimal plan over a short horizon. That plan has to be computable at scale, for thousands of items and dozens of bases.

What makes this possible is a structural fact. In an optimal allocation, the cumulative stock sent to a base never exceeds what a single-period newsvendor problem at that base would ask for. This bound shrinks the allocation integer programs to linear programs of manageable size. This mission formalizes that bound and the facts it rests on.

Setting

Fix one item. Time is counted in whole periods t=0,1,2,…t = 0, 1, 2, \dotst=0,1,2,…, and JJJ is the finite set of bases. For each base jjj:

  • Ti0T_{i0}Ti0​ is the repair lead time, so shipments are decided in periods t=0,…,Ti0t = 0, \dots, T_{i0}t=0,…,Ti0​;
  • TijrT^r_{ij}Tijr​ and TijeT^e_{ij}Tije​ are the regular and expedited transportation times from the depot to base jjj, integers with 1≤Tije<Tijr1 \le T^e_{ij} < T^r_{ij}1≤Tije​<Tijr​;
  • S~i0t\tilde S_{i0t}S~i0t​ is the known cumulative supply at the depot through period ttt (stock on hand plus arrivals already in the pipeline), and S~ijt\tilde S_{ijt}S~ijt​ the known cumulative supply at base jjj. The latter is constant for t≥Tijrt \ge T^r_{ij}t≥Tijr​, since nothing not yet shipped can arrive earlier than TijrT^r_{ij}Tijr​ by regular transport;
  • XijtX_{ijt}Xijt​ is the cumulative demand at base jjj through period ttt, a nonnegative integer random variable, nondecreasing in ttt, with finite mean;
  • hij>0h_{ij} > 0hij​>0, bij>0b_{ij} > 0bij​>0 and eij≥0e_{ij} \ge 0eij​≥0 are the incremental holding, shortage and expediting costs.

If SijtS_{ijt}Sijt​ units have arrived at base jjj by period ttt, the expected cost of that period is

Gijt(S)=hij E[S−Xijt]++bij E[Xijt−S]+,G_{ijt}(S) = h_{ij}\,E[S - X_{ijt}]^+ + b_{ij}\,E[X_{ijt} - S]^+,Gijt​(S)=hij​E[S−Xijt​]++bij​E[Xijt​−S]+,

and stock left at the end of the horizon costs

Qij(S)=hij∑t>Tijr+Ti0E[S−Xijt]+.Q_{ij}(S) = h_{ij}\sum_{t > T^r_{ij} + T_{i0}} E[S - X_{ijt}]^+ .Qij​(S)=hij​t>Tijr​+Ti0​∑​E[S−Xijt​]+.

The stock allocation model SAMi\mathrm{SAM}_iSAMi​ chooses nonnegative integer regular shipments yijtry^r_{ijt}yijtr​, t=0,…,Ti0t = 0, \dots, T_{i0}t=0,…,Ti0​, with cumulative shipments never exceeding cumulative depot supply. The cumulative stock at base jjj is Sijt=S~ij(Tijr−1)+∑t′≤t−Tijryijt′rS_{ijt} = \tilde S_{ij(T^r_{ij}-1)} + \sum_{t' \le t - T^r_{ij}} y^r_{ijt'}Sijt​=S~ij(Tijr​−1)​+∑t′≤t−Tijr​​yijt′r​, and the model minimizes ∑j{∑t=TijrTijr+Ti0Gijt(Sijt)+Qij(Sij(Tijr+Ti0))}\sum_j \{\sum_{t=T^r_{ij}}^{T^r_{ij}+T_{i0}} G_{ijt}(S_{ijt}) + Q_{ij}(S_{ij(T^r_{ij}+T_{i0})})\}∑j​{∑t=Tijr​Tijr​+Ti0​​Gijt​(Sijt​)+Qij​(Sij(Tijr​+Ti0​)​)}. The extended model ESAMi\mathrm{ESAM}_iESAMi​ adds expedited shipments yijtey^e_{ijt}yijte​, which arrive after TijeT^e_{ij}Tije​ periods at an extra cost eije_{ij}eij​ per unit.

The constrained newsvendor problem CNijt\mathrm{CN}_{ijt}CNijt​ minimizes Gijt(S)G_{ijt}(S)Gijt​(S) over integers S≥S~ijtS \ge \tilde S_{ijt}S≥S~ijt​. Its largest optimal solution is written S^ijt\hat S_{ijt}S^ijt​.

Formalization targets

Goal: Theorem 15 (p. 237)

In every optimal solution of SAMi\mathrm{SAM}_iSAMi​, for every base jjj and every t∈[Tijr,Tijr+Ti0]t \in [T^r_{ij}, T^r_{ij} + T_{i0}]t∈[Tijr​,Tijr​+Ti0​],

S~ij(Tijr−1)  ≤  Sijt∗  ≤  S^ijt.\tilde S_{ij(T^r_{ij}-1)} \;\le\; S^*_{ijt} \;\le\; \hat S_{ijt}.S~ij(Tijr​−1)​≤Sijt∗​≤S^ijt​.

The bound is uniform over optimal solutions and uses nothing but the single-period problems.

Milestones

  1. Separability (Section 10.4.1, p. 236). The multi-item problem SAM\mathrm{SAM}SAM splits into the SAMi\mathrm{SAM}_iSAMi​: its optimal solutions are exactly the tuples of optimal item solutions, and Z∗=∑iZi∗Z^* = \sum_i Z^*_iZ∗=∑i​Zi∗​.
  2. Convexity of QijQ_{ij}Qij​ (p. 234) and of GijtG_{ijt}Gijt​ (p. 237), in the discrete sense of nondecreasing first differences on Z\mathbb ZZ.
  3. The newsvendor solution (10.19). S^ijt=max⁡(S~ijt,s0)\hat S_{ijt} = \max(\tilde S_{ijt}, s^0)S^ijt​=max(S~ijt​,s0) with s0s^0s0 the least integer such that P(Xijt≤s0)>bij/(bij+hij)P(X_{ijt} \le s^0) > b_{ij}/(b_{ij}+h_{ij})P(Xijt​≤s0)>bij​/(bij​+hij​).
  4. Monotonicity (10.20). S^ij(t−1)≤S^ijt\hat S_{ij(t-1)} \le \hat S_{ijt}S^ij(t−1)​≤S^ijt​ on [Tijr,Tijr+Ti0][T^r_{ij}, T^r_{ij} + T_{i0}][Tijr​,Tijr​+Ti0​].
  5. Theorem 16, corrected (p. 244). In every optimal solution of ESAMi\mathrm{ESAM}_iESAMi​, S~ijt≤Sijt∗\tilde S_{ijt} \le S^*_{ijt}S~ijt​≤Sijt∗​. Writing Mjt=max⁡k∈[Tije,t](S^ijk−S~ijk)M_{jt} = \max_{k \in [T^e_{ij}, t]}(\hat S_{ijk} - \tilde S_{ijk})Mjt​=maxk∈[Tije​,t]​(S^ijk​−S~ijk​), also Sijt∗≤S~ijt+MjtS^*_{ijt} \le \tilde S_{ijt} + M_{jt}Sijt∗​≤S~ijt​+Mjt​, provided Tijr=Tije+1T^r_{ij} = T^e_{ij} + 1Tijr​=Tije​+1 or t<Tije+Ti0t < T^e_{ij} + T_{i0}t<Tije​+Ti0​.

Two supporting items state that SAMi\mathrm{SAM}_iSAMi​ and ESAMi\mathrm{ESAM}_iESAMi​ have optimal solutions. A third, theorem16_counterexample, exhibits an instance in which Theorem 16's upper bound, as printed, fails.

Significance

Theorem 15 is what allows the book (pp. 238–239) to rewrite SAMi\mathrm{SAM}_iSAMi​ with 0–1 variables δijtk\delta_{ijtk}δijtk​ indicating Sijt=kS_{ijt} = kSijt​=k. Only kkk between S~ij(Tijr−1)\tilde S_{ij(T^r_{ij}-1)}S~ij(Tijr​−1)​ and S^ijt\hat S_{ijt}S^ijt​ is needed, so the number of variables is governed by the newsvendor quantities rather than by the total depot supply. Theorem 16 plays the same role for the model with expediting. Both bounds also justify the greedy heuristics of Sections 10.4.3 and 10.5.3. Those heuristics never raise a base's stock above its newsvendor level.

The book proves both theorems in half a page each by an exchange argument. This mission produces machine-checked versions and, in doing so, settles the exact scope of Theorem 16. As printed it is false. With Tijr≥Tije+2T^r_{ij} \ge T^e_{ij} + 2Tijr​≥Tije​+2, an expedited shipment in the last decision period can be the only way to cover a later period's demand, and the optimal plan then overstocks an earlier period. The mission states the corrected theorem and the counterexample; the counterexample was checked in Lean during drafting. None of the chapter's results has been formalized before, as far as the platform's catalogue shows.

Difficulty

The central step is the exchange. Take the first period kkk in which an optimal plan overshoots its bound, and delay by one period one unit that arrives at kkk. This must be shown feasible, to change only SijkS_{ijk}Sijk​, and to lower the objective strictly. That in turn needs strict decrease of a convex function to the right of its largest minimizer, and an argument for the last period, where there is no later period to delay into. The indexing is heavy: two lead times, truncated sums min⁡(t−Tije,Ti0)\min(t - T^e_{ij}, T_{i0})min(t−Tije​,Ti0​), and cumulative constraints across bases.

The first idea, that a plan above the newsvendor level can always be improved by shipping less, fails. Shipping less changes the stock in every later period too, and later periods may need the unit. The bound follows only from a delay that affects exactly one period. For ESAMi\mathrm{ESAM}_iESAMi​ even such a delay is sometimes unavailable, which is where the book's Theorem 16 breaks.

Formalization scope

  • One item at a time: ItemModel J Ω P bundles the data of one item with the cumulative demands on a probability space (Ω,P)(\Omega, P)(Ω,P), [IsProbabilityMeasure P]. Bases form a Fintype. Periods are ℕ. Stock levels and supplies are ℤ, since net inventory may be negative. Shipments are functions J → ℕ → ℕ, so nonnegativity and integrality are built in. Costs are in ℝ.
  • GGG and QQQ are defined from the demand as in the book: Bochner integrals of (S−X)+(S - X)^+(S−X)+ and (X−S)+(X - S)^+(X−S)+, and a tsum for QQQ. The item model requires finite means and convergence of the series for QQQ at every stock level, so that no integral or sum takes Lean's junk value 000.
  • "The largest optimal solution" is the predicate IsLargestCNSolution (feasible, minimizing, and above every feasible minimizer). Theorems take S^\hat SS^ as a function satisfying it. Milestone (10.19) shows it exists.
  • "An optimal solution" means a feasible plan with objective at most that of every feasible plan. The theorems hold for every optimal plan.
  • Pinned conventions and additions. The following are not written in the book: hij,bij>0h_{ij}, b_{ij} > 0hij​,bij​>0 and eij≥0e_{ij} \ge 0eij​≥0; nonnegative, nondecreasing depot supply; nondecreasing base supply (used in the book's proof of Theorem 16); finite mean demand; convergence of QQQ's series. (10.19) is read with the critical fractile "least sss with F(s)>b/(b+h)F(s) > b/(b+h)F(s)>b/(b+h)", the book's ⌈F−1⌉\lceil F^{-1}\rceil⌈F−1⌉/⌊F−1⌋\lfloor F^{-1}\rfloor⌊F−1⌋ with ties broken upward. Theorem 16 carries the proviso "Tijr=Tije+1T^r_{ij} = T^e_{ij} + 1Tijr​=Tije​+1 or t<Tije+Ti0t < T^e_{ij} + T_{i0}t<Tije​+Ti0​". Separability is stated both for optimal plans and for optimal values.
  • Ruled out. The feasible sets of SAMi\mathrm{SAM}_iSAMi​ and ESAMi\mathrm{ESAM}_iESAMi​ impose no upper bound on the cumulative stock, and S^\hat SS^ is defined from GGG alone, never from the allocation problem. The bounds are therefore not true by definition.
  • Omitted. The LP reformulations (10.22)–(10.28) and (10.45)–(10.52) and the integrality of their relaxations, which the book asserts with a reference to [68]; the greedy algorithms and their optimality conditions (asserted); the book's claim that QijQ_{ij}Qij​ is strictly increasing (p. 238), which fails when P(Xijt≤S)=0P(X_{ijt} \le S) = 0P(Xijt​≤S)=0 beyond the horizon and is not needed; the dynamic program of Section 10.3 and the repair model of Section 10.6.
  • The discrete-convexity and newsvendor facts are reusable for any single-location inventory model on Z\mathbb ZZ. Contributions are welcome on the convexity lemmas, the critical-fractile characterization, and a reusable exchange lemma for cumulative-shipment models.

Selected references

  • J. A. Muckstadt, Analysis and Algorithms for Service Parts Supply Chains, Springer Series in Operations Research and Financial Engineering, Springer, 2005, Chapter 10, pp. 225–246. DOI 10.1007/b138879
  • K. J. Arrow, T. Harris, J. Marschak, "Optimal inventory policy", Econometrica 19(3), 1951, 250–272 (the newsvendor critical fractile). DOI 10.2307/1906813
10 thms2 active usersReviewed
🏆Completed
Dynamic ProgrammingDynamical Systems·Captain: Lucas

Lindgren 2022: Dynamic-Programming Price Adjustment and Lyapunov StabilityResearch Paper

Motivation

In a Walrasian pure exchange economy, agents trade a fixed stock of lll commodities, and a price vector p∈Rlp\in\mathbb R^lp∈Rl is a general equilibrium when aggregate excess demand vanishes. Existence of equilibrium (Arrow–Debreu, 1954) says nothing about how prices reach it. The classical tâtonnement model of Samuelson (1947), dpi/ds=ciZi(p)dp_i/ds = c_i Z_i(p)dpi​/ds=ci​Zi​(p), is not derived from any optimization principle, and Scarf (1960) gave economies in which it is not globally stable; see also Smale's survey Dynamics in General Equilibrium Theory (JSTOR 1817235) and the chaotic tâtonnement examples of Bala–Majumdar (JSTOR 25054664).

Lindgren (doi:10.3390/analytics1010003) proposes instead that the economy as a whole chooses a price path by dynamic programming: it minimizes a running cost combining a quadratic transaction cost for price changes and the agents' aggregate minimal expenditure. From the resulting Hamilton–Jacobi–Bellman (HJB) equation the paper derives an evolution equation for the price velocity and a condition under which the value function acts as a Lyapunov function: the equilibrium is approached when price adjustments are large enough. This mission formalizes those derivations.

Setting

There are lll commodities and nnn agents. Prices are vectors p=(p1,…,pl)∈Rlp=(p_1,\dots,p_l)\in\mathbb R^lp=(p1​,…,pl​)∈Rl, and the paper's implicit summation xiyi=∑i=1lxiyix^iy_i=\sum_{i=1}^l x_iy_ixiyi​=∑i=1l​xi​yi​ is written ⟨x,y⟩\langle x,y\rangle⟨x,y⟩. Agent jjj has an expenditure function ej(p)e_j(p)ej​(p) (minimal cost of reaching a fixed utility level), and the market weighs agents with constants λj>0\lambda_j>0λj​>0; the aggregate expenditure is

E(p)=λjej(p)=∑j=1nλjej(p).E(p)=\lambda^je_j(p)=\sum_{j=1}^n\lambda_je_j(p).E(p)=λjej​(p)=j=1∑n​λj​ej​(p).

The economy controls the price velocity v=dp/dsv=dp/dsv=dp/ds and minimizes the cost functional (eq. (7))

∫tT(12m⟨v,v⟩+E(p)) ds,m>0,\int_t^T\Big(\tfrac12 m\langle v,v\rangle+E(p)\Big)\,ds,\qquad m>0,∫tT​(21​m⟨v,v⟩+E(p))ds,m>0,

whose value function is J(t,p)J(t,p)J(t,p). The Hamiltonian (eq. (8)) is

H(v)=12m⟨v,v⟩+E(p)+⟨∇J,v⟩,H(v)=\tfrac12 m\langle v,v\rangle+E(p)+\langle\nabla J,v\rangle ,H(v)=21​m⟨v,v⟩+E(p)+⟨∇J,v⟩,

the optimal policy (eq. (9)) is v=−1m∇Jv=-\tfrac1m\nabla Jv=−m1​∇J, and the HJB equation (eq. (10)) reads

∂J∂t=12m⟨∇J,∇J⟩−E(p).\frac{\partial J}{\partial t}=\frac1{2m}\langle\nabla J,\nabla J\rangle-E(p).∂t∂J​=2m1​⟨∇J,∇J⟩−E(p).

Here ∇\nabla∇ always denotes the gradient with respect to prices. Shephard's lemma identifies the Hicksian demand of agent jjj with hj=∇ejh^j=\nabla e_jhj=∇ej​. For the stability analysis the paper runs time forward, which reverses the sign of the HJB equation: ∂J/∂s=−12m⟨∇J,∇J⟩+E(p)\partial J/\partial s=-\frac1{2m}\langle\nabla J,\nabla J\rangle+E(p)∂J/∂s=−2m1​⟨∇J,∇J⟩+E(p).

Formalization targets

Goal — Lyapunov stability condition (Section 3)

If JJJ is C1C^1C1 and solves the time-reversed HJB equation, and the price path follows the optimal policy p˙(s)=v(s)=−1m∇J(s,p(s))\dot p(s)=v(s)=-\frac1m\nabla J(s,p(s))p˙​(s)=v(s)=−m1​∇J(s,p(s)), then on any interval [t,T][t,T][t,T] on which

E(p(s))<32 m ⟨v(s),v(s)⟩,E(p(s))<\tfrac32\,m\,\langle v(s),v(s)\rangle,E(p(s))<23​m⟨v(s),v(s)⟩,

the function s↦J(s,p(s))s\mapsto J(s,p(s))s↦J(s,p(s)) is strictly decreasing; if moreover J(T,p(T))=0J(T,p(T))=0J(T,p(T))=0, it is strictly positive on [t,T)[t,T)[t,T).

Milestones

  1. Eq. (4): under the normalization ⟨p,p⟩=1\langle p,p\rangle=1⟨p,p⟩=1, ⟨p,p˙⟩=0\langle p,\dot p\rangle=0⟨p,p˙​⟩=0.
  2. Eq. (9): for m>0m>0m>0, vvv minimizes HHH if and only if mv=−∇Jmv=-\nabla Jmv=−∇J.
  3. Eq. (10): the HJB equation −∂tJ=min⁡vH-\partial_tJ=\min_vH−∂t​J=minv​H takes the explicit form above.
  4. Eq. (12): for a C2C^2C2 solution of (10), v=−1m∇Jv=-\frac1m\nabla Jv=−m1​∇J satisfies
m∂vi∂t+12m ∇i⟨v,v⟩=∇iE.m\frac{\partial v_i}{\partial t}+\tfrac12 m\,\nabla_i\langle v,v\rangle=\nabla_iE .m∂t∂vi​​+21​m∇i​⟨v,v⟩=∇i​E.
  1. Eq. (14): with Shephard's lemma, the right-hand side becomes ∑jλjhij\sum_j\lambda_jh^j_i∑j​λj​hij​.
  2. Eq. (19): along the optimal path, dJds=E(p)−32m⟨v,v⟩\dfrac{dJ}{ds}=E(p)-\tfrac32 m\langle v,v\rangledsdJ​=E(p)−23​m⟨v,v⟩.

Significance

The paper's contribution is the claim that price dynamics derived from an optimization principle are nonlinear and only conditionally stable, with stability requiring sufficiently fast price changes; the author connects this to volatility clustering in financial time series. The derivations in the paper are formal calculations with the regularity of JJJ left implicit. Formalizing them pins down exactly which smoothness assumptions each step needs (for instance, eq. (12) uses equality of mixed partial derivatives, hence a C2C^2C2 value function), and which facts are imported from outside (the HJB equation itself, Shephard's lemma). The resulting statements are reusable calculus facts about HJB equations with quadratic control cost.

Difficulty

Each step is a short computation on paper; the formal difficulty is in the calculus infrastructure: partial derivatives of functions on R×Rl\mathbb R\times\mathbb R^lR×Rl, symmetry of second derivatives, the chain rule along a curve, and turning a pointwise negative derivative into strict monotonicity on a closed interval. The HJB equation is taken as a hypothesis on JJJ rather than derived from the definition of the value function, because the paper asserts it without proof and a rigorous derivation would require viscosity-solution theory.

Formalization scope

All declarations live in the namespace LindgrenPriceDynamics. Prices are functions Fin l → ℝ; partial derivatives are Fréchet derivatives applied to standard basis vectors, and time derivatives are one-variable derivatives in the time argument. The value function is a function J : ℝ → (Fin l → ℝ) → ℝ whose joint regularity is stated for the uncurried map on ℝ × (Fin l → ℝ). The standing assumption m>0m>0m>0 is kept; positivity of λj\lambda_jλj​ and eje_jej​ is not needed by any stated conclusion and is not imposed. Prices are not restricted to the positive orthant. The goal's large-velocity hypothesis is satisfiable (e.g. l=1l=1l=1, J=ap2+csJ=ap^2+csJ=ap2+cs, E=2a2p2/m+cE=2a^2p^2/m+cE=2a2p2/m+c with small c>0c>0c>0 on a bounded interval), so the goal is not vacuous.

Selected references

  • J. Lindgren, General Equilibrium with Price Adjustments — A Dynamic Programming Approach, Analytics 1 (2022) 27–34. https://doi.org/10.3390/analytics1010003
  • S. Smale, Dynamics in General Equilibrium Theory, American Economic Review 66 (1976) 288–294. https://www.jstor.org/stable/1817235
  • H. Scarf, Some Examples of Global Instability of the Competitive Equilibrium, International Economic Review 1 (1960) 157–172.
  • A. Mas-Colell, M. Whinston, J. Green, Microeconomic Theory, Oxford University Press, 1995.
  • V. Bala, M. Majumdar, Chaotic Tatonnement, Economic Theory 2 (1992) 437–445. https://www.jstor.org/stable/25054664
8 thms2 active usersReviewed
Dynamic ProgrammingOperations Research·Captain: mikedeng1

Analysis and Algorithms for Service Parts Supply Chains I: Optimality of Order-Up-To Policies by Dynamic ProgrammingTextbook

Motivation

A stocking point that reviews its inventory once per period and must decide how much to order is the basic unit of every service parts supply chain: each warehouse, each repair depot and each forward location in the networks studied later in Muckstadt's Analysis and Algorithms for Service Parts Supply Chains (Springer 2005, DOI 10.1007/b138879) faces this decision for thousands of items. The practical rule used everywhere is the order-up-to (base-stock) rule: bring the inventory position up to a fixed target level whenever it falls below it, and order nothing otherwise. Chapter 2 of the book justifies this rule for a single item with linear costs, following the dynamic-programming argument of Karlin and Scarf, and the rest of the book takes the rule as given.

Timeline. Arrow, Harris and Marschak posed the periodic-review inventory problem as a dynamic program in 1951 (Econometrica). Bellman, Glicksberg and Gross showed in 1955 that with linear ordering cost and convex expected holding and shortage costs the optimal policy has a critical-number form (Management Science). Karlin and Scarf (1958) extended the analysis to a positive lead time, the setting of the book's Theorems 1–3. Veinott (1965) gave conditions under which a base-stock policy is optimal in multi-product, nonstationary models (Management Science).

Setting

One item is stocked at one location. At the start of each period the inventory position yyy is observed and a quantity u≥0u \ge 0u≥0 is ordered; with lead time one period it arrives at the start of the next period. Demand in each period is independent of other periods and has a density ggg on (0,∞)(0,\infty)(0,∞) that is positive and continuous. Unmet demand is backordered. Costs are linear: ccc per unit ordered, hhh per unit on hand at the end of a period, bbb per unit backordered at the end of a period, and future costs are discounted by α∈(0,1)\alpha \in (0,1)α∈(0,1). The one-period cost is

L(y)={h∫0y(y−x)g(x) dx+b∫y∞(x−y)g(x) dx,y>0,b∫0∞(x−y)g(x) dx,y≤0.L(y) = \begin{cases} h\displaystyle\int_0^y (y-x)g(x)\,dx + b\int_y^\infty (x-y)g(x)\,dx, & y > 0,\\[1mm] b\displaystyle\int_0^\infty (x-y)g(x)\,dx, & y \le 0. \end{cases}L(y)=⎩⎨⎧​h∫0y​(y−x)g(x)dx+b∫y∞​(x−y)g(x)dx,b∫0∞​(x−y)g(x)dx,​y>0,y≤0.​

The book assumes throughout that b>1−αα cb > \frac{1-\alpha}{\alpha}\,cb>α1−α​c: the backorder cost outweighs the saving from deferring a purchase.

The nnn-period value functions are f1=Lf_1 = Lf1​=L and, for n≥2n \ge 2n≥2,

fn(y)=min⁡u≥0{c u+L(y)+α∫0∞fn−1(y+u−x) g(x) dx}.f_n(y) = \min_{u \ge 0}\Big\{ c\,u + L(y) + \alpha\int_0^\infty f_{n-1}(y+u-x)\,g(x)\,dx \Big\}.fn​(y)=u≥0min​{cu+L(y)+α∫0∞​fn−1​(y+u−x)g(x)dx}.

An order uuu is optimal at yyy if it attains this minimum over all u≥0u \ge 0u≥0. The order-up-to rule with level sss orders u(y)=max⁡{0,s−y}u(y) = \max\{0, s-y\}u(y)=max{0,s−y}. The marginal function of eq. (2.8) is Fn(w)=c+α∫0∞fn′(w−x) g(x) dxF_n(w) = c + \alpha\int_0^\infty f_n'(w-x)\,g(x)\,dxFn​(w)=c+α∫0∞​fn′​(w−x)g(x)dx. In Lean these are Model, Model.L, Model.f, Model.IsOptimalOrder, Model.IsOrderUpToOptimal and Model.F in the namespace ServiceParts.BaseStock.

Formalization targets

Goal: Theorem 2 (p. 18) in its nnn-period form

For every horizon n≥2n \ge 2n≥2, either there is a real level sn∗s_n^*sn∗​ with

un∗(y)=max⁡{0, sn∗−y} optimal for every y,u_n^*(y) = \max\{0,\ s_n^* - y\} \ \text{optimal for every } y,un∗​(y)=max{0, sn∗​−y} optimal for every y,

or ordering nothing is optimal for every yyy (level −∞-\infty−∞); and there is N≥2N \ge 2N≥2 such that the level is real for all n≥Nn \ge Nn≥N. No value of sn∗s_n^*sn∗​ is fixed: the goal asserts the shape of the optimal policy only.

Milestones, in attack order

  1. LLL is convex (p. 21).
  2. Every fnf_nfn​, n≥1n \ge 1n≥1, is convex (p. 19, property (c)).
  3. Every fnf_nfn​ is differentiable with −(c+b)≤fn′≤h/(1−α)-(c+b) \le f_n' \le h/(1-\alpha)−(c+b)≤fn′​≤h/(1−α) (p. 20).
  4. Property (b): given an optimal real level sss for horizon n≥2n \ge 2n≥2, fn′=−c+L′f_n' = -c + L'fn′​=−c+L′ below sss and fn′=L′+α∫0∞fn−1′(⋅−x)g(x) dxf_n' = L' + \alpha\int_0^\infty f_{n-1}'(\cdot - x)g(x)\,dxfn′​=L′+α∫0∞​fn−1′​(⋅−x)g(x)dx from sss on (p. 19).
  5. Given such a level, Fn(w)→(1−α)c−bα<0F_n(w) \to (1-\alpha)c - b\alpha < 0Fn​(w)→(1−α)c−bα<0 as w→−∞w \to -\inftyw→−∞ (p. 19).
  6. Property (a): optimal real levels are nondecreasing in the horizon, sn∗≤sn+1∗s_n^* \le s_{n+1}^*sn∗​≤sn+1∗​ (p. 18).

Significance

The theorem reduces an infinite-dimensional control problem, a choice of order quantity for every possible inventory position, to one number per period. Every later chapter of the book (Palm's theorem for (s−1,s)(s-1,s)(s−1,s) policies, METRIC-type stock level optimization, allocation in multi-echelon systems) parameterizes policies by such stock levels; this is where the book justifies that parameterization.

The result is classical and proved in many texts. On Prove2Me the mission produces a machine-checked finite-horizon version with a continuous demand density, including the calculus the proof needs: convexity of an expected cost defined by integrals against a density, differentiation under the integral sign in the recursion, and the one-sided behaviour of the value function at the order-up-to level. Existing platform results on base-stock optimality (Veinott's multi-product model, advance demand information) use different models and different arguments; none covers this recursion.

Difficulty

The argument is an induction on nnn whose hypothesis carries convexity, the derivative formula (b), and bounds on fn′f_n'fn′​. The delicate step is the existence of a finite root of FnF_nFn​: its limit at −∞-\infty−∞ depends on whether the previous level was finite. For n=1n = 1n=1 nothing is ordered and the limit is c−bαc - b\alphac−bα, which the assumption b>1−ααcb > \frac{1-\alpha}{\alpha}cb>α1−α​c does not make negative. The book's base case ("left to the reader") therefore fails when c>αbc > \alpha bc>αb: with α=12\alpha = \tfrac12α=21​, c=1c = 1c=1, b=32b = \tfrac32b=23​ the two-period problem never orders. The goal is corrected accordingly.

Two properties the book's induction also carries are not usable as printed. Property (d), fn′≤fn−1′f_n' \le f_{n-1}'fn′​≤fn−1′​, is false: for large yyy, fn′(y)f_n'(y)fn′​(y) approaches h(1+α+⋯+αn−1)h(1 + \alpha + \dots + \alpha^{n-1})h(1+α+⋯+αn−1), which increases with nnn. The second-derivative clause of property (c) fails at y=0y = 0y=0 whenever g(0+)>0g(0^+) > 0g(0+)>0. A solver cannot follow the printed induction step for step; property (a), which the book derives from (d), is true and is a milestone in its own right.

Formalization scope

  • Horizon. The book states Theorem 2 for "the optimal policy" without a horizon. Its proof is an induction on a finite horizon, and the passage n→∞n \to \inftyn→∞ is left as a conjecture (p. 21). The goal is the finite-horizon theorem; no infinite-horizon value function is constructed.
  • Lead time. The proof sets τ=1\tau = 1τ=1 "to simplify notation"; so does the formalization. Theorem 1 (dependence on the inventory position only) and Theorem 3 (general τ\tauτ, whose level equation is the conjectured infinite-horizon one) are not stated.
  • Level −∞-\infty−∞. The goal allows "never order" as the order-up-to rule with level −∞-\infty−∞ and adds eventual finiteness; see Difficulty.
  • Added hypotheses. c≥0c \ge 0c≥0, h>0h > 0h>0 (the book uses lim⁡w→∞fn′(w−x)>0\lim_{w\to\infty} f_n'(w - x) > 0limw→∞​fn′​(w−x)>0), 0<α0 < \alpha0<α (the book divides by α\alphaα), and a finite mean ∫0∞x g(x) dx<∞\int_0^\infty x\,g(x)\,dx < \infty∫0∞​xg(x)dx<∞ (without it LLL is infinite). All are fields of Model, together with positivity and continuity of ggg on (0,∞)(0,\infty)(0,∞), ∫0∞g=1\int_0^\infty g = 1∫0∞​g=1, and b>1−ααcb > \frac{1-\alpha}{\alpha}cb>α1−α​c.
  • Minimum and derivatives. fnf_nfn​ is defined with the infimum over u≥0u \ge 0u≥0 of a nonnegative quantity; optimality is always against every u′≥0u' \ge 0u′≥0. Statements about fn′f_n'fn′​ assert differentiability (Differentiable, HasDerivAt) and do not read deriv as evidence of it.
  • Levels. The book's sn∗s_n^*sn∗​ is "the unique solution of (2.6)"; milestones take any real level at which the order-up-to rule is optimal.

A recursion in which ordering is restricted to order-up-to rules, or in which fnf_nfn​ is defined through sn∗s_n^*sn∗​, would make the goal a tautology; here fnf_nfn​ is defined by minimization over all u≥0u \ge 0u≥0 and optimality is checked against all orders.

Needed infrastructure: convexity and differentiation of parametric integrals against a density on (0,∞)(0,\infty)(0,∞), and minimization of a differentiable convex function over a half-line. Both are reusable for the other stochastic inventory missions on the platform. Proofs of individual milestones are welcome independently of the goal.

Selected references

  • J. A. Muckstadt, Analysis and Algorithms for Service Parts Supply Chains, Springer Series in Operations Research and Financial Engineering, 2005, Chapter 2, Section 2.1. https://doi.org/10.1007/b138879
  • S. Karlin and H. Scarf, Inventory models of the Arrow–Harris–Marschak type with time lag, in K. J. Arrow, S. Karlin and H. Scarf (eds.), Studies in the Mathematical Theory of Inventory and Production, Stanford University Press, 1958 (no DOI).
  • K. J. Arrow, T. Harris and J. Marschak, Optimal inventory policy, Econometrica 19(3), 1951, 250–272. https://doi.org/10.2307/1906814
  • R. Bellman, I. Glicksberg and O. Gross, On the optimal inventory equation, Management Science 2(1), 1955, 83–104. https://doi.org/10.1287/mnsc.2.1.83
  • A. F. Veinott Jr., Optimal policy for a multi-product, dynamic, nonstationary inventory problem, Management Science 12(3), 1965, 206–222. https://doi.org/10.1287/mnsc.12.3.206
9 thms2 active usersReviewed
Operations ResearchProbability·Captain: mikedeng1

Introduction to the Scenario Approach V: Support Sets Certify the Violation of Nonconvex Scenario SolutionsTextbook

Why certify nonconvex scenario solutions

The scenario approach replaces an optimization problem with uncertain constraints θ∈Θδ\theta\in\Theta_\deltaθ∈Θδ​, δ∈Δ\delta\in\Deltaδ∈Δ, by the program that enforces only NNN constraints Θδ1,…,ΘδN\Theta_{\delta_1},\dots,\Theta_{\delta_N}Θδ1​​,…,ΘδN​​ drawn at random from the distribution P\mathbb PP of the uncertainty. Its solution θ∗\theta^*θ∗ is then judged by its violation, the probability that a new instance δ\deltaδ is not satisfied. For convex programs in Rd\mathbb R^dRd the violation is controlled by the dimension ddd alone (Calafiore and Campi 2006; Campi and Garatti 2008), because a convex program has at most ddd support constraints. Many problems where the scenario approach is used in practice are not convex: control with quantized inputs, mixed-integer design, classification with nonconvex losses, and decisions over infinite-dimensional or unstructured sets. For those programs no a priori bound on the number of constraints that determine the solution exists.

Timeline, as recorded in Chapter 8 of Campi and Garatti's textbook:

  • 2006–2008: the violation of convex scenario solutions is bounded, and then characterized exactly, in terms of ddd.
  • 2018: the wait-and-judge theory (Campi and Garatti, Math. Programming 2018) evaluates the violation from the number of support constraints counted after solving the program; it extends to nonconvex programs but requires a nondegeneracy assumption.
  • 2018: Campi, Garatti and Ramponi (IEEE TAC 2018) prove a bound in terms of the size of any support set, with no convexity and no nondegeneracy assumption. This is the result formalized here, stated in the book as Eq. (8.15).

Setting

Let Θ\ThetaΘ be a generic set; it may be an infinite-dimensional space or a set with no algebraic structure. Let f:Θ→Rf:\Theta\to\mathbb Rf:Θ→R be a cost and Θδ⊆Θ\Theta_\delta\subseteq\ThetaΘδ​⊆Θ constraint sets indexed by δ∈Δ\delta\in\Deltaδ∈Δ, where Δ\DeltaΔ carries a probability P\mathbb PP. Neither fff nor the Θδ\Theta_\deltaΘδ​ is required to be convex. With a sample δ1,…,δN\delta_1,\dots,\delta_Nδ1​,…,δN​ drawn independently from P\mathbb PP, the scenario program is

min⁡θ∈Θf(θ)subject toθ∈⋂i=1,…,NΘδi,(8.12)\min_{\theta\in\Theta} f(\theta)\quad\text{subject to}\quad \theta\in\bigcap_{i=1,\dots,N}\Theta_{\delta_i},\tag{8.12}θ∈Θmin​f(θ)subject toθ∈i=1,…,N⋂​Θδi​​,(8.12)

and θ∗\theta^*θ∗ denotes its solution, assumed to exist and be unique for every sample.

The violation of a decision is V(θ)=P{δ∈Δ:θ∉Θδ}V(\theta)=\mathbb P\{\delta\in\Delta:\theta\notin\Theta_\delta\}V(θ)=P{δ∈Δ:θ∈/Θδ​} (Definition 3.1).

A support set (Definition 8.8) is a subset {Θδi1,…,Θδik}\{\Theta_{\delta_{i_1}},\dots,\Theta_{\delta_{i_k}}\}{Θδi1​​​,…,Θδik​​​} of the constraints such that the program with only these constraints in place has the same solution θ∗\theta^*θ∗ as the program with all constraints. The full set of constraints is always a support set; a support set need not be minimal (of smallest cardinality) or irreducible (with no removable element). Let σ∗\sigma^*σ∗ be the cardinality of the support set returned, for every sample, by some fixed algorithm.

Formalization targets

Goal: the support-set bound, Eq. (8.15)

For every function ϵ:{0,1,…,N}→[0,1]\epsilon:\{0,1,\dots,N\}\to[0,1]ϵ:{0,1,…,N}→[0,1] with ϵ(N)=1\epsilon(N)=1ϵ(N)=1,

PN{V(θ∗)>ϵ(σ∗)}≤∑k=0N−1(Nk) (1−ϵ(k))N−k.\mathbb P^N\{V(\theta^*)>\epsilon(\sigma^*)\}\le\sum_{k=0}^{N-1}\binom Nk\,(1-\epsilon(k))^{N-k}.PN{V(θ∗)>ϵ(σ∗)}≤k=0∑N−1​(kN​)(1−ϵ(k))N−k.

The level function ϵ\epsilonϵ is free: the statement is one inequality per admissible ϵ\epsilonϵ, and it holds for any algorithm producing support sets. This is the weakest form that carries the whole result.

Milestone: the level function for a confidence β\betaβ, Eq. (8.16)

For β∈[0,1]\beta\in[0,1]β∈[0,1] let

ϵ(k)={1k=N,1−βN(Nk)N−kotherwise.\epsilon(k)=\begin{cases}1 & k=N,\\ 1-\sqrt[N-k]{\dfrac{\beta}{N\binom Nk}} & \text{otherwise.}\end{cases}ϵ(k)=⎩⎨⎧​11−N−kN(kN​)β​​​k=N,otherwise.​

The arithmetic half states that ϵ\epsilonϵ maps {0,…,N}\{0,\dots,N\}{0,…,N} into [0,1][0,1][0,1], ϵ(N)=1\epsilon(N)=1ϵ(N)=1, and the right-hand side of (8.15) equals β\betaβ (for N≥1N\ge1N≥1). The probabilistic half states PN{V(θ∗)>ϵ(σ∗)}≤β\mathbb P^N\{V(\theta^*)>\epsilon(\sigma^*)\}\le\betaPN{V(θ∗)>ϵ(σ∗)}≤β.

Significance

The result turns the size of a support set, a quantity observed after the program is solved, into a certificate on the violation of the solution, for any optimization or decision problem whose solution is determined by a subset of the data. With the choice (8.16), a user who finds a support set of size σ∗\sigma^*σ∗ can assert V(θ∗)≤ϵ(σ∗)V(\theta^*)\le\epsilon(\sigma^*)V(θ∗)≤ϵ(σ∗) with confidence 1−β1-\beta1−β. The book's Figure 8.12 shows that ϵ(k)\epsilon(k)ϵ(k) for β=10−6\beta=10^{-6}β=10−6 remains well below 111 for kkk up to a sizeable fraction of NNN. Because the algorithm that finds the support set is arbitrary, cheap heuristics that return non-minimal support sets still give valid, if weaker, guarantees. The result does not recover the tight convex bound (3.4); for convex programs the Chapter 3 theory remains sharper.

The statement is proved in [31] and is the probabilistic core of the sample-compression arguments of learning theory (Floyd and Warmuth 1995) in the form used by the scenario approach. To the best of available knowledge it has no machine-checked proof. The platform's UnderstandingML.compression_bound proves a sample-compression bound for a fixed compression size with a different constant; it does not cover a data-dependent size σ∗\sigma^*σ∗ or an arbitrary level function. A formal proof here provides a reusable bound for data-dependent support sets over arbitrary decision sets.

Difficulty

The natural first step is: condition on the support set being a particular index set III with ∣I∣=k|I|=k∣I∣=k, and argue that the solution is then a function of the kkk sampled constraints in III alone, while the other N−kN-kN−k samples are independent of it and must all be satisfied. The difficulty is that the event "the algorithm returns III" depends on all NNN samples, and the solution of the reduced program on III is defined only where that program has a unique solution; the decomposition of the probability therefore has to be carried out on sections of the product space, with a measurability argument for each piece. A second point is that σ∗\sigma^*σ∗ is random and data-dependent: a bound for each fixed kkk does not directly give a bound at the random level ϵ(σ∗)\epsilon(\sigma^*)ϵ(σ∗), and the role of the condition ϵ(N)=1\epsilon(N)=1ϵ(N)=1 must be accounted for at k=Nk=Nk=N.

Formalization scope

Lean representation and committed conventions:

  • Θ\ThetaΘ and Δ\DeltaΔ are arbitrary types with measurable structures; P\mathbb PP is a probability measure on Δ\DeltaΔ; a sample is ω : Fin N → Δ with law Measure.pi (fun _ : Fin N => P); indices run over 0,…,N−10,\dots,N-10,…,N−1.
  • A subset of constraints is a Finset (Fin N); the reduced program with index set III has feasible set ⋂i∈IΘδi\bigcap_{i\in I}\Theta_{\delta_i}⋂i∈I​Θδi​​ (all of Θ\ThetaΘ for I=∅I=\emptysetI=∅).
  • The solution map θ∗\theta^*θ∗ is a parameter with the hypothesis that θ∗(ω)\theta^*(\omega)θ∗(ω) is the unique solution of the full program for every sample.
  • "Has the same solution" in Definition 8.8 means: the reduced program has a unique solution and it equals the unique solution of the full program. Existence of solutions is not assumed for reduced programs in general, only for those that are support sets.
  • The algorithm is an arbitrary map alg : (Fin N → Δ) → Finset (Fin N) returning a support set for every sample; σ∗\sigma^*σ∗ is the cardinality of its output. The goal is universal over such maps.
  • ϵ\epsilonϵ is a real function on N\mathbb NN with ϵ(k)∈[0,1]\epsilon(k)\in[0,1]ϵ(k)∈[0,1] for k≤Nk\le Nk≤N and ϵ(N)=1\epsilon(N)=1ϵ(N)=1.
  • The violation is real-valued in [0,1][0,1][0,1]; the probability of the event is compared in [0,∞][0,\infty][0,∞] with ENNReal.ofReal of the real right-hand side.

Implicit hypotheses of the page, made explicit (the book states on p. 33 that measurability issues are glossed over): the constraint relation {(θ,δ):θ∈Θδ}\{(\theta,\delta):\theta\in\Theta_\delta\}{(θ,δ):θ∈Θδ​} is measurable in Θ×Δ\Theta\times\DeltaΘ×Δ; the solution map is measurable; each event {ω:the algorithm returns J}\{\omega:\text{the algorithm returns }J\}{ω:the algorithm returns J} is measurable; θ∗\theta^*θ∗ exists and is unique for every sample; N≥1N\ge1N≥1 in the arithmetic half of (8.16).

A trivializing formalization is ruled out: the algorithm is not existentially quantified and is not the minimal support set, the reduced programs are not all assumed solvable (which would be unsatisfiable when fff has no unconstrained minimizer), and the support-set property requires uniqueness of the reduced solution, without which the bound is false.

Needed infrastructure: product measures on Fin N → Δ, splitting of such products along a subset of coordinates, and Fubini/Tonelli for sections. These pieces are reusable for other compression-type bounds. Contributions welcome: proofs of the two milestones and of the goal, and lemmas on splitting Measure.pi over a Finset of coordinates.

Selected references

  • M. C. Campi, S. Garatti, Introduction to the Scenario Approach, MOS-SIAM Series on Optimization 26, SIAM/MOS, 2018, §8.6, pp. 101–105. https://doi.org/10.1137/1.9781611975444
  • M. C. Campi, S. Garatti, F. A. Ramponi, A general scenario theory for nonconvex optimization and decision making, IEEE Transactions on Automatic Control, 2018. https://doi.org/10.1109/TAC.2018.2808446
  • M. C. Campi, S. Garatti, Wait-and-judge scenario optimization, Mathematical Programming, 2018. https://doi.org/10.1007/s10107-016-1056-9
  • G. C. Calafiore, M. C. Campi, The scenario approach to robust control design, IEEE Transactions on Automatic Control, 2006. https://doi.org/10.1109/TAC.2006.875041
  • M. C. Campi, S. Garatti, The exact feasibility of randomized solutions of uncertain convex programs, SIAM Journal on Optimization, 2008. https://doi.org/10.1137/07069821X
  • S. Floyd, M. Warmuth, Sample compression, learnability, and the Vapnik–Chervonenkis dimension, Machine Learning, 1995. https://doi.org/10.1007/BF00993593
7 thms2 active usersReviewed
Algorithmic Game TheoryOperations ResearchProbability·Captain: mikedeng1

Information Sharing in a Supply Chain with a Common Retailer 2: Under Production Economy the Retailer Earns Weakly More from Sequential Information Contracting and the Manufacturers from ConcurrentResearch Paper

Motivation

Large retailers hold point-of-sale and loyalty-card data that their suppliers cannot observe, and many of them sell access to it through data-sharing programs; others share the same data for free, or with only some suppliers (Shang, Ha & Tong 2016, §1). When two competing manufacturers sell through one common retailer, sharing a demand signal with a manufacturer changes how he sets his wholesale price, which in turn changes the retailer's margins and the rival's demand. Whether the retailer wants to share, with how many manufacturers, and at what price, is therefore a question about a multistage game with incomplete information.

Shang, Ha and Tong answer it for linear demand, a linear-expectation signal and quadratic production costs, under two contracting protocols. This mission covers the production economy case (marginal cost decreasing in volume, §6 of the paper), in which the retailer may have an incentive to share information even without payment. A companion mission covers production diseconomy (§5).

Setting

Two manufacturers i∈{0,1}i \in \{0,1\}i∈{0,1} sell substitutable products through a common retailer. Demand for product iii is

qi=a+θ−(1+ϕ)pi+ϕpj,q_i = a + \theta - (1+\phi)p_i + \phi p_j ,qi​=a+θ−(1+ϕ)pi​+ϕpj​,

where pip_ipi​ is the retail price, ϕ>0\phi > 0ϕ>0 measures competition intensity and θ\thetaθ is a demand shock with mean 000 and variance σ2>0\sigma^2 > 0σ2>0. The retailer observes a demand signal YYY with E[Y∣θ]=θE[Y \mid \theta] = \thetaE[Y∣θ]=θ and a linear-expectation structure E[θ∣Y]=βYE[\theta \mid Y] = \beta YE[θ∣Y]=βY, where β=β(t,σ)\beta = \beta(t,\sigma)β=β(t,σ) is the signal weight. Producing qqq units costs bq−ceq2bq - c_e q^2bq−ce​q2 with ce>0c_e > 0ce​>0; the paper writes c=−cec = -c_ec=−ce​ and assumes ce<2/(1+ϕ)c_e < 2/(1+\phi)ce​<2/(1+ϕ) (the Assumption, p. 251). Retailing is costless.

The game has three stages.

  1. Information contracting. Under concurrent contracting the retailer offers both manufacturers the same payment T≥0T \ge 0T≥0 for the signal; they decide simultaneously and play a Pareto-optimal pure equilibrium. Under sequential contracting she offers a payment TfT_fTf​ to a first manufacturer kkk and, after his decision, a payment TsT_sTs​ to the other; the outcome is a subgame-perfect equilibrium (SPE). The retailer commits not to share for free after a rejection (§6.2).
  2. Pricing. Given the information statuses Xi∈{I,U}X_i \in \{I, U\}Xi​∈{I,U}, each manufacturer sets a wholesale price wiw_iwi​ (a function of YYY if informed, a constant otherwise), then the retailer sets retail prices; the solution concept is Bayesian Nash equilibrium.
  3. Demand realizes and profits are collected.

The ex ante profits of the pricing equilibrium are denoted πM(0)\pi_M(0)πM​(0), πMU(1)\pi_M^U(1)πMU​(1), πMI(1)\pi_M^I(1)πMI​(1), πM(2)\pi_M(2)πM​(2) for a manufacturer and πR(n)\pi_R(n)πR​(n) for the retailer, nnn the number of informed manufacturers. neNn_e^NneN​, neCn_e^CneC​, neSn_e^SneS​ denote the equilibrium number of informed manufacturers without contracting, under concurrent and under sequential contracting.

Formalization targets

Goal: Proposition 8(d)

For every ϕ>0\phi > 0ϕ>0 and 0<ce<2/(1+ϕ)0 < c_e < 2/(1+\phi)0<ce​<2/(1+ϕ), pricing equilibria exist, concurrent outcomes and sequential SPEs exist, and for every concurrent outcome and every SPE (either first mover)

ΠRC≤ΠRS,ΠMS≤ΠMC,\Pi_R^C \le \Pi_R^S, \qquad \Pi_M^S \le \Pi_M^C ,ΠRC​≤ΠRS​,ΠMS​≤ΠMC​,

where ΠR\Pi_RΠR​ is the retailer's profit after side payments and ΠM\Pi_MΠM​ the manufacturers' total profit net of them. The second inequality is asserted for all cec_ece​ except at most two values depending only on ϕ\phiϕ. The comparisons about every pricing equilibrium family exclude the single value ce∗=(2+3ϕ)/[(1+2ϕ)(1+ϕ)]c_e^* = (2+3\phi)/[(1+2\phi)(1+\phi)]ce∗​=(2+3ϕ)/[(1+2ϕ)(1+ϕ)] (see Formalization scope). The paper says "higher"; the inequalities are weak because both sides coincide on intervals of positive length.

Milestones

  1. Lemma 1: the pricing equilibrium exists and, for ce≠ce∗c_e \ne c_e^*ce​=ce∗​, is unique and linear in YYY with explicit coefficients.
  2. §4.2: the ex ante profits πM(⋅)\pi_M(\cdot)πM​(⋅) and πR(⋅)\pi_R(\cdot)πR​(⋅) in closed form.
  3. Lemma 5(a)–(c) and Lemma 5(d): sign comparisons of these profits in cec_ece​, with thresholds 1/(1+ϕ)1/(1+\phi)1/(1+ϕ), (4+5ϕ)/[(2+3ϕ)(1+ϕ)](4+5\phi)/[(2+3\phi)(1+\phi)](4+5ϕ)/[(2+3ϕ)(1+ϕ)], ceac_e^acea​ and ceNc_e^NceN​.
  4. Proposition 7: thresholds ceCc_e^CceC​, ceSc_e^SceS​ such that
neZ=0 for ce<11+ϕ,neZ=2 for 11+ϕ≤ce<ceZ,neZ=1 for ceZ≤ce<21+ϕ.n_e^Z = 0 \text{ for } c_e < \tfrac{1}{1+\phi}, \quad n_e^Z = 2 \text{ for } \tfrac{1}{1+\phi} \le c_e < c_e^Z, \quad n_e^Z = 1 \text{ for } c_e^Z \le c_e < \tfrac{2}{1+\phi}.neZ​=0 for ce​<1+ϕ1​,neZ​=2 for 1+ϕ1​≤ce​<ceZ​,neZ​=1 for ceZ​≤ce​<1+ϕ2​.
  1. Proposition 6(b): the same structure for neNn_e^NneN​ with a threshold ceNc_e^NceN​.
  2. Proposition 8(a): ceN<ceS≤ceCc_e^N < c_e^S \le c_e^CceN​<ceS​≤ceC​.

Significance

Proposition 8(d) says that a common retailer who sells information prefers to sell it sequentially, and that the manufacturers bear the cost: sequential offers let her extract a larger payment from the first manufacturer, because his outside option depends on what she will do with the second. Together with Propositions 6 and 7 it explains why retailers under production economy share with only a subset of suppliers once economies of scale or competition are strong, and why a retailer may share data for free, a practice the diseconomy model cannot produce.

The results are proved in the paper, partly by "it is straightforward" arguments (the proofs of Lemmas 2–5 are omitted). No part of the paper is formalized. A formalization adds a machine-checked account of the equilibrium selection at the boundary payments, where the paper's case analysis is informal, and of the points at which the retailer is indifferent between outcomes.

Difficulty

The pricing stage is a Bayesian game with a continuum of strategies: an informed manufacturer's strategy is an arbitrary square-integrable function of the signal. Lemma 1's uniqueness needs the Assumption (without it the manufacturer's problem is not concave) and a conditional-expectation argument, not a finite-dimensional computation. The comparisons of Lemma 5 are sign conditions on rational functions of (ce,ϕ)(c_e, \phi)(ce​,ϕ) whose thresholds ceac_e^acea​, ceNc_e^NceN​ are implicit roots. The contracting stage is where the naive argument fails: at the boundary payments several equilibria give the retailer the same payoff but the manufacturers different payoffs, so "the" outcome is not well defined there, and a direct comparison of closed-form profits at the paper's selected equilibria does not cover every equilibrium.

Formalization scope

Lean represents manufacturers by Fin 2, statuses by an inductive type with informed and uninformed, and a pricing strategy by a function of the signal value. The committed conventions are these.

  1. Admissible strategies are measurable with square-integrable wi(Y)w_i(Y)wi​(Y), and constant for an uninformed manufacturer; ex ante optimality over them is the Bayesian equilibrium condition.
  2. The retailer's rule is a best response for every wholesale price pair and signal value, off path included.
  3. The production cost is the uncapped quadratic bq−ceq2bq - c_e q^2bq−ce​q2. The paper caps the quantity at qˉ=b/(2ce)\bar q = b/(2c_e)qˉ​=b/(2ce​) but assumes the cap is reached with negligible probability (footnote 11, p. 251) and computes every result of §4.2 and §6 without it. The condition b<ab < ab<a of that footnote is not imposed.
  4. Contracting uses pure strategies, nonnegative payments, and no free-sharing move after a rejection.
  5. A concurrent outcome is a payment and a pure equilibrium whose retailer payoff equals the supremum of her payoffs over Pareto-optimal equilibria. The supremum is not always attained: for large cec_ece​ the paper's optimal payment πMI(1)−πM(0)\pi_M^I(1) - \pi_M(0)πMI​(1)−πM​(0) makes (U,U)(U,U)(U,U) an equilibrium that Pareto-dominates the one-informed outcome it selects.
  6. Threshold statements take the two-clause form: the stated value of nnn is attained on each region with its printed endpoints, and is the only value on the region's interior. Thresholds depend only on ϕ\phiϕ and are quantified before all other parameters.
  7. The manufacturers' comparison in the goal excludes at most two values of cec_ece​. At the thresholds ceCc_e^CceC​, ceSc_e^SceS​ outcomes with different manufacturer totals coexist, and the universal comparison fails.
  8. A correction of the paper. At ce∗=(2+3ϕ)/[(1+2ϕ)(1+ϕ)]c_e^* = (2+3\phi)/[(1+2\phi)(1+\phi)]ce∗​=(2+3ϕ)/[(1+2ϕ)(1+ϕ)], which lies in (1/(1+ϕ),2/(1+ϕ))(1/(1+\phi), 2/(1+\phi))(1/(1+ϕ),2/(1+ϕ)), the slope of the best-response wholesale price (2) is exactly −1-1−1. The equations wi=w^i(wj)w_i = \hat w_i(w_j)wi​=w^i​(wj​) are then singular, and every status profile has a continuum of pricing equilibria (for n=0n = 0n=0, w1,2=wˉ±tw_{1,2} = \bar w \pm tw1,2​=wˉ±t for every ttt) whose ex ante profits differ. Lemma 1's uniqueness claim fails there, so do the §4.2 identities for every equilibrium family, and so does every statement built on them. Each statement that quantifies over all pricing equilibria therefore assumes ce≠ce∗c_e \ne c_e^*ce​=ce∗​; existence is still asserted at ce∗c_e^*ce∗​.

The ex ante profits in every statement are those of an equilibrium of the pricing game on the signal model, not the §4.2 closed forms; a formalization that defined them by the closed forms would reduce the goal to algebra and a 2×22 \times 22×2 game, and is ruled out. The model layer (signal model, pricing equilibrium, payoff table, both contracting games) is shared, name for name, with the production diseconomy mission. Contributions are welcome on each milestone, and on reusable pieces: linear-expectation signals, and pointwise optimization under conditional expectation.

Selected references

  • Shang W., Ha A. Y., Tong S., Information Sharing in a Supply Chain with a Common Retailer, Management Science 62(1):245–263, 2016. https://doi.org/10.1287/mnsc.2014.2127
  • Ericson W. A., A note on the posterior mean of a population mean, Journal of the Royal Statistical Society B 31(2):332–334, 1969 (cited for the formula of β(t,σ)\beta(t,\sigma)β(t,σ), which this mission does not use).
  • Vives X., Oligopoly Pricing: Old Ideas and New Tools, MIT Press, 1999, §2.7.2.
  • Li L., Information sharing in a supply chain with horizontal competition, Management Science 48(9):1196–1212, 2002. https://doi.org/10.1287/mnsc.48.9.1196.177
17 thms2 active usersReviewed
🏆Completed
Operations Research·Captain: mikedeng1

Global Convergence of Splitting Methods for Nonconvex Composite Optimization IV: Descent and Stationary Cluster Points of the Proximal Gradient MethodResearch Paper

Motivation

Many problems in statistics, signal processing and machine learning minimize a sum of a smooth loss and a nonsmooth regularizer: least squares with an ℓ0\ell_0ℓ0​ or ℓ1/2\ell_{1/2}ℓ1/2​ penalty, and constrained problems in which the regularizer is the indicator of a nonconvex set. The proximal gradient method (also called forward–backward splitting) is the standard first-order algorithm for such problems. Each step takes a gradient step on the smooth part and then applies the proximal mapping of the nonsmooth part, which for many nonconvex regularizers (hard thresholding, projection onto sparse vectors) has a closed form.

For a smooth part hhh whose gradient is LLL-Lipschitz, the classical analysis allows any constant step size β∈(0,1/L)\beta \in (0, 1/L)β∈(0,1/L), and every cluster point of the iterates is stationary; Li and Pong cite Bredies and Lorenz (Minimization of non-convex, non-smooth functionals by iterative thresholding, preprint, 2009) for this. Attouch, Bolte and Svaiter (Math. Program., 2013) added convergence of the whole sequence when h+Ph + Ph+P has the Kurdyka–Łojasiewicz property. When hhh is nonconvex, however, LLL is governed by the most negative curvature of hhh as much as by the most positive one, and the admissible step sizes can be much smaller than the convex part of hhh alone would require.

Li and Pong (SIAM J. Optim., 2015; preprint arXiv:1407.0753v6) show that the concave part of hhh imposes no restriction on the step size: it suffices to bound the curvature of hhh after it has been offset by a convex function. This mission formalizes that result, Theorem 4 of their paper. It is the fourth mission of a series on the paper; the first three treat its results on the alternating direction method of multipliers.

Setting

Work in Rn\mathbb{R}^nRn with the Euclidean inner product ⟨⋅,⋅⟩\langle\cdot,\cdot\rangle⟨⋅,⋅⟩ and norm ∥⋅∥\|\cdot\|∥⋅∥. The problem is

min⁡x∈Rn  h(x)+P(x),\min_{x \in \mathbb{R}^n}\; h(x) + P(x),x∈Rnmin​h(x)+P(x),

under the paper's standing assumptions: h:Rn→Rh : \mathbb{R}^n \to \mathbb{R}h:Rn→R is twice continuously differentiable with a bounded Hessian ∇2h\nabla^2 h∇2h; P:Rn→(−∞,+∞]P : \mathbb{R}^n \to (-\infty, +\infty]P:Rn→(−∞,+∞] is proper (never −∞-\infty−∞, finite somewhere) and closed (lower semicontinuous); and for every τ>0\tau > 0τ>0 and uuu the proximal problem min⁡yτP(y)+12∥y−u∥2\min_y \tau P(y) + \frac12\|y - u\|^2miny​τP(y)+21​∥y−u∥2 has a minimizer. Neither hhh nor PPP is assumed convex.

A vector vvv is a regular subgradient of PPP at xxx (with P(x)<∞P(x) < \inftyP(x)<∞) if P(z)≥P(x)+⟨v,z−x⟩−ε∥z−x∥P(z) \ge P(x) + \langle v, z - x\rangle - \varepsilon\|z - x\|P(z)≥P(x)+⟨v,z−x⟩−ε∥z−x∥ for all zzz near xxx, for every ε>0\varepsilon > 0ε>0. The limiting subdifferential ∂P(x)\partial P(x)∂P(x) collects the limits v=lim⁡vtv = \lim v^tv=limvt of regular subgradients vtv^tvt at points xt→xx^t \to xxt→x with P(xt)→P(x)P(x^t) \to P(x)P(xt)→P(x). A point xxx is stationary if

0∈∇h(x)+∂P(x).0 \in \nabla h(x) + \partial P(x).0∈∇h(x)+∂P(x).

Given a step size β>0\beta > 0β>0 and an arbitrary starting point x0x^0x0, the proximal gradient method generates (xt)t≥0(x^t)_{t \ge 0}(xt)t≥0​ by

xt+1∈Arg min⁡x{⟨∇h(xt),x−xt⟩+12β∥x−xt∥2+P(x)}.(43)x^{t+1} \in \operatorname*{Arg\,min}_x \Bigl\{ \langle \nabla h(x^t), x - x^t\rangle + \frac{1}{2\beta}\|x - x^t\|^2 + P(x) \Bigr\}. \tag{43}xt+1∈xArgmin​{⟨∇h(xt),x−xt⟩+2β1​∥x−xt∥2+P(x)}.(43)

Any minimizer may be selected. A cluster point of (xt)(x^t)(xt) is the limit of a subsequence xtix^{t_i}xti​.

The step-size condition involves a convex function qqq and a constant ℓ>0\ell > 0ℓ>0 with

−ℓI⪯∇2h(x)+∇2q(x)⪯ℓIfor all x,(44)-\ell I \preceq \nabla^2 h(x) + \nabla^2 q(x) \preceq \ell I \quad \text{for all } x, \tag{44}−ℓI⪯∇2h(x)+∇2q(x)⪯ℓIfor all x,(44)

where ⪯\preceq⪯ is the Loewner order on symmetric linear maps.

Formalization targets

Goal: Theorem 4

Suppose qqq is twice continuously differentiable and convex, ℓ>0\ell > 0ℓ>0, (44) holds, and (xt)(x^t)(xt) is generated by (43) with β∈(0,1/ℓ)\beta \in (0, 1/\ell)β∈(0,1/ℓ). Then

h(xt+1)+P(xt+1)≤h(xt)+P(xt)for all t,h(x^{t+1}) + P(x^{t+1}) \le h(x^t) + P(x^t) \quad \text{for all } t,h(xt+1)+P(xt+1)≤h(xt)+P(xt)for all t,

and every cluster point x∗x^*x∗ of (xt)(x^t)(xt), if one exists, satisfies 0∈∇h(x∗)+∂P(x∗)0 \in \nabla h(x^*) + \partial P(x^*)0∈∇h(x∗)+∂P(x∗).

The goal does not assert that a cluster point exists, nor that the whole sequence converges; both are false without further assumptions.

Milestones

In the order of the paper's proof:

  1. Eq. (3): robustness of ∂\partial∂ under xt→xx^t \to xxt→x, f(xt)→f(x)f(x^t) \to f(x)f(xt)→f(x), vt→vv^t \to vvt→v.
  2. Eq. (45): under (44), (h+q)(v)≤(h+q)(u)+⟨∇h(u)+∇q(u),v−u⟩+ℓ2∥v−u∥2(h+q)(v) \le (h+q)(u) + \langle \nabla h(u) + \nabla q(u), v - u\rangle + \frac{\ell}{2}\|v - u\|^2(h+q)(v)≤(h+q)(u)+⟨∇h(u)+∇q(u),v−u⟩+2ℓ​∥v−u∥2.
  3. Eq. (46): h(xt+1)+P(xt+1)≤h(xt)+P(xt)+(ℓ2−12β)∥xt+1−xt∥2h(x^{t+1}) + P(x^{t+1}) \le h(x^t) + P(x^t) + \bigl(\frac{\ell}{2} - \frac{1}{2\beta}\bigr)\|x^{t+1} - x^t\|^2h(xt+1)+P(xt+1)≤h(xt)+P(xt)+(2ℓ​−2β1​)∥xt+1−xt∥2.
  4. The summed bound after (46): (12β−ℓ2)∑t=0N−1∥xt+1−xt∥2+h(xN)+P(xN)≤h(x0)+P(x0)\bigl(\frac{1}{2\beta} - \frac{\ell}{2}\bigr)\sum_{t=0}^{N-1}\|x^{t+1} - x^t\|^2 + h(x^N) + P(x^N) \le h(x^0) + P(x^0)(2β1​−2ℓ​)∑t=0N−1​∥xt+1−xt∥2+h(xN)+P(xN)≤h(x0)+P(x0).
  5. Vanishing steps: if a cluster point exists, ∥xt+1−xt∥→0\|x^{t+1} - x^t\| \to 0∥xt+1−xt∥→0.
  6. Function-value convergence: if xti→x∗x^{t_i} \to x^*xti​→x∗, then P(xti+1)→P(x∗)P(x^{t_i+1}) \to P(x^*)P(xti​+1)→P(x∗).
  7. Eq. (47): 0∈∇h(xt)+1β(xt+1−xt)+∂P(xt+1)0 \in \nabla h(x^t) + \frac{1}{\beta}(x^{t+1} - x^t) + \partial P(x^{t+1})0∈∇h(xt)+β1​(xt+1−xt)+∂P(xt+1) for every ttt.

Significance

The result. For h=h1−h2h = h_1 - h_2h=h1​−h2​ a difference of convex C2C^2C2 functions with ∇h1\nabla h_1∇h1​ being L1L_1L1​-Lipschitz, (44) holds with q=h2q = h_2q=h2​ and ℓ=L1\ell = L_1ℓ=L1​, so the step size may be taken in (0,1/L1)(0, 1/L_1)(0,1/L1​) whatever the curvature of h2h_2h2​. For an indefinite quadratic h(x)=12⟨x,Qx⟩h(x) = \frac12\langle x, Qx\rangleh(x)=21​⟨x,Qx⟩ the admissible range becomes (0,1/λmax⁡(Q))(0, 1/\lambda_{\max}(Q))(0,1/λmax​(Q)) instead of (0,1/max⁡i∣λi(Q)∣)(0, 1/\max_i|\lambda_i(Q)|)(0,1/maxi​∣λi​(Q)∣), and for a concave quadratic every positive step size is admissible. Because the method is a descent method under this rule, its iterates stay in a sublevel set of h+Ph + Ph+P, so the sequence is bounded whenever h+Ph + Ph+P is coercive. The same estimates feed the whole-sequence convergence argument for Kurdyka–Łojasiewicz functions.

Formalizing it. The theorem is proved in the paper; to the best of current knowledge it has no machine-checked proof. Formalizing it requires the limiting subdifferential of an extended-real-valued function, its closedness property (3), and a Fermat rule for a smooth-plus-nonsmooth sum, none of which is in Mathlib. These are reusable for any nonconvex first-order method analysed through cluster points.

Difficulty

The descent part rests on (45), a descent inequality for h+qh + qh+q whose Lipschitz constant is read off from a two-sided Hessian bound; the familiar descent lemma is stated for hhh alone and does not apply, since ∇h\nabla h∇h may have a much larger Lipschitz constant than ℓ\ellℓ.

The stationarity part is where the naive argument fails. Passing to the limit in (47) needs not only xti+1→x∗x^{t_i+1} \to x^*xti​+1→x∗ but also P(xti+1)→P(x∗)P(x^{t_i+1}) \to P(x^*)P(xti​+1)→P(x∗), because the limiting subdifferential is closed only under PPP-attentive convergence. Lower semicontinuity gives one inequality; the other must come from the minimizing property (43) compared against x∗x^*x∗. The objective may be +∞+\infty+∞ at x0x^0x0, so summability of the steps has to be extracted without assuming a finite starting value.

Formalization scope

The space is EuclideanSpace ℝ (Fin n). hhh and qqq are real-valued; PPP takes values in EReal, and every objective value h(x)+P(x)h(x) + P(x)h(x)+P(x) is compared in EReal, never through EReal.toReal. The Hessian is the derivative of the gradient map, a continuous linear self-map; the Loewner order is Mathlib's partial order A ≤ B ↔ (B - A).IsPositive, and both sides of (44) are kept. The regular subgradient is encoded in its ε\varepsilonε-neighbourhood form, and the limiting subdifferential requires all three convergences xt→xx^t \to xxt→x, P(xt)→P(x)P(x^t) \to P(x)P(xt)→P(x), vt→vv^t \to vvt→v. Stationarity is ∃w∈∂P(x), ∇h(x)+w=0\exists w \in \partial P(x),\ \nabla h(x) + w = 0∃w∈∂P(x), ∇h(x)+w=0. The update (43) is a relation on sequences: xt+1x^{t+1}xt+1 minimizes the bracket over all of Rn\mathbb{R}^nRn, with no uniqueness and a free starting point. A cluster point is the limit of xφ(i)x^{\varphi(i)}xφ(i) for a strictly increasing φ\varphiφ.

Trivializing formalizations are ruled out: (44) is not replaced by "∇h\nabla h∇h is ℓ\ellℓ-Lipschitz", which is the classical special case q=0q = 0q=0; P(x0)<∞P(x^0) < \inftyP(x0)<∞, boundedness of the sequence and existence of a cluster point are not assumed; and a limiting subdifferential without P(xt)→P(x)P(x^t) \to P(x)P(xt)→P(x) is not used, since that would make stationarity a weaker statement.

Contributions welcome: the closedness (3) and the Fermat rule behind (47) for the limiting subdifferential, a descent lemma from a two-sided Hessian bound, and the telescoping and limit arguments of the proof.

Selected references

  • G. Li and T. K. Pong, Global convergence of splitting methods for nonconvex composite optimization, SIAM J. Optim. 25(4), 2015. Preprint arXiv:1407.0753v6. https://arxiv.org/abs/1407.0753 · https://doi.org/10.1137/140998135
  • H. Attouch, J. Bolte and B. F. Svaiter, Convergence of descent methods for semi-algebraic and tame problems: proximal algorithms, forward–backward splitting, and regularized Gauss–Seidel methods, Math. Program. 137, 2013. https://doi.org/10.1007/s10107-011-0484-9
  • K. Bredies and D. A. Lorenz, Minimization of non-convex, non-smooth functionals by iterative thresholding, preprint, 2009 (reference [9] of Li–Pong; no stable link recorded there).
  • R. T. Rockafellar and R. J.-B. Wets, Variational Analysis, Springer, 1998. https://doi.org/10.1007/978-3-642-02431-3
13 thms2 active usersReviewed
Operations Research·Captain: mikedeng1

Global Convergence of Splitting Methods for Nonconvex Composite Optimization III: For Semi-Algebraic Problems the ADMM Sequence Converges and Has Finite LengthResearch Paper

Motivation

The alternating direction method of multipliers (ADMM) is a standard method for problems of the form min⁡xh(x)+P(Mx)\min_x h(x)+P(\mathcal Mx)minx​h(x)+P(Mx), in which a smooth loss hhh is composed with a structured, possibly nonsmooth regularizer PPP through a linear map M\mathcal MM. Its convergence theory was developed for convex problems, yet it is routinely run on nonconvex ones: sparse recovery with the ℓ0\ell_0ℓ0​ constraint, low-rank matrix problems, and total-variation-type models with nonconvex penalties. For such problems a practitioner wants a guarantee about the iterates actually produced, not only about the existence of good subsequences.

Li and Pong (arXiv:1407.0753v6, SIAM J. Optim. 25(4), 2015) gave the first such guarantee for the classical ADMM on nonconvex composite problems with a surjective M\mathcal MM. Their Theorem 1 shows that cluster points of the (proximal) ADMM are stationary; their Theorem 3, the subject of this mission, shows that for semi-algebraic data the whole sequence converges. The argument adapts the Kurdyka–Łojasiewicz (KL) framework of Attouch, Bolte and Svaiter (Math. Program. 137, 2013) to a setting where the ADMM only decreases its merit function in the xxx-block.

Setting

Fix M:Rn→Rm\mathcal M:\mathbb R^n\to\mathbb R^mM:Rn→Rm linear, h:Rn→Rh:\mathbb R^n\to\mathbb Rh:Rn→R twice continuously differentiable with bounded Hessian, and P:Rm→(−∞,+∞]P:\mathbb R^m\to(-\infty,+\infty]P:Rm→(−∞,+∞] proper (finite somewhere) and closed (lower semicontinuous). For β>0\beta>0β>0 the augmented Lagrangian is

Lβ(x,y,z)=h(x)+P(y)−⟨z,Mx−y⟩+β2∥Mx−y∥2.L_\beta(x,y,z)=h(x)+P(y)-\langle z,\mathcal Mx-y\rangle+\tfrac\beta2\|\mathcal Mx-y\|^2 .Lβ​(x,y,z)=h(x)+P(y)−⟨z,Mx−y⟩+2β​∥Mx−y∥2.

The ADMM produces (xt,yt,zt)t≥0(x^t,y^t,z^t)_{t\ge0}(xt,yt,zt)t≥0​ from arbitrary (x0,z0)(x^0,z^0)(x0,z0) by

yt+1∈Arg min⁡yLβ(xt,y,zt),xt+1∈Arg min⁡xLβ(x,yt+1,zt),zt+1=zt−β(Mxt+1−yt+1).y^{t+1}\in\operatorname*{Arg\,min}_y L_\beta(x^t,y,z^t),\quad x^{t+1}\in\operatorname*{Arg\,min}_x L_\beta(x,y^{t+1},z^t),\quad z^{t+1}=z^t-\beta(\mathcal Mx^{t+1}-y^{t+1}).yt+1∈yArgmin​Lβ​(xt,y,zt),xt+1∈xArgmin​Lβ​(x,yt+1,zt),zt+1=zt−β(Mxt+1−yt+1).

Assumption 1 with T1=0\mathcal T_1=0T1​=0 asks for σ,δ>0\sigma,\delta>0σ,δ>0, γ∈(0,1)\gamma\in(0,1)γ∈(0,1) and symmetric maps Q1,Q2,Q3\mathcal Q_1,\mathcal Q_2,\mathcal Q_3Q1​,Q2​,Q3​ with MM∗⪰σI\mathcal M\mathcal M^*\succeq\sigma\mathcal IMM∗⪰σI, Q1⪰∇2h(x)⪰Q2\mathcal Q_1\succeq\nabla^2h(x)\succeq\mathcal Q_2Q1​⪰∇2h(x)⪰Q2​ and Q3⪰[∇2h(x)]2\mathcal Q_3\succeq[\nabla^2h(x)]^2Q3​⪰[∇2h(x)]2 for all xxx, Q2+βM∗M⪰δI\mathcal Q_2+\beta\mathcal M^*\mathcal M\succeq\delta\mathcal IQ2​+βM∗M⪰δI, and δI≻2σβγQ3\delta\mathcal I\succ\frac{2}{\sigma\beta\gamma}\mathcal Q_3δI≻σβγ2​Q3​.

The limiting subdifferential ∂f(x)\partial f(x)∂f(x) of fff consists of limits vvv of regular subgradients vtv^tvt at points xt→xx^t\to xxt→x with f(xt)→f(x)f(x^t)\to f(x)f(xt)→f(x). A point xxx is stationary if 0∈∇h(x)+M∗∂P(Mx)0\in\nabla h(x)+\mathcal M^*\partial P(\mathcal Mx)0∈∇h(x)+M∗∂P(Mx).

A set in RN\mathbb R^NRN is semi-algebraic if it is a finite union of sets cut out by finitely many polynomial equations pi=0p_i=0pi​=0 and strict inequalities gj<0g_j<0gj​<0; a function is semi-algebraic if its graph is. A proper fff has the KL property at x^∈dom⁡∂f\hat x\in\operatorname{dom}\partial fx^∈dom∂f if there are η>0\eta>0η>0, a neighbourhood VVV of x^\hat xx^ and a continuous concave φ:[0,η)→R+\varphi:[0,\eta)\to\mathbb R_+φ:[0,η)→R+​ with φ(0)=0\varphi(0)=0φ(0)=0, φ∈C1(0,η)\varphi\in C^1(0,\eta)φ∈C1(0,η), φ′>0\varphi'>0φ′>0, such that φ′(f(x)−f(x^)) dist⁡(0,∂f(x))≥1\varphi'(f(x)-f(\hat x))\,\operatorname{dist}(0,\partial f(x))\ge1φ′(f(x)−f(x^))dist(0,∂f(x))≥1 whenever x∈Vx\in Vx∈V and f(x^)<f(x)<f(x^)+ηf(\hat x)<f(x)<f(\hat x)+\etaf(x^)<f(x)<f(x^)+η. A KL function is proper, closed, and KL at every point of dom⁡∂f\operatorname{dom}\partial fdom∂f.

In the Lean development LβL_\betaLβ​ is augLag h P M β x y z, and also augLagX h P M β as a single function on the triple space Rn×Rm×Rm\mathbb R^n\times\mathbb R^m\times\mathbb R^mRn×Rm×Rm with the Euclidean inner product.

Formalization targets

Goal: Theorem 3 (p. 13)

Under the standing assumptions and Assumption 1 with T1=0\mathcal T_1=0T1​=0, if hhh and PPP are semi-algebraic and the ADMM sequence has a cluster point (x∗,y∗,z∗)(x^*,y^*,z^*)(x∗,y∗,z∗), then

(xt,yt,zt)→(x∗,y∗,z∗),0∈∇h(x∗)+M∗∂P(Mx∗),∑t∥xt+1−xt∥<∞.(x^t,y^t,z^t)\to(x^*,y^*,z^*),\qquad 0\in\nabla h(x^*)+\mathcal M^*\partial P(\mathcal Mx^*),\qquad \sum_{t}\|x^{t+1}-x^t\|<\infty .(xt,yt,zt)→(x∗,y∗,z∗),0∈∇h(x∗)+M∗∂P(Mx∗),t∑​∥xt+1−xt∥<∞.

No constants are fixed: every parameter is quantified exactly as in the paper.

Milestones

  1. (35): some w∈∂Lβ(xt+1,yt+1,zt+1)w\in\partial L_\beta(x^{t+1},y^{t+1},z^{t+1})w∈∂Lβ​(xt+1,yt+1,zt+1) has ∥w∥≤C∥xt+1−xt∥\|w\|\le C\|x^{t+1}-x^t\|∥w∥≤C∥xt+1−xt∥ for t≥1t\ge1t≥1.
  2. (36): Lβ(xt,yt,zt)−Lβ(xt+1,yt+1,zt+1)≥D∥xt+1−xt∥2L_\beta(x^t,y^t,z^t)-L_\beta(x^{t+1},y^{t+1},z^{t+1})\ge D\|x^{t+1}-x^t\|^2Lβ​(xt,yt,zt)−Lβ​(xt+1,yt+1,zt+1)≥D∥xt+1−xt∥2 for t≥1t\ge1t≥1.
  3. (39): Lβ(xt,yt,zt)→Lβ(x∗,y∗,z∗)L_\beta(x^t,y^t,z^t)\to L_\beta(x^*,y^*,z^*)Lβ​(xt,yt,zt)→Lβ​(x∗,y∗,z∗).
  4. Finite termination when LβL_\betaLβ​ reaches its limit value.
  5. (41): the one-step KL estimate.
  6. Remark 4(1): the goal with "LβL_\betaLβ​ is a KL function" in place of semi-algebraicity.
  7. LβL_\betaLβ​ is semi-algebraic when hhh and PPP are.
  8. Proper closed semi-algebraic functions are KL functions, with φ(s)=cs1−θ\varphi(s)=cs^{1-\theta}φ(s)=cs1−θ.

Milestones 6, 7 and 8 together imply the goal.

Significance

The result. Theorem 3 upgrades subsequential convergence to convergence of the whole iterate sequence, with finite length of the xxx-trajectory, for a nonconvex ADMM without any convexity of hhh or PPP. Semi-algebraicity covers the paper's applications: polynomial losses, the ℓ0\ell_0ℓ0​ constraint, and indicators of polyhedral or algebraic sets. Remark 4(1) isolates the only property actually used, the KL property of LβL_\betaLβ​, so the result extends to any class of functions for which that property is known (for instance, globally subanalytic or o-minimal definable data).

Formalizing it. The result is proved in the paper and, as far as is known, formalized nowhere. The mission produces a machine-checked version of the paper's convergence argument, a Lean definition of the KL property with the correct convention for empty subdifferentials, and a semi-algebraic set predicate over MvPolynomial. Milestone 8 is a published theorem of real algebraic geometry and nonsmooth analysis (Bolte–Daniilidis–Lewis 2007) that the paper quotes without proof; it is part of what a complete development of the goal requires.

Difficulty

The obvious route is to invoke the abstract convergence theorem of Attouch–Bolte–Svaiter for descent methods. It does not apply: its sufficient-decrease hypothesis requires LβL_\betaLβ​ to drop by a multiple of ∥xt+1−xt∥2+∥yt+1−yt∥2+∥zt+1−zt∥2\|x^{t+1}-x^t\|^2+\|y^{t+1}-y^t\|^2+\|z^{t+1}-z^t\|^2∥xt+1−xt∥2+∥yt+1−yt∥2+∥zt+1−zt∥2, while the ADMM only guarantees a drop proportional to ∥xt+1−xt∥2\|x^{t+1}-x^t\|^2∥xt+1−xt∥2 (Remark 4(2)). The relative-error bound (35) is likewise in terms of the xxx-step alone, and relating the yyy- and zzz-blocks back to the xxx-block uses the surjectivity of M\mathcal MM and the specific structure of the multiplier update. The neighbourhood on which the KL inequality holds is a neighbourhood of the full triple, whereas the trajectory is controlled only in xxx.

The semi-algebraic part has a separate difficulty: showing that LβL_\betaLβ​ is semi-algebraic needs closure of semi-algebraic sets under projection (the Tarski–Seidenberg theorem), and the KL property of semi-algebraic functions needs the Łojasiewicz inequality for subanalytic or semi-algebraic functions. Mathlib has neither.

Formalization scope

Spaces are EuclideanSpace ℝ (Fin n); M\mathcal MM is a continuous linear map and M∗\mathcal M^*M∗ its adjoint. PPP and LβL_\betaLβ​ take values in EReal, never passed through toReal except where the value is provably finite. ⪰\succeq⪰ is Mathlib's Loewner order on self-maps; the Hessian is fderiv ℝ (gradient h). The ADMM is the proximal-ADMM relation with ϕ=0\phi=0ϕ=0; argmin steps are "value at most the value anywhere", with no uniqueness; y0y^0y0 is unconstrained. The triple space is the nested L2L^2L2 product, so its inner product is the sum of the block inner products.

The KL inequality is stated for every v∈∂f(x)v\in\partial f(x)v∈∂f(x), which encodes dist⁡(0,∅)=+∞\operatorname{dist}(0,\emptyset)=+\inftydist(0,∅)=+∞. Writing it with Metric.infDist 0 (∂f x) would give dist⁡(0,∅)=0\operatorname{dist}(0,\emptyset)=0dist(0,∅)=0 and make the KL property fail at every point with empty subdifferential, so that "semi-algebraic implies KL" becomes false and the goal becomes a statement about a different notion. The KL property is required only at points of dom⁡∂f\operatorname{dom}\partial fdom∂f, only on a neighbourhood and only for values in (f(x^),f(x^)+η)(f(\hat x),f(\hat x)+\eta)(f(x^),f(x^)+η); φ\varphiφ is differentiable only on the open interval. Semi-algebraicity of an extended-valued function is that of its graph over its real values. η\etaη is a positive real, which is equivalent to the paper's η∈(0,∞]\eta\in(0,\infty]η∈(0,∞].

The hypotheses ϕ=0\phi=0ϕ=0 and T1=0\mathcal T_1=0T1​=0 are part of the theorem, not a simplification: the analogous statement for the proximal ADMM is open (Remark 4(3)). The cluster point is assumed, not derived.

Needed infrastructure: calculus of the limiting subdifferential (a smooth-plus-separable sum rule), the Tarski–Seidenberg theorem, and the Łojasiewicz/KL inequality for semi-algebraic functions. The last two are reusable far beyond this mission; contributions toward them, and toward the analytic core (milestones 1–6), are welcome.

Selected references

  • G. Li, T. K. Pong, Global convergence of splitting methods for nonconvex composite optimization, SIAM J. Optim. 25(4), 2015. https://arxiv.org/abs/1407.0753 (v6 is the cited version)
  • H. Attouch, J. Bolte, P. Redont, A. Soubeyran, Proximal alternating minimization and projection methods for nonconvex problems: an approach based on the Kurdyka–Łojasiewicz inequality, Math. Oper. Res. 35(2), 2010. https://doi.org/10.1287/moor.1100.0449
  • H. Attouch, J. Bolte, B. F. Svaiter, Convergence of descent methods for semi-algebraic and tame problems, Math. Program. 137, 2013. https://doi.org/10.1007/s10107-011-0484-9
  • J. Bolte, A. Daniilidis, A. Lewis, The Łojasiewicz inequality for nonsmooth subanalytic functions with applications to subgradient dynamical systems, SIAM J. Optim. 17(4), 2007. https://doi.org/10.1137/050644641
  • R. T. Rockafellar, R. J.-B. Wets, Variational Analysis, Springer, 1998. https://doi.org/10.1007/978-3-642-02431-3
17 thms2 active usersReviewed
🏆Completed
Operations Research·Captain: mikedeng1

Global Convergence of Splitting Methods for Nonconvex Composite Optimization II: The Proximal ADMM Sequence Is Bounded Under CoercivityResearch Paper

Motivation

The alternating direction method of multipliers (ADMM) splits a problem of the form min⁡xh(x)+P(Mx)\min_x h(x) + P(\mathcal M x)minx​h(x)+P(Mx) into a sequence of simpler subproblems, one in which the nonsmooth term PPP enters only through its proximal map and one in which only the smooth term hhh appears. For convex problems its convergence theory is classical. In signal processing and statistics, however, the method is routinely run on nonconvex models, such as ℓ0\ell_0ℓ0​- or ℓ1/2\ell_{1/2}ℓ1/2​-regularized least squares, where PPP is nonconvex and possibly discontinuous and convex theory does not apply.

Li and Pong (arXiv:1407.0753, SIAM J. Optim. 25(4), 2015) gave a convergence analysis of a proximal variant of the ADMM for this nonconvex setting. Their Theorem 1 shows that every cluster point of the iterates is a stationary point. That statement is only informative if cluster points exist. Theorem 2, the subject of this mission, gives conditions on hhh, PPP and M\mathcal MM under which the whole sequence of iterates is bounded, so that cluster points exist and Theorem 1 applies.

Setting

Let n,m≥0n, m \ge 0n,m≥0. The data are:

  • h:Rn→Rh : \mathbb{R}^n \to \mathbb{R}h:Rn→R, twice continuously differentiable with bounded Hessian ∇2h\nabla^2 h∇2h;
  • P:Rm→(−∞,+∞]P : \mathbb{R}^m \to (-\infty, +\infty]P:Rm→(−∞,+∞], proper (never −∞-\infty−∞, finite somewhere) and closed (lower semicontinuous);
  • M:Rn→Rm\mathcal M : \mathbb{R}^n \to \mathbb{R}^mM:Rn→Rm linear, with adjoint M∗\mathcal M^*M∗;
  • a penalty β>0\beta > 0β>0 and a convex, twice continuously differentiable ϕ:Rn→R\phi : \mathbb{R}^n \to \mathbb{R}ϕ:Rn→R.

The augmented Lagrangian is

Lβ(x,y,z)=h(x)+P(y)−⟨z,Mx−y⟩+β2∥Mx−y∥2,L_\beta(x, y, z) = h(x) + P(y) - \langle z, \mathcal M x - y\rangle + \frac{\beta}{2}\|\mathcal M x - y\|^2 ,Lβ​(x,y,z)=h(x)+P(y)−⟨z,Mx−y⟩+2β​∥Mx−y∥2,

and the Bregman distance of ϕ\phiϕ is Dϕ(x1,x2)=ϕ(x1)−ϕ(x2)−⟨∇ϕ(x2),x1−x2⟩D_\phi(x_1, x_2) = \phi(x_1) - \phi(x_2) - \langle\nabla\phi(x_2), x_1 - x_2\rangleDϕ​(x1​,x2​)=ϕ(x1​)−ϕ(x2​)−⟨∇ϕ(x2​),x1​−x2​⟩. A sequence (xt,yt,zt)t≥0(x^t, y^t, z^t)_{t\ge 0}(xt,yt,zt)t≥0​ is generated by the proximal ADMM if, from arbitrary x0,z0x^0, z^0x0,z0,

yt+1∈Arg min⁡yLβ(xt,y,zt),xt+1∈Arg min⁡x{Lβ(x,yt+1,zt)+Dϕ(x,xt)},zt+1=zt−β(Mxt+1−yt+1).y^{t+1} \in \operatorname*{Arg\,min}_y L_\beta(x^t, y, z^t), \quad x^{t+1} \in \operatorname*{Arg\,min}_x \{L_\beta(x, y^{t+1}, z^t) + D_\phi(x, x^t)\}, \quad z^{t+1} = z^t - \beta(\mathcal M x^{t+1} - y^{t+1}).yt+1∈yArgmin​Lβ​(xt,y,zt),xt+1∈xArgmin​{Lβ​(x,yt+1,zt)+Dϕ​(x,xt)},zt+1=zt−β(Mxt+1−yt+1).

For a linear self-map T\mathcal TT, write ∥x∥T2=⟨x,Tx⟩\|x\|^2_{\mathcal T} = \langle x, \mathcal T x\rangle∥x∥T2​=⟨x,Tx⟩, and write ⪰\succeq⪰, ≻\succ≻ for the semidefinite and definite order of symmetric maps. Assumption 1 asks for σ>0\sigma > 0σ>0 with MM∗⪰σI\mathcal M\mathcal M^* \succeq \sigma\mathcal IMM∗⪰σI (so M\mathcal MM is surjective), bounds Q1⪰∇2h⪰Q2\mathcal Q_1 \succeq \nabla^2 h \succeq \mathcal Q_2Q1​⪰∇2h⪰Q2​, maps T1⪰T2⪰0\mathcal T_1 \succeq \mathcal T_2 \succeq 0T1​⪰T2​⪰0 with T12⪰[∇2ϕ]2⪰T22\mathcal T_1^2 \succeq [\nabla^2\phi]^2 \succeq \mathcal T_2^2T12​⪰[∇2ϕ]2⪰T22​, δ>0\delta > 0δ>0 with Q2+βM∗M+T2⪰δI\mathcal Q_2 + \beta\mathcal M^*\mathcal M + \mathcal T_2 \succeq \delta\mathcal IQ2​+βM∗M+T2​⪰δI, a bound Q3⪰[∇2h+∇2ϕ]2\mathcal Q_3 \succeq [\nabla^2 h + \nabla^2\phi]^2Q3​⪰[∇2h+∇2ϕ]2, and γ∈(0,1)\gamma \in (0,1)γ∈(0,1) with

δI+T2≻2σβ(1γQ3+11−γT12).\delta\mathcal I + \mathcal T_2 \succ \frac{2}{\sigma\beta}\Bigl(\frac1\gamma\mathcal Q_3 + \frac1{1-\gamma}\mathcal T_1^2\Bigr).δI+T2​≻σβ2​(γ1​Q3​+1−γ1​T12​).

Formalization targets

Goal: Theorem 2 (p. 11)

Suppose Assumption 1 holds and, with the same σ\sigmaσ and γ\gammaγ, there is 0<ζ<2βγ0 < \zeta < 2\beta\gamma0<ζ<2βγ with

h0:=inf⁡x{h(x)−1σζ∥∇h(x)∥2}>−∞.(29)h_0 := \inf_x\Bigl\{h(x) - \frac{1}{\sigma\zeta}\|\nabla h(x)\|^2\Bigr\} > -\infty. \tag{29}h0​:=xinf​{h(x)−σζ1​∥∇h(x)∥2}>−∞.(29)

Suppose that either (i) M\mathcal MM is invertible and lim inf⁡∥y∥→∞P(y)=∞\liminf_{\|y\|\to\infty} P(y) = \inftyliminf∥y∥→∞​P(y)=∞, or (ii) lim inf⁡∥x∥→∞h(x)=∞\liminf_{\|x\|\to\infty} h(x) = \inftyliminf∥x∥→∞​h(x)=∞ and inf⁡yP(y)>−∞\inf_y P(y) > -\inftyinfy​P(y)>−∞. Then

sup⁡t≥0 (∥xt∥+∥yt∥+∥zt∥)<∞.\sup_{t \ge 0}\ \bigl(\|x^t\| + \|y^t\| + \|z^t\|\bigr) < \infty .t≥0sup​ (∥xt∥+∥yt∥+∥zt∥)<∞.

Milestones

The milestones are the numbered displays of the paper's proof:

  • Eq. (13): M∗zt+1=∇h(xt+1)+∇ϕ(xt+1)−∇ϕ(xt)\mathcal M^* z^{t+1} = \nabla h(x^{t+1}) + \nabla\phi(x^{t+1}) - \nabla\phi(x^t)M∗zt+1=∇h(xt+1)+∇ϕ(xt+1)−∇ϕ(xt).
  • Eq. (20): the one-step estimate Lβ(wt+1)≤Lβ(wt)+12∥xt+1−xt∥2σβγQ3−δI−T22+12∥xt−xt−1∥2σβ(1−γ)T122L_\beta(w^{t+1}) \le L_\beta(w^t) + \tfrac12\|x^{t+1}-x^t\|^2_{\frac{2}{\sigma\beta\gamma}\mathcal Q_3 - \delta\mathcal I - \mathcal T_2} + \tfrac12\|x^t - x^{t-1}\|^2_{\frac{2}{\sigma\beta(1-\gamma)}\mathcal T_1^2}Lβ​(wt+1)≤Lβ​(wt)+21​∥xt+1−xt∥σβγ2​Q3​−δI−T2​2​+21​∥xt−xt−1∥σβ(1−γ)2​T12​2​ for t≥1t \ge 1t≥1.
  • Eq. (30): the merit quantity Lβ(wt)+12∥xt−xt−1∥2σβ(1−γ)T122L_\beta(w^t) + \tfrac12\|x^t - x^{t-1}\|^2_{\frac{2}{\sigma\beta(1-\gamma)}\mathcal T_1^2}Lβ​(wt)+21​∥xt−xt−1∥σβ(1−γ)2​T12​2​ stays below its value at t=1t = 1t=1.
  • Eq. (31): σ∥zt∥2≤1γ∥∇h(xt)∥2+11−γ∥xt−xt−1∥T122\sigma\|z^t\|^2 \le \frac1\gamma\|\nabla h(x^t)\|^2 + \frac1{1-\gamma}\|x^t - x^{t-1}\|^2_{\mathcal T_1^2}σ∥zt∥2≤γ1​∥∇h(xt)∥2+1−γ1​∥xt−xt−1∥T12​2​ for t≥1t \ge 1t≥1.
  • Eq. (32): a lower estimate of that value at t=1t = 1t=1 by μh(xt)+(1−μ)h0+cσ∥∇h(xt)∥2+P(yt)+β2∥Mxt−yt−zt/β∥2+…\mu h(x^t) + (1-\mu)h_0 + \frac{c}{\sigma}\|\nabla h(x^t)\|^2 + P(y^t) + \frac\beta2\|\mathcal M x^t - y^t - z^t/\beta\|^2 + \ldotsμh(xt)+(1−μ)h0​+σc​∥∇h(xt)∥2+P(yt)+2β​∥Mxt−yt−zt/β∥2+…, where c=1−μζ−12βγ>0c = \frac{1-\mu}{\zeta} - \frac{1}{2\beta\gamma} > 0c=ζ1−μ​−2βγ1​>0.

Significance

The result. Theorem 2 supplies the existence of cluster points that Theorem 1 assumes. The two together give an unconditional statement: under Assumption 1, (29) and either coercivity condition, the proximal ADMM has a cluster point and every one of them is stationary. The hypotheses cover the models that motivate the paper. Least squares with a coercive nonconvex regularizer falls under case (i) with M=I\mathcal M = \mathcal IM=I, and a strongly convex quadratic hhh with a regularizer that is bounded below and a general surjective M\mathcal MM falls under case (ii) (Examples 4–6 of the paper). Boundedness is also a standing hypothesis of the paper's Theorem 3, the Kurdyka–Łojasiewicz argument for convergence of the whole sequence.

Formalizing it. The result has been proved since 2015. As far as a search of the platform shows, neither it nor the underlying Lyapunov-type estimates for the ADMM has been machine-checked. This mission formalizes the known proof. The estimates (20), (30) and (31) are shared with the stationarity analysis of the same algorithm, so they serve any later formal work on nonconvex ADMM variants.

Difficulty

The obvious approach is to bound the iterates by the monotone quantity of Eq. (30). That quantity involves LβL_\betaLβ​, which contains −⟨z,Mx−y⟩-\langle z, \mathcal M x - y\rangle−⟨z,Mx−y⟩ and is not bounded below a priori, so its decrease alone does not bound anything. The dual term has to be absorbed. It is controlled through ∇h(xt)\nabla h(x^t)∇h(xt) and the last primal step, and the part involving ∥∇h(xt)∥2\|\nabla h(x^t)\|^2∥∇h(xt)∥2 is then paid for out of hhh itself. Condition (29) exists to make exactly this trade possible, which is why it couples ζ\zetaζ to the γ\gammaγ of Assumption 1. The two cases then extract boundedness in opposite orders: (i) goes from yty^tyt through ztz^tzt to xtx^txt using invertibility of M\mathcal MM, and (ii) goes from xtx^txt through ztz^tzt to yty^tyt. In case (i) the lower bound on PPP that the argument needs is not assumed and must itself be derived from coercivity and lower semicontinuity.

Formalization scope

  • Spaces and values. Spaces are EuclideanSpace ℝ (Fin n) and EuclideanSpace ℝ (Fin m), and M\mathcal MM is a continuous linear map with Mathlib's adjoint. PPP, LβL_\betaLβ​ and every inequality containing them live in EReal, stated additively so that no extended-real subtraction occurs.
  • Assumption 1 is one definition with its witnesses σ,δ,γ,Q1,Q2,T1,T2,Q3\sigma, \delta, \gamma, \mathcal Q_1, \mathcal Q_2, \mathcal T_1, \mathcal T_2, \mathcal Q_3σ,δ,γ,Q1​,Q2​,T1​,T2​,Q3​ as explicit parameters, and ⪰\succeq⪰ is Mathlib's Loewner order on self-maps. ∥x∥T2\|x\|^2_{\mathcal T}∥x∥T2​ is ⟨x,Tx⟩\langle x, \mathcal T x\rangle⟨x,Tx⟩ for every T\mathcal TT, including indefinite ones.
  • Condition (29) takes ζ\zetaζ and a real lower bound h0h_0h0​ as parameters, with the same σ\sigmaσ and γ\gammaγ as Assumption 1.
  • The algorithm is a relation on sequences. An argmin is a global minimizer, not necessarily unique. x0x^0x0 and z0z^0z0 are free, and y0y^0y0 is unconstrained. No existence of minimizers is asserted.
  • Coercivity is stated in its ∀r ∃R\forall r\,\exists R∀r∃R form, and "invertible" is bijectivity of M\mathcal MM.
  • Boundedness means one radius for all three blocks and all t≥0t \ge 0t≥0.

Ruling out trivial versions. A formalization that bounds only xtx^txt, fixes γ\gammaγ or ζ\zetaζ to an example's values, lets (29) use a fresh γ\gammaγ, adds a lower bound on PPP in case (i), or assumes minimizers that make the sequence constant proves a different, weaker theorem, and is not the target.

Definitions needed. Proper and closed extended-valued functions, the Hessian as fderiv of gradient, the augmented Lagrangian, the Bregman distance, the proximal-ADMM relation and Assumption 1 are all provided. They mirror the definitions of the companion mission on cluster points of the same algorithm. A solver will need standard facts beyond them: first-order optimality for a differentiable function, the mean-value bound ∥∇ϕ(a)−∇ϕ(b)∥2≤∥a−b∥T122\|\nabla\phi(a) - \nabla\phi(b)\|^2 \le \|a-b\|^2_{\mathcal T_1^2}∥∇ϕ(a)−∇ϕ(b)∥2≤∥a−b∥T12​2​ from the Hessian sandwich, and strong convexity of the xxx-subproblem. Proofs of individual milestones are welcome independently.

Selected references

  • G. Li and T. K. Pong, Global Convergence of Splitting Methods for Nonconvex Composite Optimization, SIAM J. Optim. 25(4), 2015; preprint arXiv:1407.0753v6. https://arxiv.org/abs/1407.0753 (DOI 10.1137/140998135)
  • 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(1), 2011. https://doi.org/10.1561/2200000016
  • H. Attouch, J. Bolte and B. F. Svaiter, Convergence of descent methods for semi-algebraic and tame problems, Math. Program. 137, 2013. https://doi.org/10.1007/s10107-011-0484-9
9 thms2 active usersReviewed
🏆Completed
CombinatoricsOperations Research·Captain: mikedeng1

Optimal Two- and Three-Stage Production Schedules with Setup Times Included 2: Johnson's Rule for Three MachinesResearch Paper

Motivation

Johnson's 1954 paper in Naval Research Logistics Quarterly is the starting point of machine scheduling theory. Its first section solves the two-machine flow shop: nnn items must pass through machine 1 and then machine 2, and an explicit ordering rule minimizes the total elapsed time. Its second section treats three machines. There the problem "loses some of the nice structure of the two-stage case" (p. 65), and the general three-machine problem was later shown to be strongly NP-hard (Garey, Johnson and Sethi, 1976). Johnson nevertheless identifies a restricted case, in which the middle machine is dominated by the first (or the last), where the two-machine rule still gives an optimal schedule. That case, and the structural facts behind it, are the content of this mission.

The three-machine results are still the reference point for polynomially solvable flow shops and for lower bounds in branch-and-bound methods for the general problem.

Timeline.

  • 1954: Johnson proves the two-machine rule (Theorem 1) and, for three machines, the reduction to a common ordering (Lemma 3), a closed form for the elapsed time, and optimality of the rule on Ai+BiA_i + B_iAi​+Bi​, Bi+CiB_i + C_iBi​+Ci​ when min⁡Ai≥max⁡Bj\min A_i \ge \max B_jminAi​≥maxBj​ (Theorem 2), with the mirror case min⁡Ci≥max⁡Bj\min C_i \ge \max B_jminCi​≥maxBj​ asserted.
  • 1976: Garey, Johnson and Sethi show that minimizing makespan in a three-machine flow shop is strongly NP-hard in general, so some restriction of Theorem 2's kind is unavoidable for an exact ordering rule.

Setting

There are nnn items and three machines. Item iii needs processing time Ai>0A_i > 0Ai​>0 on machine 1, Bi>0B_i > 0Bi​>0 on machine 2 and Ci>0C_i > 0Ci​>0 on machine 3, in that order. Each machine handles at most one item at a time, and processing is not interrupted.

A schedule assigns each item start times si1,si2,si3s^1_i, s^2_i, s^3_isi1​,si2​,si3​. It is feasible when all start times are at least 000 on machine 1, the processing intervals of distinct items on the same machine do not overlap, and si1+Ai≤si2s^1_i + A_i \le s^2_isi1​+Ai​≤si2​, si2+Bi≤si3s^2_i + B_i \le s^3_isi2​+Bi​≤si3​. The three machines may process the items in different orders. The total elapsed time (makespan) is max⁡i(si3+Ci)\max_i (s^3_i + C_i)maxi​(si3​+Ci​).

An ordering σ\sigmaσ lists the items, σ(k)\sigma(k)σ(k) being the item in position kkk. Its as-soon-as-possible schedule processes the items in the order σ\sigmaσ on every machine and starts each item on each machine as early as the rules allow. For an ordering, with positions 1,…,n1, \dots, n1,…,n, Johnson defines

Ku=∑i=1uAi−∑i=1u−1Bi,Hv=∑i=1vBi−∑i=1v−1Ci,K_u = \sum_{i=1}^{u} A_i - \sum_{i=1}^{u-1} B_i, \qquad H_v = \sum_{i=1}^{v} B_i - \sum_{i=1}^{v-1} C_i,Ku​=i=1∑u​Ai​−i=1∑u−1​Bi​,Hv​=i=1∑v​Bi​−i=1∑v−1​Ci​,

the sums running over the items in the first uuu (resp. vvv) positions.

Johnson's three-stage rule says that item iii definitely precedes item jjj when

min⁡(Ai+Bi, Cj+Bj)<min⁡(Aj+Bj, Ci+Bi)(IV)\min(A_i + B_i,\ C_j + B_j) < \min(A_j + B_j,\ C_i + B_i) \tag{IV}min(Ai​+Bi​, Cj​+Bj​)<min(Aj​+Bj​, Ci​+Bi​)(IV)

and calls them indifferent under equality. An ordering is consistent with (IV) when no item placed later is definitely preferred to an item placed earlier.

Formalization targets

Goal: Theorem 2 (p. 67)

If every AiA_iAi​ is at least every BjB_jBj​, then an ordering consistent with (IV) exists, and for every such ordering σ\sigmaσ the as-soon-as-possible schedule of σ\sigmaσ is feasible and satisfies

makespan⁡(as-soon-as-possible schedule of σ)≤makespan⁡(s)for every feasible schedule s.\operatorname{makespan}(\text{as-soon-as-possible schedule of } \sigma) \le \operatorname{makespan}(s) \quad \text{for every feasible schedule } s .makespan(as-soon-as-possible schedule of σ)≤makespan(s)for every feasible schedule s.

Milestones

  1. Lemma 3 (p. 65). Every feasible schedule is matched or beaten by the as-soon-as-possible schedule of some single ordering.
  2. Closed form (p. 66). For every ordering, the total idle time of machine 3 is ∑iYi=max⁡1≤u≤v≤n(Hv+Ku)\sum_i Y_i = \max_{1 \le u \le v \le n}(H_v + K_u)∑i​Yi​=max1≤u≤v≤n​(Hv​+Ku​), so that
makespan⁡=∑i=1nCi+max⁡1≤u≤v≤n(Ku+Hv),\operatorname{makespan} = \sum_{i=1}^{n} C_i + \max_{1 \le u \le v \le n} (K_u + H_v),makespan=i=1∑n​Ci​+1≤u≤v≤nmax​(Ku​+Hv​),

the "maximum walk" of p. 68. 3. Special case (p. 67). If min⁡Ai≥max⁡Bj\min A_i \ge \max B_jminAi​≥maxBj​ then max⁡u≤vKu=Kv\max_{u \le v} K_u = K_vmaxu≤v​Ku​=Kv​, so the makespan is ∑iCi+max⁡v(Hv+Kv)\sum_i C_i + \max_v (H_v + K_v)∑i​Ci​+maxv​(Hv​+Kv​). 4. (III) ⇔\Leftrightarrow⇔ (IV) (p. 67). Interchanging the items in positions j,j+1j, j+1j,j+1 changes HHH and KKK only at j,j+1j, j+1j,j+1, and the interchange is strictly worse for the diagonal terms exactly when (IV) holds. 5. Lemma 4 (p. 67). Relation (IV) is transitive, except when the middle item is indifferent to both others. 6. Mirror case (p. 68). The conclusion of Theorem 2 also holds when every CiC_iCi​ is at least every BjB_jBj​.

Significance

The result. Theorem 2 gives an O(nlog⁡n)O(n \log n)O(nlogn) exact method for a class of three-machine flow shops, in a problem that is strongly NP-hard in general. Lemma 3 says that, for three machines, permutation schedules are dominant; Johnson's example on p. 65 shows this fails for four machines. The closed form of milestone 2 expresses the makespan of any ordering as a longest path in a grid, the device behind most later flow-shop lower bounds.

Formalizing it. All results are proved on paper, some tersely: Lemma 3's proof is two lines and cites the wrong lemma, Lemma 4 is proved by reference to Lemma 2, and the mirror case is asserted without proof. A search of Mathlib and of the platform catalog found no machine-checked proof of any of them. The mission produces a checked account of the three-machine flow shop, including the comparison against all feasible schedules rather than only permutation schedules, and pins down the exact form of the hypotheses (see below).

Difficulty

The interchange argument of the two-machine case does not transfer directly. For a general ordering the makespan involves max⁡u≤v(Hv+Ku)\max_{u \le v}(H_v + K_u)maxu≤v​(Hv​+Ku​), and interchanging adjacent items changes terms that depend on everything placed earlier; the page notes that "the decision is not independent of what precedes the interchanged elements". The hypothesis min⁡A≥max⁡B\min A \ge \max BminA≥maxB is what makes KKK nondecreasing along the ordering, collapsing the double maximum to the diagonal. A second obstacle is that (IV) is not a total preorder: ties break transitivity, so passing from "no adjacent pair can be improved" to "optimal" needs the all-pairs consistency and the tie exception of Lemma 4. Finally, Lemma 3 is a statement about arbitrary start-time schedules, so the reduction to orderings must handle machines whose orders differ.

Formalization scope

Items are Fin n; processing times are real-valued functions A B C : Fin n → ℝ, assumed positive in each theorem that is about schedules (the paper's standing assumption, p. 61). A schedule is three start-time functions; feasibility is spelled out as above with non-overlap written as a disjunction of inequalities. The makespan is the maximum of the machine-3 completion times together with 000, so the empty instance has makespan 000. An ordering is an Equiv.Perm (Fin n) with σ k the item in position k; positions are 0-based, so the Lean K u, H v are the paper's Ku+1K_{u+1}Ku+1​, Hv+1H_{v+1}Hv+1​. Statements with maxima over positions assume n≥1n \ge 1n≥1.

Hypotheses made explicit or corrected:

  • min⁡Ai≥max⁡Bi\min A_i \ge \max B_iminAi​≥maxBi​ is read globally, Bj≤AiB_j \le A_iBj​≤Ai​ for all i,ji, ji,j, as in the section heading. The pointwise reading Bi≤AiB_i \le A_iBi​≤Ai​ makes Theorem 2 false (an instance with five items is recorded in the Formalization Note of the goal).
  • Consistency with (IV) is required for all pairs of positions, not only adjacent ones.
  • Lemma 4 carries Lemma 2's exception for an item indifferent to both others; without it the statement is false.
  • Lemma 3's proof cites "Lemma 2" where Lemma 1 is meant.
  • The interchange equivalence (milestone 4) is stated for arbitrary reals, which is stronger than the page needs.

Optimality in the goal is against every feasible schedule. A formalization that compares only orderings with each other, or that defines the objective as the closed form ∑C+max⁡(Ku+Hv)\sum C + \max(K_u + H_v)∑C+max(Ku​+Hv​), would drop Lemma 3's content and is ruled out: the makespan is the latest completion time of a start-time schedule. The existence clause keeps the optimality clause from being vacuous.

A complete development needs finite sums over initial segments of Fin n, Finset.sup', and permutation manipulations (adjacent transpositions, bubble-sort arguments). The feasibility model and the closed form are reusable for other flow-shop results; contributions of general lemmas on adjacent interchanges of permutations are welcome.

Selected references

  • S. M. Johnson, Optimal two- and three-stage production schedules with setup times included, Naval Research Logistics Quarterly 1(1):61–68, 1954. https://doi.org/10.1002/nav.3800010110
  • M. R. Garey, D. S. Johnson, R. Sethi, The complexity of flowshop and jobshop scheduling, Mathematics of Operations Research 1(2):117–129, 1976. https://doi.org/10.1287/moor.1.2.117
13 thms2 active usersReviewed
🏆Completed
Machine LearningStatistics·Captain: mikedeng1

Robustness and Generalization IV: Robustness of the Lasso on a Compact Sample SpaceResearch Paper

Motivation

The Lasso (Tibshirani 1996, doi:10.1111/j.2517-6161.1996.tb02080.x) is ℓ1\ell_1ℓ1​-penalized least squares regression, one of the standard estimators of statistics and machine learning because it selects sparse coefficient vectors. Explaining why a learned Lasso predictor generalizes is less routine than it looks. The two classical routes are uniform convergence over the hypothesis class and algorithmic stability (Bousquet and Elisseeff 2002, JMLR 2:499–526). The stability route is closed for the Lasso: Xu, Caramanis and Mannor (IEEE Trans. Inf. Theory 56(7), 2010, doi:10.1109/TIT.2010.2048503) showed that its uniform stability bound does not decrease with the sample size, a fact reproduced as Theorem 7 of Xu and Mannor (2012).

Xu and Mannor, Robustness and Generalization (Mach Learn 86 (2012) 391–423, doi:10.1007/s10994-011-5268-1), propose a third route, algorithmic robustness: if the sample space can be split into KKK cells such that a test point in the same cell as a training point has nearly the same loss, then the algorithm generalizes (their Theorem 1). Their Example 6 shows that the Lasso is robust in this sense, with a number of cells given by a covering number and a robustness level depending on the training responses. This mission formalizes Example 6 together with the general criterion it rests on (Theorem 6) and the Lipschitz estimate for the Lasso loss (Lemma 3).

Setting

A sample is a point z=(z(y),z(x))z = (z^{(y)}, z^{(x)})z=(z(y),z(x)) with a response z(y)∈Rz^{(y)} \in \mathbb Rz(y)∈R and a feature vector z(x)∈Rmz^{(x)} \in \mathbb R^mz(x)∈Rm, so the samples live in Rm+1\mathbb R^{m+1}Rm+1. The sample space Z⊆Rm+1\mathcal Z \subseteq \mathbb R^{m+1}Z⊆Rm+1 is a compact set, and Rm+1\mathbb R^{m+1}Rm+1 carries the norm ∥z∥∞=max⁡(∣z(y)∣,max⁡j∣zj(x)∣)\|z\|_\infty = \max(|z^{(y)}|, \max_j |z^{(x)}_j|)∥z∥∞​=max(∣z(y)∣,maxj​∣zj(x)​∣). A training set is s=(s1,…,sn)∈Zn\mathbf s = (s_1, \dots, s_n) \in \mathcal Z^ns=(s1​,…,sn​)∈Zn.

A learning algorithm maps each training set s\mathbf ss to a hypothesis As\mathcal A_{\mathbf s}As​; with a loss l(h,z)l(h, z)l(h,z), it is (K,ϵ(⋅))(K, \epsilon(\cdot))(K,ϵ(⋅))-robust (Definition 2, p. 396) if Z\mathcal ZZ can be partitioned into KKK disjoint sets C1,…,CKC_1, \dots, C_KC1​,…,CK​, fixed independently of the data, such that for every s∈Zn\mathbf s \in \mathcal Z^ns∈Zn, every training point s∈ss \in \mathbf ss∈s, every z∈Zz \in \mathcal Zz∈Z and every iii,

s,z∈Ci  ⟹  ∣l(As,s)−l(As,z)∣≤ϵ(s).s, z \in C_i \implies |l(\mathcal A_{\mathbf s}, s) - l(\mathcal A_{\mathbf s}, z)| \le \epsilon(\mathbf s).s,z∈Ci​⟹∣l(As​,s)−l(As​,z)∣≤ϵ(s).

For a metric ρ\rhoρ on Z\mathcal ZZ and ϵ>0\epsilon > 0ϵ>0, a set T^⊆Z\hat T \subseteq \mathcal ZT^⊆Z is an ϵ\epsilonϵ-cover of Z\mathcal ZZ if every point of Z\mathcal ZZ is within distance ≤ϵ\le \epsilon≤ϵ of a point of T^\hat TT^; the covering number N(ϵ,Z,ρ)\mathcal N(\epsilon, \mathcal Z, \rho)N(ϵ,Z,ρ) is the least cardinality of such a cover (Definition 1, p. 394).

For a coefficient vector w∈Rmw \in \mathbb R^mw∈Rm let ∥w∥1=∑j∣wj∣\|w\|_1 = \sum_j |w_j|∥w∥1​=∑j​∣wj​∣. Given c>0c > 0c>0, the Lasso is

min⁡w 1n∑i=1n(si(y)−w⊤si(x))2+c∥w∥1,(5)\min_{w} \ \frac1n \sum_{i=1}^n \big(s_i^{(y)} - w^\top s_i^{(x)}\big)^2 + c\|w\|_1, \tag{5}wmin​ n1​i=1∑n​(si(y)​−w⊤si(x)​)2+c∥w∥1​,(5)

a Lasso algorithm returns a minimizer As=w\mathcal A_{\mathbf s} = wAs​=w of (5) for each s\mathbf ss, and the loss is the absolute prediction error l(w,z)=∣z(y)−w⊤z(x)∣l(w, z) = |z^{(y)} - w^\top z^{(x)}|l(w,z)=∣z(y)−w⊤z(x)∣. Finally Y(s)=1n∑i=1n[si(y)]2Y(\mathbf s) = \frac1n \sum_{i=1}^n [s_i^{(y)}]^2Y(s)=n1​∑i=1n​[si(y)​]2.

Formalization targets

Goal: Example 6 (p. 404)

For every compact Z⊆Rm+1\mathcal Z \subseteq \mathbb R^{m+1}Z⊆Rm+1, every c>0c > 0c>0, every Lasso algorithm A\mathcal AA and every γ>0\gamma > 0γ>0,

A is (N(γ/2,Z,∥⋅∥∞), (Y(s)/c+1)γ)-robust.\mathcal A \text{ is } \Big(\mathcal N(\gamma/2, \mathcal Z, \|\cdot\|_\infty),\ \big(Y(\mathbf s)/c + 1\big)\gamma\Big)\text{-robust}.A is (N(γ/2,Z,∥⋅∥∞​), (Y(s)/c+1)γ)-robust.

The statement holds for every selection of a minimizer, since (5) need not have a unique solution.

Milestones

  1. Optimality bound (proof of Lemma 3, p. 419): every Lasso solution satisfies ∥w∗∥1≤1nc∑i=1n[si(y)]2\|w^*\|_1 \le \frac{1}{nc} \sum_{i=1}^n [s_i^{(y)}]^2∥w∗∥1​≤nc1​∑i=1n​[si(y)​]2.
  2. Lemma 3 (p. 419): for all za,zb∈Rm+1z_a, z_b \in \mathbb R^{m+1}za​,zb​∈Rm+1,
∣l(w∗(s),za)−l(w∗(s),zb)∣≤[1nc∑i=1n[si(y)]2+1]∥za−zb∥∞.|l(w^*(\mathbf s), z_a) - l(w^*(\mathbf s), z_b)| \le \Big[\frac{1}{nc} \sum_{i=1}^n [s_i^{(y)}]^2 + 1\Big] \|z_a - z_b\|_\infty.∣l(w∗(s),za​)−l(w∗(s),zb​)∣≤[nc1​i=1∑n​[si(y)​]2+1]∥za​−zb​∥∞​.
  1. Theorem 6 (p. 402): for a metric ρ\rhoρ on Z\mathcal ZZ and γ>0\gamma > 0γ>0, if ∣l(As,z1)−l(As,z2)∣≤ϵ(s)|l(\mathcal A_{\mathbf s}, z_1) - l(\mathcal A_{\mathbf s}, z_2)| \le \epsilon(\mathbf s)∣l(As​,z1​)−l(As​,z2​)∣≤ϵ(s) whenever z1∈sz_1 \in \mathbf sz1​∈s and ρ(z1,z2)≤γ\rho(z_1, z_2) \le \gammaρ(z1​,z2​)≤γ, and N(γ/2,Z,ρ)<∞\mathcal N(\gamma/2, \mathcal Z, \rho) < \inftyN(γ/2,Z,ρ)<∞, then A\mathcal AA is (N(γ/2,Z,ρ),ϵ(⋅))(\mathcal N(\gamma/2, \mathcal Z, \rho), \epsilon(\cdot))(N(γ/2,Z,ρ),ϵ(⋅))-robust.

Significance

Combined with Theorem 1 of the same paper, Example 6 yields a generalization bound for the Lasso of the form ϵ(s)+M(2Kln⁡2+2ln⁡(1/δ))/n\epsilon(\mathbf s) + M\sqrt{(2K\ln 2 + 2\ln(1/\delta))/n}ϵ(s)+M(2Kln2+2ln(1/δ))/n​ with KKK a covering number of the sample space, a bound that uses no stability of the algorithm and no uniqueness of the minimizer. Theorem 6 is the reusable part: it converts any data-dependent local Lipschitz or continuity estimate of the loss into robustness, and the paper derives its examples for the SVM, the Lasso, neural networks and PCA from it. The authors note (p. 404) that the resulting bound is weaker than VC-dimension bounds for linear predictors, since it depends exponentially on the dimension; the value of the example is the method, not the rate.

The results are proved in the paper, with short arguments. No machine-checked version of Theorem 6, Lemma 3 or Example 6 is known to exist. The formal work is to connect Mathlib's covering numbers to partitions of a set, to handle the ℓ1\ell_1ℓ1​/ℓ∞\ell_\inftyℓ∞​ pairing on R×Rm\mathbb R \times \mathbb R^mR×Rm, and to state robustness so that later missions of this series (the generalization bound of Theorem 1, mission I) can consume it.

Difficulty

The constant in the robustness level depends on the training set through Y(s)Y(\mathbf s)Y(s), while the partition in Definition 2 must be chosen before the training set is seen. A formalization that lets the cells depend on s\mathbf ss proves a much weaker, nearly empty statement, so the data dependence has to be carried entirely by ϵ(s)\epsilon(\mathbf s)ϵ(s) and the cells must depend only on Z\mathcal ZZ and γ\gammaγ. A cover by balls is not a partition, and the radius of the cover (γ/2\gamma/2γ/2) and the closeness threshold in Theorem 6 (γ\gammaγ) differ by the factor that the diameter of a cell requires. The Lipschitz estimate must bound a Lasso solution without any information beyond optimality, and the pairing between ∥w∥1\|w\|_1∥w∥1​ and ∥⋅∥∞\|\cdot\|_\infty∥⋅∥∞​ is the one that makes the constant come out as printed; a Euclidean norm on either side gives a different constant.

Formalization scope

  • Rm+1\mathbb R^{m+1}Rm+1 is ℝ × (Fin m → ℝ), a point being (z^{(y)}, z^{(x)}). Lean's norm on this product is the maximum of the absolute values of all coordinates, which is exactly ∥⋅∥∞\|\cdot\|_\infty∥⋅∥∞​. ∥w∥1\|w\|_1∥w∥1​ is written out as ∑j∣wj∣\sum_j |w_j|∑j​∣wj​∣, since the default norm on Fin m → ℝ is the sup norm; w⊤xw^\top xw⊤x is dotProduct w x.
  • The sample space is a set Z with IsCompact Z. Robustness (IsRobustOn) asks for cells C : Fin K → Set α that lie in Z, cover Z and are pairwise disjoint (empty cells allowed), chosen before the universally quantified training set; training sets are maps Fin n → α with all points in Z. No measurability is involved anywhere in this mission.
  • The covering number is Mathlib's Metric.coveringNumber at radius Real.toNNReal (γ / 2): closed balls, centres in Z (the metric space of Definition 1 is Z\mathcal ZZ itself), value in ℕ∞, converted with toNat. Theorem 6 assumes its finiteness, as the paper does; without that hypothesis toNat would return 000 and the statement would be false for nonempty Z. Example 6 does not assume it: it follows from compactness.
  • A Lasso algorithm is any function A with ∀ s, IsLassoSolution c s (A s); it is not defined by a choice of minimizer. The regularization parameter satisfies c>0c > 0c>0, which the paper leaves implicit. The factor 1/n1/n1/n is a real division; for n=0n = 0n=0 it is 000 in Lean, the objective reduces to c∥w∥1c\|w\|_1c∥w∥1​, and all statements remain true.
  • The robustness level is (Y(s)/c+1)γ(Y(\mathbf s)/c + 1)\gamma(Y(s)/c+1)γ in Example 6 and 1nc∑i[si(y)]2+1\frac{1}{nc}\sum_i [s_i^{(y)}]^2 + 1nc1​∑i​[si(y)​]2+1 in Lemma 3, each in its printed form.

Useful infrastructure beyond this mission: a lemma turning a finite cover of a set into a partition of it with cells of diameter at most twice the radius, and finiteness of Mathlib's internal covering number for compact sets. Contributions of either as separate theorems are welcome.

Selected references

  • H. Xu and S. Mannor, Robustness and Generalization, Machine Learning 86 (2012) 391–423. doi:10.1007/s10994-011-5268-1
  • R. Tibshirani, Regression Shrinkage and Selection via the Lasso, Journal of the Royal Statistical Society, Series B 58(1) (1996) 267–288. doi:10.1111/j.2517-6161.1996.tb02080.x
  • H. Xu, C. Caramanis and S. Mannor, Robust Regression and Lasso, IEEE Transactions on Information Theory 56(7) (2010) 3561–3574. doi:10.1109/TIT.2010.2048503
  • O. Bousquet and A. Elisseeff, Stability and Generalization, Journal of Machine Learning Research 2 (2002) 499–526. jmlr.org/papers/v2/bousquet02a
7 thms2 active usersReviewed
Algorithmic Game TheoryConvex OptimizationOperations Research·Captain: mikedeng1

Value of Information in Bayesian Routing Games II: Equilibrium Adoption Rates of Information Systems Are the Minimizers of the Equilibrium PotentialResearch Paper

Motivation

Traffic information systems (TIS) such as navigation apps send drivers private, noisy signals about the state of the road network: incidents, weather, closures. When several such systems coexist, their subscribers act on different information, and the congestion each population experiences depends on how all of them route. A question then arises for transport planners and for the information providers themselves: if travelers are free to choose which system to subscribe to, which market shares of the competing systems are stable?

Wu, Amin and Ozdaglar (Operations Research 69(1):148–163, 2021; preprint arXiv:1808.10590) model this situation as a Bayesian routing game with heterogeneous information and answer the question exactly: the equilibrium adoption rates are the minimizers of a convex function of the population sizes, the equilibrium value of a weighted potential. This mission formalizes that characterization (Theorem 4 of the paper) together with the results its proof rests on. A companion mission (Value of Information in Bayesian Routing Games I) formalizes the paper's other main result, the sign and monotonicity of the relative value of information between two populations.

Setting

A Bayesian routing game Γ(λ)\Gamma(\lambda)Γ(λ) has a single origin–destination pair, a finite set of edges E\mathcal EE and a finite nonempty set of routes R\mathcal RR (each route a set of edges), and a finite set of network states S\mathcal SS. Travelers of total demand D>0D>0D>0 are split into populations i∈Ii\in\mathcal Ii∈I, one per TIS; population iii has size λiD\lambda^iDλiD, where the size vector λ\lambdaλ lies in the simplex Δ={λ:λi≥0, ∑iλi=1}\Delta=\{\lambda:\lambda^i\ge0,\ \sum_i\lambda^i=1\}Δ={λ:λi≥0, ∑i​λi=1}. Each population receives a signal (its type) tit^iti from a finite set Ti\mathcal T^iTi; states and type profiles t=(ti)it=(t^i)_it=(ti)i​ are drawn from a common prior π∈Δ(S×T)\pi\in\Delta(\mathcal S\times\mathcal T)π∈Δ(S×T). Edge eee in state sss has cost ces(w)c^s_e(w)ces​(w) at load www, positive, strictly increasing and differentiable.

A strategy profile qqq assigns to each population and type a split qri(ti)≥0q^i_r(t^i)\ge0qri​(ti)≥0 of its demand over routes, with ∑rqri(ti)=λiD\sum_rq^i_r(t^i)=\lambda^iD∑r​qri​(ti)=λiD; these form the polytope Q(λ)\mathcal Q(\lambda)Q(λ). It induces route flows fr(t)=∑iqri(ti)f_r(t)=\sum_iq^i_r(t^i)fr​(t)=∑i​qri​(ti) and edge loads we(t)=∑r∋efr(t)w_e(t)=\sum_{r\ni e}f_r(t)we​(t)=∑r∋e​fr​(t). A traveler of population iii with signal tit^iti forms the belief βi(s,t−i∣ti)=π(s,ti,t−i)/Pr⁡(ti)\beta^i(s,t^{-i}\mid t^i)=\pi(s,t^i,t^{-i})/\Pr(t^i)βi(s,t−i∣ti)=π(s,ti,t−i)/Pr(ti) and evaluates the expected route cost E[cr(q)∣ti]=∑s,t−i∑e∈rβi(s,t−i∣ti) ces(we(t))\mathbb E[c_r(q)\mid t^i]=\sum_{s,t^{-i}}\sum_{e\in r}\beta^i(s,t^{-i}\mid t^i)\,c^s_e(w_e(t))E[cr​(q)∣ti]=∑s,t−i​∑e∈r​βi(s,t−i∣ti)ces​(we​(t)). A Bayesian Wardrop equilibrium (BWE) is a q∈Q(λ)q\in\mathcal Q(\lambda)q∈Q(λ) in which every type uses only routes of minimal expected cost. The equilibrium population cost is

Ci∗(λ)=∑ti∈TiPr⁡(ti)min⁡r∈RE[cr(q∗)∣ti].C^{i*}(\lambda)=\sum_{t^i\in\mathcal T^i}\Pr(t^i)\min_{r\in\mathcal R}\mathbb E[c_r(q^*)\mid t^i].Ci∗(λ)=ti∈Ti∑​Pr(ti)r∈Rmin​E[cr​(q∗)∣ti].

The weighted potential is Φ(q)=∑s,e,tπ(s,t)∫0we(t)ces(z) dz\Phi(q)=\sum_{s,e,t}\pi(s,t)\int_0^{w_e(t)}c^s_e(z)\,dzΦ(q)=∑s,e,t​π(s,t)∫0we​(t)​ces​(z)dz, and Ψ(λ)=min⁡q∈Q(λ)Φ(q)\Psi(\lambda)=\min_{q\in\mathcal Q(\lambda)}\Phi(q)Ψ(λ)=minq∈Q(λ)​Φ(q) is its equilibrium value. In route-flow form, Φ^(f)\widehat\Phi(f)Φ(f) is the same expression in terms of fff; route flows satisfy linear constraints (14a)–(14c) (a separability condition across populations, total demand DDD, nonnegativity) and one information impact constraint per population, J^i(f)≤λiD\widehat J^i(f)\le\lambda^iDJi(f)≤λiD, where J^i(f)=D−∑rmin⁡tifr(ti,t^−i)\widehat J^i(f)=D-\sum_r\min_{t^i}f_r(t^i,\widehat t^{-i})Ji(f)=D−∑r​minti​fr​(ti,t−i) measures how much of the demand reacts to population iii's signal. Let F†\mathcal F^\daggerF† be the set of minimizers of Φ^\widehat\PhiΦ subject to (14a)–(14c) only, and

Λ†={λ∈Δ: ∃f†∈F†, J^i(f†)≤λiD  ∀i}.\Lambda^\dagger=\{\lambda\in\Delta:\ \exists f^\dagger\in\mathcal F^\dagger,\ \widehat J^i(f^\dagger)\le\lambda^iD\ \ \forall i\}.Λ†={λ∈Δ: ∃f†∈F†, Ji(f†)≤λiD  ∀i}.

In the two-stage game, travelers first choose a TIS, inducing λ\lambdaλ, and then play Γ(λ)\Gamma(\lambda)Γ(λ). A size vector is a vector of equilibrium adoption rates if no traveler gains by switching TIS:

λi>0 ⟹ Ci∗(λ)=min⁡j∈ICj∗(λ)∀i∈I.(31)\lambda^i>0\ \Longrightarrow\ C^{i*}(\lambda)=\min_{j\in\mathcal I}C^{j*}(\lambda)\qquad\forall i\in\mathcal I.\tag{31}λi>0 ⟹ Ci∗(λ)=j∈Imin​Cj∗(λ)∀i∈I.(31)

Formalization targets

Goal: Theorem 4

For every λ∈Δ\lambda\in\Deltaλ∈Δ and every BWE of Γ(λ)\Gamma(\lambda)Γ(λ),

(31) holds  ⟺  λ∈Λ†.(31)\ \text{holds}\iff\lambda\in\Lambda^\dagger .(31) holds⟺λ∈Λ†.

With the existence of a BWE for every λ∈Δ\lambda\in\Deltaλ∈Δ, this is the paper's statement that the set of equilibrium adoption rates is Λ†\Lambda^\daggerΛ†.

Milestones

  1. Theorem 1. qqq is a BWE of Γ(λ)\Gamma(\lambda)Γ(λ) iff qqq minimizes Φ\PhiΦ over Q(λ)\mathcal Q(\lambda)Q(λ); the equilibrium edge load w∗(λ)w^*(\lambda)w∗(λ) is unique.
  2. Proposition 2. A route flow in the flow polytope F(λ)\mathcal F(\lambda)F(λ) ((14a)–(14c) plus all information impact constraints) is an equilibrium flow iff it minimizes Φ^\widehat\PhiΦ over F(λ)\mathcal F(\lambda)F(λ).
  3. Lemma 5. Ψ\PsiΨ is convex on Δ\DeltaΔ, and with zij=ei−ejz^{ij}=e_i-e_jzij=ei​−ej​ and Vij∗=Cj∗−Ci∗V^{ij*}=C^{j*}-C^{i*}Vij∗=Cj∗−Ci∗,
lim⁡ϵ→0+Ψ(λ+ϵzij)−Ψ(λ)ϵ=−D Vij∗(λ).\lim_{\epsilon\to0^+}\frac{\Psi(\lambda+\epsilon z^{ij})-\Psi(\lambda)}{\epsilon}=-D\,V^{ij*}(\lambda).ϵ→0+lim​ϵΨ(λ+ϵzij)−Ψ(λ)​=−DVij∗(λ).
  1. Proposition 5. Λ†\Lambda^\daggerΛ† is convex, Λ†=argmin⁡λ∈ΔΨ(λ)\Lambda^\dagger=\operatorname{argmin}_{\lambda\in\Delta}\Psi(\lambda)Λ†=argminλ∈Δ​Ψ(λ), and the equilibrium edge load equals the size-independent load w†w^\daggerw† of F†\mathcal F^\daggerF† iff λ∈Λ†\lambda\in\Lambda^\daggerλ∈Λ†.

A separate item states the existence of a BWE for every λ∈Δ\lambda\in\Deltaλ∈Δ.

Significance

The result. Theorem 4 reduces a question about a two-stage game with a continuum of travelers and private signals to the minimization of one convex function over a simplex. It shows that the stable market shares form a convex set, generally not a single point, so each system's equilibrium adoption rate ranges over an interval; and that this set is determined by the joint information environment of all systems, not by each system's signal alone. On ˆ\Lambda^\daggerˆ the equilibrium edge load does not depend on the shares at all, which identifies when changes in market shares leave congestion unchanged.

Formalizing it. The proofs of Theorem 1, Proposition 2 and Proposition 5 are in the paper's online e-companion, and Lemma 5 relies on sensitivity results for parametric convex programs cited from the literature. No part of this development has, to our knowledge, been machine-checked. A complete formalization would produce a verified potential-game characterization of Bayesian Wardrop equilibria with heterogeneous information and a verified directional-derivative formula for the optimal value of a parametric convex program; nothing comparable is currently on the platform (the existing Wardrop development covers complete information only).

Difficulty

The direction "λ∈Λ†\lambda\in\Lambda^\daggerλ∈Λ† implies (31)" is not a pointwise statement about costs: it follows from Λ†\Lambda^\daggerΛ† being the argmin of Ψ\PsiΨ together with the formula linking directional derivatives of Ψ\PsiΨ to cost differences. Both are hard. The derivative formula (26) is a statement about the optimal value of a convex program whose feasible set moves with λ\lambdaλ; its standard proofs pass through uniqueness of Lagrange multipliers, which fails exactly at the degenerate size vectors (λi=0\lambda^i=0λi=0) that Theorem 4 must cover, since an unused TIS is a legitimate outcome. The identity Λ†=argmin⁡Ψ\Lambda^\dagger=\operatorname{argmin}\PsiΛ†=argminΨ needs the route-flow reformulation (Proposition 2), in which the size vector enters only through the information impact constraints, and the uniqueness of the minimizing edge load. The natural first idea, comparing population costs directly at a given equilibrium, gives no handle on which size vectors make them equal.

Formalization scope

The Lean development lives in the namespace BayesRouting.Adoption. Populations, types, states, edges and routes are finite types; type spaces and the route set are nonempty; routes are edge sets. The game is a structure whose fields include the paper's standing assumptions: the prior is a probability distribution, D>0D>0D>0, and each cost is positive on nonnegative loads, strictly increasing and differentiable (on all of R\mathbb RR, which loses no generality). One assumption is added: every type profile has positive probability. Without it the equilibrium edge load need not be unique and the beliefs can be undefined; it excludes the paper's Example 2(i) (perfectly correlated signals).

Conventions: size vectors range over the probability simplex; Ψ\PsiΨ is the infimum of Φ\PhiΦ over Q(λ)\mathcal Q(\lambda)Q(λ) and is only compared at points of the simplex (outside it the feasible set can be empty and the value is a default); Ci∗C^{i*}Ci∗ is the last form of the paper's (7), well defined when λi=0\lambda^i=0λi=0; J^i\widehat J^iJi is the maximum over reference profiles, which equals the paper's value on flows satisfying (14a); equilibrium statements are made for every BWE rather than for "the" equilibrium; F†\mathcal F^\daggerF† and similar sets are argmin sets. Lemma 5 is stated for the directions zijz^{ij}zij with λj>0\lambda^j>0λj>0 (otherwise λ+ϵzij\lambda+\epsilon z^{ij}λ+ϵzij leaves the simplex); λi=0\lambda^i=0λi=0 is allowed.

A trivializing formalization is ruled out: the existence of a BWE is its own item, so "for every BWE" is not vacuous, and Λ†\Lambda^\daggerΛ† is defined by (30) from the flow problem (28), not as the argmin of Ψ\PsiΨ, so the goal is not a restatement of Proposition 5.

Infrastructure a complete development needs: KKT conditions for convex programs with linear constraints, convexity of integrals of increasing functions, compactness arguments for existence of minimizers, and one-sided directional derivatives of optimal-value functions. The last two are reusable well beyond this mission. Proofs of any item, and of auxiliary lemmas such as Proposition 1 of the paper (feasible route flows form the polytope F(λ)\mathcal F(\lambda)F(λ)), are welcome.

Selected references

  • M. Wu, S. Amin, A. E. Ozdaglar, Value of Information in Bayesian Routing Games, Operations Research 69(1):148–163, 2021. https://doi.org/10.1287/opre.2020.1999 (preprint: https://arxiv.org/abs/1808.10590)
  • W. H. Sandholm, Potential games with continuous player sets, Journal of Economic Theory 97(1):81–108, 2001. https://doi.org/10.1006/jeth.2000.2696
  • A. V. Fiacco, J. Kyparisis, Convexity and concavity properties of the optimal value function in parametric nonlinear programming, Journal of Optimization Theory and Applications 48(1):95–126, 1986. https://doi.org/10.1007/BF00938592
9 thms2 active usersReviewed
🏆Completed
Convex OptimizationOperations ResearchProbability·Captain: mikedeng1

Stochastic Programs with Fixed Recourse: The Equivalent Deterministic Program II: Stability of the Deterministic Equivalent Convex ProgramResearch Paper

Motivation

A two-stage stochastic linear program with fixed recourse chooses a first-stage decision xxx before a random vector ξ\xiξ is observed, and then pays for a cheapest corrective action yyy once ξ\xiξ is known. It is the basic model of planning under uncertainty in operations research: capacity expansion, production planning with random demand, and energy dispatch are all written in this form, and every decomposition algorithm of the field (L-shaped, stochastic decomposition, progressive hedging) works on it.

Roger J.-B. Wets' survey Stochastic Programs with Fixed Recourse: The Equivalent Deterministic Program (SIAM Review, 1974) collected the structural theory of this model: where the problem is feasible (§4), what the expected cost looks like as a function of xxx (§7), and when the resulting convex program is well behaved (§8). This mission formalizes the second chain, from the polyhedral structure of the recourse function to the stability of the deterministic equivalent program: the existence of an optimal Lagrange multiplier for the first-stage constraints. Stability is what makes the optimal value react at a bounded rate to perturbations of the first-stage right-hand side, and it is the hypothesis under which dual and decomposition methods have something to converge to.

Setting

The data are a random element ξ=(c,q,p,T)\xi=(c,q,p,T)ξ=(c,q,p,T) with c∈Rnc\in\mathbb R^nc∈Rn, q∈Rnˉq\in\mathbb R^{\bar n}q∈Rnˉ, p∈Rmˉp\in\mathbb R^{\bar m}p∈Rmˉ and TTT an mˉ×n\bar m\times nmˉ×n matrix, distributed according to a probability measure μ\muμ. The recourse matrix WWW (mˉ×nˉ\bar m\times\bar nmˉ×nˉ), the first-stage matrix AAA (m×nm\times nm×n) and b∈Rmb\in\mathbb R^mb∈Rm are fixed. The recourse function is

Q(x,ξ)=min⁡{q(ξ)y∣Wy=p(ξ)−T(ξ)x, y≥0},Q(x,\xi)=\min\{q(\xi)y \mid Wy=p(\xi)-T(\xi)x,\ y\ge0\},Q(x,ξ)=min{q(ξ)y∣Wy=p(ξ)−T(ξ)x, y≥0},

equal to +∞+\infty+∞ if the second-stage program is infeasible and −∞-\infty−∞ if it is unbounded.

The weak covariance condition (Definition 2.2) requires cjc_jcj​, qjpiq_jp_iqj​pi​ and qjtikq_jt_{ik}qj​tik​ to be integrable for all indices; it does not require qqq, ppp or TTT themselves to be integrable. The paper also assumes throughout that WWW has full row rank (p. 312).

Expectations use the paper's integral: positive part minus negative part, with each part infinite if its integral diverges or the integrand is infinite on a set of positive measure, and (+∞)+(−∞)=+∞(+\infty)+(-\infty)=+\infty(+∞)+(−∞)=+∞. The expected recourse is Q(x)=Eξ{Q(x,ξ)}\mathcal Q(x)=E_\xi\{Q(x,\xi)\}Q(x)=Eξ​{Q(x,ξ)} and the objective is

Z(x)=cˉ x+Q(x),cˉ=Eξ{c(ξ)}.Z(x)=\bar c\,x+\mathcal Q(x),\qquad \bar c=E_\xi\{c(\xi)\}.Z(x)=cˉx+Q(x),cˉ=Eξ​{c(ξ)}.

The induced constraints are K2=⋂ζ∈Ξ~p,T{x:p−Tx∈pos⁡W}K_2=\bigcap_{\zeta\in\tilde\Xi_{p,T}}\{x : p-Tx\in\operatorname{pos}W\}K2​=⋂ζ∈Ξ~p,T​​{x:p−Tx∈posW}, where pos⁡W={Wy:y≥0}\operatorname{pos}W=\{Wy:y\ge0\}posW={Wy:y≥0} and Ξ~p,T\tilde\Xi_{p,T}Ξ~p,T​ is the support of the distribution of (p,T)(p,T)(p,T). The fixed constraints are K1={x:Ax=b, x≥0}K_1=\{x: Ax=b,\ x\ge0\}K1​={x:Ax=b, x≥0}, and K=K1∩K2K=K_1\cap K_2K=K1​∩K2​. The deterministic equivalent program (8.2) is to minimize ZZZ over KKK.

A convex program of the form min⁡{f(x):Ax=b, x≥0, x∈D}\min\{f(x) : Ax=b,\ x\ge0,\ x\in D\}min{f(x):Ax=b, x≥0, x∈D} with finite value vvv is stable (Definition 8.1(iv)) if there is π∈Rm\pi\in\mathbb R^mπ∈Rm with v≤f(x)+π(b−Ax)v\le f(x)+\pi(b-Ax)v≤f(x)+π(b−Ax) for all x∈Dx\in Dx∈D, x≥0x\ge0x≥0. Equivalently, the dual obtained by perturbing bbb is solvable and has no duality gap.

Formalization targets

Goal: Theorem 8.11 (p. 337)

If the weak covariance condition holds, WWW has full row rank, K2K_2K2​ is a polyhedron and the program is finite, v=inf⁡KZ∈Rv=\inf_K Z\in\mathbb Rv=infK​Z∈R, then

∃ π∈Rm:v≤Z(x)+π (b−Ax)for all x∈K2, x≥0.\exists\,\pi\in\mathbb R^m:\quad v\le Z(x)+\pi\,(b-Ax)\quad\text{for all }x\in K_2,\ x\ge0 .∃π∈Rm:v≤Z(x)+π(b−Ax)for all x∈K2​, x≥0.

Milestones

  1. Corollary 7.3 (p. 328). The value t↦min⁡{cx∣Ax=t, x≥0}t\mapsto\min\{cx\mid Ax=t,\ x\ge0\}t↦min{cx∣Ax=t, x≥0} is a finite maximum of affine functions on pos⁡A\operatorname{pos}AposA, or −∞-\infty−∞ on all of pos⁡A\operatorname{pos}AposA.
  2. Proposition 7.5 (p. 329). Q(x,ξ)Q(x,\xi)Q(x,ξ) is convex polyhedral in xxx on K2K_2K2​ for each ξ\xiξ in the support, concave polyhedral in qqq, and convex polyhedral in (p,T)(p,T)(p,T).
  3. Theorem 7.6 (p. 329). ZZZ is convex on KKK, and it is either finite on KKK or identically −∞-\infty−∞ on KKK.
  4. Theorem 7.7 (pp. 329–330). If Z>−∞Z>-\inftyZ>−∞ on KKK, then ∣Z(x)−Z(x0)∣≤Bˉ∥x−x0∥|Z(x)-Z(x^0)|\le\bar B\|x-x^0\|∣Z(x)−Z(x0)∣≤Bˉ∥x−x0∥ on KKK (Euclidean norm).
  5. Lemma 8.9 (p. 337). A finite program min⁡{f(x):Ax=b, x≥0}\min\{f(x): Ax=b,\ x\ge0\}min{f(x):Ax=b, x≥0} whose objective is convex and Lipschitz on a polyhedral domain is stable.

Significance

Stability of (8.2) is the regularity property that the dual and sensitivity theory of two-stage programs relies on. It gives a finite Lagrange multiplier for the first-stage constraints, a supporting hyperplane of the perturbation function ϕ(u)=inf⁡{Z(x):Ax=b−u, x∈K2∩R+n}\phi(u)=\inf\{Z(x) : Ax=b-u,\ x\in K_2\cap\mathbb R^n_+\}ϕ(u)=inf{Z(x):Ax=b−u, x∈K2​∩R+n​} at u=0u=0u=0, and hence a bounded rate of change of the optimal value under perturbations of bbb. The route through Theorems 7.6 and 7.7 also yields facts that are used on their own: the objective is a convex function that is either finite or identically −∞-\infty−∞ on the feasible region, and it is Lipschitz with a constant controlled by the weak covariance moments.

The results have been proved since 1974, and Lemma 8.9 is cited there to Walkup and Wets (1969). As far as the platform's catalog shows, none of them is formalized for a general distribution. The platform has finite-scenario versions of related facts from Birge and Louveaux's textbook, Chapter 3: StochasticProg.Recourse.thm6a_Q_lipschitz_convex_finite (the expected recourse is finite, convex and Lipschitz on K2K_2K2​ for finitely many scenarios) and StochasticProg.Recourse.thm5a_K2_closed_convex. A complete development would supply the general-distribution versions, with the paper's own extended integral.

Difficulty

The obvious argument for Theorem 7.7 integrates a pointwise Lipschitz constant of Q(⋅,ξ)Q(\cdot,\xi)Q(⋅,ξ). It fails unless that constant is integrable, and the weak covariance condition, not integrability of ξ\xiξ, is what has to deliver this, uniformly over the finitely many second-stage bases.

For the goal, convexity and finiteness of the program are not enough. The paper's Example 8.5 has a finite convex deterministic equivalent with an infinite duality gap, and the counterexample under Formalization scope has a finite value and no multiplier. When the domain of ZZZ has curved boundary, the perturbation function can have infinite slope at 000; the polyhedral hypothesis on K2K_2K2​ is what excludes this.

Formalization scope

  • Types. Vectors are Fin n → ℝ; matrices are Matrix (Fin _) (Fin _) ℝ; row vectors of the paper (ccc, qqq, π\piπ) enter through dotProduct. The law μ\muμ is a probability measure on (Fin n → ℝ) × (Fin n̄ → ℝ) × (Fin m̄ → ℝ) × (Fin m̄ → Fin n → ℝ). QQQ is the platform definition KallMayer.Recourse.PointwiseRecourse, an EReal-valued infimum. Supports are MeasureTheory.Measure.support.
  • The integral. Q\mathcal QQ is written as lintegral of the positive part minus lintegral of the negative part, with +∞+\infty+∞ whenever the positive part is +∞+\infty+∞. This is the paper's (+∞)+(−∞)=+∞(+\infty)+(-\infty)=+\infty(+∞)+(−∞)=+∞; Mathlib's EReal subtraction resolves the other way. A Bochner integral of toReal would be 000 for non-integrable integrands and make every expected-cost statement trivial, and it is not used. cˉ\bar ccˉ is a Bochner integral, legitimate because Definition 2.2 makes each cjc_jcj​ integrable.
  • Readings of informal words.
    • "Has first moments" is Integrable.
    • "Convex polyhedron" means finitely many weak linear inequalities; ∅\emptyset∅ and Rn\mathbb R^nRn are included.
    • "Finite convex (concave) polyhedral function on SSS" means equal on SSS to the maximum (minimum) of finitely many affine functions. The xxx and (p,T)(p,T)(p,T) parts of Proposition 7.5 are stated as a dichotomy with the identically −∞-\infty−∞ case; the qqq part is stated, as Corollary 7.4 gives it, as finite concave polyhedral on pos⁡(WT,−WT,I)\operatorname{pos}(W^T,-W^T,I)pos(WT,−WT,I) when the recourse problem is feasible.
    • "Convex" for the extended-real ZZZ (Theorem 7.6) is ConvexOn of toReal on the finite branch.
    • "Bounded on KKK" (Theorem 7.7) is read as Z>−∞Z>-\inftyZ>−∞ on KKK, the proof's own reading. Finiteness on KKK is part of the conclusion.
    • "Convex and Lipschitz on a polyhedron" (Lemma 8.9) means the objective's domain is the polyhedron.
    • "The program is finite" means the infimum over KKK is a real number.
    • "Stable" is the Kuhn–Tucker form above: a multiplier compared against the primal value, not merely a solvable dual. The latter would allow a duality gap.
  • Standing assumptions. Full row rank of WWW appears in Theorems 7.7 and 8.11, where the proof uses square nonsingular submatrices of WWW. It is omitted from Theorem 7.6 and Corollary 7.3 (Theorem 7.2's rank assumption), where it is not needed; this makes those statements stronger.
  • Corrections to the page. Theorem 8.11 is printed with "KKK is polyhedral", K=K1∩K2K=K_1\cap K_2K=K1​∩K2​, and read literally it is false. Take T(ξ)T(\xi)T(ξ) uniform on the unit circle, p≡1p\equiv1p≡1, W=(1)W=(1)W=(1), q≡0q\equiv0q≡0, c≡(−1,0)c\equiv(-1,0)c≡(−1,0) and K1={x2=1, x≥0}K_1=\{x_2=1,\ x\ge0\}K1​={x2​=1, x≥0}. Then K2K_2K2​ is the unit disk and K={(0,1)}K=\{(0,1)\}K={(0,1)} is polyhedral with finite value 000, but no multiplier exists. The goal therefore assumes "K2K_2K2​ is polyhedral", as the sentence before Lemma 8.9 and the proof require. In the dual (8.3) the page writes ccc for cˉ\bar ccˉ.
  • Ruled out. A statement of stability as "the dual supremum is attained" without equality to the primal value is not the goal, and neither is a hypothesis making KKK empty or ZZZ identically −∞-\infty−∞: the finiteness hypothesis excludes both.
  • Infrastructure. The needed pieces are Minkowski–Weyl for polyhedra (PointedCone.FG/DualFG in Mathlib), LP duality with ±∞\pm\infty±∞ values, the paper's extended integral, and a Kuhn–Tucker theorem for convex programs with polyhedral constraints (Rockafellar, Convex Analysis, Thm 28.2). Corollary 7.3 and Lemma 8.9 contain no probability and are reusable across convex analysis. Proofs of any milestone, and lemmas on the paper's extended integral (monotonicity, subadditivity), are welcome.

Selected references

  • R. J.-B. Wets, Stochastic Programs with Fixed Recourse: The Equivalent Deterministic Program, SIAM Review 16(3):309–339, 1974. https://doi.org/10.1137/1016053
  • D. W. Walkup and R. J.-B. Wets, Stochastic programs with recourse, SIAM J. Appl. Math. 15(5):1299–1314, 1967. https://doi.org/10.1137/0115113
  • R. M. Van Slyke and R. J.-B. Wets, A duality theory for abstract mathematical programs with applications to optimal control theory, J. Math. Anal. Appl. 22(3):679–706, 1968 (cited by Wets for Definition 8.1 and the dual (8.3)).
  • R. T. Rockafellar, Convex Analysis, Princeton University Press, 1970. https://doi.org/10.1515/9781400873173
  • J. R. Birge and F. Louveaux, Introduction to Stochastic Programming, 2nd ed., Springer, 2011, Chapter 3. https://doi.org/10.1007/978-1-4614-0237-4
10 thms2 active usersReviewed
🏆Completed
Operations ResearchProbability·Captain: mikedeng1

Stochastic Programs with Fixed Recourse: The Equivalent Deterministic Program I: The Induced Feasibility Region Is a Closed Convex Polyhedron When T Is FixedResearch Paper

Motivation

A two-stage stochastic program with recourse is a linear program in which a decision xxx is taken before a random vector ξ\xiξ is observed, and a corrective (recourse) decision yyy is taken afterwards at a cost. It is the basic model of planning under uncertainty in operations research: capacity expansion, production planning, energy dispatch and inventory models are routinely written this way. Before any algorithm can be applied, the model has to be reduced to a deterministic equivalent program in xxx alone, and the first question is which xxx are admissible at all: the random second-stage constraints induce constraints on xxx that are not written down anywhere in the data.

Roger J.-B. Wets's survey (SIAM Review 16(3), 1974) settled this question for fixed recourse (the recourse matrix WWW is not random) under a weak moment condition on the data. Its §4 shows that the natural definitions of the induced feasibility region agree, that the region is always closed and convex, and that it is a polyhedron, described by finitely many deterministic linear inequalities, whenever the technology matrix TTT is fixed. The last fact is what makes decomposition methods such as the L-shaped method of Van Slyke and Wets (1969) terminate with finitely many feasibility cuts.

Timeline: Dantzig (1955) and Beale (1955) introduce linear programs under uncertainty, under assumptions that make every xxx feasible (relatively complete recourse). Wets (1966) and Kall (1966) begin studying the feasibility region without that assumption; Wets (1966c) introduces the polar matrix used for the polyhedrality result. Walkup and Wets (1967) treat random WWW. The 1974 survey collects these results in the form formalized here.

Setting

The data are a fixed real mˉ×nˉ\bar m \times \bar nmˉ×nˉ matrix WWW and a random vector ξ=(c,q,p,T)\xi = (c, q, p, T)ξ=(c,q,p,T) with c∈Rnc \in \mathbb{R}^nc∈Rn, q∈Rnˉq \in \mathbb{R}^{\bar n}q∈Rnˉ, p∈Rmˉp \in \mathbb{R}^{\bar m}p∈Rmˉ and TTT an mˉ×n\bar m \times nmˉ×n matrix. The law of ξ\xiξ is a probability measure μ\muμ on the product space, and its support Ξ~\tilde\XiΞ~ is the smallest closed set of measure one. The recourse function is

Q(x,ξ)=min⁡{ q(ξ)y∣Wy=p(ξ)−T(ξ)x, y≥0 },Q(x,\xi) = \min\{\, q(\xi)y \mid Wy = p(\xi) - T(\xi)x,\ y \ge 0 \,\},Q(x,ξ)=min{q(ξ)y∣Wy=p(ξ)−T(ξ)x, y≥0},

equal to +∞+\infty+∞ when the program is infeasible and −∞-\infty−∞ when it is unbounded below. The expected recourse Q(x)=Eξ{Q(x,ξ)}\mathcal Q(x) = E_\xi\{Q(x,\xi)\}Q(x)=Eξ​{Q(x,ξ)} uses the paper's integral: the sum of the positive part ∫Q+dμ∈[0,+∞]\int Q^+ d\mu \in [0,+\infty]∫Q+dμ∈[0,+∞] and the negative part −∫Q−dμ∈[−∞,0]-\int Q^- d\mu \in [-\infty,0]−∫Q−dμ∈[−∞,0], with (+∞)+(−∞)=+∞(+\infty) + (-\infty) = +\infty(+∞)+(−∞)=+∞.

The weak covariance condition (Definition 2.2) asks that cjc_jcj​, qjpiq_j p_iqj​pi​ and qjtikq_j t_{ik}qj​tik​ be integrable for all i,j,ki, j, ki,j,k. Write pos⁡W={Wy∣y≥0}\operatorname{pos} W = \{Wy \mid y \ge 0\}posW={Wy∣y≥0}. The candidate feasibility sets for the induced constraints are

  • K2μK_2^\muK2μ​: the xxx for which, with probability one, some y≥0y \ge 0y≥0 solves Wy=p(ξ)−T(ξ)xWy = p(\xi) - T(\xi)xWy=p(ξ)−T(ξ)x;
  • K2pK_2^pK2p​: the xxx for which such a yyy exists for every ξ∈Ξ~\xi \in \tilde\Xiξ∈Ξ~;
  • K2s={x∣Q(x)<+∞}K_2^s = \{x \mid \mathcal Q(x) < +\infty\}K2s​={x∣Q(x)<+∞};
  • K2=⋂ζ∈Ξ~p,TK2(ζ)K_2 = \bigcap_{\zeta \in \tilde\Xi_{p,T}} K_2(\zeta)K2​=⋂ζ∈Ξ~p,T​​K2​(ζ), where Ξ~p,T\tilde\Xi_{p,T}Ξ~p,T​ is the support of the law of (p,T)(p,T)(p,T) and K2(ζ)={x∣p−Tx∈pos⁡W}K_2(\zeta) = \{x \mid p - Tx \in \operatorname{pos} W\}K2​(ζ)={x∣p−Tx∈posW} for ζ=(p,T)\zeta = (p,T)ζ=(p,T).

A convex polyhedron is a set {x∣Gx≥α}\{x \mid Gx \ge \alpha\}{x∣Gx≥α} given by finitely many linear inequalities; ∅\emptyset∅ and Rn\mathbb{R}^nRn are polyhedra.

Formalization targets

Goal: Theorem 4.10

If TTT is fixed and ξ\xiξ satisfies the weak covariance condition, then

K2={x∈Rn∣Gx≥α}for some finite system G,α,K_2 = \{x \in \mathbb{R}^n \mid Gx \ge \alpha\} \quad \text{for some finite system } G, \alpha,K2​={x∈Rn∣Gx≥α}for some finite system G,α,

so K2K_2K2​ is a closed convex polyhedron. The number of inequalities is not fixed in advance, and K2K_2K2​ may be empty.

Milestones

  1. Theorem 4.1. Under weak covariance, K2μ=K2p=K2sK_2^\mu = K_2^p = K_2^sK2μ​=K2p​=K2s​.
  2. Corollary 4.5. Under weak covariance, K2=K2p=K2μ=K2sK_2 = K_2^p = K_2^\mu = K_2^sK2​=K2p​=K2μ​=K2s​.
  3. Theorem 4.6. For every set Σ\SigmaΣ with the same closed positive hull as Ξ~p,T\tilde\Xi_{p,T}Ξ~p,T​, K2=⋂ζ∈ΣK2(ζ)K_2 = \bigcap_{\zeta \in \Sigma} K_2(\zeta)K2​=⋂ζ∈Σ​K2​(ζ).
  4. Theorem 4.7. K2K_2K2​ is closed and convex; if the closed positive hull pos⁡(Ξ~p,T)\operatorname{pos}(\tilde\Xi_{p,T})pos(Ξ~p,T​) is a convex polyhedral cone, K2K_2K2​ is a convex polyhedron.

Significance

Theorem 4.1 and Corollary 4.5 show that three different notions of second-stage feasibility (almost sure, on the support, finite expected cost) coincide, and that feasibility depends only on the distribution of (p,T)(p, T)(p,T). This justifies computing the feasibility region from the support alone, which is what feasibility-cut algorithms do. Theorem 4.7 guarantees that the deterministic equivalent program is a convex program over a closed convex set, with no moment condition. Theorem 4.10 shows that with a fixed technology matrix the induced constraints are finitely many linear inequalities, even when p(ξ)p(\xi)p(ξ) has an unbounded continuous distribution, so the deterministic equivalent program has a polyhedral feasible region.

The results are classical and proved in the paper. None of them is formalized on Prove2Me for a general distribution. The platform has the finite-scenario analogue of Theorem 4.7's first part, StochasticProg.Recourse.thm5a_K2_closed_convex (Birge and Louveaux, Ch. 3, Thm 5(a)), for finitely many scenarios; it is related work, not a special case in the Lean sense, because its model differs. The mission produces a machine-checked account of the measure-theoretic part (supports, pushforwards, an extended-valued integral with a nonstandard convention) and of the polyhedral part (Minkowski–Weyl for cones).

Difficulty

Two steps resist the obvious approach. First, K2p⊆K2sK_2^p \subseteq K_2^sK2p​⊆K2s​ needs an integrable upper bound for the positive part of Q(x,⋅)Q(x,\cdot)Q(x,⋅) on the whole support. QQQ is only piecewise linear in ξ\xiξ, can equal −∞-\infty−∞, and qqq, ppp, TTT are not assumed integrable separately, so no single dominating function is at hand; only the products controlled by the weak covariance condition are integrable. Second, Theorem 4.10 intersects infinitely many polyhedra K2(ζ)K_2(\zeta)K2​(ζ), and an infinite intersection of polyhedra is in general only closed and convex (Theorem 4.7). Showing that finitely many inequalities suffice without any assumption on the shape of the support of ppp is the content of the goal, and the resulting system may be inconsistent, in which case K2=∅K_2 = \emptysetK2​=∅.

Formalization scope

Vectors are Fin k → ℝ and matrices are Matrix (Fin m) (Fin n) ℝ; the paper's row vectors and suppressed transposes become Matrix.mulVec. The data space is Rn×Rnˉ×Rmˉ×Rmˉ×n\mathbb{R}^n \times \mathbb{R}^{\bar n} \times \mathbb{R}^{\bar m} \times \mathbb{R}^{\bar m \times n}Rn×Rnˉ×Rmˉ×Rmˉ×n with its Borel structure, and μ\muμ is a probability measure on the whole space (the paper's sample space Ξ\XiΞ only carries μ\muμ). Readings fixed by the formalization:

  • "has first moments" (Def. 2.2) is Integrable with respect to μ\muμ.
  • The integral is the paper's: two lower Lebesgue integrals, returning +∞+\infty+∞ whenever the positive part diverges. Mathlib's EReal subtraction (⊤−⊤=⊥\top - \top = \bot⊤−⊤=⊥) and the Bochner integral of toReal (zero for non-integrable functions) would both make K2sK_2^sK2s​ wrong and are not used.
  • "support" is Mathlib's Measure.support; Ξ~p,T\tilde\Xi_{p,T}Ξ~p,T​ is the support of the pushforward under the (continuous, hence measurable) projection onto (p,T)(p,T)(p,T).
  • "TTT is fixed" means T(ξ)=T0T(\xi) = T_0T(ξ)=T0​ with probability one, a weaker hypothesis than pointwise constancy.
  • "convex polyhedron" is the solution set of finitely many weak linear inequalities, the number of them existentially quantified; "convex polyhedral cone" is the conic hull of finitely many vectors; "closed positive hull" is the closure of the conic hull.
  • Full row rank of WWW is the paper's standing assumption (p. 312) and is carried as a hypothesis of Theorem 4.1, Corollary 4.5 and Theorem 4.10; it is inessential for them.
  • Theorem 4.6 is stated as "for every Σ\SigmaΣ with the same closed positive hull as Ξ~p,T\tilde\Xi_{p,T}Ξ~p,T​". The literal statement fails: a closed half-plane has no extreme points, so the "inverse of convex closure" would give Σ=∅\Sigma = \emptysetΣ=∅ and an intersection equal to Rn\mathbb{R}^nRn.
  • The set on p. 314 (iii) is printed K2pK_2^pK2p​.

A trivializing formalization is ruled out: a polyhedron indexed by an arbitrary type or by the support would make Theorem 4.10 a restatement of the first part of Theorem 4.7, and a Bochner-integral Q\mathcal QQ would make K2s=RnK_2^s = \mathbb{R}^nK2s​=Rn. Neither is used.

A complete development needs Minkowski–Weyl for finitely generated cones (available in Mathlib as PointedCone.FG / DualFG), closedness of finitely generated cones, supports of pushforward measures, and simplicial covers of pos⁡W\operatorname{pos} WposW (Carathéodory). The support and integral lemmas are reusable for every result about recourse functions with general distributions; contributions of such lemmas as separate theorems are welcome.

Selected references

  • R. J.-B. Wets, Stochastic Programs with Fixed Recourse: The Equivalent Deterministic Program, SIAM Review 16(3):309–339, 1974. https://doi.org/10.1137/1016053
  • R. M. Van Slyke and R. J.-B. Wets, L-Shaped Linear Programs with Applications to Optimal Control and Stochastic Programming, SIAM J. Appl. Math. 17(4):638–663, 1969. https://doi.org/10.1137/0117061
  • D. W. Walkup and R. J.-B. Wets, Stochastic Programs with Recourse, SIAM J. Appl. Math. 15(5):1299–1314, 1967. https://doi.org/10.1137/0115113
  • G. B. Dantzig, Linear Programming under Uncertainty, Management Science 1(3–4):197–206, 1955. https://doi.org/10.1287/mnsc.1.3-4.197
  • J. R. Birge and F. Louveaux, Introduction to Stochastic Programming, 2nd ed., Springer, 2011, Ch. 3. https://doi.org/10.1007/978-1-4614-0237-4
8 thms2 active usersReviewed
🏆Completed
Convex OptimizationNumerical AnalysisOperations Research·Captain: mikedeng1

A New Projection Method for Variational Inequality Problems: The Hyperplane Projection Method Converges to a Solution Under Continuity and Generalized MonotonicityResearch Paper

Motivation

A variational inequality asks for a point of a convex set at which a vector field points "inward" against every feasible direction. The format covers the first-order optimality conditions of constrained optimization, nonlinear complementarity problems, traffic and economic equilibria (Wardrop, Walrasian, Nash–Cournot), and systems of nonlinear equations; see Harker and Pang's survey (Math. Programming 48, 1990) and Facchinei and Pang's monograph (Springer, 2003).

When the map has no special structure (not strongly monotone, not Lipschitz with known constant, not affine) and the feasible set is a general closed convex set, the practical algorithms are projection methods. The oldest is Korpelevich's extragradient method (1976). Without a known Lipschitz constant, extragradient-type methods need a linesearch in which every trial point costs one projection onto the feasible set, and projection onto a general convex set is itself an optimization problem.

Solodov and Svaiter (SIAM J. Control Optim. 37 (1999) 765–776) proposed a method that spends exactly two projections per iteration, whatever the linesearch does, and proved global convergence under only continuity of the map and a generalized monotonicity condition weaker than pseudomonotonicity. The method, often called the hyperplane projection method, is a standard reference point for later projection and extragradient-type algorithms.

Timeline:

  • 1976: Korpelevich, extragradient method, Lipschitz monotone maps.
  • 1987–1994: Khobotov (1987), Iusem (1994) and others: extragradient variants with Armijo-type stepsize rules, which need one projection per trial step.
  • 1997: Iusem and Svaiter, a separating-hyperplane variant of extragradient for monotone maps (reference [9] of the paper).
  • 1999: Solodov and Svaiter, Algorithm 2.1: two projections per iteration, convergence under condition (1.2) below.

Setting

Work in Rn\mathbb{R}^nRn with the Euclidean inner product ⟨⋅,⋅⟩\langle\cdot,\cdot\rangle⟨⋅,⋅⟩ and norm ∥⋅∥\|\cdot\|∥⋅∥. Let C⊆RnC \subseteq \mathbb{R}^nC⊆Rn be closed and convex and F:Rn→RnF : \mathbb{R}^n \to \mathbb{R}^nF:Rn→Rn continuous. The problem VI(F,C)\mathrm{VI}(F, C)VI(F,C) is to find x∗x^*x∗ with

x∗∈C,⟨F(x∗),x−x∗⟩≥0for all x∈C.(1.1)x^* \in C, \qquad \langle F(x^*), x - x^*\rangle \ge 0 \quad \text{for all } x \in C. \tag{1.1}x∗∈C,⟨F(x∗),x−x∗⟩≥0for all x∈C.(1.1)

Its solution set is SSS. The projection onto a nonempty closed convex set KKK is PK[x]:=arg⁡min⁡y∈K∥y−x∥P_K[x] := \arg\min_{y \in K}\|y - x\|PK​[x]:=argminy∈K​∥y−x∥. The projected residual is r(x):=x−PC[x−F(x)]r(x) := x - P_C[x - F(x)]r(x):=x−PC​[x−F(x)]; its zeros are exactly the points of SSS.

Condition (1.2) requires, for every x∗∈Sx^* \in Sx∗∈S,

⟨F(x),x−x∗⟩≥0for all x∈C.(1.2)\langle F(x), x - x^*\rangle \ge 0 \qquad \text{for all } x \in C. \tag{1.2}⟨F(x),x−x∗⟩≥0for all x∈C.(1.2)

It holds when FFF is monotone or pseudomonotone, and in cases where FFF is neither.

Algorithm 2.1. Fix γ,σ∈(0,1)\gamma, \sigma \in (0,1)γ,σ∈(0,1) and x0∈Cx^0 \in Cx0∈C. Given xix^ixi: if r(xi)=0r(x^i) = 0r(xi)=0, stop. Otherwise let kik_iki​ be the smallest nonnegative integer kkk with

⟨F(xi−γkr(xi)),r(xi)⟩≥σ∥r(xi)∥2,(2.1)\langle F(x^i - \gamma^k r(x^i)), r(x^i)\rangle \ge \sigma\|r(x^i)\|^2, \tag{2.1}⟨F(xi−γkr(xi)),r(xi)⟩≥σ∥r(xi)∥2,(2.1)

set ηi=γki\eta_i = \gamma^{k_i}ηi​=γki​, zi=xi−ηir(xi)z^i = x^i - \eta_i r(x^i)zi=xi−ηi​r(xi), Hi={x∣⟨F(zi),x−zi⟩≤0}H_i = \{x \mid \langle F(z^i), x - z^i\rangle \le 0\}Hi​={x∣⟨F(zi),x−zi⟩≤0}, and

xi+1=PC∩Hi[xi].x^{i+1} = P_{C \cap H_i}[x^i].xi+1=PC∩Hi​​[xi].

The hyperplane ∂Hi\partial H_i∂Hi​ separates xix^ixi from SSS.

Formalization targets

Goal: Theorem 2.1

If CCC is closed and convex, FFF is continuous, S≠∅S \ne \emptysetS=∅ and (1.2) holds, then every sequence generated by Algorithm 2.1 converges to a single point of SSS:

∃ x^∈S:xi→x^(i→∞).\exists\, \hat x \in S:\quad x^i \to \hat x \quad (i \to \infty).∃x^∈S:xi→x^(i→∞).

The theorem fixes no rate and no constant; it asserts convergence of the whole sequence, not only of a subsequence.

Milestones (in attack order)

  • Lemma 2.1 (p. 768): for nonempty closed convex BBB, ⟨x−PB[x],z−PB[x]⟩≤0\langle x - P_B[x], z - P_B[x]\rangle \le 0⟨x−PB​[x],z−PB​[x]⟩≤0 for z∈Bz \in Bz∈B, and ∥PB[x]−PB[y]∥2≤∥x−y∥2−∥PB[x]−x+y−PB[y]∥2\|P_B[x]-P_B[y]\|^2 \le \|x-y\|^2 - \|P_B[x]-x+y-P_B[y]\|^2∥PB​[x]−PB​[y]∥2≤∥x−y∥2−∥PB​[x]−x+y−PB​[y]∥2.
  • Residual characterization (p. 767): x∈S  ⟺  r(x)=0x \in S \iff r(x) = 0x∈S⟺r(x)=0.
  • (2.5) (p. 769): ⟨F(x),r(x)⟩≥∥r(x)∥2\langle F(x), r(x)\rangle \ge \|r(x)\|^2⟨F(x),r(x)⟩≥∥r(x)∥2 for x∈Cx \in Cx∈C.
  • Linesearch well-definedness (p. 769): for x∈Cx \in Cx∈C with r(x)≠0r(x) \ne 0r(x)=0, some kkk satisfies (2.1).
  • Lemma 2.2 (p. 768): xi+1=PC∩Hi[xˉi]x^{i+1} = P_{C\cap H_i}[\bar x^i]xi+1=PC∩Hi​​[xˉi] with xˉi=PHi[xi]\bar x^i = P_{H_i}[x^i]xˉi=PHi​​[xi].
  • (2.6) (pp. 769–770): ∥xi+1−x∗∥2≤∥xi−x∗∥2−∥xi+1−xˉi∥2−(ηiσ/∥F(zi)∥)2∥r(xi)∥4\|x^{i+1}-x^*\|^2 \le \|x^i-x^*\|^2 - \|x^{i+1}-\bar x^i\|^2 - \big(\eta_i\sigma/\|F(z^i)\|\big)^2\|r(x^i)\|^4∥xi+1−x∗∥2≤∥xi−x∗∥2−∥xi+1−xˉi∥2−(ηi​σ/∥F(zi)∥)2∥r(xi)∥4 for every x∗∈Sx^* \in Sx∗∈S.
  • (2.8) (p. 770): ηi∥r(xi)∥→0\eta_i\|r(x^i)\| \to 0ηi​∥r(xi)∥→0.

Significance

Theorem 2.1 gives global convergence of a projection method for variational inequalities with no Lipschitz constant, no monotonicity and no knowledge of the problem beyond continuity and (1.2), at a fixed cost of two projections per iteration. Condition (1.2) covers pseudomonotone maps, which arise as gradients of pseudoconvex functions and in equilibrium models where monotonicity fails. The separating-hyperplane-and-project template of the proof is reused throughout the later literature on projection, proximal and hybrid methods for monotone inclusions.

The result has been proved since 1999. To the best of available knowledge no machine-checked proof of it, or of any convergence theorem for a projection method for variational inequalities, exists in Lean or Mathlib. This mission produces the statement and the supporting layer: a Euclidean projection onto closed convex sets with its standard inequalities, variational inequality solution sets, the projected residual, and a formal model of an Armijo-type linesearch algorithm with termination.

Difficulty

The Fejér-type inequality (2.6) quickly gives bounded iterates and ηi∥r(xi)∥→0\eta_i\|r(x^i)\| \to 0ηi​∥r(xi)∥→0. The obvious next step, concluding r(xi)→0r(x^i) \to 0r(xi)→0, fails: nothing prevents the stepsizes ηi\eta_iηi​ from tending to zero, and in that regime the product going to zero says nothing about the residual. This regime is where the minimality of kik_iki​ and the continuity of FFF enter, and it is the step a naive formalization (for instance one that drops minimality, or fixes the stepsize) cannot reach. A second subtlety is that (1.2) is needed at an accumulation point that is only known to lie in SSS at the end of the argument, which is why the condition must hold for every x∗∈Sx^* \in Sx∗∈S. Finally, subsequential convergence must be upgraded to convergence of the whole sequence to one solution; convergence of a subsequence, or of the distance to SSS, is strictly weaker.

Formalization scope

  • Rn\mathbb{R}^nRn is EuclideanSpace ℝ (Fin n) (not Fin n → ℝ, whose norm is the sup norm). The accumulation-point step needs finite dimension; no Hilbert-space generalization is intended.
  • Projection encoding. projOnto K x is a nearest point of KKK to xxx when one exists, chosen by Classical.choose, and the junk value xxx otherwise. On nonempty closed convex sets it is exactly PK[x]P_K[x]PK​[x]; the paper only projects onto such sets (CCC, HiH_iHi​, C∩HiC \cap H_iC∩Hi​), so the junk value is never reached under the hypotheses.
  • Stopping-rule encoding. A run is a sequence x : ℕ → ℝⁿ with Armijo indices k : ℕ → ℕ (predicate IsAlg21Run). If r(xi)=0r(x^i) = 0r(xi)=0 the method has stopped and the run stalls, xi+1=xix^{i+1} = x^ixi+1=xi; otherwise kik_iki​ is the least index satisfying (2.1) and xi+1=PC∩Hi[xi]x^{i+1} = P_{C \cap H_i}[x^i]xi+1=PC∩Hi​​[xi]. A stalled point is a solution, so finitely terminating runs are included in the goal.
  • Parameters γ,σ\gamma, \sigmaγ,σ are real with 0<γ<10 < \gamma < 10<γ<1, 0<σ<10 < \sigma < 10<σ<1, universally quantified; nnn, CCC, FFF and x0∈Cx^0 \in Cx0∈C are arbitrary.
  • (2.6) is stated for one generic step (x∈Cx \in Cx∈C, r(x)≠0r(x)\ne 0r(x)=0, kkk satisfying (2.1)) rather than along a run; it is the same inequality with xi,kix^i, k_ixi,ki​ abstracted.
  • Trivializing formalizations are ruled out: condition (1.2) is quantified over every solution and every x∈Cx \in Cx∈C (not replaced by monotonicity or an existential), kik_iki​ is the least index satisfying (2.1), the update projects xix^ixi onto C∩HiC \cap H_iC∩Hi​ (not onto CCC alone), the stopped case is pinned down by the stall encoding, and the conclusion is convergence of the whole sequence to one solution, not r(xi)→0r(x^i) \to 0r(xi)→0 or dist⁡(xi,S)→0\operatorname{dist}(x^i, S) \to 0dist(xi,S)→0.
  • Needed infrastructure: existence, uniqueness and variational characterization of the projection (Mathlib has exists_norm_eq_iInf_of_complete_convex and norm_eq_iInf_iff_real_inner_le_zero), firm nonexpansiveness, the explicit projection onto a halfspace, and a bounded-sequence subsequence argument in Rn\mathbb{R}^nRn. The projection lemmas are reusable for any projection-type method; contributions proving them as standalone lemmas are welcome.

Selected references

  • M. V. Solodov and B. F. Svaiter, A New Projection Method for Variational Inequality Problems, SIAM J. Control Optim. 37(3), 765–776, 1999. https://doi.org/10.1137/S0363012997317475
  • G. M. Korpelevich, The extragradient method for finding saddle points and other problems, Matecon 12, 747–756, 1976.
  • A. N. Iusem and B. F. Svaiter, A variant of Korpelevich's method for variational inequalities with a new search strategy, Optimization 42, 309–321, 1997. https://doi.org/10.1080/02331939708844365
  • P. T. Harker and J.-S. Pang, Finite-dimensional variational inequality and nonlinear complementarity problems: a survey of theory, algorithms and applications, Math. Programming 48, 161–220, 1990. https://doi.org/10.1007/BF01582255
  • F. Facchinei and J.-S. Pang, Finite-Dimensional Variational Inequalities and Complementarity Problems, Springer, 2003. https://doi.org/10.1007/b97543
16 thms2 active usersReviewed
🏆Completed
Linear algebraNumerical AnalysisOperations Research·Captain: mikedeng1

Conjugate Gradient Methods with Inexact Searches: The Self-Scaled Direction Is a Multiple of Beale's Restart DirectionResearch Paper

Motivation

Conjugate gradient methods minimize a smooth function f:Rn→Rf:\mathbb R^n\to\mathbb Rf:Rn→R using only gradients and a handful of stored vectors. This makes them the standard choice when nnn is too large for Newton or quasi-Newton methods, which store an n×nn\times nn×n matrix. On a strictly convex quadratic with exact line searches the classical method of Hestenes and Stiefel terminates in at most nnn steps. On general functions, and with the inexact line searches used in practice, its behaviour is much less clear.

D. F. Shanno's 1978 paper in Mathematics of Operations Research (doi:10.1287/moor.3.3.244) links conjugate gradient methods to quasi-Newton methods. It writes the search direction as −H^g-\hat H g−H^g, where H^\hat HH^ is a positive definite approximation of the inverse Hessian that is never stored. The resulting "memoryless" BFGS directions give descent without exact line searches. The paper's new algorithm uses two BFGS updates: one from the last restart and one from the current step. Its first update is scaled by the Oren–Spedicato factor γt\gamma_tγt​. Shanno and Phua's CONMIN code implements the algorithm, and the memoryless BFGS direction is the one-pair case of the later limited-memory BFGS methods.

  • 1952: Hestenes and Stiefel, linear conjugate gradients.
  • 1964: Fletcher and Reeves, nonlinear conjugate gradients.
  • 1969: Polak and Ribière, a second nonlinear variant.
  • 1972: Beale, a restart procedure that keeps the computed direction dtd_tdt​.
  • 1977: Powell's restart criterion (Powell 1977).
  • 1978: Shanno's reformulation as memoryless and two-update quasi-Newton methods (this paper).

Setting

Vectors are columns in Rn\mathbb R^nRn. A prime denotes transpose: u′vu'vu′v is the inner product and uv′uv'uv′ the outer product. An iterative method produces points xkx_kxk​, steps pk=xk+1−xk=αkdkp_k = x_{k+1}-x_k = \alpha_k d_kpk​=xk+1​−xk​=αk​dk​ along search directions dkd_kdk​, gradients gk=∇f(xk)g_k = \nabla f(x_k)gk​=∇f(xk​), and gradient changes yk=gk+1−gky_k = g_{k+1}-g_kyk​=gk+1​−gk​. A line search is exact when pk′gk+1=0p_k'g_{k+1} = 0pk′​gk+1​=0.

The BFGS update of a matrix HHH with the pair (p,y)(p,y)(p,y) is

H+=H−p y′H+Hy p′p′y+(1+y′Hyp′y)pp′p′y.H^+ = H - \frac{p\,y'H + H y\,p'}{p'y} + \left(1+\frac{y'Hy}{p'y}\right)\frac{pp'}{p'y}.H+=H−p′ypy′H+Hyp′​+(1+p′yy′Hy​)p′ypp′​.

A restart cycle begins at iteration ttt. At a later iteration k>tk>tk>t, Shanno's self-scaled restart matrix is

H^k=γt(I−ptyt′+ytpt′pt′yt+yt′ytpt′ytptpt′pt′yt)+ptpt′pt′yt,γt=pt′ytyt′yt.\hat H_k = \gamma_t\left(I - \frac{p_ty_t'+y_tp_t'}{p_t'y_t} + \frac{y_t'y_t}{p_t'y_t}\frac{p_tp_t'}{p_t'y_t}\right) + \frac{p_tp_t'}{p_t'y_t}, \qquad \gamma_t = \frac{p_t'y_t}{y_t'y_t}.H^k​=γt​(I−pt′​yt​pt​yt′​+yt​pt′​​+pt′​yt​yt′​yt​​pt′​yt​pt​pt′​​)+pt′​yt​pt​pt′​​,γt​=yt′​yt​pt′​yt​​.

The matrix H^k+1\hat H_{k+1}H^k+1​ is its BFGS update with (pk,yk)(p_k,y_k)(pk​,yk​), and the self-scaled two-update direction is dk+1=−H^k+1gk+1d_{k+1} = -\hat H_{k+1}g_{k+1}dk+1​=−H^k+1​gk+1​. The unscaled variant uses the BFGS update of III in place of the first matrix.

Beale's direction is

dk+1=−gk+1+yk′gk+1dk′ykdk+yt′gk+1dt′ytdt.d_{k+1} = -g_{k+1} + \frac{y_k'g_{k+1}}{d_k'y_k}d_k + \frac{y_t'g_{k+1}}{d_t'y_t}d_t.dk+1​=−gk+1​+dk′​yk​yk′​gk+1​​dk​+dt′​yt​yt′​gk+1​​dt​.

The quadratic case has gradient g(x)=Ax+cg(x) = Ax + cg(x)=Ax+c with AAA symmetric positive definite.

Formalization targets

Goal: reduction of the self-scaled method to Beale's method

Let AAA be symmetric positive definite, gi=Axi+cg_i = Ax_i + cgi​=Axi​+c and t<kt<kt<k. Assume that for t≤i≤kt\le i\le kt≤i≤k we have xi+1=xi+pix_{i+1} = x_i + p_ixi+1​=xi​+pi​, pi=αidip_i = \alpha_i d_ipi​=αi​di​ and pi′gi+1=0p_i'g_{i+1}=0pi′​gi+1​=0, that pt′Api=0p_t'Ap_i = 0pt′​Api​=0 for t<i≤kt<i\le kt<i≤k, and that pt,pk≠0p_t, p_k \ne 0pt​,pk​=0. Then

−H^k+1gk+1=γt(−gk+1+yk′gk+1dk′ykdk+yt′gk+1dt′ytdt).-\hat H_{k+1}g_{k+1} = \gamma_t\left(-g_{k+1} + \frac{y_k'g_{k+1}}{d_k'y_k}d_k + \frac{y_t'g_{k+1}}{d_t'y_t}d_t\right).−H^k+1​gk+1​=γt​(−gk+1​+dk′​yk​yk′​gk+1​​dk​+dt′​yt​yt′​gk+1​​dt​).

This is the paper's claim that "for f(x)f(x)f(x) quadratic with exact searches each of the above methods reduces exactly to Beale's method defined by (28)", with the conclusion (44). The scale is exactly γt\gamma_tγt​.

Companion statements

  • The unscaled two-update direction equals Beale's direction exactly.
  • Both two-update directions are descent directions, gk+1′dk+1<0g_{k+1}'d_{k+1} < 0gk+1′​dk+1​<0, whenever pt′yt>0p_t'y_t > 0pt′​yt​>0 and pk′yk>0p_k'y_k > 0pk′​yk​>0. No exact search is needed.

Milestones on the path

  • (34): the expansion of −H^k+1gk+1-\hat H_{k+1}g_{k+1}−H^k+1​gk+1​.
  • (40): its form under an exact search.
  • (41): gradients along a run on a quadratic.
  • pt′gk+1=0p_t'g_{k+1} = 0pt′​gk+1​=0.
  • (38), corrected by a factor 2: the action of the self-scaled restart matrix.
  • (42): its form when pt′gk+1=0p_t'g_{k+1} = 0pt′​gk+1​=0.
  • (43): the direction after substitution.

Significance

The result. The reduction says that the new algorithm reproduces Beale's restarted conjugate gradient directions on a quadratic with exact line searches. So it keeps the finite-termination and rate-of-convergence properties behind Beale's restart. Away from that setting it behaves as a quasi-Newton method, whose directions are descent directions under any line search with p′y>0p'y>0p′y>0. The two regimes are what justify relaxing the line search, which the paper's computations exploit. The scale γt\gamma_tγt​ changes only the length of the step, not its direction.

Formalizing it. The claim is proved in the paper by a short computation, and no machine-checked version is known. This mission produces:

  • a checked statement of the claim with every hypothesis explicit, including the conjugacy the proof takes as known;
  • a corrected version of display (38), which is misprinted;
  • reusable definitions of the additive BFGS update and of Beale's direction.

Difficulty

The obvious attempt is to expand both BFGS updates symbolically and compare with Beale's formula. This fails without two facts that are not algebraic identities. The first is that the restart step stays orthogonal to every later gradient, pt′gk+1=0p_t'g_{k+1}=0pt′​gk+1​=0. It needs the affine gradient of a quadratic, the exact search at the restart step, and conjugacy of ptp_tpt​ with all later steps. The second is yk′pt=0y_k'p_t = 0yk′​pt​=0, which again comes from conjugacy. Beale's formula also has to be matched in its ddd-form: the coefficient y′gd′yd\frac{y'g}{d'y}dd′yy′g​d equals y′gp′yp\frac{y'g}{p'y}pp′yy′g​p only when the step length is nonzero. The descent statements need a different argument: the BFGS update of a positive definite matrix with p′y>0p'y>0p′y>0 must be shown to remain positive definite, and this has to be done twice.

Formalization scope

Vectors are Fin n → ℝ and matrices Matrix (Fin n) (Fin n) ℝ. The inner product u′vu'vu′v is u ⬝ᵥ v, the outer product uv′uv'uv′ is vecMulVec u v, and HvHvHv is H *ᵥ v. The quadratic enters only through its gradient A *ᵥ x + c with A.PosDef. The paper's (4) is the case c=−Ax^c = -A\hat xc=−Ax^. Iterates, steps, directions and gradients are sequences indexed by ℕ. Division is Lean's total division. Every statement that divides therefore carries hypotheses making its denominators nonzero: pt≠0p_t \ne 0pt​=0 and pk≠0p_k\ne0pk​=0 in the quadratic statements, and pt′yt≠0p_t'y_t\ne 0pt′​yt​=0 or p′y>0p'y>0p′y>0 in the generic ones.

The conjugacy pt′Api=0p_t'Ap_i=0pt′​Api​=0 for t<i≤kt<i\le kt<i≤k is a hypothesis, exactly as the paper's proof uses it. It is not derived from a full run of Beale's algorithm. The range k≤t+n−1k\le t+n-1k≤t+n−1 of Beale's formula is not assumed.

Several formalizations would make the claim easier than the paper's, and none of them is used:

  • defining the direction by the expanded formula (34), or the restart matrix by (38);
  • adding orthogonality or conjugacy hypotheses beyond those listed;
  • concluding only that the two directions are parallel;
  • dropping the restart term of Beale's direction;
  • allowing a zero denominator.

The generic milestones — (34), (40), (38), (42), (43) and the descent statements — are statements about arbitrary vectors and matrices and are reusable for any BFGS-based method. Proofs of any milestone, and alternative derivations of the goal, are welcome.

Selected references

  • D. F. Shanno, Conjugate Gradient Methods with Inexact Searches, Mathematics of Operations Research 3(3) (1978) 244–256. https://doi.org/10.1287/moor.3.3.244
  • E. M. L. Beale, A derivation of conjugate gradients, in F. A. Lootsma (ed.), Numerical Methods for Nonlinear Optimization, Academic Press, 1972, 39–43.
  • M. J. D. Powell, Restart procedures for the conjugate gradient method, Mathematical Programming 12 (1977) 241–254. https://doi.org/10.1007/BF01593790
  • M. R. Hestenes and E. Stiefel, Methods of conjugate gradients for solving linear systems, J. Res. Nat. Bur. Standards 49 (1952) 409–436. https://doi.org/10.6028/jres.049.044
  • S. S. Oren and E. Spedicato, Optimal conditioning of self-scaling variable metric algorithms, Mathematical Programming 10 (1976) 70–90. https://doi.org/10.1007/BF01580654
18 thms2 active usersReviewed
🏆Completed
Algorithmic Game TheoryOperations ResearchProbability·Captain: mikedeng1

Information Sharing in a Supply Chain with a Common Retailer 1: Under Production Diseconomy the Retailer Earns More from Sequential Information Contracting and the Manufacturers from ConcurrentResearch Paper

Motivation

Retailers hold point-of-sale data that their suppliers cannot observe, and large retailers sell access to it through data-sharing programs (Costco's CRX, Walmart's Retail Link and similar programs). When one retailer carries the substitutable products of two competing manufacturers, sharing its demand information is a strategic decision: a manufacturer who knows the demand signal sets his wholesale price in response to it, which changes the retailer's margin and the rival manufacturer's order uncertainty. Whether the retailer should sell the information, to how many manufacturers, and by which protocol, is the question of Shang, Ha and Tong (Management Science 62(1):245–263, 2016).

The paper belongs to the information-sharing literature of Li (2002), Li and Zhang (2008) and Ha, Tong and Zhang (2011), which studies competing supply chains or a single chain. The common-retailer structure differs: the retailer can price-discriminate between the manufacturers through the order in which she offers the information.

Setting

Two manufacturers i∈{1,2}i \in \{1, 2\}i∈{1,2} sell substitutable products through one retailer. The demand for product iii is

qi=a+θ−(1+ϕ)pi+ϕpj,q_i = a + \theta - (1+\phi)p_i + \phi p_j,qi​=a+θ−(1+ϕ)pi​+ϕpj​,

where pip_ipi​ is the retail price, ϕ>0\phi > 0ϕ>0 measures competition, and θ\thetaθ is a random shock with mean 000 and variance σ2>0\sigma^2 > 0σ2>0. The retailer observes a demand signal YYY that is unbiased, E[Y∣θ]=θE[Y \mid \theta] = \thetaE[Y∣θ]=θ, and has linear expectation: E[θ∣Y]=βYE[\theta \mid Y] = \beta YE[θ∣Y]=βY for a weight β\betaβ (in the paper β=tσ2/(1+tσ2)\beta = t\sigma^2/(1+t\sigma^2)β=tσ2/(1+tσ2), with ttt the signal accuracy). The retailing cost is zero, and manufacturer iii produces qqq units at cost bq+cdq2bq + c_d q^2bq+cd​q2 with b,cd>0b, c_d > 0b,cd​>0: a production diseconomy.

The game has four stages.

  1. The retailer and the manufacturers contract on information sharing, which fixes each manufacturer's status Xi∈{I,U}X_i \in \{I, U\}Xi​∈{I,U} (informed or uninformed).
  2. The retailer observes YYY and discloses it truthfully to the informed manufacturers.
  3. The manufacturers set wholesale prices wiw_iwi​ simultaneously, an informed one as a function of YYY. The retailer then sets retail prices.
  4. Demand realizes and payoffs are received.

The pricing stage is a Bayesian game. Its equilibrium ex ante profits are πM(n)\pi_M(n)πM​(n), πMI(1)\pi_M^I(1)πMI​(1), πMU(1)\pi_M^U(1)πMU​(1) for the manufacturers and πR(n)\pi_R(n)πR​(n) for the retailer, where nnn is the number of informed manufacturers. They define a payoff table for the contracting stage.

Two contracting protocols are compared.

  • Concurrent contracting: the retailer offers both manufacturers the same payment TTT, and they accept or reject simultaneously; a Pareto-optimal pure equilibrium is the outcome, and the retailer chooses TTT.
  • Sequential contracting: the retailer offers one manufacturer TfT_fTf​, he accepts or rejects, then the retailer offers the other TsT_sTs​, and he decides having observed the first decision. The retailer cannot commit to Ts=TfT_s = T_fTs​=Tf​, and the solution is subgame perfect equilibrium.

Formalization targets

Goal: Proposition 4(d)

For every ϕ>0\phi > 0ϕ>0, cd>0c_d > 0cd​>0 and every signal model, the pricing stage has an equilibrium; for every pricing equilibrium, both contracting games have equilibria; and for every concurrent outcome and every sequential subgame-perfect equilibrium (either first mover),

ΠRC≤ΠRS,ΠMS≤ΠMC,\Pi_R^{C} \le \Pi_R^{S}, \qquad \Pi_M^{S} \le \Pi_M^{C},ΠRC​≤ΠRS​,ΠMS​≤ΠMC​,

with both inequalities strict when cd>(2−1)/(1+ϕ)c_d > (\sqrt2 - 1)/(1+\phi)cd​>(2​−1)/(1+ϕ). Here ΠR\Pi_RΠR​ is the retailer's profit after side payments and ΠM\Pi_MΠM​ the manufacturers' total profit net of them. The paper's word "higher" is read as ≥\ge≥ because for small cdc_dcd​ neither protocol sells information and all profits coincide.

Milestones

  1. §4.1, Eq. (1): the retailer's best response p^i=12(a+βY+wi)\hat p_i = \frac12(a + \beta Y + w_i)p^​i​=21​(a+βY+wi​) and the resulting demand.
  2. Lemma 1: the pricing equilibrium exists, is unique, and is linear in YYY.
  3. §4.2: the closed forms of the seven ex ante profits.
  4. Lemma 3: πM(2)>πMI(1)>πM(0)>πMU(1)\pi_M(2) > \pi_M^I(1) > \pi_M(0) > \pi_M^U(1)πM​(2)>πMI​(1)>πM​(0)>πMU​(1), πR(0)>πR(1)>πR(2)\pi_R(0) > \pi_R(1) > \pi_R(2)πR​(0)>πR​(1)>πR​(2), πR(1)−πR(2)>πR(0)−πR(1)\pi_R(1) - \pi_R(2) > \pi_R(0) - \pi_R(1)πR​(1)−πR​(2)>πR​(0)−πR​(1).
  5. Proposition 1(b): without contracting, no information is shared.
  6. Propositions 2 and 3: thresholds cdCc_d^CcdC​ and cdS1,cdS2c_d^{S1}, c_d^{S2}cdS1​,cdS2​, depending only on ϕ\phiϕ, at which the number of informed manufacturers changes under each protocol.
  7. Proposition 4(a): cdS1<cdC<cdS2c_d^{S1} < c_d^C < c_d^{S2}cdS1​<cdC​<cdS2​.

Significance

The result. Proposition 4(d) says that the order of the offers transfers surplus: selling information one manufacturer at a time lets the retailer exploit the manufacturers' fear of being the only uninformed firm, which raises her profit and lowers theirs. Propositions 2 and 3 show that concurrent contracting shares with both manufacturers or with neither, while sequential contracting can end with only one informed manufacturer. Together they give a complete map of the equilibrium sharing decisions in (cd,ϕ)(c_d, \phi)(cd​,ϕ) (Figure 1 of the paper).

Formalizing it. The results are proved in the paper, partly by "it can be shown" and "straightforward" steps: Lemma 3's proof is omitted, and so is the convexity of the function whose root is cdS2c_d^{S2}cdS2​. No part of the paper has a machine-checked proof. A complete formalization would check every such step and make the equilibrium notions precise, in particular the Pareto selection and the tie-breaking at the thresholds, where the retailer is exactly indifferent.

Difficulty

Most of the work is in the contracting stage, not the algebra. The pricing stage must be solved over all square-integrable strategies measurable in the signal. Uniqueness is then almost sure and rests on the linear-expectation identities E[θY]=σ2E[\theta Y] = \sigma^2E[θY]=σ2 and E[Y2]=σ2/βE[Y^2] = \sigma^2/\betaE[Y2]=σ2/β. The concurrent game has multiple equilibria for intermediate payments, and the retailer's optimum lies at a payment where two equilibria coexist. The sequential game is a three-stage game with a continuum of offers: at each threshold the retailer is indifferent, and an SPE exists only if acceptance at indifference is chosen correctly. The threshold cdS2c_d^{S2}cdS2​ has no closed form; it is the root of a convex rational function of cdc_dcd​.

Formalization scope

The Lean development lives in the namespace InfoSharing.Diseconomy. Conventions:

  • The probability space carries θ\thetaθ and YYY in L2L^2L2, with the two conditional-expectation identities holding almost everywhere. β\betaβ is a parameter fixed by E[θ∣Y]=βYE[\theta \mid Y] = \beta YE[θ∣Y]=βY; Ericson's formula for β\betaβ is not formalized.
  • Wholesale strategies are measurable, square-integrable functions of the signal value, and constants for an uninformed manufacturer. A pricing equilibrium is ex ante optimality over such strategies, which is equivalent to the paper's conditional optimization. The retailer's rule must be a best response at every wholesale-price pair.
  • The payoff table is produced by an arbitrary pricing-equilibrium family, not by the §4.2 closed forms. A formalization that takes the closed forms as the definition of the profits would reduce the goal to algebra and a 2×22 \times 22×2 game, and is ruled out.
  • Payments are nonnegative, only pure strategies are used in the contracting games, and the concurrent outcome selects, among Pareto-optimal equilibria, the one best for the retailer.
  • Threshold statements use two clauses: the printed value is attained on the closed region, and it is the only value on the region's interior. The thresholds depend only on ϕ\phiϕ.
  • Demands may be negative (θ is unbounded), as in the paper's formulas.

A complete development needs:

  • the conditional-expectation algebra behind Lemma 1 and §4.2;
  • rational-function inequalities for Lemma 3;
  • a case analysis of the two contracting games.

The model layer is shared with the companion mission on production economy.

Selected references

  • G. Shang, A. Y. Ha, S. Tong, Information Sharing in a Supply Chain with a Common Retailer, Management Science 62(1):245–263, 2016. https://doi.org/10.1287/mnsc.2014.2127
  • W. A. Ericson, A note on the posterior mean of a population mean, Journal of the Royal Statistical Society B 31(2):332–334, 1969.
  • L. Li, Information sharing in a supply chain with horizontal competition, Management Science 48(9):1196–1212, 2002. https://doi.org/10.1287/mnsc.48.9.1196.177
  • L. Li, H. Zhang, Confidentiality and information sharing in supply chain coordination, Management Science 54(8):1467–1481, 2008. https://doi.org/10.1287/mnsc.1070.0851
  • A. Y. Ha, S. Tong, H. Zhang, Sharing imperfect demand information in competing supply chains with production diseconomies, Management Science 57(3):566–581, 2011. https://doi.org/10.1287/mnsc.1100.1295
  • X. Vives, Oligopoly Pricing: Old Ideas and New Tools, MIT Press, 1999.
17 thms2 active usersReviewed
PreviousPage 14 of 27Next

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