Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

Convex Optimization

556 missions · 337 completed

Missions

Open219Completed337All556
🏆Completed
CombinatoricsOperations ResearchOptimization·Captain: mikedeng1

Convexity and Steinitz's Exchange Property III: Fenchel-Type Min-Max Duality with Primal and Dual Integrality for M-Concave and M-Convex FunctionsResearch Paper

Motivation

Several classical min-max theorems of combinatorial optimization say that a discrete maximization problem and a continuous minimization problem have the same optimal value, and that both have integral optimal solutions when the data are integral. Edmonds' polymatroid intersection theorem (1970), Fujishige's Fenchel-type duality for submodular functions (1984), Frank's discrete separation theorem for a submodular/supermodular pair (1982), and the potential characterizations of weighted matroid intersection (Frank's weight splitting theorem, 1981; Iri and Tomizawa's criterion for the assignment problem, 1976) are instances. Murota's paper Convexity and Steinitz's exchange property, 1996 places all of them under one theorem: a Fenchel-type min-max formula for a pair of an M-concave and an M-convex function, with integrality on both sides.

Timeline:

  • 1970: Edmonds proves the polymatroid intersection theorem.
  • 1982: Frank proves the discrete separation theorem for submodular/supermodular set functions, with integrality.
  • 1984: Fujishige proves a Fenchel-type min-max theorem for submodular functions.
  • 1976–1981: Iri and Tomizawa characterize optimality for independent assignment by potentials; Frank proves the weight splitting theorem for weighted matroid intersection (1981).
  • Early 1990s: Dress and Wenzel introduce valuated matroids.
  • 1995–1996: Murota proves the valuated matroid intersection theorem (SIAM J. Discrete Math. 9, 1996) and the M-concave intersection theorem (Bonn report, 1995), and in the present paper the Fenchel-type duality (Theorem 6.4).
  • Later: the result becomes the central duality theorem of discrete convex analysis (Murota, Discrete Convex Analysis, SIAM, 2003).

Setting

Let VVV be a finite nonempty set. For u∈Vu\in Vu∈V, χu∈ZV\chi_u\in\mathbb Z^Vχu​∈ZV is its characteristic vector; for x∈RVx\in\mathbb R^Vx∈RV, supp⁡±(x)\operatorname{supp}^{\pm}(x)supp±(x) are the sets of coordinates where xxx is positive or negative, x(X)=∑v∈Xx(v)x(X)=\sum_{v\in X}x(v)x(X)=∑v∈X​x(v), and ⟨p,x⟩=∑vp(v)x(v)\langle p,x\rangle=\sum_v p(v)x(v)⟨p,x⟩=∑v​p(v)x(v).

A finite integral base set is a finite nonempty B⊆ZVB\subseteq\mathbb Z^VB⊆ZV such that for x,y∈Bx,y\in Bx,y∈B and u∈supp⁡+(x−y)u\in\operatorname{supp}^+(x-y)u∈supp+(x−y) some v∈supp⁡−(x−y)v\in\operatorname{supp}^-(x-y)v∈supp−(x−y) has x−χu+χv∈Bx-\chi_u+\chi_v\in Bx−χu​+χv​∈B. These are exactly the integer points of integral base polytopes of submodular systems. B‾\overline BB is the convex hull of BBB.

A function ω:B→R\omega:B\to\mathbb Rω:B→R has the exchange property (EXC), and is called M-concave, if for x,y∈Bx,y\in Bx,y∈B and u∈supp⁡+(x−y)u\in\operatorname{supp}^+(x-y)u∈supp+(x−y) some v∈supp⁡−(x−y)v\in\operatorname{supp}^-(x-y)v∈supp−(x−y) has x−χu+χv, y+χu−χv∈Bx-\chi_u+\chi_v,\ y+\chi_u-\chi_v\in Bx−χu​+χv​, y+χu​−χv​∈B and

ω(x)+ω(y)≤ω(x−χu+χv)+ω(y+χu−χv).\omega(x)+\omega(y)\le\omega(x-\chi_u+\chi_v)+\omega(y+\chi_u-\chi_v).ω(x)+ω(y)≤ω(x−χu​+χv​)+ω(y+χu​−χv​).

A function ζ\zetaζ is M-convex when −ζ-\zeta−ζ is M-concave.

For ω:B1→R\omega:B_1\to\mathbb Rω:B1​→R and ζ:B2→R\zeta:B_2\to\mathbb Rζ:B2​→R the concave conjugate and convex conjugate are

ω∘(p)=min⁡x∈B1(⟨p,x⟩−ω(x)),ζ∙(p)=max⁡x∈B2(⟨p,x⟩−ζ(x)),\omega^\circ(p)=\min_{x\in B_1}\big(\langle p,x\rangle-\omega(x)\big),\qquad \zeta^\bullet(p)=\max_{x\in B_2}\big(\langle p,x\rangle-\zeta(x)\big),ω∘(p)=x∈B1​min​(⟨p,x⟩−ω(x)),ζ∙(p)=x∈B2​max​(⟨p,x⟩−ζ(x)),

and the concave closure and convex closure are ω^(b)=inf⁡p(⟨p,b⟩−ω∘(p))\hat\omega(b)=\inf_p(\langle p,b\rangle-\omega^\circ(p))ω^(b)=infp​(⟨p,b⟩−ω∘(p)) and ζˇ(b)=sup⁡p(⟨p,b⟩−ζ∙(p))\check\zeta(b)=\sup_p(\langle p,b\rangle-\zeta^\bullet(p))ζˇ​(b)=supp​(⟨p,b⟩−ζ∙(p)); they are finite exactly on B1‾\overline{B_1}B1​​ and B2‾\overline{B_2}B2​​.

The primal problem maximizes ω(x)−ζ(x)\omega(x)-\zeta(x)ω(x)−ζ(x) over x∈B1∩B2x\in B_1\cap B_2x∈B1​∩B2​; the relaxed primal problem maximizes ω^(b)−ζˇ(b)\hat\omega(b)-\check\zeta(b)ω^(b)−ζˇ​(b) over b∈B1‾∩B2‾b\in\overline{B_1}\cap\overline{B_2}b∈B1​​∩B2​​; the dual problem minimizes ζ∙(p)−ω∘(p)\zeta^\bullet(p)-\omega^\circ(p)ζ∙(p)−ω∘(p) over p∈RVp\in\mathbb R^Vp∈RV. A maximum over an empty family is −∞-\infty−∞.

Formalization targets

Goal: Theorem 6.4

If ω\omegaω and −ζ-\zeta−ζ satisfy (EXC), then

max⁡x∈B1∩B2(ω(x)−ζ(x))=max⁡b∈B1‾∩B2‾(ω^(b)−ζˇ(b))=inf⁡p∈RV(ζ∙(p)−ω∘(p)),\max_{x\in B_1\cap B_2}\big(\omega(x)-\zeta(x)\big)=\max_{b\in\overline{B_1}\cap\overline{B_2}}\big(\hat\omega(b)-\check\zeta(b)\big)=\inf_{p\in\mathbb R^V}\big(\zeta^\bullet(p)-\omega^\circ(p)\big),x∈B1​∩B2​max​(ω(x)−ζ(x))=b∈B1​​∩B2​​max​(ω^(b)−ζˇ​(b))=p∈RVinf​(ζ∙(p)−ω∘(p)),

with (P1) a finite dual infimum forces B1∩B2≠∅B_1\cap B_2\neq\emptysetB1​∩B2​=∅, and (P2) if B1∩B2≠∅B_1\cap B_2\neq\emptysetB1​∩B2​=∅ all values are finite and equal and the infimum is attained. If ω,ζ\omega,\zetaω,ζ are integer-valued, the infimum may be taken over p∈ZVp\in\mathbb Z^Vp∈ZV and is attained there when finite.

Milestones

  1. Lemma 6.3 (weak duality): for arbitrary ω,ζ\omega,\zetaω,ζ on finite nonempty sets, primal ≤\le≤ relaxed === dual (the Fenchel identity (6.5)).
  2. Lemma 6.1: (−f)∘(p)=−f∙(−p)(-f)^\circ(p)=-f^\bullet(-p)(−f)∘(p)=−f∙(−p) and (−f)∧=−fˇ(-f)^\wedge=-\check f(−f)∧=−fˇ​ on B‾\overline BB.
  3. Lemma 4.5: an M-concave ω\omegaω satisfies ω^=ω\hat\omega=\omegaω^=ω on BBB.
  4. Theorem 2.1: (B1) is equivalent to being the integer points of an integral submodular (or supermodular) base polytope, with the describing functions max⁡x∈Bx(X)\max_{x\in B}x(X)maxx∈B​x(X) and min⁡x∈Bx(X)\min_{x\in B}x(X)minx∈B​x(X).
  5. Theorem 6.5 (Frank's discrete separation theorem, cited in the paper).
  6. Lemma 6.7: four equivalent forms of boundedness of the dual problem.
  7. Theorem 6.6 (the M-concave intersection theorem, cited in the paper): optimality of x∗x^*x∗ for ω1+ω2\omega_1+\omega_2ω1​+ω2​ is equivalent to a potential p∗p^*p∗ with x∗x^*x∗ maximizing both ω1[−p∗]\omega_1[-p^*]ω1​[−p∗] and ω2[p∗]\omega_2[p^*]ω2​[p∗], integral when the data are.

Significance

The formula gives, in one statement, the integrality of an optimal solution of the relaxed primal problem (the essential content of the first half, as the paper observes on p. 296) and of the dual problem. The paper presents it as a unification of two groups of theorems: Edmonds' polymatroid intersection theorem, Fujishige's Fenchel-type duality and Frank's discrete separation theorem on one side, and Iri and Tomizawa's potential characterization for independent assignment with its extensions by Fujishige and Frank (weight splitting) on the other. In the paper it yields the primal and dual separation theorems (Theorems 6.8, 6.9) and the convolution results (Theorems 6.10, 6.11), and it is the prototype of the Fenchel-type duality of discrete convex analysis.

All results here are proved in the literature; none is known to be formalized. Mathlib has no submodular base polytopes, no matroid intersection theorem and no discrete convex analysis. A formal proof of Theorem 6.4 would also require formal proofs of the two cited results, Frank's discrete separation theorem and the M-concave intersection theorem, which the paper uses without proof.

Difficulty

Lemma 6.3 is polyhedral convex duality and holds for any functions. The content is equality with the integral problem: the relaxed maximum over the polytope B1‾∩B2‾\overline{B_1}\cap\overline{B_2}B1​​∩B2​​ must be attained at an integer point. For general finite sets it is not, and the intersection of two integral polytopes generally has fractional vertices. Both the integrality of B1‾∩B2‾\overline{B_1}\cap\overline{B_2}B1​​∩B2​​ (Edmonds) and the existence of an integral optimal potential depend on the exchange structure; a direct argument from the definitions of conjugates does not see it. The dual integrality claim, that ppp can be taken integral, is again specific to (EXC) and fails for general concave extensions.

Formalization scope

Lean conventions, all in namespace SteinitzExchange.Duality:

  • VVV is a type with [Fintype V] [DecidableEq V] [Nonempty V]; integer vectors are V → ℤ, real vectors V → ℝ; finite sets of integer vectors are Finset (V → ℤ).
  • A function on BBB is a total (V → ℤ) → ℝ used only at points of BBB. M-convexity of ζ\zetaζ is (EXC) for fun x => -ζ x; ω\omegaω lives on B1B_1B1​ and ζ\zetaζ on B2B_2B2​, which are distinct sets in general.
  • Conjugates are real-valued min/max over the finite set. The closures are real ⨅/⨆ over p∈RVp\in\mathbb R^Vp∈RV and are evaluated only on the convex hulls, where they equal the paper's values; off the hulls they carry a junk value instead of ∓∞\mp\infty∓∞, which no statement uses.
  • The three optimal values are in EReal, as suprema and infima of coerced reals, so no ∞−∞\infty-\infty∞−∞ occurs. EReal's supremum of the empty family is −∞-\infty−∞, the paper's convention. The dual infimum is never a real ⨅ (which would return 000 when unbounded and make (P1) meaningless).
  • Every "max" of the page includes attainment: (P2) asserts points xxx, bbb, ppp at which the three values are achieved; the integral dual infimum is attained when it is not −∞-\infty−∞.
  • "Integer-valued" means ω(x)∈Z\omega(x)\in\mathbb Zω(x)∈Z on B1B_1B1​ and ζ(x)∈Z\zeta(x)\in\mathbb Zζ(x)∈Z on B2B_2B2​; integral potentials and separating vectors are V → ℤ.
  • Theorem 2.1's "∀X⊂V\forall X\subset V∀X⊂V" is read as all X⊆VX\subseteq VX⊆V.

Formalizations that would trivialize the goal are excluded: an unrestricted real infimum for the dual, a convex closure built from ζ∘\zeta^\circζ∘ instead of ζ∙\zeta^\bulletζ∙, a single base set for both functions, and a relaxed maximum taken over all of RV\mathbb R^VRV instead of B1‾∩B2‾\overline{B_1}\cap\overline{B_2}B1​​∩B2​​.

Needed infrastructure: finite convex hulls and polyhedral Fenchel duality, submodular base polytopes and their integrality, Frank's separation theorem, and the valuated intersection theorem. The submodular-system layer (Theorem 2.1, Theorem 6.5) is reusable beyond this mission. Contributions to any milestone, including proofs of the two cited theorems, are welcome.

Selected references

  • K. Murota, Convexity and Steinitz's exchange property, Advances in Mathematics 124 (1996) 272–311. https://doi.org/10.1006/aima.1996.0084
  • K. Murota, Valuated matroid intersection I: optimality criteria, SIAM J. Discrete Math. 9 (1996) 545–561.
  • K. Murota, Submodular flow problem with a nonseparable cost function, Report 95843-OR, Forschungsinstitut für Diskrete Mathematik, Universität Bonn, 1995 (source of Theorem 6.6).
  • A. Frank, An algorithm for submodular functions on graphs, Annals of Discrete Mathematics 16 (1982) 97–120 (source of Theorem 6.5).
  • A. Frank, A weighted matroid intersection algorithm, J. Algorithms 2 (1981) 328–336.
  • J. Edmonds, Submodular functions, matroids and certain polyhedra, in: Combinatorial Structures and Their Applications, Gordon and Breach, New York, 1970, 69–87.
  • S. Fujishige, Theory of submodular programs: a Fenchel-type min-max theorem and subgradients of submodular functions, Mathematical Programming 29 (1984) 142–155.
  • M. Iri and N. Tomizawa, An algorithm for finding an optimal "independent assignment", J. Oper. Res. Soc. Japan 19 (1976) 32–57.
  • K. Murota, Discrete Convex Analysis, SIAM, 2003. https://doi.org/10.1137/1.9780898718508
18 thms7 active usersReviewed
🏆Completed
CombinatoricsOperations ResearchOptimization·Captain: mikedeng1

Convexity and Steinitz's Exchange Property II: The Local Supermodularity Theorem for the Concave ConjugateResearch Paper

Motivation

Matroids and their integral generalizations, integral base polytopes, are the combinatorial structures on which the greedy algorithm is exact. Edmonds' theory relates them to submodular and supermodular set functions: a polytope is a base polytope exactly when its support function, restricted to 0/10/10/1 vectors, is supermodular and the greedy formula evaluates it everywhere. Dress and Wenzel's valuated matroids (1990) and Murota's M-concave functions carry the exchange axiom from sets to functions on sets. This paper (Adv. Math. 124, 1996) sets up the resulting theory of discrete concave functions on base sets, later developed into discrete convex analysis (Murota, Discrete Convex Analysis, SIAM 2003).

The question behind this mission is how the set-level correspondence between exchange and supermodularity extends to functions. Section 5 of the paper answers it with the Local Supermodularity Theorem: the exchange property of a function is a supermodularity property of its concave conjugate, holding locally at every point.

Setting

Let VVV be a finite nonempty set, n=∣V∣n=|V|n=∣V∣. For u∈Vu\in Vu∈V let χu∈ZV\chi_u\in\mathbb Z^Vχu​∈ZV be the unit vector, for X⊆VX\subseteq VX⊆V let χX\chi_XχX​ be its characteristic vector, x(X)=∑v∈Xx(v)x(X)=\sum_{v\in X}x(v)x(X)=∑v∈X​x(v), and ⟨p,x⟩=∑vp(v)x(v)\langle p,x\rangle=\sum_v p(v)x(v)⟨p,x⟩=∑v​p(v)x(v). For a finite B⊆ZVB\subseteq\mathbb Z^VB⊆ZV, B‾\overline BB is its convex hull.

A finite integral base set is a finite nonempty B⊆ZVB\subseteq\mathbb Z^VB⊆ZV such that

(B1)x,y∈B, u∈supp⁡+(x−y) ⇒ ∃v∈supp⁡−(x−y): x−χu+χv∈B.\text{(B1)}\quad x,y\in B,\ u\in\operatorname{supp}^+(x-y)\ \Rightarrow\ \exists v\in\operatorname{supp}^-(x-y):\ x-\chi_u+\chi_v\in B.(B1)x,y∈B, u∈supp+(x−y) ⇒ ∃v∈supp−(x−y): x−χu​+χv​∈B.

A function ω:B→R\omega:B\to\mathbb Rω:B→R satisfies the exchange property (EXC) (is M-concave) if for x,y∈Bx,y\in Bx,y∈B and u∈supp⁡+(x−y)u\in\operatorname{supp}^+(x-y)u∈supp+(x−y) there is v∈supp⁡−(x−y)v\in\operatorname{supp}^-(x-y)v∈supp−(x−y) with x−χu+χv, y+χu−χv∈Bx-\chi_u+\chi_v,\ y+\chi_u-\chi_v\in Bx−χu​+χv​, y+χu​−χv​∈B and ω(x)+ω(y)≤ω(x−χu+χv)+ω(y+χu−χv)\omega(x)+\omega(y)\le\omega(x-\chi_u+\chi_v)+\omega(y+\chi_u-\chi_v)ω(x)+ω(y)≤ω(x−χu​+χv​)+ω(y+χu​−χv​). Write ω[p](x)=ω(x)+⟨p,x⟩\omega[p](x)=\omega(x)+\langle p,x\rangleω[p](x)=ω(x)+⟨p,x⟩ and argmax⁡(g)\operatorname{argmax}(g)argmax(g) for the maximizers of ggg on BBB.

The support function of BBB is ψ∘(p)=min⁡{⟨p,x⟩∣x∈B}\psi^\circ(p)=\min\{\langle p,x\rangle\mid x\in B\}ψ∘(p)=min{⟨p,x⟩∣x∈B}. A positively homogeneous h:RV→Rh:\mathbb R^V\to\mathbb Rh:RV→R is "matroidal" if

  • (C1) X↦h(χX)X\mapsto h(\chi_X)X↦h(χX​) is supermodular, and
  • (C2) h(p)=∑j=1n(pj−pj+1) h(χVj)h(p)=\sum_{j=1}^n(p_j-p_{j+1})\,h(\chi_{V_j})h(p)=∑j=1n​(pj​−pj+1​)h(χVj​​) whenever V={v1,…,vn}V=\{v_1,\dots,v_n\}V={v1​,…,vn​} with p(v1)≥⋯≥p(vn)p(v_1)\ge\dots\ge p(v_n)p(v1​)≥⋯≥p(vn​), pj=p(vj)p_j=p(v_j)pj​=p(vj​), Vj={v1,…,vj}V_j=\{v_1,\dots,v_j\}Vj​={v1​,…,vj​}, pn+1=0p_{n+1}=0pn+1​=0.

The concave conjugate is ω∘(p)=min⁡{⟨p,x⟩−ω(x)∣x∈B}\omega^\circ(p)=\min\{\langle p,x\rangle-\omega(x)\mid x\in B\}ω∘(p)=min{⟨p,x⟩−ω(x)∣x∈B}, the concave closure is ω^(b)=inf⁡p{⟨p,b⟩−ω∘(p)}\hat\omega(b)=\inf_p\{\langle p,b\rangle-\omega^\circ(p)\}ω^(b)=infp​{⟨p,b⟩−ω∘(p)}, the subdifferential is ∂ω∘(p0)={b∣ω∘(p)−ω∘(p0)≤⟨p−p0,b⟩ ∀p}\partial\omega^\circ(p_0)=\{b\mid\omega^\circ(p)-\omega^\circ(p_0)\le\langle p-p_0,b\rangle\ \forall p\}∂ω∘(p0​)={b∣ω∘(p)−ω∘(p0​)≤⟨p−p0​,b⟩ ∀p}, and the localization of ω∘\omega^\circω∘ at p0p_0p0​ is L^(ω∘,p0)(p)=inf⁡{⟨p,b⟩∣b∈∂ω∘(p0)}\hat L(\omega^\circ,p_0)(p)=\inf\{\langle p,b\rangle\mid b\in\partial\omega^\circ(p_0)\}L^(ω∘,p0​)(p)=inf{⟨p,b⟩∣b∈∂ω∘(p0​)}.

Formalization targets

Goal: the Local Supermodularity Theorem (Theorem 5.3, corrected)

For ω\omegaω on a finite integral base set BBB,

ω satisfies (EXC)  ⟺  (ω=ω^ on B) and (L^(ω∘,p0) is "matroidal" for every p0∈RV).\omega\ \text{satisfies (EXC)}\iff\Big(\omega=\hat\omega\ \text{on}\ B\Big)\ \text{and}\ \Big(\hat L(\omega^\circ,p_0)\ \text{is "matroidal" for every}\ p_0\in\mathbb R^V\Big).ω satisfies (EXC)⟺(ω=ω^ on B) and (L^(ω∘,p0​) is "matroidal" for every p0​∈RV).

The printed Theorem 5.3 has only the second condition on the right. Its "only if" direction holds as printed; its "if" direction is false without the first condition, and a separate item of the mission states the counterexample: B={(2,0),(1,1),(0,2)}B=\{(2,0),(1,1),(0,2)\}B={(2,0),(1,1),(0,2)}, ω=(0,−10,0)\omega=(0,-10,0)ω=(0,−10,0).

Milestones

  1. Theorem 2.1: (B1) is equivalent to BBB being the integer points of an integral submodular (equivalently, supermodular) system, whose defining function is determined by BBB.
  2. Theorem 5.1: if B=ZV∩B‾B=\mathbb Z^V\cap\overline BB=ZV∩B, then BBB satisfies (B1) iff ψ∘\psi^\circψ∘ is "matroidal".
  3. Lemma 5.2: sums of "matroidal" functions are "matroidal".
  4. Theorem 4.4: (EXC) holds iff every argmax⁡(ω[p])\operatorname{argmax}(\omega[p])argmax(ω[p]) satisfies (B1).
  5. Eq. (5.12): L^(ω∘,p0)(p)=min⁡{⟨p,x⟩∣x∈argmax⁡(ω[−p0])}\hat L(\omega^\circ,p_0)(p)=\min\{\langle p,x\rangle\mid x\in\operatorname{argmax}(\omega[-p_0])\}L^(ω∘,p0​)(p)=min{⟨p,x⟩∣x∈argmax(ω[−p0​])}.

Significance

The result. Theorem 5.3 is the function-level version of Theorem 5.1. Condition (C1) is a supermodularity condition, so the theorem expresses (EXC) as "a collection of local supermodularity" properties of ω∘\omega^\circω∘, in the same way that (B1) corresponds to supermodularity of a support function. In the paper this characterization of the conjugate side underlies the Fenchel-type duality of Section 6, and more generally the conjugacy between M-concave and L-convex functions in discrete convex analysis.

The formalization. No part of this theory is formalized in Lean or on this platform: base sets, (EXC), "matroidal" functions and concave conjugates of functions on base sets are all new. The mission also corrects the published statement: the reduction from localizations to base sets needs every integer point of conv⁡(argmax⁡ ω[−p0])\operatorname{conv}(\operatorname{argmax}\,\omega[-p_0])conv(argmaxω[−p0​]) to be a maximizer, and the concave-closure condition supplies this. A machine-checked proof would settle both the corrected theorem and the counterexample. Theorem 2.1 and Lemma 5.2 are classical but have no formal proof either.

Difficulty

ω∘\omega^\circω∘ depends only on the concave closure ω^\hat\omegaω^, so any characterization of (EXC) through ω∘\omega^\circω∘ alone cannot see values of ω\omegaω below ω^\hat\omegaω^. That is why the goal needs the extra clause. The "only if" direction needs the full theory of Section 4: M-concave functions coincide with their concave closure, and all their maximizer sets are base sets. Theorem 5.1 needs the greedy algorithm on integral base polytopes, together with the fact that the base polytope of an integral supermodular function has integral vertices. Theorem 2.1 is the folklore statement that polyhedral and exchange descriptions agree, and the paper does not prove it. Eq. (5.12) needs the subdifferential of a finite minimum of affine functions to be the convex hull of the active gradients, stated globally rather than only near p0p_0p0​.

Formalization scope

Integer vectors are V → ℤ, real vectors V → ℝ, with [Fintype V] [DecidableEq V] [Nonempty V]. A finite subset of ZV\mathbb Z^VZV is a Finset (V → ℤ). A function on BBB is a total function (V → ℤ) → ℝ whose values off BBB are never used. The mission commits to the following readings:

  • Minima. ψ∘\psi^\circψ∘, ω∘\omega^\circω∘ are real infima over the finite set BBB, hence minima for nonempty BBB (every statement has BBB nonempty). ω^\hat\omegaω^ is a real infimum used only at points of BBB, where it is bounded below.
  • Localization. L^\hat LL^ is a real sInf over the subdifferential, defined by (5.8)–(5.9) exactly, not by the formula (5.12). Eq. (5.12) is stated with IsLeast, so it asserts attainment, not just the value.
  • (C2). It is required for every bijection Fin n ≃ V along which ppp is non-increasing. This is equivalent to "for some" such indexing. "Matroidal" includes positive homogeneity but not concavity.
  • Theorem 2.1. The page's "∀X⊂V\forall X\subset V∀X⊂V" is read as all X⊆VX\subseteq VX⊆V. The set functions are integer-valued, and "Moreover" is read strongly: every fff (resp. ggg) as in (b) (resp. (c)) equals the displayed max (resp. min).
  • Theorem 4.4. "argmax⁡(ω[p])‾\overline{\operatorname{argmax}(\omega[p])}argmax(ω[p])​ is an integral base polytope" is read as "argmax⁡(ω[p])\operatorname{argmax}(\omega[p])argmax(ω[p]) satisfies (B1)", following Lemma 4.3 and the proof of Theorem 5.3. The literal convex-hull reading makes the "if" direction false (same counterexample).
  • Theorem 5.1 keeps the page's hypothesis B=ZV∩B‾B=\mathbb Z^V\cap\overline BB=ZV∩B.

Trivializing formalizations are ruled out. Defining L^\hat LL^ by (5.12) would reduce the goal to Theorems 4.4 and 5.1. A "matroidal" without (C2) would be satisfied by support functions of non-base sets. An ω∘\omega^\circω∘ taken as a supremum would reverse the sign conventions.

The development needs: the greedy algorithm and integrality for integral base polytopes, supergradients of polyhedral concave functions, and the Section 4 results of the paper (concave closure of M-concave functions, Lemma 4.3). The base-set and "matroidal" layers can be reused beyond this mission. Proofs of any milestone, of the counterexample, and a proof of the "only if" direction on its own are all welcome.

Selected references

  • K. Murota, Convexity and Steinitz's exchange property, Advances in Mathematics 124 (1996), 272–311. https://doi.org/10.1006/aima.1996.0084
  • A. W. M. Dress, W. Wenzel, Valuated matroids: a new look at the greedy algorithm, Applied Mathematics Letters 3 (1990), 33–35.
  • S. Fujishige, Submodular Functions and Optimization, 2nd ed., Annals of Discrete Mathematics 58, Elsevier, 2005.
  • L. Lovász, Submodular functions and convexity, in Mathematical Programming: The State of the Art, Springer, 1983, 235–257. https://doi.org/10.1007/978-3-642-68874-4_10
  • K. Murota, Discrete Convex Analysis, SIAM, 2003. https://doi.org/10.1137/1.9780898718508
15 thms7 active usersReviewed
🏆Completed
CombinatoricsOperations ResearchOptimization·Captain: mikedeng1

Convexity and Steinitz's Exchange Property I: The Extension Theorem — M-Concavity Is Concave Extendability with Integral Base Polytope MaximizersResearch Paper

Motivation

Linear optimization over the bases of a matroid, over the integer points of a polymatroid, or over the flows of a network is well understood: the greedy algorithm is exact, the feasible sets are the integer points of polytopes described by submodular functions, and min-max theorems of Edmonds and Frank hold with integrality. Nonlinear objectives on the same sets are much less uniform. Valuated matroids (Dress and Wenzel, 1990; see Murota 2003) showed that a quantitative form of the Steinitz exchange axiom is exactly what keeps the greedy algorithm exact for a nonlinear weight. Kazuo Murota's paper Convexity and Steinitz's Exchange Property (Adv. Math. 124 (1996) 272–311) extends this exchange axiom from matroid bases to the integer points of arbitrary integral base polytopes, names the resulting functions M-concave, and proves that they are the discrete counterpart of concave functions. The paper is the starting point of discrete convex analysis (Murota, Discrete Convex Analysis, SIAM 2003), which is now used in auction theory (gross-substitutes valuations are M♮-concave), inventory and resource allocation, and combinatorial optimization.

This mission covers the first of the paper's three characterizations of M-concavity: the Extension Theorem (Theorem 4.6).

Setting

Let VVV be a finite nonempty set. For u∈Vu\in Vu∈V, χu∈ZV\chi_u\in\mathbb Z^Vχu​∈ZV is the characteristic vector of uuu. For x∈RVx\in\mathbb R^Vx∈RV, supp⁡+(x)={v∣x(v)>0}\operatorname{supp}^+(x)=\{v\mid x(v)>0\}supp+(x)={v∣x(v)>0}, supp⁡−(x)={v∣x(v)<0}\operatorname{supp}^-(x)=\{v\mid x(v)<0\}supp−(x)={v∣x(v)<0}, ∥x∥=∑v∣x(v)∣\|x\|=\sum_v|x(v)|∥x∥=∑v​∣x(v)∣, and ⟨p,x⟩=∑vp(v)x(v)\langle p,x\rangle=\sum_v p(v)x(v)⟨p,x⟩=∑v​p(v)x(v).

A finite integral base set is a finite nonempty B⊆ZVB\subseteq\mathbb Z^VB⊆ZV such that for x,y∈Bx,y\in Bx,y∈B and u∈supp⁡+(x−y)u\in\operatorname{supp}^+(x-y)u∈supp+(x−y) there is v∈supp⁡−(x−y)v\in\operatorname{supp}^-(x-y)v∈supp−(x−y) with x−χu+χv∈Bx-\chi_u+\chi_v\in Bx−χu​+χv​∈B (axiom (B1)). Examples are the incidence vectors of the bases of a matroid. Its convex hull B‾\overline BB is an integral base polytope; in general, an integral base polytope is the convex hull of some finite integral base set.

A function ω:B→R\omega:B\to\mathbb Rω:B→R satisfies the exchange property (EXC), and is called M-concave, if for all x,y∈Bx,y\in Bx,y∈B and u∈supp⁡+(x−y)u\in\operatorname{supp}^+(x-y)u∈supp+(x−y) there is v∈supp⁡−(x−y)v\in\operatorname{supp}^-(x-y)v∈supp−(x−y) with x−χu+χv∈Bx-\chi_u+\chi_v\in Bx−χu​+χv​∈B, y+χu−χv∈By+\chi_u-\chi_v\in By+χu​−χv​∈B and

ω(x)+ω(y)≤ω(x−χu+χv)+ω(y+χu−χv).\omega(x)+\omega(y)\le\omega(x-\chi_u+\chi_v)+\omega(y+\chi_u-\chi_v).ω(x)+ω(y)≤ω(x−χu​+χv​)+ω(y+χu​−χv​).

The local exchange property (EXCloc_{\mathrm{loc}}loc​) asks only, for x,y∈Bx,y\in Bx,y∈B with ∥x−y∥=4\|x-y\|=4∥x−y∥=4, for some u∈supp⁡+(x−y)u\in\operatorname{supp}^+(x-y)u∈supp+(x−y) and some v∈supp⁡−(x−y)v\in\operatorname{supp}^-(x-y)v∈supp−(x−y) with the same conclusion.

For p∈RVp\in\mathbb R^Vp∈RV, ω[p](x)=ω(x)+⟨p,x⟩\omega[p](x)=\omega(x)+\langle p,x\rangleω[p](x)=ω(x)+⟨p,x⟩, and argmax⁡(ω)={x∈B∣ω(x)≥ω(y) ∀y∈B}\operatorname{argmax}(\omega)=\{x\in B\mid\omega(x)\ge\omega(y)\ \forall y\in B\}argmax(ω)={x∈B∣ω(x)≥ω(y) ∀y∈B}. For any g:B→Rg:B\to\mathbb Rg:B→R, the concave conjugate is g∘(p)=min⁡x∈B(⟨p,x⟩−g(x))g^\circ(p)=\min_{x\in B}(\langle p,x\rangle-g(x))g∘(p)=minx∈B​(⟨p,x⟩−g(x)) and the concave closure is g^(b)=inf⁡p∈RV(⟨p,b⟩−g∘(p))\hat g(b)=\inf_{p\in\mathbb R^V}(\langle p,b\rangle-g^\circ(p))g^​(b)=infp∈RV​(⟨p,b⟩−g∘(p)), a concave function that is finite exactly on B‾\overline BB. A function ωˉ:B‾→R\bar\omega:\overline B\to\mathbb Rωˉ:B→R extends ω\omegaω if ωˉ=ω\bar\omega=\omegaωˉ=ω on BBB.

Formalization targets

Goal: the Extension Theorem (Theorem 4.6)

For a finite integral base set BBB and ω:B→R\omega:B\to\mathbb Rω:B→R,

ω satisfies (EXC)  ⟺  ∃ ωˉ:B‾→R concave, ωˉ∣B=ω, ∀p: argmax⁡B‾(ωˉ[p]) is an integral base polytope.\omega\ \text{satisfies (EXC)}\iff\exists\,\bar\omega:\overline B\to\mathbb R\ \text{concave},\ \bar\omega|_B=\omega,\ \forall p:\ \operatorname{argmax}_{\overline B}(\bar\omega[p])\ \text{is an integral base polytope}.ω satisfies (EXC)⟺∃ωˉ:B→R concave, ωˉ∣B​=ω, ∀p: argmaxB​(ωˉ[p]) is an integral base polytope.

Milestones

  • Lemma 3.2 (p. 282): under (EXCloc_{\mathrm{loc}}loc​), for y=x−χu0−χu1+χv0+χv1∈By=x-\chi_{u_0}-\chi_{u_1}+\chi_{v_0}+\chi_{v_1}\in By=x−χu0​​−χu1​​+χv0​​+χv1​​∈B, ωp(y)−ωp(x)≤max⁡(π00+π11,π01+π10)\omega_p(y)-\omega_p(x)\le\max(\pi_{00}+\pi_{11},\pi_{01}+\pi_{10})ωp​(y)−ωp​(x)≤max(π00​+π11​,π01​+π10​) with πij=ωp(x−χui+χvj)−ωp(x)\pi_{ij}=\omega_p(x-\chi_{u_i}+\chi_{v_j})-\omega_p(x)πij​=ωp​(x−χui​​+χvj​​)−ωp​(x) (−∞-\infty−∞ off BBB).
  • Theorem 3.1 (p. 282): (EXC)   ⟺  \iff⟺ (EXCloc_{\mathrm{loc}}loc​).
  • Theorem 2.2 (p. 280): (EXC) for ω\omegaω implies (EXC) for every ω[p]\omega[p]ω[p].
  • Lemma 4.3 (p. 285): under (EXC), argmax⁡(ω)\operatorname{argmax}(\omega)argmax(ω) is an integral base set.
  • Lemma 4.1 (p. 285): g^≥g\hat g\ge gg^​≥g on BBB; max⁡B‾g^=max⁡Bg\max_{\overline B}\hat g=\max_B gmaxB​g^​=maxB​g; argmax⁡(g^)=argmax⁡(g)‾\operatorname{argmax}(\hat g)=\overline{\operatorname{argmax}(g)}argmax(g^​)=argmax(g)​.
  • Lemma 4.2 (p. 285): (g[p0])∘(p)=g∘(p−p0)(g[p_0])^\circ(p)=g^\circ(p-p_0)(g[p0​])∘(p)=g∘(p−p0​) and (g[p0])∧=g^+⟨p0,⋅⟩(g[p_0])^\wedge=\hat g+\langle p_0,\cdot\rangle(g[p0​])∧=g^​+⟨p0​,⋅⟩ on B‾\overline BB.
  • Theorem 4.4 (p. 286): (EXC)   ⟺  \iff⟺ argmax⁡(ω[p])\operatorname{argmax}(\omega[p])argmax(ω[p]) is an integral base set for every ppp.
  • Lemma 4.5 (p. 288): under (EXC), ω^=ω\hat\omega=\omegaω^=ω on BBB.

Significance

The Extension Theorem identifies a combinatorial axiom with a convex-analytic property: M-concave functions are exactly the restrictions to lattice points of concave functions on the base polytope whose linear perturbations are all maximized on integral base polytopes. It is the reason the M-concave class supports a convex-analysis-style theory at all: local optimality implies global optimality, maximizers of linear perturbations are well behaved, and conjugacy (the paper's Theorems 5.3 and 6.4, separate missions of this series) can be developed. Theorem 3.1 on its own is widely used to verify M-concavity in applications, since it reduces the exchange axiom to pairs at distance four.

All results here were proved in 1996. To our knowledge none of them has a machine-checked proof; Mathlib has matroids on sets but no integral base sets in ZV\mathbb Z^VZV, no M-concave functions and no concave closure of a function on a finite set. A formal proof of this chain would be a first formal development of discrete convex analysis.

Difficulty

The equivalence of (EXC) with its local version (Theorem 3.1) is not a routine induction on ∥x−y∥\|x-y\|∥x−y∥: the exchange inequality for a far pair does not follow from the inequalities along a path of distance-4 pairs, because the exchange partner vvv must be chosen consistently with the prescribed uuu. For the "if" direction of Theorem 4.4, knowing that every maximizer set is an integral base set says nothing directly about the values of ω\omegaω at non-maximizing points; turning this global information on maximizers into the local inequality (EXCloc_{\mathrm{loc}}loc​) requires a supporting hyperplane of the concave closure at a well-chosen point and the integrality of the intersection of an integral base polytope with a box (a cited result on submodular systems). Theorem 4.6 then needs the concave closure to agree with ω\omegaω on BBB (Lemma 4.5), which fails for general ω\omegaω.

Formalization scope

All declarations live in the namespace SteinitzExchange.Extension. The ground set is a type V with [Fintype V] [DecidableEq V] [Nonempty V]; integer vectors are V → ℤ, real vectors V → ℝ, and toReal embeds the former into the latter. BBB is a Finset (V → ℤ). A function ω:B→R\omega:B\to\mathbb Rω:B→R is a total (V → ℤ) → ℝ whose values are only ever read at points required to be in BBB. B‾\overline BB is Mathlib's convexHull ℝ of the image of BBB. Pinned readings:

  1. Integral base polytope means the convex hull of a finite nonempty set satisfying (B1) (by the paper's Theorem 2.1 this is its meaning), not "a polytope with integer vertices".
  2. The concave closure is a real infimum; it is the paper's value on B‾\overline BB and a junk value 000 off B‾\overline BB (the paper's −∞-\infty−∞), so every statement uses it only on B‾\overline BB. argmax⁡(g^)\operatorname{argmax}(\hat g)argmax(g^​) and argmax⁡(ωˉ[p])\operatorname{argmax}(\bar\omega[p])argmax(ωˉ[p]) range over B‾\overline BB only; the concave conjugate is a minimum over the nonempty finite BBB.
  3. Lemma 3.2's maximum with −∞-\infty−∞ entries is stated as: for one of the two pairings both exchanged points lie in BBB and the bound holds for that pairing.
  4. Theorem 4.4 and Lemma 4.3 conclude that argmax⁡(ω[p])\operatorname{argmax}(\omega[p])argmax(ω[p]) is itself an integral base set. Read literally ("its convex hull is an integral base polytope") the "if" direction of Theorem 4.4 is false: B={(2,0),(1,1),(0,2)}B=\{(2,0),(1,1),(0,2)\}B={(2,0),(1,1),(0,2)} with ω=(0,−1,0)\omega=(0,-1,0)ω=(0,−1,0) is a counterexample. The paper's proof, its gloss in Lemma 4.3 and its use on p. 292 all take the integral-base-set reading. Theorem 4.6 needs no such adjustment and is stated as printed.
  5. Theorem 2.2 carries the standing assumption of §2.3 that ω\omegaω satisfies (EXC).

Trivializing formalizations are ruled out: the extension ωˉ\bar\omegaωˉ must agree with ω\omegaω on BBB and be concave on B‾\overline BB, the argmax is over B‾\overline BB and not over RV\mathbb R^VRV, and an integral base polytope is never empty.

A complete development needs basic facts on integral base sets (the equivalence of (B1) with the simultaneous exchange (B2), B=ZV∩B‾B=\mathbb Z^V\cap\overline BB=ZV∩B, and the paper's cited Theorem 2.1 relating them to submodular functions), the representation (4.3) of the concave closure as a maximum of convex combinations, and supporting hyperplanes of polyhedral concave functions. The layer of integral base sets and M-concave functions is reusable for the two other missions of this series and for any later formalization of discrete convex analysis; contributions of general-purpose lemmas about it are welcome.

Selected references

  • K. Murota, Convexity and Steinitz's exchange property, Advances in Mathematics 124 (1996) 272–311. https://doi.org/10.1006/aima.1996.0084
  • K. Murota, Discrete Convex Analysis, SIAM Monographs on Discrete Mathematics and Applications, 2003. https://doi.org/10.1137/1.9780898718508
21 thms7 active usersReviewed
🏆Completed
Linear algebraOptimization·Captain: mikedeng1

Distributed Optimization and Statistical Learning via the Alternating Direction Method of Multipliers II: Soft Thresholding Is the Proximity Operator of the ℓ1 NormTextbook

Why closed-form ADMM updates matter

The alternating direction method of multipliers (ADMM) solves problems of the form min⁡f(x)+g(z)\min f(x)+g(z)minf(x)+g(z) subject to Ax+Bz=cAx+Bz=cAx+Bz=c by alternating a minimization in xxx, a minimization in zzz and a dual ascent step. Its practical appeal, as surveyed by Boyd, Parikh, Chu, Peleato and Eckstein in Distributed Optimization and Statistical Learning via the Alternating Direction Method of Multipliers (Foundations and Trends in Machine Learning, 2011, doi:10.1561/2200000016), rests on the fact that each of these minimizations is often trivial to carry out: a projection, a linear solve, or a componentwise formula. Chapter 4 of the book, "General Patterns", catalogues the cases that recur in every later application (lasso, basis pursuit, sparse inverse covariance selection, consensus and sharing problems). This mission formalizes the statements of that chapter, culminating in the identification of the update for an ℓ1\ell_1ℓ1​ penalty with soft thresholding.

Setting

Vectors live in Rn\mathbb R^nRn with the Euclidean norm ∥⋅∥2\|\cdot\|_2∥⋅∥2​. An extended-real-valued function f:Rn→R∪{+∞}f:\mathbb R^n\to\mathbb R\cup\{+\infty\}f:Rn→R∪{+∞} is given by its effective domain dom⁡f\operatorname{dom} fdomf and its finite values there. Fix a penalty parameter ρ>0\rho>0ρ>0, a matrix A∈Rp×nA\in\mathbb R^{p\times n}A∈Rp×n and a vector v∈Rpv\in\mathbb R^pv∈Rp. The xxx-update of ADMM (p. 25) is

x+=argmin⁡x(f(x)+ρ2∥Ax−v∥22),x^+=\operatorname*{argmin}_x\Bigl(f(x)+\tfrac{\rho}{2}\|Ax-v\|_2^2\Bigr),x+=xargmin​(f(x)+2ρ​∥Ax−v∥22​),

where "argmin" denotes a minimizer over dom⁡f\operatorname{dom} fdomf. When A=IA=IA=I the right-hand side, as a function of vvv, is the proximity operator proxf,ρ(v)\mathbf{prox}_{f,\rho}(v)proxf,ρ​(v) (§4.1).

The chapter evaluates x+x^+x+ in four situations:

  • fff is the indicator function of a closed nonempty convex set C\mathcal CC (000 on C\mathcal CC, +∞+\infty+∞ off it); then x+x^+x+ is the Euclidean projection ΠC(v)\Pi_{\mathcal C}(v)ΠC​(v), the nearest point of C\mathcal CC to vvv;
  • f(x)=12xTPx+qTx+rf(x)=\tfrac12x^TPx+q^Tx+rf(x)=21​xTPx+qTx+r is a convex quadratic, with PPP symmetric positive semidefinite, possibly restricted to an affine set {x∣Fx=g}\{x\mid Fx=g\}{x∣Fx=g};
  • f(x)=f1(x1)+⋯+fn(xn)f(x)=f_1(x_1)+\cdots+f_n(x_n)f(x)=f1​(x1​)+⋯+fn​(xn​) is componentwise separable and ATAA^TAATA is diagonal;
  • f(x)=λ∥x∥1=λ∑i∣xi∣f(x)=\lambda\|x\|_1=\lambda\sum_i|x_i|f(x)=λ∥x∥1​=λ∑i​∣xi​∣ with λ>0\lambda>0λ>0 and A=IA=IA=I.

The soft thresholding operator (§4.4.3, p. 32) is, for κ≥0\kappa\ge0κ≥0,

Sκ(a)={a−κa>κ0∣a∣≤κa+κa<−κ,S_\kappa(a)=\begin{cases}a-\kappa & a>\kappa\\ 0 & |a|\le\kappa\\ a+\kappa & a<-\kappa,\end{cases}Sκ​(a)=⎩⎨⎧​a−κ0a+κ​a>κ∣a∣≤κa<−κ,​

applied componentwise to vectors.

Formalization targets

Goal: soft thresholding is the proximity operator of the ℓ1 norm (§4.4.3, p. 32)

For λ>0\lambda>0λ>0, ρ>0\rho>0ρ>0 and v∈Rnv\in\mathbb R^nv∈Rn, a vector xxx minimizes λ∥x∥1+ρ2∥x−v∥22\lambda\|x\|_1+\tfrac{\rho}{2}\|x-v\|_2^2λ∥x∥1​+2ρ​∥x−v∥22​ over Rn\mathbb R^nRn if and only if

xi=Sλ/ρ(vi)(i=1,…,n).x_i=S_{\lambda/\rho}(v_i)\qquad(i=1,\dots,n).xi​=Sλ/ρ​(vi​)(i=1,…,n).

The statement gives both that the soft-thresholded vector is a minimizer and that it is the only one.

Milestones

  1. Projection (§4.1, p. 26): for C\mathcal CC closed, nonempty and convex, ΠC(v)\Pi_{\mathcal C}(v)ΠC​(v) exists and is unique, and for every ρ>0\rho>0ρ>0 the xxx-update of the indicator of C\mathcal CC is exactly ΠC(v)\Pi_{\mathcal C}(v)ΠC​(v).
  2. Nonnegative orthant (§4.1, p. 26): for the indicator of R+n\mathbf R^n_+R+n​, x+=(v)+x^+=(v)_+x+=(v)+​, uniquely.
  3. Quadratic update (4.1) (p. 26): if P+ρATAP+\rho A^TAP+ρATA is invertible it is positive definite, and x+=(P+ρATA)−1(ρATv−q)x^+=(P+\rho A^TA)^{-1}(\rho A^Tv-q)x+=(P+ρATA)−1(ρATv−q) is the unique minimizer.
  4. Matrix inversion lemma (§4.2.4, p. 28): (P+ρATA)−1=P−1−ρP−1AT(I+ρAP−1AT)−1AP−1(P+\rho A^TA)^{-1}=P^{-1}-\rho P^{-1}A^T(I+\rho AP^{-1}A^T)^{-1}AP^{-1}(P+ρATA)−1=P−1−ρP−1AT(I+ρAP−1AT)−1AP−1 when the inverses exist. This is the Woodbury identity, already proved on the platform, and is referenced rather than re-posed.
  5. Equality-constrained quadratic (§4.2.5, p. 29): xk+1x^{k+1}xk+1 minimizes the update over {Fx=g}\{Fx=g\}{Fx=g} iff some ν\nuν solves the KKT system; when the affine set is nonempty, x+x^+x+ is an affine function of vvv.
  6. Component separability (§4.4.2, p. 31): with ATAA^TAATA diagonal, the xxx-update splits into nnn independent scalar minimizations.
  7. Positive-part form (p. 32): Sκ(a)=(a−κ)+−(−a−κ)+S_\kappa(a)=(a-\kappa)_+-(-a-\kappa)_+Sκ​(a)=(a−κ)+​−(−a−κ)+​.
  8. Shrinkage form (4.2) (p. 32): Sκ(a)=(1−κ/∣a∣)+aS_\kappa(a)=(1-\kappa/|a|)_+aSκ​(a)=(1−κ/∣a∣)+​a for a≠0a\ne0a=0.
  9. Scalar update (p. 32): Sλ/ρ(vi)S_{\lambda/\rho}(v_i)Sλ/ρ​(vi​) is the unique minimizer of λ∣t∣+ρ2(t−vi)2\lambda|t|+\tfrac{\rho}{2}(t-v_i)^2λ∣t∣+2ρ​(t−vi​)2.

Significance

The results of this chapter are what make ADMM an implementable algorithm rather than a conceptual one. Soft thresholding is the zzz-update of the lasso (§6.4), of distributed ℓ1\ell_1ℓ1​-regularized regression (§8.2) and of sparse inverse covariance selection (§6.5); projections are the updates of every constrained problem in Chapter 5; the linear-system form (4.1) and the KKT system are the updates of least squares and quadratic programming. Every later chapter of the book cites these identities without proof, so a formal library of them is the substrate on which formal statements about specific ADMM instances can be built.

None of these statements is open as a mathematical question: all are classical facts of convex analysis. The book states them without proof (the goal is justified by a reference to subdifferential calculus in Rockafellar's Convex Analysis). This mission poses their formal statements as Lean proof goals. The matrix inversion lemma already has a machine-checked proof on the platform (the Woodbury identity) and is reused. A related but distinct statement, that singular value shrinkage is the proximity operator of the nuclear norm (Cai, Candès and Shen, 2010), is posed separately on the platform and is not this mission's target.

Difficulty

The goal objective λ∥x∥1+ρ2∥x−v∥22\lambda\|x\|_1+\tfrac{\rho}{2}\|x-v\|_2^2λ∥x∥1​+2ρ​∥x−v∥22​ is not differentiable, so setting a gradient to zero does not apply; the minimizer sits exactly on the kink of ∣⋅∣|\cdot|∣⋅∣ whenever ∣vi∣≤λ/ρ|v_i|\le\lambda/\rho∣vi​∣≤λ/ρ. A proof has to handle the three regimes of SκS_\kappaSκ​ and must establish global optimality, not only stationarity, together with uniqueness. Passing from the vector problem to the scalar ones requires the separability statement, which is a statement about minimizers of sums over a product domain, not about any particular function. For the quadratic milestones, the difficulty is linear-algebraic: showing that invertibility of P+ρATAP+\rho A^TAP+ρATA forces positive definiteness, and, for the equality-constrained case, that a minimizer exists and depends affinely on vvv even when FFF is rank deficient and the KKT matrix is singular.

Formalization scope

Vectors are EuclideanSpace ℝ (Fin n), so ‖·‖ is ∥⋅∥2\|\cdot\|_2∥⋅∥2​; matrices are Matrix (Fin p) (Fin n) ℝ acting through Matrix.toEuclideanLin. The conventions committed to are:

  • Functions as (domain, values). An extended-real-valued fff is a pair: a domain set and a real function on it. An indicator function is (the set, 000).
  • Argmin as a predicate. IsXUpdate, IsProx and IsProjection say "xxx is a minimizer"; no choice function is used. Where the book says "the solution", the theorems state an equivalence "xxx is a minimizer   ⟺  \iff⟺ xxx equals the formula", which gives existence and uniqueness at once.
  • Explicit hypotheses. ρ>0\rho>0ρ>0 and λ>0\lambda>0λ>0 (written lam, since λ is a Lean keyword); κ≥0\kappa\ge0κ≥0 for the soft thresholding identities (implicit in the book, where κ=λ/ρ\kappa=\lambda/\rhoκ=λ/ρ, and false for κ<0\kappa<0κ<0); a≠0a\ne0a=0 in (4.2), as on the page; PPP symmetric positive semidefinite (Matrix.PosSemidef); invertibility of P+ρATAP+\rho A^TAP+ρATA in (4.1); C\mathcal CC closed, convex and nonempty for the projection; nonemptiness of {Fx=g}\{Fx=g\}{Fx=g} for the existence part of §4.2.5; FFF of arbitrary rank.
  • ℓ1 norm. ∥x∥1\|x\|_1∥x∥1​ is defined as ∑i∣xi∣\sum_i|x_i|∑i​∣xi​∣, separately from the Euclidean norm.
  • Separability is stated for a general AAA with ATAA^TAATA diagonal, with the scalar problems written out explicitly (the book does not write them).

The trivializing formalization to avoid is stating the goal as the subgradient condition 0∈λ ∂∣⋅∣(xi)+ρ(xi−vi)0\in\lambda\,\partial|\cdot|(x_i)+\rho(x_i-v_i)0∈λ∂∣⋅∣(xi​)+ρ(xi​−vi​), or as agreement of the three formulas for SκS_\kappaSκ​: the goal is global minimality and uniqueness of the soft-thresholded vector for the ℓ1\ell_1ℓ1​ objective. Not formalized: the flop counts and caching remarks of §§4.2.1–4.2.4 and the iterative-solver discussion of §4.3, which make no mathematical claim.

Contributions welcome: proofs of any milestone; the general block-separability statement of §4.4.1; a lemma connecting IsProx with Mathlib's orthogonal projection onto complete convex sets.

Selected references

  • S. Boyd, N. Parikh, E. Chu, B. Peleato, J. Eckstein, Distributed Optimization and Statistical Learning via the Alternating Direction Method of Multipliers, Foundations and Trends in Machine Learning 3(1), 2011, pp. 1–122. https://doi.org/10.1561/2200000016
  • R. T. Rockafellar, Convex Analysis, Princeton University Press, 1970 (§23, subdifferentials). https://doi.org/10.1515/9781400873173
  • J.-J. Moreau, Proximité et dualité dans un espace hilbertien, Bulletin de la Société Mathématique de France 93, 1965, pp. 273–299. https://doi.org/10.24033/bsmf.1625
  • J.-F. Cai, E. J. Candès, Z. Shen, A Singular Value Thresholding Algorithm for Matrix Completion, SIAM Journal on Optimization 20(4), 2010, pp. 1956–1982. https://doi.org/10.1137/080738970
12 thms6 active usersReviewed
🏆Completed
Numerical AnalysisOperations ResearchOptimization·Captain: mikedeng1

A Nonmonotone Line Search Technique and Its Application to Unconstrained Optimization II: R-Linear Convergence for Strongly Convex FunctionsResearch Paper

Motivation

Line search methods for unconstrained minimization of a smooth function f:Rn→Rf : \mathbb{R}^n \to \mathbb{R}f:Rn→R choose a direction dkd_kdk​ and a step αk>0\alpha_k > 0αk​>0 and set xk+1=xk+αkdkx_{k+1} = x_k + \alpha_k d_kxk+1​=xk​+αk​dk​. Classical rules (Armijo, Wolfe) insist that every step decrease fff. For quasi-Newton and conjugate gradient directions this monotonicity requirement often forces short steps, and nonmonotone line searches, which only ask for a decrease relative to some reference value built from past iterates, have been used since Grippo, Lampariello and Lucidi (1986) to let such methods take longer steps.

Zhang and Hager (SIAM J. Optim., 2004) replaced the maximum of recent function values used by Grippo et al. with a weighted average CkC_kCk​ of all past function values. The paper proves two results: global convergence to stationary points (the companion mission) and, the subject of this mission, R-linear convergence of the function values when fff is strongly convex.

Timeline:

  • 1986, Grippo, Lampariello, Lucidi: nonmonotone line search based on the maximum of the last MMM function values; global convergence.
  • 2002, Dai: R-linear convergence of the max-based scheme for strongly convex fff.
  • 2004, Zhang and Hager: the averaged reference value CkC_kCk​; global convergence (Theorem 2.2) and R-linear convergence for strongly convex fff (Theorem 3.1).

Setting

Fix parameters 0≤ηmin⁡≤ηmax⁡≤10 \le \eta_{\min} \le \eta_{\max} \le 10≤ηmin​≤ηmax​≤1, 0<δ<σ<1<ρ0 < \delta < \sigma < 1 < \rho0<δ<σ<1<ρ and μ>0\mu > 0μ>0. Write gk=∇f(xk)g_k = \nabla f(x_k)gk​=∇f(xk​) and ∇f(x)d=⟨∇f(x),d⟩\nabla f(x)d = \langle \nabla f(x), d\rangle∇f(x)d=⟨∇f(x),d⟩. The Nonmonotone Line Search Algorithm (NLSA) keeps weights QkQ_kQk​ and reference values CkC_kCk​:

Q0=1,  Qk+1=ηkQk+1,C0=f(x0),  Ck+1=ηkQkCk+f(xk+1)Qk+1,Q_0 = 1,\ \ Q_{k+1} = \eta_k Q_k + 1,\qquad C_0 = f(x_0),\ \ C_{k+1} = \frac{\eta_k Q_k C_k + f(x_{k+1})}{Q_{k+1}},Q0​=1,  Qk+1​=ηk​Qk​+1,C0​=f(x0​),  Ck+1​=Qk+1​ηk​Qk​Ck​+f(xk+1​)​,

with ηk∈[ηmin⁡,ηmax⁡]\eta_k \in [\eta_{\min}, \eta_{\max}]ηk​∈[ηmin​,ηmax​] chosen freely at each step. A step αk\alpha_kαk​ is accepted either by the nonmonotone Wolfe conditions

f(xk+αkdk)≤Ck+δαkgkTdk,∇f(xk+αkdk)dk≥σgkTdk,f(x_k + \alpha_k d_k) \le C_k + \delta\alpha_k g_k^{\mathsf T} d_k,\qquad \nabla f(x_k + \alpha_k d_k) d_k \ge \sigma g_k^{\mathsf T} d_k,f(xk​+αk​dk​)≤Ck​+δαk​gkT​dk​,∇f(xk​+αk​dk​)dk​≥σgkT​dk​,

or by the nonmonotone Armijo rule αk=αˉkρhk\alpha_k = \bar\alpha_k \rho^{h_k}αk​=αˉk​ρhk​, where αˉk>0\bar\alpha_k > 0αˉk​>0 is a trial step and hkh_khk​ is the largest integer such that the first inequality holds and αk≤μ\alpha_k \le \muαk​≤μ. With ηk=0\eta_k = 0ηk​=0 one recovers the monotone rules.

The direction assumption asks for constants c1,c2>0c_1, c_2 > 0c1​,c2​>0 with gkTdk≤−c1∥gk∥2g_k^{\mathsf T} d_k \le -c_1\|g_k\|^2gkT​dk​≤−c1​∥gk​∥2 and ∥dk∥≤c2∥gk∥\|d_k\| \le c_2\|g_k\|∥dk​∥≤c2​∥gk​∥. The function fff is strongly convex with constant γ>0\gamma > 0γ>0 if

f(x)≥f(y)+∇f(y)(x−y)+12γ∥x−y∥2for all x,y.f(x) \ge f(y) + \nabla f(y)(x - y) + \frac{1}{2\gamma}\|x - y\|^2\quad\text{for all } x, y.f(x)≥f(y)+∇f(y)(x−y)+2γ1​∥x−y∥2for all x,y.

Let x∗x^*x∗ be the minimizer, L={x:f(x)≤f(x0)}\mathcal L = \{x : f(x) \le f(x_0)\}L={x:f(x)≤f(x0​)}, dmax⁡=sup⁡k∥dk∥d_{\max} = \sup_k\|d_k\|dmax​=supk​∥dk​∥, and Lˉ\bar{\mathcal L}Lˉ the set of points within distance μdmax⁡\mu d_{\max}μdmax​ of L\mathcal LL.

Formalization targets

Goal: Theorem 3.1

Let fff be strongly convex with minimizer x∗x^*x∗, let ∇f\nabla f∇f be Lipschitz continuous on bounded sets, let ηmax⁡<1\eta_{\max} < 1ηmax​<1, let the directions satisfy the direction assumption at every iteration, and let αk≤μ\alpha_k \le \muαk​≤μ for all kkk. Then there is θ∈(0,1)\theta \in (0,1)θ∈(0,1) with

f(xk)−f(x∗)≤θk(f(x0)−f(x∗))for each k.f(x_k) - f(x^*) \le \theta^k\big(f(x_0) - f(x^*)\big)\quad\text{for each } k.f(xk​)−f(x∗)≤θk(f(x0​)−f(x∗))for each k.

The goal fixes no value of θ\thetaθ: it asserts only the existence of a linear rate.

Milestones

In the paper's order of use:

  1. Lemma 1.1: f(xk)≤Ck≤Akf(x_k) \le C_k \le A_kf(xk​)≤Ck​≤Ak​ when gkTdk≤0g_k^{\mathsf T}d_k \le 0gkT​dk​≤0 for each kkk.
  2. Ck+1≤CkC_{k+1} \le C_kCk+1​≤Ck​, so all iterates lie in L\mathcal LL.
  3. (3.4): f(x)−f(x∗)≤γ∥∇f(x)∥2f(x) - f(x^*) \le \gamma\|\nabla f(x)\|^2f(x)−f(x∗)≤γ∥∇f(x)∥2.
  4. (2.15): Qk+1≤1/(1−ηmax⁡)Q_{k+1} \le 1/(1 - \eta_{\max})Qk+1​≤1/(1−ηmax​).
  5. (3.6): f(xk+1)≤Ck−β∥gk∥2f(x_{k+1}) \le C_k - \beta\|g_k\|^2f(xk+1​)≤Ck​−β∥gk​∥2, with
β=min⁡{δμc1ρ, 2δ(1−δ)c12Lρc22, δ(1−σ)c12Lc22}.\beta = \min\left\{\frac{\delta\mu c_1}{\rho},\ \frac{2\delta(1-\delta)c_1^2}{L\rho c_2^2},\ \frac{\delta(1-\sigma)c_1^2}{Lc_2^2}\right\}.β=min{ρδμc1​​, Lρc22​2δ(1−δ)c12​​, Lc22​δ(1−σ)c12​​}.
  1. (3.7): ∥gk+1∥≤b∥gk∥\|g_{k+1}\| \le b\|g_k\|∥gk+1​∥≤b∥gk​∥, b=1+μc2Lb = 1 + \mu c_2 Lb=1+μc2​L.
  2. (3.8): the explicit contraction
Ck+1−f(x∗)≤θ (Ck−f(x∗)),θ=1−βb2(1−ηmax⁡),b2=1β+γb2.C_{k+1} - f(x^*) \le \theta\,(C_k - f(x^*)),\qquad \theta = 1 - \beta b_2(1-\eta_{\max}),\quad b_2 = \frac{1}{\beta + \gamma b^2}.Ck+1​−f(x∗)≤θ(Ck​−f(x∗)),θ=1−βb2​(1−ηmax​),b2​=β+γb21​.

Here LLL is a Lipschitz constant of ∇f\nabla f∇f on Lˉ\bar{\mathcal L}Lˉ. A further result on the same definitions is Theorem 3.2: if f(xk)f(x_k)f(xk​) converges R-linearly with ratio θ<ηmin⁡\theta < \eta_{\min}θ<ηmin​ inside a compact convex set on which fff is strongly convex, then the sufficient decrease condition with reference value CkC_kCk​ holds for all large kkk.

Significance

Theorem 3.1 shows that averaging past function values costs nothing in the rate: on strongly convex functions the nonmonotone method keeps the linear rate of monotone descent, for any direction sequence satisfying the direction assumption (steepest descent, L-BFGS with bounded condition numbers, and so on). Theorem 3.2 is the converse side: for weights close enough to 1, the averaged test eventually accepts the steps of any R-linearly convergent iteration of this kind. The paper contrasts this with the max-based test of Grippo et al.

These results are proved in the paper. As far as the platform catalogue shows, no line search with the Wolfe conditions or a nonmonotone reference value has been formalized. The only related item is a monotone backtracking gradient descent rate, which is a different theorem. Machine-checked proofs would give reusable Lean statements of the nonmonotone Wolfe and Armijo rules and of the averaged reference value. They would also give the explicit constants β\betaβ, bbb and θ\thetaθ in checked form, and a checked record of the repair of the printed statement described below.

Difficulty

The obvious argument would show that f(xk)−f(x∗)f(x_k) - f(x^*)f(xk​)−f(x∗) contracts at each step. It fails: the method is nonmonotone, and f(xk+1)f(x_{k+1})f(xk+1​) may exceed f(xk)f(x_k)f(xk​). The quantity that contracts is Ck−f(x∗)C_k - f(x^*)Ck​−f(x∗), and only CkC_kCk​ is controlled by the line search. The contraction must be derived by relating ∥gk∥2\|g_k\|^2∥gk​∥2 to Ck−f(x∗)C_k - f(x^*)Ck​−f(x∗) in two regimes, and the second regime needs a bound on f(xk+1)−f(x∗)f(x_{k+1}) - f(x^*)f(xk+1​)−f(x∗) from the gradient at the previous iterate. That bound requires the Lipschitz constant on a region containing every point the line search examines, which is why the region Lˉ\bar{\mathcal L}Lˉ and the step bound μ\muμ enter. In Lean, the sufficient decrease (3.6) also rests on the step-length lower bounds of Lemma 2.1 for both rules, including the integer-exponent Armijo rule with its maximality condition.

Formalization scope

Conventions:

  • The space is EuclideanSpace ℝ (Fin n), fff is ContDiff ℝ 1, and ∇f(x)d\nabla f(x)d∇f(x)d is ⟪gradient f x, d⟫_ℝ.
  • A run is infinite, uses one rule throughout (Wolfe or Armijo), and has arbitrary directions subject to the stated hypotheses.
  • QkQ_kQk​ and CkC_kCk​ are defined by recursion from the run.
  • The Armijo exponent ranges over Z\mathbb{Z}Z and "largest" is IsGreatest.
  • dmax⁡d_{\max}dmax​ and distances are taken in [0,∞][0,\infty][0,∞], so unbounded directions make Lˉ\bar{\mathcal L}Lˉ the whole space.
  • Strong convexity keeps the paper's constant γ\gammaγ, the inverse modulus.
  • "Lipschitz on bounded sets" means that every bounded set admits a Lipschitz constant for ∇f\nabla f∇f.

Repair of the printed statement: the paper's direction assumption holds only for all sufficiently large kkk, but Theorem 3.1 concludes (3.5) for each kkk, and its proof uses the assumption at every kkk. As printed the theorem is false: d0=0d_0 = 0d0​=0 with the Wolfe step α0=1\alpha_0 = 1α0​=1 gives x1=x0x_1 = x_0x1​=x0​, which violates (3.5) at k=1k = 1k=1 whenever x0≠x∗x_0 \ne x^*x0​=x∗. The goal therefore requires the direction assumption for every k≥0k \ge 0k≥0.

The step bound "there exists μ>0\mu > 0μ>0 with αk≤μ\alpha_k \le \muαk​≤μ" is stated with μ\muμ the algorithm's parameter. For the Armijo rule this holds by construction. The Wolfe rule does not use μ\muμ, so nothing is lost.

Trivializing formalizations are ruled out:

  • the printed hypotheses with "for each kkk" (false, as shown above);
  • a θ\thetaθ allowed to equal 1, or an unspecified constant factor in front of θk\theta^kθk (weaker than (3.5));
  • a globally Lipschitz gradient, or a step bound different from the μ\muμ used to build Lˉ\bar{\mathcal L}Lˉ.

A complete development needs:

  • the NLSA model and Lemma 1.1;
  • the step-length lower bounds of Lemma 2.1 for both rules (via the descent lemma for Lipschitz gradients);
  • the geometric bound on QkQ_kQk​;
  • boundedness of level sets of strongly convex functions.

The NLSA definitions are reusable by any later mission on nonmonotone line searches. Proofs of the milestones in any order are welcome, as are a proof of the counterexample to the printed statement and a proof that the platform theorem ConvexOptimization.strong_convexity_quadratic_lower_bound implies (3.4).

Selected references

  • H. Zhang, W. W. Hager, A Nonmonotone Line Search Technique and Its Application to Unconstrained Optimization, SIAM J. Optim. 14(4):1043–1056, 2004. https://doi.org/10.1137/S1052623403428208
  • L. Grippo, F. Lampariello, S. Lucidi, A Nonmonotone Line Search Technique for Newton's Method, SIAM J. Numer. Anal. 23(4):707–716, 1986. https://doi.org/10.1137/0723046
  • Y.-H. Dai, On the Nonmonotone Line Search, J. Optim. Theory Appl. 112:315–330, 2002 (reference [4] of the paper).
16 thms6 active usersReviewed
Operations ResearchOptimization·Captain: naimengye

Robust Optimization X: Globalized Robust Counterparts of Uncertain Conic Problems (retired)Textbook

Motivation

A robust counterpart draws a hard line. Inside the uncertainty set the constraint must hold; outside it, nothing is promised — and in a real problem the perturbation does sometimes land outside. Chapter 3 answered this for linear problems with the globalized robust counterpart: keep the constraint exactly on the normal range Z\mathcal{Z}Z, and let it degrade at a controlled rate outside, proportionally to the distance from Z\mathcal{Z}Z. That mission published Proposition 3.2.1, which says the GRC of an uncertain linear inequality is equivalent to two ordinary robust counterparts.

Chapter 11 of Ben-Tal, El Ghaoui and Nemirovski, Robust Optimization (Princeton, 2009) does the same for conic constraints, and the move is not routine. The left hand side of a conic constraint is a vector, not a scalar, so "the constraint is violated by at most α dist(ζ,Z)\alpha \,\mathrm{dist}(\zeta, \mathcal{Z})αdist(ζ,Z)" has no direct meaning. What replaces it is the observation that a scalar inequality aTy−b≤0a^Ty - b \le 0aTy−b≤0 is the inclusion aTy−b∈Q≡R−a^Ty - b \in \mathbf{Q} \equiv \mathcal{R}_-aTy−b∈Q≡R−​, and that the violation is the distance from the left hand side to Q\mathbf{Q}Q. In that form the notion lifts verbatim, and the whole chapter follows.

Setting

Definition 11.1.2. Consider an uncertain convex constraint

[P0+∑ℓ=1LζℓPℓ]y−[p0+∑ℓ=1Lζℓpℓ] ∈ Q,(11.1.4)\Bigl[P^0 + \sum_{\ell=1}^L \zeta_\ell P^\ell\Bigr]y - \Bigl[p^0 + \sum_{\ell=1}^L \zeta_\ell p^\ell\Bigr] \ \in\ \mathbf{Q}, \tag{11.1.4}[P0+ℓ=1∑L​ζℓ​Pℓ]y−[p0+ℓ=1∑L​ζℓ​pℓ] ∈ Q,(11.1.4)

with Q⊆Rk\mathbf{Q} \subseteq \mathcal{R}^kQ⊆Rk nonempty, closed and convex. Let the perturbation space split as RL=RL1×⋯×RLS\mathcal{R}^L = \mathcal{R}^{L_1}\times\cdots\times\mathcal{R}^{L_S}RL=RL1​×⋯×RLS​, each factor carrying a normal range Zs\mathcal{Z}^sZs, a closed convex cone Ls\mathcal{L}^sLs and a norm ∥⋅∥s\|\cdot\|_s∥⋅∥s​, and let ∥⋅∥Q\|\cdot\|_{\mathbf{Q}}∥⋅∥Q​ be a norm on Rk\mathcal{R}^kRk. A candidate yyy is robust feasible with global sensitivities αs\alpha_sαs​ if

dist(P(y,ζ),Q) ≤ ∑s=1Sαs dist(ζs,Zs∣Ls)∀ ζ∈Z+L,(11.1.6)\mathrm{dist}\bigl(P(y,\zeta), \mathbf{Q}\bigr) \ \le\ \sum_{s=1}^S \alpha_s\, \mathrm{dist}(\zeta^s, \mathcal{Z}^s|\mathcal{L}^s) \qquad \forall\, \zeta \in \mathcal{Z} + \mathcal{L}, \tag{11.1.6}dist(P(y,ζ),Q) ≤ s=1∑S​αs​dist(ζs,Zs∣Ls)∀ζ∈Z+L,(11.1.6)

where dist(u,Q)=min⁡v∈Q∥u−v∥Q\mathrm{dist}(u,\mathbf{Q}) = \min_{v\in\mathbf{Q}}\|u - v\|_{\mathbf{Q}}dist(u,Q)=minv∈Q​∥u−v∥Q​ and dist(ζs,Zs∣Ls)=min⁡{∥ζs−v∥s:v∈Zs, ζs−v∈Ls}\mathrm{dist}(\zeta^s,\mathcal{Z}^s|\mathcal{L}^s) = \min\{\|\zeta^s - v\|_s : v \in \mathcal{Z}^s,\ \zeta^s - v \in \mathcal{L}^s\}dist(ζs,Zs∣Ls)=min{∥ζs−v∥s​:v∈Zs, ζs−v∈Ls}.

The object that makes the analysis work is the recessive cone of Q\mathbf{Q}Q (Definition 11.3.1): for any xˉ∈Q\bar x \in \mathbf{Q}xˉ∈Q,

Rec(Q)={h:xˉ+th∈Q  ∀t≥0},\mathrm{Rec}(\mathbf{Q}) = \{h : \bar x + th \in \mathbf{Q}\ \ \forall t \ge 0\},Rec(Q)={h:xˉ+th∈Q  ∀t≥0},

which does not depend on xˉ\bar xxˉ and is a nonempty closed convex cone.

Formalization targets

Goal — Proposition 11.3.3, the decomposition of the conic GRC

A candidate yyy is feasible for the GRC (11.1.6) if and only if it satisfies the system

(a)[P0+∑ℓζℓPℓ]y−[p0+∑ℓζℓpℓ]∈Q∀ζ∈Z=Z1×⋯×ZS,\text{(a)}\quad \Bigl[P^0 + \sum_\ell \zeta_\ell P^\ell\Bigr]y - \Bigl[p^0 + \sum_\ell \zeta_\ell p^\ell\Bigr] \in \mathbf{Q} \qquad \forall \zeta \in \mathcal{Z} = \mathcal{Z}^1\times \cdots\times\mathcal{Z}^S,(a)[P0+ℓ∑​ζℓ​Pℓ]y−[p0+ℓ∑​ζℓ​pℓ]∈Q∀ζ∈Z=Z1×⋯×ZS, (bs)dist(∑ℓ[Pℓy−pℓ](Esζs)ℓ, Rec(Q)) ≤ αs∀ζs∈Ls with ∥ζs∥s≤1,s=1,…,S.\text{(b}_s)\quad \mathrm{dist}\Bigl(\sum_{\ell} [P^\ell y - p^\ell](E_s\zeta^s)_\ell,\ \mathrm{Rec}(\mathbf{Q})\Bigr) \ \le\ \alpha_s \qquad \forall \zeta^s \in \mathcal{L}^s \text{ with } \|\zeta^s\|_s \le 1, \quad s = 1,\ldots,S .(bs​)dist(ℓ∑​[Pℓy−pℓ](Es​ζs)ℓ​, Rec(Q)) ≤ αs​∀ζs∈Ls with ∥ζs∥s​≤1,s=1,…,S.

Line (a) is the ordinary robust counterpart over the normal range. Each line (bs_ss​) is a bounded semi-infinite constraint — the perturbation ranges over the unit ball of a cone, not over an unbounded set — measuring the distance to the recessive cone rather than to Q\mathbf{Q}Q itself.

Supporting targets

(Def 11.3.1)Rec(Q) is independent of the base point and is a nonempty closed convex cone,\text{(Def 11.3.1)}\quad \mathrm{Rec}(\mathbf{Q}) \text{ is independent of the base point and is a nonempty closed convex cone},(Def 11.3.1)Rec(Q) is independent of the base point and is a nonempty closed convex cone, (Ex 11.3.2)Q bounded⇒Rec(Q)={0};Q a cone⇒Rec(Q)=Q;Rec{u:Au−b∈K}={h:Ah∈K},\text{(Ex 11.3.2)}\quad \mathbf{Q} \text{ bounded} \Rightarrow \mathrm{Rec}(\mathbf{Q}) = \{0\}; \quad \mathbf{Q} \text{ a cone} \Rightarrow \mathrm{Rec}(\mathbf{Q}) = \mathbf{Q}; \quad \mathrm{Rec}\{u : Au - b \in \mathbf{K}\} = \{h : Ah \in \mathbf{K}\},(Ex 11.3.2)Q bounded⇒Rec(Q)={0};Q a cone⇒Rec(Q)=Q;Rec{u:Au−b∈K}={h:Ah∈K}, (Prop 11.4.1)ΨΞ(M)=ΨΞ∗(M∗),Ψ(M)=max⁡{dist∥⋅∥F(Me,KF):e∈KE, ∥e∥E≤1}.\text{(Prop 11.4.1)}\quad \Psi_\Xi(\mathcal{M}) = \Psi_{\Xi_*}(\mathcal{M}^*), \qquad \Psi(\mathcal{M}) = \max\{\mathrm{dist}_{\|\cdot\|_F}(\mathcal{M}e, \mathbf{K}^F) : e \in \mathbf{K}^E,\ \|e\|_E \le 1\} .(Prop 11.4.1)ΨΞ​(M)=ΨΞ∗​​(M∗),Ψ(M)=max{dist∥⋅∥F​​(Me,KF):e∈KE, ∥e∥E​≤1}.

Significance

The goal is the chapter's structural result and it does exactly what Proposition 3.2.1 did one level down: it converts a single semi-infinite constraint over an unbounded perturbation set into a robust counterpart over the bounded normal range plus finitely many constraints over unit balls. That matters because every tractability result of Chapters 6 to 9 is about bounded uncertainty sets; without the decomposition none of them applies to a GRC.

The two halves of the decomposition are genuinely different objects. Line (a) is familiar. Lines (bs_ss​) are not: they measure the distance from a linear image of a ball to the recessive cone, and that is the function

Ψ(M)=max⁡{dist(Me,KF):e∈KE, ∥e∥E≤1}\Psi(\mathcal{M}) = \max\bigl\{\mathrm{dist}(\mathcal{M}e, \mathbf{K}^F) : e \in \mathbf{K}^E,\ \|e\|_E \le 1\bigr\}Ψ(M)=max{dist(Me,KF):e∈KE, ∥e∥E​≤1}

of §11.4, which is almost a norm on linear maps — nonnegative, positively homogeneous, subadditive, but neither symmetric nor strictly positive. Proposition 11.4.1 says this function is self-dual in the precise sense that Ψ\PsiΨ of a map with respect to a setup equals Ψ\PsiΨ of the adjoint map with respect to the dual setup: dual norms, dual cones, source and destination exchanged. That single identity is what lets every bound on Ψ\PsiΨ be computed on whichever side of the duality is tractable, and it is the engine of §11.4's tractability results.

The recessive cone results are the vocabulary. The one that earns its place is Rec{u:Au−b∈K}={h:Ah∈K}\mathrm{Rec}\{u : Au - b \in \mathbf{K}\} = \{h : Ah \in \mathbf{K}\}Rec{u:Au−b∈K}={h:Ah∈K}: the conic sets of this book are all of that form, so it says the recessive cone of every constraint in sight is computed by deleting the constant term.

Difficulty

The goal is an equivalence and the two directions are asymmetric.

Forward — GRC implies the system — is where the recessive cone is discovered rather than used. Fix ζˉ∈Z\bar\zeta \in \mathcal{Z}ζˉ​∈Z and ζs\zeta^sζs in the unit ball of Ls\mathcal{L}^sLs, and run ζi=ζˉ+i ζs\zeta_i = \bar\zeta + i\,\zeta^sζi​=ζˉ​+iζs out along the cone. The GRC bounds the distance to Q\mathbf{Q}Q by αsi\alpha_s iαs​i, so there are qi∈Qq_i \in \mathbf{Q}qi​∈Q with ∥P(y,ζˉ)+iΦ(y)Esζs−qi∥Q≤αsi\|P(y,\bar\zeta) + i\Phi(y)E_s\zeta^s - q_i\|_{\mathbf{Q}} \le \alpha_s i∥P(y,ζˉ​)+iΦ(y)Es​ζs−qi​∥Q​≤αs​i; the rescaled points qi/iq_i/iqi​/i stay bounded, and a limit point of them lies in Rec(Q)\mathrm{Rec}(\mathbf{Q})Rec(Q) by the limit characterization of the recessive cone. This is a genuine compactness argument, and it is why the recessive cone — not Q\mathbf{Q}Q — is what appears in lines (bs_ss​).

Backward is a decomposition-and-assemble: split each ζs=ζˉs+δs\zeta^s = \bar\zeta^s + \delta^sζs=ζˉ​s+δs with ζˉs∈Zs\bar\zeta^s \in \mathcal{Z}^sζˉ​s∈Zs, δs∈Ls\delta^s \in \mathcal{L}^sδs∈Ls realizing the distance, get a point of Q\mathbf{Q}Q from line (a) and a recession direction from each line (bs_ss​), and add them — using that Q+Rec(Q)⊆Q\mathbf{Q} + \mathrm{Rec}(\mathbf{Q}) \subseteq \mathbf{Q}Q+Rec(Q)⊆Q.

Proposition 11.4.1 is a chain of polarity identities: the polar of X+KX + KX+K is Xo∩(−K∗)X^o \cap (-K_*)Xo∩(−K∗​) for compact convex XXX containing the origin, the polar of a norm ball of radius α\alphaα is the dual-norm ball of radius 1/α1/\alpha1/α, and bipolarity. Each step is standard and the composition is not.

Formalization scope

Built on the module published by the third mission of this series, which carries the linear-case globalized robust counterpart and the dual cone. New here: norms as functions with their defining properties, dual norms, the two distances, the recessive cone, the conic GRC, and the function Ψ\PsiΨ.

Conventions committed to:

  • Norms are functions carrying an explicit predicate, not typeclass instances. Chapter 11 quantifies over arbitrary norms ∥⋅∥Q\|\cdot\|_{\mathbf{Q}}∥⋅∥Q​ and ∥⋅∥s\|\cdot\|_s∥⋅∥s​ on fixed coordinate spaces, and a statement must be able to range over them; a typeclass instance would fix one norm per type. IsNormOn bundles definiteness, absolute homogeneity and the triangle inequality, and nonnegativity follows from them.
  • The dual norm is a predicate, not a construction. ∥f∥∗=sup⁡{fTe:∥e∥≤1}\|f\|^* = \sup\{f^Te : \|e\| \le 1\}∥f∥∗=sup{fTe:∥e∥≤1} is asserted as a least upper bound of the set of values, so no supremum is taken on faith.
  • Distances are infima, not minima. The source writes min⁡\minmin, which is correct because the sets are closed; writing inf⁡\infinf avoids carrying an attainment proof into every statement, and agrees with the minimum whenever the source's own hypotheses hold.
  • The recessive cone is indexed by a base point. Definition 11.3.1 defines it at an arbitrary xˉ∈Q\bar x \in \mathbf{Q}xˉ∈Q and then asserts independence of the choice; that assertion is one of the published items, so the definition cannot presuppose it.
  • The perturbation is carried as a family of blocks, ζ=(ζ1,…,ζS)\zeta = (\zeta^1,\ldots,\zeta^S)ζ=(ζ1,…,ζS) with ζs∈RLs\zeta^s \in \mathcal{R}^{L_s}ζs∈RLs​, rather than as a single vector in RL\mathcal{R}^LRL together with the embeddings EsE_sEs​. This is the same data and removes the index bookkeeping of EsE_sEs​ from every statement.
  • Ψ\PsiΨ is a predicate on a real number, as for the dual norm and for the same reason.
  • §11.2 and §11.5 are out of scope: the definition of a tight safe approximation of a GRC and the worked analysis of nonexpansive dynamical systems. The first is a definition the chapter uses only to phrase §11.4's programme, the second an application.

Selected references

  • A. Ben-Tal, L. El Ghaoui and A. Nemirovski, Robust Optimization, Princeton University Press, 2009. Chapter 11, §§11.1, 11.3-11.4, pp. 281-294; Chapter 3 for the linear case. https://doi.org/10.1515/9781400831050
  • A. Ben-Tal, S. Boyd and A. Nemirovski, Extending scope of robust optimization: comprehensive robust counterparts of uncertain problems, Mathematical Programming 107 (2006), 63-89. https://doi.org/10.1007/s10107-005-0679-z
  • R. T. Rockafellar, Convex Analysis, Princeton University Press, 1970. https://doi.org/10.1515/9781400873173
10 thms6 active users
🏆Completed
Operations ResearchOptimization·Captain: Shuze Chen

Convex Optimization VI: Self-Concordance and the Barrier MethodTextbook

Why do interior-point methods solve convex programs in O(mlog⁡(1/ε))O(\sqrt{m}\log(1/\varepsilon))O(m​log(1/ε)) Newton steps? Nesterov and Nemirovskii's answer is self-concordance: a convex function whose third derivative is controlled by its second, ∣φ′′′(t)∣≤2 φ′′(t)3/2|\varphi'''(t)| \le 2\,\varphi''(t)^{3/2}∣φ′′′(t)∣≤2φ′′(t)3/2 along every line, admits a Newton analysis with absolute constants and no condition number — and the logarithmic barrier is self-concordant. This mission formalizes §9.6 and Chapter 11 of Boyd & Vandenberghe: the self-concordance calculus, the Newton-decrement analysis, the duality gap m/tm/tm/t along the central path, the per-centering work bound m(μ−1−log⁡μ)/γ+cm(\mu - 1 - \log\mu)/\gamma + cm(μ−1−logμ)/γ+c, and the crown result — with the aggressive schedule μ=1+1/m\mu = 1 + 1/\sqrt{m}μ=1+1/m​ the barrier method reaches duality gap ε\varepsilonε after

⌈m log⁡2(m/(t(0)ε))⌉\Bigl\lceil \sqrt{m}\,\log_2\bigl(m/(t^{(0)}\varepsilon)\bigr)\Bigr\rceil⌈m​log2​(m/(t(0)ε))⌉

centering steps, each of uniformly bounded Newton cost.

19 thms6 active users
🏆Completed
Operations ResearchOptimization·Captain: mikedeng1

Semidefinite Programming 1: If the Primal or the Dual Semidefinite Program Is Strictly Feasible Then p* = d*, and If Both Are, Both Optimal Sets Are NonemptyResearch Paper

Motivation

A semidefinite program minimizes a linear objective subject to a matrix being positive semidefinite. It includes linear programs and many matrix optimization problems, while allowing constraints on eigenvalues that ordinary coordinate inequalities cannot express. Vandenberghe and Boyd’s 1996 survey helped establish this form as a common language for control, combinatorial optimization, and numerical optimization. A useful dual certificate turns a feasible matrix into a lower bound on every feasible primal objective value. The question here is when that bound reaches the primal optimum and when optimizers exist.

The survey states the weak-duality identity on p. 64 and Theorem 3.1 across pp. 64–65. The theorem is a classical result, not an open conjecture. The paper points to Nesterov and Nemirovskii’s account of convex optimization and Rockafellar’s convex analysis for proofs. The published survey also gives a small feasible example with unequal optimal values, showing that some regularity condition is genuinely needed.

Setting

Let m,nm,nm,n be natural numbers. The data are a vector c∈Rmc\in\mathbb R^mc∈Rm and symmetric matrices F0,F1,…,Fm∈Rn×nF_0,F_1,\ldots,F_m\in\mathbb R^{n\times n}F0​,F1​,…,Fm​∈Rn×n. For a decision vector x∈Rmx\in\mathbb R^mx∈Rm, define the affine matrix map

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

A symmetric matrix AAA is positive semidefinite, written A⪰0A\succeq0A⪰0, when vTAv≥0v^TAv\ge0vTAv≥0 for every vector vvv. It is positive definite, written A≻0A\succ0A≻0, when this inequality is strict for every nonzero vector. The primal problem minimizes cTxc^TxcTx over vectors with F(x)⪰0F(x)\succeq0F(x)⪰0. A vector satisfying this constraint is primal feasible. The dual problem maximizes −Tr⁡(F0Z)-\operatorname{Tr}(F_0Z)−Tr(F0​Z) over symmetric matrices Z⪰0Z\succeq0Z⪰0 satisfying Tr⁡(FiZ)=ci\operatorname{Tr}(F_iZ)=c_iTr(Fi​Z)=ci​ for each i=1,…,mi=1,\ldots,mi=1,…,m. A matrix satisfying these conditions is dual feasible.

Write p∗p^*p∗ for the infimum of primal objective values and d∗d^*d∗ for the supremum of dual objective values. These are extended-real optimal values: an infeasible primal has p∗=+∞p^*=+\inftyp∗=+∞, and an infeasible dual has d∗=−∞d^*=-\inftyd∗=−∞. An unbounded objective can give the other infinite value. The optimal sets XoptX_{\mathrm{opt}}Xopt​ and ZoptZ_{\mathrm{opt}}Zopt​ contain feasible points whose objective value equals p∗p^*p∗ and d∗d^*d∗, respectively. Equality of optimal values alone need not put a point in either set.

Formalization targets

The entry points are the trace identity and weak duality from p. 64 of the survey. For any primal feasible xxx and dual feasible ZZZ,

cTx+Tr⁡(ZF0)=Tr⁡(ZF(x))≥0,−Tr⁡(F0Z)≤cTx,d∗≤p∗.c^Tx+\operatorname{Tr}(ZF_0)=\operatorname{Tr}(ZF(x))\ge0, \qquad -\operatorname{Tr}(F_0Z)\le c^Tx, \qquad d^*\le p^*.cTx+Tr(ZF0​)=Tr(ZF(x))≥0,−Tr(F0​Z)≤cTx,d∗≤p∗.

The goal, Theorem 3.1, adds strict feasibility. The primal is strictly feasible if some xxx has F(x)≻0F(x)\succ0F(x)≻0. The dual is strictly feasible if some dual feasible ZZZ has Z≻0Z\succ0Z≻0. With either condition, and without a finiteness assumption on the optimal values,

p∗=d∗.p^*=d^*.p∗=d∗.

If both conditions hold, the theorem also asserts

Xopt≠∅andZopt≠∅.X_{\mathrm{opt}}\ne\varnothing \qquad\text{and}\qquad Z_{\mathrm{opt}}\ne\varnothing.Xopt​=∅andZopt​=∅.

The milestone list includes the paper’s positive-semidefinite trace fact, equations (30) and (31), weak duality of values, the finite-value primal strict-feasibility case already proved on the platform, and the complementary-slackness statements on p. 65. The listed finite case is a qualified part of Theorem 3.1; the goal retains its full extended-real statement.

Significance

An optimal dual matrix certifies a lower bound for the primal objective; when the values agree, it can certify optimality. Theorem 3.1 specifies a sufficient condition for that certificate to reach the exact value. Its last clause also ensures that both sides can supply actual optimizers when both strict-feasibility conditions hold. Complementary slackness then states that their positive semidefinite matrices have zero product. These statements connect the numerical practice of primal-dual semidefinite programming to the exact optimization problem in the survey.

The theorem is mathematically proved in the literature but is not yet formalized in full here. A published Prove2Me theorem proves a finite-value primal strict-feasibility case and dual attainment for a sign-reversed inequality convention; another proves self-duality of the positive-semidefinite cone. The remaining work includes the dual strict-feasibility case, infinite optimal values, the two-set attainment clause, and an audited bridge between the survey’s exact definitions and existing results. The definitions and weak-duality statements are reusable for other semidefinite programs whose constraints have the same affine matrix form.

Difficulty

Weak duality gives only d∗≤p∗d^*\le p^*d∗≤p∗. It does not produce a dual feasible matrix with objective approaching the primal optimum, and it does not show that either infimum or supremum is attained. The example on p. 65 has feasible primal and dual problems but p∗=0p^*=0p∗=0 and d∗=−1d^*=-1d∗=−1. Thus mere feasibility cannot replace positive definiteness in Theorem 3.1. Even equality of values by itself would leave the theorem’s existence claim unaddressed. The challenge is to cover both asymmetric strict-feasibility conditions and both optimizer sets while preserving the cases where an optimal value is infinite.

Formalization scope

Lean represents xxx by Fin m → ℝ and matrices by Matrix (Fin n) (Fin n) ℝ. The paper’s coefficients F1,…,FmF_1,\ldots,F_mF1​,…,Fm​ are stored as a zero-indexed family; F0F_0F0​ is a separate argument. Symmetric real matrices use IsHermitian. Mathlib’s PosSemidef and PosDef encode the matrix order and include symmetry. Dual equalities use Tr⁡(FiZ)\operatorname{Tr}(F_iZ)Tr(Fi​Z); cyclicity of trace identifies this with the paper’s Tr⁡(ZFi)\operatorname{Tr}(ZF_i)Tr(ZFi​). The objective cTxc^TxcTx uses the finite dot product.

Both optimal values use EReal, with an infimum or supremum over the image of the feasible set. This preserves the empty-set and unbounded-value conventions; a real-valued infimum or an infimum over all vectors would change the theorem. The goal states symmetric data explicitly, strict feasibility as positive definiteness, and both nonempty optimal sets under the conjunction of the two strict-feasibility conditions. It makes no linear-independence assumption on F1,…,FmF_1,\ldots,F_mF1​,…,Fm​: the paragraph on p. 63 uses that assumption only to reparameterize the dual. The natural-number dimensions include zero; the formal statements retain the same meanings in those edge cases. The survey’s printed “dual semidefinite program (1)” on p. 64 means dual problem (27), as identified by its displayed constraints and objective.

A complete development needs matrix trace algebra, positive-semidefinite matrix theory, extended-real order and suprema, and a suitable separation or convex-duality result. Contributions to the weak-duality and complementary-slackness lemmas, to the dual strict-feasibility case, and to the extended-real boundary cases are all useful. The local definitions of the primal and dual feasible sets, values, and optimal sets are intended as reusable interfaces.

Selected references

  • Lieven Vandenberghe and Stephen Boyd, Semidefinite Programming, SIAM Review 38(1), 49–95, 1996. DOI: 10.1137/1038003.
  • Yurii Nesterov and Arkadii Nemirovskii, Interior-Point Polynomial Algorithms in Convex Programming, SIAM, 1994, §4.2, cited by Vandenberghe and Boyd for Theorem 3.1. DOI: 10.1137/1.9781611970791.
  • R. Tyrrell Rockafellar, Convex Analysis, Princeton University Press, 1970, §30, cited by Vandenberghe and Boyd for Theorem 3.1. DOI: 10.1515/9781400873173.
15 thms5 active usersReviewed
🏆Completed
Operations ResearchOptimization·Captain: mikedeng1

Convex Optimization: Algorithms and Complexity II: For t ≥ 2n² log(R/r) the Ellipsoid Method Satisfies f(x_t) − min f ≤ (2BR/r)·exp(−t/(2n²))Textbook

Motivation

The ellipsoid method is the cutting-plane algorithm that settled the polynomial-time solvability of linear programming and, more generally, of convex optimization over any set that comes with an efficient separation oracle. It was introduced for convex minimization by Shor and by Yudin and Nemirovski in the 1970s, and Khachiyan used it in 1979 to give the first polynomial-time algorithm for linear programming. Grötschel, Lovász and Schrijver later turned it into the general equivalence between separation and optimization that underlies much of combinatorial optimization.

This mission is the second of a series formalizing S. Bubeck, Convex Optimization: Algorithms and Complexity (Foundations and Trends in Machine Learning 8(3–4), 2015; arXiv:1405.4980v2). Its goal is the convergence guarantee of the ellipsoid method, Theorem 2.4 (p. 250), together with the geometric lemma and the steps of the proof on which it rests.

Timeline:

  • 1976–1977: Yudin–Nemirovski and Shor introduce the method for convex minimization.
  • 1979: Khachiyan applies it to linear programming and obtains polynomial time.
  • 1981: Grötschel, Lovász and Schrijver derive the equivalence of separation and optimization.

Setting

Write Rn\mathbb R^nRn for the space of real nnn-vectors, with the dot product x⊤yx^\top yx⊤y. An ellipsoid is a set

E={x∈Rn:(x−c)⊤H−1(x−c)≤1},\mathcal E=\{x\in\mathbb R^n:(x-c)^\top H^{-1}(x-c)\le 1\},E={x∈Rn:(x−c)⊤H−1(x−c)≤1},

where c∈Rnc\in\mathbb R^nc∈Rn is its center and HHH is a symmetric positive definite matrix.

A convex body X⊂Rn\mathcal X\subset\mathbb R^nX⊂Rn is a compact convex set with non-empty interior. The objective fff is continuous and convex on X\mathcal XX with values in [−B,B][-B,B][−B,B], and r,R>0r,R>0r,R>0 are such that X\mathcal XX lies in the Euclidean ball E0\mathcal E_0E0​ of center c0c_0c0​ and radius RRR and contains some Euclidean ball of radius rrr. A subgradient of fff at x∈Xx\in\mathcal Xx∈X is a vector ggg with f(x)+g⊤(y−x)≤f(y)f(x)+g^\top(y-x)\le f(y)f(x)+g⊤(y−x)≤f(y) for all y∈Xy\in\mathcal Xy∈X.

The method starts from E0\mathcal E_0E0​, H0=R2InH_0=R^2\mathrm I_nH0​=R2In​. At step t≥0t\ge0t≥0 it asks for a vector wtw_twt​:

  • if ct∉Xc_t\notin\mathcal Xct​∈/X, a separating vector, with X⊂{x:(x−ct)⊤wt≤0}\mathcal X\subset\{x:(x-c_t)^\top w_t\le0\}X⊂{x:(x−ct​)⊤wt​≤0};
  • otherwise a subgradient of fff at ctc_tct​.

It then replaces Et\mathcal E_tEt​ by the ellipsoid Et+1\mathcal E_{t+1}Et+1​ given by

ct+1=ct−1n+1Htwtwt⊤Htwt,Ht+1=n2n2−1(Ht−2n+1Htwtwt⊤Htwt⊤Htwt).c_{t+1}=c_t-\frac1{n+1}\frac{H_tw_t}{\sqrt{w_t^\top H_tw_t}},\qquad H_{t+1}=\frac{n^2}{n^2-1}\Big(H_t-\frac2{n+1}\frac{H_tw_tw_t^\top H_t}{w_t^\top H_tw_t}\Big).ct+1​=ct​−n+11​wt⊤​Ht​wt​​Ht​wt​​,Ht+1​=n2−1n2​(Ht​−n+12​wt⊤​Ht​wt​Ht​wt​wt⊤​Ht​​).

After ttt iterations the output xtx_txt​ is the best of the queried centers that lie in X\mathcal XX.

Formalization targets

Goal: Theorem 2.4

For n≥2n\ge2n≥2 and every t≥2n2log⁡(R/r)t\ge 2n^2\log(R/r)t≥2n2log(R/r), t≥1t\ge1t≥1, some queried center lies in X\mathcal XX, and every output satisfies

f(xt)−min⁡x∈Xf(x)≤2BRrexp⁡(−t2n2).f(x_t)-\min_{x\in\mathcal X}f(x)\le\frac{2BR}{r}\exp\Big(-\frac{t}{2n^2}\Big).f(xt​)−x∈Xmin​f(x)≤r2BR​exp(−2n2t​).

Milestones

  1. The scalar inequality (1+1/n)2(1−1/n2)n−1≥exp⁡(1/n)(1+1/n)^2(1-1/n^2)^{n-1}\ge\exp(1/n)(1+1/n)2(1−1/n2)n−1≥exp(1/n) for n≥2n\ge2n≥2 (proof of Lemma 2.3, pp. 248–249).
  2. Lemma 2.3 (p. 247): for w≠0w\ne0w=0 the half-ellipsoid {x∈E0:w⊤(x−c0)≤0}\{x\in\mathcal E_0:w^\top(x-c_0)\le0\}{x∈E0​:w⊤(x−c0​)≤0} lies in an ellipsoid E\mathcal EE with
vol(E)≤exp⁡(−12n)vol(E0),\mathrm{vol}(\mathcal E)\le\exp\Big(-\frac1{2n}\Big)\mathrm{vol}(\mathcal E_0),vol(E)≤exp(−2n1​)vol(E0​),

and for n≥2n\ge2n≥2 the explicit ellipsoid (2.5)–(2.6) works. 3. The remark before Theorem 2.4 (p. 250): a point of X\mathcal XX can leave the current ellipsoid only at a step with ct∈Xc_t\in\mathcal Xct​∈X, and then its value exceeds f(ct)f(c_t)f(ct​). 4. Two steps reused from Theorem 2.1 (pp. 246–247): vol(Xε)=εnvol(X)\mathrm{vol}(\mathcal X_\varepsilon)=\varepsilon^n\mathrm{vol}(\mathcal X)vol(Xε​)=εnvol(X) for Xε=(1−ε)x∗+εX\mathcal X_\varepsilon=(1-\varepsilon)x^*+\varepsilon\mathcal XXε​=(1−ε)x∗+εX, and f≤f(x∗)+2εBf\le f(x^*)+2\varepsilon Bf≤f(x∗)+2εB on Xε\mathcal X_\varepsilonXε​.

Significance

Theorem 2.4 bounds the oracle complexity of the ellipsoid method: accuracy ε\varepsilonε needs O(n2log⁡(1/ε))O(n^2\log(1/\varepsilon))O(n2log(1/ε)) oracle calls. Each step costs O(n2)O(n^2)O(n2) arithmetic operations plus one oracle call. With the separation oracles of linear and semidefinite programs this gives polynomial overall complexity (p. 250). The rate depends on the instance only through log⁡(R/r)\log(R/r)log(R/r) and BBB, so the method needs no smoothness and no strong convexity. Lemma 2.3 is also the geometric step of the ellipsoid method for linear feasibility.

The result has a textbook proof. The work of this mission is to formalize it. The same update is published on the platform from Bertsimas and Tsitsiklis's Introduction to Linear Optimization (Theorem 8.1), with a proved volume factor of exp⁡(−1/(2(n+1)))\exp(-1/(2(n+1)))exp(−1/(2(n+1))). That factor is weaker than (2.4)'s exp⁡(−1/(2n))\exp(-1/(2n))exp(−1/(2n)) and does not give Theorem 2.4's constant. The sharper factor and the optimization version of the method (subgradient cuts, the output rule and the value bound) are not formalized on the platform.

Difficulty

There are two difficulties: Lemma 2.3 with the sharp constant, and the bookkeeping that turns per-step volume decrease into a value bound.

For the lemma, the volume of the explicit ellipsoid is (n/n2−1)n(n−1)/(n+1)\big(n/\sqrt{n^2-1}\big)^n\sqrt{(n-1)/(n+1)}(n/n2−1​)n(n−1)/(n+1)​ times that of E0\mathcal E_0E0​. Bounding it by exp⁡(−1/(2n))\exp(-1/(2n))exp(−1/(2n)) rather than by the cruder exp⁡(−1/(2(n+1)))\exp(-1/(2(n+1)))exp(−1/(2(n+1))) needs the scalar inequality of milestone 1 for every n≥2n\ge2n≥2. The reduction from a general ellipsoid to the unit ball also needs determinants under an affine map.

For the theorem, the obvious argument compares vol(Xε)\mathrm{vol}(\mathcal X_\varepsilon)vol(Xε​) with vol(Et)\mathrm{vol}(\mathcal E_t)vol(Et​). This only works if no cut removes an optimal point and if every removed point of X\mathcal XX is worse than a queried center. At the threshold t=2n2log⁡(R/r)t=2n^2\log(R/r)t=2n2log(R/r) the admissible ε\varepsilonε is exactly 111, so a non-strict volume bound alone does not close the argument there.

Formalization scope

  • Rn\mathbb R^nRn is Fin n → ℝ with Lebesgue measure, as in the reused Bertsimas–Tsitsiklis ellipsoid definitions (LinearOptimization.ellipsoid, ellipsoidUpdateCenter, ellipsoidUpdateMatrix, IsSubgradientOn).
  • Euclidean balls are written with the dot product, because Mathlib's norm on Fin n → ℝ is the sup norm.
  • The method is a run predicate, IsEllipsoidRun. Every theorem holds for every admissible oracle answer. The update is the published one with a=−wta=-w_ta=−wt​.
  • If an oracle answer is wt=0w_t=0wt​=0 (possible only at a minimizer ct∈Xc_t\in\mathcal Xct​∈X), the run stops. The page's update would divide by zero there.

Conventions and hypotheses added to the page:

  1. n≥2n\ge2n≥2, because the update (2.6) is defined only for n≥2n\ge2n≥2.
  2. A minimizer x∗x^*x∗ exists (the book's standing assumption, p. 242).
  3. The output ranges over the queried centers c0,…,ct−1c_0,\dots,c_{t-1}c0​,…,ct−1​. The page writes {c1,…,ct}\{c_1,\dots,c_t\}{c1​,…,ct​}, but ctc_tct​ has not been cut yet and c0c_0c0​ has.
  4. t≥1t\ge1t≥1, because at R=rR=rR=r and t=0t=0t=0 no center has been queried.

A run predicate whose separation branch does not require X⊂{x:(x−ct)⊤wt≤0}\mathcal X\subset\{x:(x-c_t)^\top w_t\le0\}X⊂{x:(x−ct​)⊤wt​≤0}, or that accepts wt=0w_t=0wt​=0 with an update, would make the statements false or vacuous. Both are excluded.

Lemma 2.3's volume factor is exp⁡(−1/(2n))\exp(-1/(2n))exp(−1/(2n)). The weaker published factor does not prove that milestone. The published theorem LinearOptimization.ellipsoid_update_halfspace_volume is included as a reference: it supplies the containment (2.3) and positive definiteness. Contributions are welcome on every milestone. A determinant formula for the volume of an ellipsoid would be reusable well beyond this mission.

Selected references

  • S. Bubeck, Convex Optimization: Algorithms and Complexity, Foundations and Trends in Machine Learning 8(3–4):231–358, 2015. arXiv:1405.4980v2
  • N. Z. Shor, Cut-off method with space extension in convex programming problems, Cybernetics 13:94–96, 1977. doi:10.1007/BF01071394
  • D. B. Yudin and A. S. Nemirovski, Informational complexity and efficient methods for the solution of convex extremal problems, Matekon 13(2):22–45, 1976.
  • L. G. Khachiyan, A polynomial algorithm in linear programming, Soviet Mathematics Doklady 20:191–194, 1979.
  • M. Grötschel, L. Lovász and A. Schrijver, The ellipsoid method and its consequences in combinatorial optimization, Combinatorica 1:169–197, 1981. doi:10.1007/BF02579273
  • D. Bertsimas and J. N. Tsitsiklis, Introduction to Linear Optimization, Athena Scientific, 1997 (Theorem 8.1).
11 thms5 active usersReviewed
🏆Completed
Linear OptimizationOperations ResearchOptimization·Captain: mikedeng1

Understanding and Using Linear Programming IV: The Duality Theorem and Three Proofs of the Farkas LemmaTextbook

Motivation

Every linear program comes with a second linear program, its dual, whose feasible solutions certify bounds on the optimum of the first. The duality theorem of linear programming says that these certificates are perfect: when both programs are feasible, the best bound equals the optimum. The theorem underlies the analysis of the simplex method, sensitivity analysis and shadow prices in operations research, the minimax theorem for zero-sum games, max-flow/min-cut and König-type min-max theorems in combinatorial optimization, and the primal–dual design of approximation and online algorithms.

The Farkas lemma, a theorem of the alternative for linear systems, contains the essence of duality: a system of linear equations or inequalities either has a (nonnegative) solution, or a single linear combination of its rows proves that it has none. It goes back to Farkas (1902) and Minkowski's work on finitely generated cones; the duality theorem itself is due to von Neumann (1947) and Gale, Kuhn and Tucker (1951).

This mission formalizes Chapter 6 of Matoušek and Gärtner's textbook Understanding and Using Linear Programming (Springer, 2007): the duality theorem in the book's form, weak duality, the Farkas lemma in its algebraic, geometric and three-variant forms, and the lemmas of two self-contained proofs of the Farkas lemma, one analytic (nearest points in finitely generated cones) and one via minimally infeasible systems.

Setting

Let AAA be a real matrix with mmm rows and nnn columns, b∈Rmb\in\mathbb{R}^mb∈Rm, c∈Rnc\in\mathbb{R}^nc∈Rn. Vector inequalities are componentwise. The primal and dual linear programs are

(P)max⁡ cTx  s.t. Ax≤b, x≥0,(D)min⁡ bTy  s.t. ATy≥c, y≥0.\text{(P)}\quad\max\ c^{T}x \ \text{ s.t. } Ax\le b,\ x\ge 0, \qquad\qquad \text{(D)}\quad\min\ b^{T}y \ \text{ s.t. } A^{T}y\ge c,\ y\ge 0.(P)max cTx  s.t. Ax≤b, x≥0,(D)min bTy  s.t. ATy≥c, y≥0.

A feasible solution of (P) is an x∈Rnx\in\mathbb{R}^nx∈Rn satisfying its constraints; an optimal solution is a feasible x∗x^*x∗ with cTx≤cTx∗c^{T}x\le c^{T}x^*cTx≤cTx∗ for every feasible xxx. (P) is unbounded if its objective takes arbitrarily large values on feasible solutions. For the minimization (D) the notions are mirrored: an optimal y∗y^*y∗ has bTy∗≤bTyb^{T}y^*\le b^{T}ybTy∗≤bTy for all feasible yyy, and (D) is unbounded if bTyb^{T}ybTy takes arbitrarily small values.

For a1,…,an∈Rma_1,\dots,a_n\in\mathbb{R}^ma1​,…,an​∈Rm, the convex cone generated by them is C={t1a1+⋯+tnan:ti≥0}C=\{t_1a_1+\dots+t_na_n : t_i\ge 0\}C={t1​a1​+⋯+tn​an​:ti​≥0}; a primitive cone is one generated by k≤mk\le mk≤m linearly independent vectors. A system Ax≤bAx\le bAx≤b of mmm inequalities is minimally infeasible if it has no solution but dropping any one inequality makes it solvable.

Formalization targets

Goal: the duality theorem (§6.1, p. 83)

For (P) and (D) as above, exactly one of the following occurs:

  1. neither (P) nor (D) is feasible;
  2. (P) is unbounded and (D) is infeasible;
  3. (P) is infeasible and (D) is unbounded;
  4. both are feasible; then both have optimal solutions, and every optimal x∗x^*x∗ of (P) and optimal y∗y^*y∗ of (D) satisfy
cTx∗=bTy∗.c^{T}x^*=b^{T}y^*.cTx∗=bTy∗.

Milestones

  • Proposition 6.1.1 (weak duality). cTx≤bTyc^{T}x\le b^{T}ycTx≤bTy for all feasible xxx of (P) and yyy of (D); hence (P) unbounded forces (D) infeasible, and (D) unbounded forces (P) infeasible.
  • Proposition 6.4.1 (Farkas lemma). Exactly one of: Ax=bAx=bAx=b has a solution x≥0x\ge 0x≥0; some yyy has yTA≥0Ty^{T}A\ge 0^{T}yTA≥0T and yTb<0y^{T}b<0yTb<0. Already on the platform as LinearOptimization.farkas_lemma (Proved) and linked as a reference.
  • Proposition 6.4.3 (three variants). Solvability of Ax=bAx=bAx=b, x≥0x\ge0x≥0; of Ax≤bAx\le bAx≤b, x≥0x\ge 0x≥0; and of Ax≤bAx\le bAx≤b with xxx free, each characterized by a certificate condition on yyy.
  • Proposition 6.4.2 (geometric Farkas lemma). bbb lies in the cone generated by a1,…,ana_1,\dots,a_na1​,…,an​, or a hyperplane through 000 separates the cone from bbb strictly — exactly one.
  • Lemmas 6.5.4, 6.5.5, 6.5.3, 6.5.1. Primitive cones are closed; a finitely generated cone is a finite union of primitive cones; hence it is closed (6.5.3, on the platform as Polyhedral.isClosed_conicSpan, Proved); hence it has a point nearest to any b∉Cb\notin Cb∈/C.
  • Lemmas 6.6.2 and 6.6.1. Ax=bAx=bAx=b is solvable iff every yyy with yTA=0Ty^{T}A=0^{T}yTA=0T has yTb=0y^{T}b=0yTb=0; in a minimally infeasible system, for every iii some x~(i)\tilde x^{(i)}x~(i) satisfies all inequalities except the iiith with equality.

Significance

The result. The duality theorem converts optimality into feasibility: a pair (x,y)(x,y)(x,y) of primal and dual feasible solutions with cTx=bTyc^{T}x=b^{T}ycTx=bTy is a short, checkable certificate that both are optimal, and the theorem guarantees such a certificate exists whenever an optimum does. It classifies every primal–dual pair into four behaviours and excludes the other five combinations of feasible-bounded, unbounded and infeasible. Later chapters of the same book rest on it: the minimax theorem for zero-sum games, the integrality of bipartite matching polytopes, the LP rounding for unrelated-machine scheduling, and the Delsarte bound for codes.

Formalizing it. All results here are classical and fully proved in the book; the work is formalization. Mathlib contains a Farkas lemma for proper cones in Hilbert spaces and closedness facts for finitely generated cones, and the platform already has Bertsimas–Tsitsiklis-style duality for a general-form minimization (LinearOptimization.lp_strong_duality) and matrix Farkas lemmas. What is missing is the textbook statement in Matoušek's inequality form (P)/(D), with its four-case exclusive classification, together with the chain of named lemmas that make two different elementary proofs of the Farkas lemma machine-checkable. The analytic chain (6.5.x) and the minimally-infeasible chain (6.6.x) are reusable independently of LP.

Difficulty

Weak duality is a two-line computation. The difficulty is entirely in the reverse direction, that a feasible bounded (P) forces the dual to be feasible with the same value. Any proof must use something beyond linear algebra over R\mathbb{R}R: either the termination of the simplex method with an anticycling rule, a topological fact (a finitely generated cone is closed), or an extremal argument (an optimal solution of an auxiliary LP). The naive geometric argument — take the nearest point of the cone to bbb — fails without closedness, and closedness of the cone generated by a set is false for infinitely generated cones (the cone over a disc touching the origin is an open half-plane plus a point), so finiteness has to be used, which is the role of the primitive-cone decomposition. In the four-case theorem itself, the remaining obstacle is attainment: "bounded and feasible" must be upgraded to "an optimum exists" for both programs, which is not a consequence of Farkas-type statements alone.

Formalization scope

  • Vectors are Fin n → ℝ and matrices Matrix (Fin m) (Fin n) ℝ; the book's indices 1,…,n1,\dots,n1,…,n become 0,…,n−10,\dots,n-10,…,n−1. The row vector yTAy^{T}AyTA is Aᵀ *ᵥ y, so yTA≥0Ty^{T}A\ge 0^{T}yTA≥0T is 0 ≤ Aᵀ *ᵥ y; scalar products are ⬝ᵥ.
  • Optimal solutions and unboundedness are stated against every feasible point; no sSup/sInf is used, so no junk value of an empty or unbounded supremum enters. "Exactly one of the four cases" is ∃! k : Fin 4, DualityCase A b c k, with the book's case kkk at index k−1k-1k−1; a plain disjunction would be weaker than the book.
  • Cone items live in EuclideanSpace ℝ (Fin m), so the nearest point of Lemma 6.5.1 is Euclidean and yTxy^{T}xyTx is the inner product. The convex cone generated by a1,…,ana_1,\dots,a_na1​,…,an​ is the set of nonnegative combinations (it contains 000, also for n=0n=0n=0).
  • A trivializing formalization — case 4 read as "if both have optimal solutions then their values agree", which is weak duality plus nothing — is ruled out: case 4 asserts the existence of both optima from feasibility alone.
  • Lemma 6.3.1 (the dual solution read off the final simplex tableau) and Lemma 6.5.2 (nearest point in a nonempty closed set, available in Mathlib as IsClosed.exists_infDist_eq_dist) are not separate targets. The Fourier–Motzkin elimination of §6.7 has no numbered result.
  • Contributions welcome: proofs of any milestone, the two Farkas-lemma chains, and bridges to the general-form duality already on the platform.

Selected references

  • J. Matoušek and B. Gärtner, Understanding and Using Linear Programming, Springer Universitext, 2007, Chapter 6. https://doi.org/10.1007/978-3-540-30717-4
  • J. Farkas, Theorie der einfachen Ungleichungen, J. Reine Angew. Math. 124 (1902), 1–27. https://doi.org/10.1515/crll.1902.124.1
  • D. Gale, H. W. Kuhn and A. W. Tucker, Linear programming and the theory of games, in Activity Analysis of Production and Allocation, Wiley, 1951, 317–329.
  • M. Conforti, M. Di Summa and G. Zambelli, Minimally infeasible set-partitioning problems with balanced constraints, Mathematics of Operations Research (cited in the book as to appear; the source of the proof in §6.6).
  • D. Bertsimas and J. N. Tsitsiklis, Introduction to Linear Optimization, Athena Scientific, 1997, Chapter 4.
14 thms5 active usersReviewed
🏆Completed
Operations ResearchOptimizationProbability·Captain: mikedeng1

Introduction to the Scenario Approach I: The Violation Distribution of the Scenario SolutionTextbook

Motivation

Many design problems in control, finance and operations research are convex programs with uncertain constraints: a decision θ\thetaθ must satisfy θ∈Θδ\theta\in\Theta_\deltaθ∈Θδ​ for a parameter δ\deltaδ that is not known in advance. Enforcing the constraint for every possible δ\deltaδ (robust optimization) is often intractable or too conservative, and a chance-constrained formulation needs the distribution of δ\deltaδ, which in practice is rarely known. The scenario approach replaces the uncertain constraint by the constraints of NNN observed samples δ1,…,δN\delta_1,\dots,\delta_Nδ1​,…,δN​ and solves the resulting ordinary convex program. The question it answers is how much of the unseen uncertainty the resulting decision still violates.

The answer, the generalization theorem of the scenario approach, is distribution-free: the probability that the scenario solution violates more than a fraction ε\varepsilonε of the uncertainty is bounded by a binomial tail that depends only on NNN and on the number ddd of decision variables. This mission formalizes that theorem as it is presented in Chapters 3 and 5 of Campi and Garatti's textbook Introduction to the Scenario Approach (SIAM/MOS 2018), the first mission of a series on the book.

Timeline. Calafiore and Campi introduced scenario programs and bounded the violation of their solutions through the count of support constraints (Math. Program. 2005; IEEE TAC 2006). Campi and Garatti proved in 2008 that the binomial-tail bound of Theorem 3.7 holds for every convex scenario program under existence and uniqueness of the solution, and that it is attained with equality by fully supported problems (SIAM J. Optim. 2008), which settled the tightness question. The textbook (DOI 10.1137/1.9781611975444) presents the theorem with a complete proof for fully supported problems in the plane.

Setting

Fix a cost vector c∈Rdc\in\mathbb R^dc∈Rd, a domain Θ⊆Rd\Theta\subseteq\mathbb R^dΘ⊆Rd, a measurable space Δ\DeltaΔ of uncertainty instances with a probability P\mathbb PP, and a constraint set Θδ⊆Rd\Theta_\delta\subseteq\mathbb R^dΘδ​⊆Rd for each δ∈Δ\delta\in\Deltaδ∈Δ.

  • The violation of a decision θ\thetaθ (Definition 3.1) is V(θ)=P{δ∈Δ:θ∉Θδ}V(\theta)=\mathbb P\{\delta\in\Delta:\theta\notin\Theta_\delta\}V(θ)=P{δ∈Δ:θ∈/Θδ​}, the probability that θ\thetaθ fails the constraint of a fresh instance.
  • For a sample (δ1,…,δm)(\delta_1,\dots,\delta_m)(δ1​,…,δm​), the scenario program is
min⁡θ∈ΘcTθsubject toθ∈⋂i=1mΘδi.\min_{\theta\in\Theta}c^T\theta\quad\text{subject to}\quad\theta\in\bigcap_{i=1}^{m}\Theta_{\delta_i}.θ∈Θmin​cTθsubject toθ∈i=1⋂m​Θδi​​.

A solution is a feasible point of least cost. With m=Nm=Nm=N i.i.d. samples its solution is denoted θ∗\theta^*θ∗; it is a random vector, a function of the sample, and V(θ∗)V(\theta^*)V(θ∗) is a random variable in [0,1][0,1][0,1].

  • Assumption 3.4 (convexity): Θ\ThetaΘ and every Θδ\Theta_\deltaΘδ​ are convex and closed. Assumption 3.6 (existence and uniqueness): for every mmm and every sample, the program with mmm constraints has exactly one solution.
  • A constraint is a support constraint (Definition 5.1) if its removal improves the solution. A problem is fully supported (Definition 5.4) if for every m≥dm\ge dm≥d the program with mmm constraints has, with probability 1, exactly ddd support constraints.

Formalization targets

Goal: Theorem 3.7

For 1≤d≤N1\le d\le N1≤d≤N and every ε∈[0,1]\varepsilon\in[0,1]ε∈[0,1], under Assumptions 3.4 and 3.6,

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

The right-hand side is the upper tail of a Beta(d,N−d+1)(d,N-d+1)(d,N−d+1) distribution. The statement leaves P\mathbb PP, Θ\ThetaΘ and the constraint family completely unspecified beyond the two assumptions.

Milestones

  1. Helly's lemma (Lemma 5.3), referenced from the platform in its ddd-dimensional form.
  2. Theorem 5.2: for every mmm and every sample, a convex scenario program has at most ddd support constraints.
  3. Eq. (5.3): for a fully supported problem with d=N=2d=N=2d=N=2, P2{V(θ∗)>ε}=1−ε2\mathbb P^2\{V(\theta^*)>\varepsilon\}=1-\varepsilon^2P2{V(θ∗)>ε}=1−ε2.
  4. Eq. (5.2): for fully supported problems, Theorem 3.7 holds with equality.
  5. Eqs. (3.5)–(3.6): the bound is the Beta(d,N−d+1)(d,N-d+1)(d,N−d+1) distribution function (a published incomplete-beta identity).
  6. Eq. (3.9): ∑i=0d−1(Ni)εi(1−ε)N−i≤2d−1(1−ε/2)N≤2d−1e−εN/2\sum_{i=0}^{d-1}\binom Ni\varepsilon^i(1-\varepsilon)^{N-i}\le 2^{d-1}(1-\varepsilon/2)^N\le2^{d-1}e^{-\varepsilon N/2}∑i=0d−1​(iN​)εi(1−ε)N−i≤2d−1(1−ε/2)N≤2d−1e−εN/2.
  7. Theorem 3.8: E[V(θ∗)]≤d/(N+1)\mathbb E[V(\theta^*)]\le d/(N+1)E[V(θ∗)]≤d/(N+1).
  8. Theorem 1.3: if N≥2ε(ln⁡1β+d−1)N\ge\frac2\varepsilon(\ln\frac1\beta+d-1)N≥ε2​(lnβ1​+d−1), then V(θ∗)≤εV(\theta^*)\le\varepsilonV(θ∗)≤ε with probability at least 1−β1-\beta1−β.

Significance

Theorem 3.7 is what makes the scenario approach usable as a design method: it certifies the reliability of a decision computed from data without any knowledge of the data-generating distribution, requiring only independence of the samples. Theorems 3.8 and 1.3 are its two most used consequences, an expected-violation bound and an explicit sample size, and later chapters of the book (constraint removal, the FAST algorithm, empirical-cost results) build on the same statement. Equality for fully supported problems shows that the bound cannot be improved for any ddd and NNN.

The theorem is proved in the literature; it has no machine-checked proof. A formalization produces, beyond the result itself, a reusable library of scenario programs, violation probabilities and support constraints on which the rest of the series (constraint removal, nonconvex support sets) can be stated, and it checks the measure-theoretic content that the book deliberately leaves aside ("measurability issues are glossed over throughout", p. 33).

Difficulty

The deterministic part, at most ddd support constraints, is a short consequence of Helly's theorem. The probabilistic part is where the obvious approach fails. A uniform-convergence argument over all θ\thetaθ (Vapnik–Chervonenkis theory, footnote 11 of the book) gives bounds of the wrong order and can be vacuous, because it ignores that only the solution matters. The sharp bound is an exact statement about the law of V(θ∗)V(\theta^*)V(θ∗), not a union bound, and problems with fewer than ddd support constraints, or with degenerate configurations of constraints, must be shown to be no worse than fully supported ones; the book treats the general case only in the plane and refers to Campi & Garatti 2008 for general ddd. Handling the null sets and the exchangeability of the samples under the product measure is a substantial part of the work.

Formalization scope

  • Decisions live in EuclideanSpace ℝ (Fin d); the cost is inner ℝ c θ. A sample of size mmm is ω : Fin m → Δ with law Measure.pi (fun _ : Fin m => P), and P is a probability measure.
  • The violation is the real number (P {δ | θ ∉ Θδ δ}).toReal; probabilities of events over the sample are compared in [0,∞][0,\infty][0,∞] through ENNReal.ofReal.
  • The solution θ∗\theta^*θ∗ is a function θstar : (Fin N → Δ) → EuclideanSpace ℝ (Fin d) together with the hypothesis that θstar ω solves the program for every sample; it is never an arbitrary map.
  • Assumption 3.6 is stated for every mmm including m=0m=0m=0 (a unique minimizer on Θ\ThetaΘ itself) and for every sample, as on the page.
  • Hypotheses the page leaves implicit are explicit: the constraint relation {(θ,δ):θ∈Θδ}\{(\theta,\delta):\theta\in\Theta_\delta\}{(θ,δ):θ∈Θδ​} is jointly measurable and θstar is measurable (the book's p. 33 convention); ε∈[0,1]\varepsilon\in[0,1]ε∈[0,1]; d≥1d\ge1d≥1.
  • A support constraint is one whose removal leaves a feasible point of strictly smaller cost than the solution; the count is a Finset.card over Fin m.
  • Theorem 3.8 asserts integrability of V(θ∗)V(\theta^*)V(θ∗) together with the bound, so it cannot hold through the convention that a non-integrable function integrates to 000. Theorem 1.3's own sentence omits the assumptions; they are added as in §3.2.1, where it is derived from Theorem 3.7.

A statement in which θ∗\theta^*θ∗ is any feasible point of the program, or merely a measurable function of the sample, is false and does not count as a formalization of Theorem 3.7; nor does one in which Assumption 3.6 is weakened to almost every sample. Contributions of general infrastructure are welcome: exchangeability arguments for product measures, the binomial–beta identity, and Helly-type counting lemmas are reusable well beyond this mission.

Selected references

  • M. C. Campi, S. Garatti, Introduction to the Scenario Approach, MOS-SIAM Series on Optimization 26, SIAM/MOS, 2018. https://doi.org/10.1137/1.9781611975444
  • M. C. Campi, S. Garatti, The exact feasibility of randomized solutions of uncertain convex programs, SIAM Journal on Optimization 19(3), 2008. https://doi.org/10.1137/07069821X
  • G. Calafiore, M. C. Campi, Uncertain convex programs: randomized solutions and confidence levels, Mathematical Programming 102, 2005. https://doi.org/10.1007/s10107-003-0499-y
  • G. Calafiore, M. C. Campi, The scenario approach to robust control design, IEEE Transactions on Automatic Control 51(5), 2006. https://doi.org/10.1109/TAC.2006.875041
  • E. Helly, Über Mengen konvexer Körper mit gemeinschaftlichen Punkten, Jahresbericht der DMV 32, 1923.
16 thms5 active usersReviewed
🏆Completed
Operations ResearchOptimizationProbability·Captain: mikedeng1

Worst-Case Value-At-Risk and Robust Portfolio Optimization: A Conic Programming Approach 1: Exact Worst-Case VaR under Known Mean and Covariance and Its SDP RepresentationsResearch Paper

Motivation

Value-at-Risk (VaR) is the standard regulatory measure of downside risk of a portfolio: the loss level that is exceeded only with a prescribed small probability ε\varepsilonε. Computing it requires the full distribution of asset returns, which is rarely known. In practice one estimates a mean vector and a covariance matrix and then assumes a Gaussian distribution, which understates the probability of large losses when returns are heavy-tailed or skewed.

El Ghaoui, Oks and Oustry (Oper. Res. 51(4), 2003) replace the distributional assumption by a worst case: the VaR is computed against every distribution consistent with the known moments. For known mean and covariance they obtain an exact closed form and several semidefinite (SDP) representations of this worst-case VaR. The SDP forms are what make the approach extend to moment uncertainty (moments only known to lie in a set, §2.2 of the paper) and to robust portfolio optimization. The equivalence between the probabilistic statement and the closed form is also a multivariate one-sided Chebyshev bound, related to Bertsimas and Popescu (SIAM J. Optim. 15(3), 2005; working paper 2000).

Setting

There are nnn assets. Their returns over one period form a random vector x∈Rnx \in \mathbb R^nx∈Rn, and a portfolio w∈Rnw \in \mathbb R^nw∈Rn earns r(w,x)=w⊤xr(w,x) = w^\top xr(w,x)=w⊤x. The paper restricts www to an admissible set that does not contain 000; only w≠0w \neq 0w=0 is used.

The distribution of xxx is unknown except for its mean x^∈Rn\hat x \in \mathbb R^nx^∈Rn and covariance matrix Γ\GammaΓ, with Γ≻0\Gamma \succ 0Γ≻0 (positive definite). Let P\mathcal PP be the set of all probability distributions on Rn\mathbb R^nRn with these two moments. For a loss level γ\gammaγ, the loss set is S={x∣γ≤−x⊤w}\mathcal S = \{x \mid \gamma \le -x^\top w\}S={x∣γ≤−x⊤w}. The worst-case VaR at level ε\varepsilonε is (Eq. (4))

VP(w)=min⁡{γ  :  sup⁡P∈PP(S)≤ε}.V_{\mathcal P}(w) = \min\Big\{\gamma \;:\; \sup_{P\in\mathcal P} P(\mathcal S) \le \varepsilon\Big\}.VP​(w)=min{γ:P∈Psup​P(S)≤ε}.

Further notation: κ(ε)=(1−ε)/ε\kappa(\varepsilon) = \sqrt{(1-\varepsilon)/\varepsilon}κ(ε)=(1−ε)/ε​ (Eq. (8)); for symmetric matrices, A⪰BA \succeq BA⪰B means A−BA - BA−B is positive semidefinite and ⟨A,B⟩=Tr⁡(AB)\langle A, B\rangle = \operatorname{Tr}(AB)⟨A,B⟩=Tr(AB). The second-moment matrix is (Eq. (6))

Σ=[Sx^x^⊤1],S=Γ+x^x^⊤.\Sigma = \begin{bmatrix} S & \hat x \\ \hat x^\top & 1\end{bmatrix}, \qquad S = \Gamma + \hat x\hat x^\top.Σ=[Sx^⊤​x^1​],S=Γ+x^x^⊤.

Formalization targets

Goal: Theorem 1 (pp. 545–546)

For Γ≻0\Gamma \succ 0Γ≻0, w≠0w \neq 0w=0, ε∈(0,1)\varepsilon \in (0,1)ε∈(0,1) and γ∈R\gamma \in \mathbb Rγ∈R, the following five propositions are equivalent:

  1. sup⁡P∈PP{γ≤−w⊤x}≤ε\sup_{P \in \mathcal P} P\{\gamma \le -w^\top x\} \le \varepsilonsupP∈P​P{γ≤−w⊤x}≤ε;
  2. κ(ε) ∥Γ1/2w∥2−x^⊤w≤γ\kappa(\varepsilon)\,\|\Gamma^{1/2} w\|_2 - \hat x^\top w \le \gammaκ(ε)∥Γ1/2w∥2​−x^⊤w≤γ;
  3. there are a symmetric MMM and τ∈R\tau \in \mathbb Rτ∈R with ⟨M,Σ⟩≤τε\langle M, \Sigma\rangle \le \tau\varepsilon⟨M,Σ⟩≤τε, M⪰0M \succeq 0M⪰0, τ≥0\tau \ge 0τ≥0, and M+[0ww⊤−τ+2γ]⪰0M + \begin{bmatrix} 0 & w\\ w^\top & -\tau + 2\gamma\end{bmatrix} \succeq 0M+[0w⊤​w−τ+2γ​]⪰0;
  4. every xxx with [Γx−x^(x−x^)⊤κ(ε)2]⪰0\begin{bmatrix}\Gamma & x - \hat x\\ (x-\hat x)^\top & \kappa(\varepsilon)^2\end{bmatrix} \succeq 0[Γ(x−x^)⊤​x−x^κ(ε)2​]⪰0 satisfies −x⊤w≤γ-x^\top w \le \gamma−x⊤w≤γ;
  5. there are a symmetric Λ\LambdaΛ and v∈Rv \in \mathbb Rv∈R with ⟨Λ,Γ⟩+κ(ε)2v−x^⊤w≤γ\langle \Lambda, \Gamma\rangle + \kappa(\varepsilon)^2 v - \hat x^\top w \le \gamma⟨Λ,Γ⟩+κ(ε)2v−x^⊤w≤γ and [Λw/2w⊤/2v]⪰0\begin{bmatrix}\Lambda & w/2\\ w^\top/2 & v\end{bmatrix} \succeq 0[Λw⊤/2​w/2v​]⪰0.

In particular

VP(w)=κ(ε) ∥Γ1/2w∥2−x^⊤w.V_{\mathcal P}(w) = \kappa(\varepsilon)\,\|\Gamma^{1/2}w\|_2 - \hat x^\top w.VP​(w)=κ(ε)∥Γ1/2w∥2​−x^⊤w.

Milestones (the steps of the paper's proof)

  • Condition C.1 (l(x)=[x⊤ 1]M[x⊤ 1]⊤≥0l(x) = [x^\top\,1] M [x^\top\,1]^\top \ge 0l(x)=[x⊤1]M[x⊤1]⊤≥0 for all xxx) is equivalent to M⪰0M \succeq 0M⪰0 (p. 546).
  • Conditions C.1 and C.2 are equivalent to the existence of τ≥0\tau \ge 0τ≥0 with M⪰0M \succeq 0M⪰0 and M+[0τwτw⊤−1+2τγ]⪰0M + \begin{bmatrix} 0 & \tau w\\ \tau w^\top & -1+2\tau\gamma\end{bmatrix} \succeq 0M+[0τw⊤​τw−1+2τγ​]⪰0 (p. 546).
  • The worst-case probability sup⁡P∈PP(S)\sup_{P\in\mathcal P} P(\mathcal S)supP∈P​P(S) equals the value of the SDP inf⁡⟨M,Σ⟩\inf \langle M, \Sigma\rangleinf⟨M,Σ⟩ under the constraints above (Eq. (14), pp. 546–547).
  • The Schur-complement reduction (19)–(20) of the constraints of the dual problem (18) (p. 547).
  • The closed form of ϕ(y)\phi(y)ϕ(y) and its maximum at y=εy = \varepsilony=ε (p. 547).
  • Condition (10) describes the ellipsoid {x∣(x−x^)⊤Γ−1(x−x^)≤κ(ε)2}\{x \mid (x-\hat x)^\top\Gamma^{-1}(x-\hat x) \le \kappa(\varepsilon)^2\}{x∣(x−x^)⊤Γ−1(x−x^)≤κ(ε)2}, and the maximal loss −x⊤w-x^\top w−x⊤w over it is κ(ε)w⊤Γw−x^⊤w\kappa(\varepsilon)\sqrt{w^\top\Gamma w} - \hat x^\top wκ(ε)w⊤Γw​−x^⊤w (p. 546).

Significance

The result. Proposition 2 turns the worst-case VaR into a second-order cone function of www, so minimizing it over a polytope of portfolios is a second-order cone program (Eq. (12)). The SDP forms 3 and 5 are the basis of the paper's §2.2–§3: they extend, with the moments only known to lie in a convex set, to a single SDP whose value is the worst-case VaR over that set. Proposition 4 gives a deterministic reading: the worst-case VaR is the largest loss when the return vector is only known to lie in an ellipsoid, which connects distributional robustness to robust optimization with ellipsoidal uncertainty.

Formalizing it. The result is proved in the paper, with two imported steps: strong duality for the moment problem (Smith 1995; Bonnans and Shapiro 2000) and a Slater-type strong duality for the one-constraint quadratic condition. No machine-checked version is known. A formal proof would supply these steps with explicit hypotheses and would produce a Lean statement of the multivariate one-sided Chebyshev (Cantelli) bound with tightness over the full moment class.

Difficulty

The matrix equivalences (2 ⇔ 4 ⇔ 5 and 2 ⇔ 3) are Schur complements and finite-dimensional SDP duality. The difficulty is Proposition 1. The upper bound (Cantelli's inequality for w⊤xw^\top xw⊤x) handles one direction, but the converse requires tightness: for every γ\gammaγ below the closed form, a distribution on Rn\mathbb R^nRn with exactly the prescribed mean and full covariance matrix Γ\GammaΓ that puts probability more than ε\varepsilonε on the loss set. A scalar extremal distribution for w⊤xw^\top xw⊤x does not by itself have the right covariance in the other directions, and a Gaussian does not reach the bound. The paper's route through the moment problem instead needs strong duality between a supremum over measures and an infimum over matrices, which is where the positive definiteness of Σ\SigmaΣ enters.

Formalization scope

  • Vectors live in EuclideanSpace ℝ (Fin n); x⊤wx^\top wx⊤w is the inner product, and matrices are Matrix (Fin n) (Fin n) ℝ. Matrices of size n+1n+1n+1 are indexed by Fin n ⊕ Fin 1 and built with Matrix.fromBlocks (the helper bordered A v c is [[A,v],[v⊤,c]][[A, v],[v^\top, c]][[A,v],[v⊤,c]]). A⪰0A \succeq 0A⪰0 is PosSemidef, Γ≻0\Gamma \succ 0Γ≻0 is PosDef, ⟨A,B⟩\langle A, B\rangle⟨A,B⟩ is (A * B).trace, and ∥Γ1/2w∥2\|\Gamma^{1/2}w\|_2∥Γ1/2w∥2​ is written w⊤Γw\sqrt{w^\top\Gamma w}w⊤Γw​.
  • The class P\mathcal PP (HasMeanCov) contains every Borel probability measure on Rn\mathbb R^nRn whose coordinates are square-integrable, with mean x^\hat xx^ and centred covariance Γ\GammaΓ. It is not restricted to densities or to Gaussians: the Gaussian class gives a different constant, −Φ−1(ε)-\Phi^{-1}(\varepsilon)−Φ−1(ε).
  • Sup, inf and max: "sup⁡P∈PP(S)≤ε\sup_{P\in\mathcal P}P(\mathcal S) \le \varepsilonsupP∈P​P(S)≤ε" is stated as "P(S)≤εP(\mathcal S) \le \varepsilonP(S)≤ε for every P∈PP \in \mathcal PP∈P". The worst-case probability SDP is stated as IsLUB/IsGLB of one real number (no attainment is claimed). The maxima over vvv, over y∈[ε,1]y \in [\varepsilon,1]y∈[ε,1] and over the ellipsoid are IsGreatest.
  • Corrections to the printed statement. The paper prints ε∈(0,1]\varepsilon \in (0,1]ε∈(0,1]; at ε=1\varepsilon = 1ε=1 Proposition 1 holds for every γ\gammaγ while Propositions 2–5 require γ≥−x^⊤w\gamma \ge -\hat x^\top wγ≥−x^⊤w, so the goal assumes 0<ε<10 < \varepsilon < 10<ε<1. The goal also assumes w≠0w \neq 0w=0, the paper's standing assumption; with w=0w = 0w=0, γ=0\gamma = 0γ=0 Proposition 1 fails and Proposition 2 holds. Milestones that remain true at ε=1\varepsilon = 1ε=1 keep ε≤1\varepsilon \le 1ε≤1.
  • A goal that omits Proposition 1 would only be matrix algebra and is not this theorem. The five-way equivalence must be proved with the probabilistic statement included.
  • Useful infrastructure, reusable beyond this mission: the homogenization lemma for quadratic functions, the S-lemma with one affine constraint, the Schur-complement criteria for bordered PSD matrices, and duality for the moment problem. Proofs of any milestone, and of lemmas building a distribution with prescribed mean and covariance, are welcome.

Selected references

  • L. El Ghaoui, M. Oks, F. Oustry, Worst-Case Value-at-Risk and Robust Portfolio Optimization: A Conic Programming Approach, Operations Research 51(4):543–556, 2003. https://doi.org/10.1287/opre.51.4.543.16101
  • D. Bertsimas, I. Popescu, Optimal Inequalities in Probability Theory: A Convex Optimization Approach, SIAM J. Optim. 15(3):780–804, 2005. https://doi.org/10.1137/S1052623401399903
  • J. E. Smith, Generalized Chebychev Inequalities: Theory and Applications in Decision Analysis, Operations Research 43(5):807–825, 1995. https://doi.org/10.1287/opre.43.5.807
  • J. F. Bonnans, A. Shapiro, Perturbation Analysis of Optimization Problems, Springer, 2000. https://doi.org/10.1007/978-1-4612-1394-9
  • L. Vandenberghe, S. Boyd, K. Comanor, Generalized Chebyshev Bounds via Semidefinite Programming, SIAM Review 49(1):52–64, 2007. https://doi.org/10.1137/S0036144504440543
8 thms5 active usersReviewed
🏆Completed
Machine LearningOperations ResearchOptimization·Captain: mikedeng1

Logarithmic Regret Algorithms for Online Convex Optimization 1: Logarithmic Regret of Online Gradient DescentResearch Paper

Motivation

Online convex optimization is a repeated game between a learner and an adversary. In each round t=1,…,Tt=1,\dots,Tt=1,…,T the learner commits to a point xtx_txt​ of a convex set P⊆Rn\mathcal P\subseteq\mathbb R^nP⊆Rn; only then is a convex cost function ftf_tft​ revealed, and the learner pays ft(xt)f_t(x_t)ft​(xt​). The learner is judged by its regret: its total cost minus the total cost of the best fixed point chosen in hindsight. The model covers online portfolio selection, online regression, prediction with expert advice and the analysis of stochastic gradient methods, and it is the standard language of online learning theory.

Zinkevich (ICML 2003) showed that projected gradient descent with step sizes of order 1/t1/\sqrt t1/t​ has regret O(GDT)O(GD\sqrt T)O(GDT​) for any convex costs with gradients bounded by GGG on a set of diameter DDD, and this rate cannot be improved for linear costs. Hazan, Agarwal and Kale (Machine Learning 69, 2007) asked what curvature buys. Their first result, the subject of this mission, is that the same algorithm with the faster step sizes 1/(Ht)1/(Ht)1/(Ht) has regret only logarithmic in TTT once every cost function is HHH-strongly convex. The paper's other three results (the Online Newton Step, Follow the Approximate Leader and Exponentially Weighted Online Optimization, for exp-concave costs) are the subject of the other missions of this series.

Setting

Fix n∈Nn\in\mathbb Nn∈N and a nonempty, closed, bounded, convex set P⊆Rn\mathcal P\subseteq\mathbb R^nP⊆Rn, with the Euclidean norm ∥⋅∥2\|\cdot\|_2∥⋅∥2​ (§2.1, p. 171).

  • Cost functions. A sequence f1,f2,⋯:Rn→Rf_1,f_2,\dots:\mathbb R^n\to\mathbb Rf1​,f2​,⋯:Rn→R. Write ∇ft(x)\nabla f_t(x)∇ft​(x) for the gradient and ∇2ft(x)\nabla^2 f_t(x)∇2ft​(x) for the Hessian.
  • Gradient bound. A number GGG with ∥∇ft(x)∥2≤G\|\nabla f_t(x)\|_2\le G∥∇ft​(x)∥2​≤G for all x∈Px\in\mathcal Px∈P and all rounds ttt (p. 172).
  • HHH-strong convexity (p. 172). For H>0H>0H>0, fff is HHH-strongly convex on P\mathcal PP when it is twice differentiable and ∇2f(x)⪰HIn\nabla^2 f(x)\succeq H I_n∇2f(x)⪰HIn​ for every x∈Px\in\mathcal Px∈P, i.e. v⊤∇2f(x)v≥H∥v∥22v^\top\nabla^2 f(x)v\ge H\|v\|_2^2v⊤∇2f(x)v≥H∥v∥22​ for all vvv.
  • Euclidean projection. ΠP(y)\Pi_{\mathcal P}(y)ΠP​(y) is the point of P\mathcal PP nearest to yyy, ΠP(y)=arg⁡min⁡x∈P∥x−y∥2\Pi_{\mathcal P}(y)=\arg\min_{x\in\mathcal P}\|x-y\|_2ΠP​(y)=argminx∈P​∥x−y∥2​ (IsProj P y z).
  • Online Gradient Descent (Fig. 1, p. 174), with step sizes η1,η2,…\eta_1,\eta_2,\dotsη1​,η2​,…: x1∈Px_1\in\mathcal Px1​∈P is arbitrary, and in iteration t>1t>1t>1
xt=ΠP(xt−1−ηt∇ft−1(xt−1))x_t=\Pi_{\mathcal P}\bigl(x_{t-1}-\eta_t\nabla f_{t-1}(x_{t-1})\bigr)xt​=ΠP​(xt−1​−ηt​∇ft−1​(xt−1​))

(IsOGDRun P η f x).

  • Regret (p. 171): RegretT=∑t=1Tft(xt)−min⁡x∈P∑t=1Tft(x)\mathrm{Regret}_T=\sum_{t=1}^T f_t(x_t)-\min_{x\in\mathcal P}\sum_{t=1}^T f_t(x)RegretT​=∑t=1T​ft​(xt​)−minx∈P​∑t=1T​ft​(x), and RegretT(OGD)\mathrm{Regret}_T(\mathrm{OGD})RegretT​(OGD) is its supremum over all cost sequences.

Formalization targets

Goal: Theorem 1 (p. 175)

For H>0H>0H>0, cost functions that are HHH-strongly convex on P\mathcal PP with gradients bounded by GGG on P\mathcal PP, and any run of Online Gradient Descent whose step after round ttt is ηt+1=1/(Ht)\eta_{t+1}=1/(Ht)ηt+1​=1/(Ht), for every T≥1T\ge1T≥1 and every u∈Pu\in\mathcal Pu∈P:

∑t=1T(ft(xt)−ft(u)) ≤ G22H (1+log⁡T).\sum_{t=1}^{T}\bigl(f_t(x_t)-f_t(u)\bigr)\ \le\ \frac{G^2}{2H}\,\bigl(1+\log T\bigr).t=1∑T​(ft​(xt​)−ft​(u)) ≤ 2HG2​(1+logT).

This is LogRegretOCO.OGD.ogd_regret_bound. The constant is the paper's, and at T=1T=1T=1 the bound reads G2/(2H)G^2/(2H)G2/(2H).

Milestones

  1. Eq. (1), the strong-convexity inequality: for x,y∈Px,y\in\mathcal Px,y∈P, 2(f(x)−f(y))≤2∇f(x)⊤(x−y)−H∥y−x∥222(f(x)-f(y))\le 2\nabla f(x)^\top(x-y)-H\|y-x\|_2^22(f(x)−f(y))≤2∇f(x)⊤(x−y)−H∥y−x∥22​.
  2. Lemma 8 with A=InA=I_nA=In​: for a convex P\mathcal PP, z=ΠP(y)z=\Pi_{\mathcal P}(y)z=ΠP​(y) and a∈Pa\in\mathcal Pa∈P, ∥y−a∥22≥∥z−a∥22\|y-a\|_2^2\ge\|z-a\|_2^2∥y−a∥22​≥∥z−a∥22​. This is already on the platform, proved, as UnderstandingML.projection_lemma, and is reused as a reference item.
  3. Eq. (2), the one-step inequality: for z=ΠP(x−ηg)z=\Pi_{\mathcal P}(x-\eta g)z=ΠP​(x−ηg), η>0\eta>0η>0, ∥g∥2≤G\|g\|_2\le G∥g∥2​≤G and u∈Pu\in\mathcal Pu∈P, 2g⊤(x−u)≤(∥x−u∥22−∥z−u∥22)/η+ηG22g^\top(x-u)\le(\|x-u\|_2^2-\|z-u\|_2^2)/\eta+\eta G^22g⊤(x−u)≤(∥x−u∥22​−∥z−u∥22​)/η+ηG2.

The last step of the argument is the harmonic-sum bound ∑t=1T1/t≤1+log⁡T\sum_{t=1}^T 1/t\le 1+\log T∑t=1T​1/t≤1+logT, which Mathlib already provides (harmonic_le_one_add_log).

Significance

The result. Theorem 1 separates two regimes of online convex optimization: Θ(T)\Theta(\sqrt T)Θ(T​) regret for general convex costs and O(log⁡T)O(\log T)O(logT) for strongly convex ones, with an algorithm that costs one gradient and one projection per round. Through the online-to-batch conversion, the same step-size schedule gives the O(log⁡T/T)O(\log T/T)O(logT/T) rate of stochastic gradient descent on strongly convex objectives. The theorem is also the reference point for the paper's weaker exp-concavity assumption, under which the other three algorithms obtain O(nlog⁡T)O(n\log T)O(nlogT) regret.

Formalizing it. The result is proved and well known; what this mission adds is a machine-checked proof with the paper's exact constant. The Prove2Me platform holds a statement of the textbook version of this theorem (Hazan, Introduction to Online Convex Optimization, Theorem 3.3), OnlineConvexOpt.FirstOrder.online_gradient_descent_strongly_convex_regret, but it is Disproved: its regret is written with a real infimum over the decision set, which Lean evaluates to a junk value. No proved version of the logarithmic bound is on the platform. The strong-convexity inequality, the one-step projected-gradient inequality and the telescoping argument are reusable by every later formalization of gradient methods on the platform.

Difficulty

The argument is short, and its difficulty lies in the bookkeeping. The telescoping sum of squared distances cancels exactly only with the right step-size indexing: the step taken after round ttt must be 1/(Ht)1/(Ht)1/(Ht). Reading Fig. 1 literally with ηt=1/(Ht)\eta_t=1/(Ht)ηt​=1/(Ht) makes the step after round ttt equal to 1/(H(t+1))1/(H(t+1))1/(H(t+1)), and the sum then leaves an uncancelled term H2∥x1−x∗∥22\frac H2\|x_1-x^*\|_2^22H​∥x1​−x∗∥22​ that the printed bound does not contain. Strong convexity is a statement about the Hessian, so the curvature inequality (1) needs a second-order Taylor expansion along a segment of P\mathcal PP; convexity of P\mathcal PP keeps the segment inside the set where the Hessian bound holds. The projection step needs the obtuse-angle property of Euclidean projection onto a convex set.

Formalization scope

Points are EuclideanSpace ℝ (Fin n), so ∥⋅∥\|\cdot\|∥⋅∥ is the Euclidean norm (the sup norm of Fin n → ℝ would change the gradient bound). Cost functions are functions on all of Rn\mathbb R^nRn, as the paper's use of gradients and Hessians presupposes; the gradient is Mathlib's gradient, and the Hessian quadratic form is the second Fréchet derivative applied to (v,v)(v,v)(v,v). Rounds are 1-based: x 0, f 0 and η 1 are never read, and sums run over Finset.Icc 1 T. The run of the algorithm is a predicate on the whole trajectory, required at every round; the projection is a predicate (nearest point of P\mathcal PP), which is unique for nonempty closed convex P\mathcal PP.

Choices and corrections relative to the printed text:

  • Step-size index. Theorem 1 prints "step sizes ηt=1Ht\eta_t=\frac1{Ht}ηt​=Ht1​", while its proof sets ηt+1=1/(Ht)\eta_{t+1}=1/(Ht)ηt+1​=1/(Ht) for the step after round ttt. The goal uses the proof's indexing, as a hypothesis η (t + 1) = 1 / (H * t) for t≥1t\ge1t≥1 on the step sizes of Fig. 1.
  • Eq. (2). The paper prints "5∇t⊤(xt−x∗)5\nabla_t^\top(x_t-x^*)5∇t⊤​(xt​−x∗)"; the 555 is a typo for 222, and the milestone states 222. The verbatim milestone text keeps the printed 555.
  • Regret. Regret is stated against every comparator u∈Pu\in\mathcal Pu∈P; the minimum over the compact set P\mathcal PP is attained, so this is the paper's statement. The expectation in the paper's regret is vacuous for this deterministic algorithm, and the supremum over cost sequences is the universal quantifier over fff.
  • Hypotheses. Strong convexity and the gradient bound are required for the rounds 1,…,T1,\dots,T1,…,T only. Convexity of each ftf_tft​, a standing assumption of §2.2, follows from HHH-strong convexity on the convex set P\mathcal PP and is not added. No diameter bound enters Theorem 1.

A regret bound written with a real ⨅/sInf over P\mathcal PP, or a bound for an arbitrary sequence satisfying Eq. (2) instead of a run of the paper's algorithm, would not be Theorem 1; the goal quantifies over every comparator in P\mathcal PP and carries the run predicate, the Hessian hypothesis and the gradient bound. The hypotheses are jointly satisfiable: on the closed unit ball, ft(x)=H2∥x∥22f_t(x)=\frac H2\|x\|_2^2ft​(x)=2H​∥x∥22​ with G=HG=HG=H meets all of them.

Contributions welcome: proofs of the two inequalities and of the goal; a general projection lemma for positive semidefinite AAA (Lemma 8 in full, needed by the Online Newton Step mission) is reusable beyond this mission.

Selected references

  • E. Hazan, A. Agarwal, S. Kale, Logarithmic regret algorithms for online convex optimization, Machine Learning 69 (2007), 169–192. https://doi.org/10.1007/s10994-007-5016-8
  • M. Zinkevich, Online convex programming and generalized infinitesimal gradient ascent, ICML 2003. https://www.aaai.org/Papers/ICML/2003/ICML03-120.pdf
  • E. Hazan, Introduction to Online Convex Optimization, 2nd ed., MIT Press 2022 (Theorem 3.3). https://arxiv.org/abs/1909.05207
  • S. Shalev-Shwartz, S. Ben-David, Understanding Machine Learning: From Theory to Algorithms, Cambridge University Press 2014 (Lemma 14.9, the projection lemma). https://doi.org/10.1017/CBO9781107298019
5 thms5 active usersReviewed
🏆Completed
Machine LearningOperations ResearchOptimization·Captain: mikedeng1

First-Order and Stochastic Optimization Methods for Machine Learning VI: The Classic Conditional Gradient MethodTextbook

Motivation

Every method in Chapters 2-4 of this series solves a projection or proximal subproblem at every step — a Euclidean projection, or a Bregman-divergence prox-mapping — which can itself be as hard as the original problem when XXX is a complicated feasible set (a spectrahedron, a flow polytope, a matroid base polytope). The conditional gradient method (Frank & Wolfe, 1956) sidesteps this entirely: instead of a projection, each step calls a linear optimization (LO) oracle — minimize a linear function over XXX — which is frequently far cheaper (over a spectrahedron, this reduces to a single eigenvector computation; over many combinatorial polytopes, to a greedy algorithm). This is the origin of the modern "projection-free" family of optimization methods widely used at the scale where projections are the bottleneck.

Setting

Fix a nonempty compact convex set XXX in a real normed space EEE and a convex f:X→Rf:X\to \mathbb Rf:X→R with LLL-Lipschitz gradient (Eq. (7.1.4)): ∥f′(x)−f′(y)∥∗≤L∥x−y∥\|f'(x)-f'(y)\|_*\le L\|x-y\|∥f′(x)−f′(y)∥∗​≤L∥x−y∥. The classic conditional gradient (CndG) method, Algorithm 7.1, sets x0∈Xx_0\in Xx0​∈X, y0=x0y_0=x_0y0​=x0​, and for k=1,2,…k=1,2,\dotsk=1,2,…: calls the LO oracle xk∈arg⁡min⁡z∈X⟨f′(yk−1),z⟩x_k\in\arg\min_{z\in X}\langle f'(y_{k-1}),z\ranglexk​∈argminz∈X​⟨f′(yk−1​),z⟩, then sets yk=(1−αk)yk−1+αkxky_k=(1-\alpha_k)y_{k-1}+\alpha_kx_kyk​=(1−αk​)yk−1​+αk​xk​ for a stepsize αk∈[0,1]\alpha_k\in[0,1]αk​∈[0,1], either the fixed schedule αk=2/(k+1)\alpha_k=2/(k+1)αk​=2/(k+1) (Eq. (7.1.9)) or exact line search (Eq. (7.1.10)).

Section 7.1.1.2 extends this to bilinear saddle-point problems, where fff itself is the (generally nonsmooth) function f(x)=max⁡y∈Y{⟨Ax,y⟩−f^(y)}f(x)=\max_{y\in Y}\{\langle Ax,y\rangle-\hat f(y)\}f(x)=maxy∈Y​{⟨Ax,y⟩−f^​(y)} (Eq. (7.1.5)) for a compact convex YYY and linear operator AAA. Since fff is nonsmooth, the method is applied instead to a family of smooth approximations fηf_\etafη​ built from a strongly convex ω\omegaω on YYY (Eq. (7.1.21)-(7.1.23)), with the smoothing parameter ηk\eta_kηk​ allowed to vary across iterations rather than being fixed in advance.

Formalization targets

Goal — Theorem 7.1

f(yk)−f∗≤2Lk(k+1)∑i=1k∥xi−yi−1∥2.f(y_k) - f^* \le \frac{2L}{k(k+1)}\sum_{i=1}^k\|x_i-y_{i-1}\|^2.f(yk​)−f∗≤k(k+1)2L​i=1∑k​∥xi​−yi−1​∥2.

Supporting milestones, in attack order

  • Lemma 7.1: the smoothed objective family fηf_\etafη​ is monotone nondecreasing in η≥0\eta\ge0η≥0 — the one-line fact (V(y)−DY2≤0V(y)-D_Y^2\le0V(y)−DY2​≤0 pointwise) that licenses a variable, decreasing smoothing schedule ηk\eta_kηk​ rather than a schedule fixed in advance from knowledge of the target accuracy.
  • Theorem 7.2: the saddle-point counterpart of the goal theorem, running the same CndG algorithm on the smoothed gradients fηk′f_{\eta_k}'fηk​′​ instead of f′f'f′ directly, with the explicit rate f(yk)−f∗≤2k(k+1)∑i=1k[iηiDY2+∥A∥2σvηi∥xi−yi−1∥2]f(y_k)-f^*\le\frac{2}{k(k+1)}\sum_{i=1}^k[i\eta_iD_Y^2+\frac{\|A\|^2}{\sigma_v\eta_i} \|x_i-y_{i-1}\|^2]f(yk​)−f∗≤k(k+1)2​∑i=1k​[iηi​DY2​+σv​ηi​∥A∥2​∥xi​−yi−1​∥2].

Every constant here is exactly the book's; the goal theorem's bound is left in terms of the actual step distances ∑∥xi−yi−1∥2\sum\|x_i-y_{i-1}\|^2∑∥xi​−yi−1​∥2, not a diameter-based simplification (see Difficulty).

Significance

This mission formalizes the founding convergence result of the entire projection-free family (Frank-Wolfe methods), which has become central to large-scale machine learning precisely because its per-iteration cost can be orders of magnitude below that of a projection-based method on structured feasible sets. Theorem 7.1's specific form — a rate depending on the realized step distances rather than a fixed diameter — is also the more informative, tighter statement (the book's own remarks show it recovers the classical diameter-based O(LDX2/ε)O(LD_X^2/\varepsilon)O(LDX2​/ε) complexity as a corollary, but also explains why the rate can be much better in practice when the iterates settle near an extreme point).

No result matching conditional gradient / Frank-Wolfe methods exists on the platform as of 2026-09-18 (q=Frank-Wolfe and q=conditional gradient both return zero hits — see Prior art in MODERATION_NOTES.md).

Difficulty

The chief formalization difficulty is representing "with the stepsize policy in (7.1.9) or (7.1.10)" faithfully without either restricting to one policy (weaker than the book's stated theorem) or introducing an awkward disjunction of two separate algorithm definitions. The book's own proof resolves this by a single observation used for both policies at once: f(yk)≤f(y~k)f(y_k)\le f(\tilde y_k)f(yk​)≤f(y~​k​) for y~k\tilde y_ky~​k​ the point the fixed schedule γk=2/(k+1)\gamma_k=2/(k+1)γk​=2/(k+1) would have produced — trivially by equality under (7.1.9), or because yky_kyk​ is chosen to minimize fff over the entire line segment under (7.1.10), of which y~k\tilde y_ky~​k​ is one point. This mission's hyk_le hypothesis states exactly this shared consequence, which is genuinely what the proof uses and genuinely covers both policies, rather than picking one arbitrarily.

A second difficulty is not collapsing ∑i=1k∥xi−yi−1∥2\sum_{i=1}^k\|x_i-y_{i-1}\|^2∑i=1k​∥xi​−yi−1​∥2 into a diameter bound kDX2kD_X^2kDX2​ inside the milestone itself — the book's own remarks perform that substitution as a separate, weaker corollary (Eq. (7.1.19)) after stating Theorem 7.1 in its sharper form; folding the substitution into the goal statement itself would silently prove a different, weaker theorem.

Formalization scope

conditional_gradient_rate and saddle_point_cndg_rate state the LO oracle's exactness (x k ∈ Argmin_{z∈X}⟨fGrad(y(k-1)),z⟩) as a pointwise hypothesis rather than deriving it from IsCompact X via an existence lemma — matching the pointwise-hypothesis convention this series uses throughout for argmin-defined algorithmic steps (chunk 03-deterministic's mirror-descent updates, chunk 04-stochastic's stochastic mirror-descent update). X compact convex is still included as a hypothesis, matching the book's own standing assumption on the problem class, even though it is not itself needed to derive the stated conclusion from the other hypotheses.

smoothed_objective_monotone and saddle_point_cndg_rate realize fηf_\etafη​/fff via sSup of the image of YYY under the pointwise saddle-point objective, matching the book's own max_{y∈Y}{...} definition (Eq. (7.1.5), (7.1.23)) directly rather than introducing a separate Def_ file for a "bilinear saddle-point objective" structure — no other item in this mission reuses that definition verbatim, so per this series' convention (no shared substrate bundled into a structure unless reused), it is inlined at each use.

A trivializing formalization this mission rules out: stating the LO oracle via an ε\varepsilonε-approximate minimizer ((fGrad (y(k-1))) (x k) ≤ (fGrad (y(k-1))) z + ε for some ε) rather than an exact one — this is explicitly a different, weaker algorithm the book does not analyze in Theorem 7.1/7.2 (the book studies approximate LO oracles separately, later in the chapter, not selected here).

Left out of scope, for time: Theorem 7.7 (the matching lower complexity bound for LO-oracle methods, Eq. (7.1.60)) — formalizing it faithfully requires first modeling the abstract class of "LCP methods" (any algorithm restricted to LO-oracle calls) as a universally-quantified object, a substantially different and more involved formalization task than the two upper-bound convergence theorems selected here; named per Hard Rule 7 rather than approximated. The d(x)=\sum x_i\log x_i entropy-smoothing remark and the primal/primal-dual averaging CndG variants (§7.1.2, not covered by this mission's page range) are likewise not attempted.

Selected references

  • G. Lan, First-Order and Stochastic Optimization Methods for Machine Learning, Springer Series in the Data Sciences, Springer 2020, Chapter 7, §7.1.1. https://doi.org/10.1007/978-3-030-39568-1
  • M. Frank, P. Wolfe, "An algorithm for quadratic programming," Naval Research Logistics Quarterly, 3(1-2), 1956, pp. 95-110.
  • M. Jaggi, "Revisiting Frank-Wolfe: projection-free sparse convex optimization," ICML, 2013 (the modern machine-learning revival of the method).
4 thms5 active usersReviewed
🏆Completed
Linear OptimizationOperations ResearchOptimization+1·Captain: mikedeng1

Introduction to Stochastic Programming I: Convexity, Attainment and Optimality of the Two-Stage Recourse ProblemTextbook

Motivation

Two-stage stochastic linear programming with recourse models a decision made before uncertainty resolves (the first-stage variables xxx) followed by a corrective decision made after (the second-stage, or recourse, variables yyy). Solving such a program means minimizing cTx+Q(x)c^{\mathsf T}x + Q(x)cTx+Q(x), where Q(x)Q(x)Q(x) is the expected cost of the best recourse action given xxx -- an object defined only implicitly, as the value of an embedded linear program that must be solved (or bounded) for every realization of the uncertain data. Before any algorithm for this problem can be justified -- the L-shaped method, stochastic decomposition, scenario decomposition, all developed in later chapters of Birge & Louveaux, Introduction to Stochastic Programming (Springer, 2011) -- one needs to know that QQQ is well-behaved enough to optimize over at all: that the feasible region is closed and convex, that QQQ itself is a finite, Lipschitz, convex function on it, that an optimal solution is actually attained rather than only approached in the limit, and finally what an optimality condition for the resulting nonsmooth convex program even looks like. This mission formalizes exactly that foundational layer, Chapter 3, Section 3.1 of the book.

Setting

Fix natural numbers n1,n2,m1,m2n_1, n_2, m_1, m_2n1​,n2​,m1​,m2​ and a finite scenario count KKK. A two-stage recourse instance consists of first-stage data A∈Rm1×n1A \in \mathbb{R}^{m_1 \times n_1}A∈Rm1​×n1​, b∈Rm1b \in \mathbb{R}^{m_1}b∈Rm1​, c∈Rn1c \in \mathbb{R}^{n_1}c∈Rn1​, a fixed recourse matrix W∈Rm2×n2W \in \mathbb{R}^{m_2 \times n_2}W∈Rm2​×n2​, and, for each scenario k=1,…,Kk = 1,\dots,Kk=1,…,K, a cost vector qk∈Rn2q_k \in \mathbb{R}^{n_2}qk​∈Rn2​, a right-hand side hk∈Rm2h_k \in \mathbb{R}^{m_2}hk​∈Rm2​, a technology matrix Tk∈Rm2×n1T_k \in \mathbb{R}^{m_2 \times n_1}Tk​∈Rm2​×n1​, and a probability pk≥0p_k \ge 0pk​≥0 with ∑kpk=1\sum_k p_k = 1∑k​pk​=1 (Eq. (1.1)). The first-stage feasible region is K1={x∣Ax=b, x≥0}K_1 = \{x \mid Ax = b,\ x \ge 0\}K1​={x∣Ax=b, x≥0}.

For a fixed xxx and scenario kkk, the second-stage value is

Q(x,ξk)=min⁡y{qkTy∣Wy=hk−Tkx, y≥0}Q(x,\xi_k) = \min_{y}\{q_k^{\mathsf T}y \mid Wy = h_k - T_k x,\ y \ge 0\}Q(x,ξk​)=ymin​{qkT​y∣Wy=hk​−Tk​x, y≥0}

(Eq. (1.6)), taken as an extended real: +∞+\infty+∞ if no feasible yyy exists, −∞-\infty−∞ if the inner program is unbounded below. The expected recourse value is Q(x)=∑kpk Q(x,ξk)Q(x) = \sum_k p_k\, Q(x,\xi_k)Q(x)=∑k​pk​Q(x,ξk​) (Eq. (1.3)), combined so that +∞+(−∞)=+∞+\infty + (-\infty) = +\infty+∞+(−∞)=+∞ -- the book's own convention (p. 109): infeasibility in one scenario is treated as fatal even if another scenario is unboundedly favorable. The second-stage feasibility set is K2={x∣Q(x)<∞}K_2 = \{x \mid Q(x) < \infty\}K2​={x∣Q(x)<∞}, and the deterministic-equivalent objective is z(x)=cTx+Q(x)z(x) = c^{\mathsf T}x + Q(x)z(x)=cTx+Q(x) (Eq. (1.2)). For xxx with Q(x)Q(x)Q(x) finite, the subdifferential ∂Q(x)\partial Q(x)∂Q(x) is the set of η\etaη satisfying Q(x)+ηT(y−x)≤Q(y)Q(x) + \eta^{\mathsf T}(y-x) \le Q(y)Q(x)+ηT(y−x)≤Q(y) for every yyy (p. 115).

A simple-recourse instance is the special case W=[I,−I]W = [I,-I]W=[I,−I]: the recourse cost splits as q=(q+,q−)q = (q^+,q^-)q=(q+,q−), and Q(x)Q(x)Q(x) decomposes componentwise via the closed form of Eq. (1.9)-(1.10) using the (left- and right-limit) distribution functions Fi−,Fi+F_i^-, F_i^+Fi−​,Fi+​ of each hih_ihi​.

Formalization targets

Goal -- Chapter 3, Theorem 9 (p. 116)

x∗∈K1 is optimal in (1.2)  ⟺  ∃ λ∗∈Rm1, μ∗∈R≥0n1, (μ∗)Tx∗=0,  s.t. −c+ATλ∗+μ∗∈∂Q(x∗),x^* \in K_1 \text{ is optimal in (1.2)} \iff \exists\, \lambda^* \in \mathbb{R}^{m_1},\ \mu^* \in \mathbb{R}^{n_1}_{\ge 0},\ (\mu^*)^{\mathsf T}x^* = 0,\ \text{ s.t. } -c + A^{\mathsf T}\lambda^* + \mu^* \in \partial Q(x^*),x∗∈K1​ is optimal in (1.2)⟺∃λ∗∈Rm1​, μ∗∈R≥0n1​​, (μ∗)Tx∗=0,  s.t. −c+ATλ∗+μ∗∈∂Q(x∗),

given that (1.2) has a finite optimal value. This is the KKT-style necessary and sufficient optimality condition for the two-stage recourse LP, and the weakest of the mission's targets in the sense that everything else supports it: convexity and finiteness of QQQ (Theorem 6) are what make the left-to-right implication meaningful, closedness/convexity of K2K_2K2​ (Theorem 5) makes the feasible region well-posed, and attainment (Theorem 8) is what makes "x∗x^*x∗ is optimal" a statement about a point that exists rather than an infimum that may not be reached.

Supporting milestones

  • Theorem 5(a) (p. 111): K2K_2K2​ is closed and convex.
  • Theorem 6(a) (p. 112): QQQ is finite on K2K_2K2​, and Lipschitzian and convex there.
  • Theorem 8 (p. 115): under boundedness of K1∩K2K_1 \cap K_2K1​∩K2​ or eventual linearity of QQQ along recession directions, a finite optimal value is attained.
  • Corollary 10 (p. 116): Theorem 9 specialized to simple recourse, with ∂Q(x∗)\partial Q(x^*)∂Q(x∗) replaced by its explicit componentwise description.

Significance

Theorem 9 is the hinge on which the rest of the book's algorithmic chapters turn. The L-shaped method (Chapter 5) is a cutting-plane scheme whose cuts are literally elements of ∂Q(x)\partial Q(x)∂Q(x); stochastic decomposition and sampling-based methods use the same subdifferential structure with estimated cuts; the differentiable specialization (Eq. (1.14), c+∇Q(x∗)=ATλ∗+μ∗c + \nabla Q(x^*) = A^{\mathsf T}\lambda^* + \mu^*c+∇Q(x∗)=ATλ∗+μ∗) underlies nonlinear-programming approaches to the smooth case. None of this is meaningful without first knowing QQQ is convex, finite where it needs to be, and that a minimizer exists to characterize. Formalizing this mission's four milestones from the actual definition of QQQ as an embedded linear program's value -- rather than assuming these properties -- is exactly the content the book itself proves (or, for Theorem 6, explicitly cites to Wets [1972] and Kall [1976] rather than proving); this mission asks for genuine Lean proofs of Theorems 5, 8, 9 and Corollary 10 from the LP structure of QQQ, and records Theorem 6 as a stated (not re-derived) input, matching the book's own presentation.

Difficulty

The obvious shortcut is to treat QQQ as an opaque convex function and apply a textbook convex-KKT theorem off the shelf. This fails to capture what Theorem 9 actually is: a statement about the specific function Q(x)=∑kpkmin⁡y{qkTy∣Wy=hk−Tkx, y≥0}Q(x) = \sum_k p_k \min_y\{q_k^{\mathsf T}y \mid Wy = h_k - T_k x,\ y \ge 0\}Q(x)=∑k​pk​miny​{qkT​y∣Wy=hk​−Tk​x, y≥0}, built from finitely many parametric linear programs, each of which can be infeasible (Q(x,ξk)=+∞Q(x,\xi_k) = +\inftyQ(x,ξk​)=+∞) or unbounded (Q(x,ξk)=−∞Q(x,\xi_k) = -\inftyQ(x,ξk​)=−∞) depending on xxx. Convexity of QQQ must come from convexity of the value function of a parametric LP in its right-hand side (the book's Theorem 2 argument: a convex combination of optimal solutions at two right-hand sides is feasible, hence suboptimal, at the combined right-hand side) -- not from an assumed hypothesis. Handling ±∞\pm\infty±∞ correctly is a second, easy-to-miss source of error: the book fixes an explicit, non-default convention (+∞+\infty+∞ dominates −∞-\infty−∞) for combining per-scenario values, the opposite of the convention Mathlib's own extended-real arithmetic uses, so any formalization that reaches for EReal's built-in addition to aggregate QQQ silently states a different theorem. Theorem 8's attainment condition is a genuine existence result, not an automatic consequence of convexity: continuity alone does not give attainment on an unbounded feasible region, and the book's own counterexample (Eq. (1.11), a negative-exponential tail with infimum 000 attained by no finite xxx) shows the boundedness/recession hypotheses are load-bearing.

Formalization scope

The scenario set is modeled as Fin K, a finite discrete random variable, matching Section 3.1b's development; under this model "ξ\xiξ has finite second moments" (the standing hypothesis of Theorems 4-11 in the general, possibly-continuous case) holds automatically and so does not appear as a separate hypothesis anywhere in this mission. Q(x,\xi_k) is defined as an EReal via sInf of the second-stage LP's feasible objective values -- sInf of the empty set is ⊤, and of a set unbounded below is ⊥ -- and is genuinely derived from that inner minimization rather than assumed convex; this rules out the chapter's trivializing formalization, which the paper-level triage explicitly warns against: taking Q(x) as an opaque convex-function hypothesis instead of deriving its properties from the inner LP's structure. Aggregating the KKK per-scenario values into Q(x)Q(x)Q(x) uses a bespoke bookAdd operation implementing the book's stated convention +∞+(−∞)=+∞+\infty+(-\infty)=+\infty+∞+(−∞)=+∞, since Mathlib's EReal addition is defined with the opposite convention (⊥+⊤=⊤+⊥=⊥\bot+\top=\top+\bot=\bot⊥+⊤=⊤+⊥=⊥). ∂Q(x)\partial Q(x)∂Q(x) is the ordinary subgradient-inequality set for this extended-real-valued function.

Theorem 8's condition (b) is stated with the book's own quantifier structure: the threshold λˉ\bar\lambdaλˉ and the recession value depend on the point xxx and direction vvv exactly as written, with no strengthening. Theorem 6(a)'s Lipschitz bound is stated, not derived -- the book itself cites it to Wets [1972] and Kall [1976] without proof -- so a faithful Lean proof of that milestone is expected to remain out of scope for this mission. Corollary 10 similarly takes the closed form of ∂Qi(x)\partial Q_i(x)∂Qi​(x) from Eq. (1.10) as a hypothesis on an abstract QQQ, matching how the book itself uses (1.10) as an already-established fact rather than re-deriving it from the second-stage LP in the corollary's own proof. Theorem 11's subdifferential-decomposition result (∂Q(x)=Eω[∂Q(x,ξ(ω))]+N(K2,x)\partial Q(x) = E_\omega[\partial Q(x,\xi(\omega))] + N(K_2,x)∂Q(x)=Eω​[∂Q(x,ξ(ω))]+N(K2​,x)) is deliberately left out of this mission's scope: it is not needed by Theorem 9's own proof, and its normal-cone term would require relatively-complete-recourse machinery this mission does not otherwise need. No prior-art match was found on the platform: VectorSpaceOpt.fenchel_duality and the Luenberger-derived VectorSpaceOpt.generalized_kuhn_tucker / kkt_complementary_slackness family use a differentiable (Gateaux-derivative) or conjugate-function KKT model over general normed spaces, not this chapter's finite-dimensional, possibly-nondifferentiable subgradient formulation over the specific polyhedral set K1K_1K1​, so none is a faithful match and all items here are original drafts.

Selected references

  • J.R. Birge and F. Louveaux, Introduction to Stochastic Programming, 2nd ed., Springer Series in Operations Research and Financial Engineering, Springer, 2011. https://doi.org/10.1007/978-1-4614-0237-4
  • R.J-B. Wets, "Programming Under Uncertainty: The Equivalent Convex Program," SIAM Journal on Applied Mathematics 14 (1966), 89-105 (Lipschitz continuity of the recourse function, cited by the book as Wets [1972] for the closely related result used in Theorem 6). https://doi.org/10.1137/0114008
  • D.P. Walkup and R.J-B. Wets, "Stochastic Programs with Recourse," SIAM Journal on Applied Mathematics 15 (1967), 1299-1314 (finiteness of the recourse function and coincidence of the possibility and expectation feasibility sets, underlying Proposition 3 and Theorem 4). https://doi.org/10.1137/0115113
9 thms5 active usersReviewed
🏆Completed
Operations ResearchOptimization·Captain: Shuze Chen

Convex Optimization III: Conic Duality and the S-procedureTextbook

Two quadratic functions can be compared losslessly. The S-procedure says that, when the constraint is strictly feasible, the implication

q1(x)≤0  ⟹  q2(x)≤0,qk(x)=xTFkx+2gkTx+hk,q_1(x) \le 0 \;\Longrightarrow\; q_2(x) \le 0, \qquad q_k(x) = x^{T}F_k x + 2g_k^{T}x + h_k,q1​(x)≤0⟹q2​(x)≤0,qk​(x)=xTFk​x+2gkT​x+hk​,

holds if and only if a single nonnegative multiplier certifies it as a matrix inequality, λ[F1g1g1Th1]⪰[F2g2g2Th2]\lambda \begin{bmatrix} F_1 & g_1 \\ g_1^{T} & h_1\end{bmatrix} \succeq \begin{bmatrix} F_2 & g_2 \\ g_2^{T} & h_2\end{bmatrix}λ[F1​g1T​​g1​h1​​]⪰[F2​g2T​​g2​h2​​] for some λ≥0\lambda \ge 0λ≥0. It is a cornerstone of control theory, trust-region methods and robust optimization, and a rare case in which a nonconvex problem has zero duality gap. The route runs through the theory this mission builds from Boyd & Vandenberghe §5.8–5.9 and Appendix B: strong alternatives for convex inequality systems, cone-program strong duality under a generalized Slater condition, semidefinite programming duality, the LMI theorems of alternatives, and the hidden convexity of the joint range of two quadratic forms.

17 thms5 active usersReviewed
🏆Completed
Operations ResearchOptimization·Captain: Shuze Chen

Convex Optimization I: Prékopa's TheoremTextbook

Log-concave functions are the meeting point of convex analysis and probability: densities of Gaussian, exponential, uniform and Wishart distributions are all log-concave, and countless facts of applied probability flow from one structural theorem — integrating out variables preserves log-concavity. This mission builds the convex-analysis spine of Boyd & Vandenberghe's Convex Optimization (Chapters 2–3) — separation and supporting hyperplanes, dual cones, the first- and second-order differential characterizations of convexity, Fenchel conjugacy — and climbs to Prékopa's theorem via the Prékopa–Leindler inequality, a landmark of Brunn–Minkowski theory absent from Mathlib.

29 thms5 active usersReviewed
🏆Completed
Linear algebraOptimization·Captain: mikedeng1

Phase Recovery, MaxCut and Complex Semidefinite Programming 2: If Weak PhaseLift Is C-Stable at x₀, Then PhaseCut Is (2C + 2√2 + 1)-Stable at x₀Research Paper

Phase recovery and its two convex relaxations

Phase recovery asks to reconstruct a complex signal x0∈Cpx_0 \in \mathbb{C}^px0​∈Cp from the moduli of linear measurements, b=∣Ax0∣∈Rnb = |Ax_0| \in \mathbb{R}^nb=∣Ax0​∣∈Rn, where A∈Cn×pA \in \mathbb{C}^{n\times p}A∈Cn×p is known. The problem arises in X-ray crystallography, diffraction imaging and microscopy, where detectors record intensities but not phases (Shechtman et al., 2015). Since the map x↦∣Ax∣x \mapsto |Ax|x↦∣Ax∣ is not linear, the problem is non-convex, and a line of work since 2011 replaces it by semidefinite programs over Hermitian matrices.

Two such relaxations are compared in this mission. PhaseLift (Candès, Strohmer and Voroninski, 2013) lifts xxx to X=xx∗X = xx^*X=xx∗ and asks for a positive semidefinite XXX with Tr⁡(aiai∗X)=bi2\operatorname{Tr}(a_ia_i^*X) = b_i^2Tr(ai​ai∗​X)=bi2​; its trace-free version is called Weak PhaseLift. PhaseCut (Waldspurger, d'Aspremont and Mallat, 2015) separates amplitude and phase, Ax=diag⁡(b)uAx = \operatorname{diag}(b)uAx=diag(b)u with ∣ui∣=1|u_i| = 1∣ui​∣=1, and relaxes the resulting complex MaxCut-type problem to a semidefinite program in a Hermitian matrix UUU with unit diagonal. In the noiseless case the two relaxations are equivalent (Corollary 4.3 of that paper). This mission formalizes the paper's comparison of the two in the presence of noise: Theorem 4.7 and the two lemmas of Appendix A behind it.

Setting

Write Hn\mathbf{H}_nHn​ for the Hermitian n×nn \times nn×n complex matrices and Hn+\mathbf{H}_n^+Hn+​ for the positive semidefinite ones. Let P=AA†P = AA^\daggerP=AA† be the orthogonal projector onto the range R(A)\mathcal{R}(A)R(A), with A†A^\daggerA† the Moore–Penrose pseudoinverse. Define the face

F={V∈Hn:x∗Vx=0 for all x∈R(A)⊥},\mathcal{F} = \{V \in \mathbf{H}_n : x^*Vx = 0 \text{ for all } x \in \mathcal{R}(A)^\perp\},F={V∈Hn​:x∗Vx=0 for all x∈R(A)⊥},

the affine section Hb={V∈Hn:Vii=bi2, i=1,…,n}\mathcal{H}_b = \{V \in \mathbf{H}_n : V_{ii} = b_i^2,\ i = 1,\dots,n\}Hb​={V∈Hn​:Vii​=bi2​, i=1,…,n}, and the trace-norm distance d1(V,F)=inf⁡W∈F∥V−W∥1d_1(V,\mathcal{F}) = \inf_{W\in\mathcal{F}}\|V - W\|_1d1​(V,F)=infW∈F​∥V−W∥1​, where ∥X∥1=Tr⁡X∗X\|X\|_1 = \operatorname{Tr}\sqrt{X^*X}∥X∥1​=TrX∗X​.

After rescaling, PhaseCut minimizes Tr⁡(V(I−AA†))\operatorname{Tr}(V(I - AA^\dagger))Tr(V(I−AA†)) over V∈Hn+V \in \mathbf{H}_n^+V∈Hn+​ with diag⁡(V)=b2\operatorname{diag}(V) = b^2diag(V)=b2. By Lemma 4.1 this objective equals d1(V,F)d_1(V,\mathcal{F})d1​(V,F) for V⪰0V \succeq 0V⪰0, so PhaseCut is the projection problem

minimize d1(V,F)subject to V∈Hn+∩Hb.(13)\text{minimize } d_1(V,\mathcal{F}) \quad \text{subject to } V \in \mathbf{H}_n^+ \cap \mathcal{H}_b. \tag{13}minimize d1​(V,F)subject to V∈Hn+​∩Hb​.(13)

Weak PhaseLift, as solved by first-order methods with an ℓs\ell^sℓs distance (s≥1s \ge 1s≥1), is the projection problem in the other direction,

minimize (∑i∣Vii−bi2∣s)1/ssubject to V∈Hn+∩F.(14)\text{minimize } \Big(\sum_i |V_{ii} - b_i^2|^s\Big)^{1/s} \quad \text{subject to } V \in \mathbf{H}_n^+ \cap \mathcal{F}. \tag{14}minimize (i∑​∣Vii​−bi2​∣s)1/ssubject to V∈Hn+​∩F.(14)

Both aim at a point of Hn+∩F∩Hb\mathbf{H}_n^+\cap\mathcal{F}\cap\mathcal{H}_bHn+​∩F∩Hb​; PhaseCut starts from Hn+∩Hb\mathbf{H}_n^+\cap\mathcal{H}_bHn+​∩Hb​, Weak PhaseLift from Hn+∩F\mathbf{H}_n^+\cap\mathcal{F}Hn+​∩F.

Noise enters through b=∣Ax0∣+bnoiseb = |Ax_0| + b_{\rm noise}b=∣Ax0​∣+bnoise​ with bnoise∈Rnb_{\rm noise} \in \mathbb{R}^nbnoise​∈Rn. With ∥⋅∥2\|\cdot\|_2∥⋅∥2​ the Frobenius norm of a matrix and the Euclidean norm of a vector, an algorithm is CCC-stable at x0x_0x0​ (Definition 4.5) if, for every bnoiseb_{\rm noise}bnoise​ close enough to zero, every minimizer VVV of its problem satisfies

∥V−(Ax0)(Ax0)∗∥2≤C ∥Ax0∥2 ∥bnoise∥2.\|V - (Ax_0)(Ax_0)^*\|_2 \le C\,\|Ax_0\|_2\,\|b_{\rm noise}\|_2 .∥V−(Ax0​)(Ax0​)∗∥2​≤C∥Ax0​∥2​∥bnoise​∥2​.

Formalization targets

Goal: Theorem 4.7

For A≠0A \ne 0A=0, x0∈Cpx_0 \in \mathbb{C}^px0​∈Cp, C>0C > 0C>0 and s≥1s \ge 1s≥1:

Weak PhaseLift is C-stable at x0  ⟹  PhaseCut is (2C+22+1)-stable at x0.\text{Weak PhaseLift is } C\text{-stable at } x_0 \;\Longrightarrow\; \text{PhaseCut is } (2C + 2\sqrt{2} + 1)\text{-stable at } x_0 .Weak PhaseLift is C-stable at x0​⟹PhaseCut is (2C+22​+1)-stable at x0​.

Milestones

  1. Lemma 4.1: Tr⁡(V(I−AA†))=d1(V,F)\operatorname{Tr}(V(I - AA^\dagger)) = d_1(V,\mathcal{F})Tr(V(I−AA†))=d1​(V,F) for every V⪰0V \succeq 0V⪰0.
  2. (21): with V/ ⁣/=PVPV^{/\!/} = PVPV//=PVP and V⊥=(I−P)V(I−P)V^\perp = (I-P)V(I-P)V⊥=(I−P)V(I−P), ∥V−V/ ⁣/∥22≤(2Tr⁡V/ ⁣/Tr⁡V⊥+Tr⁡V⊥)2\|V - V^{/\!/}\|_2^2 \le (\sqrt2\sqrt{\operatorname{Tr}V^{/\!/}}\sqrt{\operatorname{Tr}V^\perp} + \operatorname{Tr}V^\perp)^2∥V−V//∥22​≤(2​TrV//​TrV⊥​+TrV⊥)2 for V⪰0V \succeq 0V⪰0.
  3. The bound cited as (22): a minimizer VPCV_{PC}VPC​ of (13) for b=∣Ax0∣+bn,PCb = |Ax_0| + b_{n,PC}b=∣Ax0​∣+bn,PC​ has Tr⁡VPC⊥≤∥bn,PC∥22\operatorname{Tr}V_{PC}^\perp \le \|b_{n,PC}\|_2^2TrVPC⊥​≤∥bn,PC​∥22​.
  4. Trace split: Tr⁡V=Tr⁡V/ ⁣/+Tr⁡V⊥\operatorname{Tr}V = \operatorname{Tr}V^{/\!/} + \operatorname{Tr}V^\perpTrV=TrV//+TrV⊥.
  5. Lemma A.2: with bn,PL,i=(VPC/ ⁣/)ii−∣Ax0∣ib_{n,PL,i} = \sqrt{(V_{PC}^{/\!/})_{ii}} - |Ax_0|_ibn,PL,i​=(VPC//​)ii​​−∣Ax0​∣i​, ∥bn,PL∥2≤2∥bn,PC∥2\|b_{n,PL}\|_2 \le 2\|b_{n,PC}\|_2∥bn,PL​∥2​≤2∥bn,PC​∥2​.
  6. Lemma A.1: if moreover ∥bn,PC∥2≤∥Ax0∥2\|b_{n,PC}\|_2 \le \|Ax_0\|_2∥bn,PC​∥2​≤∥Ax0​∥2​ and ∥VPC−(Ax0)(Ax0)∗∥2>(2C+22+1)∥Ax0∥2∥bn,PC∥2\|V_{PC} - (Ax_0)(Ax_0)^*\|_2 > (2C+2\sqrt2+1)\|Ax_0\|_2\|b_{n,PC}\|_2∥VPC​−(Ax0​)(Ax0​)∗∥2​>(2C+22​+1)∥Ax0​∥2​∥bn,PC​∥2​, then ∥VPC/ ⁣/−(Ax0)(Ax0)∗∥2>2C∥Ax0∥2∥bn,PC∥2\|V_{PC}^{/\!/} - (Ax_0)(Ax_0)^*\|_2 > 2C\|Ax_0\|_2\|b_{n,PC}\|_2∥VPC//​−(Ax0​)(Ax0​)∗∥2​>2C∥Ax0​∥2​∥bn,PC​∥2​.
  7. VPC/ ⁣/V_{PC}^{/\!/}VPC//​ minimizes (14) for b=∣Ax0∣+bn,PLb = |Ax_0| + b_{n,PL}b=∣Ax0​∣+bn,PL​.

The constant 2C+22+12C + 2\sqrt2 + 12C+22​+1 is the paper's. The paper remarks that any D>2C+2D > 2C + \sqrt2D>2C+2​ would do, but that variant is printed without proof and is not a target.

Significance

The theorem says that PhaseCut is "almost as stable as" Weak PhaseLift: any stability guarantee proved for the lifted relaxation, such as the noisy recovery bounds of Candès and Li for Gaussian measurements (Candès and Li, 2014), carries over to PhaseCut with a constant of the same order. This justifies using PhaseCut, whose block-coordinate algorithms are cheap, with the stability theory developed for PhaseLift. The paper notes that the converse transfer does not seem to hold.

The result is proved in the paper. No part of it has a machine-checked proof that we know of. Formalizing it means proving the trace-norm identity of Lemma 4.1, which needs a Hölder-type bound ∣Tr⁡(XQ)∣≤∥X∥1|\operatorname{Tr}(XQ)| \le \|X\|_1∣Tr(XQ)∣≤∥X∥1​ for an orthogonal projector QQQ, the matrix Cauchy–Schwarz estimates of Appendix A, and the contradiction argument of Theorem 4.7, all for complex Hermitian matrices and an arbitrary, possibly non-injective, AAA.

Difficulty

The obvious argument transports a PhaseCut minimizer VPCV_{PC}VPC​ to a Weak PhaseLift minimizer, but VPCV_{PC}VPC​ is in general not in F\mathcal{F}F, and its compression VPC/ ⁣/V_{PC}^{/\!/}VPC//​ is not in Hb\mathcal{H}_bHb​ for the same noise. Two estimates are needed at once: the distance between VPCV_{PC}VPC​ and VPC/ ⁣/V_{PC}^{/\!/}VPC//​, and the size of the new noise vector bn,PLb_{n,PL}bn,PL​. Both rest on bounding Tr⁡VPC⊥\operatorname{Tr}V_{PC}^\perpTrVPC⊥​ by the squared noise, which uses the optimality of VPCV_{PC}VPC​ in (13) against a specific competitor, and on Lemma 4.1, whose printed proof is incomplete: the matrix it calls the projection of VVV onto F\mathcal{F}F is not the trace-norm projection in general, so the identity requires a separate lower bound.

Formalization scope

Matrices are Matrix (Fin n) (Fin p) ℂ, and signals are vectors Fin p → ℂ. AA†AA^\daggerAA† is the matrix of Mathlib's orthogonal projection onto LinearMap.range (toEuclideanLin A); no pseudoinverse is built. The trace norm is the published definition WildeQIT.traceNorm (Re⁡Tr⁡X∗X\operatorname{Re}\operatorname{Tr}\sqrt{X^*X}ReTrX∗X​), and d1d_1d1​ is a real infimum over a nonempty set bounded below by 000. Frobenius and Euclidean norms are written out as square roots of sums of squares. Diagonal entries and traces of Hermitian matrices are read through their real parts. Lemma 4.1 is stated in C\mathbb{C}C, so it also asserts that the trace is real. "Close enough to zero" is ∃ δ>0\exists\,\delta > 0∃δ>0, and stability quantifies every minimizer for every small noise.

The formal statements depart from the print in three places:

  • x0x_0x0​ lies in Cp\mathbb{C}^pCp. The page writes Cn\mathbb{C}^nCn, but Ax0Ax_0Ax0​ needs the column dimension.
  • A≠0A \ne 0A=0 is assumed. For A=0A = 0A=0 and n≥1n \ge 1n≥1 the printed theorem is false: F={0}\mathcal{F} = \{0\}F={0}, Weak PhaseLift is trivially stable, and (13) has nonzero minimizers while the bound forces zero. The proof itself works under A≠0A \neq 0A=0.
  • s≥1s \ge 1s≥1 is a parameter. The theorem is stated for each sss.

The case Ax0=0Ax_0 = 0Ax0​=0 is not excluded; there the hypothesis on Weak PhaseLift fails, as the paper notes. The milestones keep only the hypotheses their proofs use, listed in each statement.

A trivializing formalization would define the minimizer predicates so that no matrix satisfies them, or quantify the noise before δ\deltaδ. Here (13) and (14) both have minimizers (checked for n=p=1n = p = 1n=p=1), and δ\deltaδ precedes the noise.

Needed infrastructure: the trace norm and its duality with the operator norm on Hermitian matrices, compressions by orthogonal projectors, and Cauchy–Schwarz for positive semidefinite forms. These are reusable for other trace-norm and semidefinite-relaxation missions. Proofs of the milestones in any order are welcome, as are proofs of the general facts as separate lemmas.

Selected references

  • I. Waldspurger, A. d'Aspremont and S. Mallat, Phase recovery, MaxCut and complex semidefinite programming, Mathematical Programming 149 (2015); arXiv:1206.0102v3, 2013. https://arxiv.org/abs/1206.0102
  • E. J. Candès, T. Strohmer and V. Voroninski, PhaseLift: exact and stable signal recovery from magnitude measurements via convex programming, Communications on Pure and Applied Mathematics 66 (2013). https://arxiv.org/abs/1109.4499
  • E. J. Candès and X. Li, Solving quadratic equations via PhaseLift when there are about as many equations as unknowns, Foundations of Computational Mathematics 14 (2014). https://arxiv.org/abs/1208.6247
  • Y. Shechtman, Y. C. Eldar, O. Cohen, H. N. Chapman, J. Miao and M. Segev, Phase retrieval with application to optical imaging, IEEE Signal Processing Magazine 32 (2015). https://doi.org/10.1109/MSP.2014.2352673
10 thms4 active usersReviewed
🏆Completed
Machine LearningOptimization·Captain: mikedeng1

Linear Convergence of Gradient and Proximal-Gradient Methods Under the Polyak-Łojasiewicz Condition V: Under the Proximal-PL Inequality, Proximal-Gradient Converges at Rate (1 − μ/L)^kResearch Paper

Motivation

Many problems in machine learning and signal processing minimize a smooth loss plus a simple non-smooth regularizer: ℓ1\ell_1ℓ1​-regularized least squares, group-sparse regression, and constrained problems written with an indicator function. The standard algorithm for this composite form is the proximal-gradient method, a gradient step on the smooth part followed by a proximal step on the regularizer. Its classical linear convergence guarantee needs the smooth part to be strongly convex, a hypothesis that fails for ℓ1\ell_1ℓ1​-regularized least squares with fewer observations than variables and for most problems of interest without explicit ℓ2\ell_2ℓ2​ regularization.

For smooth problems the Polyak–Łojasiewicz (PL) inequality 12∥∇f(x)∥2≥μ(f(x)−f∗)\tfrac12\|\nabla f(x)\|^2 \ge \mu(f(x) - f^*)21​∥∇f(x)∥2≥μ(f(x)−f∗) gives a linear rate for gradient descent without convexity (Polyak 1963). Karimi, Nutini and Schmidt (arXiv:1608.04636, ECML PKDD 2016) propose a generalization to the composite setting, the proximal-PL inequality, under which the proximal-gradient method converges linearly with a one-paragraph proof. They show that it contains the PL case, the strongly convex case, and convex objectives with quadratic growth, and that it is equivalent to the Kurdyka–Łojasiewicz inequality (Bolte, Nguyen, Peypouquet, Suter 2017) and to the proximal error bound used earlier by Luo, Tseng and Drusvyatskiy–Lewis.

Timeline:

  • 1963: Polyak proves linear convergence of gradient descent under the PL inequality.
  • 1993: Luo and Tseng prove linear convergence of feasible descent methods under an error bound.
  • 2015–2016: Bolte et al. and Li–Pong obtain linear rates of proximal gradient under the KL inequality; Drusvyatskiy and Lewis relate error bounds and quadratic growth (arXiv:1602.06661).
  • 2016: Karimi, Nutini and Schmidt introduce the proximal-PL inequality and Theorem 5.

Setting

Let f,g:Rd→Rf, g : \mathbb R^d \to \mathbb Rf,g:Rd→R and consider problem (11),

min⁡x∈RdF(x)=f(x)+g(x).\min_{x \in \mathbb R^d} F(x) = f(x) + g(x).x∈Rdmin​F(x)=f(x)+g(x).

The function fff is differentiable with an LLL-Lipschitz gradient, ∥∇f(x)−∇f(y)∥≤L∥x−y∥\|\nabla f(x) - \nabla f(y)\| \le L\|x - y\|∥∇f(x)−∇f(y)∥≤L∥x−y∥ with L>0L > 0L>0. The function ggg is convex. FFF has a minimizer x∗x^*x∗, and F∗=F(x∗)F^* = F(x^*)F∗=F(x∗).

For a base point xxx and a parameter α>0\alpha > 0α>0, the proximal model is

mx,α(y)=⟨∇f(x),y−x⟩+α2∥y−x∥2+g(y)−g(x),m_{x,\alpha}(y) = \langle \nabla f(x), y - x\rangle + \frac{\alpha}{2}\|y - x\|^2 + g(y) - g(x),mx,α​(y)=⟨∇f(x),y−x⟩+2α​∥y−x∥2+g(y)−g(x),

and the paper's measure of non-stationarity is

Dg(x,α)=−2αmin⁡ymx,α(y).(13)\mathcal D_g(x, \alpha) = -2\alpha \min_{y} m_{x,\alpha}(y). \tag{13}Dg​(x,α)=−2αymin​mx,α​(y).(13)

FFF satisfies the proximal-PL inequality with modulus μ>0\mu > 0μ>0 if

12 Dg(x,L)≥μ(F(x)−F∗)for all x.(12)\tfrac12\,\mathcal D_g(x, L) \ge \mu\bigl(F(x) - F^*\bigr) \quad \text{for all } x. \tag{12}21​Dg​(x,L)≥μ(F(x)−F∗)for all x.(12)

When ggg is constant, Dg(x,α)=∥∇f(x)∥2\mathcal D_g(x, \alpha) = \|\nabla f(x)\|^2Dg​(x,α)=∥∇f(x)∥2 and (12) is the PL inequality.

The proximal-gradient method with step size 1/L1/L1/L starts at an arbitrary x0x_0x0​ and sets

xk+1∈argmin⁡ymxk,L(y).(14)x_{k+1} \in \operatorname*{argmin}_y m_{x_k, L}(y). \tag{14}xk+1​∈yargmin​mxk​,L​(y).(14)

The proximal residual function of Appendix E is Rg(λ,x,a)=min⁡y[∥λ(y−x)+a∥2+2λ(g(y)−g(x))]\mathcal R_g(\lambda, x, a) = \min_y [\|\lambda(y - x) + a\|^2 + 2\lambda(g(y) - g(x))]Rg​(λ,x,a)=miny​[∥λ(y−x)+a∥2+2λ(g(y)−g(x))].

Formalization targets

Goal: Theorem 5 (p. 8)

Under the hypotheses above,

F(xk)−F∗≤(1−μL)k[F(x0)−F∗]for every k≥0.F(x_k) - F^* \le \Bigl(1 - \frac{\mu}{L}\Bigr)^k \bigl[F(x_0) - F^*\bigr] \qquad \text{for every } k \ge 0.F(xk​)−F∗≤(1−Lμ​)k[F(x0​)−F∗]for every k≥0.

Milestones (proof of Theorem 5)

  1. The quadratic upper bound (2), p. 2: an LLL-Lipschitz gradient gives f(y)≤f(x)+⟨∇f(x),y−x⟩+L2∥y−x∥2f(y) \le f(x) + \langle\nabla f(x), y - x\rangle + \frac L2\|y - x\|^2f(y)≤f(x)+⟨∇f(x),y−x⟩+2L​∥y−x∥2.
  2. Descent by Dg\mathcal D_gDg​, p. 9: if x+x^+x+ minimizes mx,Lm_{x,L}mx,L​, then F(x+)≤F(x)−12LDg(x,L)F(x^+) \le F(x) - \frac{1}{2L}\mathcal D_g(x, L)F(x+)≤F(x)−2L1​Dg​(x,L).
  3. The one-step contraction (15), p. 9: F(x+)−F∗≤(1−μ/L)[F(x)−F∗]F(x^+) - F^* \le (1 - \mu/L)[F(x) - F^*]F(x+)−F∗≤(1−μ/L)[F(x)−F∗].

Companion results

  • Lemma 2 (p. 17): for convex ggg, Rg(⋅,x,a)\mathcal R_g(\cdot, x, a)Rg​(⋅,x,a) is non-increasing on (0,∞)(0, \infty)(0,∞).
  • Lemma 1 = Corollary 1 (p. 17): Dg(x,μ2)≥Dg(x,μ1)\mathcal D_g(x, \mu_2) \ge \mathcal D_g(x, \mu_1)Dg​(x,μ2​)≥Dg​(x,μ1​) for μ2≥μ1>0\mu_2 \ge \mu_1 > 0μ2​≥μ1​>0.
  • Appendix F, item 1 (p. 18): for constant ggg, Dg(x,α)=∥∇f(x)∥2\mathcal D_g(x, \alpha) = \|\nabla f(x)\|^2Dg​(x,α)=∥∇f(x)∥2, and proximal-PL is PL.
  • Appendix F, item 2 (p. 18): for μ\muμ-strongly convex fff, F∗≥F(x)−12μDg(x,μ)F^* \ge F(x) - \frac{1}{2\mu}\mathcal D_g(x, \mu)F∗≥F(x)−2μ1​Dg​(x,μ).
  • Appendix F, item 4 (p. 19): for convex fff and FFF with quadratic growth of modulus μ\muμ, Dg(x,μ/2)≥μ2(F(x)−F∗)\mathcal D_g(x, \mu/2) \ge \frac{\mu}{2}(F(x) - F^*)Dg​(x,μ/2)≥2μ​(F(x)−F∗).
  • Two well-definedness statements: for convex ggg and a positive parameter, the minima in (13) and (27) are attained.

Significance

Theorem 5 gives a global linear rate for the proximal-gradient method under a hypothesis that does not require strong convexity, or convexity of fff. Through the classes of Section 4.1 it covers ℓ1\ell_1ℓ1​-regularized least squares, the composite strongly convex case, and convex composite problems with quadratic growth. The quantity Dg\mathcal D_gDg​ also drives the analysis of proximal coordinate descent (Theorem 6, mission VI of this series), and Lemma 1 is what lets the sufficient conditions of Appendix F, which hold with Dg(x,λ)\mathcal D_g(x, \lambda)Dg​(x,λ) for λ≤L\lambda \le Lλ≤L, be used in (12).

The results are proved in the paper; none of them has a machine-checked proof that this mission knows of. The work here is to formalize the known proofs, including the properties of Dg\mathcal D_gDg​ and Rg\mathcal R_gRg​ that the paper uses without stating: the minimum in (13) exists, and the value is finite.

Difficulty

The proof of Theorem 5 is short; the difficulty sits in the objects. Dg\mathcal D_gDg​ is defined through a minimum over Rd\mathbb R^dRd of a function involving a non-smooth convex ggg, so every step that replaces the minimum by its value at a particular point needs the minimum to be finite and attained. The paper never states these facts, and they fail for an arbitrary ggg: for g(y)=−∥y∥2g(y) = -\|y\|^2g(y)=−∥y∥2 and α<2\alpha < 2α<2 the model is unbounded below and the minimum in (13) does not exist. The monotonicity of Dg\mathcal D_gDg​ in its second argument (Lemma 1) rests on the convexity inequality of ggg, and Appendix F item 4 relies on the projection onto the solution set, whose existence depends on that set being closed, convex and non-empty.

Formalization scope

  • Rd\mathbb R^dRd is EuclideanSpace ℝ (Fin d), ∇f\nabla f∇f is Mathlib's gradient f, and the Lipschitz hypothesis is written literally, ‖gradient f x - gradient f y‖ ≤ L * ‖x - y‖, with 0 < L.
  • The non-empty solution set is a point xstar with F xstar ≤ F y for all y; F∗F^*F∗ is f xstar + g xstar, never a free real.
  • ggg is real-valued and convex (ConvexOn ℝ Set.univ g). Indicator functions of convex sets, which the paper lists among its examples, take the value +∞+\infty+∞ and are outside this formalization; the formulas (13)–(15) subtract values of ggg, which is undefined at +∞+\infty+∞.
  • The minimum in (13) and (27) is a real infimum. A real infimum of a set that is unbounded below has the junk value 000 in Lean, so Dg(x,α)\mathcal D_g(x, \alpha)Dg​(x,α) is used only with α>0\alpha > 0α>0 and convex ggg, where the infimum is a minimum; this rules out the trivializing reading in which Dg\mathcal D_gDg​ vanishes and (12) becomes F≤F∗F \le F^*F≤F∗.
  • A proximal-gradient run is any sequence whose every step is a minimizer of the model; the minimizer is unique for convex ggg, but uniqueness is not assumed.
  • No relation between μ\muμ and LLL is assumed, as in the paper.
  • The PL predicate in Appendix F item 1 is the published ShiOptRates.PolyakLojasiewicz (the paper's (3) multiplied by 2), and (2) is the published ShiOptRates.QuadUpper.

Quadratic growth is stated with the distance to the solution set, dist⁡(x,X∗)\operatorname{dist}(x, \mathcal X^*)dist(x,X∗), which equals ∥x−xp∥\|x - x_p\|∥x−xp​∥ for the projection xpx_pxp​ the paper uses. Appendix F item 3 (Hoffman's bound with an unspecified constant θ(A,B)\theta(A, B)θ(A,B)) and the equivalences of Appendix G are not included.

Contributions of every kind are welcome: proofs of the milestones, of the companion lemmas, and reusable facts about Dg\mathcal D_gDg​ (finiteness, attainment, continuity in xxx) that other proximal-method missions can import.

Selected references

  • H. Karimi, J. Nutini, M. Schmidt, Linear Convergence of Gradient and Proximal-Gradient Methods Under the Polyak-Łojasiewicz Condition, ECML PKDD 2016; arXiv:1608.04636v4, 2020. https://arxiv.org/abs/1608.04636
  • B. T. Polyak, Gradient methods for minimizing functionals, USSR Computational Mathematics and Mathematical Physics 3(4), 1963. https://doi.org/10.1016/0041-5553(63)90382-3
  • Z.-Q. Luo, P. Tseng, Error bounds and convergence analysis of feasible descent methods: a general approach, Annals of Operations Research 46, 1993. https://doi.org/10.1007/BF02096261
  • J. Bolte, T. P. Nguyen, J. Peypouquet, B. W. Suter, From error bounds to the complexity of first-order descent methods for convex functions, Mathematical Programming 165, 2017. https://doi.org/10.1007/s10107-016-1091-6
  • D. Drusvyatskiy, A. S. Lewis, Error bounds, quadratic growth, and linear convergence of proximal methods, Mathematics of Operations Research 43(3), 2018. https://arxiv.org/abs/1602.06661
  • G. Li, T. K. Pong, Calculus of the exponent of Kurdyka–Łojasiewicz inequality and its applications to linear convergence of first-order methods, Foundations of Computational Mathematics 18, 2018. https://arxiv.org/abs/1602.02915
7 thms4 active usersReviewed
🏆Completed
Computational GeometryOptimization·Captain: mikedeng1

Rounding of Polytopes in the Real Number Model of Computation: Barycentric Coordinate Descent Finds a (1+ε)n-Rounding Ellipsoid of m Points in O(n(1/ε + ln n + ln ln m)) IterationsResearch Paper

Motivation

Many algorithms for convex bodies need the body to be well rounded: sandwiched between two concentric ellipsoids whose size ratio is controlled by the dimension. The ellipsoid method, volume and integration algorithms, and preconditioning for linear programming use such roundings. For a polytope given by its vertices a1,…,am∈Rna_1,\dots,a_m \in \mathbb{R}^na1​,…,am​∈Rn, John's theorem guarantees an ellipsoid EEE with

n−1E⊆conv⁡{a1,…,am}⊆E,n^{-1}E \subseteq \operatorname{conv}\{a_1,\dots,a_m\} \subseteq E,n−1E⊆conv{a1​,…,am​}⊆E,

the minimum-volume circumscribed (Löwner–John) ellipsoid scaled about its centre; for centrally symmetric sets the factor improves to n\sqrt nn​. The associated D-optimal design problem is a convex optimization problem. Khachiyan (1996) uses this connection to obtain a finite approximation algorithm.

Khachiyan shows that barycentric coordinate descent (BCD) computes a (1+ε)n(1+\varepsilon)n(1+ε)n-rounding in O(mn2(ε−1+ln⁡n+ln⁡ln⁡m))O(mn^2(\varepsilon^{-1} + \ln n + \ln\ln m))O(mn2(ε−1+lnn+lnlnm)) arithmetic operations. For fixed dimension and tolerance, this is linear in the number of points; the iteration bound depends on that number only through ln⁡ln⁡m\ln\ln mlnlnm. Khachiyan (1996)

The paper builds on the Kiefer–Wolfowitz optimality conditions (1960). Later work revisits the method's complexity and variants; see Todd and Yıldırım (2007).

Setting

Let a1,…,am∈Rna_1,\dots,a_m \in \mathbb{R}^na1​,…,am​∈Rn and let SSS be the unit simplex of weights p≥0p \ge 0p≥0, ∑ipi=1\sum_i p_i = 1∑i​pi​=1. For p∈Sp \in Sp∈S write

A(p)=∑i=1mpi aiaiT,F(p)=ln⁡det⁡A(p),wj(p)=ajTA(p)−1aj,A(p) = \sum_{i=1}^m p_i\, a_i a_i^{\mathsf T}, \qquad F(p) = \ln\det A(p), \qquad w_j(p) = a_j^{\mathsf T}A(p)^{-1}a_j ,A(p)=i=1∑m​pi​ai​aiT​,F(p)=lndetA(p),wj​(p)=ajT​A(p)−1aj​,

and let SF={p∈S∣det⁡A(p)>0}S_F = \{p \in S \mid \det A(p) > 0\}SF​={p∈S∣detA(p)>0}. Maximizing FFF over SSS is the D-optimal design problem (2.3); F∗F^*F∗ is its optimal value. A point p∈SFp \in S_Fp∈SF​ satisfies the ε\varepsilonε-relaxed optimality conditions (2.10) if wj(p)≤(1+ε)nw_j(p) \le (1+\varepsilon)nwj​(p)≤(1+ε)n for every jjj; the accuracy ε(p)=max⁡jwj(p)/n−1\varepsilon(p) = \max_j w_j(p)/n - 1ε(p)=maxj​wj​(p)/n−1 is the least such ε\varepsilonε.

The BCD method starts at p0=(1/m,…,1/m)p_0 = (1/m,\dots,1/m)p0​=(1/m,…,1/m) and repeats

pk+1=(1−τ) pk+τ er,τ=ε(pk)wr(pk)−1,p_{k+1} = (1-\tau)\,p_k + \tau\, e_r, \qquad \tau = \frac{\varepsilon(p_k)}{w_r(p_k) - 1},pk+1​=(1−τ)pk​+τer​,τ=wr​(pk​)−1ε(pk​)​,

where rrr is an index with largest wr(pk)w_r(p_k)wr​(pk​) and ere_rer​ is the rrrth vertex of SSS: it moves weight towards the worst-covered point by the exact line-search step.

For a centrally symmetric set (A=−A\mathcal A = -\mathcal AA=−A) the ellipsoid Ep={x∣xTA(p)−1x≤1}E_p = \{x \mid x^{\mathsf T}A(p)^{-1}x \le 1\}Ep​={x∣xTA(p)−1x≤1} is the candidate rounding. For a general set the method runs on the lift A′={±(aj;1)}⊂Rn+1\mathcal A' = \{\pm(a_j;1)\} \subset \mathbb{R}^{n+1}A′={±(aj​;1)}⊂Rn+1, and the rounding ellipsoid EEE is the intersection of 1+(1+ε)n Ep′\sqrt{1 + (1+\varepsilon)n}\,E'_p1+(1+ε)n​Ep′​ with the hyperplane {y=1}\{y = 1\}{y=1}, where Ep′E'_pEp′​ is the ellipsoid (3.4) of the block matrix with blocks ∑jpjajajT\sum_j p_j a_j a_j^{\mathsf T}∑j​pj​aj​ajT​, ∑jpjaj\sum_j p_j a_j∑j​pj​aj​ and 111, and pjp_jpj​ aggregates the weights of ±(aj;1)\pm(a_j;1)±(aj​;1).

Formalization targets

Goal: Theorem 2 (p. 317)

There is a universal constant CCC such that for every n≥1n \ge 1n≥1, every A={a1,…,am}\mathcal A = \{a_1,\dots,a_m\}A={a1​,…,am​} with affine hull Rn\mathbb{R}^nRn, every ε>0\varepsilon > 0ε>0 and every BCD run on A′\mathcal A'A′, some iterate pkp_kpk​ with

k≤C(n+1)(1ε+ln⁡(n+1)+ln⁡ln⁡(2m))k \le C(n+1)\Big(\frac1\varepsilon + \ln(n+1) + \ln\ln(2m)\Big)k≤C(n+1)(ε1​+ln(n+1)+lnln(2m))

meets the stopping test with ε′=nn+1ε\varepsilon' = \frac{n}{n+1}\varepsilonε′=n+1n​ε and yields an ellipsoid EEE with

[(1+ε)n]−1E⊆conv⁡(A)⊆E,[(1+\varepsilon)n]^{-1}E \subseteq \operatorname{conv}(\mathcal A) \subseteq E,[(1+ε)n]−1E⊆conv(A)⊆E,

the shrinking taken about the centre of EEE.

The centrally symmetric case: Theorem 1 (p. 314)

For centrally symmetric full-dimensional A\mathcal AA, n≥2n \ge 2n≥2: within C n(ε−1+ln⁡n+ln⁡ln⁡m)C\,n(\varepsilon^{-1} + \ln n + \ln\ln m)Cn(ε−1+lnn+lnlnm) iterations,

Epk⊆conv⁡(A)⊆(1+ε)n  Epk.E_{p_k} \subseteq \operatorname{conv}(\mathcal A) \subseteq \sqrt{(1+\varepsilon)n}\;E_{p_k}.Epk​​⊆conv(A)⊆(1+ε)n​Epk​​.

Milestones

Lemma 1 (∑jpjwj(p)=n\sum_j p_j w_j(p) = n∑j​pj​wj​(p)=n), existence of a maximizer, the line identity (2.6), the Kiefer–Wolfowitz conditions (2.9), Lemma 2(i)–(ii) (relaxed optimality gives value and rounding guarantees), Lemma 3 (the per-step increase and the gap bound), the three steps (2.25), (2.27) and the halving bound of the proof of Lemma 4, Lemma 4 (the iteration bound), the rank-one update of A(pk)−1A(p_k)^{-1}A(pk​)−1, Theorem 1, and Lemma 5 (from the lift back to A\mathcal AA). Three further items complete §4: Lemma 2(iii), the slicing property (4.1) and Theorem 3 (approximating the Löwner ellipsoid to relative volume accuracy ε\varepsilonε).

Significance

The result gives a rounding of a vertex-described polytope at nearly the cost of reading the input, using only rank-one updates; the same iteration approximates the minimum-volume enclosing ellipsoid, a basic primitive in statistics (D-optimal design, outlier detection), computational geometry (core sets) and convex optimization (initialization of interior-point and ellipsoid methods). The doubly logarithmic dependence on mmm is what makes the method practical for large point sets, and the analysis is the template for the later Frank–Wolfe-type analyses of minimum-volume ellipsoid algorithms.

The results are proved in the paper; none of them has a machine-checked proof. The platform has the Löwner–John ellipsoid itself (existence, uniqueness, John's nnn-rounding) and the concavity of ln⁡det⁡\ln\detlndet, but no algorithmic statement about it. This mission produces a verified iteration bound for a concrete method, together with the D-optimal design identities (Lemma 1, (2.6), (2.9)) and the rank-one update, which are reusable for any later formalization of optimal design or of Frank–Wolfe methods on the simplex.

Difficulty

The accuracy εk\varepsilon_kεk​ need not decrease at every step, so a bound based on per-step improvement in εk\varepsilon_kεk​ fails. The determinant objective and the geometric rounding condition are different quantities: controlling one must be shown to control the other, including the inner inclusion of the ellipsoid. For a general set, the lift changes the dimension and the relevant ellipsoid is a slice at y=1y=1y=1; the inner inclusion for this slice needs a separate geometric justification.

Formalization scope

Points are vectors Fin n → ℝ; A\mathcal AA is the range of a family a : Fin m → Fin n → ℝ (repetitions allowed). The definitions take any finite index, so they apply both to A\mathcal AA and to the lift, indexed by Fin m ⊕ Fin m. SSS is Mathlib's stdSimplex. FFF uses Real.log, which returns 000 rather than −∞-\infty−∞ on singular matrices, so every comparison of values of FFF is restricted to SFS_FSF​ and F∗F^*F∗ is the supremum over SFS_FSF​. Ellipsoids are the published LinearOptimization.ellipsoid; scaled ellipsoids about the origin use the pointwise scalar multiple, and shrinking a non-centred ellipsoid is the homothety about its centre.

Standing assumptions are hypotheses: in §2, central symmetry (2.1), full dimension (2.2) and n≥2n \ge 2n≥2 (p. 309); in §3, full dimension (3.1) and n≥1n \ge 1n≥1. Items that do not need them drop them. The BCD run is a predicate on sequences that allows any maximizing index at every step, with no tolerance parameter; the tolerance enters only through the stopping test.

Each O(⋅)O(\cdot)O(⋅) is a universal constant C>0C > 0C>0 quantified before the dimension, the points, ε\varepsilonε and the run. The paper counts arithmetic operations; the formal statements bound the index of an iterate meeting the stopping test, and the O(nm)O(nm)O(nm) cost per iteration and the O(mn2)O(mn^2)O(mn2) initialization are not formalized. The goal's bound is stated in the lifted parameters (n+1,2m)(n+1, 2m)(n+1,2m), which agrees with the page's up to the constant and stays positive at n=1n = 1n=1.

The goal assumes nothing about the run beyond its definition: the stopping test, the positive definiteness of A(pk)A(p_k)A(pk​), the rounding inclusions and the iteration bound are all conclusions. A statement in which the constant may depend on the instance, or in which a shrunken ellipsoid is scaled about the origin, would be a different, trivial or false, theorem.

Contributions welcome: the determinant and inverse identities ((2.6), Lemma 1, the rank-one update) are self-contained linear algebra; Lemma 2 needs the KKT characterisation of the minimum-volume ellipsoid; Lemma 5 is finite-dimensional convex geometry.

Selected references

  • L. G. Khachiyan, Rounding of polytopes in the real number model of computation, Mathematics of Operations Research 21(2):307–320, 1996. https://doi.org/10.1287/moor.21.2.307
  • J. Kiefer, J. Wolfowitz, The equivalence of two extremum problems, Canadian Journal of Mathematics 12:363–366, 1960. https://doi.org/10.4153/CJM-1960-030-4
  • L. G. Khachiyan, M. J. Todd, On the complexity of approximating the maximal inscribed ellipsoid for a polytope, Mathematical Programming 61:137–159, 1993. https://doi.org/10.1007/BF01582144
  • M. J. Todd, E. A. Yıldırım, On Khachiyan's algorithm for the computation of minimum-volume enclosing ellipsoids, Discrete Applied Mathematics 155:1731–1744, 2007. https://doi.org/10.1016/j.dam.2007.02.013
21 thms4 active usersReviewed
🏆Completed
Operations ResearchOptimizationStochastic Systems·Captain: mikedeng1

Loss Networks 2: The Erlang Fixed Point Is E_j = 1 − exp(−y_j) for the Unique Optimum y of the Strictly Convex Revised Dual ProblemResearch Paper

Motivation

A loss network is a model of a circuit-switched network: telephone networks, and more generally any system in which a request seizes several resources at once and is lost if any of them is unavailable. Exact loss probabilities in such networks are given by a product-form distribution over a state space whose size grows exponentially with the number of routes, so practitioners compute an approximation instead: the Erlang fixed point, also called the reduced-load approximation. It pretends that links block independently, computes the traffic offered to each link after thinning by the other links, and applies Erlang's single-link formula link by link. Reduced-load approximations of this kind recur throughout §§3–4 of Kelly 1991, where they appear as limits of networks with fixed and with alternative routing.

An approximation defined by a fixed point equation raises an immediate question: does the equation have exactly one solution? Under fixed routing it does, and Kelly's Theorem 3.7 (Ann. Appl. Probab. 1991, p. 338, citing Kelly 1986, reference [33] of the paper) proves it by identifying the fixed point with the optimum of a strictly convex program, the revised dual problem. The convex characterization is specific to fixed routing; the paper notes (p. 337) that for networks with dynamic routing and control nonuniquely determined behaviour can occur.

Setting

There are JJJ links, link jjj having Cj≥1C_j \ge 1Cj​≥1 circuits, and a finite set of routes rrr. A call on route rrr uses Ajr∈Z+A_{jr} \in \mathbb Z_+Ajr​∈Z+​ circuits of link jjj, and calls on route rrr arrive as a Poisson stream of rate νr>0\nu_r > 0νr​>0.

Erlang's formula (1.1) gives the blocking probability of a single link with CCC circuits offered Poisson traffic of intensity ν\nuν:

E(ν,C)=νCC![∑n=0Cνnn!]−1.E(\nu, C) = \frac{\nu^C}{C!}\Big[\sum_{n=0}^{C} \frac{\nu^n}{n!}\Big]^{-1}.E(ν,C)=C!νC​[n=0∑C​n!νn​]−1.

The Erlang fixed point equations (3.1)–(3.2) for the vector of link blocking probabilities (E1,…,EJ)(E_1, \dots, E_J)(E1​,…,EJ​) are

Ej=E(ρj,Cj),ρj=(1−Ej)−1∑rAjr νr∏i(1−Ei)Air,j=1,…,J.E_j = E(\rho_j, C_j), \qquad \rho_j = (1 - E_j)^{-1} \sum_r A_{jr}\,\nu_r \prod_i (1 - E_i)^{A_{ir}}, \qquad j = 1, \dots, J.Ej​=E(ρj​,Cj​),ρj​=(1−Ej​)−1r∑​Ajr​νr​i∏​(1−Ei​)Air​,j=1,…,J.

The utilization function U(y,C)U(y, C)U(y,C) is defined by the implicit relation (3.4),

U(−log⁡(1−E(ν,C)), C)=ν (1−E(ν,C)),ν≥0:U\big(-\log(1 - E(\nu, C)),\, C\big) = \nu\,\big(1 - E(\nu, C)\big), \qquad \nu \ge 0:U(−log(1−E(ν,C)),C)=ν(1−E(ν,C)),ν≥0:

the mean number of busy circuits on a single link whose blocking probability is 1−e−y1 - e^{-y}1−e−y.

The revised dual problem (3.5) is

minimize∑rνrexp⁡(−∑jyjAjr)+∑j∫0yjU(z,Cj) dzsubject to y≥0,\text{minimize} \quad \sum_r \nu_r \exp\Big(-\sum_j y_j A_{jr}\Big) + \sum_j \int_0^{y_j} U(z, C_j)\,dz \qquad \text{subject to } y \ge 0,minimizer∑​νr​exp(−j∑​yj​Ajr​)+j∑​∫0yj​​U(z,Cj​)dzsubject to y≥0,

and its stationarity conditions (3.6) are

∑rAjr νrexp⁡(−∑iyiAir)=U(yj,Cj),j=1,…,J.\sum_r A_{jr}\,\nu_r \exp\Big(-\sum_i y_i A_{ir}\Big) = U(y_j, C_j), \qquad j = 1, \dots, J.r∑​Ajr​νr​exp(−i∑​yi​Air​)=U(yj​,Cj​),j=1,…,J.

The revised dual differs from the dual problem (2.3) of §2, whose optimum gives the limiting blocking probabilities of a large network, only in its last term: ∑jyjCj\sum_j y_j C_j∑j​yj​Cj​ becomes ∑j∫0yjU(z,Cj) dz\sum_j \int_0^{y_j} U(z, C_j)\,dz∑j​∫0yj​​U(z,Cj​)dz.

Formalization targets

Goal: Theorem 3.7

The revised dual problem (3.5) has an optimum yyy, every optimum equals yyy, and

E∈[0,1]J solves (3.1)–(3.2)  ⟺  Ej=1−exp⁡(−yj) for every j.E \in [0,1]^J \text{ solves (3.1)–(3.2)} \iff E_j = 1 - \exp(-y_j) \text{ for every } j.E∈[0,1]J solves (3.1)–(3.2)⟺Ej​=1−exp(−yj​) for every j.

The goal states the characterization, not only the existence and uniqueness of the fixed point: the solution is 1−e−y1 - e^{-y}1−e−y for the optimum yyy of (3.5).

Milestones (p. 338, in the order the argument uses them)

  1. (3.4) defines a function: ν↦−log⁡(1−E(ν,C))\nu \mapsto -\log(1 - E(\nu, C))ν↦−log(1−E(ν,C)) is a continuous strictly increasing bijection of [0,∞)[0,\infty)[0,∞) onto itself for C≥1C \ge 1C≥1, UUU satisfies (3.4), and U≥0U \ge 0U≥0.
  2. y↦U(y,C)y \mapsto U(y, C)y↦U(y,C) is strictly increasing on [0,∞)[0, \infty)[0,∞).
  3. y↦∫0yU(z,C) dzy \mapsto \int_0^y U(z, C)\,dzy↦∫0y​U(z,C)dz is strictly convex, and so is the objective of (3.5) on y≥0y \ge 0y≥0.
  4. (3.5) has exactly one optimum.
  5. A vector y≥0y \ge 0y≥0 is optimal for (3.5) if and only if it satisfies (3.6).
  6. A solution of (3.1)–(3.2) in [0,1]J[0,1]^J[0,1]J has all Ej<1E_j < 1Ej​<1; and for y≥0y \ge 0y≥0, Ej=1−e−yjE_j = 1 - e^{-y_j}Ej​=1−e−yj​ solves (3.1)–(3.2) if and only if yyy satisfies (3.6).

Significance

The theorem turns a nonlinear system of JJJ equations into a smooth strictly convex minimization over the nonnegative orthant. Uniqueness of the fixed point follows at once, and the program gives a computational handle: any convex-minimization method computes the Erlang fixed point, without relying on the convergence of repeated substitution. The comparison with the dual problem (2.3) also explains the approximation: (3.6) relaxes the conditions (2.7), which force a link's carried traffic to equal its capacity before it can block, into a smooth relation in which blocking grows with carried traffic as Erlang's formula prescribes (Remark 3.8).

On Prove2Me, existence and uniqueness of the fixed point alone is already the Proved theorem KellyStochasticNetworks.erlang_fixed_point_unique (Kelly–Yudovina, Stochastic Networks, Theorem 3.20), referenced by this mission. Also referenced: KellyStochasticNetworks.erlang_strictMono (Proved: ν↦E(ν,C)\nu \mapsto E(\nu, C)ν↦E(ν,C) and ν↦ν(1−E(ν,C))\nu \mapsto \nu(1 - E(\nu, C))ν↦ν(1−E(ν,C)) are strictly increasing for C≥1C \ge 1C≥1) and KellyStochasticNetworks.erlang_mean_busy_circuits (Proved: the mean number of busy circuits is ν(1−E(ν,C))\nu(1 - E(\nu, C))ν(1−E(ν,C)), the reading of UUU as a utilization). What this mission adds is the revised dual problem itself, the utilization function UUU, and the identification of the fixed point with the optimum of (3.5); none of these is formalized on the platform.

Difficulty

The function UUU is defined only implicitly, through the inverse of ν↦−log⁡(1−E(ν,C))\nu \mapsto -\log(1 - E(\nu, C))ν↦−log(1−E(ν,C)), so every property of the objective of (3.5) passes through properties of Erlang's formula: monotonicity, continuity, and the limit E(ν,C)→1E(\nu, C) \to 1E(ν,C)→1 as ν→∞\nu \to \inftyν→∞. Differentiating ∫0yU\int_0^{y} U∫0y​U needs continuity of UUU, which must be derived from the inverse.

The paper's sentence "strictly convex: it thus has a unique minimum" covers only uniqueness. Existence of a minimizer on the unbounded set y≥0y \ge 0y≥0 is a separate fact, a growth estimate for the integral terms, and it is part of milestone 4. The first term of (3.5) is not strictly convex when AAA has rank less than JJJ, so strict convexity must come from the separable integral terms. Finally, optimality over y≥0y \ge 0y≥0 yields only one-sided conditions at coordinates with yj=0y_j = 0yj​=0; that (3.6) is an equality there uses U(0,C)=0U(0, C) = 0U(0,C)=0.

Formalization scope

Lean namespace KellyLossNetworks.RevisedDual. Links are Fin J, routes Fin R, the incidence matrix is A : Fin J → Fin R → ℕ, rates ν : Fin R → ℝ, capacities C : Fin J → ℕ, following the published Kelly–Yudovina definitions. Every statement assumes νr>0\nu_r > 0νr​>0 and Cj≥1C_j \ge 1Cj​≥1; the paper uses both without stating them, and a link with Cj=0C_j = 0Cj​=0 makes (3.4) meaningless, since E(ν,0)=1E(\nu, 0) = 1E(ν,0)=1.

Erlang's formula is the published KellyStochasticNetworks.erlang and the fixed point equations (3.1)–(3.2) are the published KellyStochasticNetworks.ErlangFixedPoint, whose factor (1−Ej)−1(1 - E_j)^{-1}(1−Ej​)−1 is Lean's total inverse; milestone 6 shows that no solution in [0,1]J[0,1]^J[0,1]J reaches Ej=1E_j = 1Ej​=1. Solutions are sought in [0,1]J[0,1]^J[0,1]J, as on p. 338.

UUU is defined by choice: U(y,C)=ν(1−E(ν,C))U(y, C) = \nu(1 - E(\nu, C))U(y,C)=ν(1−E(ν,C)) for a ν≥0\nu \ge 0ν≥0 with −log⁡(1−E(ν,C))=y-\log(1 - E(\nu, C)) = y−log(1−E(ν,C))=y, and 000 if none exists. For C≥1C \ge 1C≥1, y≥0y \ge 0y≥0 the ν\nuν is unique, and that (3.4) holds is milestone 1, a theorem, not an axiom built into the definition. Values at y<0y < 0y<0 or C=0C = 0C=0 are placeholders that no statement uses. The integral in (3.5) is the interval integral ∫0yj\int_0^{y_j}∫0yj​​. An optimum of (3.5) is a y≥0y \ge 0y≥0 whose objective value is at most that of every z≥0z \ge 0z≥0.

A trivializing formalization is ruled out: replacing UUU by any closed form other than the one fixed by (3.4) (for instance U(z,C)=CU(z, C) = CU(z,C)=C, the fluid utilization of Remark 3.8) would change the problem and reduce (3.5) to the dual (2.3); and the goal asserts the identification E=1−e−yE = 1 - e^{-y}E=1−e−y rather than restating the existence and uniqueness that is already Proved.

A complete development needs: inverse-function arguments for a strictly increasing continuous map of [0,∞)[0, \infty)[0,∞), derivatives of interval integrals with continuous integrands, strict convexity of separable sums, and first-order optimality conditions for convex functions on the nonnegative orthant. The facts about Erlang's formula and about UUU are reusable in any reduced-load analysis. Proofs of individual milestones are welcome independently.

Selected references

  • F. P. Kelly, Loss networks, The Annals of Applied Probability 1(3):319–378, 1991. https://doi.org/10.1214/aoap/1177005872
  • F. P. Kelly, Blocking probabilities in large circuit-switched networks, Advances in Applied Probability 18:473–505, 1986 (reference [33] of Kelly 1991; DOI not verified offline).
  • F. P. Kelly and E. Yudovina, Stochastic Networks, Cambridge University Press, 2014 (the source of the Proved platform items referenced here; DOI not verified offline).
13 thms4 active usersReviewed
🏆Completed
Machine LearningOptimization·Captain: mikedeng1

Convex Optimization: Algorithms and Complexity V: Projected Gradient Descent on a Convex β-Smooth Function Has Rate (3β‖x₁ − x*‖² + f(x₁) − f(x*))/tTextbook

Motivation

Many optimization problems in statistics, machine learning and operations research ask to minimize a smooth convex function over a simple convex set: a box, a ball, a simplex, a cone of positive semidefinite matrices. Projected gradient descent is the most basic first-order method for such problems. It takes a gradient step and then returns to the feasible set by Euclidean projection. Its cost per iteration is one gradient evaluation and one projection, independent of the dimension apart from the cost of manipulating vectors, which is why it remains a workhorse in very high dimension.

This mission is the fifth in a series formalizing S. Bubeck, Convex Optimization: Algorithms and Complexity (Foundations and Trends in Machine Learning 8(3–4), 2015; arXiv:1405.4980). Chapter 3 of the monograph treats "dimension-free" convex optimization. Its §3.2 first proves that gradient descent on a convex β\betaβ-smooth function on Rn\mathbb R^nRn has rate O(β∥x1−x∗∥2/t)O(\beta\|x_1-x^*\|^2/t)O(β∥x1​−x∗∥2/t) (Theorem 3.3, the subject of mission IV), and then turns to the constrained case, which is the subject of this mission. The analysis follows Nesterov's Introductory Lectures on Convex Optimization (2004).

Setting

Write x⊤yx^\top yx⊤y for the Euclidean inner product on Rn\mathbb R^nRn and ∥⋅∥\|\cdot\|∥⋅∥ for the Euclidean norm. The constraint set X⊆Rn\mathcal X\subseteq\mathbb R^nX⊆Rn is compact and convex; this is the standing assumption of Chapter 3. The Euclidean projection of y∈Rny\in\mathbb R^ny∈Rn onto X\mathcal XX is

ΠX(y)=argmin⁡z∈X∥y−z∥,\Pi_{\mathcal X}(y)=\operatorname*{argmin}_{z\in\mathcal X}\|y-z\| ,ΠX​(y)=z∈Xargmin​∥y−z∥,

which exists and is unique for a nonempty closed convex set.

A differentiable function f:Rn→Rf:\mathbb R^n\to\mathbb Rf:Rn→R is β\betaβ-smooth on X\mathcal XX if its gradient is β\betaβ-Lipschitz there:

∥∇f(x)−∇f(y)∥≤β∥x−y∥(x,y∈X).\|\nabla f(x)-\nabla f(y)\|\le\beta\|x-y\|\qquad(x,y\in\mathcal X).∥∇f(x)−∇f(y)∥≤β∥x−y∥(x,y∈X).

It is α\alphaα-strongly convex on X\mathcal XX if f(x)−f(y)≤∇f(x)⊤(x−y)−α2∥x−y∥2f(x)-f(y)\le\nabla f(x)^\top(x-y)-\frac\alpha2\|x-y\|^2f(x)−f(y)≤∇f(x)⊤(x−y)−2α​∥x−y∥2 for x,y∈Xx,y\in\mathcal Xx,y∈X. A minimizer x∗∈Xx^*\in\mathcal Xx∗∈X of fff over X\mathcal XX is assumed to exist, as everywhere in the monograph.

Projected gradient descent with step size η=1/β\eta=1/\betaη=1/β starts at x1∈Xx_1\in\mathcal Xx1​∈X and iterates

xt+1=ΠX(xt−1β∇f(xt))(t≥1).x_{t+1}=\Pi_{\mathcal X}\Bigl(x_t-\tfrac1\beta\nabla f(x_t)\Bigr)\qquad(t\ge1).xt+1​=ΠX​(xt​−β1​∇f(xt​))(t≥1).

For a point xxx with projected step x+=ΠX(x−1β∇f(x))x^+=\Pi_{\mathcal X}\bigl(x-\frac1\beta\nabla f(x)\bigr)x+=ΠX​(x−β1​∇f(x)), the gradient mapping is gX(x)=β(x−x+)g_{\mathcal X}(x)=\beta(x-x^+)gX​(x)=β(x−x+). Without constraints it equals ∇f(x)\nabla f(x)∇f(x).

Formalization targets

Goal: Theorem 3.7 (p. 270)

For fff convex and β\betaβ-smooth on X\mathcal XX, projected gradient descent with η=1/β\eta=1/\betaη=1/β satisfies, for every t≥1t\ge1t≥1,

f(xt)−f(x∗)≤3β∥x1−x∗∥2+f(x1)−f(x∗)t.f(x_t)-f(x^*)\le\frac{3\beta\|x_1-x^*\|^2+f(x_1)-f(x^*)}{t}.f(xt​)−f(x∗)≤t3β∥x1​−x∗∥2+f(x1​)−f(x∗)​.

Milestones

  1. Lemma 3.1 (p. 263): for x∈Xx\in\mathcal Xx∈X and y∈Rny\in\mathbb R^ny∈Rn, (ΠX(y)−x)⊤(ΠX(y)−y)≤0(\Pi_{\mathcal X}(y)-x)^\top(\Pi_{\mathcal X}(y)-y)\le0(ΠX​(y)−x)⊤(ΠX​(y)−y)≤0, and hence ∥ΠX(y)−x∥2+∥y−ΠX(y)∥2≤∥y−x∥2\|\Pi_{\mathcal X}(y)-x\|^2+\|y-\Pi_{\mathcal X}(y)\|^2\le\|y-x\|^2∥ΠX​(y)−x∥2+∥y−ΠX​(y)∥2≤∥y−x∥2. The first claim is an already proved platform theorem.
  2. (3.7) (p. 270): ∇f(x)⊤(x+−y)≤gX(x)⊤(x+−y)\nabla f(x)^\top(x^+-y)\le g_{\mathcal X}(x)^\top(x^+-y)∇f(x)⊤(x+−y)≤gX​(x)⊤(x+−y) for y∈Xy\in\mathcal Xy∈X.
  3. Lemma 3.6 (p. 270): for x,y∈Xx,y\in\mathcal Xx,y∈X,
f(x+)−f(y)≤gX(x)⊤(x−y)−12β∥gX(x)∥2.f(x^+)-f(y)\le g_{\mathcal X}(x)^\top(x-y)-\frac1{2\beta}\|g_{\mathcal X}(x)\|^2 .f(x+)−f(y)≤gX​(x)⊤(x−y)−2β1​∥gX​(x)∥2.
  1. Descent and gap (pp. 270–271): f(xs+1)−f(xs)≤−12β∥gX(xs)∥2f(x_{s+1})-f(x_s)\le-\frac1{2\beta}\|g_{\mathcal X}(x_s)\|^2f(xs+1​)−f(xs​)≤−2β1​∥gX​(xs​)∥2 and f(xs+1)−f(x∗)≤∥gX(xs)∥ ∥xs−x∗∥f(x_{s+1})-f(x^*)\le\|g_{\mathcal X}(x_s)\|\,\|x_s-x^*\|f(xs+1​)−f(x∗)≤∥gX​(xs​)∥∥xs​−x∗∥.
  2. Distances decrease (p. 271): ∥xs+1−x∗∥≤∥xs−x∗∥\|x_{s+1}-x^*\|\le\|x_s-x^*\|∥xs+1​−x∗∥≤∥xs​−x∗∥.
  3. Recursion and induction (p. 271): with δs=f(xs)−f(x∗)\delta_s=f(x_s)-f(x^*)δs​=f(xs​)−f(x∗), δs+1≤δs−12β∥x1−x∗∥2δs+12\delta_{s+1}\le\delta_s-\frac{1}{2\beta\|x_1-x^*\|^2}\delta_{s+1}^2δs+1​≤δs​−2β∥x1​−x∗∥21​δs+12​, and an induction on this recursion gives the bound of Theorem 3.7.

Companion: Theorem 3.10 (p. 278)

If fff is in addition α\alphaα-strongly convex on X\mathcal XX, with condition number κ=β/α\kappa=\beta/\alphaκ=β/α, then the strengthened Lemma 3.6, display (3.14), gives for every t≥0t\ge0t≥0

∥xt+1−x∗∥2≤exp⁡(−tκ)∥x1−x∗∥2.\|x_{t+1}-x^*\|^2\le\exp\Bigl(-\frac t\kappa\Bigr)\|x_1-x^*\|^2 .∥xt+1​−x∗∥2≤exp(−κt​)∥x1​−x∗∥2.

Significance

Theorem 3.7 shows that a constraint set with a cheap projection costs nothing in the order of convergence: the O(β∥x1−x∗∥2/t)O(\beta\|x_1-x^*\|^2/t)O(β∥x1​−x∗∥2/t) rate of unconstrained gradient descent survives, with a constant that depends on f(x1)−f(x∗)f(x_1)-f(x^*)f(x1​)−f(x∗). Lemma 3.6 is the reusable part. It isolates the gradient mapping as the quantity that measures progress under constraints, and the same inequality, with a strong-convexity term added, gives the linear rate of Theorem 3.10. It is also the starting point of the analysis of proximal gradient methods for composite objectives.

All of these results are classical and proved in the textbook. As far as a search of the platform shows, none of them is formalized there. A related platform theorem on constrained gradient descent for well-conditioned functions (from Hazan's Introduction to Online Convex Optimization) bounds function values with a different exponent. It is not Theorem 3.10, which bounds distances with rate exp⁡(−t/κ)\exp(-t/\kappa)exp(−t/κ). This mission adds machine-checked statements of the constrained analysis in Bubeck's formulation, with the book's constants. The definitions of β\betaβ-smoothness on a set, the gradient mapping and the run predicate can be reused by later missions on accelerated and proximal methods.

Difficulty

The obvious attempt is to copy the unconstrained proof, which rests on the descent inequality f(x−1β∇f(x))≤f(x)−12β∥∇f(x)∥2f(x-\frac1\beta\nabla f(x))\le f(x)-\frac1{2\beta}\|\nabla f(x)\|^2f(x−β1​∇f(x))≤f(x)−2β1​∥∇f(x)∥2. That inequality fails under constraints: the projection can cut the step short, so the decrease in fff is not controlled by ∥∇f(x)∥\|\nabla f(x)\|∥∇f(x)∥. At a boundary minimizer, for instance, ∇f(x∗)≠0\nabla f(x^*)\neq0∇f(x∗)=0 while no step makes progress. The proof has to replace the gradient by the gradient mapping throughout. It also has to show separately that the iterates do not move away from x∗x^*x∗, a fact that came for free without constraints from co-coercivity of the gradient (display (3.6)).

The closing induction is not routine either. The step from sss to s+1s+1s+1 works only from s=2s=2s=2 on, and the step from 111 to 222 needs a direct computation that uses the term f(x1)−f(x∗)f(x_1)-f(x^*)f(x1​)−f(x∗) in the numerator.

Formalization scope

  • Space. Rn\mathbb R^nRn is EuclideanSpace ℝ (Fin n), and x⊤yx^\top yx⊤y is ⟪x, y⟫_ℝ.
  • Constraint set and minimizer. Every statement assumes X\mathcal XX compact (IsCompact X) and convex (Convex ℝ X), the standing assumption of Chapter 3. Every statement about a run assumes a minimizer x∗∈Xx^*\in\mathcal Xx∗∈X with f(x∗)≤f(y)f(x^*)\le f(y)f(x∗)≤f(y) for all y∈Xy\in\mathcal Xy∈X, the monograph's standing assumption.
  • Gradient. The gradient is an explicit map g with HasGradientAt f (g x) x at every point of Rn\mathbb R^nRn, so ∇f(x)\nabla f(x)∇f(x) is defined at boundary points of X\mathcal XX. β\betaβ-smoothness on X\mathcal XX (IsBetaSmoothOn X f g β) asks this together with β≥0\beta\ge0β≥0 and the Lipschitz bound on X\mathcal XX only. It is not the quadratic upper bound (3.4), which is a consequence.
  • Strong convexity. It is the published predicate OnlineConvexOpt.ConvexBasics.StronglyConvexOn X f g α, which is display (3.13) with the same gradient map. Display (3.14) and Theorem 3.10 use α>0\alpha>0α>0.
  • Projection. The projection is the published relation IsMetricProjection X y p: p∈Xp\in\mathcal Xp∈X and ∥y−p∥≤∥y−z∥\|y-p\|\le\|y-z\|∥y−p∥≤∥y−z∥ for every z∈Xz\in\mathcal Xz∈X. No choice function is used.
  • Run. A run is IsProjGDRun X g β x: β>0\beta>0β>0, x1∈Xx_1\in\mathcal Xx1​∈X, and for every t≥1t\ge1t≥1 the iterate xt+1x_{t+1}xt+1​ is a projection of xt−β−1g(xt)x_t-\beta^{-1}g(x_t)xt​−β−1g(xt​). Indices start at 111 as in the book, and x 0 is unused.
  • Gradient mapping. gradMap β x xplus =β(x−x+)=\beta(x-x^+)=β(x−x+) takes the projected point of the run as an argument.
  • Positivity. β>0\beta>0β>0 is assumed, as the step size 1/β1/\beta1/β requires, and α>0\alpha>0α>0 for Theorem 3.10, as κ=β/α\kappa=\beta/\alphaκ=β/α requires.
  • The recursion. The recursion of milestone 6 is stated multiplied by 2β∥x1−x∗∥22\beta\|x_1-x^*\|^22β∥x1​−x∗∥2, so the case x1=x∗x_1=x^*x1​=x∗ needs no division.
  • No trivial readings. A run predicate with a free step size, or β\betaβ-smoothness replaced by the quadratic bound (3.4), would change the content. Both are excluded: the step is fixed to 1/β1/\beta1/β, and smoothness is the Lipschitz condition on the gradient.

Contributions are welcome on any milestone. Lemma 3.1 and (3.7) need only the variational characterization of the projection. Lemma 3.6 needs the quadratic upper bound for a function whose gradient is Lipschitz on a convex set, together with the first-order characterization of convexity relative to a set. Both are of independent use. The induction milestone is a self-contained statement about real sequences.

Selected references

  • S. Bubeck, Convex Optimization: Algorithms and Complexity, Foundations and Trends in Machine Learning 8(3–4):231–358, 2015. arXiv:1405.4980
  • Y. Nesterov, Introductory Lectures on Convex Optimization: A Basic Course, Kluwer Academic Publishers, 2004. doi:10.1007/978-1-4419-8853-9
  • E. Hazan, Introduction to Online Convex Optimization, 2nd ed., MIT Press, 2022. arXiv:1909.05207
12 thms4 active usersReviewed
🏆Completed
Machine LearningOptimization·Captain: mikedeng1

Convex Optimization: Algorithms and Complexity III: Projected Subgradient Descent with η = R/(L√t) Satisfies f(average) − f(x*) ≤ RL/√tTextbook

Motivation

Many convex optimization problems in machine learning and statistics have objectives that are convex but not differentiable: hinge losses, ℓ1\ell_1ℓ1​ penalties, maxima of finitely many affine functions, and the dual functions of Lagrangian relaxations. Methods that rely on gradients do not apply to them directly, while cutting-plane methods such as the ellipsoid method pay a price that grows with the dimension. The projected subgradient method replaces the gradient by an arbitrary subgradient and restores feasibility by a Euclidean projection. Its guarantee depends on the dimension only through two constants, a radius RRR and a Lipschitz constant LLL. This is the reason it, and its descendants (mirror descent, stochastic gradient descent, online gradient descent), are the standard tools for large-scale nonsmooth problems.

The rate analysed here goes back to the subgradient methods of Shor and Polyak in the 1960s and 1970s and to the lower bounds of Nemirovski and Yudin (1983). The book follows the presentation of Nesterov, Introductory Lectures on Convex Optimization (2004). The strongly convex variant with weights proportional to sss is from Lacoste-Julien, Schmidt and Bach (2012).

This mission is the third of a series formalizing S. Bubeck, Convex Optimization: Algorithms and Complexity (Foundations and Trends in Machine Learning, 2015), and covers the preamble of Chapter 3, Section 3.1 and Section 3.4.1.

Setting

Let Rn\mathbb R^nRn carry the Euclidean inner product x⊤yx^\top yx⊤y and norm ∥⋅∥\|\cdot\|∥⋅∥. Let X⊆Rn\mathcal X\subseteq\mathbb R^nX⊆Rn be compact and convex, and let fff be a convex function on X\mathcal XX with a minimizer x∗∈Xx^*\in\mathcal Xx∗∈X.

A vector ggg is a subgradient of fff at x∈Xx\in\mathcal Xx∈X if f(x)−f(y)≤g⊤(x−y)f(x)-f(y)\le g^\top(x-y)f(x)−f(y)≤g⊤(x−y) for every y∈Xy\in\mathcal Xy∈X. The set of subgradients at xxx is written ∂f(x)\partial f(x)∂f(x). The projection ΠX(y)\Pi_{\mathcal X}(y)ΠX​(y) of a point y∈Rny\in\mathbb R^ny∈Rn is the point of X\mathcal XX nearest to yyy.

Fix step sizes ηs>0\eta_s>0ηs​>0. Projected subgradient descent starts at some x1∈Xx_1\in\mathcal Xx1​∈X and iterates, for s≥1s\ge1s≥1,

ys+1=xs−ηsgs,gs∈∂f(xs),xs+1=ΠX(ys+1).y_{s+1}=x_s-\eta_s g_s,\quad g_s\in\partial f(x_s),\qquad x_{s+1}=\Pi_{\mathcal X}(y_{s+1}).ys+1​=xs​−ηs​gs​,gs​∈∂f(xs​),xs+1​=ΠX​(ys+1​).

Any subgradient may be chosen at each step. In Section 3.1 the step is constant, ηs=η\eta_s=\etaηs​=η. The set X\mathcal XX lies in the Euclidean ball of radius RRR centred at x1x_1x1​, and the subgradients have norm at most LLL.

A function fff is α\alphaα-strongly convex on X\mathcal XX if f(x)−f(y)≤g⊤(x−y)−α2∥x−y∥2f(x)-f(y)\le g^\top(x-y)-\frac{\alpha}{2}\|x-y\|^2f(x)−f(y)≤g⊤(x−y)−2α​∥x−y∥2 for all x,y∈Xx,y\in\mathcal Xx,y∈X and g∈∂f(x)g\in\partial f(x)g∈∂f(x).

Formalization targets

Goal: Theorem 3.2

For every horizon t≥1t\ge1t≥1, projected subgradient descent with the constant step η=R/(Lt)\eta=R/(L\sqrt t)η=R/(Lt​) satisfies

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

Milestones

  1. Lemma 3.1. For x∈Xx\in\mathcal Xx∈X and y∈Rny\in\mathbb R^ny∈Rn: (ΠX(y)−x)⊤(ΠX(y)−y)≤0(\Pi_{\mathcal X}(y)-x)^\top(\Pi_{\mathcal X}(y)-y)\le0(ΠX​(y)−x)⊤(ΠX​(y)−y)≤0, already on the platform as a published theorem. The mission also states its consequence
∥ΠX(y)−x∥2+∥y−ΠX(y)∥2≤∥y−x∥2.\|\Pi_{\mathcal X}(y)-x\|^2+\|y-\Pi_{\mathcal X}(y)\|^2\le\|y-x\|^2 .∥ΠX​(y)−x∥2+∥y−ΠX​(y)∥2≤∥y−x∥2.
  1. The per-step inequality in the proof of Theorem 3.2:
f(xs)−f(x∗)≤12η(∥xs−x∗∥2−∥ys+1−x∗∥2)+η2∥gs∥2.f(x_s)-f(x^*)\le\frac1{2\eta}\big(\|x_s-x^*\|^2-\|y_{s+1}-x^*\|^2\big)+\frac\eta2\|g_s\|^2 .f(xs​)−f(x∗)≤2η1​(∥xs​−x∗∥2−∥ys+1​−x∗∥2)+2η​∥gs​∥2.
  1. The summed inequality for any constant step η>0\eta>0η>0:
∑s=1t(f(xs)−f(x∗))≤R22η+ηL2t2.\sum_{s=1}^{t}\big(f(x_s)-f(x^*)\big)\le\frac{R^2}{2\eta}+\frac{\eta L^2t}{2}.s=1∑t​(f(xs​)−f(x∗))≤2ηR2​+2ηL2t​.

Companion: Theorem 3.9

If fff is α\alphaα-strongly convex and its subgradients are bounded by LLL, then with ηs=2/(α(s+1))\eta_s=2/(\alpha(s+1))ηs​=2/(α(s+1)),

f(∑s=1t2st(t+1)xs)−f(x∗)≤2L2α(t+1).f\Big(\sum_{s=1}^{t}\frac{2s}{t(t+1)}x_s\Big)-f(x^*)\le\frac{2L^2}{\alpha(t+1)}.f(s=1∑t​t(t+1)2s​xs​)−f(x∗)≤α(t+1)2L2​.

Significance

Theorem 3.2 gives an oracle complexity of O(R2L2/ε2)O(R^2L^2/\varepsilon^2)O(R2L2/ε2) for reaching an ε\varepsilonε-optimal point, independent of the ambient dimension. Section 3.5 of the book shows this rate is unimprovable for black-box first-order methods once the dimension is large. Theorem 3.9 shows how strong convexity improves the rate to O(1/t)O(1/t)O(1/t), with the averaging weights changed from uniform to linear. These two bounds are the reference points against which the rest of Chapter 3 and Chapters 4 to 6 (smooth, accelerated, mirror, stochastic methods) are measured.

The results are classical and their proofs are short. Formalizing them produces a reusable, machine-checked account of the basic projected first-order step: the projection inequality, the one-step distance recursion, and the telescoping argument with Jensen's inequality for averaged iterates. To our knowledge, no machine-checked proof of the averaged-iterate bound for the projected subgradient method exists in Mathlib. Related platform items cover other algorithms or other averaging schemes.

Difficulty

The arithmetic is elementary, and the obvious argument works. The care is in the bookkeeping. The projection must be shown not to increase the distance to x∗x^*x∗, which needs convexity of X\mathcal XX and the variational characterization of the nearest point. The sum must telescope with a horizon-dependent constant step. Jensen's inequality must be applied to a finite convex combination of points of X\mathcal XX, which requires showing that the average lies in X\mathcal XX. In Theorem 3.9 the step sizes and the averaging weights are coupled, so neither can be changed independently. In Lean, the iterates are indexed from 111 with natural-number horizons, and the bounds involve t\sqrt tt​, so these casts need care.

Formalization scope

Rn\mathbb R^nRn is EuclideanSpace ℝ (Fin n). The iterates are sequences ℕ → EuclideanSpace ℝ (Fin n) with the first iterate at index 111. The projection is the published relation OnlineConvexOpt.FirstOrder.IsMetricProjection (xs+1∈Xx_{s+1}\in\mathcal Xxs+1​∈X is a nearest point to ys+1y_{s+1}ys+1​). Subgradients are taken relative to X\mathcal XX (Definition 1.2). A run is a predicate on the steps s=1,…,ts=1,\dots,ts=1,…,t, and every theorem holds for all runs, that is, for every choice of subgradients. Compactness and convexity of X\mathcal XX, convexity of fff on X\mathcal XX and the existence of the minimizer x∗x^*x∗ are the book's standing assumptions and appear as hypotheses. R>0R>0R>0, L>0L>0L>0 and α>0\alpha>0α>0 are explicit, because Lean's division by zero would otherwise turn the step size into a junk value.

The book assumes ∥g∥≤L\|g\|\le L∥g∥≤L for every subgradient at every point of X\mathcal XX. With subgradients relative to a compact X\mathcal XX, that assumption can never hold at a boundary point, since every outward normal can be added to a subgradient. Stated that way the theorems would be vacuous. The mission therefore assumes the bound only for the subgradients g1,…,gtg_1,\dots,g_tg1​,…,gt​ that the run uses. This is a weaker hypothesis and gives a stronger, non-vacuous statement. Bounding only these subgradients is a deliberate choice, not a trivialization: the bound still constrains every quantity the conclusion depends on.

Contributions welcome: proofs of the four inequalities and of the two rates, and a reusable lemma that the convex combination of finitely many points of a convex set lies in the set, together with Jensen's inequality in the form used here.

Selected references

  • S. Bubeck, Convex Optimization: Algorithms and Complexity, Foundations and Trends in Machine Learning 8(3–4):231–358, 2015. https://arxiv.org/abs/1405.4980
  • Y. Nesterov, Introductory Lectures on Convex Optimization: A Basic Course, Kluwer, 2004. https://doi.org/10.1007/978-1-4419-8853-9
  • A. Nemirovski and D. Yudin, Problem Complexity and Method Efficiency in Optimization, Wiley, 1983.
  • S. Lacoste-Julien, M. Schmidt and F. Bach, A simpler approach to obtaining an O(1/t) convergence rate for the projected stochastic subgradient method, 2012. https://arxiv.org/abs/1212.2002
  • N. Z. Shor, Minimization Methods for Non-Differentiable Functions, Springer, 1985. https://doi.org/10.1007/978-3-642-82118-9
7 thms4 active usersReviewed
🏆Completed
Operations ResearchOptimization·Captain: mikedeng1

Convex Optimization: Algorithms and Complexity I: The Center of Gravity Method Satisfies f(x_t) − min f ≤ 2B(1 − 1/e)^{t/n}Textbook

Motivation

Black-box convex optimization asks how many queries to an oracle are needed to minimize a convex function to accuracy ε\varepsilonε. In fixed dimension nnn the answer is of order nlog⁡(1/ε)n\log(1/\varepsilon)nlog(1/ε), and the first algorithm to attain it is the center of gravity method, discovered independently by Levin (1965) and Newman (1965). It is the opening example of cutting plane methods: algorithms that keep a set known to contain a minimizer and shrink it with one half-space per oracle call. The ellipsoid method and Vaidya's method, which underlie the polynomial-time solvability of linear programming and convex feasibility problems, follow the same template with cheaper sets. This mission is the first of a series formalizing S. Bubeck's monograph Convex Optimization: Algorithms and Complexity (2015), and covers its §2.1.

Timeline:

  • 1960: B. Grünbaum proves that every half-space whose boundary passes through the centroid of a convex body in Rn\mathbb R^nRn contains at least a fraction (n/(n+1))n≥1/e(n/(n+1))^n \ge 1/e(n/(n+1))n≥1/e of its volume.
  • 1965: A. Levin and D. J. Newman independently introduce the center of gravity method and prove its linear rate.
  • 1983: A. Nemirovski and D. Yudin show that Ω(nlog⁡(1/ε))\Omega(n\log(1/\varepsilon))Ω(nlog(1/ε)) oracle calls are necessary for small ε\varepsilonε, so the method's oracle complexity is optimal.

Setting

Let X⊂Rn\mathcal X\subset\mathbb R^nX⊂Rn be a convex body: a compact convex set with non-empty interior. Let f:X→[−B,B]f:\mathcal X\to[-B,B]f:X→[−B,B] be continuous and convex, and let x∗∈Xx^*\in\mathcal Xx∗∈X be a minimizer of fff on X\mathcal XX. A vector www is a subgradient of fff at x∈Xx\in\mathcal Xx∈X if f(x)−f(y)≤w⊤(x−y)f(x)-f(y)\le w^\top(x-y)f(x)−f(y)≤w⊤(x−y) for every y∈Xy\in\mathcal Xy∈X. The first order oracle returns, at a query point, some subgradient there; the zeroth order oracle returns the value of fff.

For a set S\mathcal SS of finite positive volume, its center of gravity is

c(S)=1vol(S)∫x∈Sx dx.c(\mathcal S)=\frac{1}{\mathrm{vol}(\mathcal S)}\int_{x\in\mathcal S}x\,dx .c(S)=vol(S)1​∫x∈S​xdx.

The center of gravity method sets S1=X\mathcal S_1=\mathcal XS1​=X and, for t≥1t\ge1t≥1, computes ct=c(St)c_t=c(\mathcal S_t)ct​=c(St​), queries the first order oracle at ctc_tct​ to obtain a subgradient wtw_twt​, and sets

St+1=St∩{x∈Rn:(x−ct)⊤wt≤0}.\mathcal S_{t+1}=\mathcal S_t\cap\{x\in\mathbb R^n:(x-c_t)^\top w_t\le0\}.St+1​=St​∩{x∈Rn:(x−ct​)⊤wt​≤0}.

After ttt steps it outputs xt∈argmin⁡1≤r≤tf(cr)x_t\in\operatorname{argmin}_{1\le r\le t}f(c_r)xt​∈argmin1≤r≤t​f(cr​), found with ttt calls to the zeroth order oracle.

The Lean development names these objects IsConvexBody, IsSubgradientOn, centroid and IsCenterOfGravityRun in the namespace ConvexOptAlg.CenterGravity.

Formalization targets

Goal: Theorem 2.1 (p. 245)

For every run of the method and every t≥1t\ge1t≥1,

f(xt)−min⁡x∈Xf(x)≤2B(1−1e)t/n.f(x_t)-\min_{x\in\mathcal X}f(x)\le 2B\Big(1-\frac1e\Big)^{t/n}.f(xt​)−x∈Xmin​f(x)≤2B(1−e1​)t/n.

Milestones (proof of Theorem 2.1, pp. 246–247)

  1. Lemma 2.2 (Grünbaum). If K\mathcal KK is centered, ∫Kx dx=0\int_{\mathcal K}x\,dx=0∫K​xdx=0, then for every w≠0w\ne0w=0,
Vol(K∩{x:x⊤w≥0})≥1e Vol(K).\mathrm{Vol}\big(\mathcal K\cap\{x:x^\top w\ge0\}\big)\ge\tfrac1e\,\mathrm{Vol}(\mathcal K).Vol(K∩{x:x⊤w≥0})≥e1​Vol(K).
  1. (2.2). St∖St+1⊂{x∈X:(x−ct)⊤wt>0}⊂{x∈X:f(x)>f(ct)}\mathcal S_t\setminus\mathcal S_{t+1}\subset\{x\in\mathcal X:(x-c_t)^\top w_t>0\}\subset\{x\in\mathcal X:f(x)>f(c_t)\}St​∖St+1​⊂{x∈X:(x−ct​)⊤wt​>0}⊂{x∈X:f(x)>f(ct​)}, hence x∗∈Stx^*\in\mathcal S_tx∗∈St​ for every ttt.
  2. Volume decay. If ws≠0w_s\ne0ws​=0 for s≤ts\le ts≤t, then vol(St+1)≤(1−1/e)t vol(X)\mathrm{vol}(\mathcal S_{t+1})\le(1-1/e)^t\,\mathrm{vol}(\mathcal X)vol(St+1​)≤(1−1/e)tvol(X).
  3. Shrunk copies. For ε∈[0,1]\varepsilon\in[0,1]ε∈[0,1] and Xε={(1−ε)x∗+εx:x∈X}\mathcal X_\varepsilon=\{(1-\varepsilon)x^*+\varepsilon x: x\in\mathcal X\}Xε​={(1−ε)x∗+εx:x∈X}, vol(Xε)=εn vol(X)\mathrm{vol}(\mathcal X_\varepsilon)=\varepsilon^n\,\mathrm{vol}(\mathcal X)vol(Xε​)=εnvol(X).
  4. Values on shrunk copies. Every xε∈Xεx_\varepsilon\in\mathcal X_\varepsilonxε​∈Xε​ satisfies f(xε)≤f(x∗)+2εBf(x_\varepsilon)\le f(x^*)+2\varepsilon Bf(xε​)≤f(x∗)+2εB.

Significance

Theorem 2.1 is a linear rate whose number of queries to reach accuracy ε\varepsilonε, O(nlog⁡(2B/ε))O(n\log(2B/\varepsilon))O(nlog(2B/ε)), depends on the dimension only linearly and on the accuracy only logarithmically, and matches the Nemirovski–Yudin lower bound. It is the reference point against which the ellipsoid method (O(n2log⁡(1/ε))O(n^2\log(1/\varepsilon))O(n2log(1/ε)) queries) and Vaidya's method are measured, and the randomized center of gravity method of §6.7 of the book rests on the same analysis. Grünbaum's inequality is a basic fact of convex geometry with uses well beyond optimization, for instance in the analysis of query complexity and of approximate centroid computations by random walks.

On the formal side, the theorem has been proved since 1965 and the lemma since 1960; neither is known to have a machine-checked proof. A complete development adds to Mathlib-based libraries the center of gravity of a set, the volume of homothetic images in the form used here, Grünbaum's inequality, and a reusable predicate for cutting plane runs. The later missions of this series (the ellipsoid method in particular) reuse the shrunk-copy argument of milestones 4 and 5.

Difficulty

The steps (2.2), the shrunk-copy volume and the value bound are short. The volume decay and the final comparison are bookkeeping once one knows that each cut keeps the method's sets convex bodies with positive volume. The difficulty is Lemma 2.2. A half-space through the centroid need not split the volume evenly: for a cone the smaller side tends to 1/e1/e1/e of the volume as n→∞n\to\inftyn→∞, so no symmetry argument works, and the bound must hold uniformly in the dimension. The classical proofs rely on tools of convex geometry, such as volume comparisons between a body and a symmetrized body, that are not available in Lean in the needed form. A second source of work is that the method's sets are defined through centroids: it has to be shown that they remain convex bodies of positive volume, so that each centroid is the genuine center of gravity, and this fact is not available before the volume estimates are.

Formalization scope

Rn\mathbb R^nRn is EuclideanSpace ℝ (Fin n) with Lebesgue measure volume; volumes are kept in [0,∞][0,\infty][0,∞] in every statement. The function is a total map f : EuclideanSpace ℝ (Fin n) → ℝ with ∣f∣≤B|f|\le B∣f∣≤B, continuity and convexity required on X\mathcal XX only; its values off X\mathcal XX are irrelevant. Subgradients are relative to X\mathcal XX (Definition 1.2). A run is a predicate on sequences indexed from 111; the oracle's choice of subgradient is free, and every theorem holds for all runs. The minimizer x∗x^*x∗ is a hypothesis, as in the book's standing notation; it exists here by compactness. The output xtx_txt​ is any argmin, so the goal bounds the minimum min⁡1≤r≤tf(cr)\min_{1\le r\le t}f(c_r)min1≤r≤t​f(cr​).

Added hypotheses, all disclosed in the statements: n≥1n\ge1n≥1 in the goal, because the exponent t/nt/nt/n is undefined for n=0n=0n=0; and in Lemma 2.2, that the centered set is a convex body, because in Lean the integral of a non-integrable function is 000, which would make every unbounded convex set "centered". The milestone on volume decay assumes ws≠0w_s\ne0ws​=0, which is the book's own reduction.

The center of gravity is defined with the real volume vol(S)\mathrm{vol}(\mathcal S)vol(S) and is meaningless when that volume is 000 or infinite. The run predicate does not assume the volumes are positive; that every set of a run is a convex body of positive volume is part of what has to be proved, and a formalization in which runs could degenerate to sets of zero volume, or in which the centroid is an arbitrary point, is not the book's method.

Contributions welcome: proofs of any item; a general Grünbaum inequality for convex sets of finite positive volume; lemmas on centroids (membership in the closed convex hull, translation behaviour) that later missions can reuse.

Selected references

  • S. Bubeck, Convex Optimization: Algorithms and Complexity, Foundations and Trends in Machine Learning 8(3–4):231–358, 2015. arXiv:1405.4980v2, §2.1. https://arxiv.org/abs/1405.4980
  • B. Grünbaum, Partitions of mass-distributions and of convex bodies by hyperplanes, Pacific Journal of Mathematics 10(4):1257–1261, 1960. https://doi.org/10.2140/pjm.1960.10.1257
  • A. Yu. Levin, On an algorithm for the minimization of convex functions, Soviet Mathematics Doklady 6:286–290, 1965.
  • D. J. Newman, Location of the maximum on unimodal surfaces, Journal of the ACM 12(3):395–398, 1965. https://doi.org/10.1145/321281.321291
  • A. Nemirovski and D. Yudin, Problem Complexity and Method Efficiency in Optimization, Wiley, 1983.
9 thms4 active usersReviewed
🏆Completed
Operations ResearchProbabilityStatistics·Captain: mikedeng1

Data-Driven Robust Optimization VI: The Moment Set U^CS Has Support Function μ̂ᵀv + Γ₁‖v‖ + √(1/ε − 1)‖Cv‖, an Upper Bound on the Worst-Case Value at RiskResearch Paper

Motivation

In robust optimization, a constraint is checked against every parameter value in an uncertainty set. This turns uncertainty into a deterministic optimization problem, but the set must be chosen carefully: a large set can make decisions unnecessarily conservative, while a small one can miss likely outcomes. Bertsimas, Gupta and Kallus use data to calibrate sets through statistical confidence regions. Their question is whether feasibility for every parameter in the set protects a decision against a fresh uncertain outcome with a specified probability. This mission treats the part of their construction based on estimated first and second moments. Bertsimas, Gupta and Kallus, §8.1.

The moment region originates in a concentration result attributed in the paper to Shawe-Taylor and Cristianini. That result bounds the distance between sample and population means and covariances when the uncertain vector is supported in a Euclidean ball. Bertsimas, Gupta and Kallus also discuss replacing those analytic thresholds with bootstrap thresholds; they describe the resulting coverage as approximate. The present target concerns the mathematical relation between a fixed moment region and its uncertainty set, leaving the statistical calibration of the thresholds to its cited source. Shawe-Taylor and Cristianini, 2003; Bertsimas, Gupta and Kallus, pp. 24–25.

Setting

Let the uncertain vector u~\tilde uu~ take values in Rd\mathbb R^dRd. A probability law PPP belongs to the moment confidence region PCS\mathcal P^{CS}PCS when it is supported in the Euclidean ball of radius RRR, its mean mPm_PmP​ is within Γ1\Gamma_1Γ1​ of an estimate μ^\hat\muμ^​, and its covariance SPS_PSP​ is within Γ2\Gamma_2Γ2​ of an estimate Σ^\hat\SigmaΣ^ in Frobenius norm. The covariance is SP=EP[u~u~⊤]−mPmP⊤S_P=\mathbb E_P[\tilde u\tilde u^\top]-m_Pm_P^\topSP​=EP​[u~u~⊤]−mP​mP⊤​. The thresholds Γ1,Γ2\Gamma_1,\Gamma_2Γ1​,Γ2​ are nonnegative and can be chosen by either calibration procedure discussed in the paper. Bertsimas, Gupta and Kallus, Theorem 9 and (33).

For a vector vvv, Value at Risk VaR⁡εP(v)\operatorname{VaR}^{P}_{\varepsilon}(v)VaRεP​(v) is the smallest threshold ttt for which P(u~⊤v≤t)≥1−εP(\tilde u^\top v\le t)\ge1-\varepsilonP(u~⊤v≤t)≥1−ε. The support function of a set U\mathcal UU is δ∗(v∣U)=sup⁡u∈Uu⊤v\delta^*(v\mid\mathcal U)=\sup_{u\in\mathcal U}u^\top vδ∗(v∣U)=supu∈U​u⊤v. The authors construct the set

UεCS={μ^+y+C⊤w:∥y∥2≤Γ1, ∥w∥2≤1/ε−1},C⊤C=Σ^+Γ2I.\mathcal U^{CS}_{\varepsilon} =\{\hat\mu+y+C^\top w:\|y\|_2\le\Gamma_1,\ \|w\|_2\le\sqrt{1/\varepsilon-1}\}, \qquad C^\top C=\hat\Sigma+\Gamma_2 I.UεCS​={μ^​+y+C⊤w:∥y∥2​≤Γ1​, ∥w∥2​≤1/ε−1​},C⊤C=Σ^+Γ2​I.

Here 0<ε<10<\varepsilon<10<ε<1 is the allowed violation probability, III is the identity matrix, and CCC is a matrix factor of the adjusted covariance. The estimates and CCC stay fixed while ε\varepsilonε varies. Bertsimas, Gupta and Kallus, (34)–(35).

Formalization targets

The first milestone bounds the quantile for every law in the moment region:

VaR⁡εP(v)≤μ^⊤v+Γ1∥v∥2+1−εεv⊤(Σ^+Γ2I)v(P∈PCS).\operatorname{VaR}^{P}_{\varepsilon}(v)\le \hat\mu^\top v+\Gamma_1\|v\|_2+ \sqrt{\frac{1-\varepsilon}{\varepsilon}} \sqrt{v^\top(\hat\Sigma+\Gamma_2I)v} \quad(P\in\mathcal P^{CS}).VaRεP​(v)≤μ^​⊤v+Γ1​∥v∥2​+ε1−ε​​v⊤(Σ^+Γ2​I)v​(P∈PCS).

The second milestone evaluates the two linear maxima over the Euclidean balls in UεCS\mathcal U^{CS}_{\varepsilon}UεCS​ and identifies ∥Cv∥2\|Cv\|_2∥Cv∥2​ with the quadratic form above. The goal, the deterministic part of Theorem 10, says the displayed bound equals δ∗(v∣UεCS)\delta^*(v\mid\mathcal U^{CS}_{\varepsilon})δ∗(v∣UεCS​) for every vvv, while the set is nonempty, convex and compact. This gives the support-function criterion of Theorem 1 for each law in the region. A companion formalizes Theorem 13(a): the resulting support constraint is separately convex in (v,t)(v,t)(v,t) and in ε\varepsilonε for 0<ε<3/40<\varepsilon<3/40<ε<3/4. Bertsimas, Gupta and Kallus, Theorems 10 and 13(a).

Significance

The support formula turns a distributional statement about an entire region of probability laws into a deterministic bound on a linear projection. It gives the robust model an explicit quantity to compare with a constraint threshold. The companion convexity result describes which risk levels allow separate convex optimization in the decision variables and the violation probability. Together they explain why the particular set in (35) is useful beyond the fact that it contains plausible uncertain vectors. Bertsimas, Gupta and Kallus, §§8.1 and 9.

The paper proves the mathematical construction and cites statistical results for the region's coverage. In Lean, the published Value-at-Risk and support-function definitions are already available, while this paper's moment region and set (35) need their own definitions. Formalizing the result therefore establishes a reusable interface between moment bounds, quantiles and set support. The theorem statements in this proposal are open proof targets; compiling them checks their types, not their proofs.

Difficulty

A bound on the mean and covariance does not directly bound a high quantile of every projection. The bound must work simultaneously for every probability law in the moment region, including discrete laws and singular covariances. The factor (1−ε)/ε\sqrt{(1-\varepsilon)/\varepsilon}(1−ε)/ε​ is essential: replacing it by a standard deviation or a Gaussian quantile would change the claim. On the set side, the ordinary norm of a Lean function vector is a sup norm, whereas both balls in (35) are Euclidean. Getting the norm wrong changes the support function. Bertsimas, Gupta and Kallus, (34)–(35).

Formalization scope

Vectors are functions on Fin d, whose coordinates start at zero. enorm and frob explicitly compute the Euclidean and Frobenius norms. The ball-support condition in PCS\mathcal P^{CS}PCS secures finite first and second moments; no density is assumed. The goal fixes R≥0R\ge0R≥0, Γ1,Γ2≥0\Gamma_1,\Gamma_2\ge0Γ1​,Γ2​≥0, 0<ε<10<\varepsilon<10<ε<1, and C⊤C=Σ^+Γ2IC^\top C=\hat\Sigma+\Gamma_2IC⊤C=Σ^+Γ2​I. This factor relation makes the quadratic form nonnegative; a separate positive-semidefinite assumption on Σ^\hat\SigmaΣ^ is unnecessary. The matrix need not be triangular because (35) and its support depend on C⊤CC^\top CC⊤C. The uncertainty set's nonemptiness and compactness appear in the goal so the real support-function supremum cannot take Lean's default value for an empty or unbounded set.

Theorem 10's sampling claim is represented by its deterministic criterion for each P∈PCSP\in\mathcal P^{CS}P∈PCS. The confidence-region coverage of Theorem 9 is cited, and the bootstrap coverage discussed on p. 25 is approximate; neither is asserted as an exact probability theorem here. Equation (34) prints an equality for a supremum over PCS\mathcal P^{CS}PCS, yet that region restricts support to a ball, and the page does not establish attainment under that restriction. This mission uses the upper-bound direction needed for Theorem 10 and does not assert the equality or Remark 16's exact equivalence. The scope includes a sharp quantile bound, the exact support formula and the 3/43/43/4 convexity range; a definition that merely makes the claim true by construction would miss these targets. Bertsimas, Gupta and Kallus, pp. 24–25 and 29.

Selected references

  • D. Bertsimas, V. Gupta and N. Kallus, Data-Driven Robust Optimization, arXiv:1401.0212v2, 2014; revised in Mathematical Programming 167 (2018), 235–292. arXiv preprint.
  • J. Shawe-Taylor and N. Cristianini, Estimating the Moments of a Random Vector with Applications, 2003. University of Southampton ePrint.
  • G. C. Calafiore and L. El Ghaoui, On Distributionally Robust Chance-Constrained Linear Programs, Journal of Optimization Theory and Applications 130 (2006), 1–22. DOI.
6 thms4 active usersReviewed
PreviousPage 1 of 23Next

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