Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

Optimization

537 missions · 368 completed

Missions

Open169Completed368All537
🏆Completed
CombinatoricsConvex OptimizationOperations Research·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
CombinatoricsConvex OptimizationOperations Research·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
Convex OptimizationNumerical AnalysisOperations Research·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
🏆Completed
Convex OptimizationOperations Research·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
Discrete GeometryLinear OptimizationOperations Research·Captain: mikedeng1

Selected Topics in Column Generation I: Discretization — Every Integer Point of a Rational Polyhedron Is a Generating Integer Point Plus an Integer Combination of Integer RaysResearch Paper

Motivation

Dantzig–Wolfe decomposition and column generation solve large integer programs by replacing a set of "easy" constraints with a description of its feasible points, and then pricing out the points one at a time. For linear programs this rests on the Minkowski–Weyl representation: every point of a polyhedron is a convex combination of its extreme points plus a nonnegative combination of its extreme rays. For integer programs that representation is not enough. Imposing integrality on the convex multipliers of the extreme points of conv(X)\mathrm{conv}(X)conv(X) does not give back the integer program, because an optimal integer point may lie in the interior of conv(X)\mathrm{conv}(X)conv(X).

Lübbecke and Desrosiers, in their survey Selected Topics in Column Generation (Operations Research 53(6), 2005), present discretization (Johnson 1989, Vanderbeck 2000) as the true integer analogue of the decomposition principle. Its basis is their Theorem 1: the integer points of a rational polyhedron are generated by finitely many integer points and finitely many integer rays with integer multipliers. The paper states this result and refers its proof to Nemhauser and Wolsey, Integer and Combinatorial Optimization (1988). It underlies the integer master problem (25) of branch-and-price.

Setting

Let DDD be an m×nm \times nm×n matrix and d\mathbf dd an mmm-vector with rational entries. The polyhedron is

P={x∈Rn∣Dx⩾d, x⩾0},P = \{\mathbf x \in \mathbb R^n \mid D\mathbf x \geqslant \mathbf d,\ \mathbf x \geqslant \mathbf 0\},P={x∈Rn∣Dx⩾d, x⩾0},

and its set of integer points is X=P∩ZnX = P \cap \mathbb Z^nX=P∩Zn, the points of PPP whose coordinates are all integers. Because P⊆R+nP \subseteq \mathbb R^n_+P⊆R+n​, X=P∩Z+nX = P \cap \mathbb Z^n_+X=P∩Z+n​.

The recession cone of PPP is {r∈Rn∣Dr⩾0, r⩾0}\{\mathbf r \in \mathbb R^n \mid D\mathbf r \geqslant \mathbf 0,\ \mathbf r \geqslant \mathbf 0\}{r∈Rn∣Dr⩾0, r⩾0}. An integer ray of PPP is a nonzero vector of Zn\mathbb Z^nZn in this cone. Extreme rays are not required.

In Lean these are polyhedronP D d, integerPoints D d, recessionConeP D and IsIntegerRay D w in the namespace Lubbecke2005.Discretization, with integer vectors cast to real vectors by castVec.

Formalization targets

Goal: Theorem 1 (pp. 1011–1012)

If P≠∅P \neq \emptysetP=∅, there exist a finite set of integer points {pq}q∈Q⊆X\{\mathbf p_q\}_{q \in Q} \subseteq X{pq​}q∈Q​⊆X and a finite set of integer rays {pr}r∈R\{\mathbf p_r\}_{r \in R}{pr​}r∈R​ of PPP such that

X={x∈R+n ∣ x=∑q∈Qpqλq+∑r∈Rprλr, ∑q∈Qλq=1, λ∈Z+∣Q∣+∣R∣}.(24)X = \Bigl\{\mathbf x \in \mathbb R^n_+ \ \Big|\ \mathbf x = \sum_{q \in Q} \mathbf p_q \lambda_q + \sum_{r \in R} \mathbf p_r \lambda_r,\ \sum_{q \in Q} \lambda_q = 1,\ \boldsymbol\lambda \in \mathbb Z_+^{|Q|+|R|}\Bigr\}. \qquad (24)X={x∈R+n​ ​ x=q∈Q∑​pq​λq​+r∈R∑​pr​λr​, q∈Q∑​λq​=1, λ∈Z+∣Q∣+∣R∣​}.(24)

Since the multipliers are nonnegative integers summing to one over QQQ, (24) says that XXX is the union, over q∈Qq \in Qq∈Q, of the translates pq+Z+{pr}r∈R\mathbf p_q + \mathbb Z_+\{\mathbf p_r\}_{r\in R}pq​+Z+​{pr​}r∈R​ of the monoid generated by the rays. No bound on ∣Q∣|Q|∣Q∣ or ∣R∣|R|∣R∣ is part of the goal.

Milestone: Remark in §3.3 (p. 1012)

If X⊆[0,1]nX \subseteq [0,1]^nX⊆[0,1]n, every point of XXX is a vertex of conv(X)\mathrm{conv}(X)conv(X). In this case convexification and discretization coincide.

Significance

The result. Theorem 1 converts an integer program min⁡{c(x)∣Ax⩾b, x∈X}\min\{c(\mathbf x) \mid A\mathbf x \geqslant \mathbf b,\ \mathbf x \in X\}min{c(x)∣Ax⩾b, x∈X} into the integer master program (25) over the multipliers λ\boldsymbol\lambdaλ, with one column per generating point and per generating ray. When XXX is bounded the rays disappear, exactly one λq\lambda_qλq​ equals one, and (25) is a linear integer program even for a nonlinear cost ccc. The representation is what makes branching on master variables, and the passage between compact and extensive formulations, well defined in branch-and-price.

Formalizing it. The result is classical (Nemhauser–Wolsey 1988, going back to Giles and Pulleyblank and to Meyer's theorem that the integer hull of a rational polyhedron is a polyhedron). On Prove2Me, the real representation (8) is formalized as LinearOptimization.polyhedron_resolution (Bertsimas–Tsitsiklis Thm 4.15) and the integer hull theorem as LinearOptimization.integer_hull_is_polyhedron (Thm 11.3); both are included as reference items. The convexification counterpart of §3.2, that the Lagrangian dual equals the LP over conv(X)\mathrm{conv}(X)conv(X), is LinearOptimization.lagrangean_dual_eq_lp_over_hull. No machine-checked statement of the integer representation (24), with integer multipliers and integer rays, was found on the platform. The mission produces that statement and, once solved, its proof.

Difficulty

The obvious attempt applies the real representation (8) and rounds. It fails twice. First, the extreme points of PPP need not be integral, and an integer point written as a real combination of vertices and rays has no reason to have integer multipliers. Second, the extreme rays of PPP generate the recession cone over R+\mathbb R_+R+​, but the integer points of that cone are not in general nonnegative integer combinations of the (scaled) extreme rays; a generating set of the lattice points of a cone must usually contain non-extreme vectors. The finiteness of QQQ is also not automatic: XXX itself is typically infinite, and taking Q=XQ = XQ=X trivializes the statement.

Rationality of the data is essential. For P={x∈R+2∣2 x1−x2⩾0}P = \{\mathbf x \in \mathbb R^2_+ \mid \sqrt2\,x_1 - x_2 \geqslant 0\}P={x∈R+2​∣2​x1​−x2​⩾0}, every integer ray has slope below 2\sqrt 22​, so finitely many base points and rays generate only points with x2⩽ρx1+Cx_2 \leqslant \rho x_1 + Cx2​⩽ρx1​+C for some ρ<2\rho < \sqrt 2ρ<2​, while XXX contains (k,⌊2k⌋)(k, \lfloor\sqrt2 k\rfloor)(k,⌊2​k⌋) for every kkk.

Formalization scope

  • Vectors are Fin n → ℝ; integer vectors are Fin n → ℤ cast coordinatewise. Both sides of (24) are sets of real vectors.
  • DDD and d\mathbf dd are ℚ-valued and cast to ℝ. This is an addition: the paper names no field, and the theorem is false for irrational data (see Difficulty). The cited source, Nemhauser–Wolsey, works with rational data.
  • The hypothesis P≠∅P \neq \emptysetP=∅ is kept as on the page. XXX may still be empty (e.g. P={1/2}P = \{1/2\}P={1/2}); then Q=∅Q = \emptysetQ=∅ and both sides of (24) are empty. The statement allows this.
  • QQQ and RRR are Fin k and Fin l for existentially chosen k,l∈Nk, l \in \mathbb Nk,l∈N; the finiteness is the content of the theorem. The multiplier vector λ∈Z+∣Q∣+∣R∣\boldsymbol\lambda \in \mathbb Z_+^{|Q|+|R|}λ∈Z+∣Q∣+∣R∣​ is written as a pair of ℕ-valued vectors.
  • "Integer rays of PPP" is read as nonzero integer vectors in the recession cone {Dr⩾0,r⩾0}\{D\mathbf r \geqslant \mathbf 0, \mathbf r \geqslant \mathbf 0\}{Dr⩾0,r⩾0}; extremality is not required, as the page does not require it (contrast (8), which says "extreme rays").
  • The constraint x∈R+n\mathbf x \in \mathbb R^n_+x∈R+n​ on the right side of (24) is kept although it is implied.
  • In the Remark, "vertices of conv(X)\mathrm{conv}(X)conv(X)" is read as extreme points of the convex hull; XXX is finite there, so the two notions agree.

A formalization with real multipliers would be the resolution theorem (8), already on the platform, and one with QQQ or RRR infinite would be trivial; both are excluded by the statement.

Useful infrastructure: lattice points of rational polyhedral cones (Hilbert bases, Gordan's lemma), the integer hull theorem, and the real resolution theorem. A proof of Gordan's lemma for rational cones in this vocabulary would be reusable well beyond this mission. Contributions toward any of these are welcome.

Selected references

  • M. E. Lübbecke and J. Desrosiers, Selected Topics in Column Generation, Operations Research 53(6):1007–1023, 2005. https://doi.org/10.1287/opre.1050.0234
  • G. L. Nemhauser and L. A. Wolsey, Integer and Combinatorial Optimization, Wiley, 1988. https://doi.org/10.1002/9781118627372
  • R. R. Meyer, On the existence of optimal solutions to integer and mixed-integer programming problems, Mathematical Programming 7:223–235, 1974. https://doi.org/10.1007/BF01585518
  • F. Vanderbeck, On Dantzig–Wolfe decomposition in integer programming and ways to perform branching in a branch-and-price algorithm, Operations Research 48(1):111–128, 2000. https://doi.org/10.1287/opre.48.1.111.12453
  • A. Schrijver, Theory of Linear and Integer Programming, Wiley, 1986.
5 thms5 active usersReviewed
🏆Completed
Complexity TheoryLinear algebraOperations Research·Captain: mikedeng1

Some NP-Complete Problems in Quadratic and Nonlinear Programming: Copositivity Testing Is NP-Hard via Subset SumResearch Paper

Motivation

Nonlinear programming algorithms are routinely advertised as finding a local minimum. Most of them only certify first-order conditions (a KKT point), and the natural next question is whether a given feasible point is in fact a local minimum. For smooth problems where the Hessian is nonsingular this is a second-order test, but in the degenerate case the test itself becomes a combinatorial question about a quadratic form restricted to a cone.

K. G. Murty and S. N. Kabadi (Math. Programming 39 (1987) 117–129) showed that this question is intractable already in its simplest instance: deciding whether x=0x = 0x=0 is a local minimum of a quadratic form xTDxx^{\mathsf T}DxxTDx on the nonnegative orthant is NP-complete, and so is deciding whether a square integer matrix is copositive. The paper is the standard reference for the hardness of copositivity testing, which matters for copositive programming, for second-order optimality checks in constrained optimization, and for the complexity of local search in nonconvex optimization.

Setting

Let DDD be a real square matrix of order nnn and Q(x)=xTDxQ(x) = x^{\mathsf T}DxQ(x)=xTDx. The matrix DDD is copositive if Q(x)≥0Q(x) \ge 0Q(x)≥0 for every x≥0x \ge 0x≥0 (coordinatewise). The paper considers the quadratic program

(7)minimize Q(x)subject to x≥0,\text{(7)}\qquad \text{minimize } Q(x) \quad \text{subject to } x \ge 0,(7)minimize Q(x)subject to x≥0,

and the following questions, each phrased so that "yes" is the interesting answer:

  • Problem 1. Is x=0x = 0x=0 not a local minimum of (7)?
  • Problem 2. Is QQQ not bounded below on {x≥0}\{x \ge 0\}{x≥0}?
  • Problem 3. Is there an x≥0x \ge 0x≥0 with Q(x)<0Q(x) < 0Q(x)<0 (is DDD not copositive)?
  • Problem 4. Given a0>0a_0 > 0a0​>0, is there an x≥0x \ge 0x≥0 with eTx=a0e^{\mathsf T}x = a_0eTx=a0​ and Q(x)<0Q(x) < 0Q(x)<0? Here eee is the all-ones vector.
  • Problems 11, 12. With h(u)=(u12,…,un2) D (u12,…,un2)Th(u) = (u_1^2, \dots, u_n^2)\,D\,(u_1^2, \dots, u_n^2)^{\mathsf T}h(u)=(u12​,…,un2​)D(u12​,…,un2​)T, the objective of the unconstrained problem (15): is u=0u = 0u=0 not a local minimum of hhh on Rn\mathbb R^nRn, and is hhh not bounded below?

The source problem is subset sum (Problem 5): given positive integers d0;d1,…,dnd_0; d_1, \dots, d_nd0​;d1​,…,dn​, is there y∈{0,1}ny \in \{0,1\}^ny∈{0,1}n with ∑jdjyj=d0\sum_j d_j y_j = d_0∑j​dj​yj​=d0​? Let lll be the total number of digits in the data. The paper fixes an integer δ>4(d0∑jdj)2n3\delta > 4\big(d_0\sum_j d_j\big)^2 n^3δ>4(d0​∑j​dj​)2n3 and a rational ε\varepsilonε with 0<ε<2−nl20 < \varepsilon < 2^{-nl^2}0<ε<2−nl2, and defines functions of 2n2n2n nonnegative variables (y,s)(y, s)(y,s):

f1(y,s)=(∑jdjyj−d0)2+δ∑j(yj+sj−1)2+∑jyjsj,f_1(y,s) = \Big(\sum_j d_j y_j - d_0\Big)^2 + \delta\sum_j (y_j + s_j - 1)^2 + \sum_j y_j s_j,f1​(y,s)=(j∑​dj​yj​−d0​)2+δj∑​(yj​+sj​−1)2+j∑​yj​sj​,

f2=f1+2d0∑jdjyj(1−yj)f_2 = f_1 + 2d_0\sum_j d_j y_j(1 - y_j)f2​=f1​+2d0​∑j​dj​yj​(1−yj​), a homogeneous quadratic f4f_4f4​ that agrees with f2f_2f2​ on the set

P={(y,s):y≥0, s≥0, ∑j(yj+sj)=n},P = \Big\{(y,s) : y \ge 0,\ s \ge 0,\ \sum_j (y_j + s_j) = n\Big\},P={(y,s):y≥0, s≥0, j∑​(yj​+sj​)=n},

and f5=f4−(ε/n2)(∑j(yj+sj))2f_5 = f_4 - (\varepsilon/n^2)\big(\sum_j (y_j + s_j)\big)^2f5​=f4​−(ε/n2)(∑j​(yj​+sj​))2. The function f5f_5f5​ is a quadratic form xTMxx^{\mathsf T}MxxTMx in x=(y,s)∈R2nx = (y, s) \in \mathbb R^{2n}x=(y,s)∈R2n; the symmetric matrix MMM, with entries computed explicitly from d0,d,δ,εd_0, d, \delta, \varepsilond0​,d,δ,ε, is the output of the reduction.

Formalization targets

Goal: the reduction is correct

For positive integer data d0;d1,…,dnd_0; d_1, \dots, d_nd0​;d1​,…,dn​ and δ,ε\delta, \varepsilonδ,ε as above, with MMM the matrix of f5f_5f5​, the following are equivalent:

subset sum is solvable  ⟺  P1(M)  ⟺  P2(M)  ⟺  P3(M)  ⟺  M not copositive  ⟺  P4(M,n)  ⟺  P11(M)  ⟺  P12(M).\text{subset sum is solvable} \iff \text{P1}(M) \iff \text{P2}(M) \iff \text{P3}(M) \iff M \text{ not copositive} \iff \text{P4}(M, n) \iff \text{P11}(M) \iff \text{P12}(M).subset sum is solvable⟺P1(M)⟺P2(M)⟺P3(M)⟺M not copositive⟺P4(M,n)⟺P11(M)⟺P12(M).

This is the mathematical content of Theorems 1–3 and §4: a polynomially computable map from subset sum instances to matrices under which every one of these questions has the answer of the subset sum instance.

Milestones along the paper's chain

  1. Problems 5 and 6 are equivalent: subset sum is solvable iff some (y,s)∈P(y,s) \in P(y,s)∈P has f1≤0f_1 \le 0f1​≤0.
  2. Problems 6 and 7 are equivalent (f1f_1f1​ vs. f2f_2f2​ on PPP).
  3. Problems 7 and 8 are equivalent (f2f_2f2​ vs. f4f_4f4​ on PPP).
  4. Lemma 2: for an integer symmetric DDD of size LLL, the minimum of QQQ over [0,1]n[0,1]^n[0,1]n is 000 or at most −2−L-2^{-L}−2−L.
  5. Problems 8 and 9 are equivalent: ∃ (y,s)∈P\exists\,(y,s)\in P∃(y,s)∈P with f4≤0f_4 \le 0f4​≤0 iff ∃ (y,s)∈P\exists\,(y,s)\in P∃(y,s)∈P with f5<0f_5 < 0f5​<0.
  6. Problem 9 is a special case of Problem 4: f5(y,s)=xTMxf_5(y,s) = x^{\mathsf T}Mxf5​(y,s)=xTMx, and Problem 9 is Problem 4 for (M,a0=n)(M, a_0 = n)(M,a0​=n).
  7. Problems 3 and 4 are equivalent, for any DDD and a0>0a_0 > 0a0​>0.
  8. Problems 1 and 2 are equivalent to Problem 3, for any DDD.
  9. Problems 11 and 12 are equivalent to Problems 1 and 2, for any DDD.

Significance

The result. The equivalence shows that checking local optimality of a feasible point, checking boundedness of a quadratic objective on a cone, and checking copositivity are all at least as hard as subset sum, hence NP-hard. Through (15) the same holds for local minimality and boundedness of a quartic polynomial with no constraints at all. These facts are the standard justification for why nonconvex solvers settle for KKT points, and the copositivity part underlies the hardness of copositive programming.

The formalization. The paper's claims are proved, and have been cited for decades, but the proof as printed is a sketch: several steps are stated as "clearly" or "it can be verified", and one step of the proof of Theorem 1 (p. 125) is false as written. The inequality (δ/2)(yj+sj−1)2+2d0djyj(1−yj)≥0(\delta/2)(y_j + s_j - 1)^2 + 2d_0 d_j y_j(1 - y_j) \ge 0(δ/2)(yj​+sj​−1)2+2d0​dj​yj​(1−yj​)≥0 for yj>1y_j > 1yj​>1 fails for yjy_jyj​ slightly above 111, and the pointwise implication "f2≤0⇒f1≤0f_2 \le 0 \Rightarrow f_1 \le 0f2​≤0⇒f1​≤0 on PPP" has an explicit counterexample. The equivalence of Problems 6 and 7 itself survives numerical checks. A machine-checked proof of the goal settles the correctness of the reduction with the paper's own constants. No machine-checked proof of these statements exists on the platform.

Difficulty

The combinatorial direction (a subset sum solution gives a point with f5<0f_5 < 0f5​<0) is a computation. The converse direction carries the content, in two places.

First, passing from f1f_1f1​ to f2f_2f2​ trades the linear penalty for a quadratic one. This is harmless on the box 0≤y≤10 \le y \le 10≤y≤1 but not for yj>1y_j > 1yj​>1, where 2d0djyj(1−yj)2d_0d_jy_j(1-y_j)2d0​dj​yj​(1−yj​) is negative. The printed argument handles this coordinate by coordinate and is wrong there; a correct argument has to show that no point of PPP with f2≤0f_2 \le 0f2​≤0 exists unless a point with f1≤0f_1 \le 0f1​≤0 does, which requires a global use of the size of δ\deltaδ.

Second, passing from f4≤0f_4 \le 0f4​≤0 to f5<0f_5 < 0f5​<0 requires a quantitative gap: if f4>0f_4 > 0f4​>0 on PPP then min⁡Pf4≥ε\min_P f_4 \ge \varepsilonminP​f4​≥ε with ε\varepsilonε of only polynomially many bits. Lemma 2 provides such a gap for the unit box and integer matrices, but PPP is not the box and f4f_4f4​ has rational coefficients, so the lemma does not apply verbatim.

The remaining equivalences (Problems 1, 2, 3, 4, 11, 12 for a fixed matrix) follow from homogeneity of the quadratic form and the substitution xj=uj2x_j = u_j^2xj​=uj2​, and are routine.

Formalization scope

The data d0,dj,δd_0, d_j, \deltad0​,dj​,δ are natural numbers and ε\varepsilonε is rational; all are cast to R\mathbb RR in f1,…,f5f_1, \dots, f_5f1​,…,f5​ and MMM. The index j=1,…,nj = 1, \dots, nj=1,…,n is Fin n, and the 2n2n2n variables of MMM are indexed by Fin n ⊕ Fin n with x=x = x= Sum.elim y s. Standing hypotheses: dj>0d_j > 0dj​>0 and d0>0d_0 > 0d0​>0 (the paper's "all positive integers"); δ>4(d0∑jdj)2n3\delta > 4(d_0\sum_j d_j)^2n^3δ>4(d0​∑j​dj​)2n3 in N\mathbb NN; ε>0\varepsilon > 0ε>0 and ε⋅2nl2<1\varepsilon \cdot 2^{nl^2} < 1ε⋅2nl2<1 in Q\mathbb QQ. The size lll counts decimal digits. Problem 1 is local minimality relative to the orthant, Problem 11 is unconstrained local minimality, both in the Euclidean topology. Lemma 2 is stated for integer symmetric DDD (as §4 of the paper says, "as before … symmetric"), with LLL Schrijver's encoding size, since the paper does not define "the size of DDD"; the "optimum is 000 or ≤−2−L\le -2^{-L}≤−2−L" is stated as a disjunction without an infimum. The milestones on f2,f4,f5f_2, f_4, f_5f2​,f4​,f5​ over PPP assume n≥1n \ge 1n≥1, which the paper assumes tacitly; the goal needs no such hypothesis.

Not formalized: membership in NP (Lemma 1), the polynomial-time computability of MMM and its encoding size, the NP-completeness of subset sum (cited by the paper from Garey–Johnson), Theorem 4, and any of the words "NP-complete" or "NP-hard". The platform's complexity layer (Turing machines over bitstrings) has no subset sum problem and no encoding of rational matrices. The matrix MMM has rational entries; a positive integer multiple of it is the integer matrix of Theorem 3, has the same answer to every question, and the rescaling is not formalized. The §3 standing assumption "D is not PSD" is not imposed; the constructed matrix can be PSD and the equivalence holds regardless.

The goal is about the explicit matrix MMM, whose entries are given in the definitions; it is not about "some matrix whose quadratic form is f5f_5f5​", and the constants δ\deltaδ and ε\varepsilonε are the paper's explicit bounds, not "sufficiently large" or "for some ε\varepsilonε". A formalization that quantifies existentially over the matrix or the precision would be trivially true and is ruled out.

Contributions welcome: proofs of the matrix identity and the homogeneity arguments (milestones 6–9), a proof of Lemma 2 (which needs a Cramer/Hadamard bound on basic solutions of the linear complementarity system (9)), and a correct proof of the f1↔f2f_1 \leftrightarrow f_2f1​↔f2​ step. The copositivity definitions and milestones 7–9 are reusable for any later work on copositive programming.

Selected references

  • K. G. Murty and S. N. Kabadi, Some NP-complete problems in quadratic and nonlinear programming, Mathematical Programming 39 (1987) 117–129. https://doi.org/10.1007/BF02592948
  • M. R. Garey and D. S. Johnson, Computers and Intractability: A Guide to the Theory of NP-Completeness, W. H. Freeman, 1979 (subset sum, problem [SP13]).
  • A. Schrijver, Theory of Linear and Integer Programming, Wiley, 1986 (encoding sizes, §2.1).
16 thms5 active usersReviewed
🏆Completed
Convex OptimizationOperations ResearchProbability·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
Linear OptimizationNumber TheoryOperations Research·Captain: mikedeng1

An Application of Simultaneous Diophantine Approximation in Combinatorial Optimization: A Small Integral Objective with the Same Optimal Solutions and Dual BasesResearch Paper

Motivation

An algorithm for linear programming is strongly polynomial if the number of arithmetic operations it performs is bounded by a polynomial in the dimension of the problem alone (the number of variables and constraints), independently of the bit lengths of the numbers in the input. Many combinatorial optimization problems are linear programs over polyhedra of the form P={x∈Rn:Ax≤b}P = \{x \in \mathbb{R}^n : Ax \le b\}P={x∈Rn:Ax≤b} whose constraint matrix AAA has entries 0,+1,−10, +1, -10,+1,−1, but whose objective vector www is an arbitrary rational weight vector. Polynomial-time algorithms for such problems (for instance the ellipsoid-based algorithms of Grötschel, Lovász and Schrijver for maximum-weight cliques in perfect graphs, submodular flows, and matroid polyhedra) have running times that depend on the length of www.

Frank and Tardos (Combinatorica 1987) remove this dependence once and for all: they replace www by an integral objective w~\tilde ww~ whose entries have O(n3)O(n^3)O(n3) bits and which has exactly the same optimal solutions and the same optimal dual bases as www over every such polyhedron. Any algorithm that is polynomial in nnn and in the length of the objective then becomes strongly polynomial. The tool is simultaneous Diophantine approximation, used through the lattice-basis-reduction algorithm of Lenstra, Lenstra and Lovász (Math. Ann. 1982). The technique extends Tardos's strongly polynomial algorithm for linear programs with small constraint matrices (Oper. Res. 1986), which applies only to explicitly given programs.

Setting

For x∈Rnx \in \mathbb{R}^nx∈Rn write ∥x∥∞=max⁡j∣x(j)∣\|x\|_\infty = \max_j |x(j)|∥x∥∞​=maxj​∣x(j)∣ and ∥x∥1=∑j∣x(j)∣\|x\|_1 = \sum_j |x(j)|∥x∥1​=∑j​∣x(j)∣; sign⁡\operatorname{sign}sign takes the values −1,0,+1-1, 0, +1−1,0,+1.

Decomposition. Fix a positive integer NNN. A decomposition of w∈Rnw \in \mathbb{R}^nw∈Rn is an expression

w=∑i=1kλivi,λi>0, vi∈Zn.w = \sum_{i=1}^k \lambda_i v_i, \qquad \lambda_i > 0,\ v_i \in \mathbb{Z}^n.w=i=1∑k​λi​vi​,λi​>0, vi​∈Zn.

It satisfies condition (iii) if for i=2,…,ki = 2, \dots, ki=2,…,k the vector viv_ivi​ is nonzero and λi/λi−1≤1/(N∥vi∥∞)\lambda_i/\lambda_{i-1} \le 1/(N\|v_i\|_\infty)λi​/λi−1​≤1/(N∥vi​∥∞​): the coefficients decrease so quickly that each term is negligible against the previous one.

Preprocessing. Given a rational www and NNN, the paper's preprocessing algorithm finds a decomposition with k≤nk \le nk≤n, condition (iii), and the size bound (ii)' ∥vi∥∞≤2n2+nNn\|v_i\|_\infty \le 2^{n^2+n}N^n∥vi​∥∞​≤2n2+nNn, and outputs

w~=∑i=1kMk−ivi,M=2n2+nNn+1.\tilde w = \sum_{i=1}^k M^{k-i} v_i, \qquad M = 2^{n^2+n} N^{n+1}.w~=i=1∑k​Mk−ivi​,M=2n2+nNn+1.

Linear programs. Let AAA be an m×nm \times nm×n matrix with entries in {0,±1}\{0, \pm 1\}{0,±1} and b∈Rmb \in \mathbb{R}^mb∈Rm. The primal program is max⁡{wx:Ax≤b}\max\{wx : Ax \le b\}max{wx:Ax≤b} and the dual program is min⁡{yb:yA=w, y≥0}\min\{yb : yA = w,\ y \ge 0\}min{yb:yA=w, y≥0}. A point xˉ∈P\bar x \in Pxˉ∈P is www-maximal if wxˉ=max⁡(wx:x∈P)w\bar x = \max(wx : x \in P)wxˉ=max(wx:x∈P). A dual basis is a maximal set of row indices of AAA whose rows are linearly independent; it determines at most one yyy with yA=wyA = wyA=w supported on it (the basic dual solution), and it is an optimal dual basis if that yyy exists and is optimal for the dual program.

Formalization targets

Goal — Theorem 4.2 (p. 58)

For every w∈Qnw \in \mathbb{Q}^nw∈Qn, with N=(n+1)!+1N = (n+1)! + 1N=(n+1)!+1, there is w~∈Zn\tilde w \in \mathbb{Z}^nw~∈Zn with

∥w~∥∞≤24n3Nn(n+2)\|\tilde w\|_\infty \le 2^{4n^3} N^{n(n+2)}∥w~∥∞​≤24n3Nn(n+2)

such that for every 0,±10, \pm10,±1 matrix AAA with nnn columns and every bbb: (i) x∈Px \in Px∈P is www-maximal if and only if it is w~\tilde ww~-maximal; (ii) a set of rows of AAA is an optimal dual basis for www if and only if it is one for w~\tilde ww~. The vector w~\tilde ww~ depends on www only, not on AAA or bbb.

Milestones

  1. Dirichlet's theorem (p. 52): for N≥1N \ge 1N≥1 and α∈Rn\alpha \in \mathbb{R}^nα∈Rn there are p∈Znp \in \mathbb{Z}^np∈Zn and 1≤q≤Nn1 \le q \le N^n1≤q≤Nn with ∣qα(i)−p(i)∣<1/N|q\alpha(i) - p(i)| < 1/N∣qα(i)−p(i)∣<1/N for all iii.
  2. Theorem 3.1 (p. 53): every w∈Rnw \in \mathbb{R}^nw∈Rn has a decomposition with k≤nk \le nk≤n, ∥vi∥∞≤Nn\|v_i\|_\infty \le N^n∥vi​∥∞​≤Nn and condition (iii).
  3. Lemma 3.2 (pp. 54–55): under condition (iii), for integral bbb with ∥b∥1≤N−1\|b\|_1 \le N - 1∥b∥1​≤N−1, sign⁡(b⋅w)=sign⁡(b⋅vj)\operatorname{sign}(b \cdot w) = \operatorname{sign}(b \cdot v_j)sign(b⋅w)=sign(b⋅vj​) for the smallest jjj with b⋅vj≠0b \cdot v_j \ne 0b⋅vj​=0, and b⋅w=0b \cdot w = 0b⋅w=0 if there is no such jjj.
  4. Theorem 3.3 (p. 56): the preprocessed w~\tilde ww~ satisfies ∥w~∥∞≤24n3Nn(n+2)\|\tilde w\|_\infty \le 2^{4n^3}N^{n(n+2)}∥w~∥∞​≤24n3Nn(n+2) and sign⁡(w⋅b)=sign⁡(w~⋅b)\operatorname{sign}(w \cdot b) = \operatorname{sign}(\tilde w \cdot b)sign(w⋅b)=sign(w~⋅b) for all integral bbb with ∥b∥1≤N−1\|b\|_1 \le N-1∥b∥1​≤N−1.
  5. The case N=n+1N = n+1N=n+1 (p. 55): an integral w~\tilde ww~ with ∥w~∥∞≤24n3(n+1)n(n+2)\|\tilde w\|_\infty \le 2^{4n^3}(n+1)^{n(n+2)}∥w~∥∞​≤24n3(n+1)n(n+2) and w~(X)≤w~(Y)  ⟺  w(X)≤w(Y)\tilde w(X) \le \tilde w(Y) \iff w(X) \le w(Y)w~(X)≤w~(Y)⟺w(X)≤w(Y) for all subsets X,YX, YX,Y of coordinates.
  6. Lemma 4.1 (i) (p. 57): if sign⁡(w′⋅h)=sign⁡(w′′⋅h)\operatorname{sign}(w' \cdot h) = \operatorname{sign}(w'' \cdot h)sign(w′⋅h)=sign(w′′⋅h) for all integral hhh with ∥h∥1≤(n+1)!\|h\|_1 \le (n+1)!∥h∥1​≤(n+1)!, then w′w'w′ and w′′w''w′′ have the same maximizers over {Ax≤b}\{Ax \le b\}{Ax≤b} for every 0,±10, \pm10,±1 matrix AAA.
  7. Lemma 4.1 (ii) (p. 57): under the same hypothesis, a dual basis is optimal for w′w'w′ if and only if it is optimal for w′′w''w′′.

Significance

The result gives a general reduction: whenever a class of polyhedra with 0,±10, \pm10,±1 constraint matrices admits an optimization algorithm that is polynomial in nnn and in the length of the objective, it admits a strongly polynomial one. The paper applies this to maximum-weight cliques in perfect graphs, optimization over submodular flow polyhedra, and matroid polyhedra membership, and its Section 5 applies the same rounding to the integer programming algorithms of Lenstra and Kannan. The subset-sum corollary (milestone 5) is independently useful: every rational weight function on a finite set can be replaced by an integral one with O(n3)O(n^3)O(n3)-bit entries that orders all subset sums identically.

All statements of this mission have been proved on paper since 1987. None is formalized on Prove2Me, and Mathlib contains only the one-dimensional Dirichlet approximation theorem. The mission produces a machine-checked version of the exact statements, with the explicit constants of the paper; the complexity claims (operation counts, strong polynomiality) are not part of it.

Difficulty

The goal combines two independent parts. The number-theoretic part (milestones 1–5) needs a multidimensional Dirichlet theorem, an induction producing the decomposition, and exact inequality chains with the constants 2n2+nNn2^{n^2+n}N^n2n2+nNn and 24n3Nn(n+2)2^{4n^3}N^{n(n+2)}24n3Nn(n+2). The linear-programming part (milestones 6–7) needs bounds on the entries of inverses of nonsingular 0,±10, \pm10,±1 submatrices, the existence of optimal dual solutions supported on a dual basis, LP duality and complementary slackness. The obvious first idea, scaling www to an integer vector by a common denominator, preserves every sign but gives no bound on ∥w~∥∞\|\tilde w\|_\infty∥w~∥∞​ in terms of nnn; the bound is the content of the theorem. Likewise, rounding each coordinate of www separately to a fixed precision does not preserve the sign of w⋅bw \cdot bw⋅b when w⋅bw \cdot bw⋅b is tiny but nonzero.

Formalization scope

Vectors are functions on Fin n: the input www is rational (Fin n → ℚ) in the goal, in Theorem 3.3 and in the subset-sum corollary, as in the algorithm's input line; it is real in Theorem 3.1, Lemma 3.2 and Lemma 4.1, as on the page. Integral vectors are Fin n → ℤ, and AAA is a Matrix (Fin m) (Fin n) ℤ with every entry in {−1,0,1}\{-1, 0, 1\}{−1,0,1}, cast to R\mathbb{R}R; b∈Rmb \in \mathbb{R}^mb∈Rm is unrestricted. Decompositions are indexed by i∈{1,…,k}⊆Ni \in \{1, \dots, k\} \subseteq \mathbb{N}i∈{1,…,k}⊆N as in the paper. ∥b∥1\|b\|_1∥b∥1​ is always the explicit sum ∑j∣b(j)∣\sum_j |b(j)|∑j​∣b(j)∣, compared with N−1N - 1N−1 in Z\mathbb{Z}Z; ∥v∥∞\|v\|_\infty∥v∥∞​ of an integer vector is a natural number (supNorm). Sign equality uses SignType.sign and includes the zero case. Condition (iii) is stated multiplicatively together with vi≠0v_i \ne 0vi​=0, which the paper's quotient presupposes; without vi≠0v_i \ne 0vi​=0 Lemma 3.2 fails. An optimal dual basis is a maximal linearly independent set of row indices together with an optimal dual solution supported on it.

Two formalizations would make the goal trivial and are excluded: dropping the bound on ∥w~∥∞\|\tilde w\|_\infty∥w~∥∞​ (a multiple of www then works), and letting w~\tilde ww~ depend on AAA and bbb (the goal states ∃w~\exists \tilde w∃w~ before ∀A,b\forall A, b∀A,b). The 0,±10, \pm10,±1 assumption on AAA is part of every Section 4 statement.

A complete development needs a multidimensional pigeonhole argument, determinant and adjugate bounds for 0,±10, \pm 10,±1 matrices, and basic LP duality (strong duality, complementary slackness, basic optimal dual solutions); the last two are reusable across linear-programming missions. Proofs of individual milestones, reusable lemmas on LP duality, and alternative proofs of Dirichlet's theorem are all welcome.

Selected references

  • A. Frank and É. Tardos, An application of simultaneous diophantine approximation in combinatorial optimization, Combinatorica 7(1) (1987) 49–65. https://doi.org/10.1007/BF02579200
  • A. K. Lenstra, H. W. Lenstra Jr. and L. Lovász, Factoring polynomials with rational coefficients, Math. Ann. 261 (1982) 515–534. https://doi.org/10.1007/BF01457454
  • É. Tardos, A strongly polynomial algorithm to solve combinatorial linear programs, Operations Research 34(2) (1986) 250–256. https://doi.org/10.1287/opre.34.2.250
  • M. Grötschel, L. Lovász and A. Schrijver, The ellipsoid method and its consequences in combinatorial optimization, Combinatorica 1 (1981) 169–197. https://doi.org/10.1007/BF02579273
  • J. W. S. Cassels, An Introduction to the Theory of Numbers (title as printed in the paper's reference [2]), Springer, Berlin, 1971; cited in the paper as [2, Sect. 1.10] for Dirichlet's theorem.
11 thms5 active usersReviewed
🏆Completed
CombinatoricsGraph TheoryLinear Optimization+1·Captain: mikedeng1

Theoretical Improvements in Algorithmic Efficiency for Network Flow Problems 3: Capacity Scaling for the Hitchcock ProblemResearch Paper

Motivation

The Hitchcock transportation problem asks how to ship a commodity from mmm supply points to nnn demand points at minimum total cost. It was posed by Hitchcock in 1941 and is one of the founding problems of linear programming and network optimization; it is solved routinely in logistics, and its structure (a bipartite network with supplies, demands and per-unit costs) recurs in assignment, optimal transport and matching.

The classical algorithms for it, the Ford–Fulkerson primal–dual method among them, augment flow one path at a time. With integral data their number of augmentations is bounded only by the total supply ∑iai\sum_i a_i∑i​ai​, which is exponential in the number of binary digits used to write the data. Edmonds and Karp, Theoretical Improvements in Algorithmic Efficiency for Network Flow Problems (J. ACM 19(2), 1972, doi:10.1145/321694.321699), introduced capacity scaling: solve a coarse version of the problem first, then refine one binary digit at a time. Their Theorem 9 (p. 260) bounds the total number of augmentations by a quantity proportional to max⁡(m,n)\max(m,n)max(m,n) times the number of bits of the data, which made the transportation problem, and through standard reductions the minimum-cost flow problem, one of the first network problems with a polynomial-time ("good") algorithm in the sense of Edmonds.

Timeline. Hitchcock (1941) posed the problem; Ford and Fulkerson (1956–1962) gave the primal–dual labeling method and the optimality conditions by node potentials; Edmonds and Karp (1972) gave the scaling method and the bound formalized here. Strongly polynomial algorithms, independent of the size of the numbers, came later (Tardos 1985; Orlin 1988).

Setting

The network of Figure 1 (p. 259) has a source sss, a sink ttt, supply nodes s1,…,sms_1,\dots,s_ms1​,…,sm​ and demand nodes t1,…,tnt_1,\dots,t_nt1​,…,tn​, with m,n≥1m,n\ge 1m,n≥1. Its arcs are (s,si)(s,s_i)(s,si​) with capacity aia_iai​ and cost 000; (si,tj)(s_i,t_j)(si​,tj​) with capacity +∞+\infty+∞ and cost dij≥0d_{ij}\ge 0dij​≥0; (tj,t)(t_j,t)(tj​,t) with capacity bjb_jbj​ and cost 000; and the return arc (t,s)(t,s)(t,s) with capacity +∞+\infty+∞ and cost 000. The supplies aia_iai​ and demands bjb_jbj​ are positive integers with ∑iai=∑jbj=:B\sum_i a_i=\sum_j b_j=:B∑i​ai​=∑j​bj​=:B.

A flow assigns a nonnegative number to every arc, at most the capacity, with inflow equal to outflow at every node. Write f0i=f(s,si)f_{0i}=f(s,s_i)f0i​=f(s,si​), fij=f(si,tj)f_{ij}=f(s_i,t_j)fij​=f(si​,tj​), fj0=f(tj,t)f_{j0}=f(t_j,t)fj0​=f(tj​,t); the value of fff is f(t,s)f(t,s)f(t,s), and a maximum flow is one of largest value. Its cost is ∑i,jdijfij\sum_{i,j} d_{ij} f_{ij}∑i,j​dij​fij​; a flow is extreme if no flow of the same value is cheaper. A flow is pseudo-extreme if there are real ui,vju_i, v_jui​,vj​ with ui−vj+dij≥0u_i-v_j+d_{ij}\ge 0ui​−vj​+dij​≥0 for all i,ji,ji,j and fij=0f_{ij}=0fij​=0 whenever ui−vj+dij>0u_i-v_j+d_{ij}>0ui​−vj​+dij​>0.

An augmenting path relative to fff is a sequence of distinct nodes from sss to ttt in which each step either follows an arc with spare capacity or traverses backwards an arc carrying positive flow; augmenting pushes the minimum spare amount ε\varepsilonε along it and raises f(t,s)f(t,s)f(t,s) by ε\varepsilonε.

For p≥0p\ge 0p≥0, Problem ppp has the same network and costs, with capacities ⌊ai/2p⌋\lfloor a_i/2^p\rfloor⌊ai​/2p⌋ and ⌊bj/2p⌋\lfloor b_j/2^p\rfloor⌊bj​/2p⌋. Choose lll with every ai,bj<2la_i,b_j<2^lai​,bj​<2l. The scaling method solves Problems l−1,l−2,…,0l-1,l-2,\dots,0l−1,l−2,…,0 in turn. Each phase performs augmentations keeping every flow pseudo-extreme, until no augmenting path is left. Problem l−1l-1l−1 starts from the zero flow, and Problem p−1p-1p−1 starts from twice the final flow of Problem ppp.

Formalization targets

Goal: Theorem 9

For every run of the scaling method, the total number ∑p<lKp\sum_{p<l} K_p∑p<l​Kp​ of flow augmentations satisfies

∑p=0l−1Kp  ≤  max⁡(m,n)(2+⌊log⁡2∑i=1maimax⁡(m,n)⌋).\sum_{p=0}^{l-1} K_p \;\le\; \max(m,n)\left(2+\left\lfloor \log_2\frac{\sum_{i=1}^m a_i}{\max(m,n)}\right\rfloor\right).p=0∑l−1​Kp​≤max(m,n)(2+⌊log2​max(m,n)∑i=1m​ai​​⌋).

The bound holds for every lll admissible for the data and every choice of costs, and is stated with the paper's constant exactly.

Milestones

  1. §1.1: augmentation preserves feasibility and raises the value by ε>0\varepsilon>0ε>0; a flow is maximum iff no augmenting path exists.
  2. Theorem 8: a maximum flow is extreme iff there are potentials u0,…,umu_0,\dots,u_mu0​,…,um​, v0,…,vnv_0,\dots,v_nv0​,…,vn​ with (5a)–(5f).
  3. §2.2: a pseudo-extreme maximum flow is extreme.
  4. Lemma 3: if fff is pseudo-extreme in Problem ppp, then 2f2f2f is pseudo-extreme in Problem p−1p-1p−1.
  5. The maximum-flow value of Problem ppp is fp∗=min⁡(∑i⌊ai/2p⌋,∑j⌊bj/2p⌋)f_p^*=\min\big(\sum_i\lfloor a_i/2^p\rfloor,\sum_j\lfloor b_j/2^p\rfloor\big)fp∗​=min(∑i​⌊ai​/2p⌋,∑j​⌊bj​/2p⌋).
  6. Eq. (6): ∑pKp≤f0∗−∑p=1l−1fp∗\sum_p K_p\le f_0^*-\sum_{p=1}^{l-1} f_p^*∑p​Kp​≤f0∗​−∑p=1l−1​fp∗​.
  7. fp∗≥max⁡(0, B/2p−max⁡(m,n))f_p^*\ge\max\big(0,\,B/2^p-\max(m,n)\big)fp∗​≥max(0,B/2p−max(m,n)).

Significance

The result. Theorem 9 shows that scaling reduces the number of augmentations from order BBB to order max⁡(m,n)log⁡2(B/max⁡(m,n))\max(m,n)\log_2(B/\max(m,n))max(m,n)log2​(B/max(m,n)), which is roughly the length of the binary encoding of the data. Combined with the O(mn)O(mn)O(mn) cost of one augmentation it gives a polynomial-time algorithm for the transportation problem; through the reduction of minimum-cost flow to transportation (p. 261) it gives one for minimum-cost flow. Capacity and cost scaling became standard techniques in network optimization and in combinatorial optimization generally. Theorem 8 and the pseudo-extreme criterion are the optimality certificates for transportation, a special case of linear-programming complementary slackness.

Formalizing it. The theorem has been proved since 1972. This mission produces a machine-checked version of the bound, of the exact counting argument (eq. (6)) and of the arithmetic estimate that turns it into the stated constant, together with the potential-based optimality conditions for the transportation network. To our knowledge no machine-checked bound on the number of augmentations of a flow algorithm exists on the platform.

Difficulty

The obvious argument bounds the number of augmentations by the increase in flow value, since each augmentation raises the value by a positive integer. Applied to Problem 0 directly this gives only BBB. The scaling bound needs three things that the naive count does not supply. First, doubling the final flow of Problem ppp must give a feasible, still pseudo-extreme, starting flow for Problem p−1p-1p−1 (Lemma 3). Second, the gap between that start and the optimum of Problem p−1p-1p−1 must be small, which requires the exact maximum-flow value fp∗f_p^*fp∗​ of each scaled problem. Third, the telescoping sum of the gaps must be estimated against log⁡2(B/max⁡(m,n))\log_2(B/\max(m,n))log2​(B/max(m,n)) with the floors handled exactly. Integrality of every intermediate flow is not assumed; it has to be carried along the run from the integral capacities and the zero start.

Formalization scope

Everything lives in the namespace EdmondsKarp.Scaling. Nodes form an inductive type (s, t, src i, dst j). A flow is a structure with components f0, fx, fz, ret for the four arc families, real valued; the infinite capacities are encoded by the absence of an upper bound. IsMaxFlow is a predicate comparing values with every flow, not a supremum. Problem ppp uses natural-number division for ⌊ai/2p⌋\lfloor a_i/2^p\rfloor⌊ai​/2p⌋. Augmenting paths are lists of distinct nodes from s to t whose consecutive pairs have positive residual amount (resCap, valued in WithTop ℝ); they never use the return arc.

A run of the scaling method (IsScalingRun) is a family of phases F p 0,…,F p (K p)F\,p\,0,\dots,F\,p\,(K\,p)Fp0,…,Fp(Kp) for p<lp<lp<l. It starts from 000 in Problem l−1l-1l−1, restarts from 2F p (K p)2F\,p\,(K\,p)2Fp(Kp) in Problem p−1p-1p−1, and advances by one augmentation per step. Every flow is pseudo-extreme, and each phase ends with no augmenting path left. The paper's path-selection rule (minimum weight for the modified reduced costs Δˉ\bar\DeltaΔˉ) is abstracted to this invariant, which the paper states for it, so every run of the paper's method is covered.

The goal compares the count, cast to Z\mathbb{Z}Z, with max⁡(m,n) (2+⌊log⁡2(B/max⁡(m,n))⌋)\max(m,n)\,(2+\lfloor\log_2(B/\max(m,n))\rfloor)max(m,n)(2+⌊log2​(B/max(m,n))⌋), using Real.logb 2 and Int.floor. The constant is the printed one; neither O(⋅)O(\cdot)O(⋅) nor a weaker constant is acceptable. Positivity of all ai,bja_i,b_jai​,bj​ is a hypothesis, because without it the printed bound is false (for m=5m=5m=5, n=1n=1n=1, a=(1,0,0,0,0)a=(1,0,0,0,0)a=(1,0,0,0,0), b=(1)b=(1)b=(1) one augmentation is needed and the bound is negative). A formalization in which runs could be empty or never reach a maximum flow would trivialize the goal; the run predicate forbids this, and it is satisfiable (for instance with m=n=1m=n=1m=n=1, a=b=(1)a=b=(1)a=b=(1), l=1l=1l=1 and one augmentation).

A complete development needs max-flow/min-cut for the bipartite network, integrality of flows along a run, the exact value of fp∗f_p^*fp∗​, the telescoping identity and floor/logarithm estimates. LP duality or complementary slackness is needed only for Theorem 8. The augmenting-path and max-flow lemmas are reusable for other bipartite flow problems. Contributions welcome: proofs of any milestone, and a formalization of the paper's exact Δˉ\bar\DeltaΔˉ path rule showing that it satisfies the invariant.

Selected references

  • J. Edmonds, R. M. Karp, Theoretical Improvements in Algorithmic Efficiency for Network Flow Problems, Journal of the ACM 19(2):248–264, 1972. https://doi.org/10.1145/321694.321699
  • F. L. Hitchcock, The Distribution of a Product from Several Sources to Numerous Localities, Journal of Mathematics and Physics 20:224–230, 1941. https://doi.org/10.1002/sapm1941201224
  • L. R. Ford, D. R. Fulkerson, Flows in Networks, Princeton University Press, 1962. https://doi.org/10.1515/9781400875184
  • É. Tardos, A strongly polynomial minimum cost circulation algorithm, Combinatorica 5:247–255, 1985. https://doi.org/10.1007/BF02579369
  • J. B. Orlin, A faster strongly polynomial minimum cost flow algorithm, Proc. STOC 1988, 377–387. https://doi.org/10.1145/62212.62249
12 thms5 active usersReviewed
🏆Completed
Operations ResearchProbability·Captain: mikedeng1

On Properties of Stochastic Inventory Systems I: Using the EOQ Order Quantity in the Stochastic (Q, r) Model Raises Costs by at Most 1/8Research Paper

Motivation

The economic order quantity (EOQ) is the most widely used formula in inventory management. It assumes that demand is a deterministic constant stream. Real demand is random, and the model that accounts for this, the continuous-review (Q,r)(Q, r)(Q,r) policy with stochastic demand, has no closed-form optimum: for decades its optimal parameters were computed numerically, one instance at a time, which gave little insight into how the stochastic system behaves. Practitioners nevertheless kept using the EOQ quantity in stochastic systems and observed that the cost penalty was small (Wagner, O'Hagan and Lundh 1965; Naddor 1975; Archibald and Silver 1978), without an analytical explanation.

Zheng (Management Science 38(1), 1992) supplied that explanation. By minimising the average cost first over the reorder point and then over the order quantity, he obtained two simple optimality equations and compared the stochastic model with the EOQ model under the same cost structure. One of the results is the goal of this mission: for every leadtime-demand distribution, using the EOQ order quantity in the stochastic system raises the average cost by at most one eighth. The paper extends Federgruen and Zheng (1988), who treated the discrete-demand version of the cost function.

Setting

A single item faces demand at rate λ>0\lambda > 0λ>0. Orders are delivered after a fixed leadtime L>0L > 0L>0, and stockouts are backordered. Each order costs a fixed K>0K > 0K>0. Inventory is held at cost rate h>0h > 0h>0 per unit and backorders are penalised at cost rate p>0p > 0p>0 per unit. Let D≥0D \ge 0D≥0 be the demand during a leadtime, with mean E(D)=λLE(D) = \lambda LE(D)=λL. The newsvendor cost

G(y)=E[h(y−D)++p(D−y)+]G(y) = E\big[h(y - D)^+ + p(D - y)^+\big]G(y)=E[h(y−D)++p(D−y)+]

is the rate at which expected inventory costs accrue at time t+Lt + Lt+L when the inventory position at time ttt is yyy. It is convex, and it is assumed, as in the paper, to attain its minimum at a unique point y0y^0y0.

A (Q,r)(Q, r)(Q,r) policy orders QQQ units whenever the inventory position falls to the reorder point rrr. Its long-run average cost is

c(Q,r)=λK+∫rr+QG(y) dyQ.(1)c(Q, r) = \frac{\lambda K + \int_r^{r+Q} G(y)\,dy}{Q}. \qquad (1)c(Q,r)=QλK+∫rr+Q​G(y)dy​.(1)

For a fixed Q>0Q > 0Q>0 let r(Q)r(Q)r(Q) be an optimal reorder point, and set

H(Q)=G(r(Q)) (Q>0),H(0)=G(y0),C(Q)=c(Q,r(Q)),A(Q)=QH(Q)−∫0QH(y) dy.H(Q) = G(r(Q)) \ (Q > 0),\quad H(0) = G(y^0),\quad C(Q) = c(Q, r(Q)),\quad A(Q) = Q H(Q) - \int_0^Q H(y)\,dy .H(Q)=G(r(Q)) (Q>0),H(0)=G(y0),C(Q)=c(Q,r(Q)),A(Q)=QH(Q)−∫0Q​H(y)dy.

C(Q)C(Q)C(Q) is the average cost when the reorder point is chosen optimally for QQQ; an order quantity Q∗>0Q^* > 0Q∗>0 minimising CCC over Q>0Q > 0Q>0 is the optimal order quantity, and C∗=C(Q∗)C^* = C(Q^*)C∗=C(Q∗) is the optimal cost.

The EOQ model is the special case in which the leadtime demand is the constant λL\lambda LλL. Its cost rate is Gd(y)=h(y−λL)++p(λL−y)+G_d(y) = h(y - \lambda L)^+ + p(\lambda L - y)^+Gd​(y)=h(y−λL)++p(λL−y)+, and its optimal order quantity is

Qd∗=2λK(h+p)hp.Q^*_d = \sqrt{\frac{2\lambda K(h+p)}{hp}} .Qd∗​=hp2λK(h+p)​​.

The subscript ddd marks every object of the EOQ model (rdr_drd​, HdH_dHd​, AdA_dAd​).

Formalization targets

Goal: Theorem 5

R=C(Qd∗)−C∗C∗  ≤  18−12(12−Qd∗Q∗)2  ≤  18.R = \frac{C(Q^*_d) - C^*}{C^*} \;\le\; \frac18 - \frac12\left(\frac12 - \frac{Q^*_d}{Q^*}\right)^2 \;\le\; \frac18 .R=C∗C(Qd∗​)−C∗​≤81​−21​(21​−Q∗Qd∗​​)2≤81​.

C(Qd∗)C(Q^*_d)C(Qd∗​) is the stochastic cost at the EOQ quantity with the reorder point re-optimised for it. The bound holds for every leadtime-demand distribution and every value of the parameters.

Milestones

In the order the goal's proof uses them:

  • Lemma 1 (joint convexity of ccc), Lemma 2 (r=r(Q)  ⟺  G(r)=G(r+Q)r = r(Q) \iff G(r) = G(r+Q)r=r(Q)⟺G(r)=G(r+Q)), Lemma 3 (properties of r(Q)r(Q)r(Q)), Corollary 1 (G(r(Q))≤max⁡(G(r),G(r+Q))G(r(Q)) \le \max(G(r), G(r+Q))G(r(Q))≤max(G(r),G(r+Q)));
  • Eq. (7) (C(Q)=(λK+∫0QH)/QC(Q) = (\lambda K + \int_0^Q H)/QC(Q)=(λK+∫0Q​H)/Q), Lemma 4 (HHH increasing, convex, asymptotic slope hp/(h+p)hp/(h+p)hp/(h+p)), Lemma 5 (CCC convex), Eq. (8) (H(Q∗)=C(Q∗)H(Q^*) = C(Q^*)H(Q∗)=C(Q∗)), Theorem 1 ((Q,r)(Q, r)(Q,r) optimal iff c(Q,r)=G(r)=G(r+Q)c(Q,r) = G(r) = G(r+Q)c(Q,r)=G(r)=G(r+Q)), Lemma 6 (AAA increasing convex, Q=Q∗  ⟺  A(Q)=λKQ = Q^* \iff A(Q) = \lambda KQ=Q∗⟺A(Q)=λK, comparative statics in KKK);
  • Eqs. (18), (20) (the EOQ model: Hd(Q)=hpQ/(h+p)H_d(Q) = hpQ/(h+p)Hd​(Q)=hpQ/(h+p) and the formula for Qd∗Q^*_dQd∗​), Eq. (22) (Gd≤GG_d \le GGd​≤G), Lemma 7 (H0≤Hd≤HH_0 \le H_d \le HH0​≤Hd​≤H, A≤AdA \le A_dA≤Ad​), and the first inequality of Theorem 2, Qd∗≤Q∗Q^*_d \le Q^*Qd∗​≤Q∗.

Significance

The theorem is a distribution-free worst-case guarantee for the most common heuristic in inventory practice. It says that the EOQ formula, which needs only the mean demand rate and three cost parameters, loses at most 12.5%12.5\%12.5% against the true optimum, and that the loss is smaller when Qd∗/Q∗Q^*_d/Q^*Qd∗​/Q∗ is close to 12\frac1221​ or to 111. Combined with the paper's Theorem 2 (the gap Q∗−Qd∗Q^* - Q^*_dQ∗−Qd∗​ is bounded as KKK grows), it implies that the relative loss vanishes as the fixed ordering cost grows. The milestones along the way (the optimality conditions of Theorem 1, the monotonicity of the optimal reorder point, the comparison of HHH with its EOQ counterpart) are the standard structural facts about continuous (Q,r)(Q, r)(Q,r) systems and are reused throughout the inventory literature.

The result is proved in the paper. No machine-checked version of it, or of the (Q,r)(Q, r)(Q,r) optimality conditions for the continuous cost (1), is known to exist. The platform has related but different formalizations: the discrete cost function with integer QQQ (InventoryControl_rqDiscrete), the (R,Q)(R, Q)(R,Q) cost under normal demand (InventoryControl_rq), and the EOQ without backorders (InventoryControl_eoq). A complete development here provides the continuous (Q,r)(Q, r)(Q,r) machinery for an arbitrary leadtime-demand distribution.

Difficulty

The paper's proofs differentiate r(Q)r(Q)r(Q) and H(Q)H(Q)H(Q) twice (Eqs. (4), (5)), which presupposes a leadtime demand with a smooth density. The formalization does not assume one, so that discrete demand, such as the Poisson demand of the paper's own numerical study, is covered. Every step that the paper takes through derivatives, in particular the convexity of HHH and the slope bound H′≤hp/(h+p)H' \le hp/(h+p)H′≤hp/(h+p), has to be established by other means: through one-sided derivatives or chord arguments for the convex function GGG, whose kinks are where the derivative-based argument breaks. The definition of r(Q)r(Q)r(Q) as a minimiser also means its existence and uniqueness must be proved before any property of HHH, CCC or AAA can be used.

Formalization scope

  • The model is a probability measure μ\muμ on R\mathbb{R}R (the law of DDD), concentrated on [0,∞)[0,\infty)[0,∞), integrable, with mean λL\lambda LλL; GGG is the integral of hmax⁡(y−x,0)+pmax⁡(x−y,0)h\max(y-x,0) + p\max(x-y,0)hmax(y−x,0)+pmax(x−y,0) against μ\muμ. The standing assumptions are bundled in IsQRModel: λ,L,h,p>0\lambda, L, h, p > 0λ,L,h,p>0, the conditions on μ\muμ, and the unique minimiser of GGG (paper, p. 90). K>0K > 0K>0 is a separate hypothesis. No density is assumed.
  • ccc, r(Q)r(Q)r(Q), y0y^0y0, HHH, H0H_0H0​, CCC, AAA and optimality of an order quantity are defined for an arbitrary cost rate GGG and applied both to the newsvendor cost and to GdG_dGd​; the EOQ objects rdr_drd​, HdH_dHd​, AdA_dAd​ are these definitions at GdG_dGd​, and Eqs. (18), (20) are theorems.
  • r(Q)r(Q)r(Q) is a chosen minimiser of c(Q,⋅)c(Q,\cdot)c(Q,⋅) (never defined by G(r)=G(r+Q)G(r) = G(r+Q)G(r)=G(r+Q), which is Lemma 2). H(0):=G(y0)H(0) := G(y^0)H(0):=G(y0); right-continuity of HHH at 000 is part of the Lemma 4 milestone. Order quantities range over (0,∞)(0,\infty)(0,∞) for ccc and CCC and over [0,∞)[0,\infty)[0,∞) for HHH, H0H_0H0​, AAA.
  • Q∗Q^*Q∗ in the goal is any Q>0Q > 0Q>0 with C(Q)≤C(Q′)C(Q) \le C(Q')C(Q)≤C(Q′) for all Q′>0Q' > 0Q′>0; Lemma 6 asserts that exactly one exists, so the goal is not vacuous. Qd∗Q^*_dQd∗​ is the explicit square-root formula.
  • Readings of informal words: "increasing" in Lemmas 4 and 6 means strictly increasing on [0,∞)[0,\infty)[0,∞); "Q∗Q^*Q∗ increasing, r∗r^*r∗ decreasing in KKK" means strictly; "asymptotic slope hp/(h+p)hp/(h+p)hp/(h+p)" means that every chord of HHH on [0,∞)[0,\infty)[0,∞) has slope at most hp/(h+p)hp/(h+p)hp/(h+p) and H(Q)/Q→hp/(h+p)H(Q)/Q \to hp/(h+p)H(Q)/Q→hp/(h+p); Lemma 3 part 3 is stated as strict monotonicity of r(Q)r(Q)r(Q) and r(Q)+Qr(Q) + Qr(Q)+Q, and its derivative clause −1<r′(Q)<0-1 < r'(Q) < 0−1<r′(Q)<0 is omitted because rrr need not be differentiable without a density; "the optimal order quantity" means existence and uniqueness; Lemma 7 is stated for Q≥0Q \ge 0Q≥0.
  • A trivializing formalization is ruled out: C(Qd∗)C(Q^*_d)C(Qd∗​) is the stochastic cost with the reorder point re-optimised in the stochastic model (not the EOQ reorder point rd∗r^*_drd∗​), and no positivity of C∗C^*C∗ is assumed (it follows from the model).
  • Out of scope: the discrete cost (2), the §4 numerical study, and the unnumbered remarks after Theorem 5.
  • Needed infrastructure: interval integrals of convex functions, partial minimisation of jointly convex functions, Jensen's inequality for μ\muμ, and one-sided derivatives of convex functions. The generic (Q,r)(Q, r)(Q,r) machinery (optimality conditions for arbitrary convex GGG) is reusable for other continuous-review models. Proofs of any milestone, and alternative proofs that avoid the paper's differentiability assumptions, are welcome.

Selected references

  • Yu-Sheng Zheng, On Properties of Stochastic Inventory Systems, Management Science 38(1):87–103, 1992. https://doi.org/10.1287/mnsc.38.1.87
  • Awi Federgruen and Yu-Sheng Zheng, An Efficient Algorithm for Computing an Optimal (r, Q) Policy in Continuous Review Stochastic Inventory Systems, Operations Research 40(4):808–813, 1992. https://doi.org/10.1287/opre.40.4.808
  • Paul H. Zipkin, Inventory Service-Level Measures: Convexity and Approximation, Management Science 32(8):975–981, 1986. https://doi.org/10.1287/mnsc.32.8.975
  • George Hadley and Thomson M. Whitin, Analysis of Inventory Systems, Prentice-Hall, 1963.
  • Daniel P. Heyman and Matthew J. Sobel, Stochastic Models in Operations Research, Vol. II, McGraw-Hill, 1984.
18 thms5 active usersReviewed
🏆Completed
AnalysisOperations Research·Captain: mikedeng1

Robust Mean-Covariance Solutions for Stochastic Optimization II: An Inverse S-Shaped Derivative with Finite Limits Gives the Two-Point Support PropertyResearch Paper

Motivation

In stochastic optimization the law of a random return rrr is rarely known exactly, while its mean and variance can be estimated. A robust mean-covariance decision maker therefore evaluates a utility uuu by its worst case

U=inf⁡{ Eν[u(r)]:ν a law on R with mean μ and variance σ2 }.U=\inf\{\,E_\nu[u(r)] : \nu \text{ a law on } \mathbb R \text{ with mean } \mu \text{ and variance } \sigma^2\,\}.U=inf{Eν​[u(r)]:ν a law on R with mean μ and variance σ2}.

Popescu (Operations Research 55(1), 2007) shows that for large classes of utilities this infinite-dimensional problem collapses to a one-dimensional one. The paper projects multivariate problems to a single dimension (the subject of the first mission of this series) and then asks for which uuu the univariate worst case sits on laws with two support points. This mission formalizes the answer the paper gives for utilities whose marginal utility u′u'u′ is decreasing and changes curvature once, with finite limits: log-logistic utilities C+log⁡11+e−axC+\log\frac{1}{1+e^{-ax}}C+log1+e−ax1​ used in statistics and classification, and catenary-type utilities C−bcosh⁡(ax)C-b\cosh(ax)C−bcosh(ax), each plus a concave quadratic.

The result has a bounded-support precursor: Birge and Dulá (Annals of Operations Research 30, 1991, Theorem 5.1, as cited on p. 102 of Popescu 2007) proved an analogous two-point statement for functions on a bounded interval. Popescu's Proposition 5 is the unbounded version on the whole real line.

Setting

Let u:R→Ru:\mathbb R\to\mathbb Ru:R→R.

  • The family Q\mathcal QQ collects the coefficient triples of quadratics lying below uuu: Q={(A,B,C)∣q(y)=Ay2+By+C≤u(y) ∀y∈R}\mathcal Q=\{(A,B,C) \mid q(y)=Ay^2+By+C\le u(y)\ \forall y\in\mathbb R\}Q={(A,B,C)∣q(y)=Ay2+By+C≤u(y) ∀y∈R}.
  • A two-point law with support {a,b}\{a,b\}{a,b}, a<ba<ba<b, puts mass p∈(0,1)p\in(0,1)p∈(0,1) on aaa and 1−p1-p1−p on bbb. It has mean μ\muμ and variance σ2\sigma^2σ2 when pa+(1−p)b=μpa+(1-p)b=\mupa+(1−p)b=μ and p(a−μ)2+(1−p)(b−μ)2=σ2p(a-\mu)^2+(1-p)(b-\mu)^2=\sigma^2p(a−μ)2+(1−p)(b−μ)2=σ2.
  • Two-point support property (Definition 1). uuu has it with respect to (μ,σ2)(\mu,\sigma^2)(μ,σ2) if some quadratic qqq with coefficients in Q\mathcal QQ meets uuu at two points a<ba<ba<b, i.e. q(a)=u(a)q(a)=u(a)q(a)=u(a), q(b)=u(b)q(b)=u(b)q(b)=u(b), and a two-point law with support {a,b}\{a,b\}{a,b}, mean μ\muμ and variance σ2\sigma^2σ2 exists. uuu has the two-point support property if this holds for every μ∈R\mu\in\mathbb Rμ∈R and every σ>0\sigma>0σ>0.
  • Shapes (Definition 2). f:R→Rf:\mathbb R\to\mathbb Rf:R→R is convex-concave if for some x0x_0x0​ it is convex on (−∞,x0)(-\infty,x_0)(−∞,x0​) and concave on (x0,∞)(x_0,\infty)(x0​,∞); concave-convex if −f-f−f is convex-concave; S-shaped if increasing and convex-concave; inverse S-shaped if −f-f−f is S-shaped. So an inverse S-shaped fff is decreasing, concave on (−∞,x0)(-\infty,x_0)(−∞,x0​) and convex on (x0,∞)(x_0,\infty)(x0​,∞).
  • Lemma 1's quadratic. For a<ba<ba<b and slopes qa,qbq_a,q_bqa​,qb​, set
A=qb−qa2(b−a),B=bqa−aqbb−a,C=bu(a)−au(b)b−a−ab qa−qb2(b−a),A=\frac{q_b-q_a}{2(b-a)},\quad B=\frac{bq_a-aq_b}{b-a},\quad C=\frac{bu(a)-au(b)}{b-a}-ab\,\frac{q_a-q_b}{2(b-a)},A=2(b−a)qb​−qa​​,B=b−abqa​−aqb​​,C=b−abu(a)−au(b)​−ab2(b−a)qa​−qb​​,

and q(y)=Ay2+By+Cq(y)=Ay^2+By+Cq(y)=Ay2+By+C (lemma1Quad).

  • The function ggg. For μ∈R\mu\in\mathbb Rμ∈R, σ>0\sigma>0σ>0 and y<μy<\muy<μ let z=μ+σ2/(μ−y)z=\mu+\sigma^2/(\mu-y)z=μ+σ2/(μ−y) (partnerPoint) and g(y)=u(z)−u(y)z−y−u′(y)+u′(z)2g(y)=\frac{u(z)-u(y)}{z-y}-\frac{u'(y)+u'(z)}{2}g(y)=z−yu(z)−u(y)​−2u′(y)+u′(z)​ (prop5Gap).

Formalization targets

Goal: Proposition 5 (p. 102)

If uuu is differentiable, u′u'u′ is inverse S-shaped, and the limits lim⁡y→−∞u′(y)\lim_{y\to-\infty}u'(y)limy→−∞​u′(y) and lim⁡y→+∞u′(y)\lim_{y\to+\infty}u'(y)limy→+∞​u′(y) exist and are finite, then

u satisfies the two-point support property.u \text{ satisfies the two-point support property.}u satisfies the two-point support property.

Milestones

  1. Proof of Lemma 1, first sentence. If a<ba<ba<b and u(b)−u(a)b−a=qa+qb2\frac{u(b)-u(a)}{b-a}=\frac{q_a+q_b}{2}b−au(b)−u(a)​=2qa​+qb​​, then q(a)=u(a)q(a)=u(a)q(a)=u(a) and q(b)=u(b)q(b)=u(b)q(b)=u(b).
  2. Tangency (p. 110). q′(a)=qaq'(a)=q_aq′(a)=qa​ and q′(b)=qbq'(b)=q_bq′(b)=qb​.
  3. Lemma 1. uuu has two-point support if and only if for all μ\muμ and σ>0\sigma>0σ>0 there are a<ba<ba<b and qa,qbq_a,q_bqa​,qb​ with
(b−μ)(μ−a)=σ2,u(b)−u(a)b−a=qa+qb2,q≤u on R.(b-\mu)(\mu-a)=\sigma^2,\qquad \frac{u(b)-u(a)}{b-a}=\frac{q_a+q_b}{2},\qquad q\le u \text{ on } \mathbb R.(b−μ)(μ−a)=σ2,b−au(b)−u(a)​=2qa​+qb​​,q≤u on R.
  1. Limits of ggg (p. 110). Under the goal's hypotheses, with ℓ±=lim⁡y→±∞u′(y)\ell_\pm=\lim_{y\to\pm\infty}u'(y)ℓ±​=limy→±∞​u′(y),
lim⁡y→−∞g(y)=ℓ−−u′(μ)2>0,lim⁡y→μ−g(y)=ℓ+−u′(μ)2<0.\lim_{y\to-\infty}g(y)=\frac{\ell_--u'(\mu)}{2}>0,\qquad \lim_{y\to\mu^-}g(y)=\frac{\ell_+-u'(\mu)}{2}<0 .y→−∞lim​g(y)=2ℓ−​−u′(μ)​>0,y→μ−lim​g(y)=2ℓ+​−u′(μ)​<0.
  1. A zero of ggg (p. 110). There is a<μa<\mua<μ with g(a)=0g(a)=0g(a)=0; with b=μ+σ2/(μ−a)b=\mu+\sigma^2/(\mu-a)b=μ+σ2/(μ−a) one has a<ba<ba<b, (b−μ)(μ−a)=σ2(b-\mu)(\mu-a)=\sigma^2(b−μ)(μ−a)=σ2 and u(b)−u(a)b−a=u′(a)+u′(b)2\frac{u(b)-u(a)}{b-a}=\frac{u'(a)+u'(b)}{2}b−au(b)−u(a)​=2u′(a)+u′(b)​.

Significance

The result. Through the paper's Proposition 4, two-point support turns the worst-case expected utility over all laws with mean μ\muμ and variance σ2\sigma^2σ2 into a minimization over a single parameter p∈(0,1)p\in(0,1)p∈(0,1) of pu(μ+(1−p)/p σ)+(1−p)u(μ−p/(1−p) σ)pu(\mu+\sqrt{(1-p)/p}\,\sigma)+(1-p)u(\mu-\sqrt{p/(1-p)}\,\sigma)pu(μ+(1−p)/p​σ)+(1−p)u(μ−p/(1−p)​σ). Combined with the projection property of the paper's Section 2, this gives tractable robust counterparts of multivariate stochastic programs whose objective depends on a linear combination x′Rx'Rx′R of random returns. Proposition 5 is the paper's sufficient condition that places a concrete class of utilities in this regime; it is also closed under adding any quadratic.

Formalizing it. The result is proved on paper; no machine-checked version is known. The formalization produces a checked characterization of two-point support (Lemma 1), a reusable encoding of convex-concave and S-shaped functions, and a proof of Proposition 5. The printed final step of the paper's proof is incomplete (see Difficulty), so a complete formal proof requires an argument the paper does not spell out.

Difficulty

Conditions (a) and (b) of Lemma 1 come from a sign change of ggg on (−∞,μ)(-\infty,\mu)(−∞,μ): the two limits in milestone 4 need a l'Hôpital-type argument and the continuity of a monotone derivative. The central difficulty is condition (c): showing that the quadratic built from a pair (a,b)(a,b)(a,b) lies below uuu on the whole line. The obvious argument takes any zero aaa of ggg and counts the intersections of the linear q′q'q′ with the inverse S-shaped u′u'u′. This fails when u′u'u′ is affine on an interval: a zero of ggg can then produce a quadratic that coincides with uuu on [a,b][a,b][a,b] but crosses above uuu just left of aaa. A proof must therefore choose the zero of ggg, or the pair (a,b)(a,b)(a,b), with care, and the curvature hypotheses are not strict.

Formalization scope

  • Functions are ℝ → ℝ; u′u'u′ is deriv u, and the goal assumes Differentiable ℝ u. Finite limits are Tendsto (deriv u) atBot (𝓝 l) and Tendsto (deriv u) atTop (𝓝 l) for some real l; the one-sided limit at μ\muμ is along 𝓝[<] μ.
  • "Increasing" in Definition 2 is strict (StrictMono); the paper writes "nondecreasing" for the weak notion. Convexity and concavity are ConvexOn/ConcaveOn on the open half-lines Set.Iio x₀, Set.Ioi x₀, as printed.
  • A two-point law is encoded by its mass p∈(0,1)p\in(0,1)p∈(0,1) on aaa, with a<ba<ba<b; this is equivalent to a probability measure on R\mathbb RR with support {a,b}\{a,b\}{a,b}, mean μ\muμ and variance σ2\sigma^2σ2.
  • "Intersects it at two points a,ba,ba,b" is read as q(a)=u(a)q(a)=u(a)q(a)=u(a) and q(b)=u(b)q(b)=u(b)q(b)=u(b) for some a<ba<ba<b (at least two contact points). This is the reading under which Lemma 1 is an equivalence.
  • The two-point support property quantifies over σ>0\sigma>0σ>0: no two-point law has variance 000, so including σ=0\sigma=0σ=0 would make the property false for every uuu.
  • The two-point support property is defined from Definition 1 (supporting quadratic plus feasible law), not from Lemma 1's conditions, so Lemma 1 is not a tautology. Every division by b−ab-ab−a, z−yz-yz−y or μ−y\mu-yμ−y occurs under a<ba<ba<b or y<μy<\muy<μ.

Useful infrastructure: l'Hôpital's rule at infinity (Analysis/Calculus/LHopital), Darboux's theorem for derivatives, the intermediate value theorem, and one-sided limits of monotone functions. The shape definitions of Definition 2 are reusable for S-shaped value functions elsewhere (prospect theory, sigmoidal utilities). Proofs of the milestones, of the goal, and alternative arguments for condition (c) are all welcome. Related platform work: Wasserstein Distributionally Robust Optimization II.

Selected references

  • I. Popescu, Robust Mean-Covariance Solutions for Stochastic Optimization, Operations Research 55(1):98–112, 2007. https://doi.org/10.1287/opre.1060.0353
  • J. R. Birge, J. H. Dulá, Bounding separable recourse functions with limited distribution information, Annals of Operations Research 30:277–298, 1991 (cited in Popescu 2007, reference list)
10 thms5 active usersReviewed
🏆Completed
Convex OptimizationMachine LearningOperations Research·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
Bandit AlgorithmsOperations ResearchProbability·Captain: naimengye

Multi-armed Bandit Allocation Indices II: Jobs, Parallel Machines, Search and Bandit-Dependent DiscountingTextbook

Motivation

Chapter 3 of Gittins, Glazebrook and Weber, Multi-armed Bandit Allocation Indices (2nd ed., doi:10.1002/9780470980033), asks which of the assumptions behind the index theorem can be dropped and which cannot, using the simplest bandit processes there are: jobs, which pay a single reward when they complete. Along the way it settles three questions that matter on their own. When identical machines run in parallel, which schedule of deterministic jobs minimizes the total completion time (Baker's theorem), and what does the equal-ratio case look like (Theorem 3.3)? When an object is hidden in one of several boxes and each search costs money and may fail, in what order should the boxes be searched (Blackwell's search-index theorem, Theorem 3.6)? And when two bandit processes discount at different rates, is there still an index policy (Nash's Theorem 3.4)? The search theorem is the chapter's example of what the index machinery yields once undiscounted criteria are admitted through the limit γ↓0\gamma \downarrow 0γ↓0; the scheduling results are the source of the counterexamples that show a second machine breaks the index structure.

Setting

Jobs on parallel machines. There are nnn jobs with service times si>0s_i > 0si​>0 and weights cic_ici​, and mmm identical machines. A schedule assigns each job a machine and a position in that machine's processing order; each machine processes its jobs consecutively. The completion time CiC_iCi​ of a job is the total service time of the jobs on its machine up to and including it; the flow time is ∑iCi\sum_i C_i∑i​Ci​ and the weighted flow time ∑iciCi\sum_i c_i C_i∑i​ci​Ci​. The load of a machine is the total service time assigned to it, and δj\delta_jδj​ is its excess over the average S/mS/mS/m. The SPT list schedule sorts the jobs by increasing service time and deals them out cyclically to the machines. The level of a job is its position counted from the end of its machine's schedule.

The search problem (Problem 3). A stationary object is hidden in one of nnn boxes, in box iii with probability pip_ipi​. A search of box iii costs cic_ici​ and finds the object with probability qiq_iqi​ if it is there. A search policy is a sequence of boxes; after NiN_iNi​ unsuccessful searches of box iii the posterior probability that the object is there is proportional to pi(1−qi)Nip_i(1-q_i)^{N_i}pi​(1−qi​)Ni​, and the search index of the box is pi′qi/cip'_i q_i/c_ipi′​qi​/ci​, the current probability of finding the object per unit cost. The expected cost of a policy is ∑kcσkPr⁡[not found by the first k searches]\sum_k c_{\sigma_k}\Pr[\text{not found by the first } k \text{ searches}]∑k​cσk​​Pr[not found by the first k searches].

Two discount factors. Bandit process AAA (state space SAS_ASA​, kernel PAP_APA​, reward rAr_ArA​) discounts at rate aaa and BBB at rate bbb; a reward obtained at time ttt is worth ata^tat or btb^tbt times its face value according to which process produced it. The cross indices are νAB(x)=sup⁡τ>0E∑t<τatrA(x(t))/E[1−bτ]\nu_{AB}(x) = \sup_{\tau>0} \mathbb{E}\sum_{t<\tau} a^t r_A(x(t)) \big/ \mathbb{E}[1 - b^\tau]νAB​(x)=supτ>0​E∑t<τ​atrA​(x(t))/E[1−bτ] and νBA(y)\nu_{BA}(y)νBA​(y) with the roles exchanged: each is computed from one process's stopping times but with the other's discount factor in the denominator. The book prints the denominator as E∫0τbt dt\mathbb{E}\int_0^\tau b^t\,dtE∫0τ​btdt and compares νAB(x)\nu_{AB}(x)νAB​(x) with νBA(y)\nu_{BA}(y)νBA​(y) at every time; both are corrected here (see the Theorem 3.4 item), since the printed rule is not optimal. The family is the two-armed Markov bandit of the Bandit Algorithms model on the disjoint union SA⊕SBS_A \oplus S_BSA​⊕SB​.

Formalization targets

Goal: Theorem 3.6

For prior probabilities pi≥0p_i \ge 0pi​≥0 summing to one, detection probabilities 0<qi≤10 < q_i \le 10<qi​≤1 and costs ci>0c_i > 0ci​>0, a search policy is optimal if and only if at every step it searches a box of maximal current index pi′qi/cip'_i q_i / c_ipi′​qi​/ci​:

optimal(σ)  ⟺  ∀k, ∀i: pi(1−qi)Ni(k)qici≤pσk(1−qσk)Nσk(k)qσkcσk.\text{optimal}(\sigma) \iff \forall k,\ \forall i:\ \frac{p_i (1-q_i)^{N_i(k)} q_i}{c_i} \le \frac{p_{\sigma_k}(1-q_{\sigma_k})^{N_{\sigma_k}(k)} q_{\sigma_k}}{c_{\sigma_k}}.optimal(σ)⟺∀k, ∀i: ci​pi​(1−qi​)Ni​(k)qi​​≤cσk​​pσk​​(1−qσk​​)Nσk​​(k)qσk​​​.

Milestones

Theorem 3.3, as the identity ∑iciCi=κ2(∑isi2+S2/m+∑jδj2)\sum_i c_i C_i = \frac{\kappa}{2}\big(\sum_i s_i^2 + S^2/m + \sum_j \delta_j^2\big)∑i​ci​Ci​=2κ​(∑i​si2​+S2/m+∑j​δj2​) when ci=κsic_i = \kappa s_ici​=κsi​; Theorem 3.4 in discrete time and corrected, that a policy selecting, at time ttt, AAA when atνAB(x)>btνBA(y)a^t \nu_{AB}(x) > b^t \nu_{BA}(y)atνAB​(x)>btνBA​(y) and BBB when atνAB(x)<btνBA(y)a^t \nu_{AB}(x) < b^t \nu_{BA}(y)atνAB​(x)<btνBA​(y) attains the supremum of the bandit-dependently discounted payoff; Theorem 3.7, that SPT minimizes the flow time on mmm machines and that the optimal schedules are exactly those placing the rrr-th block of mmm longest jobs at level rrr from the end, for some order of the equal jobs.

Significance

Theorem 3.6 is the classical solution of the discrete search problem (Blackwell, reported by Matula 1964; Kadane 1969): the greedy rule in probability-per-cost is optimal, and every optimal policy is of that form. The book derives it from the index theorem through an auxiliary family of bandit processes (Problem 3A) and the undiscounted limit (Corollary 3.5), which is why it sits in this chapter; as a statement it is elementary and self-contained, and it is the template for the tax problems and Klimov's model of Chapter 4. Theorem 3.7 and Theorem 3.3 are the positive results about parallel machines that survive the loss of the index structure; Theorem 3.4 shows the index theorem's shape persisting under bandit-dependent discounting, with two twists: each index depends on the other process's discount factor, which is exactly why it does not extend to three processes, and the comparison at time ttt weighs the indices by ata^tat and btb^tbt, so the rule is not stationary in the states. The printed statement misses the second twist and misnormalizes the first; two one-state bandits paying 0.180.180.18 (a=0.9a = 0.9a=0.9) and 111 (b=0.5b = 0.5b=0.5) are best played B,B,BB, B, BB,B,B and then AAA forever, which no stationary rule does.

None of these is machine-checked. Formalizing them gives the platform an optimality theorem for an infinite-horizon search process with an explicit index characterization in both directions, the standard parallel-machine flow-time results with a precise uniqueness clause, and a first statement on the Bandit Algorithms two-armed model with unequal discounting.

Difficulty

For Theorem 3.6 the obvious route, comparing two adjacent searches, gives only that interchanging a pair in the wrong index order lowers the cost; turning that into optimality over all infinite sequences needs that an optimal policy exists (costs are bounded below by zero and the index policy has finite cost), that a policy neglecting a box of positive prior has infinite cost, and that any first deviation from the index rule can be improved by moving a later search forward, which requires tracking how the not-found probability changes along the whole tail. The converse direction is the same interchange run backwards, and the tie case must be handled so that the equivalence is exact. Theorem 3.7's first part follows from writing the flow time as ∑iℓisi\sum_i \ell_i s_i∑i​ℓi​si​ with ℓi\ell_iℓi​ the level and applying a rearrangement inequality over the multiset of levels, but the multiset of levels itself depends on how many jobs each machine gets, so balancing the machine counts is part of the argument; the uniqueness clause needs both that the multiset is forced and that the pairing of levels with service times is forced by strict monotonicity. Theorem 3.4 is the hardest: the book's proof changes the time scale of each process so that the two share a discount factor, which produces a semi-Markov family, and applies the index theorem there; in discrete time on the Markov model one needs either a discrete analogue of that argument or a direct prevailing-charge proof with two charge scales.

Formalization scope

Schedules are assignments of machines and positions with distinct positions on a machine, without idling; the flow-time quantities are finite sums over Fin n. The SPT schedule is defined by the ascending rank of a job (ties broken by index) and carries its own injectivity proof. The search cost is a series in [0,∞][0, \infty][0,∞] of nonnegative terms, so no summability hypothesis is needed and "infinite cost" is literal; the index is stated unnormalized, pi(1−qi)Niqi/cip_i(1-q_i)^{N_i} q_i/c_ipi​(1−qi​)Ni​qi​/ci​, which orders the boxes exactly as the posterior index does. The two-discount family uses the platform's MarkovBanditPolicy 2 (S_A ⊕ S_B) and markovBanditMeasure with the kernel that moves an AAA-state by PAP_APA​ and a BBB-state by PBP_BPB​; the payoff is the round-by-round series ∑t(atE[r1{At=A}]+btE[r1{At=B}])\sum_t (a^t \mathbb{E}[r\mathbf 1\{A_t = A\}] + b^t \mathbb{E}[r\mathbf 1\{A_t = B\}])∑t​(atE[r1{At​=A}]+btE[r1{At​=B}]), absolutely summable for bounded rewards, and the policy condition is imposed at histories whose current states have the right types (all reachable histories do). Hypotheses: m≥1m \ge 1m≥1, service times positive; pi≥0p_i \ge 0pi​≥0, ∑pi=1\sum p_i = 1∑pi​=1, 0<qi≤10 < q_i \le 10<qi​≤1, ci>0c_i > 0ci​>0; countable state spaces, bounded rewards, a,b∈(0,1)a, b \in (0,1)a,b∈(0,1).

Trivializing readings are excluded: the search "iff" is over all sequences, not a finite horizon; the uniqueness clause is stated in full, with ties resolved by any ranking of the equal jobs; the cross indices are suprema over positive stopping times (denominators at least one), and the two-discount rule weighs the indices by ata^tat, btb^tbt. Welcome contributions: the rearrangement and level-count lemmas for schedules, the interchange lemma for the search cost, and a discrete prevailing-charge argument for Theorem 3.4.

Selected references

  • J. Gittins, K. Glazebrook, R. Weber, Multi-armed Bandit Allocation Indices, 2nd ed., Wiley, 2011, Chapter 3. doi:10.1002/9780470980033
  • D. W. Matula, A periodic optimal search, American Mathematical Monthly 71(1), 1964. doi:10.2307/2311300
  • J. B. Kadane, Quiz show problems, Journal of Mathematical Analysis and Applications 27(3), 1969. doi:10.1016/0022-247X(69)90140-2
  • K. R. Baker, Introduction to Sequencing and Scheduling, Wiley, 1974.
  • P. Nash, A generalized bandit problem, Journal of the Royal Statistical Society B 42(2), 1980. doi:10.1111/j.2517-6161.1980.tb01119.x
8 thms5 active usersReviewed
🏆Completed
Control TheoryDynamic ProgrammingOperations Research·Captain: Shuze Chen

Dynamic Programming and Optimal Control IV: LQR and the Riccati EquationTextbook

Motivation

The discrete-time Riccati equation is the central object of linear-quadratic optimal control — the design equation behind LQR/LQG controllers in every modern control stack. Proposition 4.4.1 of Bertsekas, Dynamic Programming and Optimal Control, Vol. I (3rd ed., 2005, §4.1) packages its asymptotic theory: under controllability and observability the Riccati iteration converges to the unique positive semidefinite solution of the algebraic Riccati equation and the resulting closed loop is stable. Alongside it, Lemma 4.2.1 of §4.2 develops K-convexity, the analytical engine behind Scarf's optimality of (s,S)(s,S)(s,S) inventory policies — a foundational result of operations research. Neither the Riccati asymptotics nor K-convexity exists in Mathlib.

Setting

Matrices A∈Rn×nA \in \mathbb{R}^{n\times n}A∈Rn×n, B∈Rn×mB \in \mathbb{R}^{n\times m}B∈Rn×m, Q=C⊤C⪰0Q = C^\top C \succeq 0Q=C⊤C⪰0, R≻0R \succ 0R≻0. The Riccati operator (BertsekasRiccatiMap)

F(P)=A⊤(P−PB(B⊤PB+R)−1B⊤P)A+Q.F(P) = A^\top\big(P - P B (B^\top P B + R)^{-1} B^\top P\big) A + Q.F(P)=A⊤(P−PB(B⊤PB+R)−1B⊤P)A+Q.

(A,B)(A,B)(A,B) is controllable if [B,AB,…,An−1B][B, AB, \dots, A^{n-1}B][B,AB,…,An−1B] has rank nnn (BertsekasControllablePair); (A,C)(A,C)(A,C) is observable if (A⊤,C⊤)(A^\top, C^\top)(A⊤,C⊤) is controllable (BertsekasObservablePair). Separately, g:R→Rg : \mathbb{R} \to \mathbb{R}g:R→R is KKK-convex (BertsekasKConvex, Def. 4.2.1) if K+g(z+y)≥g(y)+zb(g(y)−g(y−b))K + g(z+y) \ge g(y) + \tfrac{z}{b}(g(y) - g(y-b))K+g(z+y)≥g(y)+bz​(g(y)−g(y−b)) for all z≥0z \ge 0z≥0, b>0b > 0b>0, yyy.

Target

∃ P≻0:F(P)=P,P unique among P′⪰0,Fk(P0)→P  ∀P0⪰0,ρ(A+BL)<1,\exists\, P \succ 0:\quad F(P) = P,\quad P \text{ unique among } P' \succeq 0,\quad F^{k}(P_0) \to P \ \ \forall P_0 \succeq 0,\quad \rho\big(A + BL\big) < 1,∃P≻0:F(P)=P,P unique among P′⪰0,Fk(P0​)→P  ∀P0​⪰0,ρ(A+BL)<1,

with L=−(B⊤PB+R)−1B⊤PAL = -(B^\top P B + R)^{-1} B^\top P AL=−(B⊤PB+R)−1B⊤PA — BertsekasDP.riccati_convergence_stability (goal). Milestones: Lemma 4.2.1(a)–(d) (kconvex_of_convex, kconvex_combination, kconvex_expectation, kconvex_sS_structure), culminating in the (s,S)(s,S)(s,S) structure theorem for continuous coercive KKK-convex functions.

Significance

The Riccati result is the mathematical license behind steady-state LQR design: it guarantees the design equation has one meaningful solution, that iterating the finite-horizon recursion finds it, and that the resulting feedback is stabilizing. Formally it would seed a Mathlib-adjacent theory of matrix fixed-point iterations, positive semidefinite order, and spectral-radius stability. The K-convexity milestones are self-contained real analysis, each of independent reuse value for inventory theory; part (d) is the engine of (s,S)(s,S)(s,S)-policy optimality. All results are classical and proved in the book; the formal work is new.

Difficulty

The Riccati proof interleaves monotonicity of FFF on the psd cone, boundedness from controllability (a steering argument), positivity from observability, and stability extracted from the fixed-point identity via a Lyapunov argument — several pieces of matrix analysis (psd order, congruence, Schur-type manipulations, spectral radius vs. convergence of powers) that must be built or located in Mathlib. The naive route of diagonalizing AAA fails: nothing is symmetric about A+BLA + BLA+BL. For Lemma 4.2.1(d), the difficulty is that ggg is not convex: the minimizer structure must come from the K-convexity inequality applied at carefully chosen points, plus continuity and coercivity.

Formalization scope

Real matrices over Fin n; Matrix.PosSemidef/PosDef; matrix inverse is Mathlib's total inverse (zero on singular input — harmless here since B⊤PB+R≻0B^\top P B + R \succ 0B⊤PB+R≻0 along the relevant iterates, which the proof must establish); convergence in the entrywise topology; eigenvalues via spectrum ℂ of the complexified matrix, all strictly inside the unit circle. Rank-based controllability exactly as Def. 4.1.1. K-convexity is stated for all real KKK; note K≥0K \ge 0K≥0 is forced whenever it is satisfiable (z=0z = 0z=0), and the expectation milestone is stated for finitely supported disturbances (integrability automatic).

Selected references

  • D. P. Bertsekas, Dynamic Programming and Optimal Control, Vol. I, 3rd ed., Athena Scientific, 2005. (Prop. 4.4.1, Def. 4.1.1, §4.2, Lemma 4.2.1.) http://www.athenasc.com/dpbook.html
  • R. E. Kalman, Contributions to the theory of optimal control, Bol. Soc. Mat. Mexicana 5 (1960), 102–119.
  • H. Scarf, The optimality of (S, s) policies in the dynamic inventory problem, in Mathematical Methods in the Social Sciences, Stanford Univ. Press, 1960.
9 thms5 active usersReviewed
🏆Completed
Control TheoryDynamic Programming·Captain: Shuze Chen

Dynamic Programming and Optimal Control III: The Minimum PrincipleTextbook

Motivation

The Pontryagin Minimum (Maximum) Principle is the fundamental necessary condition of optimal control, in continuous use since 1956 across aerospace guidance, robotics, and mathematical economics. Chapter 3 of Bertsekas, Dynamic Programming and Optimal Control, Vol. I (3rd ed., 2005) develops it from the dynamic programming side: the HJB sufficiency theorem (Prop. 3.2.1), an envelope lemma (Lemma 3.3.1), the Minimum Principle itself (Prop. 3.3.1), and its discrete-time counterpart (Prop. 3.3.2). Mathlib's optimal-control coverage is currently near zero — no HJB equation, no adjoint equations, no maximum principle — which makes this the mission with the largest gap between textbook maturity and formal coverage in the series.

Setting

Minimize, over admissible pairs, the cost

h(x(T))+∫0Tg(x(t),u(t)) dts.t.x˙(t)=f(x(t),u(t)),  x(0)=x0,  u(t)∈U⊆Rm,h(x(T)) + \int_0^T g(x(t), u(t))\,dt \quad\text{s.t.}\quad \dot x(t) = f(x(t), u(t)),\; x(0) = x_0,\; u(t) \in U \subseteq \mathbb{R}^m,h(x(T))+∫0T​g(x(t),u(t))dts.t.x˙(t)=f(x(t),u(t)),x(0)=x0​,u(t)∈U⊆Rm,

with f,g,hf, g, hf,g,h continuously differentiable (BertsekasCTModel). Admissible controls are piecewise continuous on [0,T][0,T][0,T] — formalized as: bounded image and continuous off a finite set (BertsekasPiecewiseContinuousOn) — and state trajectories are continuous, satisfying the ODE off a finite set (BertsekasCTAdmissibleFrom, parametrized by an arbitrary start (t0,ξ)(t_0, \xi)(t0​,ξ)). The Hamiltonian is H(x,u,p)=g(x,u)+⟨p,f(x,u)⟩H(x,u,p) = g(x,u) + \langle p, f(x,u)\rangleH(x,u,p)=g(x,u)+⟨p,f(x,u)⟩ (BertsekasHamiltonian).

Target

For an optimal admissible pair (u∗,x∗)(u^*, x^*)(u∗,x∗): there exist an adjoint ppp and a constant ccc with

p˙(t)=−∇xH(x∗(t),u∗(t),p(t)),p(T)=∇h(x∗(T)),\dot p(t) = -\nabla_x H(x^*(t), u^*(t), p(t)), \quad p(T) = \nabla h(x^*(T)),p˙​(t)=−∇x​H(x∗(t),u∗(t),p(t)),p(T)=∇h(x∗(T)), u∗(t)∈arg⁡min⁡u∈UH(x∗(t),u,p(t)),H(x∗(t),u∗(t),p(t))=c,u^*(t) \in \arg\min_{u \in U} H(x^*(t), u, p(t)), \qquad H(x^*(t), u^*(t), p(t)) = c,u∗(t)∈argu∈Umin​H(x∗(t),u,p(t)),H(x∗(t),u∗(t),p(t))=c,

away from finitely many times — BertsekasDP.pontryagin_minimum_principle (goal). Milestones: Prop. 3.2.1 (hjb_sufficiency_of_continuous), Lemma 3.3.1 (envelope_gradient_lemma), Prop. 3.3.2 (discrete_minimum_principle).

The HJB milestone carries the hypotheses that fff and ggg are jointly continuous — the consequence of the §3.1 standing assumptions that its proof uses. An earlier version without any regularity hypothesis was disproved: with a discontinuous running cost the cost integrand need not be integrable, and the library's integral of a non-integrable function is 000.

Significance

The Minimum Principle converts an infinite-dimensional optimization into a two-point boundary value problem — the basis of shooting methods and of every "bang-bang" analysis. None of it exists in Mathlib; even the HJB verification theorem would be new. The discrete-time milestone is self-contained multivariable calculus and gives early value; the envelope lemma is reusable well beyond control theory. The results are classical (Pontryagin et al. 1962; the book's Chapter 3); the formal proof of Prop. 3.3.1 will need an honest variational argument — the book's own HJB-based derivation is explicitly informal.

Difficulty

For the goal: the classical proofs go through needle variations and a separation argument, or through regularity of the value function — neither is in Mathlib. The book's derivation assumes differentiability of the optimal value function, which is not a hypothesis of the statement; a formal proof must either supply a rigorous variational argument or add intermediate lemmas as new platform problems (sketching is encouraged). For the HJB milestone, the work is differentiating t↦V(t,x(t))t \mapsto V(t, x(t))t↦V(t,x(t)) along a trajectory that satisfies the ODE only off a finite set, then integrating.

Formalization scope

States and controls in EuclideanSpace ℝ (Fin n) / (Fin m); gradients in Mathlib's gradient; the ODE and adjoint via HasDerivAt off a finite exceptional set; costs via intervalIntegral. Piecewise continuity includes boundedness of the image, so the cost integrand of an admissible pair is genuinely integrable — the junk-value escape (non-integrable integrand ⇒ integral 0) is closed. Fixed initial state, fixed terminal time, free terminal state; time-independent dynamics (so the Hamiltonian is constant, per the book's remark that time-varying systems lose constancy). UUU is an arbitrary set — no compactness or convexity is assumed in the goal.

Selected references

  • D. P. Bertsekas, Dynamic Programming and Optimal Control, Vol. I, 3rd ed., Athena Scientific, 2005. (Ch. 3.) http://www.athenasc.com/dpbook.html
  • L. S. Pontryagin, V. G. Boltyanskii, R. V. Gamkrelidze, E. F. Mishchenko, The Mathematical Theory of Optimal Processes, Interscience, 1962.
  • W. H. Fleming, R. W. Rishel, Deterministic and Stochastic Optimal Control, Springer, 1975. https://doi.org/10.1007/978-1-4612-6380-7
18 thms5 active usersReviewed
🏆Completed
Control Theory·Captain: wenxinzhang

Vector Space Methods XII: Pontryagin Minimum PrincipleTextbook

Motivation

Pontryagin's principle as presented by Luenberger is the decisive necessary condition in continuous-time optimal control. It converts an optimization over functions into a pointwise comparison of a Hamiltonian, coupled to the original state equation and a backward costate equation. Luenberger derives the minimum-Hamiltonian convention from vector-space multiplier ideas and a first-order comparison principle. Formalization is especially valuable here because the printed theorem contains a standard but consequential regularity oversight: it asserts a condition at every time even though controls are only piecewise continuous and the cost is an integral. This mission preserves the intended theorem while replacing that false pointwise claim by the mathematically canonical almost-everywhere statement.

Setting

Fix t₀ < t₁, a finite-dimensional Euclidean state space OCState n, a Euclidean control space OCControl m, and a permitted-control set Omega. A state-control pair (x,u) is admissible when x t₀ = xInit, the state is absolutely continuous on the interval, the control is almost everywhere strongly measurable and lies in Omega almost everywhere, the differential equation x' = F(x,u) holds almost everywhere in the interior, and the running cost is interval integrable. An optimal pair globally minimizes the interval integral among all admissible pairs.

The dynamics F and running cost ell are continuous jointly in state and control and continuously differentiable in the state variable. Their state derivatives Fx and ellx vary continuously. A global Lipschitz estimate controls changes of F in both state and control. Because an a.e. measurable control need not be bounded, the optimal control is explicitly assumed to have an a.e. norm bound on the compact interval, matching the boundedness inherited from the source's piecewise-continuous model. The operator-valued paths Fx (x₀ t) (u₀ t) and ellx (x₀ t) (u₀ t) are also assumed interval integrable along the optimum. Together these hypotheses provide the measure-theoretic regularity needed for the adjoint and state perturbations. The Hamiltonian uses Luenberger's minimum convention,

H(x,u,λ)=⟨λ,F(x,u)⟩+ℓ(x,u).H(x,u,\lambda)=\langle \lambda,F(x,u)\rangle+\ell(x,u).H(x,u,λ)=⟨λ,F(x,u)⟩+ℓ(x,u).

Formalization targets

The root VectorSpaceOpt.pontryagin_minimum_principle asserts the existence of an absolutely continuous costate lambda with terminal value lambda t₁ = 0. Almost everywhere it satisfies the weak inner-product form of

−λ˙(t)=DxF(x0(t),u0(t))∗λ(t)+Dxℓ(x0(t),u0(t)),-\dot\lambda(t)=D_xF(x₀(t),u₀(t))^*\lambda(t)+D_x\ell(x₀(t),u₀(t)),−λ˙(t)=Dx​F(x0​(t),u0​(t))∗λ(t)+Dx​ℓ(x0​(t),u0​(t)),

and almost everywhere on the control interval it satisfies

H(x0(t),u0(t),λ(t))≤H(x0(t),v,λ(t))for every v∈Ω.H(x₀(t),u₀(t),\lambda(t)) \le H(x₀(t),v,\lambda(t)) \quad\text{for every }v\in\Omega.H(x0​(t),u0​(t),λ(t))≤H(x0​(t),v,λ(t))for every v∈Ω.

Two milestones capture source dependencies. control_state_lipschitz_estimate is the Grönwall stability estimate used on p. 263 to control the state response by the integral distance between controls; it explicitly assumes interval integrability of both the state-difference norm and the control-difference norm, so Mathlib's totalized integral cannot hide a nonintegrable input. adjoint_lagrangian_comparison formalizes §9.6, Proposition 1: under an implicit state equation, differentiability in the state, Lipschitz dependence of the state solution, and an adjoint identity, the objective difference agrees with a frozen-state Lagrangian difference up to an explicit filter-level little-o remainder.

Significance

This is the flagship analytic mission of the continuation. It connects finite-dimensional differential calculus, Bochner integration, absolute continuity, ODE constraints, adjoints, and localized control variations in one reusable theorem. The definitions form a minimal control framework that can support terminal costs, endpoint constraints, and alternative maximum-principle conventions later. The corrected a.e. conclusion also demonstrates a central benefit of formalization: informal conventions about representatives of controls and isolated time values must be resolved before a theorem can be accepted.

The weak inner-product adjoint equation avoids introducing a coordinate transpose and remains invariant under the Euclidean-space representation. That choice makes the result immediately reusable in later vector-space treatments of transversality and endpoint multipliers.

Difficulty

The difficulty is very high. Mathlib supplies finite-dimensional calculus, interval integration, absolute continuity, measure-theoretic almost-everywhere statements, and Grönwall tools, but not an assembled Pontryagin framework. The mission must coordinate a state-solution stability estimate, state differentiability of the dynamics and cost, existence and regularity of the backward costate, and Hamiltonian comparison against arbitrary admissible values. The control is measurable rather than globally continuous, so every pointwise expression must be placed under an a.e. quantifier where appropriate. The proposition milestone additionally requires a precise little-o interface instead of an unnamed asymptotic remainder.

Formalization scope

The proposal covers §9.6, Proposition 1 and Theorem 1, with the regularity inherited from the surrounding discussion made explicit. Both the optimal state and the costate are absolutely continuous. Admissible controls are a.e. strongly measurable, which is a broader measure-theoretic proxy for the source's piecewise-continuous controls and is compatible with integral objectives; the root additionally requires the optimal control to be essentially norm bounded on Icc t₀ t₁, restoring the compact-interval boundedness used by the source. The maps F, ell, Fx, and ellx are jointly continuous; state derivatives are supplied by HasFDerivAt; a uniform Lipschitz bound is stated; and both derivative coefficients along the optimal path are interval integrable. The separate Grönwall milestone requires its state and control norm differences to be interval integrable. The interval is required to have positive length.

There is a documented source erratum. The sentence on printed p. 263 states Hamiltonian minimality for every t, while the proof on p. 264 chooses a neighborhood on which a purported strict violation persists. That step requires continuity at the selected time. Moreover, changing a piecewise-continuous control at a single isolated time changes neither its a.e. class, the state equation, nor the integral cost. Therefore no condition can be forced at an arbitrary jump value. The Lean root uses an a.e. conclusion on Icc t₀ t₁; an alternative source-faithful repair would assert the inequality at every continuity point of u₀. The mission does not claim existence of an optimal pair, compactness of Omega, endpoint constraints, nonsmooth dynamics, or a sufficiency theorem.

Selected references

  • David G. Luenberger, Optimization by Vector Space Methods, Wiley, 1969, Chapter 9, §9.6, Proposition 1 and Theorem 1, pp. 262–264, including the printed all-times wording and its proof context. Scan: https://sites.science.oregonstate.edu/~show/old/142_Luenberger.pdf
  • Lean community, Mathlib documentation, continuously updated: https://leanprover-community.github.io/mathlib4_docs/ (interval integration, absolute continuity, Euclidean spaces, Fréchet derivatives, ODE estimates, and a.e. measurability).
7 thms5 active usersReviewed
🏆Completed
Convex OptimizationOperations Research·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
Convex OptimizationOperations Research·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 OptimizationOperations Research·Captain: Shuze Chen

Introduction to Linear Optimization X: Max-Flow Min-CutTextbook

How much flow can be sent from a source sss to a sink ttt through a network with arc capacities uij∈(0,∞]u_{ij}\in(0,\infty]uij​∈(0,∞] — and what certifies that no more is possible? This mission formalizes §7.4-7.5 of Bertsimas & Tsitsiklis. The circulation calculus of §7.4 supplies the two structural tools: the flow decomposition theorem (Lemma 7.1 — every nonzero nonnegative circulation is a positive combination f=∑iaifi\mathbf{f}=\sum_i a_i\mathbf{f}^if=∑i​ai​fi of simple circulations with only forward arcs, with integer aia_iai​ when f\mathbf{f}f is integer) and the optimality criterion for the minimum cost network flow problem (Theorem 7.6 — a feasible flow is optimal if and only if there is no unsaturated cycle with negative cost). Section 7.5 then formulates the maximum flow problem (max⁡bs\max b_smaxbs​ s.t. Af=b\mathbf{A}\mathbf{f}=\mathbf{b}Af=b, bt=−bsb_t=-b_sbt​=−bs​, bi=0b_i=0bi​=0 for i≠s,ti\ne s,ti=s,t, 0≤f≤u0\le\mathbf{f}\le\mathbf{u}0≤f≤u), defines augmenting paths (Definition 7.2: fij<uijf_{ij}<u_{ij}fij​<uij​ on forward arcs, fij>0f_{ij}>0fij​>0 on backward arcs) and the Ford–Fulkerson algorithm, and proves integer invariance and finite termination for integer capacities (Theorem 7.8). The goal is Theorem 7.10:

(a) if the Ford–Fulkerson algorithm terminates because no augmenting path can be found, the current flow is optimal;

(b) the value of the maximum flow equals the minimum cut capacity

C(S)=∑{(i,j)∈A∣i∈S, j∉S}uijC(S)=\sum_{\{(i,j)\in\mathcal{A}\mid i\in S,\,j\notin S\}}u_{ij}C(S)={(i,j)∈A∣i∈S,j∈/S}∑​uij​

— the archetypal combinatorial min-max theorem, which the book notes can also be read as LP duality (pp. 311-312).

14 thms5 active usersReviewed
🏆Completed
Operations ResearchProbability·Captain: mikedeng1

Air Travel Demand and Airline Seat Inventory Management II: The EMSR Protection Level for Two Nested Fare ClassesTextbook

Why airlines protect seats

An airline sells the seats of one flight in several fare classes at different prices, all drawn from one shared cabin. Discount fares are bought early, under advance-purchase restrictions, while most high-fare requests arrive close to departure. Accepting every early low-fare request fills the aircraft with cheap passengers and turns away late high-fare passengers; refusing too many leaves seats empty. Seat inventory control decides how many seats to keep away from the low fare. Peter Belobaba's 1987 MIT thesis (Flight Transportation Laboratory Report R87-7) introduced the expected marginal seat revenue (EMSR) model for this decision, and EMSR-type rules remain the basis of the booking-limit logic in airline revenue management systems.

Timeline. Littlewood (1972, AGIFORS Symposium Proceedings; reprinted 2005) proposed accepting a low-fare request as long as its fare is at least the high fare times the probability of selling all remaining seats to high-fare passengers. Analysts at Trans World Airlines (1973) and Richter at Lufthansa (1982) gave equivalent formulations for the dynamic case. Belobaba (1987, Ch. 5) restated the two-class rule as a static protection level for nested inventories and extended it heuristically to many classes. Brumelle and McGill (Operations Research 41, 1993) and Curry (Transportation Science 24, 1990) later proved optimality of nested protection levels for any number of classes under low-to-high arrivals, and showed that Belobaba's multi-class EMSR levels are not optimal for three or more classes. This mission concerns only the two-class result, which is correct.

Setting

A single flight leg has capacity C∈NC \in \mathbb NC∈N. Class 1 has fare f1f_1f1​, class 2 has fare f2f_2f2​, with 0≤f2≤f10 \le f_2 \le f_10≤f2​≤f1​. The numbers of requests for the two classes are random variables r1,r2r_1, r_2r1​,r2​ with values in N\mathbb NN, defined on a probability space (Ω,μ)(\Omega, \mu)(Ω,μ) and independent. There are no cancellations, no no-shows, and a refused request is lost.

The inventory is nested: a class-1 request is accepted as long as any seat is unsold. A protection level S∈{0,…,C}S \in \{0, \dots, C\}S∈{0,…,C} is the number of seats reserved for class 1; it sets the class-2 booking limit BL2=C−SBL_2 = C - SBL2​=C−S. All class-2 requests arrive before any class-1 request. Class 2 therefore books min⁡(r2,C−S)\min(r_2, C - S)min(r2​,C−S) seats and class 1 books min⁡(r1,C−min⁡(r2,C−S))\min(r_1, C - \min(r_2, C-S))min(r1​,C−min(r2​,C−S)), and the realised revenue is

RS=f2min⁡(r2,C−S)+f1min⁡(r1, C−min⁡(r2,C−S)).R_S = f_2 \min(r_2, C - S) + f_1 \min\bigl(r_1,\, C - \min(r_2, C - S)\bigr).RS​=f2​min(r2​,C−S)+f1​min(r1​,C−min(r2​,C−S)).

The expected revenue is Rˉ(S)=E[RS]\bar R(S) = \mathbb E[R_S]Rˉ(S)=E[RS​].

The tail probability of class 1 is Pˉ1(S)=P[r1≥S]\bar P_1(S) = P[r_1 \ge S]Pˉ1​(S)=P[r1​≥S], the probability of receiving SSS or more class-1 requests, and the expected marginal seat revenue of the SSS-th class-1 seat is

EMSR1(S)=f1⋅Pˉ1(S).\mathrm{EMSR}_1(S) = f_1 \cdot \bar P_1(S).EMSR1​(S)=f1​⋅Pˉ1​(S).

For a single class with SSS seats the expected revenue is f1 E[min⁡(r1,S)]f_1\,\mathbb E[\min(r_1, S)]f1​E[min(r1​,S)], and EMSR1(S)\mathrm{EMSR}_1(S)EMSR1​(S) is its increment from S−1S-1S−1 to SSS seats. The EMSR protection level S21S_2^1S21​ is the largest integer S∈{0,…,C}S \in \{0, \dots, C\}S∈{0,…,C} with

EMSR1(S)≥f2.\mathrm{EMSR}_1(S) \ge f_2 .EMSR1​(S)≥f2​.

In Lean these objects are nestedRevenue, expectedNestedRevenue, tailProb, classRevenue, emsr and emsrProtectionLevel in SeatInventory.Nested.

Formalization targets

Goal: Eqs. (5.15)–(5.16), optimality of the EMSR protection level

Rˉ(S)≤Rˉ(S21)for all S∈{0,…,C}.\bar R(S) \le \bar R(S_2^1) \qquad \text{for all } S \in \{0, \dots, C\}.Rˉ(S)≤Rˉ(S21​)for all S∈{0,…,C}.

The goal fixes no distribution: it holds for every pair of independent N\mathbb NN-valued demands, and S21S_2^1S21​ depends only on f2/f1f_2/f_1f2​/f1​ and the law of r1r_1r1​.

Milestones

  1. Eq. (5.11). f1E[min⁡(r1,S)]−f1E[min⁡(r1,S−1)]=f1P[r1≥S]f_1\mathbb E[\min(r_1,S)] - f_1\mathbb E[\min(r_1,S-1)] = f_1 P[r_1 \ge S]f1​E[min(r1​,S)]−f1​E[min(r1​,S−1)]=f1​P[r1​≥S] for S≥1S \ge 1S≥1.
  2. Eqs. (6.1)–(6.2). Pˉ1\bar P_1Pˉ1​ and, for f1≥0f_1 \ge 0f1​≥0, EMSR1\mathrm{EMSR}_1EMSR1​ are non-increasing in SSS.
  3. Eq. (4.8), Littlewood's rule, already on the platform as RevenueManagement.littlewood_marginal_value (Talluri and van Ryzin's Eq. (2.1), proved).
  4. Sect. 5.2, p. 112. Rˉ(S)≤Rˉ(S21)\bar R(S) \le \bar R(S_2^1)Rˉ(S)≤Rˉ(S21​) for S21≤S≤CS_2^1 \le S \le CS21​≤S≤C: a smaller booking limit for class 2 cannot raise expected revenue.
  5. Sect. 5.2, p. 114. With the same class-2 limit C−SC - SC−S, the expected nested revenue is at least the expected revenue of two distinct inventories with SSS and C−SC - SC−S seats, strictly if f1>0f_1 > 0f1​>0 and P[r2<C−S, r1>S]>0P[r_2 < C - S,\ r_1 > S] > 0P[r2​<C−S, r1​>S]>0.

Significance

The two-class result says that, for a static booking limit set once before sales open and low-fare demand arriving first, the airline needs only the high-fare demand distribution and the fare ratio to set the optimal limit; the low-fare forecast is irrelevant. This is the rule that the thesis then applies class by class in multi-class nested systems, and it is the base case against which the later exact multi-class theory (Brumelle–McGill, Curry) is checked. Milestone 5 makes precise why nested inventories dominate the distinct-inventory allocation of the thesis's Sect. 5.1 with the same class-2 limit.

The result is classical and proved, in the sense that the optimality of a two-class threshold policy follows from Littlewood's argument and from the dynamic-programming treatment in Talluri and van Ryzin's The Theory and Practice of Revenue Management (2004, Ch. 2). On Prove2Me, Littlewood's marginal rule and the dynamic-programming optimality of nested protection levels (RevenueManagement.static_optimal_controls) are formalized, but in Bellman form: there the protection level is defined through the value function of a dynamic program. What is not formalized is the statement in Belobaba's form, where the protection level is the explicit threshold of f1P[r1≥S]f_1 P[r_1 \ge S]f1​P[r1​≥S] against f2f_2f2​ and the objective is the explicit expected revenue of a booking limit. Connecting the two forms, and the comparison with distinct inventories, is the work of this mission.

Difficulty

The expected revenue couples the two demands through the capacity left by class 2, so Rˉ\bar RRˉ is not a sum of single-class revenues and is not separately concave in an obvious way. The step that requires care is the increment Rˉ(S)−Rˉ(S−1)\bar R(S) - \bar R(S-1)Rˉ(S)−Rˉ(S−1): it is not EMSR1(S)−f2\mathrm{EMSR}_1(S) - f_2EMSR1​(S)−f2​, as the thesis's sentence after the milestone on p. 112 suggests, because the extra protected seat matters only on the event that class 2 would have reached its limit. Independence of r1r_1r1​ and r2r_2r2​ is what makes that event's probability factor out; without independence the threshold rule is not optimal. The discrete reading matters too: with P[r1>S]P[r_1 > S]P[r1​>S] in place of P[r1≥S]P[r_1 \ge S]P[r1​≥S] the rule is off by one seat and the claim fails.

Formalization scope

Conventions the Lean statements commit to:

  • Demands are N\mathbb NN-valued measurable random variables r₁ r₂ : Ω → ℕ on a probability space μ; the goal and milestone 4 assume IndepFun r₁ r₂ μ. The thesis writes continuous densities (Eqs. (5.1)–(5.5)) but requires integer seat counts; the discrete model is used throughout.
  • Pˉ1(S)=P[r1≥S]\bar P_1(S) = P[r_1 \ge S]Pˉ1​(S)=P[r1​≥S], as in Eq. (6.2) and the prose of Eq. (5.11), not P[r1>S]P[r_1 > S]P[r1​>S] as in Eq. (5.2).
  • The EMSR protection level is the largest S∈{0,…,C}S \in \{0,\dots,C\}S∈{0,…,C} with f1P[r1≥S]≥f2f_1 P[r_1 \ge S] \ge f_2f1​P[r1​≥S]≥f2​ (Eq. (5.15)); Eq. (5.16)'s equality is the continuous idealisation and is not stated.
  • Booking order: all class-2 requests precede all class-1 requests (pp. 108, 112). This order is built into the revenue formula, not assumed separately.
  • Fares satisfy 0≤f2≤f10 \le f_2 \le f_10≤f2​≤f1​; the thesis has f1>f2f_1 > f_2f1​>f2​, and the statements also cover equality.
  • Expectations are Bochner integrals of bounded revenues, probabilities are μ.real; seat counts use truncated subtraction only where S≤CS \le CS≤C.

A trivializing formalization is ruled out: S21S_2^1S21​ is defined by the threshold of (5.15), never as an argmax of expected revenue, and the expected revenue is computed from the realised revenue of the booking process, not postulated as a sum of marginal terms.

The multi-class EMSR levels of Eqs. (5.19)–(5.29) and the dynamic revision of Eqs. (5.31)–(5.32) are out of scope. Proofs need the discrete expectation identity E[min⁡(r,S)]−E[min⁡(r,S−1)]=P[r≥S]\mathbb E[\min(r,S)] - \mathbb E[\min(r,S-1)] = P[r \ge S]E[min(r,S)]−E[min(r,S−1)]=P[r≥S] and expectation of products of independent bounded functions, both in Mathlib's reach and reusable for other single-leg revenue models. Proofs of any milestone, and a proof of the goal from milestones 1, 2 and 4 plus the matching lower-half argument, are welcome.

Selected references

  • P. P. Belobaba, Air Travel Demand and Airline Seat Inventory Management, PhD thesis, MIT, Flight Transportation Laboratory Report R87-7, 1987 (no DOI).
  • K. Littlewood, Forecasting and control of passenger bookings, AGIFORS Symposium Proceedings 12, 1972; reprinted in Journal of Revenue and Pricing Management 4, 2005. https://doi.org/10.1057/palgrave.rpm.5170134
  • S. L. Brumelle and J. I. McGill, Airline seat allocation with multiple nested fare classes, Operations Research 41, 1993. https://doi.org/10.1287/opre.41.1.127
  • R. E. Curry, Optimal airline seat allocation with fare classes nested by origins and destinations, Transportation Science 24, 1990. https://doi.org/10.1287/trsc.24.3.193
  • K. T. Talluri and G. J. van Ryzin, The Theory and Practice of Revenue Management, Springer, 2004. https://doi.org/10.1007/b139000
8 thms4 active usersReviewed
🏆Completed
Linear OptimizationOperations Research·Captain: mikedeng1

Linear Programming: Foundations and Extensions I: Degeneracy and Termination of the Simplex Method under Bland's RuleTextbook

Motivation

The simplex method is the standard algorithm for linear programming, and its correctness rests on one question: does it stop? Each pivot of the method moves from one dictionary to another without decreasing the objective value, but a pivot can leave the objective unchanged. When that happens repeatedly, the method can return to a dictionary it has already visited and loop forever. This behaviour, cycling, is not hypothetical: Vanderbei's Chapter 3 exhibits a problem with four decision variables and three constraints on which the "largest coefficient" entering rule with a natural tie-breaking rule cycles through six dictionaries (Vanderbei 2014, pp. 26–27).

The chapter answers the question with two pivoting rules under which the simplex method provably terminates, and then draws the consequence that makes linear programming a finite theory: the fundamental theorem of linear programming. This mission formalizes the chapter's four numbered theorems in Vanderbei's own setting of standard-form problems with slack variables.

Timeline. Hoffman (1953) and Beale (1955) gave the first examples of cycling. The perturbation and lexicographic methods go back to Charnes (1952) and to Dantzig, Orden and Wolfe (1955). Bland (1977) introduced the smallest-index rule and proved that the simplex method terminates under it (Bland 1977).

Setting

A linear program in standard form has mmm constraints and nnn decision variables:

maximize ∑j=1ncjxjsubject to∑j=1naijxj≤bi (i=1,…,m),xj≥0 (j=1,…,n).\text{maximize } \sum_{j=1}^n c_j x_j \quad\text{subject to}\quad \sum_{j=1}^n a_{ij}x_j \le b_i\ (i=1,\dots,m),\qquad x_j \ge 0\ (j=1,\dots,n).maximize j=1∑n​cj​xj​subject toj=1∑n​aij​xj​≤bi​ (i=1,…,m),xj​≥0 (j=1,…,n).

A solution xxx is feasible if it satisfies every constraint, and optimal if in addition it maximizes the objective among feasible solutions. The problem is infeasible if no feasible solution exists, and unbounded if it has feasible solutions with arbitrarily large objective values.

The slack variables wi=bi−∑jaijxjw_i = b_i - \sum_j a_{ij}x_jwi​=bi​−∑j​aij​xj​ are appended to the list of variables as xn+i=wix_{n+i} = w_ixn+i​=wi​, so that the constraints become the linear system [A I] x=b[A\ I]\,x = b[A I]x=b with x≥0x \ge 0x≥0 in Rn+m\mathbb{R}^{n+m}Rn+m. A dictionary is given by a set B\mathcal BB of mmm basic indices whose columns of [A I][A\ I][A I] are linearly independent; the remaining indices N\mathcal NN are nonbasic. Solving for the basic variables gives

ζ=ζˉ+∑j∈Ncˉjxj,xi=bˉi−∑j∈Naˉijxj(i∈B).\zeta = \bar\zeta + \sum_{j\in\mathcal N}\bar c_j x_j,\qquad x_i = \bar b_i - \sum_{j\in\mathcal N}\bar a_{ij}x_j\quad (i\in\mathcal B).ζ=ζˉ​+j∈N∑​cˉj​xj​,xi​=bˉi​−j∈N∑​aˉij​xj​(i∈B).

The basic solution of the dictionary sets the nonbasic variables to zero. The dictionary is feasible if bˉi≥0\bar b_i \ge 0bˉi​≥0 for every i∈Bi\in\mathcal Bi∈B, and degenerate if bˉi=0\bar b_i = 0bˉi​=0 for some i∈Bi\in\mathcal Bi∈B.

The simplex method (Phase II) starts at a feasible dictionary and repeats a pivot: an entering variable xkx_kxk​ is chosen among the nonbasic variables with cˉk>0\bar c_k > 0cˉk​>0, and a leaving variable xlx_lxl​ among the basic variables with aˉlk>0\bar a_{lk} > 0aˉlk​>0 that minimize the ratio bˉl/aˉlk\bar b_l/\bar a_{lk}bˉl​/aˉlk​; then xkx_kxk​ becomes basic and xlx_lxl​ nonbasic. The method stops when no cˉj\bar c_jcˉj​ is positive (the dictionary is optimal) or when the entering column has no positive aˉik\bar a_{ik}aˉik​ (the problem is unbounded). A pivoting rule resolves the remaining choices. Bland's rule chooses both the entering and the leaving variable as the candidate with the smallest index. The lexicographic rule perturbs the right-hand sides by symbols 0<ϵm≪⋯≪ϵ1≪0<\epsilon_m\ll\dots\ll\epsilon_1\ll0<ϵm​≪⋯≪ϵ1​≪ all data and chooses the leaving variable by the perturbed ratio test.

Formalization targets

Goal: Theorem 3.3 (termination under Bland's rule, p. 31)

From every feasible dictionary D0D_0D0​, there is no infinite sequence of pivots

D0→D1→D2→⋯D_0\to D_1\to D_2\to\cdotsD0​→D1​→D2​→⋯

in which both the entering and the leaving variable follow Bland's rule; and a finite sequence of such pivots reaches a dictionary DTD_TDT​ at which the method stops, optimal or exhibiting unboundedness.

Milestones

  • Theorem 3.1 (p. 27): if the simplex method fails to terminate, it must cycle, i.e. an infinite run visits some dictionary twice.
  • Theorem 3.2 (p. 30): the simplex method always terminates when the leaving variable is selected by the lexicographic rule.
  • Theorem 3.4 (p. 33), the fundamental theorem: (1) with no optimal solution the problem is infeasible or unbounded; (2) if a feasible solution exists, a basic feasible solution exists; (3) if an optimal solution exists, a basic optimal solution exists.

Significance

The result. Termination under Bland's rule is what turns the simplex method from a heuristic into an algorithm. Combined with Phase I, it yields the fundamental theorem of linear programming, which reduces the search for an optimum to finitely many basic solutions and underlies the duality theory of the following chapters. Bland's rule also needs no perturbation or extra bookkeeping, and it is the anticycling rule used in many correctness proofs of simplex-type and combinatorial pivoting algorithms, including oriented-matroid programming.

Formalizing it. All four theorems are classical and proved. The Prove2Me library has the lexicographic rule and a nondegenerate termination theorem in the tableau setting of Bertsimas and Tsitsiklis (equality form Ax=bAx=bAx=b, x≥0x\ge 0x≥0, full row rank), and the existence of basic feasible and optimal solutions in that form. It has no statement of Bland's theorem, and none of Vanderbei's dictionary formulation over [A I][A\ I][A I]. This mission produces a machine-checkable model of dictionaries and pivoting rules in that formulation, and targets Bland's theorem, whose proof is a genuine combinatorial argument rather than a monotonicity argument.

Difficulty

The natural argument for termination is monotonicity: each pivot increases the objective, so no dictionary repeats. It fails exactly at degenerate pivots, where the step length bˉl/aˉlk\bar b_l/\bar a_{lk}bˉl​/aˉlk​ is zero and the objective and the basic solution do not change. Bland's rule gives no potential function that strictly increases along degenerate pivots, so the proof has to reason about a hypothetical cycle as a whole: which variables enter and leave the basis within it, and how two dictionaries of the cycle, in which the same variable leaves and later enters, constrain each other's coefficients. Relating the coefficients of two different dictionaries of the same problem is the step that has no counterpart in the model's definitions and has to be developed.

For Theorem 3.2, the symbols ϵi\epsilon_iϵi​ cannot be replaced by a fixed small real number: the method treats them as formal quantities on separate scales, and the statement is about that symbolic rule.

Formalization scope

Vectors are Fin n → ℝ, Fin m → ℝ, and the constraint matrix is Matrix (Fin m) (Fin n) ℝ. The n+mn+mn+m variables are indexed by Fin (n + m) with the decision variables first and the slacks after them, which is the order x1,…,xn,xn+1=w1,…,xn+m=wmx_1,\dots,x_n,x_{n+1}=w_1,\dots,x_{n+m}=w_mx1​,…,xn​,xn+1​=w1​,…,xn+m​=wm​ that Bland's rule compares. A dictionary is a structure holding its basic set, a proof that it has mmm elements and a proof that its columns of [A I][A\ I][A I] are linearly independent; the coefficients bˉ,aˉ,cˉ,ζˉ\bar b,\bar a,\bar c,\bar\zetabˉ,aˉ,cˉ,ζˉ​ are computed as coordinates in the basis of basic columns. A dictionary is therefore determined by its basic set, as the proof of Theorem 3.1 uses. "Basic solution" is defined through such a dictionary, not as a support condition.

Termination is stated as the nonexistence of an infinite run from a feasible dictionary, for Theorems 3.2 and 3.3. The goal adds that a finite Bland run reaches a stopping dictionary, so that it cannot hold because pivots fail to exist. The lexicographic rule is encoded by lexicographic comparison of the coefficient vectors (bˉi,ri1,…,rim)/aˉik(\bar b_i, r_{i1},\dots,r_{im})/\bar a_{ik}(bˉi​,ri1​,…,rim​)/aˉik​ of the perturbed ratios; the symbol ϵp\epsilon_pϵp​ is attached in the starting dictionary to its ppp-th basic variable in increasing index order, which for the initial dictionary is the ppp-th constraint. Unboundedness in Theorem 3.4 is "for every MMM a feasible solution with objective >M>M>M", as defined on p. 7. The statements carry no explicit constants.

A formalization that stated Theorem 3.3 for arbitrary pivot sequences with pairwise distinct bases would be Theorem 3.1's counting argument, not Bland's theorem; the goal is stated for pivots that follow Bland's rule and only those.

A complete development needs: the pivot update of a dictionary and the invariance of the solution set under it, feasibility preservation by the ratio test, the relation between the objective rows of two dictionaries, and finiteness of the set of bases. These are reusable for any later formalization of simplex-type algorithms. Proofs of the milestones, alternative proofs of Theorem 3.3, and Phase I (to connect Theorem 3.4 with the algorithm) are welcome.

Selected references

  • R. J. Vanderbei, Linear Programming: Foundations and Extensions, 4th ed., International Series in Operations Research & Management Science 196, Springer, 2014, Chapter 3. https://doi.org/10.1007/978-1-4614-7630-6
  • R. G. Bland, New finite pivoting rules for the simplex method, Mathematics of Operations Research 2(2):103–107, 1977. https://doi.org/10.1287/moor.2.2.103
  • G. B. Dantzig, A. Orden, P. Wolfe, The generalized simplex method for minimizing a linear form under linear inequality restraints, Pacific Journal of Mathematics 5(2):183–195, 1955. https://doi.org/10.2140/pjm.1955.5.183
  • E. M. L. Beale, Cycling in the dual simplex algorithm, Naval Research Logistics Quarterly 2(4):269–275, 1955. https://doi.org/10.1002/nav.3800020406
  • D. Bertsimas, J. N. Tsitsiklis, Introduction to Linear Optimization, Athena Scientific, 1997, §3.4 (lexicographic rule and Bland's rule in tableau form).
10 thms4 active usersReviewed
🏆Completed
AnalysisConvex Optimization·Captain: mikedeng1

Minimization Methods for Non-Differentiable Functions I: The Subdifferential of a Nonnegative Combination of Convex FunctionsTextbook

Motivation

Many optimization problems in operations research have objectives that are convex but not differentiable: the maximum of finitely many linear or smooth functions, the value function of a Lagrangian dual, the cost of a two-stage linear program as a function of the first-stage decision. Gradient methods do not apply to these directly. N. Z. Shor's Minimization Methods for Non-Differentiable Functions (Springer Series in Computational Mathematics 3, 1985; translated by K. C. Kiwiel and A. Ruszczyński from the 1979 Russian edition) develops the algorithms that replace the gradient by a subgradient, and its first chapter sets up the calculus of subgradients these algorithms rely on.

This mission is the first of a series formalizing the book. It covers §1.2 (convex functions and the concept of subgradient) and §1.3 (rules for computing subgradients), printed pages 7–16. Every later mission in the series (the subgradient method, space dilation, the ellipsoid method, decomposition) assumes that a subgradient of the objective can be computed, and §1.3 is where the book explains how: by combining subgradients of simpler pieces.

Setting

Write EnE_nEn​ for nnn-dimensional Euclidean space with inner product (x,y)(x, y)(x,y) and norm ∥x∥\|x\|∥x∥. A function fff with domain a convex set M⊆EnM \subseteq E_nM⊆En​ is convex if its epigraph {(u,x):u≥f(x), x∈M}\{(u, x) : u \ge f(x),\ x \in M\}{(u,x):u≥f(x), x∈M} is convex, equivalently (1−α)f(x1)+αf(x2)≥f((1−α)x1+αx2)(1-\alpha) f(x_1) + \alpha f(x_2) \ge f((1-\alpha)x_1 + \alpha x_2)(1−α)f(x1​)+αf(x2​)≥f((1−α)x1​+αx2​) for x1,x2∈Mx_1, x_2 \in Mx1​,x2​∈M and α∈[0,1]\alpha \in [0,1]α∈[0,1].

Let x0x_0x0​ be an interior point of MMM. A vector ggg is a subgradient (or generalized gradient) of fff at x0x_0x0​ if

f(x)−f(x0)≥(g,x−x0)for all x∈M.(1.3)f(x) - f(x_0) \ge (g, x - x_0) \qquad \text{for all } x \in M. \tag{1.3}f(x)−f(x0​)≥(g,x−x0​)for all x∈M.(1.3)

The set of all subgradients is the subdifferential, written G(x0)G(x_0)G(x0​) or Gf(x0)G_f(x_0)Gf​(x0​). For fff differentiable at x0x_0x0​ it is the single gradient; for f(x)=∣x∣f(x) = |x|f(x)=∣x∣ on E1E_1E1​ it is [−1,1][-1, 1][−1,1] at x0=0x_0 = 0x0​=0.

The one-sided directional derivative of fff at x0x_0x0​ in direction η\etaη is

fη′(x0)=lim⁡t→0+f(x0+tη)−f(x0)t.f'_\eta(x_0) = \lim_{t \to 0+} \frac{f(x_0 + t\eta) - f(x_0)}{t}.fη′​(x0​)=t→0+lim​tf(x0​+tη)−f(x0​)​.

A direction η≠0\eta \ne 0η=0 is a direction of steepest descent at x0x_0x0​ if min⁡∥ξ∥=1fξ′(x0)=fη′(x0)/∥η∥\min_{\|\xi\| = 1} f'_\xi(x_0) = f'_\eta(x_0)/\|\eta\|min∥ξ∥=1​fξ′​(x0​)=fη′​(x0​)/∥η∥.

Formalization targets

Goal: Theorem 1.12 (p. 13), the subdifferential of a nonnegative combination

For convex f1,…,fkf_1, \dots, f_kf1​,…,fk​ on EnE_nEn​ and a1,…,ak≥0a_1, \dots, a_k \ge 0a1​,…,ak​≥0, the function f=∑i=1kaifif = \sum_{i=1}^k a_i f_if=∑i=1k​ai​fi​ is convex and, at every x0x_0x0​,

Gf(x0)={∑i=1kaigi  :  gi∈Gfi(x0), i=1,…,k}.G_f(x_0) = \Big\{ \sum_{i=1}^k a_i g_i \;:\; g_i \in G_{f_i}(x_0),\ i = 1, \dots, k \Big\}.Gf​(x0​)={i=1∑k​ai​gi​:gi​∈Gfi​​(x0​), i=1,…,k}.

Both inclusions are part of the goal.

Milestones

  1. Theorem 1.7 (p. 9): at an interior point x0x_0x0​ of the domain, G(x0)G(x_0)G(x0​) is nonempty, bounded, convex and closed.
  2. Theorem 1.8 (p. 9): at an interior point, fη′(x0)f'_\eta(x_0)fη′​(x0​) exists for every η\etaη and fη′(x0)=max⁡g∈G(x0)(g,η)f'_\eta(x_0) = \max_{g \in G(x_0)} (g, \eta)fη′​(x0​)=maxg∈G(x0​)​(g,η), with the maximum attained.
  3. Corollary (p. 12): an interior point x0x_0x0​ minimizes fff on MMM if and only if 0∈G(x0)0 \in G(x_0)0∈G(x0​).
  4. Theorem 1.11 (p. 12): if 0∉G(x0)0 \notin G(x_0)0∈/G(x0​) and g0g_0g0​ is the element of G(x0)G(x_0)G(x0​) nearest the origin, then −g0-g_0−g0​ is a direction of steepest descent.
  5. Theorem 1.9 (p. 11): fff is convex on EnE_nEn​ if and only if fη′(x)f'_\eta(x)fη′​(x) exists everywhere and t↦fη′(x+tη)t \mapsto f'_\eta(x + t\eta)t↦fη′​(x+tη) is nondecreasing for all x,ηx, \etax,η.
  6. Theorem 1.10 (p. 11): a twice continuously differentiable fff is convex if and only if its Hessian is positive semidefinite everywhere.
  7. Theorem 1.13 (p. 14): for convex f1,…,fmf_1, \dots, f_mf1​,…,fm​, the function φ=max⁡ifi\varphi = \max_i f_iφ=maxi​fi​ is convex and Gfi(x0)⊆Gφ(x0)G_{f_i}(x_0) \subseteq G_\varphi(x_0)Gfi​​(x0​)⊆Gφ​(x0​) for every index iii active at x0x_0x0​.

Significance

The result. Theorem 1.12 is the finite-dimensional, finite-valued case of the Moreau–Rockafellar sum rule. With Theorem 1.13 it is the book's recipe for computing subgradients of functions assembled from simple pieces by nonnegative combinations and pointwise maxima, the two operations that produce most nonsmooth convex objectives in practice (Lagrangian duals, penalty functions, piecewise-linear costs). Theorem 1.8 identifies the directional derivative with the support function of the subdifferential; the Corollary and Theorem 1.11 give the optimality condition and the steepest-descent direction that every descent method for nonsmooth convex functions starts from.

Formalizing it. These results are classical and have been proved many times in textbooks (Rockafellar, Convex Analysis, 1970, §23). Mathlib at the pinned revision has convexity, separation theorems and Carathéodory's theorem, but no subdifferential of a convex function on EnE_nEn​ and no max formula. The mission builds that layer: a subdifferential with the book's inequality (1.3), a one-sided directional derivative defined as a right-hand limit, and the calculus rules above. The platform has a Clarke-gradient analogue of Theorem 1.8 for locally Lipschitz functions and a Banach-space sum rule for f+12∥⋅∥2f + \tfrac12\|\cdot\|^2f+21​∥⋅∥2; neither states the convex, finite-dimensional results here.

Difficulty

The inclusion "⊇\supseteq⊇" in Theorem 1.12 is immediate from (1.3). The inclusion "⊆\subseteq⊆" is the content: a subgradient of the sum is a global object, and nothing in (1.3) splits it into subgradients of the pieces. Adding the inequalities of the pieces only produces vectors of the right form; it does not show every subgradient of fff arises this way. Any argument has to use the finite dimension and the interior-point setting, which is where Theorems 1.7 and 1.8 (existence of subgradients, compactness of G(x0)G(x_0)G(x0​), existence of one-sided derivatives) come in.

Theorem 1.8 in turn needs the existence of a finite right-hand limit of the difference quotient, which requires both monotonicity of the quotient and a lower bound, and the existence of a subgradient attaining the maximum, which is a separation statement. Theorem 1.9's "if" direction must rebuild convexity from one-sided derivative information alone, with no differentiability assumption.

Formalization scope

  • EnE_nEn​ is EuclideanSpace ℝ (Fin n) and (x,y)(x, y)(x,y) is inner ℝ x y. A function is f : EuclideanSpace ℝ (Fin n) → ℝ; the domain MMM is a set, convexity on it is ConvexOn ℝ M f (which includes convexity of MMM), and interior points are x₀ ∈ interior M. Theorems 1.9, 1.10, 1.12 and 1.13 are stated on all of EnE_nEn​ (Set.univ), as the book proves them.
  • The subdifferential subdifferential M f x₀ is the set of ggg with f(x)−f(x0)≥(g,x−x0)f(x) - f(x_0) \ge (g, x - x_0)f(x)−f(x0​)≥(g,x−x0​) for all x∈Mx \in Mx∈M. It is defined for any x0x_0x0​; the interior-point assumption is a hypothesis of each theorem that needs it.
  • HasOneSidedDirDeriv f x₀ η d is the right-hand limit Tendsto … (𝓝[>] 0) (𝓝 d), not Mathlib's two-sided lineDeriv. Maxima and minima are stated with IsGreatest/IsLeast (attained), never with sSup/sInf.
  • Theorem 1.12 is an equality of sets over indices Fin k; k=0k = 0k=0 and zero coefficients are allowed, as in the book. Theorem 1.13's maximum is Finset.sup' over Fin m with m≥1m \ge 1m≥1, and it asserts only the inclusion the book states.
  • Theorem 1.11 is stated as the book's proof establishes it: the steepest-descent direction is minus the minimal-norm subgradient. The printed statement names the minimal-norm subgradient itself, along which the directional derivative is positive.
  • A formalization that states only "⊇\supseteq⊇" in Theorem 1.12, or only that each ∑aigi\sum a_i g_i∑ai​gi​ is a subgradient, is the easy half and does not count as the goal.
  • Theorems 1.1–1.6 (supporting hyperplane, separation, representation by extremal points, the convexity inequality, continuity on the interior) are Mathlib-level (geometric_hahn_banach_*, Carathéodory and Krein–Milman, ConvexOn.continuousOn_interior) and are not restated.

Contributions welcome: proofs of any milestone, a reusable lemma that the difference quotient of a convex function is monotone in ttt, and a general max formula; these are reusable in the later missions of the series, which define subgradients the same way.

Selected references

  • N. Z. Shor, Minimization Methods for Non-Differentiable Functions, Springer Series in Computational Mathematics 3, Springer, 1985, §§1.2–1.3, pp. 7–16. https://doi.org/10.1007/978-3-642-82118-9
  • R. T. Rockafellar, Convex Analysis, Princeton University Press, 1970, §23 (subgradients) and Theorem 23.8 (sum rule). https://doi.org/10.1515/9781400873173
  • J.-J. Moreau, "Fonctionnelles sous-différentiables", Comptes Rendus de l'Académie des Sciences 257 (1963), 4117–4119.
10 thms4 active usersReviewed
🏆Completed
Convex OptimizationLinear OptimizationOperations Research+1·Captain: mikedeng1

Numerical Techniques for Stochastic Optimization I: Edmundson–Madansky Bounds for Independent Random Data and Simple RecourseTextbook

Motivation

In a two-stage stochastic linear program a decision xxx is taken before random data ξ\xiξ are observed, and a corrective recourse decision yyy is taken afterwards at a cost. The objective contains the expectation of an optimal value of a linear program, ∫Q(x,ξ(ω)) P(dω)\int Q(x,\xi(\omega))\,P(d\omega)∫Q(x,ξ(ω))P(dω), and for continuous or high-dimensional ξ\xiξ that integral cannot be evaluated exactly. Practical methods therefore replace ξ\xiξ by a discrete random vector and control the error by computable lower and upper bounds on the expected recourse cost. Chapter 2 of Ermoliev and Wets (eds.), Numerical Techniques for Stochastic Optimization (Springer 1988), by P. Kall, A. Ruszczyński and K. Frauendorfer, surveys these bounds as they were used in the codes of the time: Jensen's inequality from below, the Edmundson–Madansky inequality from above, and the special structure of simple recourse, where the expected cost is available in closed form.

Timeline. Jensen's inequality (1906) gives the lower bound for a convex integrand. A. Madansky, "Bounds on the expectation of a convex function of a multivariate random variable", Ann. Math. Statist. 30 (1959), and H. P. Edmundson (RAND report, 1956) gave the upper bound by the two-point law on the endpoints of an interval, and its product version for independent components. Kall and Stoyan (1982), Huang, Ziemba and Ben-Tal (1977), Frauendorfer and Kall (1988) developed partition refinement of both bounds, the scheme this chapter describes; Frauendorfer (1988) extended the upper bound to dependent data on boxes.

Setting

The two-stage problem (2.11) is: minimize ψ(x)=cTx+∫ΩQ(x,ξ(ω)) P(dω)\psi(x)=c^Tx+\int_\Omega Q(x,\xi(\omega))\,P(d\omega)ψ(x)=cTx+∫Ω​Q(x,ξ(ω))P(dω) subject to Ax=bAx=bAx=b, x≥0x\ge 0x≥0. The recourse cost Q(x,ξ)Q(x,\xi)Q(x,ξ) is the optimal value of the second-stage problem (2.12),

Q(x,ξ)=min⁡{qTy:Wy=h−Tx, y≥0},ξ=(q,h,T),Q(x,\xi)=\min\{q^Ty : Wy=h-Tx,\ y\ge 0\},\qquad \xi=(q,h,T),Q(x,ξ)=min{qTy:Wy=h−Tx, y≥0},ξ=(q,h,T),

with a deterministic m2×n2m_2\times n_2m2​×n2​ matrix WWW (fixed recourse), and Q=+∞Q=+\inftyQ=+∞ when (2.12) is infeasible. Throughout the chapter the book assumes complete recourse, {Wy:y≥0}=Rm2\{Wy:y\ge0\}=\mathbb R^{m_2}{Wy:y≥0}=Rm2​, and dual feasibility: for every realization of qqq some uuu satisfies WTu≤qW^Tu\le qWTu≤q. Under these assumptions QQQ is finite. The expected recourse function is Q(x)=∫Q(x,ξ(ω)) P(dω)\mathcal Q(x)=\int Q(x,\xi(\omega))\,P(d\omega)Q(x)=∫Q(x,ξ(ω))P(dω).

The Edmundson–Madansky law of an interval [a,b][a,b][a,b], a<ba<ba<b, with mean ξ0\xi^0ξ0 puts mass p1=(b−ξ0)/(b−a)p_1=(b-\xi^0)/(b-a)p1​=(b−ξ0)/(b−a) at aaa and p2=(ξ0−a)/(b−a)p_2=(\xi^0-a)/(b-a)p2​=(ξ0−a)/(b−a) at bbb (2.32). For a box Ξ=×j=1m[aj,bj]\Xi=\times_{j=1}^m[a_j,b_j]Ξ=×j=1m​[aj​,bj​] and means ξj0\xi^0_jξj0​, the vector ξ^\hat\xiξ^​ with independent components of these two-point laws sits at the vertex vvv with probability ∏jpj(vj)\prod_j p_j(v_j)∏j​pj​(vj​).

Simple recourse is the case W=[I,−I]W=[I,-I]W=[I,−I], q=[q+,q−]q=[q^+,q^-]q=[q+,q−] with qj++qj−≥0q^+_j+q^-_j\ge0qj+​+qj−​≥0, deterministic TTT and random hhh only. With χ=Tx\chi=Txχ=Tx the recourse cost splits into one-row costs Qj(χj,hj)=qj+(hj−χj)Q_j(\chi_j,h_j)=q^+_j(h_j-\chi_j)Qj​(χj​,hj​)=qj+​(hj​−χj​) if hj≥χjh_j\ge\chi_jhj​≥χj​, and qj−(χj−hj)q^-_j(\chi_j-h_j)qj−​(χj​−hj​) otherwise.

Formalization targets

Goal: the Edmundson–Madansky bound for independent components (p. 46)

If ξ\xiξ has independent components ξj∈[aj,bj]\xi_j\in[a_j,b_j]ξj​∈[aj​,bj​] with means ξj0\xi^0_jξj0​, and φ\varphiφ is convex on Ξ=×j[aj,bj]\Xi=\times_j[a_j,b_j]Ξ=×j​[aj​,bj​], then

Eφ(ξ)≤∑v∈vert Ξ(∏j=1mpj(vj))φ(v).E\varphi(\xi)\le\sum_{v\in\mathrm{vert}\,\Xi}\Big(\prod_{j=1}^m p_j(v_j)\Big)\varphi(v).Eφ(ξ)≤v∈vertΞ∑​(j=1∏m​pj​(vj​))φ(v).

The book applies it to φ=Q(x,⋅)\varphi=Q(x,\cdot)φ=Q(x,⋅); the goal is stated for every convex φ\varphiφ, with the explicit weights of (2.32).

Milestones

  1. Properties (b), (d), (e) of p. 40: Q(x,⋅)Q(x,\cdot)Q(x,⋅) is piecewise linear and convex in (h,T)(h,T)(h,T); Q(⋅,ξ)Q(\cdot,\xi)Q(⋅,ξ) is convex piecewise linear in xxx; the expected recourse function is finite and convex under finite second moments.
  2. The Jensen lower bound (2.26)–(2.27) on a partition (a published, proved theorem, reused).
  3. The dual-multiplier lower bound (2.30)–(2.31).
  4. The one-dimensional Edmundson–Madansky inequality (2.32)–(2.34).
  5. For simple recourse: separability (2.46)–(2.49), the closed form (2.51) of EQjEQ_jEQj​, and the bounds (2.55)–(2.56) from the one-block problem.

Significance

The upper bound is the half of the bounding scheme that is not automatic. Jensen's inequality needs only a mean; an upper bound on the expectation of a convex function needs a bounded support and, in the product form, independence. Together they give a certified interval for the optimal value of a two-stage problem, and repeated partitioning of the support shrinks that interval; this is the basis of the sequential approximation methods of §2.2.4 and of later codes. The dual-multiplier bound and the simple-recourse formulas are the pieces that make those intervals cheap to compute.

The results are classical and proved in the literature cited on the page. The one-dimensional Edmundson–Madansky inequality and the general extreme-point form of the upper bound (a measure on the extreme points reproducing the barycentre) are already formalized on Prove2Me in the Introduction to Stochastic Programming series, as is the partition Jensen bound. The product form for independent components is not: deriving it from the extreme-point form requires constructing the product kernel, which is the content of this mission. The recourse properties (b), (d), (e) for a general distribution with finite second moments, the dual-multiplier bound and the simple-recourse formulas are not formalized anywhere known to this mission.

Difficulty

The obvious argument inducts on the dimension, applying the one-dimensional inequality in one coordinate while the others are held fixed. That step needs the conditional law of the remaining coordinates given the first to be their unconditional law, i.e. independence expressed as a product decomposition of the joint law, and it needs φ\varphiφ with one coordinate replaced by an endpoint to remain convex on the lower-dimensional box and integrable. For dependent components the inequality is false with these weights: on [0,1]2[0,1]^2[0,1]2 with means (12,12)(\tfrac12,\tfrac12)(21​,21​) and φ(x,y)=(x−y)2\varphi(x,y)=(x-y)^2φ(x,y)=(x−y)2, the product law gives 12\tfrac1221​ while mass 12\tfrac1221​ at (1,0)(1,0)(1,0) and at (0,1)(0,1)(0,1) gives 111. The book's remark that the product law is extremal among all laws on Ξ\XiΞ with the given mean fails for this reason when m≥2m\ge2m≥2, and is not part of this mission.

For the recourse properties the difficulty is bookkeeping: QQQ is an extended-real optimal value, and finiteness, measurability in ω\omegaω and integrability must be derived from complete recourse, dual feasibility and the moment hypothesis rather than assumed.

Formalization scope

Vectors are functions from finite index types to R\mathbb RR (ι → ℝ), matrices are Mathlib Matrix, and random data live on a probability space (Ω, P). The recourse cost is an EReal infimum over the feasible set, so infeasibility gives +∞+\infty+∞ and unboundedness −∞-\infty−∞ exactly as on p. 39; theorems that integrate it carry complete recourse and dual feasibility, which make it finite. The expected recourse function integrates the real part of the recourse cost. Independence of the components is ProbabilityTheory.iIndepFun; the box is Set.pi univ (fun j => Icc (a j) (b j)), with aj<bja_j<b_jaj​<bj​, and values in the box are required almost surely. The upper bound is the explicit sum over Boolean vertex labels of products of the weights (2.32); no abstract extremal measure is used.

Conventions fixed where the page is silent or ambiguous:

  • Properties (b), (d), (e) are stated on all of Rn1\mathbb R^{n_1}Rn1​: under the standing complete-recourse assumption K2=Rn1K_2=\mathbb R^{n_1}K2​=Rn1​. "Convex piecewise linear" is rendered as a maximum of finitely many affine functions.
  • The book's hypothesis of finite second moments in (e) is kept as stated, componentwise.
  • The book writes QQQ for both Q(x,ξ)Q(x,\xi)Q(x,ξ) and Q(x)\mathcal Q(x)Q(x), and reuses Q~\tilde QQ~​, ψ~\tilde\psiψ~​ for different functions in (2.27) and (2.30)–(2.31); the Lean names are recourseCost, expectedRecourse and dualLowerBound.
  • In (2.51) a conditional mean on a null event is 000 in Lean; it always appears multiplied by that event's probability, so the formula is unchanged.
  • In (2.56) the minimum is a real infimum over the nonempty first-stage feasible set; attainment is not claimed.
  • No constant of the chapter is hidden behind O(⋅)O(\cdot)O(⋅); all bounds are explicit.

A goal stated for affine φ\varphiφ (where it is an equality), or with ξ^\hat\xiξ^​ allowed to be any discrete law with the right mean, would be trivial or a different theorem; the weights are the products of (2.32), and independence of the components is a hypothesis.

A complete development needs: finite-dimensional LP duality with extended-real values (reusable across all recourse missions), measurability and integrability of optimal-value functions, the conditional-independence step for product measures, and the one-dimensional chord inequality. The partitioned upper bound (2.37) and the discrete reformulation (2.21), (2.28) are natural follow-up statements on the same definitions.

Selected references

  • P. Kall, A. Ruszczyński, K. Frauendorfer, "Approximation Techniques in Stochastic Programming", in Yu. Ermoliev and R. J-B Wets (eds.), Numerical Techniques for Stochastic Optimization, Springer Series in Computational Mathematics 10, Springer 1988, Ch. 2, pp. 33–64. https://doi.org/10.1007/978-3-642-61370-8
  • A. Madansky, "Bounds on the expectation of a convex function of a multivariate random variable", Annals of Mathematical Statistics 30 (1959), 743–746. https://doi.org/10.1214/aoms/1177706203
  • P. Kall, Stochastic Linear Programming, Springer 1976. https://doi.org/10.1007/978-3-642-66252-2
  • R. J-B Wets, "Stochastic programs with fixed recourse: the equivalent deterministic program", SIAM Review 16 (1974), 309–339. https://doi.org/10.1137/1016053
  • K. Frauendorfer, "Solving SLP recourse problems with arbitrary multivariate distributions — the dependent case", Mathematics of Operations Research 13 (1988), 377–394. https://doi.org/10.1287/moor.13.3.377
  • J. R. Birge, F. Louveaux, Introduction to Stochastic Programming, Springer 1997, Ch. 8. https://doi.org/10.1007/b97617
13 thms4 active usersReviewed
🏆Completed
Algorithmic Game TheoryMechanism DesignOperations Research·Captain: mikedeng1

Algorithmic Mechanism Design I: MinWork Is a Strongly Truthful n-Approximation Mechanism for Task Scheduling on Unrelated MachinesResearch Paper

Motivation

Algorithmic mechanism design asks for algorithms whose inputs are held by self-interested parties. Each party reports its private data, the algorithm computes an outcome, and payments are arranged so that no party gains by misreporting. Nisan and Ronen introduced the field in Algorithmic Mechanism Design (Games Econ. Behav. 35, 2001). Their running example is task scheduling on unrelated machines: kkk tasks are distributed among nnn machines owned by different agents, each agent knows only its own processing times, and the designer wants to minimize the make-span.

Without incentives the problem is classical: minimizing make-span on unrelated machines is NP-hard and admits a polynomial 2-approximation (Lenstra, Shmoys, Tardos, 1990). With selfish agents the question changes: which approximation ratios can a truthful mechanism guarantee? This mission formalizes the paper's upper bound, the MinWork mechanism, which is the benchmark every later lower bound for truthful scheduling is compared with.

Timeline.

  • 1961: Vickrey introduces the second-price auction (J. Finance 16).
  • 1971–1973: Clarke and Groves generalize it to the VCG family of truthful mechanisms for utilitarian objectives (Groves, Econometrica 41, 1973).
  • 1999/2001: Nisan and Ronen show MinWork is a strongly truthful nnn-approximation, and that no truthful mechanism beats ratio 2.
  • 2007: Christodoulou, Koutsoupias and Vidali raise the deterministic lower bound to 1+21+\sqrt21+2​ for n≥3n \ge 3n≥3; Koutsoupias and Vidali later raise it to 1+φ≈2.6181+\varphi \approx 2.6181+φ≈2.618.
  • 2023: Christodoulou, Koutsoupias and Kovács prove the Nisan–Ronen conjecture: no deterministic truthful mechanism achieves a ratio below nnn (STOC 2023, arXiv:2301.11905), so MinWork is optimal among deterministic truthful mechanisms.

Setting

There are nnn agents and kkk tasks. Agent iii's type is the vector ti=(t1i,…,tki)t^i = (t^i_1,\dots,t^i_k)ti=(t1i​,…,tki​) of positive times, tji>0t^i_j > 0tji​>0 being the time agent iii needs to perform task jjj. A type vector is t=(t1,…,tn)t = (t^1,\dots,t^n)t=(t1,…,tn). An allocation xxx sends each task jjj to one agent; xix^ixi is the set of tasks agent iii receives. The make-span of xxx is

g(x,t)=max⁡i∑j∈xitji,g(x,t) = \max_{i} \sum_{j \in x^i} t^i_j ,g(x,t)=imax​j∈xi∑​tji​,

and agent iii's valuation is vi(x,ti)=−∑j∈xitjiv^i(x,t^i) = -\sum_{j \in x^i} t^i_jvi(x,ti)=−∑j∈xi​tji​.

A direct mechanism asks every agent to declare a type, computes an allocation x(d)x(d)x(d) from the declared vector ddd, and hands agent iii a payment pi(d)p^i(d)pi(d). Agent iii's utility is pi(d)+vi(x(d),ti)p^i(d) + v^i(x(d), t^i)pi(d)+vi(x(d),ti), with tit^iti its true type. The mechanism is truthful if declaring tit^iti maximizes agent iii's utility for every declaration of the others, and strongly truthful if truth-telling is the only such dominant strategy. An allocation rule is a ccc-approximation if g(x(t),t)≤c⋅g(y,t)g(x(t),t) \le c \cdot g(y,t)g(x(t),t)≤c⋅g(y,t) for every type vector ttt and every allocation yyy.

The MinWork mechanism allocates each task to an agent with minimal declared time for it, breaking ties arbitrarily. For each task it wins, an agent receives the second-best declared time min⁡i′≠idji′\min_{i' \ne i} d^{i'}_jmini′=i​dji′​:

pi(d)=∑j∈xi(d)min⁡i′≠idji′.p^i(d) = \sum_{j \in x^i(d)} \min_{i' \neq i} d^{i'}_j .pi(d)=j∈xi(d)∑​i′=imin​dji′​.

The Lean development uses the same names: load, makespan, IsTruthful, IsStronglyTruthful, IsApprox, IsMinWorkAlloc, secondBest, minTime, minWorkPay.

Formalization targets

Goal: Theorem 4.1

For n≥2n \ge 2n≥2 and every MinWork allocation rule xxx with payments ppp as above,

(x,p) is strongly truthfulandg(x(t),t)≤n⋅g(y,t)  for all positive t and all allocations y.(x,p)\ \text{is strongly truthful} \quad\text{and}\quad g(x(t),t) \le n \cdot g(y,t)\ \ \text{for all positive } t \text{ and all allocations } y .(x,p) is strongly truthfulandg(x(t),t)≤n⋅g(y,t)  for all positive t and all allocations y.

Milestones

  1. Theorem 3.1 (Groves): a VGC mechanism is truthful. This is an existing platform theorem, used as a reference.
  2. MinWork belongs to the VGC family. Its allocation maximizes ∑ivi(ti,x)\sum_i v^i(t^i,x)∑i​vi(ti,x), and its payment is ∑i′≠ivi′(ti′,x(t))+h−i\sum_{i'\ne i} v^{i'}(t^{i'},x(t)) + h^{-i}∑i′=i​vi′(ti′,x(t))+h−i with h−i=∑jmin⁡i′≠itji′h^{-i} = \sum_j \min_{i'\ne i} t^{i'}_jh−i=∑j​mini′=i​tji′​.
  3. Claim 4.2: MinWork is strongly truthful.
  4. g(x(t),t)≤∑jmin⁡itjig(x(t),t) \le \sum_{j} \min_i t^i_jg(x(t),t)≤∑j​mini​tji​.
  5. g(y,t)≥1n∑jmin⁡itjig(y,t) \ge \frac1n \sum_j \min_i t^i_jg(y,t)≥n1​∑j​mini​tji​ for every allocation yyy.
  6. Claim 4.3: MinWork is an nnn-approximation.

Significance

The theorem gives the first positive result for truthful scheduling: a mechanism that is truthful in the strongest sense and is within a factor nnn of optimal, whatever the tie-breaking rule. Every lower bound in the paper (Theorems 4.6, 4.10 and 4.12) and in the later literature measures itself against this ratio. Since the 2023 resolution of the Nisan–Ronen conjecture, the ratio nnn is known to be tight for deterministic truthful mechanisms.

The result is proved in the paper; it is not known to be formalized in any proof assistant. The platform already has Groves' theorem in an abstract form (AGT.vcg_incentive_compatible). This mission connects that abstract statement to a concrete combinatorial mechanism, and it adds the strict part of strong truthfulness for any number of tasks and agents, which the paper proves only for one task and two agents. The vocabulary (make-span over unrelated machines, direct scheduling mechanisms, strong truthfulness) is shared with the seven later missions of this series.

Difficulty

Truthfulness follows from Groves' theorem once MinWork is identified as a VGC mechanism. The identification requires the payment identity at every declared vector and under every tie-breaking rule, including ties at the winning time. The main difficulty is the strict part of strong truthfulness. A misreport that differs from the truth only on one task must still be shown to lose strictly for some declarations of the others. Those declarations must stay positive, and on every other task they must leave the outcome unchanged. The paper's proof covers only one task and two agents and leaves the general case as "similar". Its printed inequality also has the two utilities in the wrong order (see below), so it cannot be transcribed directly.

Formalization scope

  • Agents are Fin n and tasks are Fin k. An allocation is a function Fin k → Fin n, and an agent may receive no task. Types are positive reals, and every truthfulness and approximation quantifier ranges over positive true types, positive misreports and positive declarations of the others.
  • Payments are handed to the agent, so utility is the payment minus the true time spent. Payments are computed from the declared vector, never from true types.
  • The allocation rule is a parameter satisfying the MinWork specification (IsMinWorkAlloc). Every result holds for every tie-breaking rule, including rules that depend on the whole declared vector. No particular argmin is fixed.
  • n≥2n \ge 2n≥2 is a hypothesis of the goal and of the truthfulness items: with a single agent the paper's second-best minimum is undefined. The approximation items need only n≥1n \ge 1n≥1. There is no hypothesis on kkk.
  • The make-span and both minima are Finset.sup' / Finset.inf' over nonempty finite sets, so they are true maxima and minima with no default values.
  • Strong truthfulness is formalized as truthfulness plus: every misreport di≠tid^i \ne t^idi=ti is strictly worse than the truth for some positive declarations of the others. Given truthfulness this is equivalent to Definition 5. A formalization that states only that truth-telling is dominant, or proves strictness only for single-task instances, does not meet the goal. Neither does an existential ratio in place of nnn.
  • Printed slip: in the proof of Claim 4.2 (p. 177) the case di>tid^i > t^idi>ti reads "the utility for agent iii is ti−di<0t^i - d^i < 0ti−di<0, instead of 0 in the case of truth-telling". With the Definition 11 payments the misreporting agent loses the task (utility 0), and the truthful agent wins it with utility d3−i−ti>0d^{3-i} - t^i > 0d3−i−ti>0. The milestone text keeps the paper's words; the Lean statements assert what the argument establishes.
  • Out of scope: running time ("polynomial time"), and the paper's general revelation-principle framework (Proposition 2.1).
  • Welcome contributions: proofs of the milestones, and a reusable lemma connecting the local VGC milestone to AGT.vcg_incentive_compatible.

Selected references

  • N. Nisan, A. Ronen, Algorithmic Mechanism Design, Games and Economic Behavior 35 (2001) 166–196. https://doi.org/10.1006/game.1999.0790
  • T. Groves, Incentives in Teams, Econometrica 41 (1973) 617–631. https://doi.org/10.2307/1914085
  • W. Vickrey, Counterspeculation, Auctions, and Competitive Sealed Tenders, Journal of Finance 16 (1961) 8–37. https://doi.org/10.1111/j.1540-6261.1961.tb02789.x
  • J. K. Lenstra, D. B. Shmoys, É. Tardos, Approximation algorithms for scheduling unrelated parallel machines, Mathematical Programming 46 (1990) 259–271. https://doi.org/10.1007/BF01585745
  • G. Christodoulou, E. Koutsoupias, A. Kovács, A Proof of the Nisan-Ronen Conjecture, STOC 2023. https://arxiv.org/abs/2301.11905
9 thms4 active usersReviewed
🏆Completed
Linear OptimizationOperations Research·Captain: mikedeng1

Selected Topics in Column Generation III: Ryan–Foster Branching — a Fractional Basic Set-Partitioning Solution Covers Some Row Pair FractionallyResearch Paper

Motivation

Column generation solves linear programs with far too many variables to list: one works with a small subset J′⊆JJ' \subseteq JJ′⊆J of the columns, the restricted master problem (RMP), and adds columns of negative reduced cost as a pricing problem finds them (Lübbecke and Desrosiers 2005, §2.1). Many integer programs from vehicle routing, crew scheduling and crew pairing are reformulated so that the master problem is a set-partitioning problem: every row (a customer, a flight leg, a task) must be covered by exactly one selected column (a route, a pairing, a schedule). The linear relaxation of such a master is solved by column generation, and an integer solution is then sought by branch-and-price, branch-and-bound with column generation at every node.

Branching in branch-and-price is not free. Fixing a master variable λj\lambda_jλj​ to 000 does not stop the pricing problem from regenerating the same column, and handling that complicates the pricing problem. The rule that avoids this for set partitioning goes back to Ryan and Foster (1981): branch on a pair of rows, requiring them to be covered either by the same column or by two different columns. Both requirements are constraints the pricing problem can respect directly. Lübbecke and Desrosiers call it "the most common scheme in conjunction with column generation" (§7.3, p. 1020) and state the proposition that makes it well defined as their Proposition 3.

Timeline:

  • 1981: Ryan and Foster introduce the pair-of-rows branching rule for set partitioning in crew scheduling.
  • 1998: the branch-and-price survey of Barnhart et al. (1998) presents the rule as the branching scheme for set-partitioning masters.
  • 2005: Lübbecke and Desrosiers state it as Proposition 3 of their survey, attributing it to Ryan and Foster without proof.

Setting

Rows are indexed by {1,…,m}\{1, \dots, m\}{1,…,m} and columns by a finite set J′J'J′. A matrix A=(arj)∈{0,1}m×∣J′∣A = (a_{rj}) \in \{0,1\}^{m \times |J'|}A=(arj​)∈{0,1}m×∣J′∣ has every entry equal to 000 or 111; column jjj covers row rrr when arj=1a_{rj} = 1arj​=1. The set-partitioning system of the RMP's linear relaxation is

Aλ=1,λ≥0,λ∈RJ′.A\lambda = \mathbf 1, \qquad \lambda \ge \mathbf 0, \qquad \lambda \in \mathbb R^{J'} .Aλ=1,λ≥0,λ∈RJ′.

A vector λ\lambdaλ is a basic feasible solution of this system when it satisfies all its constraints and, among the constraints active at λ\lambdaλ (the mmm equality rows, and the constraints λj≥0\lambda_j \ge 0λj​≥0 with λj=0\lambda_j = 0λj​=0), there are ∣J′∣|J'|∣J′∣ linearly independent ones. Equivalently, λ\lambdaλ is feasible and the columns of AAA in the support of λ\lambdaλ are linearly independent. A solution is fractional when it is not a 0/10/10/1 vector, λ∉{0,1}∣J′∣\lambda \notin \{0,1\}^{|J'|}λ∈/{0,1}∣J′∣.

For two rows r,sr, sr,s the Ryan–Foster quantity is ∑j∈J′arjasjλj\sum_{j \in J'} a_{rj} a_{sj} \lambda_j∑j∈J′​arj​asj​λj​, written pairCover A lam r s in Lean: the total weight on the columns that cover both rows. For r=sr = sr=s it is the row sum, equal to 111 on every feasible λ\lambdaλ.

Formalization targets

Goal: Proposition 3 (p. 1020)

For every 0/10/10/1 matrix AAA and every fractional basic feasible solution λ\lambdaλ of Aλ=1A\lambda = \mathbf 1Aλ=1, λ≥0\lambda \ge \mathbf 0λ≥0,

∃ r,s∈{1,…,m}:0<∑j∈J′arj asj λj<1.\exists\, r, s \in \{1, \dots, m\}: \qquad 0 < \sum_{j \in J'} a_{rj}\, a_{sj}\, \lambda_j < 1 .∃r,s∈{1,…,m}:0<j∈J′∑​arj​asj​λj​<1.

The two rows are automatically distinct. The statement concerns every fractional basic solution, not only an optimal one, and no cost vector enters it.

Milestone: the branches keep every integer solution (§7.3, p. 1020)

For every 0/10/10/1 solution λ∈{0,1}∣J′∣\lambda \in \{0,1\}^{|J'|}λ∈{0,1}∣J′∣ of Aλ=1A\lambda = \mathbf 1Aλ=1 and every pair of rows r,sr, sr,s,

∑j∈J′arj asj λj∈{0,1}.\sum_{j \in J'} a_{rj}\, a_{sj}\, \lambda_j \in \{0, 1\} .j∈J′∑​arj​asj​λj​∈{0,1}.

This is the paper's requirement that "integer solutions remain intact" (p. 1019), specialised to the two branches "=1= 1=1" and "=0= 0=0" of the paragraph after Proposition 3.

Significance

Proposition 3 is what makes Ryan–Foster branching a valid branching scheme in the sense of §7.3: the current fractional solution violates both branches for the chosen pair, so it is excluded from both children, while by the milestone every integer solution survives in one of them. The same pair-of-rows idea underlies branching in bin packing, graph colouring, vehicle routing and crew scheduling codes, where it is used because both branches translate into constraints on the pricing problem rather than on individual master variables.

The paper states the result and refers its proof to Ryan and Foster (1981); no machine-checked version of the proposition is known. This mission produces a formal statement tied to a standard, representation-aware definition of basic solutions (Bertsimas–Tsitsiklis Definition 2.9, already on the platform) and, once proved, a verified lemma that any formal development of branch-and-price for set partitioning can cite.

Difficulty

An argument that uses only feasibility and a fractional coordinate cannot work. Without basicness the claim is false: with one row and two identical columns, A=[1 1]A = [1\ 1]A=[1 1], the vector λ=(12,12)\lambda = (\tfrac12, \tfrac12)λ=(21​,21​) is feasible and fractional, yet the only pair of rows is r=sr = sr=s, whose quantity is 111. The difficulty is to turn basicness, a linear-algebra condition, into a combinatorial statement about which rows the fractional columns cover. A set-partitioning matrix need not have full row rank, so the familiar description of basic solutions through an invertible basis matrix is not available in general.

Formalization scope

  • Rows are Fin m and columns Fin n, so J′J'J′ is identified with {0,…,n−1}\{0, \dots, n-1\}{0,…,n−1}. AAA is a real matrix Matrix (Fin m) (Fin n) ℝ with the hypothesis IsZeroOneMatrix A (every entry 000 or 111); λ\lambdaλ is lam : Fin n → ℝ, since λ is a Lean keyword. Columns are 0/10/10/1 vectors; the equivalent reading as subsets of the rows is only prose.
  • "Basic solution" is not defined in the paper. It is read as Bertsimas–Tsitsiklis Definition 2.9 for the standard-form constraint family: LinearOptimization.IsBasicFeasibleSolution (LinearOptimization.stdFormSystem A (fun _ => 1)) lam, from the platform definitions BasicSolution and ActiveConstraints. This definition needs no full-row-rank assumption, which a set-partitioning matrix need not satisfy, and it is not replaced by an ad hoc support condition.
  • Typo correction. The paper writes "i.e., λ∉{0,1}m\lambda \notin \{0,1\}^mλ∈/{0,1}m". Since λ\lambdaλ has one coordinate per column, the statement reads it as λ∉{0,1}∣J′∣\lambda \notin \{0,1\}^{|J'|}λ∈/{0,1}∣J′∣: ¬ IsZeroOneVector lam.
  • The rows r,sr, sr,s range over all of {1,…,m}\{1, \dots, m\}{1,…,m}, including r=sr = sr=s, as on the page; no distinctness is assumed or required.
  • "Fractional basic solution" is any such solution, not the RMP optimum; no costs or optimality hypothesis enter.
  • The milestone reads the paragraph after Proposition 3, together with the validity requirement "integer solutions remain intact" (p. 1019), as the dichotomy for all 0/10/10/1 solutions of Aλ=1A\lambda = \mathbf 1Aλ=1. The sentence about transferring the branching information to the pricing problem is not formalized.
  • Edge cases: for m=0m = 0m=0 basicness forces λ=0\lambda = 0λ=0, and for n=0n = 0n=0 the vector is empty; in both cases no fractional basic solution exists and the goal is vacuous, as on the page.
  • A trivializing formalization is ruled out: dropping basicness makes the goal false (the [1 1][1\ 1][1 1] example above), dropping the 0/10/10/1 hypothesis on AAA changes the meaning of the quantity, and replacing "fractional basic" by an unsatisfiable hypothesis would make it empty; the hypotheses are satisfied, for instance, by three rows, the columns {1,2},{2,3},{1,3}\{1,2\}, \{2,3\}, \{1,3\}{1,2},{2,3},{1,3} and λ=(12,12,12)\lambda = (\tfrac12, \tfrac12, \tfrac12)λ=(21​,21​,21​).

A complete development needs linear-algebra facts about basic solutions of standard-form systems without a rank assumption (support columns linearly independent), which are reusable beyond this mission. Contributions welcome: that characterization as a lemma, and proofs of the milestone and of the goal.

Selected references

  • M. E. Lübbecke and J. Desrosiers, Selected Topics in Column Generation, Operations Research 53(6):1007–1023, 2005. https://doi.org/10.1287/opre.1050.0234
  • D. M. Ryan and B. A. Foster, An integer programming approach to scheduling, in A. Wren (ed.), Computer Scheduling of Public Transport, North-Holland, 1981, pp. 269–280.
  • C. Barnhart, E. L. Johnson, G. L. Nemhauser, M. W. P. Savelsbergh and P. H. Vance, Branch-and-Price: Column Generation for Solving Huge Integer Programs, Operations Research 46(3):316–329, 1998. https://doi.org/10.1287/opre.46.3.316
  • D. Bertsimas and J. N. Tsitsiklis, Introduction to Linear Optimization, Athena Scientific, 1997, Definition 2.9.
5 thms4 active usersReviewed
PreviousPage 1 of 15Next

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