Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

Optimization

633 missions · 393 completed

Missions

Open240Completed393All633
🏆Completed
Linear OptimizationOperations Research·Captain: Shuze Chen

Introduction to Linear Optimization VII: Cones, Extreme Rays, and the Resolution TheoremTextbook

How can an unbounded polyhedron be described by finitely many geometric objects? Sections 4.8-4.9 of Bertsimas-Tsitsiklis build the cone machinery: recession cones {d∣Ad≥0}\{d \mid Ad \ge 0\}{d∣Ad≥0} and their rays, extreme rays (defined, like basic solutions, by n−1n-1n−1 linearly independent active constraints), the pointedness criterion (Theorem 4.12: 000 is an extreme point of a polyhedral cone iff the cone contains no line iff nnn of the constraint vectors are linearly independent), and the characterization of unbounded linear programs (Theorems 4.13-4.14: over a pointed polyhedral cone, and then over any polyhedron with an extreme point, the optimal cost is −∞-\infty−∞ iff some extreme ray ddd has c′d<0c'd < 0c′d<0). The capstone is the resolution theorem (Theorem 4.15): a nonempty polyhedron PPP with at least one extreme point equals Q={∑iλixi+∑jθjwj∣λi≥0,θj≥0,∑iλi=1}Q = \{\sum_i \lambda_i x^i + \sum_j \theta_j w^j \mid \lambda_i \ge 0, \theta_j \ge 0, \sum_i \lambda_i = 1\}Q={∑i​λi​xi+∑j​θj​wj∣λi​≥0,θj​≥0,∑i​λi​=1} — the convex hull of its extreme points plus the cone generated by a complete set of its extreme rays. It specializes to Theorem 2.9 / Corollary 4.4 (a nonempty bounded polyhedron is the convex hull of its extreme points) and Corollary 4.5 (a pointed polyhedral cone is generated by its extreme rays). The converse, Theorem 4.16, states that every finitely generated set is a polyhedron — in particular the convex hull of finitely many vectors is a polyhedron. Together these form the Minkowski-Weyl equivalence of the two representations of polyhedra, verified absent from Mathlib and the genuine content of this mission.

21 thms4 active usersReviewed
🏆Completed
Machine LearningOperations ResearchStatistics·Captain: Shuze Chen

Matrix Completion has No Spurious Local MinimumResearch Paper

Matrix completion — recovering a low-rank matrix M=ZZ⊤M = ZZ^\topM=ZZ⊤ from a small random subset of its entries — powers recommender systems and collaborative filtering. In practice it is solved by running (stochastic) gradient descent on the non-convex objective

f(X)=min⁡X12∥PΩ(M−XX⊤)∥F2+λR(X)f(X)=\min_X\frac12\|P_\Omega(M-XX^\top)\|_F^2+\lambda R(X)f(X)=Xmin​21​∥PΩ​(M−XX⊤)∥F2​+λR(X)

where Ω={(i,j)∣Mi,j is observed}\Omega=\{(i,j)|M_{i,j} \text{ is observed}\}Ω={(i,j)∣Mi,j​ is observed} and R(X)R(X)R(X) is a certain regularizer. from a random starting point, and it just works.

Ge, Lee and Ma (NeurIPS 2016 Best student paper award) explained why: the regularized objective has no spurious local minima — every local minimum is global and exactly recovers MMM. This mission formalizes that landmark theorem in Lean 4, in its strongest known form and along its simplest known proof: the unified landscape analysis of Ge–Jin–Zheng (ICML 2017) and an improved sampling bound in Chen–Li (JMLR 2019). Conditional on an explicit good-sample predicate (which holds with high probability under Bernoulli sampling), every local minimum XXX of fff satisfies XX⊤=ZZ⊤XX^\top = ZZ^\topXX⊤=ZZ⊤.

14 thms4 active users
Convex OptimizationOperations Research·Captain: mikedeng1

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

Motivation

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

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

Timeline:

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

Setting

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

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

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

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

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

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

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

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

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

Formalization targets

Goal: Theorem 2.4

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

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

Milestones

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

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

Significance

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

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

Difficulty

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

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

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

Formalization scope

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

Conventions and hypotheses added to the page:

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

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

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

Selected references

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

Reversibility and Stochastic Networks V: Optimal Capacity Allocation in a Network of QueuesTextbook

Motivation

Chapter 4 of F. P. Kelly's Reversibility and Stochastic Networks (Wiley, 1979) applies the product-form theory of Chapter 3 to concrete systems. Two of its results have numbered statements, and they answer two practical questions.

The first comes from the design of store-and-forward communication networks (telegraph and packet-switched data networks). Messages queue at channels; the designer chooses each channel's capacity subject to a budget, and wants to minimize the delay messages suffer. Because the equilibrium law at every channel is geometric under several different modelling assumptions (§4.1, pp. 95–96), the mean delay has a closed form, and the budget allocation problem becomes a small convex program with an explicit solution. This square-root capacity assignment goes back to L. Kleinrock's work on communication nets (Communication Nets, McGraw-Hill, 1964) and remains the textbook example of optimal design for a network of queues.

The second comes from compartmental models in biology, birth–illness–death processes and manpower planning (§4.5, pp. 113–115). Individuals enter a system as a Poisson stream and move through it independently. Equilibrium results follow from Chapter 3; Theorem 4.2 describes the transient behaviour exactly, starting from an empty system.

Setting

Capacity allocation (§4.1). A network has J≥1J \ge 1J≥1 channels. Channel jjj receives traffic at average rate aj>0a_j > 0aj​>0 and is given capacity ϕj\phi_jϕj​. In equilibrium the number njn_jnj​ of messages at channel jjj has the geometric law (4.1),

P(nj=n)=(1−ajϕj)(ajϕj)n,n=0,1,2,…,P(n_j = n) = \Big(1 - \frac{a_j}{\phi_j}\Big)\Big(\frac{a_j}{\phi_j}\Big)^n, \qquad n = 0, 1, 2, \dots,P(nj​=n)=(1−ϕj​aj​​)(ϕj​aj​​)n,n=0,1,2,…,

which requires ϕj>aj\phi_j > a_jϕj​>aj​. Its mean is aj/(ϕj−aj)a_j/(\phi_j - a_j)aj​/(ϕj​−aj​). Capacity on channel jjj costs fj>0f_j > 0fj​>0 per unit and the total budget is FFF, giving the cost constraint (4.2)

∑jfjϕj=F.\sum_j f_j\phi_j = F.j∑​fj​ϕj​=F.

The mean number of customers in the network is

N(ϕ)=∑jajϕj−aj,N(\phi) = \sum_j \frac{a_j}{\phi_j - a_j},N(ϕ)=j∑​ϕj​−aj​aj​​,

and the feasible set is the set of ϕ∈RJ\phi \in \mathbb{R}^Jϕ∈RJ with ϕj>aj\phi_j > a_jϕj​>aj​ for every jjj that satisfy (4.2). In Lean these are meanNumberInNetwork a φ and FeasibleCapacities a f F. The proof works with the Lagrangian lagrangian a f F y φ =N(ϕ)+y(∑jfjϕj−F)= N(\phi) + y(\sum_j f_j\phi_j - F)=N(ϕ)+y(∑j​fj​ϕj​−F).

Compartmental model (§4.5). Individuals arrive in a Poisson stream of rate ν>0\nu > 0ν>0 at a system of JJJ compartments that is empty at time 000. Let pj(s)p_j(s)pj​(s) be the probability that an individual is in compartment jjj a time sss after its arrival; pj(s)≥0p_j(s) \ge 0pj​(s)≥0 and ∑jpj(s)≤1\sum_j p_j(s) \le 1∑j​pj​(s)≤1, since individuals may leave. Let nj(t)n_j(t)nj​(t) be the number of individuals in compartment jjj at time t>0t > 0t>0, and

αj(t)=∫0tpj(u) du.\alpha_j(t) = \int_0^t p_j(u)\,du.αj​(t)=∫0t​pj​(u)du.

In Lean the model is the predicate IsCompartmentModel P ν t p M T Loc, the counts are compartmentCount M Loc j, and αj(t)\alpha_j(t)αj​(t) is alpha p j t.

Formalization targets

Goal: Theorem 4.1 (p. 97)

If J≥1J \ge 1J≥1, aj>0a_j > 0aj​>0, fj>0f_j > 0fj​>0 and F>∑kakfkF > \sum_k a_k f_kF>∑k​ak​fk​, then

ϕj∗=aj+ajfj∑kakfk⋅F−∑kakfkfj\phi^*_j = a_j + \frac{\sqrt{a_j f_j}}{\sum_k \sqrt{a_k f_k}}\cdot\frac{F - \sum_k a_k f_k}{f_j}ϕj∗​=aj​+∑k​ak​fk​​aj​fj​​​⋅fj​F−∑k​ak​fk​​

is feasible and minimizes NNN over the feasible set, and every other feasible ϕ\phiϕ has N(ϕ)>N(ϕ∗)N(\phi) > N(\phi^*)N(ϕ)>N(ϕ∗).

Milestones toward the goal

  1. The mean of the geometric law (4.1) is aj/(ϕj−aj)a_j/(\phi_j - a_j)aj​/(ϕj​−aj​) (p. 97).
  2. For y>0y > 0y>0 the Lagrangian is minimized over {ϕj>aj}\{\phi_j > a_j\}{ϕj​>aj​} by ϕj=aj+aj/(yfj)\phi_j = a_j + \sqrt{a_j/(y f_j)}ϕj​=aj​+aj​/(yfj​)​ (proof of Theorem 4.1).
  3. The choice 1/y=(F−∑kakfk)/∑kakfk1/\sqrt y = (F - \sum_k a_k f_k)/\sum_k\sqrt{a_k f_k}1/y​=(F−∑k​ak​fk​)/∑k​ak​fk​​ makes that minimizer equal to ϕ∗\phi^*ϕ∗ and feasible for (4.2).

Second result: Theorem 4.2 (pp. 114–115)

The proof's generating-function identity, for zj∈[0,1]z_j \in [0,1]zj​∈[0,1],

E(z1n1(t)⋯zJnJ(t))=∏j=1Jexp⁡[−(1−zj)ναj(t)],E\big(z_1^{n_1(t)}\cdots z_J^{n_J(t)}\big) = \prod_{j=1}^J \exp\big[-(1 - z_j)\nu\alpha_j(t)\big],E(z1n1​(t)​⋯zJnJ​(t)​)=j=1∏J​exp[−(1−zj​)ναj​(t)],

and the theorem itself: n1(t),…,nJ(t)n_1(t), \dots, n_J(t)n1​(t),…,nJ​(t) are independent and nj(t)n_j(t)nj​(t) is Poisson with mean ναj(t)\nu\alpha_j(t)ναj​(t).

Significance

Theorem 4.1 is a closed-form design rule. Every channel first receives the capacity aja_jaj​ needed to carry its traffic; the remaining budget is shared in proportion to ajfj\sqrt{a_j f_j}aj​fj​​, not to the traffic aja_jaj​. Sizing capacity in proportion to the load, which is the obvious rule, is therefore not optimal. The same calculation applies to any network whose stations have the geometric law (4.1), for example a manufacturing job shop (p. 97). The mean number in the network and the mean time a customer spends in it are minimized together.

Theorem 4.2 is the exact transient law of a network of infinite-server queues started empty. It holds however complicated the motion of an individual is, provided individuals move independently, and letting t→∞t \to \inftyt→∞ it recovers the equilibrium Poisson law of §4.5.

Both results are classical and proved in the book. Neither is formalized on Prove2Me. The platform has the geometric equilibrium law of the M/M/1 queue (KellyStochasticNetworks.mm1_equilibrium) but not its mean, and no result on Poisson thinning or marking by independent random locations. The formal work for Theorem 4.1 is a strict-convexity and Lagrangian-sufficiency argument in RJ\mathbb{R}^JRJ. For Theorem 4.2 it is a Poisson marking theorem in measure-theoretic probability. Both pieces are reusable.

Difficulty

For Theorem 4.1, the book's proof sets the partial derivatives of the Lagrangian to zero. A stationary point is not a global minimizer in general, so the formal proof must show that LLL is (strictly) convex on the open region ϕj>aj\phi_j > a_jϕj​>aj​, and it must use Lagrangian sufficiency, not first-order conditions alone. The region is open and the objective is unbounded near its boundary. Feasibility of ϕ∗\phi^*ϕ∗ needs F>∑kakfkF > \sum_k a_k f_kF>∑k​ak​fk​, which the book leaves implicit.

For Theorem 4.2, the steps of the proof that read "conditional on MMM" have to be carried out with measure-theoretic independence. One step averages a product over MMM independent uniform instants. Another sums the Poisson mixture into an exponential. The last turns a factorized generating function into mutual independence of JJJ counts with Poisson marginals. Mathlib has the Poisson distribution (ProbabilityTheory.poissonMeasure) but no marking or thinning theorem, and no uniqueness theorem for multivariate probability generating functions.

Formalization scope

Channels and compartments are indexed by Fin J; all rates, costs and capacities are real numbers.

Theorem 4.1. The statement carries the book's implicit hypotheses explicitly: J≥1J \ge 1J≥1, aj>0a_j > 0aj​>0, fj>0f_j > 0fj​>0, F>∑kakfkF > \sum_k a_k f_kF>∑k​ak​fk​. Stability ϕj>aj\phi_j > a_jϕj​>aj​ is part of the feasible set. The conclusion is global optimality over the feasible set (IsMinOn) together with feasibility of ϕ∗\phi^*ϕ∗, plus strict optimality against every other feasible point. Uniqueness is a slight strengthening of the book's "the optimal allocation is", and it holds by strict convexity. A statement that ϕ∗\phi^*ϕ∗ satisfies (4.2), or that it is a stationary point of the Lagrangian, is not the theorem: those are one-line computations or the proof method, and the goal is stated as global optimality to rule them out.

Theorem 4.2. The model is pinned down as in the proof on p. 115:

  • the number MMM of arrivals in (0,t)(0,t)(0,t) is Poisson with mean νt\nu tνt;
  • an i.i.d. sequence of (arrival instant, location at time ttt) pairs is independent of MMM, and only its first MMM entries are used;
  • each instant is uniform on (0,t)(0,t)(0,t), and an individual arriving at uuu is in compartment jjj at time ttt with probability pj(t−u)p_j(t-u)pj​(t−u), or has left.

"Individuals move independently" is formalized as this conditional independence. The pjp_jpj​ are measurable sub-probabilities, not assumed to sum to one. The conclusion is mutual independence of the JJJ counts (iIndepFun) together with the Poisson probability mass function of each. Infinite time horizons and the point-process description of the system are out of scope.

Useful contributions: a reusable Lagrangian-sufficiency lemma for separable convex objectives under one linear constraint; a Poisson marking (colouring) theorem for finitely many colours; the multivariate generating-function uniqueness lemma for NJ\mathbb{N}^JNJ-valued random vectors.

Selected references

  • F. P. Kelly, Reversibility and Stochastic Networks, John Wiley & Sons, 1979, Chapter 4 (§4.1, pp. 95–97; §4.5, pp. 113–115).
  • L. Kleinrock, Communication Nets: Stochastic Message Flow and Delay, McGraw-Hill, 1964 (reprinted Dover, 1972).
  • J. F. C. Kingman, Poisson Processes, Oxford University Press, 1993 (colouring and marking theorems).
8 thms3 active usersReviewed
🏆Completed
Operations Research·Captain: mikedeng1

One-Machine Sequencing to Minimize Certain Functions of Job Tardiness II: EDD Order Minimizes Any Sum of Convex Nondecreasing Tardiness Penalties When No Job Starts After Its Due DateResearch Paper

Motivation

A single machine must process a set of jobs, each with a processing time and a due date, and the cost of a schedule depends on how late the jobs finish. Total tardiness is the classical criterion, but in many applications lateness is penalised more than proportionally: a job one week late costs more than twice a job half a week late, and a quadratic or other convex penalty describes this better. Hamilton Emmons's 1969 paper in Operations Research (DOI 10.1287/opre.17.4.701) derives dominance rules for total tardiness and then asks which of them survive when total tardiness is replaced by ∑Jg(Ti)\sum_J g(T_i)∑J​g(Ti​) for an arbitrary convex nondecreasing loss ggg.

Timeline of the relevant results:

  • 1955 — Jackson shows that ordering jobs by earliest due date (EDD) minimises the maximum lateness, and hence produces a schedule without late jobs whenever one exists.
  • 1956 — Smith gives the ratio rule for weighted completion time and an adjacent-interchange criterion for pairs of jobs.
  • 1969 — Emmons proves the precedence theorems for total tardiness that underlie later branch-and-bound and dynamic programming algorithms for 1 ∣∣ ∑Tj1\,||\,\sum T_j1∣∣∑Tj​, and shows (p. 713) that Theorems 2 and 3 and part of Theorem 1 extend to any sum of identical convex nondecreasing tardiness penalties.
  • 1977 — Lawler's pseudo-polynomial algorithm for total tardiness builds on Emmons's conditions; the problem is later shown NP-hard (Du and Leung, 1990).

Setting

A finite set JJJ of jobs is to be sequenced on one machine. Job JiJ_iJi​ has a processing time pi≥0p_i\ge 0pi​≥0 and a due date did_idi​. All jobs are available at time 000, and the machine processes them one after another without idle time. A schedule is an ordering lll of the jobs of JJJ. The completion time CiC_iCi​ of JiJ_iJi​ in lll is the sum of the processing times of JiJ_iJi​ and of every job before it; its waiting (starting) time is Wi=Ci−piW_i=C_i-p_iWi​=Ci​−pi​, and its tardiness is

Ti=max⁡(0, Ci−di).T_i=\max(0,\,C_i-d_i).Ti​=max(0,Ci​−di​).

A loss function g:R→Rg:\mathbb R\to\mathbb Rg:R→R, convex and nondecreasing on [0,∞)[0,\infty)[0,∞), is fixed, the same for every job. The objective is ∑i∈Jg(Ti)\sum_{i\in J} g(T_i)∑i∈J​g(Ti​), and a schedule is optimal if no schedule of JJJ has a smaller objective. With g(T)=Tg(T)=Tg(T)=T this is total tardiness.

Where the paper uses job indices, the jobs are indexed in SPT order: j<kj<kj<k implies pj<pkp_j<p_kpj​<pk​, or pj=pkp_j=p_kpj​=pk​ and dj≤dkd_j\le d_kdj​≤dk​. The notation j←kj\leftarrow kj←k means that some optimal schedule has JjJ_jJj​ before JkJ_kJk​; for a set AkA_kAk​ of jobs, k←Akk\leftarrow A_kk←Ak​ means that some optimal schedule has JkJ_kJk​ before every job of AkA_kAk​, and Ak′A_k'Ak′​ is the set of jobs of JJJ not in AkA_kAk​. An EDD schedule sequences the jobs in nondecreasing order of due dates.

Formalization targets

Goal: Corollary 2.2* (p. 713)

If an EDD schedule lll of JJJ satisfies

Wi≤difor every i∈J,W_i\le d_i\qquad\text{for every } i\in J,Wi​≤di​for every i∈J,

then lll minimises ∑Jg(Ti)\sum_J g(T_i)∑J​g(Ti​) over all schedules of JJJ, for every ggg convex and nondecreasing on [0,∞)[0,\infty)[0,∞).

The goal fixes no constant and no particular ggg: it is a statement about the whole class of convex nondecreasing penalties.

Milestones (in attack order)

  1. Convex exchange condition (p. 713): if Tja≤TjbT_{ja}\le T_{jb}Tja​≤Tjb​, Tkb≤TkaT_{kb}\le T_{ka}Tkb​≤Tka​ (all nonnegative), Tka−Tkb≤Tjb−TjaT_{ka}-T_{kb}\le T_{jb}-T_{ja}Tka​−Tkb​≤Tjb​−Tja​ and Tjb≥TkaT_{jb}\ge T_{ka}Tjb​≥Tka​, then g(Tka)−g(Tkb)≤g(Tjb)−g(Tja)g(T_{ka})-g(T_{kb})\le g(T_{jb})-g(T_{ja})g(Tka​)−g(Tkb​)≤g(Tjb​)−g(Tja​).
  2. Theorem 1* (p. 713): for j<kj<kj<k, if dj≤dkd_j\le d_kdj​≤dk​ then j←kj\leftarrow kj←k.
  3. Theorem 2* (p. 713): for j<kj<kj<k, if k←Akk\leftarrow A_kk←Ak​, dj>dkd_j>d_kdj​>dk​ and dj+pj≥∑Ak′pid_j+p_j\ge\sum_{A_k'}p_idj​+pj​≥∑Ak′​​pi​, then k←jk\leftarrow jk←j.
  4. Corollary 2.1* (p. 713): if dj=max⁡idid_j=\max_i d_idj​=maxi​di​ and dj+pj≥∑Jpid_j+p_j\ge\sum_J p_idj​+pj​≥∑J​pi​, then some optimal schedule ends with JjJ_jJj​.
  5. Last-job reduction (proof of Corollary 2.2, p. 706): if some optimal schedule ends with JjJ_jJj​, any optimal schedule of J∖{Jj}J\setminus\{J_j\}J∖{Jj​} followed by JjJ_jJj​ is optimal for JJJ.

Two further statements of the same section are included as items: Corollary 1.3* (the SPT schedule is optimal if it coincides with the EDD schedule) and Theorem 3 for the generalised objective.

Significance

The goal says that EDD is optimal for every convex nondecreasing tardiness penalty as long as no job starts after its due date. The classical sufficient condition, that at most one job is tardy, follows from Jackson's rule; Emmons's condition allows any or all jobs to be tardy, provided each is tardy by at most its own processing time. Because the conclusion holds for the whole class of penalties at once, an instance satisfying it needs no knowledge of ggg: total tardiness, total squared tardiness, and any other convex nondecreasing cost are minimised by the same sequence. Theorems 1* and 2* are the dominance rules that the paper's ordering procedure applies pairwise; they reduce the search space of branch-and-bound methods for convex tardiness objectives.

The results are proved in the paper (for ∑g(Ti)\sum g(T_i)∑g(Ti​) the proofs are said to be "easily established" and omitted). None of them has, to our knowledge, a machine-checked proof. The mission produces formal statements and proofs of the generalised results, including the omitted ones, on top of a reusable single-machine model.

Difficulty

The total-tardiness proofs compare changes in tardiness additively: an interchange is good if the decrease in one job's tardiness is at least the increase in another's. For a convex ggg this comparison is not enough, because a unit of tardiness costs more at higher tardiness levels; the changes must also occur at the right height on the curve, and part (b) of the proof of Theorem 1 fails for this reason. Each generalised argument therefore has to check, for every job whose tardiness changes, both the size and the location of the change, including jobs whose tardiness changes from zero to positive. Ties for the latest due date are a further obstacle: the printed proof of Corollary 2.1 cites Theorem 2, whose hypothesis dj>dkd_j>d_kdj​>dk​ is strict, so a job sharing the maximum due date is not covered by the argument as written, although the corollary is stated without excluding ties.

Formalization scope

Jobs are elements of a type ι\iotaι; the job set is a Finset JJJ, processing times and due dates are real functions p,d:ι→Rp,d:\iota\to\mathbb Rp,d:ι→R. Where the paper's index matters, ι\iotaι is linearly ordered and its order is the job index, together with the SPT-indexing hypothesis. A schedule is a duplicate-free list whose elements are exactly JJJ, and completion times are the published single-machine definition MooreLateJobs.Shared.completionTime (Moore 1968), which starts the machine at time 000 with no idle time. Optimality is against every schedule of JJJ. The relation j←kj\leftarrow kj←k is formalised as the existence of an optimal schedule with JjJ_jJj​ before JkJ_kJk​ (keeping the premise k←Akk\leftarrow A_kk←Ak​ in the conclusion where the theorem has one); the paper's cumulative reading of the notation is not formalised.

Standing assumptions and deviations:

  • ggg is convex and nondecreasing on [0,∞)[0,\infty)[0,∞) only; the page's "increasing" is read as nondecreasing, as in the abstract. No smoothness, strict monotonicity or g(0)=0g(0)=0g(0)=0 is assumed.
  • Processing times are assumed nonnegative; this is added (they are durations).
  • The reduction di<∑Jpid_i<\sum_J p_idi​<∑J​pi​ of p. 703 is not assumed, which makes the statements apply to more instances.
  • "The EDD schedule" is any schedule with nondecreasing due dates; ties are arbitrary.

A trivializing formalization is ruled out: the goal requires optimality of the given EDD list against every schedule of JJJ, not of some EDD list, and a sorry-free check shows its hypotheses hold on a two-job instance in which both jobs are tardy.

A complete development needs list lemmas for moving one job to a later position, the effect of such moves on completion times, and slope inequalities for convex functions on [0,∞)[0,\infty)[0,∞). The schedule-manipulation lemmas are reusable for other single-machine sequencing results. Proofs of any milestone, of the two further items, and of general interchange lemmas are welcome.

Selected references

  • H. Emmons, One-Machine Sequencing to Minimize Certain Functions of Job Tardiness, Operations Research 17(4):701–715, 1969. https://doi.org/10.1287/opre.17.4.701
  • J. R. Jackson, Scheduling a Production Line to Minimize Maximum Tardiness, Research Report 43, Management Science Research Project, UCLA, 1955.
  • W. E. Smith, Various Optimizers for Single-Stage Production, Naval Research Logistics Quarterly 3:59–66, 1956. https://doi.org/10.1002/nav.3800030106
  • E. L. Lawler, A "Pseudopolynomial" Algorithm for Sequencing Jobs to Minimize Total Tardiness, Annals of Discrete Mathematics 1:331–342, 1977. https://doi.org/10.1016/S0167-5060(08)70742-8
  • J. M. Moore, An n Job, One Machine Sequencing Algorithm for Minimizing the Number of Late Jobs, Management Science 15(1):102–109, 1968. https://doi.org/10.1287/mnsc.15.1.102
  • J. Du and J. Y.-T. Leung, Minimizing Total Tardiness on One Machine is NP-Hard, Mathematics of Operations Research 15(3):483–495, 1990. https://doi.org/10.1287/moor.15.3.483
9 thms3 active usersReviewed
🏆Completed
Numerical Analysis·Captain: mikedeng1

Minimization of Functions Having Lipschitz Continuous First Partial Derivatives: Gradient Steps with Sufficient Decrease δ|∇f(x_k)|², 0 < δ ≤ 1/4K, Converge to the MinimizerResearch Paper

Motivation

The gradient method minimizes a differentiable function fff on Rn\mathbb{R}^nRn by moving from the current point xkx_kxk​ along the negative gradient, xk+1=xk−λk∇f(xk)x_{k+1} = x_k - \lambda_k \nabla f(x_k)xk+1​=xk​−λk​∇f(xk​). Every practical implementation has to choose the step λk\lambda_kλk​. A fixed step requires knowing a Lipschitz constant of ∇f\nabla f∇f; an exact line search is expensive. Larry Armijo's four-page note (Pacific J. Math. 16 (1966) 1–3) proved that any step achieving a sufficient decrease proportional to ∣∇f(xk)∣2|\nabla f(x_k)|^2∣∇f(xk​)∣2 yields convergence, and gave the halving rule that is now called the Armijo rule or backtracking line search. The rule is the default step-size strategy of gradient, quasi-Newton and Newton-type methods in textbooks such as Nocedal–Wright and Bertsekas, and its sufficient-decrease test reappears in essentially every later line-search analysis.

Timeline:

  • 1944, H. B. Curry: convergence of steepest descent when each step minimizes fff along the ray, which needs a one-dimensional minimization per step (Quart. Appl. Math. 2).
  • 1962, A. A. Goldstein: convergence of the gradient method with a rate estimate, assuming f∈C2f \in C^2f∈C2 on a bounded level set S(x0)S(x_0)S(x0​) and a known bound on the Hessian norm there (Numer. Math. 4).
  • 1966, L. Armijo (received January 1964): the convergence theorem below for any step with sufficient decrease δ∣∇f(xk)∣2\delta|\nabla f(x_k)|^2δ∣∇f(xk​)∣2, 0<δ≤1/(4K)0 < \delta \le 1/(4K)0<δ≤1/(4K), under a Lipschitz condition on ∇f\nabla f∇f restricted to the level set, with the fixed-step and halving-step algorithms as corollaries. The paper's §3 places these hypotheses between Curry's (weaker) and Goldstein's (stronger).

Setting

Let EnE^nEn be real Euclidean nnn-space with norm ∣⋅∣|\cdot|∣⋅∣, and let f:En→Rf : E^n \to \mathbb{R}f:En→R be continuous and bounded below. For a fixed x0∈Enx_0 \in E^nx0​∈En the level set is S(x0)={x:f(x)≤f(x0)}S(x_0) = \{x : f(x) \le f(x_0)\}S(x0​)={x:f(x)≤f(x0​)}. Write ∇f(x)\nabla f(x)∇f(x) for the gradient of fff at xxx. "f∈C1f \in C^1f∈C1 on S(x0)S(x_0)S(x0​)" means that fff is differentiable at every point of S(x0)S(x_0)S(x0​) and ∇f\nabla f∇f is continuous there.

  • Condition III at x0x_0x0​: f∈C1f \in C^1f∈C1 on S(x0)S(x_0)S(x0​) and there is a Lipschitz constant K>0K > 0K>0 with ∣∇f(y)−∇f(x)∣≤K∣y−x∣|\nabla f(y) - \nabla f(x)| \le K|y - x|∣∇f(y)−∇f(x)∣≤K∣y−x∣ for all x,y∈S(x0)x, y \in S(x_0)x,y∈S(x0​).
  • Condition IV at x0x_0x0​: f∈C1f \in C^1f∈C1 on S(x0)S(x_0)S(x0​), x∗x^*x∗ is a point with f(x∗)=inf⁡Enff(x^*) = \inf_{E^n} ff(x∗)=infEn​f, and for every r>0r > 0r>0
m(r)=inf⁡{∣∇f(x)∣:x∈S(x0), ∣x−x∗∣≥r}>0,m(r) = \inf\{|\nabla f(x)| : x \in S(x_0),\ |x - x^*| \ge r\} > 0,m(r)=inf{∣∇f(x)∣:x∈S(x0​), ∣x−x∗∣≥r}>0,

with m(r)=∞m(r) = \inftym(r)=∞ when the set is empty. Condition IV forces x∗x^*x∗ to be the unique minimizer and the only stationary point in S(x0)S(x_0)S(x0​).

For δ>0\delta > 0δ>0 and x∈S(x0)x \in S(x_0)x∈S(x0​), the sufficient-decrease set of display (1) is

S∗(x,δ)={xλ:xλ=x−λ∇f(x), λ>0, f(xλ)−f(x)≤−δ∣∇f(x)∣2}.S^*(x,\delta) = \{x_\lambda : x_\lambda = x - \lambda\nabla f(x),\ \lambda > 0,\ f(x_\lambda) - f(x) \le -\delta|\nabla f(x)|^2\}.S∗(x,δ)={xλ​:xλ​=x−λ∇f(x), λ>0, f(xλ​)−f(x)≤−δ∣∇f(x)∣2}.

The steepest descent algorithm uses xk+1=xk−12K∇f(xk)x_{k+1} = x_k - \frac{1}{2K}\nabla f(x_k)xk+1​=xk​−2K1​∇f(xk​). The modified steepest descent algorithm fixes α>0\alpha > 0α>0, sets αm=α/2m−1\alpha_m = \alpha/2^{m-1}αm​=α/2m−1, and takes xk+1=xk−αmk∇f(xk)x_{k+1} = x_k - \alpha_{m_k}\nabla f(x_k)xk+1​=xk​−αmk​​∇f(xk​) with mkm_kmk​ the smallest positive integer such that

f(xk−αmk∇f(xk))−f(xk)≤−12αmk∣∇f(xk)∣2.(2)f(x_k - \alpha_{m_k}\nabla f(x_k)) - f(x_k) \le -\tfrac12\alpha_{m_k}|\nabla f(x_k)|^2. \tag{2}f(xk​−αmk​​∇f(xk​))−f(xk​)≤−21​αmk​​∣∇f(xk​)∣2.(2)

Formalization targets

Goal: the convergence theorem (§2, pp. 1–2)

Assume fff is continuous and bounded below and Conditions III and IV hold at x0x_0x0​. If 0<δ≤1/(4K)0 < \delta \le 1/(4K)0<δ≤1/(4K), then for every x∈S(x0)x \in S(x_0)x∈S(x0​)

∅≠S∗(x,δ)⊆S(x0),\emptyset \ne S^*(x,\delta) \subseteq S(x_0),∅=S∗(x,δ)⊆S(x0​),

and every sequence with first term x0x_0x0​ and xk+1∈S∗(xk,δ)x_{k+1} \in S^*(x_k,\delta)xk+1​∈S∗(xk​,δ) for all kkk satisfies

xk→x∗(k→∞).x_k \to x^* \qquad (k \to \infty).xk​→x∗(k→∞).

Milestones (the claims of the proof, p. 2)

  1. Along such a sequence, ∣∇f(xk)∣→0|\nabla f(x_k)| \to 0∣∇f(xk​)∣→0.
  2. Under Condition IV, a sequence in S(x0)S(x_0)S(x0​) with ∣∇f∣→0|\nabla f| \to 0∣∇f∣→0 converges to x∗x^*x∗.

Further claims of the proof (p. 2)

  • For x∈S(x0)x \in S(x_0)x∈S(x0​) and 0≤λ≤1/K0 \le \lambda \le 1/K0≤λ≤1/K: f(xλ)−f(x)≤−(λ−λ2K)∣∇f(x)∣2f(x_\lambda) - f(x) \le -(\lambda - \lambda^2K)|\nabla f(x)|^2f(xλ​)−f(x)≤−(λ−λ2K)∣∇f(x)∣2.
  • xλ∈S∗(x,δ)x_\lambda \in S^*(x,\delta)xλ​∈S∗(x,δ) for λ1≤λ≤λ2\lambda_1 \le \lambda \le \lambda_2λ1​≤λ≤λ2​, λi=12K[1+(−1)i1−4δK]\lambda_i = \frac{1}{2K}[1 + (-1)^i\sqrt{1 - 4\delta K}]λi​=2K1​[1+(−1)i1−4δK​].
  • Along such a sequence, xk∈S(x0)x_k \in S(x_0)xk​∈S(x0​) and f(xk)f(x_k)f(xk​) is nonincreasing.

Companion results

  • Corollary 1: the steepest descent iterates converge to x∗x^*x∗.
  • Corollary 2: the modified steepest descent iterates converge to x∗x^*x∗, for every α>0\alpha > 0α>0.
  • The index mkm_kmk​ of Corollary 2 exists; mk=1m_k = 1mk​=1 if α≤1/(2K)\alpha \le 1/(2K)α≤1/(2K) and αmk>1/(4K)\alpha_{m_k} > 1/(4K)αmk​​>1/(4K) otherwise; the half-step estimate f(xλ)−f(x)≤−12λ∣∇f(x)∣2f(x_\lambda) - f(x) \le -\frac12\lambda|\nabla f(x)|^2f(xλ​)−f(x)≤−21​λ∣∇f(x)∣2 for 0≤λ≤1/(2K)0 \le \lambda \le 1/(2K)0≤λ≤1/(2K).
  • The §1 remark: Condition IV implies Conditions I and II, and is equivalent to them when S(x0)S(x_0)S(x0​) is bounded.

Significance

The theorem separates the analysis of a gradient method from the choice of its step: whatever rule produces steps in S∗(xk,δ)S^*(x_k, \delta)S∗(xk​,δ) converges, and the two corollaries show that both a fixed step 1/(2K)1/(2K)1/(2K) and a halving search started from an arbitrary α\alphaα qualify. The halving rule needs no knowledge of KKK, which is why it became the standard globalization device for descent methods. The hypotheses are local to the level set: ∇f\nabla f∇f need only be Lipschitz on S(x0)S(x_0)S(x0​), not on all of EnE^nEn, so functions whose gradient is only locally Lipschitz, such as polynomials of degree above two with bounded level sets, satisfy Condition III.

The result is classical and proved on the page; it has not, to our knowledge, been machine-checked in this form. Formalizing it provides a verified sufficient-decrease convergence theorem with level-set-local hypotheses, a verified Armijo backtracking rule with explicit constants 12\tfrac1221​, 1/(4K)1/(4K)1/(4K) and 1/(8K)1/(8K)1/(8K), and reusable definitions (sufficient-decrease set, Armijo test with halving steps) on which later line-search results can build.

Difficulty

The mean value step in the proof of the descent inequality silently uses the Lipschitz bound along the whole segment from xxx to x−λ∇f(x)x - \lambda\nabla f(x)x−λ∇f(x), but Condition III gives it only on S(x0)S(x_0)S(x0​). One has to show that the segment cannot leave the closed set S(x0)S(x_0)S(x0​) for 0≤λ≤1/K0 \le \lambda \le 1/K0≤λ≤1/K; replacing the hypothesis by a global Lipschitz condition is not acceptable, because it changes the theorem. The final step needs Condition IV in its exact form: gradients tending to zero along the iterates do not by themselves give convergence of the iterates, and the positive lower bound m(r)m(r)m(r) away from x∗x^*x∗ is what turns stationarity into convergence. Corollary 2 additionally requires a termination argument for the halving search and a uniform lower bound on accepted steps.

Formalization scope

EnE^nEn is EuclideanSpace ℝ (Fin n), ∣⋅∣|\cdot|∣⋅∣ is the norm and ∇f\nabla f∇f is Mathlib's gradient f. All declarations live in the namespace ArmijoGrad.Conv, with one definition file ArmijoGrad.Conv.Setting.

Committed conventions:

  • The standing assumptions of §2 are binders of the goal and the corollaries: Continuous f, BddBelow (Set.range f), ConditionIII f x0 K, ConditionIV f x0 xstar. Milestones keep only the assumptions their claim uses, which makes them more general; nothing is added.
  • "f∈C1f \in C^1f∈C1 on S(x0)S(x_0)S(x0​)" is differentiability at every point of S(x0)S(x_0)S(x0​) plus continuity of gradient f on S(x0)S(x_0)S(x0​). The Lipschitz bound of Condition III holds on S(x0)S(x_0)S(x0​) only; K>0K > 0K>0 is part of Condition III.
  • Condition IV carries its minimizer x∗x^*x∗ and states m(r)>0m(r) > 0m(r)>0 as the existence of a positive lower bound for ∣∇f∣|\nabla f|∣∇f∣ on {x∈S(x0):∣x−x∗∣≥r}\{x \in S(x_0) : |x - x^*| \ge r\}{x∈S(x0​):∣x−x∗∣≥r}; this matches the convention m(r)=∞m(r) = \inftym(r)=∞ on the empty set. No real infimum is used.
  • Sequences are ℕ → EuclideanSpace ℝ (Fin n) with first term equal to x0x_0x0​, the base point of S(x0)S(x_0)S(x0​), as in the paper's notation.
  • λ>0\lambda > 0λ>0 in (1) is strict. αm=α/2m−1\alpha_m = \alpha/2^{m-1}αm​=α/2m−1 is used only with m≥1m \ge 1m≥1, and mkm_kmk​ is required to be the smallest such index.

A trivializing formalization is ruled out: the goal assumes nothing about λ1,λ2\lambda_1, \lambda_2λ1​,λ2​, the descent inequality or ∣∇f(xk)∣→0|\nabla f(x_k)| \to 0∣∇f(xk​)∣→0, Condition IV cannot hold vacuously because it names a minimizer, and all hypotheses are satisfiable by nontrivial data: f(x)=∣x∣2/2f(x) = |x|^2/2f(x)=∣x∣2/2 satisfies Conditions III and IV with K=1K = 1K=1 and x∗=0x^* = 0x∗=0, and both algorithms have runs for it.

A complete development needs the one-dimensional mean value inequality along a segment, a continuity argument keeping the segment in S(x0)S(x_0)S(x0​), the telescoping bound for monotone sequences bounded below, and the halving-search termination. The definitions file and the descent and Armijo-index lemmas are reusable for later line-search missions. Contributions are welcome on every milestone; the descent inequality is the natural first target.

Selected references

  • L. Armijo, Minimization of functions having Lipschitz continuous first partial derivatives, Pacific Journal of Mathematics 16(1), 1–3, 1966. https://doi.org/10.2140/pjm.1966.16.1
  • H. B. Curry, The method of steepest descent for non-linear minimization problems, Quarterly of Applied Mathematics 2, 1944. https://doi.org/10.1090/qam/10667
  • A. A. Goldstein, Cauchy's method of minimization, Numerische Mathematik 4, 146–150, 1962. https://doi.org/10.1007/BF01386306
  • J. Nocedal and S. J. Wright, Numerical Optimization, 2nd ed., Springer, 2006. https://doi.org/10.1007/978-0-387-40065-5
4 thms3 active usersReviewed
🏆Completed
CombinatoricsGraph TheoryOperations Research·Captain: mikedeng1

Maximal Flow Through a Network I: The Minimal Cut Theorem — the Maximal Flow Value Equals the Minimum Value of a Disconnecting SetResearch Paper

Motivation

The question behind this mission was posed by T. E. Harris to L. R. Ford, Jr. and D. R. Fulkerson at RAND, in the setting of rail transport: given a rail network linking two cities, with a capacity on every link, find the largest steady flow from one city to the other. Ford and Fulkerson's answer, the minimal cut theorem, published in the Canadian Journal of Mathematics in 1956 (DOI 10.4153/CJM-1956-045-5), says that the obvious upper bound, the total capacity of a set of links whose removal separates the two cities, is always achieved by some flow.

The theorem became the starting point of network flow theory, and through it of a large part of combinatorial optimization and operations research: transportation, assignment, scheduling and network reliability problems are routinely reduced to it.

Timeline.

  • 1927: K. Menger proves that the minimum number of vertices separating two vertex sets of a graph equals the maximum number of disjoint paths joining them (Fund. Math. 10), the unit-capacity ancestor of the theorem.
  • 1955: Harris and Ross study the Soviet rail network as a capacity problem in a RAND report; Harris formulates the maximal flow problem (Schrijver's historical account: Math. Program. 91, 2002).
  • 1956: Ford and Fulkerson publish the minimal cut theorem for undirected networks, with a non-constructive proof based on maximal flows (this paper). Independently, Elias, Feinstein and Shannon state and prove the max-flow min-cut theorem for directed networks (IRE Trans. Inf. Theory 2, 1956), and Dantzig and Fulkerson obtain it from linear programming duality.
  • 1956–1962: Ford and Fulkerson's labelling (augmenting path) algorithm, collected in Flows in Networks (Princeton, 1962).
  • 1972: Edmonds and Karp give polynomial bounds for augmenting-path methods (J. ACM 19).

Setting

A network NNN consists of a finite set of vertices VVV, a finite set of arcs EEE, two distinct vertices, the source aaa and the sink bbb, and a positive capacity c(e)>0c(e)>0c(e)>0 on every arc. Each arc eee has two distinct end vertices; arcs are undirected, and several arcs may join the same pair of vertices.

A chain joining uuu and www is a set of distinct arcs that can be arranged as α1(v0v1),α2(v1v2),…,αm(vm−1vm)\alpha_1(v_0v_1),\alpha_2(v_1v_2),\dots,\alpha_m(v_{m-1}v_m)α1​(v0​v1​),α2​(v1​v2​),…,αm​(vm−1​vm​) with v0=uv_0=uv0​=u, vm=wv_m=wvm​=w and the vertices v0,…,vmv_0,\dots,v_mv0​,…,vm​ pairwise distinct; each arc may be traversed in either direction. The null chain (m=0m=0m=0) joins uuu to itself.

A flow fff assigns a number f(C)≥0f(C)\ge 0f(C)≥0 to each chain CCC joining aaa and bbb (and 000 to every other set of arcs) such that the load ℓf(e)=∑C∋ef(C)\ell_f(e)=\sum_{C\ni e}f(C)ℓf​(e)=∑C∋e​f(C) satisfies ℓf(e)≤c(e)\ell_f(e)\le c(e)ℓf​(e)≤c(e) for every arc. Its value is val(f)=∑Cf(C)\mathrm{val}(f)=\sum_C f(C)val(f)=∑C​f(C). An arc is saturated by fff if ℓf(e)=c(e)\ell_f(e)=c(e)ℓf​(e)=c(e). A maximal flow is a flow of largest value.

A set DDD of arcs is a disconnecting set if every chain joining aaa and bbb contains an arc of DDD; its value is v(D)=∑e∈Dc(e)v(D)=\sum_{e\in D}c(e)v(D)=∑e∈D​c(e). A cut is a disconnecting set no proper subset of which is disconnecting.

The proof introduces two further objects: the set SSS of arcs saturated by every maximal flow, and the set L⊆SL\subseteq SL⊆S of left arcs, those arcs of SSS whose left vertex (the end vertex met first by a positive chain flow of a maximal flow, travelling from aaa) can be reached from aaa by a chain with no arc saturated by some maximal flow.

Formalization targets

Goal: Theorem 1 (Minimal cut theorem), p. 400

∃ m∈R:m=max⁡f flowval(f)=min⁡D disconnectingv(D),\exists\, m\in\mathbb R:\quad m=\max_{f\ \text{flow}}\mathrm{val}(f)=\min_{D\ \text{disconnecting}}v(D),∃m∈R:m=f flowmax​val(f)=D disconnectingmin​v(D),

with both the maximum and the minimum attained. The statement mentions only flows and disconnecting sets, not the proof objects SSS and LLL.

Milestones, in the order of the paper's proof

  1. A maximal flow exists, and the set of maximal flows is convex (p. 400).
  2. Lemma 1: SSS is a disconnecting set (p. 400).
  3. Every arc of SSS receives the same orientation from all positive chain flows of all maximal flows: its left vertex is unique (pp. 400–401).
  4. Lemma 2: LLL is a disconnecting set (p. 401).
  5. Lemma 3: no positive chain flow of a maximal flow contains more than one arc of LLL (p. 401).
  6. val(f)≤v(D)\mathrm{val}(f)\le v(D)val(f)≤v(D) for every flow fff and every disconnecting set DDD (p. 402).
  7. LLL is a cut of minimal value, and every maximal flow has value v(L)v(L)v(L) (p. 402).

Two further statements of the paper are included as items without being milestones: the remark that a disconnecting set of minimal value is a cut (p. 400), and the Corollary (p. 402): if a set AAA of arcs meets every cut in exactly one arc, adding kkk to the capacity of each arc of AAA raises the maximal flow value by kkk.

Significance

The minimal cut theorem turns a maximization over flows into a minimization over finite sets of arcs, so an optimal flow comes with a short certificate of optimality. It implies Menger's theorem (unit capacities), and through it König's theorem on bipartite matchings and Hall's marriage theorem. The Corollary is the tool behind the paper's own computing procedure for source–sink planar networks (§2, formalized in a companion mission).

The theorem is classical and proved. What this mission adds is a machine-checked proof of the paper's own formulation: undirected arcs, parallel arcs, flows decomposed along chains (path flows, with no circulations), and the minimum taken over arc sets meeting every chain, together with the proof's intermediate claims. Max-flow min-cut theorems already on the platform (Applied Combinatorics VIII, AppliedComb.Flows.max_flow_min_cut; Introduction to Linear Optimization X, LinearOptimization.max_flow_min_cut) concern directed networks with edge flows obeying conservation and cuts given by vertex sets. They are related results, not this statement, and connecting the two models is itself welcome work.

Difficulty

Weak duality (milestone 6) is immediate; the content is the reverse inequality. The obvious first step, taking a maximal flow and observing that its saturated arcs separate aaa from bbb, does not finish the proof: a positive chain flow may pass through several saturated arcs, so the total capacity of the saturated arcs can exceed the flow value. One has to single out a disconnecting subset that every positive chain flow crosses exactly once, and there is no canonical choice from a single flow. The paper's sets SSS and LLL are defined from all maximal flows at once, and the work consists in showing that these sets are well behaved. The orientation claim in particular needs an exchange argument on two chains that cross at an arc, where the recombined arc sequences may revisit vertices and must be reduced to chains. In a formal development this "a walk contains a chain" step and the averaging of maximal flows over finitely many chains are the main bookkeeping costs.

Formalization scope

  • A network is a structure on a vertex type V and an arc type E, both Fintype with decidable equality, with end-vertex maps tail, head (labels only, no direction), tail e ≠ head e, a source and a sink with source ≠ sink, and capacities cap : E → ℝ with 0 < cap e. These are the paper's standing assumptions; there are no others in §1. In particular, no planarity is assumed and an arc may join aaa and bbb directly.
  • A chain is a Finset E that is the arc set of some arrangement (list of arcs, list of pairwise distinct vertices, each arc joining consecutive vertices in either order).
  • A flow is a function f : Finset E → ℝ, non-negative, zero off the chains joining source and sink, with every arc load at most the capacity. A collection of chain flows that lists a chain twice merges into this form without changing the value or any load.
  • "Maximal" means of maximum value. The goal is stated with IsGreatest and IsLeast on the sets of flow values and of values of disconnecting sets, so no supremum of a real set appears and both extrema must be attained.
  • A trivializing formalization is ruled out: chains must be self-avoiding and must join the source and the sink, the disconnecting condition quantifies over exactly these chains, and the minimum ranges over all disconnecting sets rather than over a family chosen to match a given flow.
  • Needed infrastructure: finite sums over Finset (Finset E), convexity in Finset E → ℝ, compactness of the flow polytope (for existence), and lemmas on lists (extracting a chain from a walk). The walk-to-chain lemma and weak duality are reusable for the companion mission and for any path-flow model.

Selected references

  • L. R. Ford, Jr. and D. R. Fulkerson, Maximal Flow Through a Network, Canadian Journal of Mathematics 8 (1956), 399–404. https://doi.org/10.4153/CJM-1956-045-5
  • P. Elias, A. Feinstein and C. E. Shannon, A note on the maximum flow through a network, IRE Transactions on Information Theory 2 (1956), 117–119. https://doi.org/10.1109/TIT.1956.1056816
  • K. Menger, Zur allgemeinen Kurventheorie, Fundamenta Mathematicae 10 (1927), 96–115. https://doi.org/10.4064/fm-10-1-96-115
  • L. R. Ford, Jr. and D. R. Fulkerson, Flows in Networks, Princeton University Press, 1962.
  • J. Edmonds and R. M. Karp, Theoretical improvements in algorithmic efficiency for network flow problems, Journal of the ACM 19 (1972), 248–264. https://doi.org/10.1145/321694.321699
  • A. Schrijver, On the history of the transportation and maximum flow problems, Mathematical Programming 91 (2002), 437–445. https://doi.org/10.1007/s101070100259
13 thms3 active usersReviewed
Algorithmic Game TheoryConvex OptimizationMachine Learning·Captain: mikedeng1

Blackwell Approachability and No-Regret Learning are Equivalent 3: An Efficient Forecaster Whose (ℓ1, ε)-Calibration Rate Is at Most √(2/(εT))Research Paper

Calibrated forecasting

A forecaster announces, each day, a probability that it will rain; afterwards nature reveals whether it did. The forecaster is calibrated if, on the days on which it announced roughly 30%, it rained roughly 30% of the time, and likewise for every other announced value. Calibration is a minimal consistency requirement for probabilistic forecasts, used in meteorology, in the evaluation of probabilistic classifiers, and in game theory, where calibrated forecasts of the opponents' play lead to correlated equilibrium (Foster and Vohra, 1997).

Calibration is achievable even against an adversary who chooses the outcomes, provided the forecaster randomizes. Timeline:

  • 1998. Foster and Vohra construct an asymptotically calibrated randomized forecaster against an arbitrary outcome sequence.
  • 1999. Foster reduces calibration to Blackwell's approachability theorem by exhibiting, for each halfspace, a forecast that keeps the payoff inside it.
  • 2009. Mannor and Stoltz give an approachability-based calibration procedure concurrently with the paper below.
  • 2011. Abernethy, Bartlett and Hazan prove that Blackwell approachability and no-regret online linear optimization are equivalent, and use the equivalence to obtain an efficient calibrated forecaster: O(log⁡1/ε)O(\log 1/\varepsilon)O(log1/ε) time per round and calibration rate O(1/εT)O(1/\sqrt{\varepsilon T})O(1/εT​).

This mission formalizes the last result, Theorem 22 of the 2011 paper, in the explicit form given by its proof.

Setting

Fix a positive integer mmm and the grid width ε=1/m\varepsilon = 1/mε=1/m. Each round t=1,…,Tt = 1, \dots, Tt=1,…,T the forecaster chooses a probability vector wtw_twt​ in the simplex Δm+1\Delta_{m+1}Δm+1​ over the grid indices i=0,…,mi = 0, \dots, mi=0,…,m, draws it∼wti_t \sim w_tit​∼wt​ and announces pt=it/mp_t = i_t/mpt​=it​/m. Nature then reveals yt∈{0,1}y_t \in \{0, 1\}yt​∈{0,1}.

Vectors live in Rm+1\mathbb R^{m+1}Rm+1 with the Euclidean norm ∥⋅∥2\|\cdot\|_2∥⋅∥2​. The ℓ₁ norm is ∥x∥1=∑i∣xi∣\|x\|_1 = \sum_i |x_i|∥x∥1​=∑i​∣xi​∣, the ℓ₁ ball is B1(r)={y:∥y∥1≤r}B_1(r) = \{y : \|y\|_1 \le r\}B1​(r)={y:∥y∥1​≤r}, and the unit cube is B∞(1)={θ:∣θi∣≤1 for all i}B_\infty(1) = \{\theta : |\theta_i| \le 1 \text{ for all } i\}B∞​(1)={θ:∣θi​∣≤1 for all i}.

The calibration game (11) has payoff

u(w,y)=(w(0)(y−0m), w(1)(y−1m), …, w(m)(y−1))∈Rm+1.u(w, y) = \Bigl(w(0)\bigl(y - \tfrac0m\bigr),\ w(1)\bigl(y - \tfrac1m\bigr),\ \dots,\ w(m)(y - 1)\Bigr) \in \mathbb R^{m+1}.u(w,y)=(w(0)(y−m0​), w(1)(y−m1​), …, w(m)(y−1))∈Rm+1.

The (ℓ1,ε)(\ell_1, \varepsilon)(ℓ1​,ε)-calibration rate (Definition 19) of the announced forecasts is max⁡{0,∑i=0m∣1T∑t=1TI[pt=i/m](i/m−yt)∣−ε/2}\max\{0, \sum_{i=0}^m |\frac1T\sum_{t=1}^T \mathbb I[p_t = i/m](i/m - y_t)| - \varepsilon/2\}max{0,∑i=0m​∣T1​∑t=1T​I[pt​=i/m](i/m−yt​)∣−ε/2}. Replacing each indicator by its expectation wt(i)w_t(i)wt​(i) gives the rate of the forecast distributions,

CˉTε=max⁡{0, ∑i=0m∣1T∑t=1Twt(i)(im−yt)∣−ε2},\bar C^\varepsilon_T = \max\Bigl\{0,\ \sum_{i=0}^m \Bigl|\frac1T \sum_{t=1}^T w_t(i)\Bigl(\frac im - y_t\Bigr)\Bigr| - \frac\varepsilon2\Bigr\},CˉTε​=max{0, i=0∑m​​T1​t=1∑T​wt​(i)(mi​−yt​)​−2ε​},

which is max⁡{0,∥uˉT∥1−ε/2}\max\{0, \|\bar u_T\|_1 - \varepsilon/2\}max{0,∥uˉT​∥1​−ε/2} for the average payoff uˉT=1T∑tu(wt,yt)\bar u_T = \frac1T\sum_t u(w_t, y_t)uˉT​=T1​∑t​u(wt​,yt​).

The forecaster is Algorithm 5. It keeps a point θt\theta_tθt​ in the cube, starting from θ1=0\theta_1 = 0θ1​=0 with w1w_1w1​ arbitrary. After round ttt it takes a projected gradient step (Algorithm 4, online gradient descent) against the loss vector ft=−u(wt,yt)f_t = -u(w_t, y_t)ft​=−u(wt​,yt​):

θt+1=ΠB∞(1)(θt+η u(wt,yt)),\theta_{t+1} = \Pi_{B_\infty(1)}\bigl(\theta_t + \eta\, u(w_t, y_t)\bigr),θt+1​=ΠB∞​(1)​(θt​+ηu(wt​,yt​)),

where Π\PiΠ is the Euclidean projection. It then sets wt+1w_{t+1}wt+1​ to the output of the oracle Algorithm 3 on θt+1\theta_{t+1}θt+1​, which puts weight on at most two adjacent grid points where θ\thetaθ changes sign.

Formalization targets

Goal: Theorem 22 in the form (14)

For m≥1m \ge 1m≥1, T≥1T \ge 1T≥1, every outcome sequence y1,…,yT∈{0,1}y_1, \dots, y_T \in \{0, 1\}y1​,…,yT​∈{0,1} and every run of Algorithm 5 with η=(m+1)/T\eta = \sqrt{(m+1)/T}η=(m+1)/T​,

CˉTε≤2εT.\bar C^\varepsilon_T \le \sqrt{\frac{2}{\varepsilon T}}.CˉTε​≤εT2​​.

This is the bound CTε≤GD/TC^\varepsilon_T \le GD/\sqrt TCTε​≤GD/T​ of display (14) with the paper's constant G=2G = \sqrt 2G=2​.

Milestones

  1. Claim 1 (proof): min⁡∥y∥1≤ε/2∥x−y∥1=max⁡{0,−ε/2+∥x∥1}\min_{\|y\|_1 \le \varepsilon/2}\|x - y\|_1 = \max\{0, -\varepsilon/2 + \|x\|_1\}min∥y∥1​≤ε/2​∥x−y∥1​=max{0,−ε/2+∥x∥1​}.
  2. Display (13): for ∥x∥1>ε/2\|x\|_1 > \varepsilon/2∥x∥1​>ε/2, also =−ε/2−min⁡∥θ∥∞≤1⟨−x,θ⟩= -\varepsilon/2 - \min_{\|\theta\|_\infty \le 1}\langle -x, \theta\rangle=−ε/2−min∥θ∥∞​≤1​⟨−x,θ⟩.
  3. Algorithm 3: for every θ\thetaθ in the cube there is an output w∈Δm+1w \in \Delta_{m+1}w∈Δm+1​, and every output satisfies ⟨u(w,y),θ⟩≤ε/2\langle u(w, y), \theta\rangle \le \varepsilon/2⟨u(w,y),θ⟩≤ε/2 for all y∈[0,1]y \in [0, 1]y∈[0,1].
  4. Display (12): under that guarantee, max⁡{0,∥uˉT∥1−ε/2}≤1T(∑t⟨−ut,θt⟩−min⁡θ∈B∞(1)∑t⟨−ut,θ⟩)\max\{0, \|\bar u_T\|_1 - \varepsilon/2\} \le \frac1T\bigl(\sum_t \langle -u_t, \theta_t\rangle - \min_{\theta \in B_\infty(1)}\sum_t\langle -u_t, \theta\rangle\bigr)max{0,∥uˉT​∥1​−ε/2}≤T1​(∑t​⟨−ut​,θt​⟩−minθ∈B∞​(1)​∑t​⟨−ut​,θ⟩).
  5. Online gradient descent: regret at most DGTDG\sqrt TDGT​ with step η=D/(GT)\eta = D/(G\sqrt T)η=D/(GT​).
  6. Theorem 21 (response-satisfiability and approachability): for every y∈[0,1]y \in [0,1]y∈[0,1] some w∈Δm+1w \in \Delta_{m+1}w∈Δm+1​ has u(w,y)∈B1(ε/2)u(w, y) \in B_1(\varepsilon/2)u(w,y)∈B1​(ε/2); hence some algorithm choosing wtw_twt​ from y1,…,yt−1y_1, \dots, y_{t-1}y1​,…,yt−1​ drives the distance of the average payoff to B1(ε/2)B_1(\varepsilon/2)B1​(ε/2) to 000 against every outcome sequence in [0,1][0,1][0,1].

Significance

The bound shows that a forecaster with logarithmic per-round cost has calibration error vanishing at rate T−1/2T^{-1/2}T−1/2 against every outcome sequence. Earlier calibrated forecasters required solving a linear program or computing a fixed point each round. The construction is also the paper's worked instance of its general equivalence: a calibration problem, posed as approachability of an ℓ₁ ball, is solved by a no-regret learner on the dual unit cube together with a halfspace oracle.

The result is proved in the paper; no machine-checked version is known to exist. The formalization makes explicit three points the paper leaves informal: the step size, the sign of the gradient step, and the gap between the forecast distributions and the sampled forecasts. The milestones are reusable on their own: the ℓ₁/ℓ∞ duality, and the regret bound of online gradient descent for linear losses on a general closed convex set.

Difficulty

The chain (12)–(14) looks like a direct composition, but each link has content. The oracle guarantee needs a case analysis over the sign pattern of θ\thetaθ, including the degenerate case θ(i+1)=0\theta(i+1) = 0θ(i+1)=0. The reduction (12) needs the duality (13) with attained minima, and it holds only outside the ball B1(ε/2)B_1(\varepsilon/2)B1​(ε/2). The regret bound of online gradient descent needs the non-expansiveness of the Euclidean projection and a telescoping argument. The tempting shortcut of quoting "OGD has regret O(T)O(\sqrt T)O(T​)" does not give the stated constant without fixing the step size.

Formalization scope

Vectors are EuclideanSpace ℝ (Fin (m+1)), with grid index i∈{0,…,m}i \in \{0, \dots, m\}i∈{0,…,m} as Fin (m+1) and i/mi/mi/m as a real quotient; the ℓ₁ norm and the cube are written out coordinatewise. Rounds are t=1,…,Tt = 1, \dots, Tt=1,…,T. Minima over sets are stated through IsLeast or as the infimum of the image of a nonempty bounded set. Algorithm 3 is a relation that allows every sign-change index the binary search might return. The projection is any Euclidean minimizer onto the cube.

Conventions and corrections, each disclosed in the item's Formalization Note:

  • Gradient-step sign. Algorithm 4 prints θt−ηut\theta_t - \eta u_tθt​−ηut​, but the proof runs the learner on the losses ft=−utf_t = -u_tft​=−ut​ (condition 2), so the step is θt+ηut\theta_t + \eta u_tθt​+ηut​. With the printed sign the bound fails.
  • Step size. The page sets η=O(T−1/2)\eta = O(T^{-1/2})η=O(T−1/2); the goal pins η=(m+1)/T\eta = \sqrt{(m+1)/T}η=(m+1)/T​, the standard tuning with radius m+1\sqrt{m+1}m+1​ of the cube and ∥ut∥2≤1\|u_t\|_2 \le 1∥ut​∥2​≤1. The page's D=1/εD = \sqrt{1/\varepsilon}D=1/ε​ is not the cube's diameter.
  • Forecast distributions. The rate is that of the distributions wtw_twt​, the expectation of the calibration vector over the forecaster's draws (Lemma 20). The high-probability statement for the sampled forecasts is not formalized, nor is the running-time claim.
  • Other misprints. Algorithm 3's header "w↦θw \mapsto \thetaw↦θ" is θ↦w\theta \mapsto wθ↦w, and the calibration vector has m+1m + 1m+1 coordinates, not ⌊ε−1⌋\lfloor \varepsilon^{-1} \rfloor⌊ε−1⌋.
  • Added hypotheses. m≥1m \ge 1m≥1 and T≥1T \ge 1T≥1.

A trivializing formalization is ruled out. The rate is defined from Definition 19's formula, not as a distance, and the step size is pinned. A free step size would make the bound false, and an empty oracle relation would make it vacuous; milestone 3's existence clause excludes the latter.

Contributions are welcome on each milestone. The online gradient descent bound and the ℓ₁/ℓ∞ duality are independent of calibration. The published one-step inequality LogRegretOCO.OGD.one_step_inequality is included as a reference item for the regret bound.

Selected references

  • J. Abernethy, P. L. Bartlett, E. Hazan, Blackwell Approachability and No-Regret Learning are Equivalent, COLT 2011, JMLR W&CP 19, pp. 27–46, 2011. https://proceedings.mlr.press/v19/abernethy11b.html
  • D. P. Foster, R. V. Vohra, Asymptotic calibration, Biometrika 85(2), 1998. https://doi.org/10.1093/biomet/85.2.379
  • D. P. Foster, A proof of calibration via Blackwell's approachability theorem, Games and Economic Behavior 29, 1999. https://doi.org/10.1006/game.1999.0724
  • D. P. Foster, R. V. Vohra, Calibrated learning and correlated equilibrium, Games and Economic Behavior 21, 1997. https://doi.org/10.1006/game.1997.0595
  • S. Mannor, G. Stoltz, A geometric proof of calibration, Mathematics of Operations Research 35(4), 2010. https://arxiv.org/abs/0908.3576
  • M. Zinkevich, Online convex programming and generalized infinitesimal gradient ascent, ICML 2003. https://dl.acm.org/doi/10.5555/3041838.3041955
11 thms3 active usersReviewed
🏆Completed
CombinatoricsGraph TheoryLinear Optimization+1·Captain: mikedeng1

Maximum Matching and a Polyhedron With 0,1-Vertices: The Vertices of the Matching Polyhedron Are Exactly the Matching VectorsResearch Paper

Motivation

A matching in a graph is a set of edges no two of which share a node. Given a real weight on every edge, the maximum-weight matching problem asks for a matching of largest total weight. It is one of the basic problems of combinatorial optimization: assignment, pairing and scheduling problems reduce to it, and it is the standard example of a combinatorial problem that is solvable in polynomial time although it is not obviously a linear program.

For bipartite graphs the problem is a linear program in disguise: the polytope cut out by nonnegativity and the node-degree inequalities has only 0–1 vertices (the Birkhoff–von Neumann theorem in the square case; Mathlib has it as extremePoints_doublyStochastic). For general graphs this fails already on a triangle, where the vector with every coordinate 1/21/21/2 satisfies all degree inequalities but is not a combination of matchings. Edmonds' 1965 paper (DOI 10.6028/jres.069b.013) adds one family of inequalities, one for each odd set of nodes, and proves that the resulting polyhedron has exactly the matching vectors as its vertices. The companion paper Paths, trees, and flowers gives the cardinality algorithm on which the weighted algorithm of §7 is built.

Timeline:

  • 1931: König and Egerváry prove the min–max theorems for bipartite matching; 1946: Birkhoff shows that the doubly stochastic matrices are the convex hull of the permutation matrices (the bipartite perfect-matching polytope).
  • 1947: Tutte characterizes graphs with a perfect matching.
  • 1965: Edmonds, Paths, trees, and flowers: the blossom algorithm for maximum-cardinality matching.
  • 1965: Edmonds, this paper: Theorem (P) (the matching polyhedron) and Theorem (M) (blossom-shrinking optimality certificates), with a weighted matching algorithm.

Setting

Let GGG be a finite graph with node set VVV and edge set EEE; each edge meets two different nodes, its ends. Real variables xex_exe​ correspond to the edges e∈Ee\in Ee∈E. The polyhedron C⊆REC\subseteq\mathbb R^EC⊆RE is the set of vectors xxx satisfying

  1. xe≥0x_e\ge 0xe​≥0 for every edge eee;
  2. ∑e meets vxe≤1\sum_{e \text{ meets } v} x_e\le 1∑e meets v​xe​≤1 for every node vvv;
  3. ∑e has both ends in Sxe≤r\sum_{e \text{ has both ends in } S} x_e\le r∑e has both ends in S​xe​≤r for every set SSS of 2r+12r+12r+1 nodes, rrr a strictly positive integer.

The matching vectors PPP are the vectors with every component 000 or 111 that satisfy (2); they are the incidence vectors of matchings. For edge weights c∈REc\in\mathbb R^Ec∈RE, the linear form (4) is W(c,x)=∑ecexeW(c,x)=\sum_e c_e x_eW(c,x)=∑e​ce​xe​.

The dual program has a variable yvy_vyv​ for each node and zSz_SzS​ for each odd set SSS (∣S∣=2rS+1|S|=2r_S+1∣S∣=2rS​+1, rS≥1r_S\ge1rS​≥1). Its objective is (5) U(y,z)=∑vyv+∑SrSzSU(y,z)=\sum_v y_v+\sum_S r_S z_SU(y,z)=∑v​yv​+∑S​rS​zS​, subject to (6) y,z≥0y,z\ge0y,z≥0 and (7) yv1+yv2+∑S∋v1,v2zS≥cey_{v_1}+y_{v_2}+\sum_{S\ni v_1,v_2}z_S\ge c_eyv1​​+yv2​​+∑S∋v1​,v2​​zS​≥ce​ for every edge eee with ends v1,v2v_1,v_2v1​,v2​. For a matching MMM, conditions (8)–(10) are the complementary slackness conditions: yv=0y_v=0yv​=0 at nodes not covered by MMM, equality in (7) on MMM, and every odd set with zS>0z_S>0zS​>0 contains exactly rSr_SrS​ edges of MMM.

A blossom sequence {Gi}i=0n\{G_i\}_{i=0}^n{Gi​}i=0n​ (Theorem (M)) starts from G0=GG_0=GG0​=G with matching M0=MM_0=MM0​=M and repeatedly shrinks an odd circuit BiB_iBi​ (a blossom, 2ai+12a_i+12ai​+1 edges of which aia_iai​ are matched) to a single node, carrying node weights w(vi)w(v^i)w(vi) and edge weights w(ei)w(e^i)w(ei) that obey conditions (a)–(k) of p. 127.

In the Lean development these are Graph, IsMatching, incidence, matchingPolyhedron (CCC), matchingVectors (PPP), W, U, DualFeasible ((6)–(7)), CompSlack ((8)–(10)) and BlossomSequence, all in the namespace EdmondsMatching65.Polyhedron.

Formalization targets

Goal: Theorem (P)

ext⁡(C)=P.\operatorname{ext}(C)=P.ext(C)=P.

The vertices (extreme points) of CCC are exactly the matching vectors of GGG. Hence the maximum weight of a matching equals max⁡{W(c,x):x∈C}\max\{W(c,x):x\in C\}max{W(c,x):x∈C} for every ccc.

Milestones

  1. P⊆ext⁡(C)P\subseteq\operatorname{ext}(C)P⊆ext(C) (§2, p. 126).
  2. If for every ccc some 0–1 point of CCC maximizes W(c,⋅)W(c,\cdot)W(c,⋅) over CCC, then ext⁡(C)=P\operatorname{ext}(C)=Pext(C)=P (§2, p. 126).
  3. Weak duality: W(c,x)≤U(y,z)W(c,x)\le U(y,z)W(c,x)≤U(y,z) for x∈Cx\in Cx∈C and ⟨y,z⟩\langle y,z\rangle⟨y,z⟩ satisfying (6)–(7) (§3, p. 126).
  4. If MMM is a matching and ⟨y,z⟩\langle y,z\rangle⟨y,z⟩ satisfies (6)–(10), then W(c,χM)=U(y,z)W(c,\chi^M)=U(y,z)W(c,χM)=U(y,z) (§3, p. 127).
  5. A blossom sequence for MMM yields ⟨y,z⟩\langle y,z\rangle⟨y,z⟩ satisfying (6)–(10) (§5, pp. 127–128).
  6. For every ccc some maximum matching has a blossom sequence (§6, p. 128).
  7. Theorem (M): a matching is maximum if and only if a blossom sequence for it exists (§4, p. 127).
  8. For every ccc there are a matching MMM and ⟨y,z⟩\langle y,z\rangle⟨y,z⟩ satisfying (6)–(10) (§3, p. 127).

Significance

The result. Theorem (P) turns maximum-weight matching in general graphs into a linear program over an explicitly described polyhedron, and Theorem (M) with the §5 translation gives a short certificate of optimality for every maximum matching. Together they established the template of polyhedral combinatorics: describe the convex hull of the combinatorial objects by inequalities, and prove the description through linear programming duality and an algorithm. The matching polytope underlies the analysis of the weighted blossom algorithm, separation over odd-set inequalities (Padberg–Rao), and many later integrality results; Edmonds' own §8 states the extension to degree-constrained subgraphs.

Formalizing it. The theorem has been proved since 1965 and appears in every text on combinatorial optimization; this mission asks for a machine-checked proof of the polytope statement for general finite graphs, including parallel edges, together with the duality certificate and the blossom-sequence characterization. The prove2me platform has a proved form of Edmonds' perfect matching polytope theorem on complete graphs in convex-decomposition form (MetricTSP.pm_polytope_decomposition), a different polytope with a different conclusion; nothing states Theorem (P) or Theorem (M).

Difficulty

The inclusion P⊆ext⁡(C)P\subseteq\operatorname{ext}(C)P⊆ext(C) and weak duality are routine. The difficulty is the reverse inclusion: showing that no fractional point of CCC is a vertex. The bipartite argument (a fractional point has a cycle of fractional edges along which it can be perturbed both ways) breaks on odd cycles: perturbing along an odd circuit violates a degree inequality, and the odd-set inequalities that cut off the half-integral points are exponentially many and overlap. The paper's route needs, for every weight vector, an optimal matching together with a dual solution satisfying (6)–(10), and the existence of that certificate is the substance of the weighted matching algorithm: the blossom sequence of Theorem (M) must be constructed, and the translation (11)–(16) from node and edge weights of the contracted graphs to ⟨y,z⟩\langle y,z\rangle⟨y,z⟩ must be verified through the whole shrinking history.

Formalization scope

  • The graph is a finite node type V, a finite edge type E and an end map ends : E → Sym2 V with no loops. Parallel edges are allowed: the contracted graphs of Theorem (M) have them, and Theorem (P) holds for multigraphs; simple graphs are the case of an injective end map.
  • Vectors are E → ℝ, one coordinate per edge. Vertices are Mathlib's Set.extremePoints ℝ. Odd sets carry an explicit r : ℕ with 1 ≤ r and |S| = 2r + 1; even sets and singletons carry no inequality.
  • Edge weights are arbitrary reals; matchings need not be perfect and may be empty. No connectivity, no parity of |V|.
  • The dual variable z is a function on all node sets of which only odd sets are read.
  • A contracted graph Gᵢ is a partition of V into blocks; an edge of G is an edge of Gᵢ when its ends lie in different blocks. Each Mᵢ must be a matching of Gᵢ, and all of (a)–(k) appear as fields of BlossomSequence; a sequence missing any of them would make milestone 6 trivial or milestone 5 false.
  • A trivializing formalization is ruled out: coordinates indexed by node pairs (Sym2 V → ℝ) leave non-edge coordinates free and give a polyhedron with no extreme points, and the goal is stated as equality of extreme points, not as a convex-hull identity or as the existence of a dual certificate.
  • Needed infrastructure: extreme points of polyhedra as unique maximizers of linear forms, finite LP weak duality over these index sets, and the weighted blossom algorithm (or another proof of milestone 8). The polyhedral lemmas are reusable for other integrality results; contributions on any milestone are welcome.

Selected references

  • J. Edmonds, Maximum Matching and a Polyhedron With 0,1-Vertices, J. Res. Nat. Bur. Standards Sect. B 69B (1965), 125–130. https://doi.org/10.6028/jres.069b.013
  • J. Edmonds, Paths, Trees, and Flowers, Canad. J. Math. 17 (1965), 449–467. https://doi.org/10.4153/CJM-1965-045-4
  • W. T. Tutte, The Factorization of Linear Graphs, J. London Math. Soc. 22 (1947), 107–111. https://doi.org/10.1112/jlms/s1-22.2.107
  • M. W. Padberg, M. R. Rao, Odd Minimum Cut-Sets and b-Matchings, Math. Oper. Res. 7 (1982), 67–80. https://doi.org/10.1287/moor.7.1.67
  • A. Schrijver, Combinatorial Optimization: Polyhedra and Efficiency, Springer, 2003, Chapter 25.
13 thms3 active usersReviewed
Operations ResearchStochastic Systems·Captain: mikedeng1

A Characterization of Waiting Time Performance Realizable by Single-Server Queues: The Conservation-Law Polytope Is the Convex Hull of the Preemptive Priority VectorsResearch Paper

Motivation

A single server shared by several classes of jobs must decide, at every moment, which class to serve. Different scheduling rules give different mean response times to the classes, and a system designer often starts from the other end: a target vector of mean response times, one per class, and the question whether any rule can meet it. Coffman and Mitrani answered this question for the multiclass M/M/1 queue in A Characterization of Waiting Time Performance Realizable by Single-Server Queues (Operations Research 28 (1980), 810–821). Their answer is a polytope with an explicit description: the response-time vectors that can be realized are exactly the convex combinations of the vectors of the preemptive priority rules, and these are exactly the vectors satisfying one equation and 2M−22^M-22M−2 inequalities.

The starting point is Kleinrock's conservation law (Kleinrock, Naval Res. Logist. Quart. 12 (1965)): a weighted sum of the response times does not depend on the rule. The characterization is the first instance of what was later called the achievable region method, developed for general multiclass systems by Federgruen and Groenevelt (Oper. Res. 36 (1988)), Shanthikumar and Yao (Oper. Res. 40 (1992)) and Bertsimas and Niño-Mora (Math. Oper. Res. 21 (1996)), and used to derive priority-index policies such as the cμc\mucμ rule and Gittins indices.

Setting

There are M≥1M\ge1M≥1 job classes. Jobs of class iii arrive in a Poisson stream at rate λi>0\lambda_i>0λi​>0 and have exponential service times with parameter μi>0\mu_i>0μi​>0. The traffic intensity of class iii is ρi=λi/μi\rho_i=\lambda_i/\mu_iρi​=λi​/μi​, and the system is stable: ρ=ρ1+⋯+ρM<1\rho=\rho_1+\cdots+\rho_M<1ρ=ρ1​+⋯+ρM​<1. A performance vector W=(W1,…,WM)W=(W_1,\dots,W_M)W=(W1​,…,WM​) lists the mean response times of the classes. Write ai=ρi/μia_i=\rho_i/\mu_iai​=ρi​/μi​, V=∑iλi/μi2V=\sum_i\lambda_i/\mu_i^2V=∑i​λi​/μi2​, and for a set ggg of classes

f(g)=∑i∈gai1−∑i∈gρi,f(∅)=0.f(g)=\frac{\sum_{i\in g}a_i}{1-\sum_{i\in g}\rho_i},\qquad f(\emptyset)=0 .f(g)=1−∑i∈g​ρi​∑i∈g​ai​​,f(∅)=0.
  • The conservation law (1): ∑i=1MρiWi=V/(1−ρ)\sum_{i=1}^M\rho_iW_i=V/(1-\rho)∑i=1M​ρi​Wi​=V/(1−ρ), which equals f({1,…,M})f(\{1,\dots,M\})f({1,…,M}).
  • The inequalities (4): ∑i∈gρiWi≥f(g)\sum_{i\in g}\rho_iW_i\ge f(g)∑i∈g​ρi​Wi​≥f(g) for each proper nonempty set ggg of classes.
  • H∗∗H^{**}H∗∗ is the set of WWW satisfying (1) and (4).
  • A priority order lists the classes as i1,…,iMi_1,\dots,i_Mi1​,…,iM​, i1i_1i1​ highest. The preemptive priority vector P(i1,…,iM)P(i_1,\dots,i_M)P(i1​,…,iM​) is the vector with ∑i∈SkρiWi=f(Sk)\sum_{i\in S_k}\rho_iW_i=f(S_k)∑i∈Sk​​ρi​Wi​=f(Sk​) for the top sets Sk={i1,…,ik}S_k=\{i_1,\dots,i_k\}Sk​={i1​,…,ik​}, k=1,…,Mk=1,\dots,Mk=1,…,M; explicitly Pik=(f(Sk)−f(Sk−1))/ρikP_{i_k}=(f(S_k)-f(S_{k-1}))/\rho_{i_k}Pik​​=(f(Sk​)−f(Sk−1​))/ρik​​. For M=2M=2M=2, P(1,2)1=1/(μ1−λ1)P(1,2)_1=1/(\mu_1-\lambda_1)P(1,2)1​=1/(μ1​−λ1​), the M/M/1 response time of class 1 alone.
  • HHH, (3), is the set of convex combinations ∑k=1MαkPk\sum_{k=1}^M\alpha_kP_k∑k=1M​αk​Pk​ of MMM preemptive priority vectors.

In Lean the data are a structure Params M carrying λ,μ\lambda,\muλ,μ and the three standing assumptions; Params.f, Params.Hss (H∗∗H^{**}H∗∗), Params.prioVec, topSet and Params.H are the objects above.

Formalization targets

Goal: Theorem 2, analytical form

H∗∗=H.H^{**}=H .H∗∗=H.

The paper's Theorem 2 says a vector is achievable by a scheduling strategy iff it lies in HHH; its proof is the chain H⊆H∗⊆H∗∗⊆HH\subseteq H^*\subseteq H^{**}\subseteq HH⊆H∗⊆H∗∗⊆H, where H∗H^*H∗ is the achievable set. The goal is the part of the chain that involves no strategies.

Milestones

  1. The priority vector is the unique solution of the equations (5) for its chain of top sets.
  2. The first inequality of the proof of Lemma 2: (1−ρ(g1))(1−ρ(g2))>(1−ρ(g1∪g2))(1−ρ(g1∩g2))(1-\rho(g_1))(1-\rho(g_2))>(1-\rho(g_1\cup g_2))(1-\rho(g_1\cap g_2))(1−ρ(g1​))(1−ρ(g2​))>(1−ρ(g1​∪g2​))(1−ρ(g1​∩g2​)) for crossing g1,g2g_1,g_2g1​,g2​.
  3. The second inequality of that proof, in the coefficients aia_iai​.
  4. Lemma 1 at the priority vectors: every P(i1,…,iM)P(i_1,\dots,i_M)P(i1​,…,iM​) lies in H∗∗H^{**}H∗∗.
  5. Two sets on which a point of H∗∗H^{**}H∗∗ satisfies (4) with equality are nested.
  6. Lemma 2: every vertex of H∗∗H^{**}H∗∗ is a preemptive priority vector.

A further item states the paper's final remark (§4): every linear cost ∑iciWi\sum_ic_iW_i∑i​ci​Wi​ is minimized over H∗∗H^{**}H∗∗ at some preemptive priority vector.

Significance

The theorem turns a question about all scheduling rules into a finite check: a target vector is realizable iff it satisfies (1) and the inequalities (4), and every realizable vector is realized by randomly mixing at most MMM priority rules. Linear costs over the realizable vectors are minimized by a priority rule, the fact behind the optimality of priority-index rules in multiclass queues. The paper also gives a linear program for finding the mixture.

The result has been proved since 1980. No machine-checked proof of it is known. The Prove2Me library holds the abstract generalized conservation law theorem of Gittins, Glazebrook and Weber (AllocationIndices.achievable_region_theorem, included as a reference item), which assumes the inequalities (4) for every policy and whose polytope also imposes nonnegativity; it does not compute the right-hand sides for the M/M/1 queue, does not prove that the priority vectors satisfy (4), and uses equality on the lowest-priority sets rather than the highest. This mission supplies the concrete polytope, the closed form of the priority vectors and the strict supermodularity of fff.

Difficulty

That the priority vectors lie in H∗∗H^{**}H∗∗ is a family of inequalities between ratios f(Sk)f(S_k)f(Sk​), one for each pair of a priority order and a set ggg, and the order and ggg need not interact in any simple way. The reverse inclusion is a statement about vertices: a vertex is determined by MMM tight constraints, and one has to show that they form a chain. This needs strict inequalities with the right direction for every crossing pair of sets, which is where the positivity of every λi,μi\lambda_i,\mu_iλi​,μi​ is used. If some λi=0\lambda_i=0λi​=0, then WiW_iWi​ appears in no constraint, H∗∗H^{**}H∗∗ is unbounded and the goal is false. Finally, HHH uses only MMM points, not all M!M!M!, so the goal contains a Carathéodory-type bound for the hyperplane of (1).

Formalization scope

Classes are Fin M, numbered from 000. A priority order is π : Equiv.Perm (Fin M) with π r the class of rank r, rank 000 highest. "Vertex" is an element of Set.extremePoints ℝ. The points of (3) are prioVec (σ k) for an arbitrary σ : Fin M → Equiv.Perm (Fin M), so repetitions are allowed. The priority vectors are given by their closed form, not as solutions of a system. The goal assumes M≥1M\ge1M≥1; for M=0M=0M=0 the set HHH is empty.

The paper's notion "achievable by some scheduling strategy" is replaced by its analytical characterization H∗∗H^{**}H∗∗: the strategy class of the paper (Assumptions 1–3, p. 812) is described only in prose and the steady-state means are assumed to exist, so the queueing half of the proof (Theorem 1, Lemma 1 for arbitrary strategies, the conservation law itself) is not stated. The goal is not to be stated on an abstract set satisfying hypotheses that encode Lemma 1 and (1); that form is already proved and drops the content of milestone 4. The conservation law is an equality, never the inequality (4) at the full set.

A complete development needs finite-set sums, the extreme points of a polyhedron and a Carathéodory argument in an affine hyperplane; the inequalities of milestones 2 and 3 and the vertex-chain argument are reusable for any strictly supermodular set function. Proofs of any milestone, and alternative proofs of the goal through polymatroid theory, are welcome.

Selected references

  • E. G. Coffman, Jr. and I. Mitrani, A Characterization of Waiting Time Performance Realizable by Single-Server Queues, Operations Research 28(3, Part II), 810–821, 1980. https://doi.org/10.1287/opre.28.3.810
  • L. Kleinrock, A Conservation Law for a Wide Class of Queueing Disciplines, Naval Research Logistics Quarterly 12, 181–192, 1965. https://doi.org/10.1002/nav.3800120206
  • A. Federgruen and H. Groenevelt, Characterization and Optimization of Achievable Performance in General Queueing Systems, Operations Research 36(5), 733–741, 1988. https://doi.org/10.1287/opre.36.5.733
  • J. G. Shanthikumar and D. D. Yao, Multiclass Queueing Systems: Polymatroidal Structure and Optimal Scheduling Control, Operations Research 40(3-supplement-2), S293–S299, 1992. https://doi.org/10.1287/opre.40.3.S293
  • D. Bertsimas and J. Niño-Mora, Conservation Laws, Extended Polymatroids and Multiarmed Bandit Problems; A Polyhedral Approach to Indexable Systems, Mathematics of Operations Research 21(2), 257–306, 1996. https://doi.org/10.1287/moor.21.2.257
  • J. Gittins, K. Glazebrook and R. Weber, Multi-armed Bandit Allocation Indices, 2nd ed., Wiley, 2011. https://doi.org/10.1002/9780470980033
9 thms3 active usersReviewed
🏆Completed
Linear OptimizationOperations ResearchProbability·Captain: mikedeng1

Air Travel Demand and Airline Seat Inventory Management I: Marginal Seat Allocation Among Distinct Fare ClassesTextbook

Why airlines allocate seats by fare class

An airline sells the seats of one flight leg at several prices. Low fares fill seats that would otherwise fly empty; high fares are bought by passengers who book late and cannot be predicted exactly. Seat inventory control decides how many seats each fare class may sell. Peter Belobaba's 1987 MIT dissertation (MIT Flight Transportation Laboratory Report R87-7) gave the probabilistic treatment of this problem that became the expected marginal seat revenue (EMSR) method, which was in use across the airline industry for decades.

This mission formalizes the first, simplest model of the thesis: distinct (non-nested) fare-class inventories on a single leg, where a seat assigned to a class may be sold only in that class or not at all. The thesis surveys this model in Sect. 4.2 (pp. 84–94), where an integer-programming formulation from McDonnell-Douglas and its solution by ranking marginal values are described (p. 90), and develops it probabilistically in Sect. 5.1 (pp. 102–107).

Setting

A leg has capacity nnn seats (the thesis also writes CCC). There are finitely many fare classes iii. Class iii has an average fare fi≥0f_i \ge 0fi​≥0 and receives a random number of requests ri∈{0,1,2,… }r_i \in \{0,1,2,\dots\}ri​∈{0,1,2,…}, with law pip_ipi​. The seats are split into allocations Si∈NS_i \in \mathbb{N}Si​∈N, one per class.

With SSS seats, a class books requests until its seats run out, so its bookings and spill (refused requests) are

b=min⁡(r,S),l=(r−S)+(Eq. (5.3)).b = \min(r, S), \qquad l = (r - S)^+ \qquad \text{(Eq. (5.3))}.b=min(r,S),l=(r−S)+(Eq. (5.3)).

The expected revenue of class iii is Rˉi(Si)=fi⋅bˉi(Si)\bar R_i(S_i) = f_i \cdot \bar b_i(S_i)Rˉi​(Si​)=fi​⋅bˉi​(Si​) with bˉi(Si)=E[min⁡(ri,Si)]\bar b_i(S_i) = E[\min(r_i,S_i)]bˉi​(Si​)=E[min(ri​,Si​)], and the leg's expected revenue is Rˉ=∑iRˉi(Si)\bar R = \sum_i \bar R_i(S_i)Rˉ=∑i​Rˉi​(Si​) (Eq. (5.9)). Write

Pˉi(S)=P[ri≥S],EMSRi(S)=fi⋅Pˉi(S)(Eqs. (5.11), (6.1), (6.2)),\bar P_i(S) = P[r_i \ge S], \qquad \mathrm{EMSR}_i(S) = f_i \cdot \bar P_i(S) \qquad \text{(Eqs. (5.11), (6.1), (6.2))},Pˉi​(S)=P[ri​≥S],EMSRi​(S)=fi​⋅Pˉi​(S)(Eqs. (5.11), (6.1), (6.2)),

the expected marginal seat revenue of the SSS-th seat of class iii. The value of the kkk-th seat of class iii in the integer program of p. 90 is mi(k)=EMSRi(k)m_i(k) = \mathrm{EMSR}_i(k)mi​(k)=EMSRi​(k), k=1,…,nk = 1, \dots, nk=1,…,n.

Formalization targets

Goal: the nnn largest marginal values give the optimal booking limits (p. 90)

Let TTT be any set of nnn pairs (i,k)(i,k)(i,k), 1≤k≤n1 \le k \le n1≤k≤n, such that every mi(k)m_i(k)mi​(k) with (i,k)∈T(i,k) \in T(i,k)∈T is at least every mj(l)m_j(l)mj​(l) with (j,l)∉T(j,l) \notin T(j,l)∈/T, and let SiT=#{k:(i,k)∈T}S^T_i = \#\{k : (i,k) \in T\}SiT​=#{k:(i,k)∈T}. Then ∑iSiT=n\sum_i S^T_i = n∑i​SiT​=n and

∑ifi E[min⁡(ri,Si)]  ≤  ∑ifi E[min⁡(ri,SiT)]for every S with ∑iSi≤n.\sum_i f_i\, E[\min(r_i, S_i)] \;\le\; \sum_i f_i\, E[\min(r_i, S^T_i)] \qquad \text{for every } S \text{ with } \textstyle\sum_i S_i \le n .i∑​fi​E[min(ri​,Si​)]≤i∑​fi​E[min(ri​,SiT​)]for every S with ∑i​Si​≤n.

The goal fixes no distribution, number of classes or fare ordering, and it holds for every tie-breaking among equal marginal values.

Milestones

  1. Eq. (5.6): bˉi(S)+lˉi(S)=rˉi\bar b_i(S) + \bar l_i(S) = \bar r_ibˉi​(S)+lˉi​(S)=rˉi​ for requests of finite mean.
  2. Eq. (5.11): Rˉi(S)−Rˉi(S−1)=fi⋅P[ri≥S]\bar R_i(S) - \bar R_i(S-1) = f_i \cdot P[r_i \ge S]Rˉi​(S)−Rˉi​(S−1)=fi​⋅P[ri​≥S] for S≥1S \ge 1S≥1.
  3. Eqs. (6.1)–(6.2): Pˉi\bar P_iPˉi​ and EMSRi\mathrm{EMSR}_iEMSRi​ are non-increasing in SSS.
  4. Eq. (4.5): the 0–1 vector equal to 111 on a set of nnn largest mi(k)m_i(k)mi​(k) is an optimal solution of the linear program max⁡∑i,kXikmi(k)\max \sum_{i,k} X_{ik} m_i(k)max∑i,k​Xik​mi​(k) subject to ∑Xik≤n\sum X_{ik} \le n∑Xik​≤n, 0≤Xik≤10 \le X_{ik} \le 10≤Xik​≤1.
  5. Eq. (5.13), discrete form: an allocation of exactly CCC seats maximises Rˉ\bar RRˉ among such allocations if and only if some λ\lambdaλ satisfies EMSRi(Si)≥λ\mathrm{EMSR}_i(S_i) \ge \lambdaEMSRi​(Si​)≥λ whenever Si≥1S_i \ge 1Si​≥1 and EMSRi(Si+1)≤λ\mathrm{EMSR}_i(S_i + 1) \le \lambdaEMSRi​(Si​+1)≤λ, for all iii.

Significance

The goal is the reason distinct-inventory allocation is computationally easy: a revenue-maximising allocation is obtained by sorting n×(number of classes)n \times (\text{number of classes})n×(number of classes) numbers, with no search over allocations. The same marginal-value principle underlies the EMSR rules for nested classes in the rest of the thesis, and the identity (5.11) is the link between an expected-revenue function and its marginal seat values used throughout revenue management. Milestone 5 is the integer form of the Lagrangian condition of Eq. (5.13); the thesis states it only for a continuous relaxation, and its equality form is generally unattainable with integer seats.

These results are classical and their proofs are elementary; to our knowledge none of them has been machine-checked. The mission produces a reusable formal model of a single-leg, distinct-inventory allocation problem with integer demand (bookings, spill, revenue and marginal values of a PMF ℕ), and checked statements of the marginal-allocation principle for it.

Difficulty

The thesis argues with continuous densities and derivatives, setting ∂Rˉ/∂Si\partial \bar R / \partial S_i∂Rˉ/∂Si​ equal across classes. That argument does not transfer to integer seats: the derivative of a step-shaped expected-revenue function does not exist, equality of marginal values across classes generally fails at every integer allocation, and the tail probability must be P[r≥S]P[r \ge S]P[r≥S] rather than the P[r>S]P[r > S]P[r>S] of Eq. (5.2) for the marginal identity to hold. The integer statements need their own exchange argument. A second subtlety is ties: "the nnn largest values" is not unique, and the goal must hold for every admissible choice, including choices in which a class's selected seat numbers are not an initial segment {1,…,Si}\{1, \dots, S_i\}{1,…,Si​}.

Formalization scope

All declarations live in the namespace SeatInventory.Distinct. Conventions:

  • Integer demand. The law of class iii's requests is d i : PMF ℕ; expectations are series over N\mathbb{N}N. The thesis's continuous densities are replaced by this discrete model, which the thesis itself requires for seat allocations (p. 103).
  • Tail convention. Pˉ(S)=P[r≥S]\bar P(S) = P[r \ge S]Pˉ(S)=P[r≥S], as in Eq. (6.2) and the prose of Eq. (5.11) ("the probability of selling SiS_iSi​ or more seats"), not the P[r>S]P[r > S]P[r>S] of Eq. (5.2).
  • Seat numbers start at 1, and the pairs (i,k)(i,k)(i,k) range over k∈{1,…,n}k \in \{1, \dots, n\}k∈{1,…,n}, as the 600 variables of a 150-seat, four-class problem on p. 90 indicate.
  • Nonnegative fares fi≥0f_i \ge 0fi​≥0 are assumed in every statement that needs them; with a negative fare the capacity constraint ∑Si≤n\sum S_i \le n∑Si​≤n would not bind and the claims fail.
  • Finite mean of the requests is assumed explicitly for Eq. (5.6); the thesis assumes it silently. Expected bookings are bounded and need no assumption.
  • Capacity. The goal and the LP compare against allocations with ∑iSi≤n\sum_i S_i \le n∑i​Si​≤n (the LP's constraint); milestone 5 compares allocations of exactly CCC seats (Eq. (5.8)).
  • No independence assumption. Expected revenue of distinct inventories depends only on each class's marginal law, so the statements take one law per class.
  • "Decreasing" is non-increasing. The thesis's justification in Sect. 6.1.1 gives only monotonicity; strict decrease fails for bounded demand.
  • LP integrality. "The solution will be integer" is stated as: the indicator of every set of nnn largest values is optimal. With ties the LP also has fractional optima.

The expected revenue in the goal is computed from the booking rule min⁡(ri,Si)\min(r_i, S_i)min(ri​,Si​); it is not defined as a sum of marginal values, and the optimal allocation is not defined as an argmax of Rˉ\bar RRˉ. Either shortcut would make the goal a tautology and is ruled out.

Needed infrastructure: tail sums of a PMF ℕ, telescoping of E[min⁡(r,S)]E[\min(r, S)]E[min(r,S)], and a finite exchange argument for sums of the nnn largest values of a function on a finite set; the last two are reusable for any separable concave resource-allocation problem. Contributions of proofs of any milestone, and of a verified sorting routine that produces a set of nnn largest values, 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).
  • P. P. Belobaba, Airline yield management: an overview of seat inventory control, Transportation Science 21(2), 63–73, 1987. https://doi.org/10.1287/trsc.21.2.63
  • P. P. Belobaba, Application of a probabilistic decision model to airline seat inventory control, Operations Research 37(2), 183–197, 1989. https://doi.org/10.1287/opre.37.2.183
  • K. Littlewood, Forecasting and control of passenger bookings, AGIFORS Symposium Proceedings 12, 1972; reprinted in Journal of Revenue and Pricing Management 4(2), 111–123, 2005. https://doi.org/10.1057/palgrave.rpm.5170134
8 thms3 active usersReviewed
🏆Completed
Convex OptimizationLinear OptimizationOperations Research·Captain: mikedeng1

Linear Programming: Foundations and Extensions II: Farkas' Lemma and Strict Complementary SlacknessTextbook

Motivation

Every linear program comes with a second linear program, its dual, and most of what is known about linear programming is a statement about how the two interact. Weak duality gives certificates of optimality; strong duality says those certificates always exist; complementary slackness turns optimality into a system of equations. These three facts are the core of any first course in optimization and of every correctness argument for the simplex method.

Strict complementarity is the sharpest statement of the same kind. Complementary slackness says that in each pair (a primal variable and its dual slack, a dual variable and its primal slack) at least one member vanishes at optimality. Strict complementarity says that some optimal pair can be chosen so that exactly one member vanishes in each pair. The result is due to Goldman and Tucker (1956). It is what identifies the optimal face of a linear program and its partition of the variables into those that can be positive at an optimum and those that cannot, and it is a standing ingredient in the analysis of interior-point methods, which approach this strictly complementary optimum rather than a vertex.

This mission formalizes the chain from duality to strict complementarity as it is developed in Chapters 5 and 10 of Vanderbei, Linear Programming: Foundations and Extensions (4th ed., Springer 2014, doi:10.1007/978-1-4614-7630-6). It is the second mission of a series on that book.

Timeline:

  • 1902 — Farkas publishes the lemma on the solvability of linear inequality systems.
  • 1947–1951 — von Neumann, and Gale, Kuhn and Tucker, establish linear programming duality.
  • 1956 — Goldman and Tucker prove the existence of strictly complementary optimal solutions (in Linear Inequalities and Related Systems, Annals of Mathematics Studies 38).

Setting

Fix integers m,n≥0m, n \ge 0m,n≥0, a real m×nm \times nm×n matrix A=(aij)A = (a_{ij})A=(aij​), a vector b∈Rmb \in \mathbb{R}^mb∈Rm and a vector c∈Rnc \in \mathbb{R}^nc∈Rn. The primal problem is

maximize cTxsubject toAx+w=b,x≥0, w≥0,(10.9)\text{maximize } c^T x \quad\text{subject to}\quad Ax + w = b,\quad x \ge 0,\ w \ge 0, \qquad (10.9)maximize cTxsubject toAx+w=b,x≥0, w≥0,(10.9)

where w=b−Axw = b - Axw=b−Ax is the primal slack. The dual problem is

minimize bTysubject toATy−z=c,y≥0, z≥0,(10.10)\text{minimize } b^T y \quad\text{subject to}\quad A^T y - z = c,\quad y \ge 0,\ z \ge 0, \qquad (10.10)minimize bTysubject toATy−z=c,y≥0, z≥0,(10.10)

where z=ATy−cz = A^T y - cz=ATy−c is the dual slack. A vector xxx is primal feasible if x≥0x \ge 0x≥0 and w≥0w \ge 0w≥0; it is primal optimal if it is feasible and cTx′≤cTxc^T x' \le c^T xcTx′≤cTx for every feasible x′x'x′. Dual feasibility and dual optimality are defined in the same way, with minimization. Inequalities between vectors are componentwise, and ξ>0\xi > 0ξ>0 means that every component of ξ\xiξ is strictly positive.

A halfspace of Rn\mathbb{R}^nRn is a set {x:aTx≤β}\{x : a^T x \le \beta\}{x:aTx≤β} with a≠0a \ne 0a=0; a polyhedron is a set {x:Ax≤b}\{x : Ax \le b\}{x:Ax≤b} for some mmm, AAA and bbb.

In the Lean development these objects live in the namespace VanderbeiLP.StrictComp: primalSlack A b x, dualSlack A c y, PrimalFeasible, DualFeasible, PrimalOptimal, DualOptimal, IsHalfspace, IsPolyhedron.

Formalization targets

Goal: Strict Complementary Slackness (Theorem 10.7)

If the primal (10.9) has an optimal solution, then there exist a primal optimal x∗x^*x∗ and a dual optimal y∗y^*y∗, with slacks w∗=b−Ax∗w^* = b - Ax^*w∗=b−Ax∗ and z∗=ATy∗−cz^* = A^T y^* - cz∗=ATy∗−c, such that

x∗+z∗>0andy∗+w∗>0.x^* + z^* > 0 \qquad\text{and}\qquad y^* + w^* > 0.x∗+z∗>0andy∗+w∗>0.

The only hypothesis is primal optimality; the existence of a dual optimum is part of the conclusion.

Milestones

  1. Theorem 5.1 (Weak Duality). Primal feasible xxx and dual feasible yyy satisfy cTx≤bTyc^T x \le b^T ycTx≤bTy.
  2. Theorem 5.2 (Strong Duality). If the primal has an optimal x∗x^*x∗, the dual has an optimal y∗y^*y∗ with cTx∗=bTy∗c^T x^* = b^T y^*cTx∗=bTy∗.
  3. Theorem 5.3 (Complementary Slackness). Feasible xxx, yyy are both optimal if and only if xjzj=0x_j z_j = 0xj​zj​=0 for all jjj and wiyi=0w_i y_i = 0wi​yi​=0 for all iii.
  4. Lemma 10.5 (Farkas' Lemma). Ax≤bAx \le bAx≤b has no solution if and only if some yyy satisfies ATy=0A^T y = 0ATy=0, y≥0y \ge 0y≥0, bTy<0b^T y < 0bTy<0.
  5. Theorem 10.4 (Separation of polyhedra). Two disjoint nonempty polyhedra lie in two disjoint halfspaces.
  6. Theorem 10.6. If both problems are feasible, there are feasible xˉ\bar xxˉ, yˉ\bar yyˉ​ with xˉ+zˉ>0\bar x + \bar z > 0xˉ+zˉ>0 and yˉ+wˉ>0\bar y + \bar w > 0yˉ​+wˉ>0.

Theorem 10.6 is the feasible-solution version of the goal; Theorem 10.4 is a further consequence of Farkas' Lemma in the same chapter.

Significance

Strict complementarity determines the optimal partition: the set of indices jjj for which some optimal x∗x^*x∗ has xj∗>0x^*_j > 0xj∗​>0 is exactly the complement of the set for which some optimal dual slack zj∗z^*_jzj∗​ is positive. This partition describes the optimal faces of both problems, is the object that interior-point methods recover in the limit, and is the starting point of sensitivity analysis beyond a single optimal basis. Farkas' Lemma and the separation theorem are the linear-algebraic form of convex separation and are reused across optimization, game theory and polyhedral combinatorics.

All results of this mission are classical and proved in the literature. What the mission adds is a machine-checked version of them in one fixed linear-programming form, the inequality form with explicit slacks used throughout Vanderbei's book. Weak duality, strong duality and complementary slackness are already formalized on this platform for other forms (Bertsimas–Tsitsiklis's general form, a minimization, and a covering pair with the roles of primal and dual exchanged). Those statements are equivalent to the ones here only after a transformation (negating the objective, swapping primal and dual), so they are not the same theorems. The Farkas variant for inequality systems, the separation theorem for two polyhedra, and both strict complementarity theorems have no formal counterpart on the platform.

Difficulty

Weak duality and the converse direction of complementary slackness are short computations. The substance lies elsewhere. Strong duality and Farkas' Lemma require a genuine existence argument; the book obtains them from the simplex method, whose termination is itself a nontrivial fact, and any other route needs an independent theorem of the alternative.

For strict complementarity the obvious attempt fails. Complementary slackness gives, for each optimal pair, only that one member of each complementary pair vanishes; nothing in a single optimal basic solution forces the other member to be positive, and in degenerate problems every basic optimal pair can fail strictness. A strictly complementary pair is in general not a vertex of either optimal face, so it cannot be found by inspecting basic solutions. The goal also asks for more than Theorem 10.6: the positivity must be achieved within the optimal sets, which are faces cut out by an additional objective-level constraint, so the feasible-solution argument does not transfer verbatim.

Formalization scope

Vectors are Fin n → ℝ and Fin m → ℝ; the constraint matrix is Matrix (Fin m) (Fin n) ℝ; m and n are arbitrary natural numbers, including zero. The slacks are functions of the solution (primalSlack A b x = b - A *ᵥ x, dualSlack A c y = Aᵀ *ᵥ y - c), never free variables, so a "solution (x,w)(x, w)(x,w)" of the book is the vector xxx with the slack it determines. Optimality is attainment of the maximum (minimum) over the feasible set; no supremum, value function or extended reals are involved. The strict inequality ξ>0\xi > 0ξ>0 is written componentwise as ∀ j, 0 < x j + dualSlack A c y j and ∀ i, 0 < y i + primalSlack A b x i.

A halfspace carries a nonzero normal vector. Without that requirement the empty set would be a halfspace and the separation theorem would be trivial; the formal definition rules this out.

The book states every result in this mission with its hypotheses explicit, and none of them asserts the existence of an unspecified constant, so no explicit-constant instantiation was needed. The remark after Theorem 10.7 refers to "the complementary slackness theorem (Theorem 5.1)"; the complementary slackness theorem is Theorem 5.3, and the milestones follow the theorem numbering.

A complete development needs a theorem of the alternative for real linear inequality systems (Mathlib has Farkas-type results for cones and the geometric Hahn–Banach theorem, but no ready-made matrix version of Lemma 10.5) and elementary convex-combination arguments on feasible sets. The definitions of this mission are self-contained and reusable for any later chapter that works in Vanderbei's inequality form. Proofs of any milestone are welcome, as are proofs that avoid the simplex method.

Selected references

  • R. J. Vanderbei, Linear Programming: Foundations and Extensions, 4th ed., International Series in Operations Research & Management Science 196, Springer, 2014. doi:10.1007/978-1-4614-7630-6
  • J. Farkas, "Theorie der einfachen Ungleichungen", Journal für die reine und angewandte Mathematik 124 (1902), 1–27. doi:10.1515/crll.1902.124.1
  • A. J. Goldman and A. W. Tucker, "Theory of linear programming", in Linear Inequalities and Related Systems, Annals of Mathematics Studies 38, Princeton University Press, 1956, 53–97.
  • D. Gale, H. W. Kuhn and A. W. Tucker, "Linear programming and the theory of games", in Activity Analysis of Production and Allocation, Wiley, 1951, 317–329.
9 thms3 active usersReviewed
🏆Completed
Convex OptimizationLinear OptimizationOperations Research·Captain: mikedeng1

Minimization Methods for Non-Differentiable Functions XI: Convexity and Subgradients of the Value Function in Decomposition with Respect to VariablesTextbook

Motivation

Large convex programs often have a block structure: a small set of "complicating" variables xxx couples otherwise separate subproblems in the remaining variables yyy. Decomposition with respect to variables fixes xxx, solves the subproblem in yyy, and treats the optimal subproblem value as a function of xxx alone. The outer problem in xxx is then small but nonsmooth, because the optimal value of a constrained program is generally not differentiable in its parameters. Shor's Chapter 4 (Shor 1985, Ch. 4) presents this reduction as a principal application of subgradient methods: once a subgradient of the outer function can be read off from the subproblem, the methods of Chapters 2–3 apply directly. The same construction underlies Benders decomposition (Benders 1962) and its convex generalization (Geoffrion 1972), and parametric decomposition schemes for linear programs.

The chapter's other numbered results serve the same programme from the dual side: the Lagrangian dual function of a program over a compact set gives a lower bound usable in branch and bound (Theorem 4.3), exact nonsmooth penalty functions turn a constrained convex program into one unconstrained nonsmooth minimization (Theorem 4.2; nonsmooth penalties were first studied systematically by I. I. Eremin, 1967), and a stochastic transportation model is shown to be a convex program before being solved through its dual (Lemma 4.3).

Setting

The variables split into x∈Elxx \in E^x_lx∈Elx​ and y∈Emyy \in E^y_my∈Emy​ (Euclidean spaces, inner product (⋅,⋅)(\cdot,\cdot)(⋅,⋅)). The problem is

min⁡x,yf0(x,y)s.t.fi(x,y)≤0,i=1,…,n,(4.1)–(4.2)\min_{x,y} f_0(x,y) \quad \text{s.t.} \quad f_i(x,y) \le 0,\quad i = 1,\dots,n, \qquad (4.1)\text{–}(4.2)x,ymin​f0​(x,y)s.t.fi​(x,y)≤0,i=1,…,n,(4.1)–(4.2)

with f0,f1,…,fnf_0, f_1, \dots, f_nf0​,f1​,…,fn​ convex functions of z=(x,y)z = (x,y)z=(x,y) (jointly convex), finite everywhere. For a fixed xˉ\bar xxˉ, the subproblem (4.3)–(4.4) is min⁡y∈D(xˉ)f0(xˉ,y)\min_{y \in D(\bar x)} f_0(\bar x, y)miny∈D(xˉ)​f0​(xˉ,y) with D(xˉ)={y:fi(xˉ,y)≤0}D(\bar x) = \{y : f_i(\bar x,y) \le 0\}D(xˉ)={y:fi​(xˉ,y)≤0}. Where it has a solution y(xˉ)y(\bar x)y(xˉ), the value function is

Φ(xˉ)=min⁡y∈D(xˉ)f0(xˉ,y).(4.5)\Phi(\bar x) = \min_{y \in D(\bar x)} f_0(\bar x,y). \qquad (4.5)Φ(xˉ)=y∈D(xˉ)min​f0​(xˉ,y).(4.5)

The Slater condition at xˉ\bar xxˉ asks for a yyy with fi(xˉ,y)<0f_i(\bar x,y) < 0fi​(xˉ,y)<0 for all iii. The Lagrange function is LU(x,y)=f0(x,y)+∑iUifi(x,y)L_U(x,y) = f_0(x,y) + \sum_i U_i f_i(x,y)LU​(x,y)=f0​(x,y)+∑i​Ui​fi​(x,y), and U≥0U \ge 0U≥0 are Kuhn–Tucker multipliers at xˉ\bar xxˉ when Φ(xˉ)=min⁡yLU(xˉ,y)\Phi(\bar x) = \min_y L_U(\bar x,y)Φ(xˉ)=miny​LU​(xˉ,y). A subgradient of a function of (x,y)(x,y)(x,y) is written through its projections (gx,gy)(g^x, g^y)(gx,gy) on the two blocks; a subgradient of Φ\PhiΦ at xˉ\bar xxˉ is a ggg with Φ(x)−Φ(xˉ)≥(x−xˉ,g)\Phi(x) - \Phi(\bar x) \ge (x - \bar x, g)Φ(x)−Φ(xˉ)≥(x−xˉ,g).

Formalization targets

Goal: Theorem 4.1 (p. 94)

If WWW is a convex set of xxx-values at which the subproblem has a solution, then Φ\PhiΦ is convex on WWW; and if xˉ∈W\bar x \in Wxˉ∈W satisfies the Slater condition, then for every optimal y(xˉ)y(\bar x)y(xˉ), multipliers UUU exist, LUL_ULU​ has a subgradient at (xˉ,y(xˉ))(\bar x, y(\bar x))(xˉ,y(xˉ)) with vanishing yyy-projection, and the xxx-projection of any such subgradient satisfies

gΦ(xˉ)=gLUx(xˉ,y(xˉ))∈∂Φ(xˉ).(4.6)g_\Phi(\bar x) = g^x_{L_U}(\bar x, y(\bar x)) \in \partial \Phi(\bar x). \qquad (4.6)gΦ​(xˉ)=gLU​x​(xˉ,y(xˉ))∈∂Φ(xˉ).(4.6)

Milestones for the goal

  1. Convexity of Φ\PhiΦ on WWW (Theorem 4.1, first assertion).
  2. Existence of Kuhn–Tucker multipliers for the subproblem under Slater (p. 95, display).
  3. Existence of a subgradient of LUL_ULU​ with vanishing yyy-projection (p. 95).
  4. Formula (4.6) for a given multiplier vector and such a subgradient (p. 95, final display).

Further results of the chapter

  1. Corollary (4.7): if each fα(x,⋅)f_\alpha(x,\cdot)fα​(x,⋅) is continuously differentiable in yyy, then gf0x+∑iUigfixg^x_{f_0} + \sum_i U_i g^x_{f_i}gf0​x​+∑i​Ui​gfi​x​, built from arbitrary subgradients of the fαf_\alphafα​, is a subgradient of Φ\PhiΦ.
  2. Lemma 4.3: the stochastic transportation problem (4.163)–(4.165) is a convex program.
  3. Theorem 4.2: with nonsmooth penalties pip_ipi​ whose slopes ci=lim⁡t→0+pi(t)/tc_i = \lim_{t\to0+} p_i(t)/tci​=limt→0+​pi​(t)/t exceed a Lagrange multiplier vector yˉ\bar yyˉ​, the minimizers of S=f0+∑pi∘fiS = f_0 + \sum p_i \circ f_iS=f0​+∑pi​∘fi​ are exactly the solutions of the constrained program; and if a minimizer of SSS solves the program, some multiplier vector satisfies yˉ≤c\bar y \le cyˉ​≤c.
  4. Theorem 4.3: for Φ(u)=min⁡x∈X[f0+∑uifi]\Phi(u) = \min_{x\in X}[f_0 + \sum u_i f_i]Φ(u)=minx∈X​[f0​+∑ui​fi​] over a compact XXX, Q=max⁡u≥0Φ(u)≤f∗Q = \max_{u\ge0}\Phi(u) \le f^*Q=maxu≥0​Φ(u)≤f∗.

Significance

The result itself. Theorem 4.1 is what makes decomposition with respect to variables an instance of convex nonsmooth minimization: the outer problem is convex, and one subproblem solve returns both Φ(xˉ)\Phi(\bar x)Φ(xˉ) and a subgradient. The algorithm on p. 96 — solve the subproblem at xkx_kxk​, form gΦ(xk)g_\Phi(x_k)gΦ​(xk​) by (4.6) or (4.7), take a subgradient step — is exactly this, and the step-size theory of Chapter 2 then gives convergence. The Corollary is the version used in practice for linear and quadratic subproblems, where multipliers and partial subgradients are computed directly. Theorem 4.2 justifies replacing constraints by nonsmooth penalties of finite slope, and Theorem 4.3 is the weak-duality bound behind Lagrangian relaxation in branch and bound.

Formalizing it. All results are classical and proved in the book; none is formalized as stated here. The platform already has related statements with different shapes: convexity of the perturbation value function in the constraint right-hand side (VectorSpaceOpt.perturbationValue_convex, Luenberger), Slater strong duality over the whole space (ConvexOptimization.slater_strong_duality), weak duality with an unconstrained domain (ConvexOptimization.weak_duality), weak Lagrangean duality for integer programs (LinearOptimization.integer_program_weak_lagrangean_duality), and the LP special case of convexity of the optimal cost (LinearOptimization.lp_optimal_cost_convex_in_rhs). This mission adds the partial-minimization form in which one block of variables is minimized out under joint convexity, its subgradient calculus, exact nonsmooth penalties, and weak duality over a compact domain.

Difficulty

Convexity of Φ\PhiΦ is elementary once the minimum is attained. The subgradient formula is where the obvious argument fails: an arbitrary subgradient of LUL_ULU​ at (xˉ,y(xˉ))(\bar x, y(\bar x))(xˉ,y(xˉ)) does not project to a subgradient of Φ\PhiΦ, because its yyy-projection contributes a term (y(x)−y(xˉ),gy)(y(x) - y(\bar x), g^y)(y(x)−y(xˉ),gy) of unknown sign. The theorem needs a subgradient whose yyy-projection vanishes, and its existence is a separate fact about partial minimization of a jointly convex, everywhere-finite function. The multipliers come from the Kuhn–Tucker theorem for the subproblem, which requires the Slater condition. In the Corollary, the difficulty is to show that differentiability in yyy forces the yyy-projection of any combination gf0+∑Uigfig_{f_0} + \sum U_i g_{f_i}gf0​​+∑Ui​gfi​​ to vanish. In Theorem 4.2 the necessity part needs a subdifferential chain rule for pi∘fip_i \circ f_ipi​∘fi​.

Formalization scope

  • ElxE^x_lElx​, EmyE^y_mEmy​ and ENE_NEN​ are EuclideanSpace ℝ (Fin l), EuclideanSpace ℝ (Fin m), EuclideanSpace ℝ (Fin N); constraints are indexed by Fin n (or Fin m). All functions are real-valued and finite everywhere; joint convexity is convexity on the product Elx×EmyE^x_l \times E^y_mElx​×Emy​.
  • Φ\PhiΦ is a real infimum over D(x)D(x)D(x). It is the book's minimum wherever the minimum is attained, and every statement assumes attainment at each point of WWW. A statement about Φ\PhiΦ at points where the subproblem has no solution would be about Lean's default value 000, and is ruled out by these hypotheses.
  • "Convex on some convex subset WWW of EnE_nEn​" is read as convexity on every convex WWW on which Φ\PhiΦ is defined. A formalization quantifying over a single unspecified WWW (e.g. a singleton) would be trivially true.
  • Formula (4.6) is stated for subgradients of LUL_ULU​ whose yyy-projection is zero, as the book's proof uses it; the subgradient inequality for Φ\PhiΦ is stated on all of WWW.
  • Kuhn–Tucker multipliers relative to an optimal yˉ\bar yyˉ​: U≥0U \ge 0U≥0, Uifi(xˉ,yˉ)=0U_i f_i(\bar x,\bar y) = 0Ui​fi​(xˉ,yˉ​)=0, and yˉ\bar yyˉ​ minimizes LU(xˉ,⋅)L_U(\bar x,\cdot)LU​(xˉ,⋅) over all yyy.
  • Theorem 4.2: a Lagrange multiplier vector is yˉ≥0\bar y \ge 0yˉ​≥0 with f0+∑yˉifi≥f∗f_0 + \sum\bar y_i f_i \ge f^*f0​+∑yˉ​i​fi​≥f∗ everywhere, f∗f^*f∗ the finite optimal value; the necessity clause is read as "for some multiplier vector" (for all multiplier vectors it is false); the limits cic_ici​ are given as hypotheses.
  • Theorem 4.3: the minimum (4.187) attained for every u≥0u \ge 0u≥0 (the book's "min"; no continuity assumed); f∗f^*f∗ attained; QQQ attained as the book's "max" presupposes.
  • Lemma 4.3: demands with densities and finite mean, penalty coefficients rj≥0r_j \ge 0rj​≥0.

Useful infrastructure beyond this mission: partial minimization of jointly convex functions, subgradients on product spaces, and a Kuhn–Tucker saddle-point theorem for convex programs with inequality constraints. Proofs of any milestone, and reusable lemmas for these, are welcome.

Selected references

  • N. Z. Shor, Minimization Methods for Non-Differentiable Functions, Springer Series in Computational Mathematics 3, Springer, 1985, Ch. 4, pp. 93–96, 131–133, 146–148. https://doi.org/10.1007/978-3-642-82118-9
  • J. F. Benders, Partitioning procedures for solving mixed-variables programming problems, Numerische Mathematik 4, 1962, 238–252. https://doi.org/10.1007/BF01386316
  • A. M. Geoffrion, Generalized Benders decomposition, Journal of Optimization Theory and Applications 10, 1972, 237–260. https://doi.org/10.1007/BF00934810
  • I. I. Eremin, The penalty method in convex programming, Soviet Mathematics Doklady 8, 1967, 459–462 (Shor's reference [22]).
  • R. T. Rockafellar, Convex Analysis, Princeton University Press, 1970, §29 (partial minimization and perturbation functions). https://doi.org/10.1515/9781400873173
12 thms3 active usersReviewed
🏆Completed
Convex OptimizationNumerical AnalysisOperations Research·Captain: mikedeng1

Minimization Methods for Non-Differentiable Functions X: The Space-Dilation Ellipsoid Method Localizes the Solution in Ellipsoids Shrinking by the Ratio q_nTextbook

Motivation

The ellipsoid method is the algorithm that settled the polynomial-time solvability of linear programming (Khachiyan, 1979) and that underlies the equivalence of separation and optimization in combinatorial optimization (Grötschel, Lovász and Schrijver, 1981). Its origin is in nonsmooth convex optimization. In 1976 Yudin and Nemirovskii proposed a modified method of centered sections that localizes an optimum inside a sequence of ellipsoids, and in 1977 N. Z. Shor observed independently that the same scheme is a subgradient method with space dilation along the gradient, the family of methods he had developed since 1969. Section 3.8 of Shor's monograph Minimization Methods for Non-Differentiable Functions (Springer 1985) presents the method in this second form and proves its basic localization property.

Timeline:

  • 1965. A. Yu. Levin proposes the method of centered sections (cuts through the center of gravity of a polyhedron); each cut removes at least a fixed fraction of the volume, but computing centers of gravity is impractical for n>3n > 3n>3.
  • 1969–1972. Shor introduces subgradient methods with space dilation along the gradient (SDG methods).
  • 1976. Yudin and Nemirovskii replace the polyhedron by a minimal ellipsoid containing a half-ellipsoid, obtaining a geometric volume decrease depending only on the dimension ([Yudin–Nemirovskii 1976]).
  • 1977. Shor shows that the same method is an SDG algorithm with coefficient β=(n−1)/(n+1)\beta = \sqrt{(n-1)/(n+1)}β=(n−1)/(n+1)​ ([Shor 1977]).
  • 1979. Khachiyan applies the method to linear inequalities with integer data, obtaining the first polynomial-time algorithm for linear programming ([Khachiyan 1979]).

Setting

Let EnE_nEn​ be nnn-dimensional Euclidean space with inner product (x,y)(x, y)(x,y), and n>1n > 1n>1. For a unit vector ξ\xiξ and a number α\alphaα, the operator of space dilation along ξ\xiξ with coefficient α\alphaα is Rα(ξ)=I+(α−1)ξξTR_\alpha(\xi) = I + (\alpha - 1)\xi\xi^TRα​(ξ)=I+(α−1)ξξT: it multiplies the component of a vector along ξ\xiξ by α\alphaα and leaves the orthogonal component unchanged.

Let g:En→Eng : E_n \to E_ng:En​→En​ be a vector field, not necessarily continuous. The problem is to find a point x∗x^*x∗ with

(g(x),x−x∗)≥0for all x∈En,(g(x), x - x^*) \ge 0 \quad \text{for all } x \in E_n,(g(x),x−x∗)≥0for all x∈En​,

where it is known that such an x∗x^*x∗ exists in the closed ball S(x0,R)S(x_0, R)S(x0​,R) of radius R>0R > 0R>0 about a given point x0x_0x0​. Put β=(n−1)/(n+1)\beta = \sqrt{(n-1)/(n+1)}β=(n−1)/(n+1)​ and r=n/n2−1r = n/\sqrt{n^2-1}r=n/n2−1​. The algorithm (3.57)–(3.60) starts from x0x_0x0​, B0=InB_0 = I_nB0​=In​, h0=R/(n+1)h_0 = R/(n+1)h0​=R/(n+1), and at iteration k+1k+1k+1 stops if g(xk)=0g(x_k) = 0g(xk​)=0, and otherwise sets

ξk=BkTg(xk)∥BkTg(xk)∥,xk+1=xk−hkBkξk,Bk+1=BkRβ(ξk),hk+1=rhk.\xi_k = \frac{B_k^T g(x_k)}{\|B_k^T g(x_k)\|}, \quad x_{k+1} = x_k - h_k B_k \xi_k, \quad B_{k+1} = B_k R_\beta(\xi_k), \quad h_{k+1} = r h_k .ξk​=∥BkT​g(xk​)∥BkT​g(xk​)​,xk+1​=xk​−hk​Bk​ξk​,Bk+1​=Bk​Rβ​(ξk​),hk+1​=rhk​.

With Ak=Bk−1A_k = B_k^{-1}Ak​=Bk−1​, the localizing ellipsoid is Φk={x:∥Ak(x−xk)∥≤(n+1)hk}\Phi_k = \{x : \|A_k(x - x_k)\| \le (n+1)h_k\}Φk​={x:∥Ak​(x−xk​)∥≤(n+1)hk​}, and the dimension-dependent ratio is

qn=n−1n+1(nn2−1)n<1.q_n = \sqrt{\frac{n-1}{n+1}}\left(\frac{n}{\sqrt{n^2-1}}\right)^n < 1 .qn​=n+1n−1​​(n2−1​n​)n<1.

Three problems produce such a field: minimizing a convex fff on a ball (the field (3.62), a subgradient inside the ball and the outward radial direction outside); the convex program min⁡f0\min f_0minf0​ s.t. fi≤0f_i \le 0fi​≤0 (the field (3.65), a subgradient of the objective at feasible points and of a most violated constraint otherwise); and a convex–concave saddle point problem (the field {gfx,−gfy}\{g_f^x, -g_f^y\}{gfx​,−gfy​}).

Formalization targets

Goal: Theorem 3.14 (p. 86)

For every kkk,

∥Ak(xk−x∗)∥≤hk(n+1),(3.61)\|A_k(x_k - x^*)\| \le h_k (n+1), \tag{3.61}∥Ak​(xk​−x∗)∥≤hk​(n+1),(3.61)

that is, x∗∈Φkx^* \in \Phi_kx∗∈Φk​. The statement holds for every field ggg satisfying the monotonicity condition at x∗x^*x∗; nothing about continuity or convexity is assumed.

Milestones

  1. Eq. (3.4): ∥Rα(ξ)x∥=∥x∥2+(α2−1)(x,ξ)2\|R_\alpha(\xi)x\| = \sqrt{\|x\|^2 + (\alpha^2-1)(x,\xi)^2}∥Rα​(ξ)x∥=∥x∥2+(α2−1)(x,ξ)2​ for unit ξ\xiξ.
  2. Volume of Φk\Phi_kΦk​ (p. 87): (n+1)hk=Rrk(n+1)h_k = R r^k(n+1)hk​=Rrk and v(Φk)=v0Rnrnk/det⁡Akv(\Phi_k) = v_0 R^n r^{nk}/\det A_kv(Φk​)=v0​Rnrnk/detAk​, v0v_0v0​ the volume of the unit ball.
  3. Volume ratio (p. 87–88): v(Φk+1)=qn v(Φk)v(\Phi_{k+1}) = q_n\, v(\Phi_k)v(Φk+1​)=qn​v(Φk​) with qn<1q_n < 1qn​<1, the volumes being positive and finite.
  4. Eq. (3.62): the ball field satisfies (g(x),x−x∗)≥0(g(x), x - x^*) \ge 0(g(x),x−x∗)≥0.
  5. Eq. (3.65): the convex-programming field satisfies (g(x),x−x∗)≥0(g(x), x - x^*) \ge 0(g(x),x−x∗)≥0.
  6. Saddle point field (p. 90): (g(z),z−z∗)≥0(g(z), z - z^*) \ge 0(g(z),z−z∗)≥0.

Significance

The result. Theorem 3.14 with the volume identity says that after kkk steps the solution is confined to an ellipsoid of volume qnkq_n^kqnk​ times that of the initial ball, for any field of the above kind. Milestones 4–6 turn this into localization guarantees for constrained convex minimization, general convex programming and convex–concave saddle points, with a rate that depends only on the dimension. The same localization underlies the complexity bounds of the ellipsoid method for linear programming and the polynomial equivalence of separation and optimization.

Formalizing it. The results are classical and proved in the book. No machine-checked proof of the space-dilation form of the method is known to exist. The platform already contains a proved version of the Bertsimas–Tsitsiklis form (LinearOptimization.ellipsoid_update_halfspace_subset, LinearOptimization.ellipsoid_update_volume_lt: a half-ellipsoid E(z,D)∩{aTx≥aTz}E(z, D) \cap \{a^Tx \ge a^Tz\}E(z,D)∩{aTx≥aTz} is covered by an updated ellipsoid whose volume is smaller by a factor below e−1/(2(n+1))e^{-1/(2(n+1))}e−1/(2(n+1))), and Khachiyan's feasibility algorithm (SmaleNinth.khachiyan_ellipsoid_decides). Those statements are about a center/shape-matrix update and give a volume inequality; this mission is about the iterates of Shor's matrix recursion Bk+1=BkRβ(ξk)B_{k+1} = B_k R_\beta(\xi_k)Bk+1​=Bk​Rβ​(ξk​) and the exact ratio qnq_nqn​. Relating the two parametrizations (Dk=(n+1)2hk2BkBkTD_k = (n+1)^2 h_k^2 B_k B_k^TDk​=(n+1)2hk2​Bk​BkT​) is a welcome side result.

Difficulty

The obvious approach, tracking the ellipsoid through the center and shape matrix and invoking a minimum-volume covering argument, is not what the algorithm computes: here the iterate is updated through the factor BkB_kBk​ and the stepsize hkh_khk​ is fixed in advance, independent of the field, so the induction must be carried out in the transformed coordinates zk=Ak(xk−x∗)z_k = A_k(x_k - x^*)zk​=Ak​(xk​−x∗) in which the ellipsoid is a ball. The difficulty is that the monotonicity condition gives only the sign of one inner product, (zk,ξk)≥0(z_k, \xi_k) \ge 0(zk​,ξk​)≥0, while the norm of zk+1z_{k+1}zk+1​ depends on both (zk,ξk)(z_k,\xi_k)(zk​,ξk​) and ∥zk∥\|z_k\|∥zk​∥; the constants β\betaβ and rrr are exactly those for which the resulting quadratic estimate closes. For the volume identity, the main technical step is computing det⁡Rβ(ξ)=β\det R_\beta(\xi) = \betadetRβ​(ξ)=β and the Lebesgue measure of a linear image of a ball in EuclideanSpace.

Formalization scope

  • EnE_nEn​ is EuclideanSpace ℝ (Fin n); matrices act through Matrix.toEuclideanLin; Bk∗B_k^*Bk∗​ is the transpose. Rα(ξ)R_\alpha(\xi)Rα​(ξ) is the matrix I+(α−1)ξξTI + (\alpha-1)\xi\xi^TI+(α−1)ξξT (the book's property 10); for unit ξ\xiξ this is the operator of the book's definition.
  • The algorithm is the definition ellipsoidMethod g R x₀ : ℕ → EllState n, with state (xk,Bk,hk)(x_k, B_k, h_k)(xk​,Bk​,hk​), B0=IB_0 = IB0​=I, h0=R/(n+1)h_0 = R/(n+1)h0​=R/(n+1). If g(xk)=0g(x_k) = 0g(xk​)=0 the state is repeated from then on (the book stops); the normalization in (3.57) is only performed when g(xk)≠0g(x_k) \ne 0g(xk​)=0. AkA_kAk​ is the matrix inverse of BkB_kBk​, which is nonsingular.
  • Theorem 3.14 is stated for n>1n > 1n>1, R>0R > 0R>0, x∗x^*x∗ with ∥x0−x∗∥≤R\|x_0 - x^*\| \le R∥x0​−x∗∥≤R and (g(x),x−x∗)≥0(g(x), x - x^*) \ge 0(g(x),x−x∗)≥0 for all xxx, for every kkk. The book's additional assumption that g(x)≠0g(x) \ne 0g(x)=0 for x≠x∗x \ne x^*x=x∗ is not used by its proof and is omitted. The iterates are those of the recursion; a statement about an arbitrary ellipsoid containing x∗x^*x∗, or about an arbitrary invertible matrix in place of BkB_kBk​, would not be this theorem and is ruled out by the definitions.
  • Volumes are Lebesgue measure in ℝ≥0∞. The ellipsoid is given for an arbitrary center (the book writes x∗x^*x∗ in one place and xkx_kxk​ in another; the volume is the same). The volume formula requires the first kkk iterations to have been performed (g(xj)≠0g(x_j) \ne 0g(xj​)=0, j<kj < kj<k); the ratio requires iteration k+1k+1k+1 to be performed.
  • The printed chain on p. 87 has misprints (exponents 222 and 111 on n/n2−1n/\sqrt{n^2-1}n/n2−1​ where nnn is meant, and (n−1)/(n+1)(n-1)/(n+1)(n−1)/(n+1) for (n−1)/(n+1)\sqrt{(n-1)/(n+1)}(n−1)/(n+1)​); the statement follows the value of qnq_nqn​ given on p. 88. The estimate for x∉S(x0,R)x \notin S(x_0,R)x∈/S(x0​,R) before (3.62) has a sign misprint; only the conclusion is stated.
  • Needed infrastructure: determinant of a rank-one perturbation of the identity (det⁡(I+c ξξT)=1+c∥ξ∥2\det(I + c\,\xi\xi^T) = 1 + c\|\xi\|^2det(I+cξξT)=1+c∥ξ∥2, available in Mathlib as the matrix determinant lemma), the measure of a linear image (MeasureTheory.Measure.addHaar_image_linearMap), and elementary real inequalities for qn<1q_n < 1qn​<1. The space-dilation lemmas are reusable in the other Shor missions on SDG methods and the rrr-algorithm.

Selected references

  • N. Z. Shor, Minimization Methods for Non-Differentiable Functions, Springer Series in Computational Mathematics 3, Springer, 1985, §3.8. https://doi.org/10.1007/978-3-642-82118-9
  • D. B. Yudin and A. S. Nemirovskii, Informational complexity and efficient methods for the solution of convex extremal problems, Ekonomika i Matematicheskie Metody 12 (1976), 357–369 (English translation: Matekon 13 (1977), 25–45).
  • N. Z. Shor, Cut-off method with space extension in convex programming problems, Cybernetics 13 (1977), 94–96.
  • L. G. Khachiyan, A polynomial algorithm in linear programming, Soviet Mathematics Doklady 20 (1979), 191–194.
  • R. G. Bland, D. Goldfarb and M. J. Todd, The ellipsoid method: a survey, Operations Research 29 (1981), 1039–1091. https://doi.org/10.1287/opre.29.6.1039
  • M. Grötschel, L. Lovász and A. Schrijver, Geometric Algorithms and Combinatorial Optimization, Springer, 1988. https://doi.org/10.1007/978-3-642-97881-4
8 thms3 active usersReviewed
🏆Completed
Convex OptimizationNumerical AnalysisOperations Research·Captain: mikedeng1

Minimization Methods for Non-Differentiable Functions VII: Geometric Convergence of Subgradient Methods with Space Dilation along the GradientTextbook

Motivation

The subgradient method for a nonsmooth convex function converges, but slowly: when the level sets of the objective are elongated, the subgradient is nearly orthogonal to the direction towards the minimum, and the method zigzags. For smooth functions the remedy is a change of metric (Newton and quasi-Newton methods); for nonsmooth functions no Hessian exists to supply one. N. Z. Shor's answer was to learn a metric from the subgradients themselves: after each step, stretch the space along the latest (transformed) subgradient, so that components of future subgradients parallel to it are damped. These subgradient methods with space dilation along the gradient (SDG methods) are the ancestors of Shor's r-algorithm and of the ellipsoid method, which the book (p. 49) describes as a special case of the same family and which Khachiyan later used to show that linear programming is solvable in polynomial time.

Section 3.4 of Shor's monograph (Springer 1985, translated by K. C. Kiwiel and A. Ruszczyński, doi:10.1007/978-3-642-82118-9) proves that, under a two-sided condition on the objective, a suitable SDG method decreases function values at the speed of a geometric progression whose ratio is invariant under nonsingular linear changes of variables. This mission formalizes that chain of results.

Setting

Let EnE_nEn​ be the nnn-dimensional Euclidean space with inner product (x,y)(x,y)(x,y). For a unit vector ξ\xiξ and a coefficient α≥0\alpha \ge 0α≥0, the operator of space dilation along ξ\xiξ is

Rα(ξ) x=x+(α−1)(x,ξ) ξ,R_\alpha(\xi)\,x = x + (\alpha - 1)(x,\xi)\,\xi ,Rα​(ξ)x=x+(α−1)(x,ξ)ξ,

which multiplies the component of xxx along ξ\xiξ by α\alphaα and leaves the orthogonal complement fixed.

Let f:En→Rf : E_n \to \mathbb{R}f:En​→R and let g:En→Eng : E_n \to E_ng:En​→En​ be a generalized gradient: a subgradient of fff when fff is convex, an almost-gradient when fff is almost differentiable. The SDG method starts from x0x_0x0​ and a nonsingular operator B0=A0−1B_0 = A_0^{-1}B0​=A0−1​. At step k=0,1,…k = 0, 1, \dotsk=0,1,…: if g(xk)=0g(x_k) = 0g(xk​)=0 it stops; otherwise it forms the transformed gradient g~k=Bk∗g(xk)\tilde g_k = B_k^* g(x_k)g~​k​=Bk∗​g(xk​), the direction ξk+1=g~k/∥g~k∥\xi_{k+1} = \tilde g_k/\|\tilde g_k\|ξk+1​=g~​k​/∥g~​k​∥, and

xk+1=xk−hk+1Bkξk+1,Bk+1=BkR1/αk+1(ξk+1),Ak+1=Rαk+1(ξk+1)Ak,x_{k+1} = x_k - h_{k+1} B_k \xi_{k+1}, \qquad B_{k+1} = B_k R_{1/\alpha_{k+1}}(\xi_{k+1}), \qquad A_{k+1} = R_{\alpha_{k+1}}(\xi_{k+1}) A_k ,xk+1​=xk​−hk+1​Bk​ξk+1​,Bk+1​=Bk​R1/αk+1​​(ξk+1​),Ak+1​=Rαk+1​​(ξk+1​)Ak​,

with a stepsize hk+1h_{k+1}hk+1​ and a dilation coefficient αk+1\alpha_{k+1}αk+1​. So AkA_kAk​ is the accumulated space transformation, Bk=Ak−1B_k = A_k^{-1}Bk​=Ak−1​, and each step is a subgradient step for φk(y)=f(Bky)\varphi_k(y) = f(B_k y)φk​(y)=f(Bk​y) in the variables y=Akxy = A_k xy=Ak​x.

The quantitative results assume, for a point x∗x^*x∗ and the ball Sd={x:∥x−x∗∥≤d}S_d = \{x : \|x - x^*\| \le d\}Sd​={x:∥x−x∗∥≤d}, the two-sided condition

N [f(x)−f(x∗)]≤(g(x), x−x∗)≤M [f(x)−f(x∗)],x∈Sd,M>N>0.(3.18)N\,[f(x) - f(x^*)] \le (g(x),\, x - x^*) \le M\,[f(x) - f(x^*)], \qquad x \in S_d, \quad M > N > 0. \qquad (3.18)N[f(x)−f(x∗)]≤(g(x),x−x∗)≤M[f(x)−f(x∗)],x∈Sd​,M>N>0.(3.18)

For a convex function the lower inequality holds with N=1N = 1N=1; the upper one bounds how far fff is from a positively homogeneous function around x∗x^*x∗.

Formalization targets

Goal: Theorem 3.4

Under (3.18), with B0=IB_0 = IB0​=I, x0∈Sdx_0 \in S_dx0​∈Sd​, stepsizes hk+1=2MNM+Nf(xk)−f(x∗)∥g~k∥h_{k+1} = \frac{2MN}{M+N}\frac{f(x_k)-f(x^*)}{\|\tilde g_k\|}hk+1​=M+N2MN​∥g~​k​∥f(xk​)−f(x∗)​, a constant coefficient 1<α≤M+NM−N1 < \alpha \le \frac{M+N}{M-N}1<α≤M−NM+N​, and GGG a bound for ∥g∥\|g\|∥g∥ on SdS_dSd​: there are c>0c > 0c>0 and indices k1<k2<⋯k_1 < k_2 < \cdotsk1​<k2​<⋯ with

f(xkp)−f(x∗)≤c α−kp/n,f(x_{k_p}) - f(x^*) \le c\,\alpha^{-k_p/n},f(xkp​​)−f(x∗)≤cα−kp​/n,

and for every k≥1k \ge 1k≥1

min⁡0≤i≤k−1 [f(xi)−f(x∗)]≤Gk(α2−1) dNα2k/n−1.\min_{0 \le i \le k-1}\,[f(x_i) - f(x^*)] \le \frac{G\sqrt{k(\alpha^2-1)}\,d}{N\sqrt{\alpha^{2k/n}-1}} .0≤i≤k−1min​[f(xi​)−f(x∗)]≤Nα2k/n−1​Gk(α2−1)​d​.

Milestones

  1. Eq. (3.4): ∥Rα(ξ)x∥=∥x∥2+(α2−1)(x,ξ)2\|R_\alpha(\xi)x\| = \sqrt{\|x\|^2 + (\alpha^2-1)(x,\xi)^2}∥Rα​(ξ)x∥=∥x∥2+(α2−1)(x,ξ)2​.
  2. Theorem 3.1: if ∥g(xk)∥≤d\|g(x_k)\| \le d∥g(xk​)∥≤d and 1+δ≤αk≤α∗1+\delta \le \alpha_k \le \alpha^*1+δ≤αk​≤α∗, then ∥g~kp∥<c (∏j≤kpαj)−1/n\|\tilde g_{k_p}\| < c\,(\prod_{j\le k_p}\alpha_j)^{-1/n}∥g~​kp​​∥<c(∏j≤kp​​αj​)−1/n along a subsequence.
  3. Theorem 3.2: for constant α>1\alpha > 1α>1 and B0=IB_0 = IB0​=I, min⁡0≤r≤k−1∥g~r∥≤dk(α2−1)/α2k/n−1\min_{0\le r\le k-1}\|\tilde g_r\| \le d\sqrt{k(\alpha^2-1)}/\sqrt{\alpha^{2k/n}-1}min0≤r≤k−1​∥g~​r​∥≤dk(α2−1)​/α2k/n−1​.
  4. Theorem 3.3: under (3.18) and the rules above, ∥Ak(xk−x∗)∥≤d\|A_k(x_k - x^*)\| \le d∥Ak​(xk​−x∗)∥≤d for all kkk.

Significance

The result shows that one fixed rule, depending only on MMM, NNN and nnn, yields linear convergence of function values for every objective satisfying (3.18), at a ratio α−1/n\alpha^{-1/n}α−1/n that does not deteriorate when the problem is badly scaled: the method, and hence its rate, is invariant under nonsingular linear changes of variables. This is the property the ellipsoid method inherits (Section 3.8 of the book), and the same space-dilation machinery drives the r-algorithm (Section 3.7), still used for large nonsmooth problems such as Lagrangian duals of integer programs.

The theorems are proved in the book; none of them, and no space-dilation method, has a machine-checked proof to our knowledge, and the platform has no statement about variable-metric subgradient methods. The mission provides a reusable formal model of the SDG iteration, the eigenvalue-growth arguments behind Theorems 3.1–3.2, and the one-step invariant of Theorem 3.3. The formalization also corrects two points of the printed text (see Formalization scope).

Difficulty

Theorem 3.3 is a one-step computation, but Theorems 3.1 and 3.2 are not: they relate the size of the transformed gradients to the growth of the singular values of AkA_kAk​, whose determinant is ∏jαj\prod_j \alpha_j∏j​αj​. A bound on ∥g~k∥\|\tilde g_k\|∥g~​k​∥ at a single step says nothing, since the dilations can concentrate in few directions; the argument has to control the largest singular value of AkA_kAk​ over many steps against the geometric-mean lower bound (det⁡Ak)1/n(\det A_k)^{1/n}(detAk​)1/n. The dimension nnn enters the rate exactly through this comparison. Theorem 3.4 then needs the invariant of Theorem 3.3 to keep every iterate inside SdS_dSd​, where (3.18) and the bound GGG are available.

Formalization scope

  • EnE_nEn​ is EuclideanSpace ℝ (Fin n) with n≥1n \ge 1n≥1 in the rate statements. Operators are continuous linear maps; B0B_0B0​ is a continuous linear equivalence and A0A_0A0​ its inverse. The state (xk,Bk,Ak)(x_k, B_k, A_k)(xk​,Bk​,Ak​) is produced by a defined recursion sdg, not assumed; g~k\tilde g_kg~​k​ is gTilde.
  • The stepsize rule receives the index, the current point and g~k\tilde g_kg~​k​; the dilation coefficient at step kkk is α (k+1). When g(xk)=0g(x_k) = 0g(xk​)=0 the state is repeated, which encodes the book's stop; no division by zero is used.
  • The book states Theorems 3.1–3.4 for almost differentiable fff with ggg an almost-gradient; the proofs use only the bounds on ∥g∥\|g\|∥g∥ and (3.18), so the Lean statements quantify over every map ggg with those properties. GGG is any bound for ∥g∥\|g\|∥g∥ on SdS_dSd​ in place of the maximum.
  • Theorems 3.2–3.4 take B0=IB_0 = IB0​=I, as their proofs do; Theorem 3.1 allows any nonsingular B0B_0B0​.
  • Two corrections to the printed statements, both following the proofs: Theorem 3.4's record bound carries the factor 1/N1/N1/N that the proof derives, and the record minima in Theorems 3.2 and 3.4 range over the indices 0,…,k−10, \dots, k-10,…,k−1 that the proof controls, rather than 1,…,k1, \dots, k1,…,k.
  • Constants ccc and subsequences are existential and chosen after the data of the run, before the index ppp. A statement placing ccc after ppp, or dropping (3.18) on SdS_dSd​, would be trivially true or false and is ruled out.

Useful infrastructure, reusable for the r-algorithm and ellipsoid chapters: identities for Rα(ξ)R_\alpha(\xi)Rα​(ξ), determinants and singular values of products of rank-one dilations, and the invariance of the SDG iteration under a linear change of variables. Proofs of any milestone, and alternative arguments for Theorem 3.1, are welcome.

Selected references

  • N. Z. Shor, Minimization Methods for Non-Differentiable Functions, Springer Series in Computational Mathematics 3, Springer, 1985, §§3.2–3.4, pp. 49–62 (translated by K. C. Kiwiel and A. Ruszczyński). https://doi.org/10.1007/978-3-642-82118-9
17 thms3 active usersReviewed
🏆Completed
Convex OptimizationOperations Research·Captain: mikedeng1

Minimization Methods for Non-Differentiable Functions III: Convergence of the Normalized Subgradient Method with Divergent-Series StepsizesTextbook

Motivation

Many optimization problems of operations research have objectives that are convex but not differentiable: Lagrangian duals of integer and combinatorial programs, maxima of finitely many affine or smooth functions, penalty functions for systems of inequalities, and the value functions produced by decomposition. For such functions the gradient method and steepest descent fail. Constant steps cannot work because the subgradients need not tend to zero at a nondifferentiable minimum, and exact line search along the negative gradient can converge to a point that is not a minimizer (the example on pp. 22–23 of the source).

The subgradient method replaces the gradient by an arbitrary subgradient and gives up monotone decrease of the objective. Its convergence theory is the foundation of nondifferentiable optimization and of Lagrangian relaxation in integer programming.

Timeline. N. Z. Shor proposed the method with normalized steps in 1962 (Kiev). Yu. M. Ermoliev proved convergence in finite dimensions with divergent-series stepsizes (Kibernetika, 1966), and B. T. Polyak proved it for constrained problems in Hilbert space (Doklady Akad. Nauk SSSR, 1967). Held, Wolfe and Crowder (Mathematical Programming, 1974) brought the method to large combinatorial problems through Lagrangian relaxation. This mission formalizes the exposition of Section 2.1–2.2 of Shor's monograph (Springer, 1985), which gives self-contained proofs of these results.

Setting

Let EnE_nEn​ be the nnn-dimensional Euclidean space with inner product (x,y)(x, y)(x,y) and norm ∥x∥\|x\|∥x∥. Let f:En→Rf : E_n \to \mathbb{R}f:En​→R be a convex function finite everywhere. A vector ggg is a subgradient of fff at x0x_0x0​ if

f(x)−f(x0)≥(g,x−x0)for all x∈En.f(x) - f(x_0) \ge (g, x - x_0) \quad \text{for all } x \in E_n.f(x)−f(x0​)≥(g,x−x0​)for all x∈En​.

Every convex fff has at least one subgradient at every point. Let M∗={x:f(x)≤f(y) ∀y}M^* = \{x : f(x) \le f(y) \ \forall y\}M∗={x:f(x)≤f(y) ∀y} be the set of minimum points and, when it is nonempty, f∗=min⁡ff^* = \min ff∗=minf.

A subgradient selection gfg_fgf​ assigns to each xxx some subgradient gf(x)g_f(x)gf​(x) of fff at xxx. No particular choice is made: every result holds for every selection. Given stepsizes h1,h2,⋯>0h_1, h_2, \dots > 0h1​,h2​,⋯>0 and a starting point x0x_0x0​, the normalized subgradient method is

xk+1=xk−hk+1 gf(xk)∥gf(xk)∥,k=0,1,…(2.4)x_{k+1} = x_k - h_{k+1}\, \frac{g_f(x_k)}{\|g_f(x_k)\|}, \qquad k = 0, 1, \dots \tag{2.4}xk+1​=xk​−hk+1​∥gf​(xk​)∥gf​(xk​)​,k=0,1,…(2.4)

If gf(xk)=0g_f(x_k) = 0gf​(xk​)=0, then xkx_kxk​ is a minimizer and the computation stops. The unnormalized method is xk+1=xk−hk+1gf(xk)x_{k+1} = x_k - h_{k+1} g_f(x_k)xk+1​=xk​−hk+1​gf​(xk​) (2.5), and the method with restarts takes that step when hk+1∥gf(xk)∥≤ch_{k+1}\|g_f(x_k)\| \le chk+1​∥gf​(xk​)∥≤c and returns to x0x_0x0​ otherwise.

Formalization targets

Goal: Theorem 2.2 (p. 25)

If M∗M^*M∗ is nonempty and bounded, hk>0h_k > 0hk​>0, hk→0h_k \to 0hk​→0 and ∑k≥1hk=+∞\sum_{k \ge 1} h_k = +\infty∑k≥1​hk​=+∞, then for every x0x_0x0​ and every subgradient selection, the method (2.4) either reaches M∗M^*M∗ at some index kˉ\bar kkˉ or

lim⁡k→∞min⁡y∈M∗∥xk−y∥=0,lim⁡k→∞f(xk)=f∗.\lim_{k \to \infty} \min_{y \in M^*} \|x_k - y\| = 0, \qquad \lim_{k \to \infty} f(x_k) = f^*.k→∞lim​y∈M∗min​∥xk​−y∥=0,k→∞lim​f(xk​)=f∗.

Milestones

  1. Eq. (2.3), the one-step inequality ∥xk+1−x∗∥2≤∥xk−x∗∥2+h2−2h ρ(x∗,Uk)\|x_{k+1} - x^*\|^2 \le \|x_k - x^*\|^2 + h^2 - 2h\,\rho(x^*, U_k)∥xk+1​−x∗∥2≤∥xk​−x∗∥2+h2−2hρ(x∗,Uk​), where Uk={x:f(x)=f(xk)}U_k = \{x : f(x) = f(x_k)\}Uk​={x:f(x)=f(xk​)}.
  2. Theorem 2.1: with constant step length hhh, some level surface {f=f(xk∗)}\{f = f(x_{k^*})\}{f=f(xk∗​)} passes within h(1+ε)/2h(1+\varepsilon)/2h(1+ε)/2 of any x∗∈M∗x^* \in M^*x∗∈M∗.
  3. Corollaries 1 and 2: a suitable constant step length yields a subsequence with f(xki)−f∗<δf(x_{k_i}) - f^* < \deltaf(xki​​)−f∗<δ. If M∗M^*M∗ contains a ball of radius r>h/2r > h/2r>h/2, the method terminates in M∗M^*M∗.
  4. Theorem 2.5: if M∗M^*M∗ contains a ball of radius rrr, ∑hk=∞\sum h_k = \infty∑hk​=∞ and lim sup⁡hk<2r\limsup h_k < 2rlimsuphk​<2r, then (2.4) terminates in M∗M^*M∗.
  5. Theorem 2.3: for the unnormalized method (2.5), bounded subgradients along the trajectory imply convergence, and unbounded subgradients rule it out.
  6. Theorem 2.4: the method with restarts converges for every c>0c > 0c>0.

Significance

Theorem 2.2 is the basic convergence guarantee for first-order methods on general nonsmooth convex functions. It needs no Lipschitz constant, no bound on the subgradients and no smoothness: normalizing the step makes the step length independent of the size of the subgradient. The divergent-series rule hk→0h_k \to 0hk​→0, ∑hk=∞\sum h_k = \infty∑hk​=∞ is the standard stepsize condition of stochastic approximation and of Lagrangian relaxation codes. Theorems 2.3–2.5 mark its boundaries. The unnormalized method needs bounded subgradients (Theorem 2.3), restarts remove that need (Theorem 2.4), and a solution set with nonempty interior gives finite termination (Theorem 2.5). The last result is the basis of the finite methods for systems of convex inequalities and for the dual of an assignment problem with a unique solution (pp. 28–29).

All of these results are classical and proved in the source. None of them is formalized in Lean's Mathlib. The platform has neighbouring results that are not the same statements: Poljak's divergent-series theorem for concave piecewise-linear maximization (in Validation of Subgradient Optimization I), and rate bounds for Lipschitz objectives (First-Order and Stochastic Optimization Methods for ML II, Understanding Machine Learning X). This mission adds the general convex case with normalized steps, the dichotomy for unnormalized steps, and finite termination.

Difficulty

The standard rate analysis of the subgradient method bounds ∥xk+1−x∗∥2−∥xk−x∗∥2\|x_{k+1} - x^*\|^2 - \|x_k - x^*\|^2∥xk+1​−x∗∥2−∥xk​−x∗∥2 by −2hk+1(f(xk)−f∗)/∥gf(xk)∥+hk+12-2h_{k+1}(f(x_k) - f^*)/\|g_f(x_k)\| + h_{k+1}^2−2hk+1​(f(xk​)−f∗)/∥gf​(xk​)∥+hk+12​. It then needs a uniform bound on ∥gf(xk)∥\|g_f(x_k)\|∥gf​(xk​)∥, which is exactly what is not assumed here. Nothing a priori keeps the iterates in a bounded set, and the subgradients of a general convex function (for instance f(x)=x4f(x) = x^4f(x)=x4, the source's example on p. 26) grow without bound away from M∗M^*M∗; with unnormalized steps this makes the method diverge. Even with normalized steps, the distance to a minimizer decreases only outside a neighbourhood of M∗M^*M∗ whose size is of the order of the current step, so a monotone decrease argument gives at best a subsequence with small function values. Convergence of the whole sequence min⁡y∈M∗∥xk−y∥\min_{y \in M^*}\|x_k - y\|miny∈M∗​∥xk​−y∥ to zero is a stronger statement, and boundedness of M∗M^*M∗ is essential to it.

Formalization scope

  • EnE_nEn​ is EuclideanSpace ℝ (Fin n); fff is real-valued (finite everywhere) with ConvexOn ℝ Set.univ f.
  • The subgradient selection g is arbitrary, with the hypothesis ∀ x, IsSubgradient f x (g x). The starting point is arbitrary.
  • The iterations are defined recursively (normalizedIter, plainIter, resetIter); the stepsize sequence is h : ℕ → ℝ with h (k+1) used at step kkk. In (2.4), a zero subgradient is handled by an explicit branch that repeats the current iterate (which is then in M∗M^*M∗). No statement relies on Lean's convention x/0=0x/0 = 0x/0=0.
  • M∗M^*M∗ is required to be nonempty wherever the book writes min⁡y∈M∗\min_{y \in M^*}miny∈M∗​ or f∗=min⁡ff^* = \min ff∗=minf. min⁡y∈M∗∥xk−y∥\min_{y \in M^*}\|x_k - y\|miny∈M∗​∥xk​−y∥ is Metric.infDist, and f∗f^*f∗ is ⨅ y, f y.
  • ∑k≥1hk=+∞\sum_{k \ge 1} h_k = +\infty∑k≥1​hk​=+∞ is Tendsto (fun N => ∑ k ∈ Finset.range N, h (k+1)) atTop atTop. lim sup⁡hk<2r\limsup h_k < 2rlimsuphk​<2r is "for some q<2rq < 2rq<2r, eventually hk≤qh_k \le qhk​≤q", so it cannot hold vacuously for an unbounded sequence.
  • Corollary 1's step length hδh_\deltahδ​ is quantified before the selection and the starting point: it depends only on fff and δ\deltaδ.
  • Theorem 2.3 is stated as two implications, (bounded subgradients ⇒ convergence) and (unbounded ⇒ no convergence), not as a disjunction that one case could satisfy trivially.
  • A formalization of Theorem 2.2 that assumes bounded subgradients, a Lipschitz fff, or a specific subgradient choice (such as the minimal-norm one) proves a different and weaker theorem, and does not close the goal.

Needed infrastructure: continuity of convex functions on EnE_nEn​ (in Mathlib), compactness of sublevel sets when M∗M^*M∗ is bounded, and the geometry of level surfaces relative to supporting hyperplanes. The one-step inequality (2.3) and the level-set compactness lemma are reusable by the later missions of this series (linear rate, Polyak's stepsize, stochastic subgradient). Contributions that prove Eq. (2.3) or Theorem 2.1 first are welcome.

Selected references

  • N. Z. Shor, Minimization Methods for Non-Differentiable Functions, Springer Series in Computational Mathematics 3, Springer, 1985, Chapter 2, pp. 22–30. https://doi.org/10.1007/978-3-642-82118-9
  • B. T. Polyak, A general method for solving extremal problems, Doklady Akademii Nauk SSSR 174 (1967), 33–36 (the source's reference [64]).
  • Yu. M. Ermoliev, Methods for solving nonlinear extremal problems, Kibernetika (Kiev), no. 4 (1966), 1–17 (the source's reference [24]).
  • M. Held, P. Wolfe, H. P. Crowder, Validation of subgradient optimization, Mathematical Programming 6 (1974), 62–88. https://doi.org/10.1007/BF01580223
9 thms3 active usersReviewed
🏆Completed
AnalysisConvex Optimization·Captain: mikedeng1

Minimization Methods for Non-Differentiable Functions II: Convex Functions Are Almost Differentiable and Their Almost-Gradients Are SubgradientsTextbook

Motivation

Gradient methods assume a continuous gradient; subgradient methods assume convexity. Many objective functions met in practice satisfy neither. Shor's example is economic planning, where components of the objective are piecewise-smooth, not necessarily convex functions of a parameter describing the productivity of a unit, and where minimax formulations produce kinks as a rule (Shor, Minimization Methods for Non-Differentiable Functions, Springer 1985, §1.4, p. 17, DOI 10.1007/978-3-642-82118-9). Such problems need a class of functions wide enough to contain piecewise-smooth and minimax functions and narrow enough to carry a usable replacement for the gradient.

Shor's answer is the class of almost differentiable functions, introduced in his 1972 work and presented in §1.4 of the book, together with the almost-gradient, a limit of gradients taken at nearby points of differentiability. The capstone of the section, Theorem 1.15, connects this class with convex analysis: every convex function on EnE_nEn​ is almost differentiable, and its almost-gradients are subgradients. This is what lets the later chapters treat convex minimization and almost-differentiable minimization with one set of tools. Clarke's generalized gradient of locally Lipschitz functions (Clarke 1975) is the closest relative; Shor's definition differs in requiring the gradient to be continuous on its domain (p. 19).

Setting

Let EnE_nEn​ denote nnn-dimensional Euclidean space with inner product (x,y)(x, y)(x,y) and norm ∥x∥\|x\|∥x∥. For f:En→Rf : E_n \to \mathbb{R}f:En​→R, write M={x∈En:f is differentiable at x}M = \{x \in E_n : f \text{ is differentiable at } x\}M={x∈En​:f is differentiable at x} and ∇f(x)\nabla f(x)∇f(x) for the gradient at x∈Mx \in Mx∈M.

A function fff is almost differentiable if

  1. on every bounded set SSS it is Lipschitz: ∣f(x)−f(y)∣≤LS∥x−y∥|f(x) - f(y)| \le L_S \|x - y\|∣f(x)−f(y)∣≤LS​∥x−y∥ for x,y∈Sx, y \in Sx,y∈S, with a constant LSL_SLS​ depending on SSS;
  2. it is differentiable at Lebesgue-almost every point of EnE_nEn​;
  3. the map x↦∇f(x)x \mapsto \nabla f(x)x↦∇f(x), restricted to MMM, is continuous.

An almost-gradient of fff at x0x_0x0​ is a vector ggg that is an accumulation point of a sequence ∇f(x1),∇f(x2),…\nabla f(x_1), \nabla f(x_2), \dots∇f(x1​),∇f(x2​),… with xk∈Mx_k \in Mxk​∈M and xk→x0x_k \to x_0xk​→x0​. The set of almost-gradients is G(x0)G(x_0)G(x0​). A generalized almost-gradient is a point of the closure of the convex hull of G(x0)G(x_0)G(x0​).

A vector ggg is a subgradient of fff at x0x_0x0​ if 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∈Enx \in E_nx∈En​; for convex fff the set of subgradients is the subdifferential Gf(x0)G_f(x_0)Gf​(x0​).

In Lean these objects are AlmostDifferentiable f, almostGradients f x₀ and IsSubgradient f x₀ g in the namespace ShorNonsmooth.AlmostDiff, with EnE_nEn​ = EuclideanSpace ℝ (Fin n).

Formalization targets

Goal: Theorem 1.15 (p. 18)

For convex f:En→Rf : E_n \to \mathbb{R}f:En​→R,

f is almost differentiableandG(x0)⊆Gf(x0)  for every x0∈En.f \text{ is almost differentiable} \quad\text{and}\quad G(x_0) \subseteq G_f(x_0) \ \text{ for every } x_0 \in E_n .f is almost differentiableandG(x0​)⊆Gf​(x0​)  for every x0​∈En​.

The printed statement says the almost-gradients "coincide with" the subgradients. As a set equality this is false (for f(x)=∣x∣f(x) = |x|f(x)=∣x∣ on E1E_1E1​, G(0)={−1,1}G(0) = \{-1, 1\}G(0)={−1,1} while Gf(0)=[−1,1]G_f(0) = [-1, 1]Gf​(0)=[−1,1]), and the book's proof establishes the inclusion. The goal is the inclusion.

Milestones

  1. Proof of Theorem 1.15, display (p. 18). For convex fff differentiable at xkx_kxk​: f(x)−f(xk)≥(∇f(xk),x−xk)f(x) - f(x_k) \ge (\nabla f(x_k), x - x_k)f(x)−f(xk​)≥(∇f(xk​),x−xk​) for all xxx.
  2. Proof of Theorem 1.15 (p. 18). For convex fff and bounded SSS there is CCC with ∣fv′(x)∣≤C∥v∥|f'_v(x)| \le C\|v\|∣fv′​(x)∣≤C∥v∥ for all x∈Sx \in Sx∈S and all vvv, the one-sided directional derivatives existing.
  3. Proof of Theorem 1.15 (p. 18). A convex fff is differentiable almost everywhere and ∇f\nabla f∇f is continuous on MMM.
  4. Theorem 1.14 (p. 18). For almost differentiable fff, G(x)G(x)G(x) is nonempty, bounded and closed at every xxx.
  5. p. 19. For almost differentiable fff, conv⁡‾ G(x)\overline{\operatorname{conv}}\, G(x)convG(x) is convex, bounded and closed.

Significance

The result. Theorem 1.15 embeds convex functions into the almost differentiable class and identifies each almost-gradient of a convex function as a subgradient. Consequently any method that only needs almost-gradients (limits of gradients at nearby differentiable points, which is what a numerical procedure can actually compute) produces valid subgradients when applied to a convex function. Theorem 1.14 supplies the compactness that makes G(x)G(x)G(x) usable as a set-valued substitute for the gradient.

Formalizing it. All results here are classical and proved on paper. Mathlib contains Rademacher's theorem for Lipschitz functions (LipschitzWith.ae_differentiableAt) and local Lipschitz continuity of convex functions on open sets; it does not contain the continuity of the gradient of a convex function on its domain of differentiability, nor any notion of almost-gradient. The mission produces those, together with a formal record that the printed "coincide" is an inclusion. A formal proof of the true equality Gf(x0)=conv⁡‾ G(x0)G_f(x_0) = \overline{\operatorname{conv}}\, G(x_0)Gf​(x0​)=convG(x0​) would be a welcome further contribution.

Difficulty

Two parts of the goal carry real content. The first is condition (c): the gradient of a convex function, restricted to the set where it exists, is continuous. The book cites this from the literature; it is not a consequence of Rademacher's theorem, which gives differentiability almost everywhere and says nothing about how gradients at nearby points relate. The second is condition (b) in a form Lean accepts: Rademacher's theorem in Mathlib is stated for globally Lipschitz functions, while a convex function on EnE_nEn​ is only Lipschitz on bounded sets, so the almost-everywhere statement has to be assembled from local pieces. The passage from gradients to subgradients in the second conjunct is comparatively routine.

The analogous closure properties claimed on the same pages for sums, products and maxima of almost differentiable functions (Theorems 1.16 and 1.17) are false as printed and are not targets; see the formalization scope.

Formalization scope

  • EnE_nEn​ is EuclideanSpace ℝ (Fin n); n=0n = 0n=0 is allowed and harmless. Functions are total and real-valued; convexity is ConvexOn ℝ Set.univ f.
  • The gradient is Mathlib's gradient f x; condition (c) is ContinuousOn (gradient f) {x | DifferentiableAt ℝ f x}, continuity of the restriction in the subspace topology.
  • Condition (a) is quantified over every bounded set with a set-dependent constant: ∀ S, Bornology.IsBounded S → ∃ L, LipschitzOnWith L f S. Condition (b) is ∀ᵐ x ∂volume, DifferentiableAt ℝ f x.
  • An almost-gradient is a cluster point (MapClusterPt) of the gradient sequence, not its limit; the points xkx_kxk​ may equal x0x_0x0​.
  • Subgradients are taken relative to the whole space, the domain of every function in this mission.
  • The goal states the inclusion G(x0)⊆Gf(x0)G(x_0) \subseteq G_f(x_0)G(x0​)⊆Gf​(x0​) proved in the book. Stating the printed set equality would make the goal false; weakening the first conjunct to "locally Lipschitz and differentiable almost everywhere" would drop condition (c) and with it the substance of the theorem. Neither is acceptable.
  • Theorem 1.16 (sums, differences, products) and Theorem 1.17 (maxima) are omitted: both are false for the class as defined. With h(x)=x2sin⁡(1/x)h(x) = x^2 \sin(1/x)h(x)=x2sin(1/x), the functions h+∣x∣h + |x|h+∣x∣ and −∣x∣-|x|−∣x∣ are almost differentiable but their sum hhh is differentiable everywhere with a derivative discontinuous at 000; and max⁡(h−∣x∣, h−∣x∣+2x)=h+x\max(h - |x|,\, h - |x| + 2x) = h + xmax(h−∣x∣,h−∣x∣+2x)=h+x. Theorem 1.18 (Mifflin's superposition theorem for semismooth functions) is cited from the literature without proof and rests on Clarke's generalized gradient; it is outside this mission.

Infrastructure that is reusable beyond this mission: continuity of the gradient of a convex function on its domain; Rademacher's theorem for locally Lipschitz functions on EnE_nEn​; the almost-gradient set and its compactness. Contributions that prove these as standalone lemmas are welcome.

Selected references

  • N. Z. Shor, Minimization Methods for Non-Differentiable Functions, Springer Series in Computational Mathematics 3, Springer, 1985. https://doi.org/10.1007/978-3-642-82118-9
  • R. T. Rockafellar, Convex Analysis, Princeton University Press, 1970, Theorem 25.5 (continuity of the gradient of a convex function). https://doi.org/10.1515/9781400873173
  • F. H. Clarke, Generalized gradients and applications, Transactions of the American Mathematical Society 205 (1975), 247–262. https://doi.org/10.1090/S0002-9947-1975-0367131-6
  • H. Rademacher, Über partielle und totale Differenzierbarkeit von Funktionen mehrerer Variabeln und über die Transformation der Doppelintegrale, Mathematische Annalen 79 (1919), 340–359. https://doi.org/10.1007/BF01498415
9 thms3 active usersReviewed
🏆Completed
Convex OptimizationOperations Research·Captain: mikedeng1

Analysis and Algorithms for Service Parts Supply Chains V: Marginal Allocation and Risk PoolingTextbook

Motivation

Service parts networks (spare parts for aircraft, military systems, industrial equipment) hold stock at several echelons: a depot, intermediate stocking facilities, and bases or warehouses that face demand. Two questions recur in their planning. First, how should a given amount of stock be split among locations whose expected costs are convex in the stock they hold? Second, does adding an echelon, a depot that pools the demand of several warehouses, raise or lower the stock the system needs?

Chapter 7 of Muckstadt, Analysis and Algorithms for Service Parts Supply Chains (Springer 2005, DOI 10.1007/b138879), treats both. For the second it follows Eppen and Schrage (1981, reference [78] of the book): with normal demands, a depot that places orders every period and allocates stock so that all warehouses face the same stockout probability reduces the choice of system stock to a single critical-fractile equation. For the first, the chapter's multi-echelon pooling model (Section 7.3) evaluates nested cost functions of the form "holding and shortage cost plus the minimum over allocations of a sum of convex costs", and its appendix (Section 7.4) gives the marginal allocation algorithm AllocOpt that computes these minima exactly for every stock level at once.

Marginal analysis for separable convex resource allocation is classical (Fox, Management Science, 1966); the monograph of Ibaraki and Katoh (MIT Press, 1988) surveys it.

Setting

Allocation data (Section 7.4). There is a set M={1,…,Mˉ}M = \{1, \dots, \bar M\}M={1,…,Mˉ} of locations and an augmented set M0={0}∪MM_0 = \{0\} \cup MM0​={0}∪M. Each location m∈M0m \in M_0m∈M0​ has integer gridpoints 0=r0m<r1m<⋯<rn(m)m0 = r^m_0 < r^m_1 < \dots < r^m_{n(m)}0=r0m​<r1m​<⋯<rn(m)m​. For m∈Mm \in Mm∈M, the value cnmc^m_ncnm​ of a convex function is given at each gridpoint. The slopes (7.19) are c^nm=(cn+1m−cnm)/(rn+1m−rnm)\hat c^m_n = (c^m_{n+1} - c^m_n)/(r^m_{n+1} - r^m_n)c^nm​=(cn+1m​−cnm​)/(rn+1m​−rnm​) for n<n(m)n < n(m)n<n(m), and c^n(m)m\hat c^m_{n(m)}c^n(m)m​ repeats the last one. The piecewise linear approximation C~m\tilde C_mC~m​ of (7.20)–(7.21) interpolates the values cnmc^m_ncnm​ at the gridpoints and continues with slope c^n(m)m\hat c^m_{n(m)}c^n(m)m​ beyond the last one. A convex function fff on R+\mathbb R_+R+​ is also given.

The allocation optimization (7.22) asks, for each n∈N0={0,…,n(0)}n \in N_0 = \{0, \dots, n(0)\}n∈N0​={0,…,n(0)}, for

cn0=f(rn0)+min⁡{∑m∈MC~m(rm):rm≥0 integer, ∑m∈Mrm=rn0}.c^0_n = f(r^0_n) + \min\Bigl\{ \sum_{m \in M} \tilde C_m(r_m) : r_m \ge 0 \text{ integer},\ \sum_{m \in M} r_m = r^0_n \Bigr\}.cn0​=f(rn0​)+min{m∈M∑​C~m​(rm​):rm​≥0 integer, m∈M∑​rm​=rn0​}.

Algorithm AllocOpt (Definition 4) keeps a current gridpoint index n∗(m)n^*(m)n∗(m) and allocation r∗(m)r^*(m)r∗(m) per location. For each increment rn0−rn−10r^0_n - r^0_{n-1}rn0​−rn−10​ of the target, it repeatedly gives units to a location m∗m^*m∗ whose current slope c^n∗(m∗)m∗\hat c^{m^*}_{n^*(m^*)}c^n∗(m∗)m∗​ is minimal, up to that location's next gridpoint, and records the accumulated cost.

Pooling system (Section 7.2.1). One depot supplies mmm warehouses. The demand djtd_{jt}djt​ at warehouse jjj in period ttt is normal with mean μj\mu_jμj​ and variance σj2\sigma_j^2σj2​, independent across periods and warehouses. The supplier-to-depot lead time is DDD periods, the depot-to-warehouse lead time AAA periods, and holding and backorder costs h,bh, bh,b are equal at all warehouses. Positions IjI_jIj​ are in balance when Φ((Ij−Aμj)/(A σj))\Phi((I_j - A\mu_j)/(\sqrt A\,\sigma_j))Φ((Ij​−Aμj​)/(A​σj​)) is the same for all jjj. For system inventory position sss, with Y0Y_0Y0​ the system demand over DDD periods and YjY_jYj​ the demand at jjj over the next A+1A + 1A+1 periods, the balanced allocation gives each warehouse a share proportional to σj\sigma_jσj​, and zjz_jzj​ is its end-of-period net inventory.

Formalization targets

Goal: Proposition 2 (correctness)

For every tie-breaking rule in its arg min steps, AllocOpt returns values cn0c^0_ncn0​ that satisfy (7.22) for every n∈N0n \in N_0n∈N0​: some feasible integer allocation attains cn0−f(rn0)c^0_n - f(r^0_n)cn0​−f(rn0​), and no feasible integer allocation does better.

Milestones

  1. Slope monotonicity (p. 178): c^nm≥c^n−1m\hat c^m_n \ge \hat c^m_{n-1}c^nm​≥c^n−1m​ for 0<n≤n(m)0 < n \le n(m)0<n≤n(m).
  2. Convexity of C~m\tilde C_mC~m​ on [0,∞)[0, \infty)[0,∞) (proof of Proposition 2, p. 179).
  3. Remark 2 (p. 179): with the inner loop run only while the current slope is ≤0\le 0≤0, AllocOpt solves (7.22) with ∑mrm≤rn0\sum_m r_m \le r^0_n∑m​rm​≤rn0​.
  4. Lemma 3 (p. 152): if the positions are in balance and
∑jdj,t−1≥max⁡i{∑j≠idj,t+D−1+di,t+D−1(1−∑jσjσi)},\sum_{j} d_{j,t-1} \ge \max_{i} \Bigl\{ \sum_{j \ne i} d_{j,t+D-1} + d_{i,t+D-1}\Bigl(1 - \frac{\sum_j \sigma_j}{\sigma_i}\Bigr)\Bigr\},j∑​dj,t−1​≥imax​{j=i∑​dj,t+D−1​+di,t+D−1​(1−σi​∑j​σj​​)},

then a nonnegative allocation of the arriving ∑jdj,t−1\sum_j d_{j,t-1}∑j​dj,t−1​ units restores balance. 5. Net inventory law (pp. 156–157): zjz_jzj​ is normal with mean (s−(D+A+1)∑iμi) σj/∑iσi(s - (D + A + 1)\sum_i \mu_i)\,\sigma_j / \sum_i \sigma_i(s−(D+A+1)∑i​μi​)σj​/∑i​σi​ and variance (A+1)σj2+(σj/∑iσi)2D∑iσi2(A + 1)\sigma_j^2 + (\sigma_j / \sum_i \sigma_i)^2 D \sum_i \sigma_i^2(A+1)σj2​+(σj​/∑i​σi​)2D∑i​σi2​. 6. Critical fractile (pp. 157–158): sss minimizes ∑jE[h(zj)++b(zj)−]\sum_j E[h (z_j)^+ + b (z_j)^-]∑j​E[h(zj​)++b(zj​)−] if and only if Φ(z)=b/(b+h)\Phi(z) = b/(b+h)Φ(z)=b/(b+h), where

z=s−(D+A+1)∑iμi[(A+1)(∑iσi)2+D∑iσi2]1/2.z = \frac{s - (D + A + 1)\sum_i \mu_i}{\bigl[(A + 1)(\sum_i \sigma_i)^2 + D \sum_i \sigma_i^2\bigr]^{1/2}}.z=[(A+1)(∑i​σi​)2+D∑i​σi2​]1/2s−(D+A+1)∑i​μi​​.

Significance

The goal certifies an algorithm that the chapter uses as a subroutine three times: in the pool cost (7.14), the subsystem cost (7.15) and the system cost (7.17), and hence in the claim of Section 7.3 that the system-wide cost function can be computed in time nlog⁡nn \log nnlogn in the number of locations. Because AllocOpt produces the whole vector (cn0)n∈N0(c^0_n)_{n \in N_0}(cn0​)n∈N0​​ in one pass, its correctness gives the nested value functions at every gridpoint of the next echelon, which is what allows the recursion up the echelons. The Eppen–Schrage milestones give the classical quantitative form of risk pooling: the system stock is set by one critical fractile, and the standard deviation term (A+1)(∑iσi)2+D∑iσi2(A + 1)(\sum_i \sigma_i)^2 + D \sum_i \sigma_i^2(A+1)(∑i​σi​)2+D∑i​σi2​ is what the book compares with the single-warehouse and the decentralized systems.

On formalization: the book states Proposition 2 with a two-sentence argument and Remark 2 without proof. The Eppen–Schrage computations are displayed derivations. None of these results has a machine-checked proof on the platform. A verified AllocOpt, stated for an explicit algorithm rather than for an abstract greedy procedure, is reusable for any separable convex integer allocation with a sum constraint.

Difficulty

The usual greedy exchange argument assumes that units are allocated one at a time. AllocOpt allocates in blocks, up to the next gridpoint of the chosen location, and it carries its state across successive targets rn−10→rn0r^0_{n-1} \to r^0_nrn−10​→rn0​ without restarting. The proof must therefore show that the state after each outer step is itself an optimal allocation for the current target, and that block moves never step past a breakpoint where the arg min would change. The slopes can be negative, and the equality constraint forces allocation even when every marginal cost is positive. Remark 2 needs an additional argument: under the inequality constraint the loop may stop before uuu reaches zero, and that point is optimal only because the slopes are nondecreasing.

For the pooling results, the balanced allocation mixes the depot-lead-time demand Y0Y_0Y0​ of all warehouses with the local demand YjY_jYj​, and the Gaussian law of zjz_jzj​ rests on the independence of disjoint blocks of periods. The fractile statement requires strict monotonicity of each warehouse's expected cost derivative in sss, not only a first-order condition.

Formalization scope

  • Indices and types. Locations of MMM are Fin Mbar; gridpoints are integers, values and slopes real numbers; allocations are functions Fin Mbar → ℕ. The standing assumptions of Section 7.4 form the predicate WellFormed: Mˉ≥1\bar M \ge 1Mˉ≥1, n(m)≥1n(m) \ge 1n(m)≥1 for m∈Mm \in Mm∈M (a slope (7.19) needs two gridpoints), gridpoints starting at 000 and strictly increasing at every location of M0M_0M0​, each cnmc^m_ncnm​ the value of a function convex on [0,∞)[0, \infty)[0,∞), and fff convex on [0,∞)[0, \infty)[0,∞).
  • The minimum in (7.22) is stated as attainment plus a lower bound over the finite, nonempty set of feasible integer allocations, never as an unconstrained infimum.
  • Ties. The book's arg min fixes no tie-breaking rule. Results are stated for every selection rule that returns a minimizing location.
  • Termination. AllocOpt is a total Lean function. The inner loop is given more passes than it can use, so it always exits through its own condition.
  • Not stated. The operation count of Proposition 2, O((1+log⁡2Mˉ)∑m∈M0n(m))O((1 + \log_2 \bar M)\sum_{m \in M_0} n(m))O((1+log2​Mˉ)∑m∈M0​​n(m)), and Proposition 1 and Remark 1 (p. 177) are operation counts with no machine model and are left out.
  • Corrections. The first expected-cost display on p. 157 has + b∫−∞0z dFzj(z)+\,b\int_{-\infty}^0 z\,dF_{z_j}(z)+b∫−∞0​zdFzj​​(z), which is negative. The formalization uses b E[(zj)−]b\,E[(z_j)^-]bE[(zj​)−], as in the book's next display.
  • Pinnings. Lemma 3 is deterministic: the demands are arbitrary reals, and "in balance following the allocation" means that some xj≥0x_j \ge 0xj​≥0 with ∑jxj=∑jdj,t−1\sum_j x_j = \sum_j d_{j,t-1}∑j​xj​=∑j​dj,t−1​ exists. The critical-fractile milestone is the characterization "minimizer if and only if Φ(z)=b/(b+h)\Phi(z) = b/(b+h)Φ(z)=b/(b+h)" of the book's "can be found by setting".
  • Trivialization ruled out. The allocation problem (7.22) is defined independently of the algorithm, as a minimum over explicit integer allocations, and the C~m\tilde C_mC~m​ are built from the data by (7.19)–(7.21). Neither (7.22) nor the C~m\tilde C_mC~m​ are defined as, or required to agree with, what AllocOpt returns.
  • Welcome contributions. Lemmas on the invariants of AllocOpt, in particular that after each outer step the allocation r∗r^*r∗ is feasible for rn0r^0_nrn0​ with cost zzz and all slopes to the left of n∗(m)n^*(m)n∗(m) are at most those to the right. Also Gaussian sum lemmas over finite index sets and a general newsvendor first-order characterization.

Selected references

  • J. A. Muckstadt, Analysis and Algorithms for Service Parts Supply Chains, Springer Series in Operations Research and Financial Engineering, Springer, 2005. DOI 10.1007/b138879
  • G. D. Eppen and L. Schrage, "Centralized ordering policies in a multi-warehouse system with lead times and random demand", in L. B. Schwarz (ed.), Multi-Level Production/Inventory Control Systems: Theory and Practice, Studies in the Management Sciences, North-Holland, Amsterdam, 1981, pp. 51–67.
  • G. D. Eppen, "Effects of centralization on expected costs in a multi-location newsboy problem", Management Science 25(5), 1979, 498–501. DOI 10.1287/mnsc.25.5.498
  • B. Fox, "Discrete optimization via marginal analysis", Management Science 13(3), 1966, 210–216. DOI 10.1287/mnsc.13.3.210
  • T. Ibaraki and N. Katoh, Resource Allocation Problems: Algorithmic Approaches, MIT Press, 1988.
10 thms3 active usersReviewed
🏆Completed
CombinatoricsOperations ResearchProbability·Captain: mikedeng1

Numerical Techniques for Stochastic Optimization V: Asymptotic Optimality of List Scheduling for the Machine Investment ProblemTextbook

Motivation

Two-stage stochastic integer programs combine the two hardest features of mathematical programming: uncertainty in the data and integrality of the decisions. Even evaluating the objective of such a program at a single first-stage decision requires the expected optimal value of an NP-hard combinatorial problem. Chapter 8 of Ermoliev and Wets (eds.), Numerical Techniques for Stochastic Optimization (Springer 1988), by A. H. G. Rinnooy Kan and L. Stougie, argues that for many such problems the way forward is probabilistic analysis: the random optimal value of the second-stage problem often converges, after normalization, to a simple function of the problem parameters, and that function can replace the intractable expectation.

The chapter illustrates this on the machine investment problem: first buy mmm identical machines at cost ccc each, knowing only the distribution of the processing times of nnn jobs, then schedule the jobs once their processing times are revealed so as to minimize the makespan. This mission formalizes the chapter's analysis of that example: the almost sure asymptotics of the optimal makespan (8.13), its expectation version, and the asymptotic clairvoyance of the resulting two-stage heuristic.

Setting

Let p1,p2,…p_1, p_2, \dotsp1​,p2​,… be processing times: independent, identically distributed, nonnegative random variables on a probability space (Ω,F,P)(\Omega, \mathcal F, P)(Ω,F,P) with mean μ=Ep1>0\mu = \mathbb E p_1 > 0μ=Ep1​>0 and finite second moment Ep12<∞\mathbb E p_1^2 < \inftyEp12​<∞. The instance with nnn jobs uses the first nnn of them.

An assignment of the nnn jobs to m≥1m \ge 1m≥1 identical machines is a map σ:{1,…,n}→{1,…,m}\sigma : \{1, \dots, n\} \to \{1, \dots, m\}σ:{1,…,n}→{1,…,m}. The load of machine iii is ∑j:σ(j)=ipj\sum_{j : \sigma(j) = i} p_j∑j:σ(j)=i​pj​ and the makespan of σ\sigmaσ is its largest load. The minimum makespan is

Cn∗(m)=min⁡σmax⁡i=1,…,m∑j: σ(j)=ipj,C^*_n(m) = \min_{\sigma} \max_{i=1,\dots,m} \sum_{j:\ \sigma(j) = i} p_j ,Cn∗​(m)=σmin​i=1,…,mmax​j: σ(j)=i∑​pj​,

and the machine investment problem is to minimize Zn(m)=cm+E Cn∗(m)Z_n(m) = cm + \mathbb E\, C^*_n(m)Zn​(m)=cm+ECn∗​(m) over integers mmm (8.9).

List scheduling takes the jobs in the order 1,…,n1, \dots, n1,…,n and assigns each to the first available machine, a machine of least current load (lowest index on ties). Its makespan is CnH(m)C^H_n(m)CnH​(m). Write Sn=∑j=1npjS_n = \sum_{j=1}^n p_jSn​=∑j=1n​pj​ and pmax⁡=max⁡j≤npjp_{\max} = \max_{j \le n} p_jpmax​=maxj≤n​pj​.

For §8.3, the estimate Zn′(m)=cm+nμ/mZ'_n(m) = cm + n\mu/mZn′​(m)=cm+nμ/m is minimized over integers by the heuristic first-stage decision mnH1m^{H1}_nmnH1​, the better of ⌊nμ/c⌋\lfloor\sqrt{n\mu/c}\rfloor⌊nμ/c​⌋ and ⌈nμ/c⌉\lceil\sqrt{n\mu/c}\rceil⌈nμ/c​⌉. A clairvoyant decision maker who sees the processing times first chooses mn∘(ω)≥1m^\circ_n(\omega) \ge 1mn∘​(ω)≥1 minimizing cm+Cn∗(m)cm + C^*_n(m)cm+Cn∗​(m).

Formalization targets

Goal: Eq. (8.13)

For machine counts m=m(n)≥1m = m(n) \ge 1m=m(n)≥1 with m(n)=O(n)m(n) = O(\sqrt n)m(n)=O(n​),

P{lim⁡n→∞Cn∗(m)nμ/m=1}=1.P\Bigl\{ \lim_{n\to\infty} \frac{C^*_n(m)}{n\mu/m} = 1 \Bigr\} = 1 .P{n→∞lim​nμ/mCn∗​(m)​=1}=1.

The machine count is allowed to grow with nnn; this is the regime the first-stage heuristic lives in, since mnH1m^{H1}_nmnH1​ is of exact order n\sqrt nn​.

Milestones

  1. Eq. (8.10): the deterministic sandwich Sn/m≤Cn∗(m)≤CnH(m)≤Sn/m+pmax⁡S_n/m \le C^*_n(m) \le C^H_n(m) \le S_n/m + p_{\max}Sn​/m≤Cn∗​(m)≤CnH​(m)≤Sn​/m+pmax​, divided by nμ/mn\mu/mnμ/m.
  2. Eq. (8.11): the strong law of large numbers, (Sn−nμ)/(nμ)→0(S_n - n\mu)/(n\mu) \to 0(Sn​−nμ)/(nμ)→0 almost surely (a published platform theorem).
  3. Lemma 8.1 (i): pmax⁡/n→0p_{\max}/\sqrt n \to 0pmax​/n​→0 almost surely.
  4. Eq. (8.12): m pmax⁡/(nμ)→0m\, p_{\max}/(n\mu) \to 0mpmax​/(nμ)→0 almost surely when m=O(n)m = O(\sqrt n)m=O(n​).
  5. Lemma 8.1 (ii): E pmax⁡/n→0\mathbb E\, p_{\max}/\sqrt n \to 0Epmax​/n​→0.
  6. p. 207: E Cn∗(m)/(nμ/m)→1\mathbb E\, C^*_n(m)/(n\mu/m) \to 1ECn∗​(m)/(nμ/m)→1 when m=O(n)m = O(\sqrt n)m=O(n​).
  7. p. 211, asymptotic clairvoyance: almost surely
lim⁡n→∞c mnH1+CnH2(mnH1)c mn∘+Cn∗(mn∘)=1,\lim_{n\to\infty} \frac{c\, m^{H1}_n + C^{H2}_n(m^{H1}_n)}{c\, m^\circ_n + C^*_n(m^\circ_n)} = 1 ,n→∞lim​cmn∘​+Cn∗​(mn∘​)cmnH1​+CnH2​(mnH1​)​=1,

where CnH2C^{H2}_nCnH2​ is the list-scheduling makespan.

Significance

Result (8.13) says that the optimal value of an NP-hard problem, rescaled, is almost surely asymptotic to the elementary function nμ/mn\mu/mnμ/m of the data and the first-stage decision. Its expectation version replaces the intractable term E Cn∗(m)\mathbb E\,C^*_n(m)ECn∗​(m) in (8.9) by nμ/mn\mu/mnμ/m, and the clairvoyance statement shows that the heuristic built on that replacement loses asymptotically nothing, not even against a decision maker with full information. The chapter presents the example as the template for vehicle routing and location problems preceded by an investment decision.

All results here are classical and proved in the literature cited by the chapter (Lemma 8.1 is quoted from Feller without proof; the chapter refers to Dempster et al. for the asymptotic optimality of the two-stage heuristic and to Lenstra et al. for the notion of asymptotic clairvoyance). None of them has, to our knowledge, a machine-checked proof. The mission produces a formal model of identical-machine makespan scheduling and of list scheduling, the extreme-value estimates of Lemma 8.1 for square-integrable i.i.d. sequences, and the full chain from the strong law to (8.13).

Difficulty

The deterministic part is elementary on paper, but list scheduling is a recursively defined procedure, and its makespan bound has to be established for that recursion rather than for a picture like the chapter's Figure 8.3. The probabilistic core is Lemma 8.1: the strong law controls Sn/nS_n/nSn​/n, but the error term m pmax⁡/(nμ)m\, p_{\max}/(n\mu)mpmax​/(nμ) is of order pmax⁡/np_{\max}/\sqrt npmax​/n​ once mmm grows like n\sqrt nn​, and the strong law says nothing about maxima. With a fixed number of machines the whole statement would reduce to the strong law; the growth m(n)=O(n)m(n) = O(\sqrt n)m(n)=O(n​) is exactly where the second moment is needed. For the clairvoyance statement, the clairvoyant choice mn∘m^\circ_nmn∘​ is a random, unstructured minimizer, so its value must be bounded below without knowing where the minimum is attained.

Formalization scope

Processing times are one sequence p : ℕ → Ω → ℝ, 0-based (the book's pjp_jpj​ is p (j-1)), with each p j measurable, the family mutually independent (iIndepFun), identically distributed with p 0, pointwise nonnegative, p 0 ^ 2 integrable and ∫ p 0 = μ with μ > 0. Nonnegativity and μ>0\mu > 0μ>0 are not printed in the book; they are implicit in "processing times" and in the division by nμn\munμ. Machines are Fin m; a schedule is an assignment Fin n → Fin m, which is faithful because jobs are non-preemptive, machines identical and there are no precedence constraints.

The book writes "m=0(n)m = 0(\sqrt n)m=0(n​)"; this is read as mmm a function of nnn with m(n)≥1m(n) \ge 1m(n)≥1 and (fun n => (m n : ℝ)) =O[atTop] (fun n => √n). Stating (8.13) for a fixed mmm would trivialize it into the strong law and is ruled out. "Pr⁡{lim⁡⋯=1}=1\Pr\{\lim \dots = 1\} = 1Pr{lim⋯=1}=1" means that almost surely the limit exists and equals 111. Expectations are Bochner integrals of functions that are measurable and bounded by SnS_nSn​, hence integrable. List scheduling uses the index order and breaks ties towards the lowest machine index; both are admissible instances of the book's "arbitrary fixed order" and "first available machine". In the clairvoyance statement the minimum is over m≥1m \ge 1m≥1 (the book writes m∈Nm \in \mathbb Nm∈N; no machine cannot process any job, and the Lean value Cn∗(0)C^*_n(0)Cn∗​(0) is an empty-infimum convention). No explicit constants replace an O(·): the statements are limits and the O-hypothesis is carried as stated.

Out of scope: (8.14) and the p. 210 expectation statement, which need a positive density at 000 and whose proof the book calls "far from easy", and the dynamic programming recursion of §8.3.

Needed infrastructure: finite maxima and minima of measurable functions, extreme-value estimates for square-integrable i.i.d. sequences (Lemma 8.1), and Mathlib's strong law. The makespan and list-scheduling definitions are reusable for other identical-machine scheduling results; alternative proofs of Lemma 8.1 and sharper forms of the clairvoyance statement are welcome.

Selected references

  • A. H. G. Rinnooy Kan, L. Stougie, "Stochastic Integer Programming", in Yu. Ermoliev, R. J-B Wets (eds.), Numerical Techniques for Stochastic Optimization, Springer Series in Computational Mathematics 10, Springer 1988, Ch. 8, pp. 201–213. https://doi.org/10.1007/978-3-642-61370-8
  • W. Feller, An Introduction to Probability Theory and Its Applications, Vol. 1, 3rd edition, Wiley, 1968 (cited by the chapter for Lemma 8.1).
  • M. A. H. Dempster, M. L. Fisher, L. Jansen, B. J. Lageweg, J. K. Lenstra, A. H. G. Rinnooy Kan, "Analysis of heuristics for stochastic programming: results for hierarchical scheduling problems", Mathematics of Operations Research 8 (1983) 525–537. https://doi.org/10.1287/moor.8.4.525
  • J. K. Lenstra, A. H. G. Rinnooy Kan, L. Stougie, "A framework for the design and analysis of hierarchical planning systems", Annals of Operations Research 1 (1984) 23–42. https://doi.org/10.1007/BF01874451
  • R. L. Graham, "Bounds on multiprocessing timing anomalies", SIAM Journal on Applied Mathematics 17 (1969) 416–429. https://doi.org/10.1137/0117039
11 thms3 active usersReviewed
🏆Completed
Convex OptimizationOperations ResearchProbability·Captain: mikedeng1

Numerical Techniques for Stochastic Optimization III: Stochastic Quasi-Féjer Sequences and the Stochastic Quasigradient Projection MethodTextbook

Motivation

Many optimization problems in operations research have an objective that is an expectation, F0(x)=Ef0(x,ω)F^0(x)=E f^0(x,\omega)F0(x)=Ef0(x,ω), over a random parameter ω\omegaω whose distribution is known only through samples or is too complex to integrate. Two-stage stochastic programs, inventory and reliability models, and simulation-based design all have this form. Neither F0F^0F0 nor its subgradients can be evaluated exactly, but a random vector whose conditional mean is close to a subgradient is often cheap to compute: a sample subgradient of f0(⋅,ω)f^0(\cdot,\omega)f0(⋅,ω), or a finite-difference quotient of two sampled values.

Stochastic quasigradient (SQG) methods, developed by Ermoliev and co-workers in Kiev from the late 1960s, use such vectors in place of subgradients. They extend the stochastic approximation procedures of Robbins–Monro (1951) and Kiefer–Wolfowitz (1952) to nonsmooth convex objectives, general convex constraints, and directions whose conditional mean is biased by a vanishing amount. This mission formalizes the basic convergence theory of the simplest SQG method, the projection method, as presented by Yu. Ermoliev in Chapter 6 of the IIASA volume Numerical Techniques for Stochastic Optimization (Springer 1988).

Timeline (as cited in the chapter's bibliography).

  • 1951–1954: Robbins and Monro, Kiefer and Wolfowitz, Dvoretzky and Blum prove convergence of stochastic approximation for unconstrained smooth problems.
  • 1962–1967: Shor introduces the generalized gradient (subgradient) method; Ermoliev (Kibernetika 4, 1966) and Polyak (Soviet Math. Doklady 8, 1967) prove its convergence.
  • 1967–1969: Ermoliev and Nekrylova introduce stochastic subgradients; Ermoliev ("On the stochastic quasi-gradient method and stochastic quasi-Feyer sequences", Kibernetika 2, 1969) introduces stochastic quasi-Féjer sequences.
  • 1976: Ermoliev's monograph Stochastic Programming Methods (Nauka) contains the proof of Theorem 6.1 (p. 98).
  • 1988: the survey chapter formalized here presents the projection method, Theorems 6.1 and 6.2, and an efficiency estimate for the averaged iterate.

Setting

Let X⊆RnX\subseteq\mathbb R^nX⊆Rn be a nonempty convex compact set and F0:Rn→RF^0:\mathbb R^n\to\mathbb RF0:Rn→R convex and continuous on XXX. The optimal set is X∗={x∈X:F0(x)≤F0(y) ∀y∈X}X^*=\{x\in X: F^0(x)\le F^0(y)\ \forall y\in X\}X∗={x∈X:F0(x)≤F0(y) ∀y∈X}. The projection onto XXX is πX(y)=argmin⁡{∥y−x∥2:x∈X}\pi_X(y)=\operatorname{argmin}\{\|y-x\|^2:x\in X\}πX​(y)=argmin{∥y−x∥2:x∈X}.

On a probability space, the stochastic quasigradient projection method produces random vectors x0,x1,…x^0,x^1,\dotsx0,x1,… by

xs+1=πX[xs−ρs ξ0(s)],s=0,1,…(6.11)x^{s+1}=\pi_X\big[x^s-\rho_s\,\xi^0(s)\big],\qquad s=0,1,\dots \tag{6.11}xs+1=πX​[xs−ρs​ξ0(s)],s=0,1,…(6.11)

where ρs≥0\rho_s\ge0ρs​≥0 is a step size and ξ0(s)\xi^0(s)ξ0(s) a random direction. Write E{⋅∣x0,…,xs}E\{\cdot\mid x^0,\dots,x^s\}E{⋅∣x0,…,xs} for conditional expectation given the history σ(x0,…,xs)\sigma(x^0,\dots,x^s)σ(x0,…,xs). The direction is a stochastic quasigradient if, for every x∗∈X∗x^*\in X^*x∗∈X∗,

F0(x∗)−F0(xs)≥⟨E{ξ0(s)∣x0,…,xs}, x∗−xs⟩+γ0(s)a.s.,(6.12)F^0(x^*)-F^0(x^s)\ge\big\langle E\{\xi^0(s)\mid x^0,\dots,x^s\},\,x^*-x^s\big\rangle+\gamma_0(s)\quad\text{a.s.}, \tag{6.12}F0(x∗)−F0(xs)≥⟨E{ξ0(s)∣x0,…,xs},x∗−xs⟩+γ0​(s)a.s.,(6.12)

where the error γ0(s)\gamma_0(s)γ0​(s) is a function of the history. If the conditional mean of ξ0(s)\xi^0(s)ξ0(s) is a subgradient plus a bias b0(s)b^0(s)b0(s), then (6.12) holds with γ0(s)=−⟨b0(s),x∗−xs⟩\gamma^0(s)=-\langle b^0(s),x^*-x^s\rangleγ0(s)=−⟨b0(s),x∗−xs⟩ (6.13).

A sequence of random vectors z0,z1,…z^0,z^1,\dotsz0,z1,… is a stochastic quasi-Féjer sequence for Z⊆RnZ\subseteq\mathbb R^nZ⊆Rn if E∥z0∥2<∞E\|z^0\|^2<\inftyE∥z0∥2<∞ and there are random rs≥0r_s\ge0rs​≥0 with ∑sErs<∞\sum_s E r_s<\infty∑s​Ers​<∞ such that for all z∈Zz\in Zz∈Z

E{∥z−zs+1∥2∣z0,…,zs}≤∥z−zs∥2+rs.(6.14)E\{\|z-z^{s+1}\|^2\mid z^0,\dots,z^s\}\le\|z-z^s\|^2+r_s. \tag{6.14}E{∥z−zs+1∥2∣z0,…,zs}≤∥z−zs∥2+rs​.(6.14)

Formalization targets

Goal: Theorem 6.2

If, with probability 1, ρs≥0\rho_s\ge0ρs​≥0 and ∑sρs=∞\sum_s\rho_s=\infty∑s​ρs​=∞, and

∑s=0∞E{ρs∣γ0(s)∣+ρs2∥ξ0(s)∥2}<∞,(6.15)\sum_{s=0}^\infty E\{\rho_s|\gamma_0(s)|+\rho_s^2\|\xi^0(s)\|^2\}<\infty, \tag{6.15}s=0∑∞​E{ρs​∣γ0​(s)∣+ρs2​∥ξ0(s)∥2}<∞,(6.15)

then with probability 1 the iterates converge and lim⁡sxs∈X∗\lim_s x^s\in X^*lims​xs∈X∗.

Milestones

  1. Theorem 6.1 (a)–(c). For a stochastic quasi-Féjer sequence for ZZZ: ∥z−zs+1∥2\|z-z^{s+1}\|^2∥z−zs+1∥2 converges a.s. and E∥z−zs∥2E\|z-z^s\|^2E∥z−zs∥2 is bounded, for each z∈Zz\in Zz∈Z; accumulation points exist a.s. (for Z≠∅Z\ne\emptysetZ=∅); and a.s. ZZZ lies in the hyperplane equidistant from any two distinct accumulation points outside ZZZ.
  2. Eq. (6.13). Biased stochastic subgradients satisfy (6.12).
  3. One-step inequality (p. 145): E{∥x∗−xs+1∥2∣⋅}≤∥x∗−xs∥2+2ρs⟨E{ξ0(s)∣⋅},x∗−xs⟩+E{ρs2∥ξ0(s)∥2∣⋅}E\{\|x^*-x^{s+1}\|^2\mid\cdot\}\le\|x^*-x^s\|^2+2\rho_s\langle E\{\xi^0(s)\mid\cdot\},x^*-x^s\rangle+E\{\rho_s^2\|\xi^0(s)\|^2\mid\cdot\}E{∥x∗−xs+1∥2∣⋅}≤∥x∗−xs∥2+2ρs​⟨E{ξ0(s)∣⋅},x∗−xs⟩+E{ρs2​∥ξ0(s)∥2∣⋅} for x∗∈Xx^*\in Xx∗∈X.
  4. Quasi-Féjer property (p. 145): the iterates of (6.11) form a stochastic quasi-Féjer sequence for X∗X^*X∗.
  5. Efficiency estimate (p. 147), for deterministic ρk\rho_kρk​ and xˉs=∑k≤sρkxk/∑k≤sρk\bar x^s=\sum_{k\le s}\rho_kx^k/\sum_{k\le s}\rho_kxˉs=∑k≤s​ρk​xk/∑k≤s​ρk​:
EF0(xˉs)−F0(x∗)≤(2∑k=0sρk)−1[E∥x∗−x0∥2+∑k=0sE(2ρk∣γ0(k)∣+ρk2∥ξ0(k)∥2)].E F^0(\bar x^s)-F^0(x^*)\le\Big(2\sum_{k=0}^s\rho_k\Big)^{-1}\Big[E\|x^*-x^0\|^2+\sum_{k=0}^s E\big(2\rho_k|\gamma_0(k)|+\rho_k^2\|\xi^0(k)\|^2\big)\Big].EF0(xˉs)−F0(x∗)≤(2k=0∑s​ρk​)−1[E∥x∗−x0∥2+k=0∑s​E(2ρk​∣γ0​(k)∣+ρk2​∥ξ0(k)∥2)].

Significance

Theorem 6.2 is the prototype convergence theorem for SQG methods. Its hypotheses allow random step sizes chosen from the history, nonsmooth objectives, and directions with a bias that vanishes fast enough; its conclusion is convergence of the iterates themselves to a single optimal point, not only convergence of function values or of dist⁡(xs,X∗)\operatorname{dist}(x^s,X^*)dist(xs,X∗). The later chapters of the same volume (adaptive step sizes, Chapters 17–18; nonstationary problems, §6.4) reuse the same framework. Theorem 6.1 isolates the probabilistic content in a form that applies to any algorithm with a quasi-Féjer inequality. The efficiency estimate gives a non-asymptotic accuracy bound for the averaged iterate.

The results are classical and proved in the literature: Theorem 6.1 in Ermoliev (1976, p. 98), Theorem 6.2 in this chapter (pp. 145–146). To our knowledge none of them has a machine-checked proof. Mathlib has conditional expectations and the a.s. martingale convergence theorem, but no Robbins–Siegmund-type almost-supermartingale lemma and no stochastic subgradient method. A formal proof of this mission would supply both.

Difficulty

The deterministic argument for projected subgradient methods compares ∥x∗−xs+1∥\|x^*-x^{s+1}\|∥x∗−xs+1∥ with ∥x∗−xs∥\|x^*-x^s\|∥x∗−xs∥ for a fixed x∗x^*x∗. In the stochastic setting this comparison holds only in conditional mean, with a perturbation rsr_srs​ that is random, and the distances converge only almost surely, with an exceptional null set that depends on x∗x^*x∗. Since X∗X^*X∗ is typically uncountable, "for every x∗x^*x∗, almost surely" does not immediately give "almost surely, for every x∗x^*x∗", and it is the second form that identifies a single limit. A second difficulty is that ∑ρs(F0(xs)−F0(x∗))<∞\sum\rho_s(F^0(x^s)-F^0(x^*))<\infty∑ρs​(F0(xs)−F0(x∗))<∞ only yields a subsequence along which F0F^0F0 approaches its minimum; passing from there to convergence of the whole sequence is exactly what part (c) of Theorem 6.1 is for.

Formalization scope

  • Rn\mathbb R^nRn is EuclideanSpace ℝ (Fin n). The probability space is an arbitrary measurable space with a probability measure. πX\pi_XπX​ is a chosen minimizer of ∥y−x∥2\|y-x\|^2∥y−x∥2 over XXX (unique for nonempty closed convex XXX). The history is the σ\sigmaσ-algebra generated by x0,…,xsx^0,\dots,x^sx0,…,xs; ρs\rho_sρs​ and γ0(s)\gamma_0(s)γ0​(s) are measurable with respect to it.
  • Directions ξ0(s)\xi^0(s)ξ0(s) are integrable and random vectors are measurable; conditional expectations are Mathlib's condExp. The quasi-Féjer definition requires square integrability of every zsz^szs (implied by the book's definition when Z≠∅Z\ne\emptysetZ=∅), so no conditional expectation is taken of a non-integrable function.
  • X≠∅X\ne\emptysetX=∅ and x0∈Xx^0\in Xx0∈X are stated; Z≠∅Z\ne\emptysetZ=∅ is added in Theorem 6.1 (b), which is false without it.
  • γ0(s)\gamma_0(s)γ0​(s) does not depend on x∗x^*x∗; the x∗x^*x∗-dependent error of (6.13) is dominated on a bounded XXX by ∥b0(s)∥diam⁡X\|b^0(s)\|\operatorname{diam}X∥b0(s)∥diamX.
  • (6.15) keeps its mixed form: ρs≥0\rho_s\ge0ρs​≥0 and ∑ρs=∞\sum\rho_s=\infty∑ρs​=∞ almost surely, and a deterministic sum of expectations (lower Lebesgue integrals) finite.
  • Explicit constants. The book's "CCC" in the efficiency estimate is instantiated from its proof: 222 on ρk∣γ0(k)∣\rho_k|\gamma_0(k)|ρk​∣γ0​(k)∣ and 111 on ρk2∥ξ0(k)∥2\rho_k^2\|\xi^0(k)\|^2ρk2​∥ξ0(k)∥2. The unspecified CCC before the quasi-Féjer sentence is replaced by the existence of summable rsr_srs​.
  • Typo corrections. The one-step inequality on p. 145 prints ρsE{∥ξ0(s)∥2∣⋅}\rho_sE\{\|\xi^0(s)\|^2\mid\cdot\}ρs​E{∥ξ0(s)∥2∣⋅}; it is ρs2\rho_s^2ρs2​. The efficiency estimate on p. 147 omits EEE before the last sum; it is restored. "ρk\rho_kρk​ independent of (x0,…,xk)(x^0,\dots,x^k)(x0,…,xk)" is read as deterministic step sizes.
  • A trivializing formalization is excluded: the goal does not replace ξ0(s)\xi^0(s)ξ0(s) by an exact subgradient, does not set γ0≡0\gamma_0\equiv0γ0​≡0, and concludes convergence of xsx^sxs to a point of X∗X^*X∗ rather than dist⁡(xs,X∗)→0\operatorname{dist}(x^s,X^*)\to0dist(xs,X∗)→0.
  • Reusable infrastructure: a Robbins–Siegmund lemma for nonnegative almost-supermartingales, the nonexpansiveness of πX\pi_XπX​, and Theorem 6.1 itself, which applies to any quasi-Féjer algorithm (Chapter 6 §6.4 and Chapters 17–18 of the same book). Contributions of these general lemmas are welcome.

Selected references

  • Yu. Ermoliev, "Stochastic Quasigradient Methods", in Yu. Ermoliev and R. J-B Wets (eds.), Numerical Techniques for Stochastic Optimization, Springer Series in Computational Mathematics 10, Springer 1988, Ch. 6, §6.1–6.2 (pp. 141–147). https://doi.org/10.1007/978-3-642-61370-8
  • Yu. Ermoliev, "On the stochastic quasi-gradient method and stochastic quasi-Feyer sequences", Kibernetika 2 (1969) (in Russian; English translation in Cybernetics). Reference [3] of the chapter.
  • Yu. Ermoliev, Stochastic Programming Methods, Nauka, Moscow, 1976 (in Russian); Theorem 6.1 is on p. 98. Reference [5] of the chapter.
  • H. Robbins and D. Siegmund, "A convergence theorem for non negative almost supermartingales and some applications", in J. S. Rustagi (ed.), Optimizing Methods in Statistics, Academic Press, 1971, 233–257. https://doi.org/10.1016/B978-0-12-604550-5.50015-8
  • H. Robbins and S. Monro, "A stochastic approximation method", Annals of Mathematical Statistics 22 (1951) 400–407. https://doi.org/10.1214/aoms/1177729586
10 thms3 active usersReviewed
CombinatoricsLinear OptimizationOperations Research·Captain: mikedeng1

An Efficient Approximation Scheme for the One-Dimensional Bin-Packing Problem II: Geometric Grouping with Residual LP RoundingResearch Paper

Motivation

One-dimensional bin packing asks for the fewest unit-capacity bins that hold a given list of items with sizes in (0,1)(0,1)(0,1). Deciding whether two bins suffice is NP-hard (it contains the partition problem), so no polynomial-time algorithm guarantees a ratio below 3/23/23/2 unless P = NP. The natural question is therefore asymptotic: how small can the additive error A(I)−OPT(I)A(I) - OPT(I)A(I)−OPT(I) be made, as a function of the optimum OPT(I)OPT(I)OPT(I)?

  • 1974: D. S. Johnson, A. Demers, J. D. Ullman, M. R. Garey and R. L. Graham analysed First Fit and First Fit Decreasing, with asymptotic ratios 17/1017/1017/10 and 11/911/911/9 (SIAM J. Comput. 3(4)).
  • 1981: W. Fernandez de la Vega and G. S. Lueker gave an asymptotic approximation scheme: for every ε>0\varepsilon > 0ε>0, (1+ε) OPT(I)+1(1+\varepsilon)\,OPT(I) + 1(1+ε)OPT(I)+1 bins in linear time (Combinatorica 1).
  • 1982: N. Karmarkar and R. M. Karp replaced the multiplicative error by an additive one: OPT(I)+O(log⁡2OPT(I))OPT(I) + O(\log^2 OPT(I))OPT(I)+O(log2OPT(I)) bins in polynomial time (Proc. 23rd FOCS). This mission formalizes that bound.
  • 2017: R. Hoberg and T. Rothvoss improved the additive error to O(log⁡OPT)O(\log OPT)O(logOPT) (SODA 2017). Whether OPT(I)+O(1)OPT(I) + O(1)OPT(I)+O(1) is achievable remains open.

Its main device, geometric grouping followed by rounding a linear program over bin configurations, recurs in later additive results and in cutting-stock problems.

Setting

An instance III is a finite multiset of piece sizes in the open interval (0,1)(0,1)(0,1). Write n(I)n(I)n(I) for the number of pieces, m(I)m(I)m(I) for the number of distinct sizes, SIZE(I)SIZE(I)SIZE(I) for the total size and a(I)a(I)a(I) for the smallest size. A packing is a multiset of bins whose union is III and in each of which the sizes sum to at most 111; its cost is the number of bins, and OPT(I)OPT(I)OPT(I) is the least cost.

A configuration is a nonempty multiset of sizes occurring in III that fits in one bin. The fractional bin-packing problem is the linear program

(I)min⁡ 1⋅xs.t.x≥0,Ax≥b,(I)\qquad \min\ \mathbf 1\cdot x\quad\text{s.t.}\quad x \ge 0,\quad Ax \ge b,(I)min 1⋅xs.t.x≥0,Ax≥b,

with one variable xjx_jxj​ per configuration, where AtjA_{tj}Atj​ counts the pieces of size ttt in configuration jjj and btb_tbt​ the pieces of size ttt in III. Its value is LIN(I)LIN(I)LIN(I). A basic feasible solution is an extreme point of the feasible region.

Geometric grouping with parameter kkk sorts the pieces in non-increasing order and cuts them into consecutive groups G1,G2,…,GqG_1, G_2, \dots, G_qG1​,G2​,…,Gq​, each the shortest run of pieces of total size at least kkk. Within each group GiG_iGi​ (i≥2i \ge 2i≥2) only as many of the largest pieces as Gi−1G_{i-1}Gi−1​ has are kept; they are rounded up to the largest size in GiG_iGi​, giving Gi′G_i'Gi′​. The rounded pieces form JJJ, and G1G_1G1​ together with the unrounded leftovers ΔGi\Delta G_iΔGi​ form J′J'J′.

ALGORITHM 2 with a positive integer kkk and a positive real ggg:

  1. Eliminate all pieces of size ≤g\le g≤g.
  2. While SIZE>1+11−1/kln⁡1gSIZE > 1 + \frac{1}{1-1/k}\ln\frac1gSIZE>1+1−1/k1​lng1​: group the current instance into J,J′J, J'J,J′; pack J′J'J′ in at most 2k[2+ln⁡1g]2k[2 + \ln\frac1g]2k[2+lng1​] bins; obtain a basic feasible solution xxx of the LP of JJJ with cost at most LIN(J)+1LIN(J)+1LIN(J)+1; open ⌊xj⌋\lfloor x_j\rfloor⌊xj​⌋ bins of each configuration jjj, fill them with pieces, and delete the pieces so packed.
  3. Pack the remaining pieces in at most 2+21−1/kln⁡1g2 + \frac{2}{1-1/k}\ln\frac1g2+1−1/k2​lng1​ bins.
  4. Reinsert the eliminated pieces, using a new bin only when necessary.

Its cost on III is written A(I)A(I)A(I).

Formalization targets

Goal: Theorem 4 with explicit constants

For every instance III with SIZE(I)≥2SIZE(I) \ge 2SIZE(I)≥2, every packing that ALGORITHM 2 with k=2k=2k=2 and g=1/SIZE(I)g = 1/SIZE(I)g=1/SIZE(I) can output is a packing of III with

A(I)≤OPT(I)+(1+log⁡2OPT(I))(9+4ln⁡OPT(I))+2+4ln⁡OPT(I).A(I) \le OPT(I) + \bigl(1 + \log_2 OPT(I)\bigr)\bigl(9 + 4\ln OPT(I)\bigr) + 2 + 4\ln OPT(I).A(I)≤OPT(I)+(1+log2​OPT(I))(9+4lnOPT(I))+2+4lnOPT(I).

This is the paper's A(I)≤OPT(I)+O(log⁡2OPT(I))A(I) \le OPT(I) + O(\log^2 OPT(I))A(I)≤OPT(I)+O(log2OPT(I)), with the constants that its proof yields.

The general bound for ALGORITHM 2

For integers k≥2k \ge 2k≥2, 0<g≤120 < g \le \tfrac120<g≤21​ and SIZE(I)≥1SIZE(I) \ge 1SIZE(I)≥1:

A(I)≤max⁡{(1+2g) OPT(I)+1, OPT(I)+[1+ln⁡SIZE(I)ln⁡k][1+4k+2kln⁡1g]+2+21−1kln⁡1g}.A(I) \le \max\Bigl\{(1+2g)\,OPT(I) + 1,\ OPT(I) + \Bigl[1 + \frac{\ln SIZE(I)}{\ln k}\Bigr]\Bigl[1 + 4k + 2k\ln\frac1g\Bigr] + 2 + \frac{2}{1-\frac1k}\ln\frac1g\Bigr\}.A(I)≤max{(1+2g)OPT(I)+1, OPT(I)+[1+lnklnSIZE(I)​][1+4k+2klng1​]+2+1−k1​2​lng1​}.

Milestones

In attack order: Lemmas 1–3; Theorem 2 (items 1–3, the bound on J′J'J′, item 4 corrected); the per-iteration shrinking of SIZESIZESIZE; the bound on the number ttt of iterations; the telescoping of LINLINLIN; the bin count after Step 3; the general bound.

Significance

The bound gives a polynomial-time algorithm whose additive error is polylogarithmic in the optimum, hence a fully polynomial asymptotic approximation scheme (O(log⁡2OPT)=o(OPT)O(\log^2 OPT) = o(OPT)O(log2OPT)=o(OPT)). Varying kkk and ggg trades running time for error, as the paper notes after Theorem 4. The scheme of solving the rounded LP, keeping its integer part and re-grouping the residual is reused by later additive results, including the O(log⁡OPT)O(\log OPT)O(logOPT) bound of Hoberg and Rothvoss.

The result has been proved since 1982. No machine-checked proof of it, or of any bin-packing approximation guarantee of this kind, is known to exist in Lean or Mathlib. The mission produces a formal version whose hypotheses and constants are explicit. It also corrects two printed statements whose published forms are false: Theorem 2, item 4, and the chain of inequalities in the analysis that relies on it. The corrections are disclosed in the statements.

Difficulty

Rounding a single LP solution does not suffice. A basic solution of the configuration LP has at most mmm fractional variables, and after rounding down, the leftover pieces form an instance of size at most m(J)m(J)m(J). With linear grouping that leftover is of order 1/ε21/\varepsilon^21/ε2 and costs a constant factor. The difficulty is making the residual shrink geometrically. Geometric grouping must produce an instance JJJ with m(J)≤SIZE/k+O(ln⁡(1/g))m(J) \le SIZE/k + O(\ln(1/g))m(J)≤SIZE/k+O(ln(1/g)) distinct sizes while discarding only O(kln⁡(1/g))O(k\ln(1/g))O(kln(1/g)) in J′J'J′. The residual must then be re-grouped and re-solved. Each step must be accounted for simultaneously in SIZESIZESIZE, LINLINLIN and OPTOPTOPT, with an additive loss per iteration; the harmonic-sum estimate behind SIZE(J′)SIZE(J')SIZE(J′) and the telescoping of LINLINLIN across iterations carry most of the weight.

Formalization scope

  • Model. An instance is a Multiset ℝ with sizes in the open interval (0,1)(0,1)(0,1); real sizes generalize the paper's rationals, and the interval is open because a group of size at least kkk must contain more than kkk pieces. Packings are Multiset (Multiset ℝ). OPTOPTOPT and LINLINLIN are infima over nonempty sets. LP solutions are finitely supported functions on configurations; "basic" means extreme point.
  • Subroutine contract. The Fractional Bin-Packing procedure is modelled only by its stated output: any basic feasible solution of cost at most LIN(J)+1LIN(J)+1LIN(J)+1. The ellipsoid method of §6 is not modelled.
  • Runs. ALGORITHM 2 is a relation Alg2Run k g I P, witnessed by a trace. Every bound holds for every run: every admissible subroutine output, every packing at Steps 2 and 3 within the prescribed counts, every choice of pieces for the principal bins (which must fill every available slot), and every order of the Step 4 insertion. A separate well-definedness item states that a run exists, so the bounds are not vacuous.
  • Explicit constants. O(log⁡2OPT(I))O(\log^2 OPT(I))O(log2OPT(I)) in Theorem 4 is replaced by (1+log⁡2OPT)(9+4ln⁡OPT)+2+4ln⁡OPT(1+\log_2 OPT)(9 + 4\ln OPT) + 2 + 4\ln OPT(1+log2​OPT)(9+4lnOPT)+2+4lnOPT. The asymptotic threshold is made explicit as SIZE(I)≥2SIZE(I) \ge 2SIZE(I)≥2. ln⁡\lnln is Real.log and log⁡2\log_2log2​ is Real.logb 2.
  • Corrected statements. The last group of geometric grouping may fall short of kkk, which the paper ignores. For it, ΔGq\Delta G_qΔGq​ consists of the max⁡(0,lq−lq−1)\max(0, l_q - l_{q-1})max(0,lq​−lq−1​) smallest pieces. Theorem 2, item 4 is stated as m(J)≤SIZE(J)/k+ln⁡(1/a(I))+1m(J) \le SIZE(J)/k + \ln(1/a(I)) + 1m(J)≤SIZE(J)/k+ln(1/a(I))+1; the printed version without +1+1+1 fails for I={0.95,0.95,0.95,0.9}I = \{0.95, 0.95, 0.95, 0.9\}I={0.95,0.95,0.95,0.9}, k=2k = 2k=2. Theorem 2 is stated for integers k≥2k \ge 2k≥2, which its proof needs. The iteration bound is stated for t≥1t \ge 1t≥1 and for the instance after Step 1.
  • Out of scope. Running times, polynomiality, the function T(m,n)T(m,n)T(m,n), the number of subroutine calls, §6, ALGORITHM 3 and Theorem 5.
  • Ruling out trivial versions. "There exists a packing with at most OPT(I)+…OPT(I) + \dotsOPT(I)+… bins" is trivially true and is not the goal. The goal bounds every output of the algorithm, and the existence item shows that outputs exist.

Contributions welcome: milestone proofs; a harmonic-sum bound ∑j=ab1/j≤ln⁡ba−1\sum_{j=a}^{b} 1/j \le \ln\frac{b}{a-1}∑j=ab​1/j≤lna−1b​; extreme-point facts for {x≥0:Ax≥b}\{x \ge 0 : Ax \ge b\}{x≥0:Ax≥b} (at most as many nonzero coordinates as rows; an optimal extreme point exists), reusable beyond bin packing; monotonicity of LINLINLIN and OPTOPTOPT under the piecewise order.

Selected references

  • N. Karmarkar, R. M. Karp, An Efficient Approximation Scheme for the One-Dimensional Bin-Packing Problem, Proc. 23rd Annual Symposium on Foundations of Computer Science (SFCS 1982), IEEE, pp. 312–320, 1982. https://doi.org/10.1109/SFCS.1982.61
  • W. Fernandez de la Vega, G. S. Lueker, Bin packing can be solved within 1 + ε in linear time, Combinatorica 1(4), 349–355, 1981. https://doi.org/10.1007/BF02579456
  • D. S. Johnson, A. Demers, J. D. Ullman, M. R. Garey, R. L. Graham, Worst-case performance bounds for simple one-dimensional packing algorithms, SIAM J. Comput. 3(4), 299–325, 1974. https://doi.org/10.1137/0203025
  • R. Hoberg, T. Rothvoss, A Logarithmic Additive Integrality Gap for Bin Packing, Proc. 28th ACM-SIAM SODA, 2616–2625, 2017. https://doi.org/10.1137/1.9781611974782.172
21 thms3 active usersReviewed
🏆Completed
Algorithmic Game TheoryMechanism DesignOperations Research·Captain: mikedeng1

Algorithmic Mechanism Design VI: With Verification, the Compensation-and-Bonus Mechanism Is a Strongly Truthful Optimal ImplementationResearch Paper

Motivation

Scheduling tasks on machines owned by self-interested parties is the running example of Nisan and Ronen's Algorithmic Mechanism Design (Games and Economic Behavior 35, 2001), the paper that introduced the study of mechanisms whose allocation rule is an algorithm with a computational objective. Each machine (agent) privately knows how long it needs for each task; the designer wants to minimize the make-span, the completion time of the last machine, and can only influence the agents through payments.

Without further information the designer is in a weak position: the paper shows that no mechanism approximates the optimal make-span within a factor below 2 (Theorem 4.6), and that the natural truthful mechanism, MinWork, only achieves a factor nnn. Section 5 of the paper observes that in many applications the designer learns more than the agents' reports: it can pay after the work is done and observe how long each task actually took. It introduces mechanisms with verification and shows that, with this extra information, the make-span can be minimized exactly by a strongly truthful mechanism. This mission formalizes that result, Theorem 5.1, together with the steps of its proof and the participation variant, Theorem 5.4.

Setting

There are kkk tasks and nnn agents. The type of agent iii is the vector ti=(t1i,…,tki)t^i = (t^i_1,\dots,t^i_k)ti=(t1i​,…,tki​) of positive numbers, tjit^i_jtji​ being the least time in which agent iii can perform task jjj. An allocation xxx gives each task to one agent; xix^ixi is the set of tasks of agent iii. For a type vector ttt and for a vector t~\tilde tt~ of actual execution times the make-spans are

g(x,t)=max⁡i∑j∈xitji,g(x,t~)=max⁡i∑j∈xit~j.g(x,t) = \max_i \sum_{j\in x^i} t^i_j, \qquad g(x,\tilde t) = \max_i \sum_{j\in x^i} \tilde t_j .g(x,t)=imax​j∈xi∑​tji​,g(x,t~)=imax​j∈xi∑​t~j​.

A mechanism with verification is a pair (x,p)(x, p)(x,p). The allocation x(d)x(d)x(d) is computed from the agents' declarations d=(d1,…,dn)d = (d^1,\dots,d^n)d=(d1,…,dn) only. Each agent then performs its tasks, in any times t~j≥tji\tilde t_j \ge t^i_jt~j​≥tji​ it chooses, and the mechanism pays agent iii the amount pi(d,t~)p^i(d, \tilde t)pi(d,t~), which may depend on the declarations and on the observed actual times. Agent iii's utility is pi(d,t~)−∑j∈xit~jp^i(d,\tilde t) - \sum_{j \in x^i} \tilde t_jpi(d,t~)−∑j∈xi​t~j​. A strategy of agent iii therefore has two parts: a declaration did^idi and an execution plan eie^iei that says, for every allocation, how long the agent takes on each of its tasks.

A strategy is dominant if it maximizes the agent's utility against all declarations and all execution plans of the other agents. The mechanism is truthful if, for every agent and type, declaring the true type (with a suitable execution plan) is dominant, and strongly truthful if the only dominant strategy is to declare the true type and to execute every task in minimal time.

The Compensation-and-Bonus mechanism uses an optimal allocation algorithm x(⋅)x(\cdot)x(⋅) and pays

pi(d,t~)=∑j∈xi(d)t~j⏟compensation ci  − g(x(d),corri(x(d),d,t~))⏟bonus bi,p^i(d,\tilde t) = \underbrace{\sum_{j \in x^i(d)} \tilde t_j}_{\text{compensation } c^i} \;\underbrace{-\, g\big(x(d), \mathrm{corr}^i(x(d), d, \tilde t)\big)}_{\text{bonus } b^i},pi(d,t~)=compensation cij∈xi(d)∑​t~j​​​bonus bi−g(x(d),corri(x(d),d,t~))​​,

where the corrected time vector corri\mathrm{corr}^icorri lists agent iii's own tasks at their actual times and every other task at the time declared by the agent it was given to.

Formalization targets

Goal: Theorem 5.1

For n≥2n \ge 2n≥2 agents and every optimal allocation algorithm (ties broken arbitrarily), the Compensation-and-Bonus mechanism is a strongly truthful implementation of task scheduling:

strongly truthfulandg(x(D),t~)≤min⁡yg(y,t) whenever every agent plays a dominant strategy for its true type.\text{strongly truthful} \quad\text{and}\quad g\big(x(D), \tilde t\big) \le \min_y g(y, t) \text{ whenever every agent plays a dominant strategy for its true type.}strongly truthfulandg(x(D),t~)≤ymin​g(y,t) whenever every agent plays a dominant strategy for its true type.

Milestones (proof of Claim 5.2)

  1. The utility of every agent equals its bonus.
  2. For every allocation, the bonus of agent iii is maximized by executing its tasks in minimal time.
  3. With t=(d−i,ti)t = (d^{-i}, t^i)t=(d−i,ti), for every declaration t′it'^it′i,
−g(x(t),corr∗(x(t),t))≥−g(x(t′i,d−i),corr∗(x(t′i,d−i),t)).-g\big(x(t), \mathrm{corr}^*(x(t), t)\big) \ge -g\big(x(t'^i, d^{-i}), \mathrm{corr}^*(x(t'^i, d^{-i}), t)\big).−g(x(t),corr∗(x(t),t))≥−g(x(t′i,d−i),corr∗(x(t′i,d−i),t)).
  1. Declaring the true type and executing in minimal time is dominant.
  2. Claim 5.2: the mechanism is strongly truthful.

Further target: Theorem 5.4

For n≥2n \ge 2n≥2 there is a strongly truthful mechanism with an optimal allocation algorithm that satisfies participation constraints: an agent that performs its tasks in its declared times never ends with negative utility.

Significance

The result. Theorem 5.1 shows that the lower bound of 2 for task scheduling (Theorem 4.6) is an artefact of the information structure, not of incentives as such: once execution times are observable, the exact optimum is achievable in dominant strategies, and the agents have a unique rational behaviour. The construction also isolates a general principle, used again in §5.6 of the paper: an agent paid by the global objective value, computed with the others' declarations, has the designer's incentives. Theorem 5.4 shows that the bonus can be shifted to make participation individually rational, which the plain mechanism violates (its bonus is negative).

Formalizing it. The theorem is proved in the paper, in a few lines, and has no machine-checked version. A formalization has to settle what the paper leaves informal: what a strategy with an execution part is, over which strategies of the others dominance is quantified, what "the only dominant strategy" demands of the execution plan on allocations that seem never to arise, and which hypotheses on the number of agents the uniqueness needs. The model built here is also the base of two companion missions of the same series (Compensation-and-Bonus with a non-optimal allocation algorithm, and the rounding mechanism with verification).

Difficulty

Truthfulness (milestones 1–4) is short once the model is right. The difficulty is uniqueness. For a misreport or a slow execution to be excluded, one must exhibit, for every alternative strategy, declarations of the other agents under which that strategy is strictly worse. The declarations must be positive, the optimal allocation algorithm breaks ties arbitrarily, and agent iii's slower execution only hurts it when agent iii is the bottleneck. The paper's proof dismisses this step with "clearly, … there are circumstances"; the naive reading ("the others declare +∞+\infty+∞ elsewhere") is not available in a model with finite positive times, and the uniqueness clause must also cover the execution plan on every allocation, not only on the allocation produced by truthful play.

Formalization scope

  • Agents are Fin n, tasks Fin k, allocations functions Fin k → Fin n; both make-spans are Finset.sup' over the nonempty set of agents ([NeZero n]).
  • Types and declarations are positive real vectors; declarations range over this type space (Definition 18's "unrestricted" declaration is any element of it).
  • An execution plan is a function from allocations to actual times; feasibility for type tit^iti requires t~j≥tji\tilde t_j \ge t^i_jt~j​≥tji​ on the agent's own tasks only. In the dominance quantifier the other agents' plans are arbitrary.
  • Payments are amounts handed to the agent; utility is quasi-linear.
  • The optimal allocation algorithm is a parameter with the hypothesis that it minimizes g(⋅,d)g(\cdot, d)g(⋅,d) on every positive ddd; every theorem holds for every such algorithm.
  • Strong truthfulness constrains both parts of the strategy: the declaration equals the type, and the plan executes every task in minimal time under every allocation.
  • Thresholds made explicit: n≥2n \ge 2n≥2 in Claim 5.2, Theorem 5.1 and Theorem 5.4 (not printed; with one agent every declaration is dominant, and the construction of Theorem 5.4 needs a second agent).
  • Printed slips: the displayed inequality prints >=; Theorem 5.4 prints "strongly truthfulmechanism"; Definition 28 writes t~j=tj\tilde t_j = t_jt~j​=tj​ for t~j=tji\tilde t_j = t^i_jt~j​=tji​.
  • Running time is out of scope.
  • A formalization in which dominance is checked only against truthful other agents, in which the mechanism ignores executions, in which strong truthfulness constrains only the declaration, or in which the implementation clause is stated only at the truthful profile, is not the theorem and is ruled out by the statements.

Welcome contributions: proofs of the milestones, the uniqueness witnesses as reusable lemmas, and the contribution-based mechanism behind Theorem 5.4. Theorem 5.3 (generalized Compensation-and-Bonus) is not stated in this mission.

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
  • A. Mas-Colell, M. D. Whinston, J. R. Green, Microeconomic Theory, Oxford University Press, 1995.
8 thms3 active usersReviewed
🏆Completed
Algorithmic Game TheoryMechanism DesignOperations Research·Captain: mikedeng1

Algorithmic Mechanism Design IV: No Local Truthful Mechanism Achieves a c-Approximation for Task Scheduling for Any c < nResearch Paper

Motivation

Nisan and Ronen's Algorithmic Mechanism Design (Games and Economic Behavior 35, 2001) asks how well a computational task can be carried out when its inputs are held by self-interested agents who may lie about them. Their test case is scheduling on unrelated machines: tasks must be assigned to agents (machines), each agent privately knows how long it needs for each task, and the planner wants to minimize the time at which the last agent finishes. The paper shows that the mechanism MinWork, which gives each task to the fastest agent and pays it the second-fastest time, is truthful and loses a factor of at most nnn against the optimum, and that no truthful mechanism can do better than a factor 222. It then conjectures (Conjecture 4.9) that the factor nnn cannot be improved by any truthful mechanism.

That conjecture became the Nisan–Ronen conjecture, one of the central questions of algorithmic mechanism design. A sequence of papers raised the general lower bound from 222 to 1+21 + \sqrt 21+2​ (Christodoulou, Koutsoupias and Vidali), to 1+φ≈2.6181 + \varphi \approx 2.6181+φ≈2.618 (Koutsoupias and Vidali) and to larger constants, and Christodoulou, Koutsoupias and Kovács (STOC 2023) finally proved the conjecture for all deterministic truthful mechanisms. In the original paper, Nisan and Ronen confirm the conjecture for two restricted classes of mechanisms, with short direct arguments. This mission concerns the second class, local mechanisms (Theorem 4.12).

Setting

There are kkk tasks j∈{1,…,k}j \in \{1, \dots, k\}j∈{1,…,k} and nnn agents i∈{1,…,n}i \in \{1, \dots, n\}i∈{1,…,n}. A type vector ttt records, for every agent iii and task jjj, the positive time tjit^i_jtji​ agent iii needs for task jjj. An allocation xxx assigns every task to one agent; xix^ixi is the set of tasks of agent iii. For a set XXX of tasks write ti(X)=∑j∈Xtjit^i(X) = \sum_{j \in X} t^i_jti(X)=∑j∈X​tji​. The make-span of xxx is g(x,t)=max⁡iti(xi)g(x, t) = \max_i t^i(x^i)g(x,t)=maxi​ti(xi).

A direct mechanism (x,p)(x, p)(x,p) asks every agent for its type, computes an allocation x(t)x(t)x(t) from the declarations, and hands agent iii the payment pi(t)p^i(t)pi(t). Agent iii's utility is pi(t)−ti(xi(t))p^i(t) - t^i(x^i(t))pi(t)−ti(xi(t)) measured with its true times. The mechanism is truthful if declaring the true type maximizes each agent's utility whatever the other agents declare. The 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.

For a truthful mechanism the payment to agent iii depends only on the set it receives and on the declarations t−it^{-i}t−i of the others (Proposition 4.4). This gives the price offered to agent iii for a set XXX (Definition 12):

pi(X,t−i)={pi(t′i,t−i)if some t′i gives xi(t′i,t−i)=X,0otherwise.p^i(X, t^{-i}) = \begin{cases} p^i(t'^i, t^{-i}) & \text{if some } t'^i \text{ gives } x^i(t'^i, t^{-i}) = X, \\ 0 & \text{otherwise.} \end{cases}pi(X,t−i)={pi(t′i,t−i)0​if some t′i gives xi(t′i,t−i)=X,otherwise.​

A mechanism is local (Definition 14) if pi(X,t−i)p^i(X, t^{-i})pi(X,t−i) depends only on the other agents' times {tjl:l≠i,j∈X}\{t^l_j : l \ne i, j \in X\}{tjl​:l=i,j∈X} on the tasks of XXX. MinWork is local: its price for XXX is ∑j∈Xmin⁡l≠itjl\sum_{j \in X} \min_{l \ne i} t^l_j∑j∈X​minl=i​tjl​.

Formalization targets

Goal: Theorem 4.12

For every n≥1n \ge 1n≥1, every k≥n2k \ge n^2k≥n2 and every real c<nc < nc<n, no truthful local mechanism is a ccc-approximation:

∀(x,p) truthful and local, ∀c<n:∃ t, yg(x(t),t)>c⋅g(y,t).\forall (x, p) \text{ truthful and local},\ \forall c < n:\quad \exists\, t,\ y \quad g(x(t), t) > c \cdot g(y, t).∀(x,p) truthful and local, ∀c<n:∃t, yg(x(t),t)>c⋅g(y,t).

The bound holds for every c<nc < nc<n, so together with MinWork it shows that nnn is the exact best ratio for local truthful mechanisms.

Milestones

  1. Proposition 4.4 (Independence). Payments depend only on the allocated set and on t−it^{-i}t−i.
  2. Proposition 4.5 (Maximization). xi(t)x^i(t)xi(t) maximizes pi(X,t−i)−ti(X)p^i(X, t^{-i}) - t^i(X)pi(X,t−i)−ti(X) over the sets XXX that agent iii can obtain.
  3. Lemma 4.13. Every type vector has type vectors arbitrarily close to it at which each agent's maximizing set is unique.
  4. Claim 4.14, first step. If xi(t)x^i(t)xi(t) is the unique maximizer, lowering agent iii's times on xi(t)x^i(t)xi(t) keeps xi(t)x^i(t)xi(t).
  5. Ratio step. An allocation that gives one agent nnn tasks of time about 111, while every other agent's own tasks are nearly free, has make-span about nnn, while splitting those nnn tasks gives make-span about 111.

Significance

The result. Theorem 4.12 settles the Nisan–Ronen conjecture for a natural class of mechanisms. Locality captures the mechanisms in which the price for a bundle of tasks is set only by the competition for those tasks. It includes MinWork and, more generally, every mechanism that prices tasks separately using the other agents' bids on them. The theorem says that for this class the trivial per-task auction is already optimal, so any improvement over the ratio nnn must use prices that depend on the other agents' times on tasks outside the bundle.

Formalizing it. The statement is not open: it follows from the 2023 proof of the Nisan–Ronen conjecture, and Nisan and Ronen's own argument is much shorter. That argument is a sketch, though. Lemma 4.13 rests on an informal measure-theoretic appeal, and the core claim relies on a maximization property stated over all sets of tasks. A machine-checked proof pins down exactly which properties of truthful mechanisms the short argument needs. None of these results is known to have been formalized. The definitions (type vectors, truthful mechanisms, prices, locality) are shared with the other missions of this series.

Difficulty

An argument that looks at one agent at a time does not go through. Changing one agent's declaration changes the prices offered to every other agent, so an allocation that is stable for one agent can shift for another. The argument needs a type vector at which every agent's choice is strict, and only then can it lower times agent by agent and follow the allocation. Producing such a type vector is Lemma 4.13. The printed argument for it applies a "for almost every type vector" statement to sets defined by the price functions of an arbitrary mechanism, which need not be measurable. A proof must therefore work without any regularity of the mechanism. A second difficulty is Definition 12's convention that a set the agent cannot obtain has price 000. Locality constrains these zero prices too, and the argument has to account for sets that are obtainable at one type vector and not at a nearby one.

Formalization scope

Agents are Fin n, tasks Fin k. An allocation is a function Fin k → Fin n, a type vector is Fin n → Fin k → ℝ, and a mechanism is a pair of functions alloc (declarations to allocation) and pay (declarations to the payment handed to each agent). Utilities are quasi-linear. All types, declarations and misreports are positive, and every truthfulness, locality and approximation quantifier ranges over positive type vectors. The make-span is a Finset.sup' over the nonempty set of agents ([NeZero n]).

Conventions and explicit thresholds:

  • k≥n2k \ge n^2k≥n2. The theorem is printed without a bound on the number of tasks, and its proof begins "Let k≥n2k \ge n^2k≥n2". The goal carries k≥n2k \ge n^2k≥n2 as a hypothesis.
  • Truthfulness is assumed. §4.3 assumes throughout that the mechanism is truthful (by the revelation principle this is no loss). The goal quantifies over all truthful local mechanisms.
  • Prices use Definition 12 literally, including the value 000 for sets the agent cannot obtain, and locality is Definition 14 applied to that price function over all sets XXX, not only single tasks. When several declarations give the same set, the price uses one chosen witness; by Proposition 4.4 the choice does not matter for truthful mechanisms.
  • Proposition 4.5 is stated over the sets the agent can obtain. As printed, over all subsets, it is false for a truthful mechanism that never leaves an agent idle and pays it negative amounts. Uniqueness of maximizers (Lemma 4.13, Claim 4.14) refers to the same family.
  • Lemma 4.13 uses Mathlib's norm on Fin n → Fin k → ℝ, the sup norm. No measurability of the mechanism is assumed.
  • Claim 4.14 is printed at tji=1t^i_j = 1tji​=1 with 0<ε<10 < \varepsilon < 10<ε<1. The first step is stated at any type vector, with 0<ε≤tji0 < \varepsilon \le t^i_j0<ε≤tji​ on the lowered tasks.
  • Running time and computability are out of scope.

Ruled-out trivializations: locality is not restricted to single tasks; the goal does not assume that maximizers are unique at every type vector (that is Lemma 4.13's conclusion at one point, not a hypothesis); and the bound holds for every c<nc < nc<n, not for some.

Needed infrastructure: finite sums over allocation fibres, sup norms on function spaces, and a genericity argument for finitely many affine functions (Lemma 4.13). The model file and the price and locality definitions are reusable in the other missions of the series. Proofs of individual milestones are welcome independently.

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
  • A. Mas-Colell, M. D. Whinston, J. R. Green, Microeconomic Theory, Oxford University Press, 1995 (pp. 876–880, basic properties of truthful mechanisms).
  • G. Christodoulou, E. Koutsoupias, A. Vidali, A lower bound for scheduling mechanisms, Algorithmica 55 (2009).
  • E. Koutsoupias, A. Vidali, A lower bound of 1+φ for truthful scheduling mechanisms, Algorithmica 66 (2013).
  • G. Christodoulou, E. Koutsoupias, A. Kovács, A proof of the Nisan–Ronen conjecture, STOC 2023.
8 thms3 active usersReviewed
🏆Completed
Algorithmic Game TheoryMechanism DesignOperations Research·Captain: mikedeng1

Algorithmic Mechanism Design II: A Lower Bound for Truthful Task SchedulingResearch Paper

Motivation

Algorithms deployed on the Internet often take their inputs from parties who own them and who may lie when lying pays. Nisan and Ronen's Algorithmic Mechanism Design (Games and Economic Behavior 35, 2001) proposed studying optimization problems in this setting: the algorithm designer may hand out payments, and must guarantee that the intended output is produced when every participant acts in its own interest. The paper's central test case is scheduling on unrelated machines, a standard problem of combinatorial optimization, in which the machines are the selfish participants and only they know how long each job takes them.

For this problem the paper shows that incentives cost a factor of two at least: with two or more machines, no mechanism can guarantee a make-span below twice the optimum. This was the first lower bound separating what incentive-compatible mechanisms can achieve from what ordinary approximation algorithms can achieve, and it started a line of work on the "Nisan–Ronen conjecture" (that the right factor for nnn machines is nnn), with improved lower bounds by Christodoulou, Koutsoupias and Vidali (Algorithmica, 2009) and by Koutsoupias and Vidali (Algorithmica, 2013), and a resolution announced by Christodoulou, Koutsoupias and Kovács (STOC 2023).

Setting

There are nnn agents (machines) i=1,…,ni = 1,\dots,ni=1,…,n and kkk tasks j=1,…,kj = 1,\dots,kj=1,…,k. Agent iii's private type is the vector ti=(t1i,…,tki)t^i = (t^i_1,\dots,t^i_k)ti=(t1i​,…,tki​) of positive real numbers, tjit^i_jtji​ being the time agent iii needs for task jjj; a type vector is t=(t1,…,tn)t = (t^1,\dots,t^n)t=(t1,…,tn). An allocation xxx assigns every task to one agent; xix^ixi is the set of tasks given to agent iii. For a set XXX of tasks write ti(X)=∑j∈Xtjit^i(X) = \sum_{j\in X} t^i_jti(X)=∑j∈X​tji​. The objective is the make-span

g(x,t)=max⁡iti(xi),g(x,t) = \max_{i} t^i(x^i),g(x,t)=imax​ti(xi),

and an allocation rule is a ccc-approximation if its make-span is at most ccc times that of every allocation, on every type vector.

A mechanism m=(o,p)m = (o,p)m=(o,p) gives each agent iii a set AiA^iAi of strategies. On a strategy profile a=(a1,…,an)a = (a^1,\dots,a^n)a=(a1,…,an) it outputs an allocation o(a)o(a)o(a) and hands agent iii a payment pi(a)p^i(a)pi(a). An agent of type tit^iti has utility pi(a)−ti(oi(a))p^i(a) - t^i(o^i(a))pi(a)−ti(oi(a)). A strategy is dominant if it maximizes the agent's utility whatever the others play. The mechanism implements a ccc-approximation if every agent of every type has a dominant strategy and every profile of dominant strategies yields a ccc-approximate allocation.

A direct mechanism (x,p)(x,p)(x,p) has AiA^iAi equal to the set of types, and is truthful if reporting the true type is dominant. For a truthful mechanism, the price pi(X,t−i)p^i(X,t^{-i})pi(X,t−i) is the payment agent iii receives when, against the others' reports t−it^{-i}t−i, some report of its own makes it receive exactly XXX (and 000 if none does); the price difference is Δi(A,B)=pi(A∪B,t−i)−pi(A,t−i)\Delta^i(A,B) = p^i(A\cup B,t^{-i}) - p^i(A,t^{-i})Δi(A,B)=pi(A∪B,t−i)−pi(A,t−i).

Formalization targets

Goal: Theorem 4.6

For every n≥2n\ge 2n≥2, k≥3k\ge3k≥3 and c<2c<2c<2, no mechanism with any strategy sets implements a ccc-approximation:

∀ (A,o,p):¬ Implements(o,p,c).\forall\, (A, o, p):\quad \neg\ \mathrm{Implements}(o,p,c).∀(A,o,p):¬ Implements(o,p,c).

Milestones

  1. Proposition 2.1 (revelation principle): a mechanism implementing a ccc-approximation yields a truthful direct mechanism whose allocation rule is a ccc-approximation.
  2. Theorem 4.6 for truthful mechanisms (§4.3): no truthful direct mechanism has a ccc-approximate allocation rule for c<2c<2c<2. With milestone 1 it gives the goal.
  3. Proposition 4.4 (independence): for a truthful mechanism, t1−i=t2−it_1^{-i}=t_2^{-i}t1−i​=t2−i​ and xi(t1)=xi(t2)x^i(t_1)=x^i(t_2)xi(t1​)=xi(t2​) imply pi(t1)=pi(t2)p^i(t_1)=p^i(t_2)pi(t1​)=pi(t2​).
  4. Proposition 4.5 (maximization): xi(t)x^i(t)xi(t) maximizes pi(X,t−i)−ti(X)p^i(X,t^{-i}) - t^i(X)pi(X,t−i)−ti(X) over attainable XXX.
  5. Lemma 4.7: the price-difference inequalities satisfied by xi(t)x^i(t)xi(t), and the uniqueness statement for sets satisfying them strictly.
  6. Claim 4.8: for two agents, all-ones types and 0<ε<10<\varepsilon<10<ε<1, moving agent 1's times to ε\varepsilonε on its own bundle and 1+ε1+\varepsilon1+ε elsewhere leaves the allocation unchanged.
  7. The even case of the ratio: at that perturbed instance the mechanism's make-span is ∣x2(t)∣|x^2(t)|∣x2(t)∣ while some allocation achieves 12∣x2(t)∣+kε\tfrac12|x^2(t)| + k\varepsilon21​∣x2(t)∣+kε.

Significance

The result. Theorem 4.6 shows that the requirement of dominant-strategy incentive compatibility, by itself, rules out approximation ratios below 222 for scheduling on unrelated machines, a problem for which polynomial-time 222-approximation algorithms that ignore incentives exist (Lenstra, Shmoys, Tardos 1990) and for which the exact optimum is computable in exponential time. Combined with the MinWork mechanism of the same paper (an nnn-approximation), it determines the optimal ratio for two machines. It is the base case of the Nisan–Ronen conjecture and the prototype of the "characterize truthful mechanisms by prices" technique used throughout later work on the conjecture.

Formalizing it. The theorem has been proved since 1999, but no machine-checked version is known to exist. The mission produces a formal account of general mechanisms with arbitrary strategy sets, dominant-strategy implementation, the revelation principle in that generality, and the price characterization of truthful mechanisms (independence and maximization). These are reusable for every other lower bound in this paper and for the later literature on the conjecture.

Difficulty

The statement quantifies over all mechanisms, with arbitrary strategy sets and arbitrary payment functions, so no finite search settles it. The revelation principle reduces to truthful direct mechanisms, but even these are an infinite-dimensional family: the allocation rule may break ties in any way, and prices may be any functions of the other agents' reports.

The printed argument also has two places that need care. Proposition 4.5 and Lemma 4.7, as printed, range over all sets of tasks, while Definition 12 gives unattainable sets price 000; the statements hold only over attainable sets, and are formalized that way. And the case where agent 2's bundle has odd size is dispatched in one sentence ("which still yields the same allocation"), which the preceding lemma does not justify when agent 2's best bundle at the perturbed prices is not unique. A complete formal proof of the goal must supply an argument for that case.

Formalization scope

  • Agents are Fin n, tasks Fin k; an allocation is a function Fin k → Fin n; bundles may be empty. The make-span is a finite maximum and assumes n≥1n\ge1n≥1 (NeZero n).
  • Types, declarations and misreports are strictly positive reals throughout (Definition 10). Utility is quasi-linear; payments are handed to the agent and may have either sign.
  • A general mechanism has strategy sets A : Fin n → Type u (any universe), output ooo and payments ppp on dependent strategy profiles. Implements requires both that every agent of every positive type has a dominant strategy and that every profile of dominant strategies yields a ccc-approximate allocation. Dominance is against every profile of the others, not only dominant ones. Without the existence clause, a mechanism with no dominant strategies would implement vacuously; the definition excludes that.
  • Thresholds made explicit: n≥2n\ge2n≥2 and k≥3k\ge3k≥3, both taken from the proof ("We prove the theorem for the case of two agents"; "Let k≥3k\ge3k≥3"). The goal holds for each fixed nnn and kkk and every c<2c<2c<2, for every mechanism, with no restriction on tie-breaking and no requirement of strong truthfulness. At n=1n=1n=1 the claim is false.
  • Proposition 2.1 is stated for task scheduling with the ccc-approximation specification; "truthful implementation" is read as truth-telling dominant and the truthful output ccc-approximate.
  • Printed slips: Proposition 4.5 and Lemma 4.7 are stated over attainable sets; the "Moreover" of Lemma 4.7 requires YYY attainable. The odd case of the ratio step is not a milestone.
  • The reduction from n>2n>2n>2 to two agents ("having the other agents be much slower") is not a separate milestone; the goal covers every n≥2n\ge2n≥2.
  • Running time ("polynomial-time computable") is out of scope and not modelled.

Contributions of any of the milestones are welcome, as are alternative proofs of the goal that avoid the terse odd case.

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
  • A. Mas-Colell, M. D. Whinston, J. R. Green, Microeconomic Theory, Oxford University Press, 1995 (revelation principle, p. 871).
  • 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. Vidali, A lower bound for scheduling mechanisms, Algorithmica 55 (2009).
  • E. Koutsoupias, A. Vidali, A lower bound of 1+φ for truthful scheduling mechanisms, Algorithmica 66 (2013).
  • G. Christodoulou, E. Koutsoupias, A. Kovács, A proof of the Nisan–Ronen conjecture, STOC 2023.
11 thms3 active usersReviewed
🏆Completed
Convex OptimizationDiscrete GeometryOperations Research·Captain: Shuze Chen

Discrete Convex Analysis XXXIV: Conjugate ScalingTextbook

Motivation

This mission continues chapter 10's algorithmic account across its remaining two sections: finishing the Iwata-Fleischer-Fujishige fixing algorithm for submodular minimization (§10.2.3's tail), the steepest descent algorithm for L-convex function minimization (§10.3), and — the capstone of chapter 10's account of the M-convex submodular flow problem (§10.4) — conjugate scaling, the operation that finally makes the primal-dual algorithm run in polynomial time. As in mission 34-ch10b-algorithms, most of this block's numbered results are asymptotic complexity bounds; this mission places the results that are ordinary mathematical propositions.

Setting

The IFF fixing algorithm (mission 34-ch10b-algorithms) builds an acyclic graph D=(U,F) and partition Z,H,Γ certifying the maximal minimizer of a submodular ρ once η≤0 (Eq. (10.26)); this mission places the case-independent inequality its own legitimacy rests on, and restates its correctness conclusion. The steepest descent algorithm for an L-convex function g repeatedly minimizes the submodular set function ρ_p(X)=g(p+χ_X)-g(p) and moves to p+χ_X for its minimal minimizer X (the tie-breaking rule (10.33)); this mission places the resulting monotonicity fact and a domain-size bound for the L♮^\natural♮-convex adaptation. Conjugate scaling replaces a dual-integral M-convex function's conjugate g with g_α(p)=g(αp)/α, defining f⟨α⟩ via the resulting sup-formula (Eq. (10.77)) — a scaling operation compatible with M-convexity where the naive ⌈f(·)/α⌉ is not.

Formalization targets

Goal: Conjugate scaling preserves M-convexity (Proposition 10.41)

For a dual-integral polyhedral M-convex function f (represented as the mixed real-primal/ integer-dual conjugate of an L♮^\natural♮-convex g), the conjugate scaling f⟨α⟩ is again dual-integral M-convex, witnessed by g_α itself being L♮^\natural♮-convex, provided f⟨α⟩>-∞. Chosen as goal: this is the fact the whole conjugate scaling algorithm — chapter 10's final and most refined algorithm for the M-convex submodular flow problem — depends on, and the book's own text singles it out as the "compatible scaling operation" that makes M-convex cost scaling work where a naive approach provably does not.

Supporting structural targets

Proposition 10.26 (the case-independent inequality underlying the IFF fixing algorithm's own legitimacy) and Proposition 10.28 (that algorithm's correctness conclusion) close out mission 34-ch10b-algorithms's coverage of §10.2.3. Proposition 10.30 gives the steepest descent algorithm's monotonicity property under its tie-breaking rule; Proposition 10.32 (found by direct reading) bounds the L♮^\natural♮-convex adaptation's domain-size parameter in terms of the original function's.

Significance

Conjugate scaling is chapter 10's demonstration that M-convexity, while a combinatorial rather than a numeric-magnitude notion, still admits a genuine scaling technique compatible with its own structure — completing the book's account of the M-convex submodular flow problem with an algorithm whose polynomial running time depends on exactly this compatibility. Propositions 10.26/10.28 complete the correctness/legitimacy argument for the strongly polynomial submodular- minimization algorithm mission 34-ch10b-algorithms began placing, and Propositions 10.30/10.32 are the analogous structural facts for L-convex function minimization, chapter 10's third major algorithmic thread.

None of these results are open — they are Murota's own account of submodular-function- minimization (§10.2 continued), L-convex minimization (§10.3), and conjugate scaling (§10.4.5). What this mission contributes is a faithful, machine-checked formal statement of each, including one result (Proposition 10.32) the platform's own automated extractor missed; no comparable formalization exists on the platform (see Formalization scope).

Difficulty

As in mission 34-ch10b-algorithms, several numbered results in this block are excluded as hard for being pure algorithmic-complexity bounds (Propositions 10.25, 10.27, 10.31); see HARD.md. A further three (Propositions 10.37-10.39, on the primal-dual algorithm's maximum submodular flow subproblem) are excluded for a distinct reason: the source text's own OCR extraction demonstrably cannot distinguish the two visually different capacity-bound symbols (c* overlined vs. underlined) central to their shared defining formula, confirmed directly against the raw extracted bytes, making faithful reconstruction of that formula impossible from the available text; see HARD.md.

Formalization scope

Ground-set elements are a Fintype V with DecidableEq. All apparatus needed for Propositions 10.26/10.28 (Submodular, GammaSet, RhoTilde, ReachSet, Eta, IsMaximalMinimizer) is redeclared fresh from mission 34-ch10b-algorithms, genericized over an arbitrary ground type where the original was V-specific, since this draft cannot import that sibling. Proposition 10.26 is placed as the case-independent core inequality its own proof establishes, rather than by replicating the three-case verification against Proposition 10.24's own internal proof objects (Cases (i)-(iii)); see HARD.md. Proposition 10.30 omits its own trailing iteration-count corollary (a pure complexity bound); see HARD.md. Six numbered results (Propositions 10.25, 10.27, 10.31, 10.37, 10.38, 10.39) are hard. Contributions completing any of the five sorrys are welcome; the goal carries the most independent proof content (via the conjugacy theorem and Theorem 7.10(2), both established elsewhere in this series).

Selected references

  • K. Murota, Discrete Convex Analysis, SIAM, 2003. DOI: 10.1137/1.9780898718508.
  • S. Iwata, "A faster scaling algorithm for minimizing submodular functions," SIAM Journal on Computing, 32 (2003), pp. 833-840 [99] (conjugate scaling's origin).
  • A. Frank, "A weighted matroid intersection algorithm," Journal of Algorithms, 2 (1981), pp. 328-336 [55] (the primal-dual framework this mission's Proposition 10.28 continues, via mission 34-ch10b-algorithms's own Proposition 10.24).
38 thms3 active usersReviewed
PreviousPage 4 of 26Next

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