Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

Convex Optimization

236 missions · 140 completed

Missions

Open96Completed140All236
🏆Completed
Machine LearningOptimization·Captain: mikedeng1

Introduction to Online Convex Optimization IX: From Online Convex Optimization to PAC LearningTextbook

Motivation

Every algorithm in Chapters I–VIII minimizes regret, an online, adversarial performance measure with no reference to a data-generating distribution. Chapter 9 asks what regret minimization buys in the classical statistical learning setting, where examples are drawn i.i.d. from a fixed distribution and the goal is a hypothesis that generalizes well to unseen data. The chapter's answer is a black-box reduction: run any OCO algorithm on the sequence of losses induced by i.i.d. training examples, average its iterates, and the sublinear-regret guarantee converts directly into a PAC generalization bound — with no algorithm-specific analysis required.

Setting

A hypothesis hhh predicts labels from examples x∈Xx \in Xx∈X; its generalization error against a distribution DDD over labeled pairs (x,y)(x,y)(x,y) is error(h)=E(x,y)∼D[ℓ(h(x),y)]\mathrm{error}(h) = \mathbb E_{(x,y)\sim D}[\ell(h(x),y)]error(h)=E(x,y)∼D​[ℓ(h(x),y)] for a loss function ℓ\ellℓ. Section 9.1's Theorem 9.1 (No Free Lunch) shows this goal is hopeless without restricting to a hypothesis class HHH: for any learning algorithm and any sample size mmm, there is a domain, a zero-error concept, and a distribution against which the algorithm's learned hypothesis is wrong at least 1/101/101/10 of the time with probability at least 1/101/101/10. Definitions 9.2–9.3 (PAC and agnostic PAC learnability) and Theorem 9.4 (finite classes are agnostically PAC learnable) set up the target the chapter's reduction achieves for a much broader class of hypothesis sets.

Section 9.2's reduction (Algorithm 29) takes any OCO algorithm AAA and a convex hypothesis class H⊆RdH \subseteq \mathbb R^dH⊆Rd: draw TTT i.i.d. labeled examples, feed AAA the loss function ft(h)=ℓ(h(xt),yt)f_t(h) = \ell(h(x_t), y_t)ft​(h)=ℓ(h(xt​),yt​) at each round, and output the running average hˉ=1T∑t=1Tht\bar h = \frac1T\sum_{t=1}^T h_thˉ=T1​∑t=1T​ht​ of AAA's iterates.

Formalization targets

Theorem 9.1 (No Free Lunch, milestone)

For any domain XXX with ∣X∣=2m>4|X| = 2m > 4∣X∣=2m>4 and any algorithm A:(sample of size m)→(X→Bool)A : (\text{sample of size } m) \to (X \to \mathrm{Bool})A:(sample of size m)→(X→Bool), there is a concept CCC and a distribution DDD with error(C)=0\mathrm{error}(C) = 0error(C)=0 and Pr⁡S∼Dm[error(A(S))≥1/10]≥1/10\Pr_{S\sim D^m}[\mathrm{error}(A(S)) \ge 1/10] \ge 1/10PrS∼Dm​[error(A(S))≥1/10]≥1/10.

Theorem 9.5 — the mission's goal

For any δ>0\delta > 0δ>0, with probability at least 1−δ1-\delta1−δ,

error(hˉ)≤error(h⋆)+RegretT(A)T+8log⁡(2/δ)T,h⋆=arg⁡min⁡h∈H{error(h)}.\mathrm{error}(\bar h) \le \mathrm{error}(h^\star) + \frac{\mathrm{Regret}_T(A)}{T} + \sqrt{\frac{8\log(2/\delta)}{T}}, \qquad h^\star = \arg\min_{h\in H}\{\mathrm{error}(h)\}.error(hˉ)≤error(h⋆)+TRegretT​(A)​+T8log(2/δ)​​,h⋆=argh∈Hmin​{error(h)}.

Significance

Theorem 9.5 is a genuine reduction theorem, in the strongest sense the book uses that phrase in this manuscript: it needs no property of AAA beyond a regret bound, so every sublinear-regret algorithm in Chapters III–VIII (online gradient descent, RFTL, the bandit and projection-free algorithms) is, via this one theorem, automatically also an agnostic PAC learning algorithm for its hypothesis class — with an explicit, finite-sample generalization bound, not merely an asymptotic guarantee. This is also the book's only chapter connecting OCO to classical statistical learning theory, making Theorem 9.5 the bridge result the rest of the manuscript's machinery feeds into. No prior art was found on the platform for PAC learning, no-free-lunch, or generalization bounds in this sense (planning search: q=PAC, q=no+free+lunch, q=generalization — the one "no free lunch" hit found, PRNGCompression.prng_no_free_lunch, is an unrelated Kolmogorov-complexity result, not a substitute); this mission drafts both results fresh.

Difficulty

Theorem 9.1's proof (the probabilistic method) computes an expectation over a uniformly random concept CCC and a uniformly random sample SSS simultaneously, shows this joint expectation of the learned hypothesis's error is at least 1/41/41/4, and only then extracts (i) the existence of a single bad concept via linearity of expectation, and (ii) a probability bound via Markov's inequality on the error as a random variable over samples for that fixed concept — a genuinely two-stage probabilistic argument, not a direct combinatorial construction. Theorem 9.5's proof (not included in the excerpted milestone pages, continuing past PDF p. 180 into §9.2.1's Azuma's inequality machinery) builds a martingale from the sequence of per-round loss deviations and applies a concentration inequality to convert the algorithm's regret bound (a statement about the sum of realized losses) into a high-probability statement about hˉ\bar hhˉ's expected loss under DDD — the gap between "regret is small" and "generalization error is small" is exactly what the martingale/concentration argument closes.

Formalization scope

GeneralizationError/GeneralizationErrorZeroOne give the two loss regimes the chapter uses: a general parametrized real-valued hypothesis (matching the linear-hypothesis convention hw(x)=w⊤xh_w(x) = w^\top xhw​(x)=w⊤x of §9.1.3, generalized via an explicit pred evaluation map since the book's own notation "h(x)h(x)h(x)" for h∈H⊆Rdh \in H \subseteq \mathbb R^dh∈H⊆Rd implicitly identifies a parameter vector with its induced predictor) and the zero-one loss for Bool-labeled concepts (Theorem 9.1's own setting). IsAgnosticReductionRun formalizes Algorithm 29's construction directly, including its round-0 convention (h_1 ← A(∅), matching the series' standing convention for an empty history) and the i.i.d. sampling assumption made explicit via ProbabilityTheory.iIndepFun and identical marginal law D. Theorem 9.5's own regret hypothesis (hA) states "an OCO algorithm whose regret is guaranteed to be bounded by RegretT(A)" as a genuine property of A — holding for every cost sequence and horizon — matching the book's phrasing exactly, not a one-off fact about the single realized (random) cost sequence this particular run produces. The loss ℓ is assumed bounded in [0,1], the chapter's implicit standing assumption (matching the zero-one loss and bounded hinge-loss examples of §9.1.3) needed for the concentration argument behind the √(8log(2/δ)/T) term; see MODERATION_NOTES.md.

Not formalized: Definitions 9.2–9.3 (PAC/agnostic-PAC learnability) and Theorem 9.4 (finite-class PAC learnability), per BRIEF.md's explicit guidance that Theorem 9.4's proof is not self-contained on these pages but spread across the whole chapter, culminating in Theorem 9.5 itself — treating it as background context rather than a separate formalization target avoids either reconstructing that proof or drafting a numbered result whose "proof" would just be a forward reference to this mission's own goal. Theorem 9.5's optional corollary form (the sample complexity bound T = O((1/ε²)log(1/δ) + T_ε(A))) is likewise not drafted, per BRIEF.md's "otherwise keep the milestone to the displayed inequality." §9.2.1's Azuma's inequality survey (background probability theory, available in Mathlib's Probability/Martingale/) is not itself a formalization target.

Selected references

  • E. Hazan, Introduction to Online Convex Optimization, 2nd ed., arXiv:1909.05207v3, Chapter 9.
  • V. Vapnik, A. Chervonenkis, "On the uniform convergence of relative frequencies of events to their probabilities," Theory of Probability and its Applications 16(2), 1971, 264-280.
6 thms3 active usersReviewed
🏆Completed
Machine LearningOptimization·Captain: mikedeng1

Introduction to Online Convex Optimization VII: The Online Conditional Gradient AlgorithmTextbook

Motivation

Every algorithm through Chapter VI updates its iterate by a Euclidean projection onto the decision set KKK. For many decision sets that arise in practice — bounded-nuclear-norm matrices (matrix completion / recommendation systems), the flow polytope (network routing), the Birkhoff–von Neumann polytope (ranking/permutations), matroid polytopes — a projection requires an expensive operation (an SVD, a quadratic program) while a linear minimization over the same set is comparatively cheap (an eigenvector computation via the power method, a shortest-path or minimum-weight-matching computation, a greedy matroid algorithm). Chapter 7 develops an OCO algorithm that replaces every projection with a call to a linear-minimization oracle, at the cost of a worse regret rate.

Setting

The conditional gradient (CG) / Frank–Wolfe method (Algorithm 25) minimizes a β\betaβ-smooth function fff over a convex set KKK (diameter DDD) without ever projecting: at each round it calls the oracle vt=arg⁡min⁡x∈K⟨x,∇f(xt)⟩v_t = \arg\min_{x\in K}\langle x, \nabla f(x_t)\ranglevt​=argminx∈K​⟨x,∇f(xt​)⟩ and steps xt+1=xt+ηt(vt−xt)x_{t+1} = x_t + \eta_t(v_t - x_t)xt+1​=xt​+ηt​(vt​−xt​), staying inside KKK automatically since it is a convex combination of two points of KKK. Theorem 7.1 gives its convergence rate; §7.3.1's matrix completion example and §7.4's routing/ranking/matroid examples motivate why the oracle call is often much cheaper than a projection.

The online conditional gradient (OCG) algorithm (Algorithm 27) lifts this to the OCO setting. Applying CG naively to each ftf_tft​ separately fails (the method only sees gradient direction, and a single round's direction is not enough information); instead, the algorithm builds the aggregate regularized function Ft(x)=η∑τ=1t−1⟨∇τ,x⟩+∥x−x1∥2F_t(x) = \eta\sum_{\tau=1}^{t-1}\langle\nabla_\tau, x\rangle + \|x-x_1\|^2Ft​(x)=η∑τ=1t−1​⟨∇τ​,x⟩+∥x−x1​∥2 from all past gradients, calls the linear oracle on ∇Ft(xt)\nabla F_t(x_t)∇Ft​(xt​), and takes a (1−σt)/σt(1-\sigma_t)/\sigma_t(1−σt​)/σt​-weighted step toward the oracle's answer.

Formalization targets

Theorem 7.1 (offline CG convergence, milestone)

ht≤2βD2t,t≥1,ht:=f(xt)−f(x⋆).h_t \le \frac{2\beta D^2}{t}, \quad t \ge 1, \qquad h_t := f(x_t) - f(x^\star).ht​≤t2βD2​,t≥1,ht​:=f(xt​)−f(x⋆).

Lemma 7.4 (per-round iterate bound, milestone)

ht≤2D2σt,t≥1,ht:=Ft(xt)−Ft(xt⋆),  xt⋆:=arg⁡min⁡x∈KFt(x).h_t \le 2D^2\sigma_t, \quad t \ge 1, \qquad h_t := F_t(x_t) - F_t(x^\star_t),\ \ x^\star_t := \arg\min_{x\in K} F_t(x).ht​≤2D2σt​,t≥1,ht​:=Ft​(xt​)−Ft​(xt⋆​),  xt⋆​:=argx∈Kmin​Ft​(x).

Theorem 7.3 — the mission's goal

Online conditional gradient (Algorithm 27) with η=D/(2GT3/4)\eta = D/(2GT^{3/4})η=D/(2GT3/4), σt=min⁡{1,2/t}\sigma_t = \min\{1, 2/\sqrt t\}σt​=min{1,2/t​} attains

RegretT=∑t=1Tft(xt)−min⁡x⋆∈K∑t=1Tft(x⋆)≤8DGT3/4.\mathrm{Regret}_T = \sum_{t=1}^T f_t(x_t) - \min_{x^\star\in K}\sum_{t=1}^T f_t(x^\star) \le 8DGT^{3/4}.RegretT​=t=1∑T​ft​(xt​)−x⋆∈Kmin​t=1∑T​ft​(x⋆)≤8DGT3/4.

Significance

This is the chapter's central trade: Algorithm 27's O(T3/4)O(T^{3/4})O(T3/4) regret is worse than Chapter III's full-information O(T)O(\sqrt T)O(T​) rate and Chapter V's RFTL rate, but its per-round cost is a single linear-minimization oracle call, not a projection — exactly the trade that makes it the practical choice for the recommendation-system, routing, and ranking applications the chapter develops in detail. Theorem 7.1's offline rate is independently significant as the field's standard Frank–Wolfe convergence guarantee, reused as the analytical engine (via Eq. (7.2)) for both Lemma 7.4's online bound and, historically, for a large family of projection-free methods outside OCO entirely. No prior art was found on the platform for Frank–Wolfe, conditional gradient, or projection-free methods (q=Frank-Wolfe returned 0 hits during planning); this mission drafts the standard textbook account fresh.

Difficulty

Theorem 7.1's proof is a one-step smoothness-plus-convexity inequality (Eq. (7.2)) combined with an induction lemma (Lemma 7.2, not separately drafted — it is a purely algebraic recursion h_{t+1} ≤ h_t(1-η_t) + η_t²c ⟹ h_t ≤ 4c/t, reused verbatim by Lemma 7.4's own induction and not independently central to the chapter's content). Lemma 7.4's proof is the chapter's most delicate step: it applies Theorem 7.1's offline analysis technique to the online aggregate function FtF_tFt​ — not to any single ftf_tft​, and not even to a fixed function across rounds, since FtF_tFt​ itself changes every round as more gradients accumulate — then combines it with a second inequality (comparing Ft(xt⋆)F_t(x^\star_t)Ft​(xt⋆​) to Ft+1(xt+1⋆)F_{t+1}(x^\star_{t+1})Ft+1​(xt+1⋆​) via strong convexity and Cauchy–Schwarz) and a careful algebraic balancing of the η\etaη, GGG, σt\sigma_tσt​ parameters (Eq. (7.6)) to close the induction. Theorem 7.3's own proof is a second reduction: it relates the algorithm's regret against the true cost sequence ftf_tft​ to Lemma 7.4's bound on FtF_tFt​, via an intermediate comparison to xt⋆x^\star_txt⋆​ (playing the role of Chapter V's RFTL iterates applied to a shifted cost sequence f~t\tilde f_tf~​t​).

Formalization scope

IsLinearMinimizer makes the "projection-free" linear-oracle call (Eq. (7.4)) an explicit, first-class object, reused by both Algorithm 25 and Algorithm 27's definitions, rather than silently replaced by a projection anywhere. SmoothOn is redeclared under this chapter's own sub-namespace (not imported from Chapter II, which is not yet a published series definition); see MODERATION_NOTES.md. AggregateFunction/AggregateGradient give FtF_tFt​ and its closed-form gradient explicitly, matching Algorithm 27 line 4's formula exactly (the book computes ∇Ft\nabla F_t∇Ft​ directly rather than leaving it abstract, so this mission does too). This chunk indexes rounds from 1 throughout (not the 0-indexed Finset.range shift used elsewhere in the series), since Algorithm 27's own line 4 sums τ=1\tau=1τ=1 to t−1t-1t−1 and every theorem in this chapter states a per-round or Finset.Icc 1 T-summed bound directly in the book's own round numbers — a deliberate, chunk-local convention choice, not an inconsistency with earlier chapters' definitions (this chunk does not import them). Lemma 7.4 keeps Theorem 7.3's specific parameters and a GGG-Lipschitz hypothesis as explicit premises, since the book's own proof of the lemma uses them, rather than presenting it as a fully parameter-free general fact.

Not formalized: Lemma 7.2 (a routine algebraic recursion, not independently central, and reused identically inside Lemma 7.4's own proof rather than cited as a numbered result on its own); Algorithm 26 and §7.3.1's matrix-completion specialization, §7.4's routing/ranking/matroid examples, and Corollary-level results (illustrative applications, not further formalizable theorems); §7.1's linear-algebra review (singular values, nuclear norm — background, not a formalization target for this mission).

Selected references

  • E. Hazan, Introduction to Online Convex Optimization, 2nd ed., arXiv:1909.05207v3, Chapter 7.
  • M. Frank, P. Wolfe, "An algorithm for quadratic programming," Naval Research Logistics Quarterly 3(1-2), 1956, 95-110.
  • E. Hazan, S. Kale, "Projection-free online learning," ICML 2012 (the chapter's Algorithm 27).
7 thms3 active usersReviewed
🏆Completed
Linear OptimizationOperations ResearchOptimization+1·Captain: mikedeng1

Introduction to Stochastic Programming III: The L-Shaped Method and Its Finite ConvergenceTextbook

Motivation

Two-stage stochastic programs with recourse — choose a first-stage decision xxx now, observe a random outcome ξ\xiξ, then choose a second-stage recourse decision y(ξ)y(\xi)y(ξ) to repair whatever xxx left infeasible or suboptimal — are the workhorse model of the field, used for capacity planning, inventory and financial portfolio problems since the 1950s (Dantzig 1955; Beale 1955). When ξ\xiξ ranges over a finite set of scenarios, the recourse function QQQ that averages the second-stage cost over scenarios is piecewise linear and convex in xxx, so the overall problem is itself a large linear program — but one whose constraint matrix has a scenario for every column block and can be far too large to hand to a general-purpose LP solver directly. Van Slyke and Wets' L-shaped method (1969), the subject of this mission, is the algorithm that made two-stage recourse problems with finite scenario sets practically solvable: it is Benders decomposition specialized to this block structure, alternating between a small master program over xxx (and a scalar θ\thetaθ approximating the recourse cost) and, at each candidate xxx, a batch of second-stage linear programs that either certify xxx's second-stage feasibility or supply a linear underestimate — a cut — of QQQ around xxx. Birge & Louveaux's Introduction to Stochastic Programming (2nd ed., Springer 2011), Chapter 5 §5.1, gives the algorithm and proves its two central guarantees: a shortcut feasibility test for a special case (Theorem 1) and the algorithm's finite convergence in general (Theorem 2), which is this mission's goal.

Setting

A two-stage recourse instance consists of a first-stage feasible region K1={x∣Ax=b, x≥0}K_1 = \{x \mid Ax = b,\ x \ge 0\}K1​={x∣Ax=b, x≥0} for x∈Rn1x \in \mathbb{R}^{n_1}x∈Rn1​, and, for each of KKK finite scenarios k=1,…,Kk = 1, \dots, Kk=1,…,K (occurring with probability pkp_kpk​), second-stage data (qk,hk,Tk)(q_k, h_k, T_k)(qk​,hk​,Tk​) defining the recourse subproblem

Q(x,ξk)=min⁡y≥0{qk⊤y∣Wy=hk−Tkx},Q(x, \xi_k) = \min_{y \ge 0} \{ q_k^\top y \mid W y = h_k - T_k x \},Q(x,ξk​)=y≥0min​{qk⊤​y∣Wy=hk​−Tk​x},

where the recourse matrix WWW is fixed — the same across every scenario, the case this chapter treats. K2={x∣Q(x,ξk)<∞ for all k}K_2 = \{x \mid Q(x,\xi_k) < \infty \text{ for all } k\}K2​={x∣Q(x,ξk​)<∞ for all k} is the set of xxx for which every scenario's subproblem is feasible, and the two-stage problem is

min⁡x c⊤x+Q(x)s.t.x∈K1∩K2,Q(x)=∑k=1Kpk Q(x,ξk).\min_{x} \ c^\top x + Q(x) \quad \text{s.t.} \quad x \in K_1 \cap K_2, \qquad Q(x) = \sum_{k=1}^K p_k\, Q(x, \xi_k).xmin​ c⊤x+Q(x)s.t.x∈K1​∩K2​,Q(x)=k=1∑K​pk​Q(x,ξk​).

A basis of the recourse subproblem is an injective choice of m2m_2m2​ of WWW's columns (where m2m_2m2​ is WWW's row count); each basis bbb determines a simplex multiplier π=(Wb⊤)−1qb\pi = (W_b^\top)^{-1} q_bπ=(Wb⊤​)−1qb​, and when bbb attains the true optimum of Q(x,ξk)Q(x,\xi_k)Q(x,ξk​), LP duality gives Q(x,ξk)=π⊤(hk−Tkx)Q(x,\xi_k) = \pi^\top(h_k - T_k x)Q(x,ξk​)=π⊤(hk​−Tk​x) — the mechanism that turns a batch of second-stage LP solves into linear cuts on xxx.

Formalization targets

The L-shaped algorithm proceeds in three steps, repeated until neither applies:

  • Step 1 solves the current master program (the K1K_1K1​-feasible xxx, plus θ\thetaθ once at least one optimality cut exists, minimizing c⊤x+θc^\top x + \thetac⊤x+θ subject to every cut recorded so far — or just c⊤xc^\top xc⊤x over K1K_1K1​ before the first optimality cut, matching the book's convention that θ\thetaθ "is set equal to −∞-\infty−∞ and is not considered" until then).
  • Step 2 tests each scenario's second-stage feasibility at the Step-1 optimum via an auxiliary LP; if some scenario fails (the LP's optimal value is positive), its optimal basis yields a feasibility cut and the algorithm returns to Step 1.
  • Step 3, once every scenario is feasible, checks whether θ\thetaθ already dominates the true recourse cost at xxx (using each scenario's optimal basis via LP duality); if not, an optimality cut is added and the algorithm returns to Step 1; if so, xxx is optimal and the algorithm stops.

Goal — Chapter 5, Theorem 2 (p. 198)

When ξ is a finite random variable, the L-shaped algorithm finitely converges to\text{When } \xi \text{ is a finite random variable, the L-shaped algorithm finitely converges to}When ξ is a finite random variable, the L-shaped algorithm finitely converges to an optimal solution when it exists, or proves K1∩K2=∅.\text{an optimal solution when it exists, or proves } K_1 \cap K_2 = \varnothing.an optimal solution when it exists, or proves K1​∩K2​=∅.

Formalized as: starting from the empty cut set, there is a finite-length run of the algorithm's Step-1/2/3 transition relation, of length bounded by the total number of distinct feasibility- and optimality-cut witnesses available, ending at a state admitting no further step — at which point either the master program has become infeasible (certifying K1∩K2=∅K_1 \cap K_2 = \varnothingK1​∩K2​=∅) or its optimum is second-stage feasible, passes every fresh Step-3 test, and is optimal for the two-stage problem.

Milestone — Chapter 5, Theorem 1 (p. 194)

If T is deterministic, W is such that every t≥0 lies in pos W,\text{If } T \text{ is deterministic, } W \text{ is such that every } t \ge 0 \text{ lies in } \mathrm{pos}\,W,If T is deterministic, W is such that every t≥0 lies in posW, and a=min⁡khk (componentwise) is attained by some scenario hℓ,\text{and } a = \min_k h_k \text{ (componentwise) is attained by some scenario } h_\ell,and a=kmin​hk​ (componentwise) is attained by some scenario hℓ​, then x∈K2  ⟺  ∃ y≥0, Wy=a−Tx.\text{then } x \in K_2 \iff \exists\, y \ge 0,\ Wy = a - Tx.then x∈K2​⟺∃y≥0, Wy=a−Tx.

A shortcut avoiding KKK separate feasibility LPs at Step 2: under these structural assumptions on WWW, checking feasibility at the single componentwise-worst right-hand side certifies feasibility at every scenario simultaneously.

Significance

Van Slyke and Wets' method (and Benders decomposition more generally, of which it is the recourse-problem specialization) underlies essentially every large-scale two-stage stochastic program solved in practice, and its finite-convergence guarantee — not merely that an optimum exists, but that this specific cutting-plane procedure reaches it in finitely many outer iterations — is what makes the method a decision procedure rather than a heuristic. The proof's content is an explicit finiteness argument (the number of distinct simplex bases of the recourse subproblem and the feasibility-test LP is finite, so the algorithm cannot generate infinitely many distinct cuts before either exhausting the feasible region or converging), not a general compactness or fixed-point argument; formalizing it means formalizing the cutting-plane mechanism itself as a transition system and proving termination combinatorially, over the finite type of available bases, rather than proving only that some optimal xxx exists.

Difficulty

The natural shortcut — state only "an optimal xxx exists, or K1∩K2=∅K_1 \cap K_2 = \varnothingK1​∩K2​=∅" — is not Theorem 2's actual content and is not what this mission targets: that weaker claim would already follow from K1∩K2K_1 \cap K_2K1​∩K2​ being a nonempty polyhedron (or empty), with no reference to the algorithm at all, and would not require the finiteness-of-bases argument the book's proof turns on. The genuine difficulty is representing Steps 1-3 faithfully as a relation on accumulating cut sets, and pinning the termination bound to the actual combinatorial object the book cites (the finite set of bases of the two LPs the algorithm solves at each iteration) rather than to a numeral or an abstract compactness bound. A second, quieter difficulty is Step 1's own optimum: once optimality cuts exist, the master program optimizes c⊤x+θc^\top x + \thetac⊤x+θ jointly, but before the first one it optimizes c⊤xc^\top xc⊤x alone; conflating the two (e.g. always requiring θ\thetaθ to be part of the optimum) does not match Step 1 as the book states it.

Formalization scope

First-stage and second-stage vectors are Fin n1 → ℝ / Fin n2 → ℝ; the finite scenario set is Fin K with probability vector p. A basis is {b : Fin m2 → Fin n2 // Function.Injective b} (m2 = the recourse matrix's row count), matching "an injective choice of m2m_2m2​ columns of WWW"; its finiteness is definitional, from Fin m2 → Fin n2 being finite. Simplex multipliers use Matrix.inv, whose junk value 0 on a singular matrix is never reachable in a proof because multipliers are only ever used through an IsOptimalAt/IsFeasBasisOptimalAt hypothesis that pins the basis to one genuinely attaining the LP's true optimum. The recourse value Q(x,ξk)Q(x,\xi_k)Q(x,ξk​) is EReal-valued (reusing this series' Instance/QVal convention from Chunk 03), so an optimality-cut witness's claimed value is compared to it by an explicit EReal cast, never by EReal arithmetic. The algorithm's state is a pair of finite sets of witnesses recorded so far (Finset (Fin K × FeasBasis n2 m2) × Finset (Fin K → Basis n2 m2)); Step is an inductive relation with one constructor per Step-2 and Step-3 branch, each requiring its witness not already recorded, and the goal states a bounded-length Step-path from the empty state to a state admitting no further Step. This mission does not restate Chapter 3's polyhedrality fact about K2K_2K2​ as a separate lemma: the finiteness fact it is invoked for is already exposed directly and structurally by the finite Fintype bound on the number of bases, so no additional axiom stands in for it (see MODERATION_NOTES.md). Lemmas 3-9 and Theorem 10 of §5.2 (Regularized Decomposition, a different algorithm) are out of scope. The trivializing formalization this mission rules out is exactly the one named under Difficulty above: a bare existence-of-optimal-or- infeasible-xxx statement with no reference to Steps 1-3 or to a finite bound on the number of iterations — such a statement would be true of any nonempty polyhedron and would not be Theorem 2.

Selected references

  • R. Van Slyke and R. Wets, L-Shaped Linear Programs with Applications to Optimal Control and Stochastic Programming, SIAM Journal on Applied Mathematics, 17(4), 1969, pp. 638-663. https://doi.org/10.1137/0117061
  • J. Birge and F. Louveaux, Introduction to Stochastic Programming, 2nd ed., Springer, 2011, Chapter 5. https://doi.org/10.1007/978-1-4614-0237-4
  • G. Dantzig, Linear Programming under Uncertainty, Management Science, 1(3-4), 1955, pp. 197-206. https://doi.org/10.1287/mnsc.1.3-4.197
6 thms3 active users
🏆Completed
Machine LearningProbabilityRandom Matrix Theory+1·Captain: mikedeng1

High-Dimensional Probability III: Grothendieck's InequalityTextbook

Motivation

Many hard combinatorial optimization problems — finding the maximum cut of a graph, deciding the ground state of an Ising spin system, bounding the correlation of a physical system — can be written as maximizing a bilinear form over sign vectors xi∈{−1,1}x_i \in \{-1, 1\}xi​∈{−1,1}. Exhaustive search over 2n2^n2n sign patterns is intractable, so practitioners relax the problem: replace each sign xix_ixi​ by a unit vector XiX_iXi​ in a higher-dimensional space and optimize the resulting inner products instead. This relaxation, a semidefinite program, is convex and solvable in polynomial time. The question is how much is lost in the relaxation — whether its optimal value can be far from the true, combinatorial optimum.

Grothendieck's inequality, proved by Alexander Grothendieck in 1953 in the context of Banach space theory (Résumé de la théorie métrique des produits tensoriels topologiques, Bol. Soc. Mat. São Paulo 8 (1953), 1–79), answers this for a broad class of such relaxations: replacing signs by unit vectors in an arbitrary Hilbert space changes the optimal value by at most an absolute, dimension-free constant factor. The inequality has since become a standard tool across combinatorial optimization, Banach space geometry, and (via the Goemans-Williamson algorithm for maximum cut, Section 3.6 of the source) approximation algorithms; see U. Haagerup, The Grothendieck inequality for bilinear forms on C∗C^*C∗-algebras, Adv. Math. 56 (1985) for the tightest known constant, and Alon–Naor, Approximating the cut-norm via Grothendieck's inequality, SIAM J. Comput. 35 (2006), for the algorithmic connection this mission's Theorem 3.5.6 sets up.

Setting

Fix positive integers m,nm, nm,n. Consider a real m×nm \times nm×n matrix A=(aij)A = (a_{ij})A=(aij​). Say AAA is normalized if for every choice of numbers x1,…,xm,y1,…,yn∈{−1,1}x_1, \dots, x_m, y_1, \dots, y_n \in \{-1, 1\}x1​,…,xm​,y1​,…,yn​∈{−1,1},

∣∑i=1m∑j=1naij xiyj∣  ≤  1.\Bigl| \sum_{i=1}^m \sum_{j=1}^n a_{ij}\, x_i y_j \Bigr| \;\le\; 1.​i=1∑m​j=1∑n​aij​xi​yj​​≤1.

This says AAA, viewed as a bilinear form on {−1,1}m×{−1,1}n\{-1,1\}^m \times \{-1,1\}^n{−1,1}m×{−1,1}n, has sup-norm at most 111. Now let HHH be any real Hilbert space — a real vector space equipped with an inner product ⟨⋅,⋅⟩\langle \cdot, \cdot \rangle⟨⋅,⋅⟩ complete in the induced norm — and consider vectors u1,…,um∈Hu_1, \dots, u_m \in Hu1​,…,um​∈H and v1,…,vn∈Hv_1, \dots, v_n \in Hv1​,…,vn​∈H, each of unit norm ∥ui∥=∥vj∥=1\|u_i\| = \|v_j\| = 1∥ui​∥=∥vj​∥=1. Replacing the scalar product xiyjx_i y_jxi​yj​ by the inner product ⟨ui,vj⟩\langle u_i, v_j \rangle⟨ui​,vj​⟩ in the same bilinear form gives ∑i,jaij⟨ui,vj⟩\sum_{i,j} a_{ij} \langle u_i, v_j \rangle∑i,j​aij​⟨ui​,vj​⟩, a real number depending on the choice of HHH and of the unit vectors. The question is how large this can be, uniformly over every such choice.

Formalization targets

Grothendieck's inequality (Theorem 3.5.1)

A normalized  ⟹  ∣∑i,jaij ⟨ui,vj⟩∣  ≤  KA \text{ normalized} \;\Longrightarrow\; \Bigl| \sum_{i,j} a_{ij}\, \langle u_i, v_j\rangle \Bigr| \;\le\; KA normalized⟹​i,j∑​aij​⟨ui​,vj​⟩​≤K

for every real Hilbert space HHH and unit vectors ui,vj∈Hu_i, v_j \in Hui​,vj​∈H, where KKK is a constant depending on neither AAA, its dimensions, nor HHH. This mission's goal formalizes the book's own first-pass bound K≤288K \le 288K≤288 (Section 3.5), proved by a Gaussian truncation argument; it does not fix a numeral for KKK, only that some absolute constant works, matching the shape of the true statement rather than a specific numeral that a sharper argument (the book's own Section 3.7 gives K≤1.783K \le 1.783K≤1.783) would immediately obsolete. See Formalization scope below for why this is the goal, not the sharper bound.

Significance

The result itself. Grothendieck's inequality is the single fact that makes semidefinite relaxation a provably good algorithmic strategy rather than a heuristic: whatever the true, hard-to-compute combinatorial optimum of a {−1,1}\{-1,1\}{−1,1}-valued bilinear optimization is, the tractable Hilbert-space relaxation cannot overshoot it by more than the constant KKK. Milestone Theorem 3.5.6 makes this concrete for positive-semidefinite matrices, showing the semidefinite relaxation SDP(A)(A)(A) of the integer program INT(A)(A)(A) satisfies INT(A)≤(A) \le(A)≤ SDP(A)≤2K⋅(A) \le 2K \cdot(A)≤2K⋅ INT(A)(A)(A) — the guarantee underlying the Goemans-Williamson 0.878-approximation algorithm for maximum cut (Theorem 3.6.5 of the source, out of scope for this mission; see Formalization scope).

Formalizing it. The inequality and its two chapter milestones are proved but not previously formalized on this platform (checked by concept search for "Grothendieck", "semidefinite", "positive-semidefinite", and "max-cut" — no hits beyond the unrelated Grothendieck-Teichmüller group). What remains after this mission is the sharper K≤1.783K \le 1.783K≤1.783 argument of Section 3.7 (the "kernel trick"), a separate, heavier development building on positive-definite kernels, and full proofs of every milestone below (currently open sorry goals).

Difficulty

The statement of Grothendieck's inequality contains no randomness, yet every known elementary proof is probabilistic; this is itself a striking feature of the result. The obvious approach — bound ∑i,jaij⟨ui,vj⟩\sum_{i,j} a_{ij}\langle u_i,v_j\rangle∑i,j​aij​⟨ui​,vj​⟩ directly by exploiting the normalization hypothesis on AAA — fails because the normalization hypothesis only controls AAA against sign vectors, and there is no way to project an arbitrary unit vector in a Hilbert space onto {−1,1}\{-1,1\}{−1,1} without losing information. The book's proof instead represents each unit vector ui,vju_i, v_jui​,vj​ via a scalar Gaussian random variable ⟨g,ui⟩\langle g, u_i\rangle⟨g,ui​⟩ for a single Gaussian vector ggg, recovering the inner products in expectation (Exercise 3.3.5); but these Gaussian variables are unbounded, so the normalization hypothesis (which bounds AAA against bounded ±1\pm 1±1 inputs) cannot be applied to them directly. The core technical step is a truncation argument: splitting each Gaussian variable into a bounded part and a small-L2L^2L2-norm unbounded remainder, applying the hypothesis to the bounded parts, and bounding the remainder terms by treating them as elements of the Hilbert space L2L^2L2 and invoking the very inequality being proved (Theorem 3.5.1 itself, applied with H=L2H = L^2H=L2) as a self-referential bootstrap — this is why the proof fixes KKK as the smallest valid constant before starting, rather than building it up from scratch.

Formalization scope

The goal and both milestones work with the real matrix and real inner product space directly; H is required to be a complete real inner product space (NormedAddCommGroup, InnerProductSpace ℝ, CompleteSpace), matching the book's "any Hilbert space." No dimension bound on HHH is imposed — the inequality's content is exactly that KKK does not grow with dim⁡H\dim HdimH.

This mission does not formalize the sharper K≤1.783K \le 1.783K≤1.783 bound of Section 3.7, nor Theorem 3.6.5 (the 0.878-approximation guarantee for maximum cut via randomized rounding): the latter's statement quantifies over "the result of a randomized rounding of the solution of the semidefinite program," which would drag a specific algorithm into the audited statement rather than keeping it a self-contained mathematical claim (the statement/proof-separation trap this series' triage rubric flags). Grothendieck's identity (Lemma 3.6.6), the key fact behind that rounding step, is included on its own as a milestone, stated with an explicit, named random sign variable rather than an opaque "rounding procedure."

A trivializing formalization would state the goal with KKK allowed to depend on AAA, mmm, nnn, or HHH — every such bound is easy (e.g. K=∑ij∣aij∣K = \sum_{ij} |a_{ij}|K=∑ij​∣aij​∣) and carries none of the theorem's content; the Lean statement rules this out by quantifying KKK before every other object. INT(A)\mathrm{INT}(A)INT(A) and SDP(A)\mathrm{SDP}(A)SDP(A) (Theorem 3.5.6) are defined from scratch in this chunk's namespace, using Matrix.PosSemidef from Mathlib for the positive-semidefiniteness hypothesis (which bundles the real-symmetric condition); Mathlib has no ready-made SDP-value construction to reuse. The sub-gaussian (Orlicz ψ2\psi_2ψ2​) norm used by Theorem 3.1.1 is reused, unchanged, from the 01-concentration mission in this series (HighDimProb.Concentration.SubgaussianNorm) rather than redefined.

Selected references

  • A. Grothendieck, Résumé de la théorie métrique des produits tensoriels topologiques, Bol. Soc. Mat. São Paulo 8 (1953), 1–79.
  • U. Haagerup, The Grothendieck inequality for bilinear forms on C∗C^*C∗-algebras, Adv. Math. 56 (1985), 93–116.
  • N. Alon, A. Naor, Approximating the cut-norm via Grothendieck's inequality, SIAM J. Comput. 35 (2006), 787–803.
  • M. X. Goemans, D. P. Williamson, Improved approximation algorithms for maximum cut and satisfiability problems using semidefinite programming, J. ACM 42 (1995), 1115–1145.
  • R. Vershynin, High-Dimensional Probability: An Introduction with Applications in Data Science, Cambridge University Press, 2018, Chapter 3, DOI 10.1017/9781108231596.
8 thms3 active usersReviewed
🏆Completed
Algorithmic Game TheoryLinear OptimizationMachine Learning+1·Captain: mikedeng1

Introduction to Online Convex Optimization VIII: Solving Zero-Sum Games and Linear Programs via Regret MinimizationTextbook

Motivation

Two-player zero-sum games and linear programming are, on their surface, unrelated pieces of 20th-century mathematics: von Neumann's minimax theorem for games (1928) was proved with tools from topology, and linear programming duality (Dantzig, 1940s) with convexity and geometry. Yet the two are formally equivalent — Dantzig recounts von Neumann conjecturing the equivalence outright, on first hearing a description of linear programming, because he had "just recently completed a book with Oscar Morgenstern on the theory of games" [Albers, Alexanderson, and Reid, More Mathematical People, 1990]. Freund and Schapire (1999) later showed that both concepts reduce, in one uniform way, to online regret minimization: a decades-old topological existence proof and a decades-old LP-duality argument both become corollaries of a single fact about no-regret learning. This mission formalizes the algorithmic content of that reduction — Hazan's Lemma 8.4, which is not merely an existence statement but a concrete, efficient algorithm with an explicit convergence rate.

Setting

A two-player zero-sum game in normal form is a real matrix A∈Rn×mA \in \mathbb{R}^{n \times m}A∈Rn×m (Hazan restricts entries to [−1,1][-1,1][−1,1] for interpretability as losses/rewards, a convention this mission's theorems drop as inessential — the argument is invariant to scaling and shifting). The row player picks a mixed strategy xxx in the probability simplex Δn={x∈Rn:xi≥0,∑ixi=1}\Delta_n = \{x \in \mathbb{R}^n : x_i \ge 0, \sum_i x_i = 1\}Δn​={x∈Rn:xi​≥0,∑i​xi​=1}; the column player picks y∈Δmy \in \Delta_my∈Δm​. The row player's expected loss, and simultaneously the column player's expected reward, is the bilinear form xTAyx^{\mathsf T} A yxTAy.

The row player's guaranteed loss is λR=min⁡x∈Δnmax⁡y∈ΔmxTAy\lambda_R = \min_{x \in \Delta_n} \max_{y \in \Delta_m} x^{\mathsf T} A yλR​=minx∈Δn​​maxy∈Δm​​xTAy: the smallest loss she can secure no matter what the column player does. Symmetrically, the column player's guaranteed reward is λC=max⁡y∈Δmmin⁡x∈ΔnxTAy\lambda_C = \max_{y \in \Delta_m} \min_{x \in \Delta_n} x^{\mathsf T} A yλC​=maxy∈Δm​​minx∈Δn​​xTAy. Always λR≥λC\lambda_R \ge \lambda_CλR​≥λC​ ("weak duality" — an elementary max-min/min-max inequality, Direction 1 of Section 8.3). Von Neumann's minimax theorem (Theorem 8.3) is the nontrivial converse: λR=λC\lambda_R = \lambda_CλR​=λC​, a common value λ⋆\lambda^\starλ⋆ called the value of the game, whose optimal strategies form a Nash equilibrium — already on the platform as AGT.zero_sum_minimax.

Algorithm 28 ("Simple LP", p. 147) computes an approximate equilibrium constructively. The row player runs a multiplicative-weights / Exponentiated Gradient update against the sequence of best-response losses the column player generates in a repeated TTT-round play of the game: starting from the uniform strategy x1=(1/n,…,1/n)x_1 = (1/n, \dots, 1/n)x1​=(1/n,…,1/n), at each round ttt the column player best-responds with yt∈arg⁡max⁡y∈ΔmxtTAyy_t \in \arg\max_{y \in \Delta_m} x_t^{\mathsf T} A yyt​∈argmaxy∈Δm​​xtT​Ay, and the row player updates xt+1(i)∝xt(i) e−η(Ayt)ix_{t+1}(i) \propto x_t(i)\, e^{-\eta (A y_t)_i}xt+1​(i)∝xt​(i)e−η(Ayt​)i​. The algorithm returns the time-averaged strategy xˉ=1T∑t=1Txt\bar{x} = \frac{1}{T}\sum_{t=1}^T x_txˉ=T1​∑t=1T​xt​.

Formalization targets

Goal — Lemma 8.4

max⁡y′∈ΔmxˉTAy′  ≤  λR(A)+2log⁡nT\max_{y' \in \Delta_m} \bar{x}^{\mathsf T} A y' \;\le\; \lambda_R(A) + \frac{\sqrt{2 \log n}}{\sqrt{T}}y′∈Δm​max​xˉTAy′≤λR​(A)+T​2logn​​

for the vector xˉ\bar{x}xˉ returned by Algorithm 28 after TTT rounds with learning rate η=2log⁡n/T\eta = \sqrt{2 \log n / T}η=2logn/T​. The book calls xˉ\bar{x}xˉ a "2log⁡n/T\sqrt{2 \log n}/\sqrt{T}2logn​/T​-approximate solution" to the zero-sum game — and, via Section 8.2.1's equivalence, to the linear program the game encodes — in exactly this sense. The goal is stated against λR\lambda_RλR​, the quantity the algorithm's own analysis produces; Theorem 8.3 identifies it with λC\lambda_CλC​ and with the book's λ⋆\lambda^\starλ⋆, so nothing about the bound is lost by this choice of rendering.

Supporting milestone — Eq. (8.1)

∑t=0T−1xtTAyt  ≤  min⁡x′∈Δn∑t=0T−1(x′)TAyt  +  2Tlog⁡n\sum_{t=0}^{T-1} x_t^{\mathsf T} A y_t \;\le\; \min_{x' \in \Delta_n} \sum_{t=0}^{T-1} (x')^{\mathsf T} A y_t \;+\; \sqrt{2T \log n}t=0∑T−1​xtT​Ayt​≤x′∈Δn​min​t=0∑T−1​(x′)TAyt​+2Tlogn​

the external-regret bound the row player's multiplicative-weights update achieves against the adaptively-chosen linear loss sequence ft(⋅)=(⋅)TAytf_t(\cdot) = (\cdot)^{\mathsf T} A y_tft​(⋅)=(⋅)TAyt​ — the single analytical fact the goal's proof needs.

Significance

The result itself. Lemma 8.4 gives a genuinely efficient algorithm: O(log⁡n/ε2)O(\log n / \varepsilon^2)O(logn/ε2) rounds of a trivial multiplicative update to reach an ε\varepsilonε-approximate value and equilibrium of an n×mn \times mn×m zero-sum game, and — through the equivalence with LP duality — an approximation algorithm for a broad class of linear programs, predating and prefiguring the multiplicative-weights-based approximation schemes surveyed by Arora, Hazan, and Kale (2012). It is also the constructive engine behind Theorem 8.3: unlike the classical topological proof of the minimax theorem, this one produces the equilibrium, not just its existence.

Formalizing it. The equilibrium-existence half of this story, Theorem 8.3, is already a published, proved-format Prove2Me theorem (AGT.zero_sum_minimax, from the Algorithmic Game Theory series) and is reused here as a reference item rather than redrafted. What that theorem does not capture — and what makes this mission non-trivial rather than a restatement — is the quantitative, algorithmic content: that one specific, simple, Hedge-type update, run for a specific number of rounds, provably gets within a specific, explicit distance of the value, using only the existence of some sublinear-regret online algorithm as a black box.

Difficulty

The tempting shortcut is to formalize only "no-regret learning dynamics converge to an equilibrium" as a qualitative statement, discharging it by citing AGT.zero_sum_minimax (equilibria exist) plus a generic regret bound. That collapses Lemma 8.4 into a restatement of Theorem 8.3 and drops exactly what is new here: the explicit rate 2log⁡n/T\sqrt{2\log n}/\sqrt{T}2logn​/T​, tied to one concrete update rule (Algorithm 28) rather than an arbitrary sublinear-regret black box. The real content is in chaining three quantitative facts — Eq. (8.1)'s specific regret bound for the multiplicative-weights update, the column player's best-response equality (Eq. (8.2)), and the definitional unfolding of λR\lambda_RλR​ — with none of the slack that a purely qualitative "an algorithm with sublinear regret exists" argument would tolerate.

Formalization scope

Matrices are Matrix (Fin n) (Fin m) ℝ with n, m ≥ 1 (empty strategy sets are excluded throughout, matching this mission's reference item AGT.zero_sum_minimax); mixed strategies use Mathlib's stdSimplex ℝ (Fin n). lambdaR/lambdaC are rendered with iInf/iSup over simplex membership, the same convention Introduction to Online Convex Optimization III fixed for RegretT earlier in this series. Algorithm 28's run is packaged as a Prop-valued structure (IsSimpleLPRun) rather than a computable function, in the style of this series' other algorithm-run definitions (IsHedgeRun, IsOnlineGradientDescent): initial uniform strategy, a best-response condition on the column player at every round, and the multiplicative-weights recursion on the row player, with the learning rate η left free and fixed to √(2 log n / T) only at the point the theorems need the book's specific constant.

The trivializing risk here is stating only that some sublinear-regret algorithm secures the bound (already implied, vacuously, by AGT.zero_sum_minimax plus any regret bound); this mission rules that out by fixing the exact update rule of Algorithm 28 in IsSimpleLPRun and proving the bound for that rule specifically, with the book's exact constant √(2 log n)/√T, not an unspecified O(·).

Chapter 5's Corollary 5.7 (the general RFTL/Exponentiated-Gradient regret bound) belongs to a different mission of this series and is not imported; eg_regret_bound restates, locally and self-containedly, exactly the instance of it this chapter's proof needs. A later mission for Chapter 5, once published, could supersede this local restatement by specializing its general bound — a natural contribution for a solver with that mission's Lean available.

Selected references

  • J. von Neumann, "Zur Theorie der Gesellschaftsspiele", Mathematische Annalen, 1928.
  • Y. Freund and R. E. Schapire, "Adaptive Game Playing Using Multiplicative Weights", Games and Economic Behavior, 1999. https://doi.org/10.1006/game.1999.0738
  • E. Hazan, Introduction to Online Convex Optimization, 2nd ed., 2022. arXiv:1909.05207v3
  • N. Nisan, T. Roughgarden, E. Tardos, and V. V. Vazirani (eds.), Algorithmic Game Theory, Cambridge University Press, 2007. https://doi.org/10.1017/CBO9780511800481
  • S. Arora, E. Hazan, and S. Kale, "The Multiplicative Weights Update Method: a Meta-Algorithm and Applications", Theory of Computing, 2012. https://doi.org/10.4086/toc.2012.v008a006
5 thms3 active usersReviewed
🏆Completed
Functional AnalysisOptimization·Captain: wenxinzhang

Vector Space Methods V: Convex Separation and Distance DualityTextbook

Motivation

Linear approximation is only one instance of distance minimization. Feasible sets in optimization are typically convex rather than subspaces, so a useful certificate must compare a target point with an entire convex set and must allow an affine offset. Chapter 5 of Luenberger's Optimization by Vector Space Methods builds this certificate through geometric forms of the Hahn--Banach theorem, supporting hyperplanes, and separation of convex sets. The resulting minimum-distance theorem expresses the distance from a point to a convex set as an optimal gap measured by a norm-bounded continuous linear functional (Luenberger, §§5.12--5.13, pp. 130--137).

This mission advances the series from subspace annihilators to affine separation. It formalizes the Minkowski gauge used by the chapter, three progressively stronger separation statements, and a capstone distance-duality certificate. These results are standard infrastructure for constrained optimization: they turn a geometric exclusion or distance into a scalar inequality that can later become a multiplier or a dual bound.

Setting

Let XXX be a real normed space and K⊆XK\subseteq XK⊆X a nonempty convex set. Convexity is represented by Convex ℝ K, and topological interior, closure, and infimum distance use Mathlib's interior, closure, and Metric.infDist. A continuous affine separator is described by a continuous linear functional f:X\toL[R]Rf:X\toL[\mathbb R]\mathbb Rf:X\toL[R]R and a scalar level ccc. The inequality f(k)≤cf(k)\le cf(k)≤c for all k∈Kk\in Kk∈K places KKK in one closed half-space.

When a convex set contains zero in its interior, its Minkowski gauge is the functional gauge K. The source characterizes it by nonnegativity, positive homogeneity, subadditivity, continuity, and the level sets

{x:gK(x)≤1}=K‾,{x:gK(x)<1}=int⁡K.\{x:g_K(x)\le 1\}=\overline K, \qquad \{x:g_K(x)<1\}=\operatorname{int}K.{x:gK​(x)≤1}=K,{x:gK​(x)<1}=intK.

These properties are bundled into the first milestone, following Lemma 1 of §5.12 (pp. 131--132).

For two convex sets K1,K2K_1,K_2K1​,K2​, Eidelheit separation means finding nonzero fff and ccc with f(x)≤c≤f(y)f(x)\le c\le f(y)f(x)≤c≤f(y) for x∈K1x\in K_1x∈K1​ and y∈K2y\in K_2y∈K2​. The source assumes that K1K_1K1​ has nonempty interior and that its interior does not meet K2K_2K2​. The Lean statement records the nonemptiness of K2K_2K2​ explicitly, since otherwise nonzero separation is not forced.

Formalization targets

Gauge and geometric Hahn--Banach milestones

Formalize the six gauge properties above. Then, for a convex KKK with nonempty interior and an affine subspace VVV disjoint from that interior, produce f≠0f\ne0f=0 and ccc such that

f(v)=c(v∈V),f(k)<c(k∈int⁡K).f(v)=c\quad(v\in V), \qquad f(k)<c\quad(k\in\operatorname{int}K).f(v)=c(v∈V),f(k)<c(k∈intK).

This is Mazur's geometric Hahn--Banach theorem as stated in §5.12, Theorem 1 (p. 133).

Supporting hyperplanes and convex-set separation

For x∉int⁡Kx\notin\operatorname{int}Kx∈/intK, formalize a nonzero functional satisfying f(k)≤f(x)f(k)\le f(x)f(k)≤f(x) for all k∈Kk\in Kk∈K. Next formalize Eidelheit separation:

f(x)≤c≤f(y)for all x∈K1, y∈K2.f(x)\le c\le f(y) \quad\text{for all }x\in K_1,\ y\in K_2.f(x)≤c≤f(y)for all x∈K1​, y∈K2​.

These are Theorems 2 and 3 of §5.12 (pp. 133--134).

Convex minimum-distance duality

Let x1x_1x1​ have positive distance ddd from KKK. Produce fff and a real upper-bound level ccc with ∥f∥≤1\|f\|\le1∥f∥≤1, f(k)≤cf(k)\le cf(k)≤c on KKK, and

f(x1)−c=d.f(x_1)-c=d.f(x1​)−c=d.

Every other feasible pair (g,b)(g,b)(g,b) must satisfy g(x1)−b≤dg(x_1)-b\le dg(x1​)−b≤d. If x0∈Kx_0\in Kx0​∈K realizes the distance, require −f-f−f to align with x0−x1x_0-x_1x0​−x1​. This is the finite real certificate form of §5.13, Theorem 1 (pp. 136--137).

Significance

The capstone is an exact strong-duality statement for distance to a convex set. A feasible pair (g,b)(g,b)(g,b) yields a certified lower bound on the distance, and the distinguished pair reaches the primal value. Unlike a nearest-point characterization, it remains meaningful when KKK is not closed and no minimizing point exists. The conditional alignment clause identifies the equality case when attainment is available.

Formalizing the chapter's progression creates more than one isolated equality. The gauge package links convex geometry to sublinear analysis; Mazur separation handles affine constraints; the supporting-hyperplane and Eidelheit statements provide reusable interfaces for later multiplier rules. The results are known and proved in the 1969 text; the mission's contribution is a coherent machine-checked Lean layer that preserves the source hypotheses and can support later chapters on duality and optimization.

Difficulty

A direct reuse of subspace distance duality is insufficient because a general convex set is neither closed under subtraction nor described by an annihilator. An affine level ccc is unavoidable. The common shorthand sup⁡k∈Kf(k)\sup_{k\in K} f(k)supk∈K​f(k) introduces a second problem: KKK need not be bounded, so a real-valued supremum is not available for an arbitrary functional. The capstone therefore quantifies over a real upper bound ccc and asserts its optimality through a universal inequality; this records the same finite support value without imposing boundedness absent from the source.

Topological hypotheses also differ across the milestones. Separation uses nonempty interior, whereas the final distance theorem only assumes convexity, nonemptiness, and positive distance. Replacing positive distance by mere exclusion x1∉Kx_1\notin Kx1​∈/K would be invalid for a nonclosed set. Similarly, requiring closure or compactness would make formalization easier but would lose the theorem's intended infinite-dimensional scope.

Formalization scope

The mission is restricted to real normed spaces. Sets use Set X; affine varieties use AffineSubspace ℝ X; separators use ContinuousLinearMap. The gauge is Mathlib's existing gauge, so no competing definition is introduced. The bundled gauge milestone deliberately includes both level-set identities as well as continuity, positive homogeneity for positive real scalars, subadditivity, and nonnegativity.

The Eidelheit theorem includes K₂.Nonempty, an assumption used implicitly by the source's separating conclusion. The capstone includes K.Nonempty and 0 < Metric.infDist x₁ K; it does not assume closedness, boundedness, compactness, or attainment. Its pair (f,c)(f,c)(f,c) represents a finite support level, and the universal comparison over all feasible (g,b)(g,b)(g,b) rules out a weakened statement in which an arbitrarily loose upper bound could trivialize existence. The optional nearest-point clause uses the exact equality ∥x0−x1∥=d\|x_0-x_1\|=d∥x0​−x1​∥=d and fixes the sign of alignment. Contributions may add reusable lemmas on gauges, interiors, affine subspaces, or support bounds, but the public results should remain independent of finite-dimensionality and completeness.

Selected references

  • David G. Luenberger, Optimization by Vector Space Methods, John Wiley & Sons, 1969, Chapter 5, §§5.11--5.13, pp. 127--137. Public scan.
6 thms3 active usersReviewed
🏆Completed
Operations Research·Captain: wenxinzhang

Vector Space Methods IX: Global Lagrange DualityTextbook

Motivation

Many convex programs impose inequalities valued in a vector space: componentwise inequalities, positive-semidefinite constraints, and families of ordered resource constraints are all instances of one cone order. Chapter 8 of David G. Luenberger's Optimization by Vector Space Methods develops a global theory for this setting. A perturbation of the constraint produces a convex value function, continuous linear functionals positive on the ordering cone become Lagrange multipliers, and a strict-feasibility condition yields an attained dual optimum. This mission formalizes the progression in §§8.2–8.6, culminating in the book's Lagrange Duality Theorem.

Setting

Let XXX and ZZZ be real normed spaces, let Ω⊆X\Omega\subseteq XΩ⊆X be a nonempty convex set, and let P⊆ZP\subseteq ZP⊆Z be a convex cone. The cone induces the relation

z1≤Pz2⟺z2−z1∈P.z_1\le_P z_2\quad\Longleftrightarrow\quad z_2-z_1\in P.z1​≤P​z2​⟺z2​−z1​∈P.

A continuous linear functional z∗∈Z∗z^*\in Z^*z∗∈Z∗ is dual-positive when z∗(p)≥0z^*(p)\ge0z∗(p)≥0 for every p∈Pp\in Pp∈P. A map G:X→ZG:X\to ZG:X→Z is cone-convex on Ω\OmegaΩ when its value at a convex combination is below the corresponding convex combination of its values in this cone order. The primal program is

μ=inf⁡{f(x):x∈Ω, G(x)≤P0},\mu=\inf\{f(x):x\in\Omega,\ G(x)\le_P0\},μ=inf{f(x):x∈Ω, G(x)≤P​0},

where fff is real-valued and convex on Ω\OmegaΩ.

For a multiplier z∗z^*z∗, the Lagrangian and its possibly infinite dual value are

L(x,z∗)=f(x)+z∗(G(x)),ϕ(z∗)=inf⁡x∈ΩL(x,z∗).L(x,z^*)=f(x)+z^*(G(x)),\qquad \phi(z^*)=\inf_{x\in\Omega}L(x,z^*).L(x,z∗)=f(x)+z∗(G(x)),ϕ(z∗)=x∈Ωinf​L(x,z∗).

The perturbed primal value ω(z)\omega(z)ω(z) replaces the zero right-hand side by G(x)≤PzG(x)\le_P zG(x)≤P​z. Lean represents ω\omegaω and ϕ\phiϕ in EReal, so infeasible perturbations have value +∞+\infty+∞ and objectives unbounded below can have value −∞-\infty−∞ without arbitrary defaults.

Formalization targets

Main goal: Lagrange duality

Assume PPP has nonempty interior, the primal value μ\muμ is finite, and there is a strictly feasible point xs∈Ωx_s\in\Omegaxs​∈Ω with

−G(xs)∈int⁡P.-G(x_s)\in\operatorname{int}P.−G(xs​)∈intP.

Prove that a dual-positive z0∗z_0^*z0∗​ exists and attains

μ=ϕ(z0∗)=max⁡z∗ dual-positiveϕ(z∗).\mu=\phi(z_0^*)= \max_{z^*\ \text{dual-positive}}\phi(z^*).μ=ϕ(z0∗​)=z∗ dual-positivemax​ϕ(z∗).

If x0x_0x0​ attains the primal infimum, also prove complementarity z0∗(G(x0))=0z_0^*(G(x_0))=0z0∗​(G(x0​))=0 and that x0x_0x0​ minimizes L( ⋅ ,z0∗)L(\,·\,,z_0^*)L(⋅,z0∗​) over Ω\OmegaΩ.

Milestones

Five source milestones delimit the reusable theory. A closed convex cone is recovered from all dual-positive inequalities (§8.2, Proposition 1). The finite-height epigraph of the extended perturbation value is convex, and that value is antitone in the cone order (§8.3, Propositions 1–2). A Lagrangian saddle point is sufficient for primal feasibility and optimality when the cone is closed (§8.4, Theorem 2). Finally, multipliers for two perturbed right-hand sides bound the change in optimal objective value from both sides (§8.5, Theorem 1). The root then states §8.6, Theorem 1 rather than duplicating the equivalent multiplier theorem from §8.3.

Significance

The capstone provides both equality of optimal values and an attained multiplier. It applies to a single vector inequality, so finite systems of scalar inequalities and matrix-cone constraints fit the same statement once their ordering cones are supplied. Complementarity and Lagrangian minimization turn a primal optimizer and multiplier into a certificate. The sensitivity milestone additionally gives quantitative information about how the optimum changes when the constraint right-hand side moves.

Formalization produces a reusable cone-order layer independent of coordinate choices. coneLE, dualPositive, and ConeConvexOn can support later Kuhn–Tucker, vector optimization, and conic programming developments. The EReal value functions preserve infeasibility and unboundedness, two cases that a real-valued sInf encoding would collapse. This is a formalization mission for a classical theorem, not a claim that the underlying duality result is open.

Difficulty

The theorem's strict-feasibility condition is load-bearing. Feasibility −G(x)∈P-G(x)\in P−G(x)∈P cannot replace interior feasibility, and nonempty interior of PPP alone does not supply a Slater point. Equality constraints also cannot be converted into pairs of inequalities while retaining strict feasibility; Luenberger explicitly warns about this after the theorem.

The cone assumptions differ across milestones. The main strong-duality theorem does not require PPP to be closed or pointed, whereas the bipolar and saddle-sufficiency statements require closedness. Using Mathlib's stronger ProperCone everywhere would silently add both topological and order hypotheses and shrink the theorem. Another tempting simplification is to make both value functions real. That loses the empty feasible set and unbounded dual subproblem, precisely the boundary cases used when comparing perturbations. The saddle inequalities must also have the correct orientation: the multiplier coordinate is maximized and the primal coordinate is minimized.

Formalization scope

The mission uses ConvexCone ℝ Z with a custom induced relation; it deliberately does not assume a lattice order on ZZZ. Multipliers are continuous linear maps Z→RZ\to\mathbb RZ→R. The root assumes a real finite optimum through IsGLB and a real witness μ\muμ, while lagrangeDualValue and perturbationValue retain EReal codomains. The strict condition is written as membership of −G(xs)-G(x_s)−G(xs​) in interior P, exactly matching G(xs)<P0G(x_s)<_P0G(xs​)<P​0.

No finite-dimensionality, reflexivity, completeness, closedness, or pointedness is added to the root. Closedness appears only where the source uses cone separation to recover primal feasibility. The sensitivity item assumes the two candidate points are feasible, their multipliers are dual-positive and complementary, and each point minimizes its shifted Lagrangian; these hypotheses spell out “solutions and corresponding multipliers” without relying on informal terminology.

Contributions may formalize cone separation, perturbation-value geometry, saddle certificates, or strong duality. Finite-dimensional orthant and positive-semidefinite specializations are useful corollaries but do not replace the general goal. Local multiplier rules, equality constraints, differentiable Kuhn–Tucker conditions, and Chapter 9's local theory remain outside this mission.

Selected references

  • David G. Luenberger, Optimization by Vector Space Methods, John Wiley & Sons, 1969, Chapter 8, §§8.2–8.6, pp. 214–225. Open Library record
  • Stephen Boyd and Lieven Vandenberghe, Convex Optimization, Cambridge University Press, 2004, Chapter 5. Official book page
14 thms3 active usersReviewed
🏆Completed
Functional Analysis·Captain: wenxinzhang

Vector Space Methods VIII: Fenchel DualityTextbook

Motivation

Convex duality converts an optimization problem over points into one over linear functionals. It supplies lower bounds, certificates of optimality, and alternative formulations whose geometry can be simpler than the primal problem. In §§7.8–7.12 of David G. Luenberger's Optimization by Vector Space Methods, this theory is developed for finite-valued convex and concave functions on convex subsets of a real normed space. The capstone is Fenchel duality with restricted domains and an attained continuous-linear-functional dual optimum. This mission preserves that functional-analytic setting rather than reducing the theorem to Euclidean space or silently extending the functions to the whole space.

Setting

Let XXX be a real normed space, let C,D⊆XC,D\subseteq XC,D⊆X be nonempty convex sets, let f:X→Rf:X\to\mathbb Rf:X→R be convex on CCC, and let g:X→Rg:X\to\mathbb Rg:X→R be concave on DDD. For a continuous linear functional ℓ∈X∗\ell\in X^*ℓ∈X∗, the restricted convex conjugate and restricted concave conjugate are

fC∗(ℓ)=sup⁡x∈C(ℓ(x)−f(x)),gD∗(ℓ)=inf⁡x∈D(ℓ(x)−g(x)).f_C^*(\ell)=\sup_{x\in C}\bigl(\ell(x)-f(x)\bigr),\qquad g_D^*(\ell)=\inf_{x\in D}\bigl(\ell(x)-g(x)\bigr).fC∗​(ℓ)=x∈Csup​(ℓ(x)−f(x)),gD∗​(ℓ)=x∈Dinf​(ℓ(x)−g(x)).

The convex conjugate is admitted into C∗C^*C∗ only when its defining set is bounded above; the concave conjugate is admitted into D∗D^*D∗ only when its defining set is bounded below. Because CCC and DDD are nonempty and the functions are real-valued, these predicates exactly exclude the unwanted infinite endpoint. The Lean definitions use real sSup and sInf, with boundedness carried explicitly by theorem hypotheses.

The restricted epigraph of (f,C)(f,C)(f,C) is the set of (x,r)(x,r)(x,r) satisfying x∈Cx\in Cx∈C and f(x)≤rf(x)\le rf(x)≤r; the restricted hypograph of (g,D)(g,D)(g,D) reverses the scalar inequality. Luenberger's qualification requires a common point of the relative interiors of CCC and DDD, represented by Mathlib's intrinsicInterior, and also requires ordinary nonempty interior of at least one of these two graph sets.

Formalization targets

Main goal: Fenchel duality

Assume the finite primal value μ\muμ is the greatest lower bound of

{f(x)−g(x):x∈C∩D}.\{f(x)-g(x):x\in C\cap D\}.{f(x)−g(x):x∈C∩D}.

Prove that some ℓ0∈C∗∩D∗\ell_0\in C^*\cap D^*ℓ0​∈C∗∩D∗ attains

μ=gD∗(ℓ0)−fC∗(ℓ0)=max⁡ℓ∈C∗∩D∗(gD∗(ℓ)−fC∗(ℓ)).\mu=g_D^*(\ell_0)-f_C^*(\ell_0) =\max_{\ell\in C^*\cap D^*} \bigl(g_D^*(\ell)-f_C^*(\ell)\bigr).μ=gD∗​(ℓ0​)−fC∗​(ℓ0​)=ℓ∈C∗∩D∗max​(gD∗​(ℓ)−fC∗​(ℓ)).

If x0x_0x0​ attains the primal infimum, also prove that x0x_0x0​ attains both conjugate extrema at ℓ0\ell_0ℓ0​: fC∗(ℓ0)=ℓ0(x0)−f(x0)f_C^*(\ell_0)=\ell_0(x_0)-f(x_0)fC∗​(ℓ0​)=ℓ0​(x0​)−f(x0​) and gD∗(ℓ0)=ℓ0(x0)−g(x0)g_D^*(\ell_0)=\ell_0(x_0)-g(x_0)gD∗​(ℓ0​)=ℓ0​(x0​)−g(x0​).

Milestones

The mission records four source milestones. A local minimum of a convex function on its convex domain is global (§7.8, Proposition 1). Convexity of a restricted function is equivalent to convexity of its restricted epigraph (§7.8, Proposition 2). The finite-conjugate domain and the convex conjugate are convex (§7.10, Proposition 1). Finally, a closed restricted epigraph agrees pointwise on CCC with the continuous-linear biconjugate (§7.10, Proposition 2). Together these statements expose the geometric and conjugacy interfaces on which the capstone depends without turning every paragraph of the chapter into a separate item.

Significance

The theorem gives an attained dual certificate in an arbitrary real normed space. Equality of primal and dual values eliminates a duality gap, while attainment produces a specific functional that can certify an optimal primal point through simultaneous conjugate equality. The biconjugate milestone is independently useful: it expresses a closed convex function as a supremum of continuous affine minorants on its domain.

Formalizing this material adds a restricted-domain conjugacy API that is not supplied by the existing project artifact named fenchelConjugate. That artifact accepts finite-valued functions on a Euclidean space and has no independent convex domain or concave conjugate. Reusing it here would erase hypotheses that are central to Luenberger's theorem. The new definitions remain small, but their exact boundedness contracts make them reusable for later separation, minimax, and Lagrange-duality missions. The theorem is classical; the mission asks for a checked development faithful to the 1969 source and the current Mathlib representation of continuous dual spaces.

Difficulty

The qualification is not the usual finite-dimensional slogan that relative interiors merely intersect. The source additionally demands that either the restricted epigraph or restricted hypograph have nonempty ordinary interior. Dropping that condition changes the theorem in infinite-dimensional spaces. Replacing intrinsicInterior by topological interior would also make valid lower-dimensional domains appear empty.

Extended values create another boundary. Real sSup and sInf are meaningful here only together with nonempty domains and the respective boundedness hypotheses. Treating their default values outside those hypotheses as genuine conjugates would admit false dual candidates. A finite-dimensional conjugate definition avoids neither issue and would prove only a special case. The biconjugate target must quantify over continuous linear functionals, not all algebraic linear maps, because closed epigraph separation is topological. Finally, the dual statement must include actual attainment; proving only equality with a supremum would omit a principal assertion of §7.12.

Formalization scope

All primal functions are finite-valued real functions. Infinite conjugate values are represented by domain predicates—BddAbove for fC∗f_C^*fC∗​ and BddBelow for gD∗g_D^*gD∗​—rather than by changing the public conjugate codomain. The primal finiteness assumption is encoded by a real number μ\muμ together with IsGLB, which simultaneously rules out an empty feasible intersection and an infimum of −∞-\infty−∞. Epigraph pairs are ordered as (x,r)(x,r)(x,r) to match Mathlib conventions, although Luenberger prints the scalar coordinate first.

The ambient space is normed but is not assumed finite-dimensional, reflexive, or complete. Both CCC and DDD are explicitly nonempty. The main theorem keeps the common intrinsic-interior condition and the disjunctive ordinary-interior condition verbatim. Contributions may develop separation lemmas, boundedness facts for restricted conjugates, or direct proofs of the milestone statements. A whole-space Euclidean specialization is welcome only as a corollary, not as a replacement for the root. The minimax theorem of §7.13 and extended-real lower-semicontinuous variants are outside this mission.

Selected references

  • David G. Luenberger, Optimization by Vector Space Methods, John Wiley & Sons, 1969, Chapter 7, §§7.8–7.12, pp. 191–202. Open Library record
  • R. Tyrrell Rockafellar, Convex Analysis, Princeton University Press, 1970. DOI: 10.1515/9781400873173
7 thms3 active usersReviewed
🏆Completed
Operations ResearchOptimization·Captain: Shuze Chen

Convex Optimization IV: Löwner–John EllipsoidsTextbook

Every full-dimensional convex body is sandwiched between an ellipsoid and its nnn-fold dilation: shrinking the minimum-volume covering (Löwner–John) ellipsoid E\mathcal{E}E about its centre x0x_0x0​ by the factor 1/n1/n1/n lands inside the body,

x0+1n (E−x0)  ⊆  C  ⊆  E,x_0 + \tfrac{1}{n}\,(\mathcal{E} - x_0) \;\subseteq\; C \;\subseteq\; \mathcal{E},x0​+n1​(E−x0​)⊆C⊆E,

and the factor nnn is tight on simplices. This rounding theorem underlies the ellipsoid method, John's theorem on the Banach–Mazur distance to the Euclidean ball, and much of modern convex geometry. The mission formalizes §8.4 of Boyd & Vandenberghe for polytopes C=conv⁡{x1,…,xm}C = \operatorname{conv}\{x_1,\dots,x_m\}C=conv{x1​,…,xm​}, exactly as the book proves it: existence and uniqueness of the extremal ellipsoid, the KKT identities at the normalized optimum (∑iλixixiT=I\sum_i \lambda_i x_i x_i^{T} = I∑i​λi​xi​xiT​=I, ∑iλixi=0\sum_i \lambda_i x_i = 0∑i​λi​xi​=0, ∑iλi=n\sum_i \lambda_i = n∑i​λi​=n), the convex-combination step that produces the 1/n1/n1/n ball, and affine invariance.

8 thms3 active usersReviewed
🏆Completed
Linear OptimizationStatistics·Captain: mikedeng1

Conditional Logit Analysis of Qualitative Choice Behavior 4: Existence of the Maximum Likelihood Estimate Is Decided by a Quadratic ProgramResearch Paper

Why a likelihood maximum needs a diagnostic

The conditional logit model assigns probabilities to choices among alternatives whose observable attributes differ from trial to trial. A fitted parameter vector is usually obtained by maximizing a log-likelihood. For a finite data set, however, maximization need not produce a finite vector: some directions in parameter space can keep improving the likelihood while their length grows without bound. McFadden identifies a condition that rules out these directions and then gives a quadratic program that can test the condition. This mission formalizes that test, Lemma 4 of the published 1974 chapter Conditional Logit Analysis of Qualitative Choice Behavior.

The chapter develops a statistical model from observable choice data and addresses the existence of a maximum likelihood estimate in Lemma 3. Lemma 4 turns its existence condition into a finite optimization problem. The diagnostic matters because an optimization routine returning increasingly large parameter estimates is not, by itself, evidence that a finite maximizer exists. The result specifies a mathematical test tied to the observed choice counts and the attributes of the alternatives.

Choice experiments and weighted differences

There are N≥1N\geq1N≥1 trials. Trial nnn offers JnJ_nJn​ alternatives, indexed by iii and jjj. Alternative iii has an attribute vector zin∈RKz_{in}\in\mathbb R^Kzin​∈RK, and SinS_{in}Sin​ counts how many times it was selected in that trial. Each trial has at least two alternatives and Rn=∑iSin>0R_n=\sum_iS_{in}>0Rn​=∑i​Sin​>0 observations. The vector θ∈RK\theta\in\mathbb R^Kθ∈RK is the unknown parameter of the underlying conditional logit model. Equation (16) assigns alternative iii a probability proportional to exp⁡(zin⋅θ)\exp(z_{in}\cdot\theta)exp(zin​⋅θ), with the probabilities normalized over the alternatives in the same trial McFadden, pp. 113–114, equation (16).

For the test, define the weighted difference

wnij=Sin(zjn−zin)∈RK.w_{nij}=S_{in}(z_{jn}-z_{in})\in\mathbb R^K.wnij​=Sin​(zjn​−zin​)∈RK.

It is indexed by every trial and every ordered pair of alternatives, including i=ji=ji=j and alternatives whose observed count is zero. Such terms simply produce zero vectors. Keeping them in the index set makes the formal statement agree with the chapter's quantifiers and its quadratic program.

Axiom 5, called full rank in the chapter, says that the rows obtained by subtracting each trial's probability weighted mean attribute vector from its alternative attributes have rank KKK. Equivalently, the vectors zjn−zinz_{jn}-z_{in}zjn​−zin​ span RK\mathbb R^KRK; the probability weights in that mean are strictly positive and sum to one. Axiom 6 says that no nonzero direction γ∈RK\gamma\in\mathbb R^Kγ∈RK satisfies wnij⋅γ≤0w_{nij}\cdot\gamma\leq0wnij​⋅γ≤0 for every ordered index triple. These are conditions on the same observed experiment, but they serve different roles: full rank concerns the attribute geometry, while Axiom 6 also uses the choice counts McFadden, p. 116, Axioms 5–6.

Formalization targets

Lemma 4: a quadratic-programming test

Let QQQ be the set of feasible vectors

Q={y=∑n=1N∑i,j=1Jnαijnwnij:αijn≥1 for all n,i,j}.Q=\left\{y=\sum_{n=1}^{N}\sum_{i,j=1}^{J_n}\alpha_{ijn}w_{nij}: \alpha_{ijn}\geq1\text{ for all }n,i,j\right\}.Q={y=n=1∑N​i,j=1∑Jn​​αijn​wnij​:αijn​≥1 for all n,i,j}.

The mission's goal is the equivalence in Lemma 4:

Axiom 6 holds⟺min⁡y∈Qy⋅y=0.\text{Axiom 6 holds} \quad\Longleftrightarrow\quad \min_{y\in Q}y\cdot y=0.Axiom 6 holds⟺y∈Qmin​y⋅y=0.

The right side means that the program attains a value of zero. An infimum of zero without an attained feasible point would be a weaker statement and would not express the lemma. The three milestones follow the three assertions in the printed proof: a zero minimum implies Axiom 6; an interior origin in the cone generated by the wnijw_{nij}wnij​ gives positive coefficients and a zero minimum; and a noninterior origin gives a separating direction that violates Axiom 6 McFadden, p. 117, Lemma 4 and equation (22).

What the result provides

Lemma 3 of the chapter states that Axiom 6 characterizes the existence of a vector maximizing the conditional-logit log-likelihood under the preceding axioms. Lemma 4 gives a finite quadratic-programming criterion for that same condition. It therefore allows the model's existence question to be checked from data before treating a numerical optimizer's output as an estimate McFadden, pp. 116–117, Lemmas 3–4.

The paper proves these results. The work here is to produce machine-checkable statements for the finite-dimensional data, the two axioms, the feasible set, and the equivalence, followed by proofs in the solver stage. The cone and separation milestones can support later formalizations of existence conditions in other finite exponential-family models, provided their hypotheses and signs are checked anew. This mission does not claim a general theorem for all such models.

Why the equivalence is delicate

The tempting diagnostic is to ask whether a numerical solve returns a small objective value. That does not settle the mathematical question: the objective's infimum could approach zero without the feasible set containing a zero vector. The paper's conclusion is about a minimum, so attainment must remain visible in the formal statement. There is also a distinction between positive coefficients in a cone representation and the printed constraints αijn≥1\alpha_{ijn}\geq1αijn​≥1 in equation (22). Both conditions must appear in their proper places.

The full-rank condition alone does not ensure that the vectors wnijw_{nij}wnij​ span the attribute space if a trial has no observed choices. The section describes RnR_nRn​ repetitions of each trial, and the formal data require Rn>0R_n>0Rn​>0. This convention is needed for the strict-inequality claim in the first paragraph of Lemma 4's proof. The geometry also has to account for every ordered pair, even when its vector is zero; dropping these indices would alter the program stated in the chapter.

Formalization scope

Lean represents a nonempty set of trials by Fin N, alternatives in trial nnn by Fin (J n), counts by natural numbers, and attributes by EuclideanSpace ℝ (Fin K). The count RnR_nRn​ is the sum of observed choice counts. The model requires Jn≥2J_n\geq2Jn​≥2 and Rn>0R_n>0Rn​>0 for each trial. There is no extra assumption that K>0K>0K>0: the zero-dimensional case is included and the equivalence has its ordinary degenerate meaning there.

Axiom 5 is encoded through the equivalent span of within-trial attribute differences. This removes the parameter dependent logit probabilities from a theorem that only uses rank. Axiom 6 retains exactly the nonpositive sign and every n,i,jn,i,jn,i,j from the page. The feasible set uses coefficients at least one, while the auxiliary generated cone uses nonnegative coefficients. The quadratic objective is the square of the Euclidean norm. IsLeast on its image over the feasible set expresses an attained minimum, so the statement cannot be satisfied by a vacuous or unattained infimum.

The definition bundle and the three proof-step theorems are the mission's direct scope. A complete development needs finite-dimensional inner-product geometry, finite sums, a cone interior argument, and separation. The definitions of weighted differences and the feasible set are reusable for studying nearby existence tests. Contributions that prove the stated milestones or supply faithful finite-dimensional geometry for them are welcome; substitutions that weaken the coefficient constraint or the attainment claim do not establish Lemma 4.

Selected references

  • Daniel McFadden, “Conditional Logit Analysis of Qualitative Choice Behavior,” in P. Zarembka (ed.), Frontiers in Econometrics, Academic Press, 1974, pp. 105–142; especially pp. 113–117, Axioms 5–6, Lemmas 3–4, and equation (22). Book catalog search.
5 thms2 active usersReviewed
🏆Completed
Machine LearningStatistics·Captain: mikedeng1

Stability and Generalization 3: Tikhonov Regularization in a Reproducing Kernel Hilbert Space Has Uniform Stability σ²κ²/(2λm)Research Paper

Motivation

Learning from a finite sample is useful only if changing the sample has a controlled effect on the learned predictor. Uniform stability asks for a bound on the change in loss at every test point when one training example is removed. Bousquet and Elisseeff use this property to obtain generalization bounds for learning algorithms, and identify regularization as a source of stability in methods built from reproducing kernels. The present mission isolates their result for a squared norm penalty in a reproducing kernel Hilbert space (RKHS). It concerns the sensitivity of the optimizer itself, before any probability bound on a random training sample is applied. The result is Theorem 22 of Bousquet and Elisseeff (2002).

Setting

Let XXX be an input space, YYY a label space, and HHH a real reproducing kernel Hilbert space of real-valued predictors on XXX. A kernel K:X×X→RK:X\times X\to\mathbb RK:X×X→R and a feature representative Φ(x)∈H\Phi(x)\in HΦ(x)∈H express the reproducing identity f(x)=⟨f,Φ(x)⟩Hf(x)=\langle f,\Phi(x)\rangle_Hf(x)=⟨f,Φ(x)⟩H​ and K(x,x′)=⟨Φ(x),Φ(x′)⟩HK(x,x')=\langle\Phi(x),\Phi(x')\rangle_HK(x,x′)=⟨Φ(x),Φ(x′)⟩H​. Thus K(x,x)=∥Φ(x)∥H2K(x,x)=\|\Phi(x)\|_H^2K(x,x)=∥Φ(x)∥H2​. The source assumes that all diagonal kernel values satisfy K(x,x)≤κ2K(x,x)\le\kappa^2K(x,x)≤κ2.

A labeled example is z=(x,y)∈X×Yz=(x,y)\in X\times Yz=(x,y)∈X×Y. Its loss under fff is ℓ(f,z)=c(f(x),y)\ell(f,z)=c(f(x),y)ℓ(f,z)=c(f(x),y), where ccc is a real-valued cost. Let DHD_HDH​ be the set of predictions that some element of HHH can produce at some input. The loss is σ\sigmaσ-admissible when c(⋅,y)c(\cdot,y)c(⋅,y) is convex for every label yyy and ∣c(a,y)−c(b,y)∣≤σ∣a−b∣|c(a,y)-c(b,y)|\le\sigma|a-b|∣c(a,y)−c(b,y)∣≤σ∣a−b∣ for all a,b∈DHa,b\in D_Ha,b∈DH​ and y∈Yy\in Yy∈Y. Here σ\sigmaσ is a nonnegative Lipschitz constant. The definition compares any two attainable predictions, even when they arise at different inputs.

Fix a sample S=(z1,…,zm)S=(z_1,\ldots,z_m)S=(z1​,…,zm​), a deleted index iii, and a regularization weight λ>0\lambda>0λ>0. The paper's full and truncated objectives, with squared RKHS norm regularization, are

Rr(g)=1m∑j=1mℓ(g,zj)+λ∥g∥H2,Rr∖i(g)=1m∑j≠iℓ(g,zj)+λ∥g∥H2.R_r(g)=\frac1m\sum_{j=1}^{m}\ell(g,z_j)+\lambda\|g\|_H^2, \qquad R_r^{\setminus i}(g)=\frac1m\sum_{j\ne i}\ell(g,z_j)+\lambda\|g\|_H^2.Rr​(g)=m1​j=1∑m​ℓ(g,zj​)+λ∥g∥H2​,Rr∖i​(g)=m1​j=i∑​ℓ(g,zj​)+λ∥g∥H2​.

The factor in both objectives is 1/m1/m1/m. Let fff and f∖if^{\setminus i}f∖i be minimizers of these respective objectives over all of HHH. The statements allow any minimizer satisfying the relevant global optimality condition; they do not choose one by an arbitrary fallback rule.

Formalization targets

The central target is the explicit deletion stability estimate of Theorem 22. For every test point z∈X×Yz\in X\times Yz∈X×Y,

∣ℓ(f,z)−ℓ(f∖i,z)∣≤σ2κ22λm.|\ell(f,z)-\ell(f^{\setminus i},z)| \le \frac{\sigma^2\kappa^2}{2\lambda m}.∣ℓ(f,z)−ℓ(f∖i,z)∣≤2λmσ2κ2​.

Its four milestones follow the paper's route through Lemma 20, the point-evaluation inequality (25), and the two quantitative inequalities displayed in the proof of Theorem 22. In particular, the intermediate RKHS distance bound is ∥f∖i−f∥H≤κσ/(2λm)\|f^{\setminus i}-f\|_H\le\kappa\sigma/(2\lambda m)∥f∖i−f∥H​≤κσ/(2λm) when κ≥0\kappa\ge0κ≥0. The main theorem uses κ2\kappa^2κ2, so it does not need a choice of sign for κ\kappaκ. These numerical constants are part of the target, rather than placeholders for unspecified bounds.

Significance

The theorem supplies a deterministic, uniform sensitivity estimate for kernel methods trained by squared norm regularization. The bound applies simultaneously to every test example and decreases as either the sample size or the regularization weight increases. It is one of the ingredients that lets the paper apply its earlier stability-to-generalization results to concrete learning procedures. The loss need not be bounded for this theorem; bounding it is a separate question addressed later in the paper.

The result is proved in the source article. This mission asks for a machine-checked version of its exact pairwise claim and the reusable infrastructure around it: the paper's admissibility condition, the two objectives, the general regularizer inequality, and the RKHS evaluation bound. The existing Prove2Me library already has definitions for loss, empirical error, and the RKHS reproducing identity, so the new definitions concentrate on what is specific to these pages. The related replace-one estimate in Mohri, Rostamizadeh and Talwalkar's Foundations of Machine Learning uses a different perturbation and constant; it is not interchangeable with this result.

Difficulty

The two minimizers solve different objectives, and the deleted example appears in only one of them. A comparison of their objective values alone does not directly give a bound on their distance in the Hilbert norm. The source also distinguishes an abstract convex class of functions in Lemma 20 from the full RKHS used in Theorem 22. A proof must keep those domains straight while preserving the precise normalization of the truncated objective. Another delicate point is that the kernel bound controls evaluations through the reproducing identity; a bound on K(x,x)K(x,x)K(x,x) is not by itself a bound on loss unless the admissibility condition is also used.

Formalization scope

The Lean model uses an abstract complete real inner product space HHH, an evaluation map ev⁡:H→(X→R)\operatorname{ev}:H\to(X\to\mathbb R)ev:H→(X→R), a feature map Φ:X→H\Phi:X\to HΦ:X→H, and the published IsRKHSOf predicate tying these to KKK. The completeness instance matches the source's Hilbert-space assumption. Samples have type Fin m → X × Y, so an index i : Fin m already forces m≥1m\ge1m≥1. Minimization ranges over the entire HHH for Theorem 22 and over the declared convex class for Lemma 20. The objective definitions use the published Loss and EmpiricalError objects. No probability measure or measurability assumption is needed for these deterministic assertions.

There is a printed mismatch that affects what “deletion” means. Theorem 22 names an algorithm defined by equation (26), which, run afresh on m−1m-1m−1 points, would normalize its data term by 1/(m−1)1/(m-1)1/(m−1). Lemma 20 and the proof of Theorem 22 instead compare the full objective with equation (20), whose data term uses 1/m1/m1/m. The formalized goal states that comparison, with its explicit constant, and records the discrepancy for audit. This excludes the tempting shortcut of treating the two normalizations as identical. The regularizer is the genuine squared norm and the second minimizer is required to minimize the genuine truncated objective; neither a restricted hypothesis ball nor an artificially assumed distance bound enters the goal. Contributions that establish minimizer existence or connect the pairwise bound to an algorithmic selection would extend this core without changing its statement.

Selected references

  • Olivier Bousquet and André Elisseeff, Stability and Generalization, Journal of Machine Learning Research 2 (2002), 499–526. Article and PDF.
  • Mehryar Mohri, Afshin Rostamizadeh, and Ameet Talwalkar, Foundations of Machine Learning, second edition, MIT Press, 2018, Chapter 14. Book information.
9 thms2 active usersReviewed
🏆Completed
Discrete GeometryLinear OptimizationOperations Research+1·Captain: mikedeng1

Understanding and Using Linear Programming XI: The KKT Conditions and the Unique Smallest Enclosing BallTextbook

Motivation

The smallest enclosing ball problem asks, for finitely many points p1,…,pn∈Rdp_1,\dots,p_n\in\mathbb{R}^dp1​,…,pn​∈Rd, for a ball of the smallest radius that contains all of them. It appears in clustering, in collision detection and bounding-volume hierarchies, in facility location (placing one service point so that the farthest client is as close as possible), and in the analysis of geometric algorithms. Sylvester posed the planar version in 1857; Megiddo (1983) gave a linear-time algorithm in fixed dimension, and Welzl (1991) a simple randomized one.

This mission formalizes Section 8.7 of Matoušek and Gärtner, Understanding and Using Linear Programming (Springer, 2007), which uses the problem to introduce convex programming. Unlike the geometric problems of the book's Chapter 2, the smallest ball cannot be written as a linear program. The section shows instead that it is a convex quadratic program, derives the Karush–Kuhn–Tucker (KKT) conditions for convex programs in equational form from the duality theorem of linear programming, and uses them to prove that the smallest enclosing ball exists and is unique. It is the book's bridge from linear to convex optimization.

Setting

A function f:Rn→Rf:\mathbb{R}^n\to\mathbb{R}f:Rn→R is convex if f((1−t)x+ty)≤(1−t)f(x)+tf(y)f((1-t)x+ty)\le(1-t)f(x)+tf(y)f((1−t)x+ty)≤(1−t)f(x)+tf(y) for all x,y∈Rnx,y\in\mathbb{R}^nx,y∈Rn and t∈[0,1]t\in[0,1]t∈[0,1]. A convex program in equational form is

minimize f(x)subject to Ax=b, x≥0,\text{minimize } f(x)\quad\text{subject to } Ax=b,\ x\ge 0,minimize f(x)subject to Ax=b, x≥0,

with AAA a real m×nm\times nm×n matrix with columns a1,…,ana_1,\dots,a_na1​,…,an​, b∈Rmb\in\mathbb{R}^mb∈Rm and fff convex. A vector xxx is feasible if Ax=bAx=bAx=b and x≥0x\ge 0x≥0 componentwise, and optimal if it is feasible and f(x)≤f(x′)f(x)\le f(x')f(x)≤f(x′) for every feasible x′x'x′. For differentiable fff, ∇f(x)\nabla f(x)∇f(x) is the row vector of partial derivatives, so ∇f(x∗)(x−x∗)\nabla f(x^*)(x-x^*)∇f(x∗)(x−x∗) is a scalar.

For points p1,…,pn∈Rdp_1,\dots,p_n\in\mathbb{R}^dp1​,…,pn​∈Rd, write P={p1,…,pn}P=\{p_1,\dots,p_n\}P={p1​,…,pn​} and let QQQ be the d×nd\times nd×n matrix whose jjjth column is pjp_jpj​. The program studied is

(8.15)minimize f(x)=xTQTQx−∑j=1nxj pjTpjsubject to ∑j=1nxj=1, x≥0.\text{(8.15)}\qquad \text{minimize } f(x)=x^TQ^TQx-\sum_{j=1}^n x_j\,p_j^Tp_j\quad\text{subject to } \sum_{j=1}^n x_j=1,\ x\ge 0 .(8.15)minimize f(x)=xTQTQx−j=1∑n​xj​pjT​pj​subject to j=1∑n​xj​=1, x≥0.

A ball is a closed Euclidean ball B(c,r)={z∈Rd:∥z−c∥≤r}B(c,r)=\{z\in\mathbb{R}^d:\|z-c\|\le r\}B(c,r)={z∈Rd:∥z−c∥≤r}. The ball B(c,r)B(c,r)B(c,r) is the unique smallest enclosing ball of a set SSS if r≥0r\ge 0r≥0, S⊆B(c,r)S\subseteq B(c,r)S⊆B(c,r), every ball containing SSS has radius at least rrr, and every ball containing SSS of radius at most rrr has center ccc.

Formalization targets

Goal: Theorem 8.7.4

For n≥1n\ge 1n≥1 points p1,…,pn∈Rdp_1,\dots,p_n\in\mathbb{R}^dp1​,…,pn​∈Rd, the objective fff of (8.15) is convex, and

  1. (8.15) has an optimal solution x∗x^*x∗;
  2. there is a point p∗p^*p∗ with p∗=Qx∗p^*=Qx^*p∗=Qx∗ for every optimal x∗x^*x∗, and for every optimal x∗x^*x∗
−f(x∗)≥0andB(p∗,−f(x∗)) is the unique smallest enclosing ball of P.-f(x^*)\ge 0\quad\text{and}\quad B\big(p^*,\sqrt{-f(x^*)}\big)\ \text{is the unique smallest enclosing ball of } P .−f(x∗)≥0andB(p∗,−f(x∗)​) is the unique smallest enclosing ball of P.

Milestones

  • Fact 8.7.1. For C⊆RnC\subseteq\mathbb{R}^nC⊆Rn convex, fff differentiable and convex, and x∗∈Cx^*\in Cx∗∈C: x∗x^*x∗ minimizes fff over CCC iff ∇f(x∗)(x−x∗)≥0\nabla f(x^*)(x-x^*)\ge 0∇f(x∗)(x−x∗)≥0 for all x∈Cx\in Cx∈C.
  • Proposition 8.7.2 (KKT conditions). For fff convex with continuous partial derivatives and x∗x^*x∗ feasible: x∗x^*x∗ is optimal iff there is y~∈Rm\tilde y\in\mathbb{R}^my~​∈Rm with
∇f(x∗)j+y~Taj {=0if xj∗>0,≥0otherwise,j=1,…,n.\nabla f(x^*)_j+\tilde y^Ta_j\ \begin{cases}=0&\text{if } x^*_j>0,\\ \ge 0&\text{otherwise,}\end{cases}\qquad j=1,\dots,n.∇f(x∗)j​+y~​Taj​ {=0≥0​if xj∗​>0,otherwise,​j=1,…,n.
  • Lemma 8.7.3. If s1,…,sks_1,\dots,s_ks1​,…,sk​ lie on the boundary of the ball BBB with center s∗s^*s∗, then BBB is the unique smallest enclosing ball of {s1,…,sk}\{s_1,\dots,s_k\}{s1​,…,sk​} iff for every u∈Rdu\in\mathbb{R}^du∈Rd some jjj has uT(sj−s∗)≤0u^T(s_j-s^*)\le 0uT(sj​−s∗)≤0.

Significance

The result. Theorem 8.7.4 gives existence and uniqueness of the smallest enclosing ball together with an explicit certificate: the center is a convex combination Qx∗Qx^*Qx∗ of the input points, the squared radius is the negated optimum value, and the points pjp_jpj​ with xj∗>0x^*_j>0xj∗​>0 lie on the boundary. It reduces the geometric problem to a convex quadratic program, for which interior-point and simplex-type solvers exist, and it is the basis of the combinatorial characterization "the center lies in the convex hull of the boundary points" used by Welzl-type algorithms. Proposition 8.7.2 is the KKT theorem for equational-form convex programs; it holds without any constraint qualification because the constraints are linear.

Formalizing it. All results here are classical and proved in the book; none is open. The mission produces machine-checked statements and, when solved, proofs of: the first-order optimality criterion for convex functions on convex sets in Rn\mathbb{R}^nRn; the equational-form KKT theorem derived from LP duality; the boundary characterization of unique smallest enclosing balls; and existence and uniqueness of the smallest enclosing ball in every dimension. Mathlib has first-order necessary conditions at local minima and general convexity theory, but no KKT theorem for linearly constrained convex programs in this form and no smallest-enclosing-ball theory.

Difficulty

Existence of an optimum and convexity of fff are routine. For the KKT conditions, the necessary direction needs multipliers, which do not come from calculus alone: the obvious Lagrange-multiplier argument handles only equality constraints and says nothing about the sign pattern forced by x≥0x\ge 0x≥0. For the goal, a solver must connect three layers — the gradient of a quadratic form in matrix notation, the multiplier conditions, and the Euclidean geometry of distances to p∗p^*p∗ — and uniqueness of the ball does not follow from uniqueness of the optimizer x∗x^*x∗, which in general is not unique (repeated or cospherical points). The statement quantifies over all optimal x∗x^*x∗ and asserts that they all yield the same center.

Formalization scope

  • Vectors of Rn\mathbb{R}^nRn are Fin n → ℝ, so the book's indices 1,…,n1,\dots,n1,…,n become 0,…,n−10,\dots,n-10,…,n−1. Points of Rd\mathbb{R}^dRd are EuclideanSpace ℝ (Fin d), so ∥⋅∥\|\cdot\|∥⋅∥ and pTqp^TqpTq are Euclidean. The matrix QQQ is Matrix (Fin d) (Fin n) ℝ.
  • Optimality is stated against every feasible point; no infimum or supremum is taken. ∇f(x∗)(x−x∗)\nabla f(x^*)(x-x^*)∇f(x∗)(x−x∗) is the Fréchet derivative applied to x−x∗x-x^*x−x∗, and ∇f(x∗)j\nabla f(x^*)_j∇f(x∗)j​ its value on the jjjth unit vector. "Continuous partial derivatives" is ContDiff ℝ 1 f. Convexity is ConvexOn ℝ Set.univ f.
  • Balls are closed. The squared radius −f(x∗)-f(x^*)−f(x∗) is expressed by asserting −f(x∗)≥0-f(x^*)\ge 0−f(x∗)≥0 and taking the radius −f(x∗)\sqrt{-f(x^*)}−f(x∗)​. "Unique ball of smallest radius" is written out as minimality of the radius among all enclosing closed balls plus equality of centers for every enclosing ball of radius at most the optimum; merely stating that the ball encloses PPP would not be the theorem.
  • The goal assumes n≥1n\ge 1n≥1 (for n=0n=0n=0 the feasible set is empty). In Fact 8.7.1 the minimizer x∗x^*x∗ is assumed to lie in CCC, as "minimizes fff over CCC" presupposes. In Lemma 8.7.3 the radius is nonnegative and each sjs_jsj​ is at distance exactly rrr from s∗s^*s∗.
  • Needed infrastructure: gradients of quadratic forms on Fin n → ℝ, LP duality for the pair (maximize cTxc^TxcTx, Ax=bAx=bAx=b, x≥0x\ge0x≥0) / (minimize bTyb^TybTy, ATy≥cA^Ty\ge cATy≥c), compactness of the standard simplex, and elementary Euclidean geometry. The first-order criterion and the KKT theorem are reusable beyond this mission; proofs through any route are welcome.

Selected references

  • J. Matoušek and B. Gärtner, Understanding and Using Linear Programming, Springer Universitext, 2007, §8.7, pp. 184–191. https://doi.org/10.1007/978-3-540-30717-4
  • S. Boyd and L. Vandenberghe, Convex Optimization, Cambridge University Press, 2004. https://doi.org/10.1017/CBO9780511804441
  • N. Megiddo, Linear-time algorithms for linear programming in R3\mathbb{R}^3R3 and related problems, SIAM J. Comput. 12(4), 1983. https://doi.org/10.1137/0212052
  • E. Welzl, Smallest enclosing disks (balls and ellipsoids), in New Results and New Trends in Computer Science, LNCS 555, Springer, 1991. https://doi.org/10.1007/BFb0038202
  • J. J. Sylvester, A question in the geometry of situation, Quarterly Journal of Pure and Applied Mathematics 1, 1857.
6 thms2 active usersReviewed
🏆Completed
Information TheoryLinear algebraOperations Research+1·Captain: naimengye

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

Motivation

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

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

Setting

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

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

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

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

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

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

The two optimization problems are

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

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

Formalization targets

Goal: Theorem 1.5 (decoding by linear programming)

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

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

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

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

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

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

Significance

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

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

Difficulty

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

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

Formalization scope

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

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

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

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

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

Selected references

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

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

Motivation

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

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

Setting

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

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

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

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

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

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

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

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

Formalization targets

Goal: Theorem 8.11 (p. 337)

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

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

Milestones

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

Significance

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

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

Difficulty

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

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

Formalization scope

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

Selected references

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

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

Motivation

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

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

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

Timeline:

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

Setting

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

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

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

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

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

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

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

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

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

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

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

Formalization targets

Goal: Theorem 2.1

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

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

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

Milestones (in attack order)

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

Significance

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

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

Difficulty

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

Formalization scope

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

Selected references

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

Accelerated Proximal Point Method for Maximally Monotone Operators: The Fixed-Point Residual Rate of the Accelerated MethodResearch Paper

Motivation

Many problems in optimization reduce to finding a zero of a maximally monotone operator: minimizing a closed proper convex function (its subdifferential is maximally monotone), finding a saddle point of a convex–concave function, and solving monotone variational inequalities. The basic algorithm for this problem is the proximal point method of Martinet (1970) and Rockafellar (1976), which repeatedly applies the resolvent of the operator. The augmented Lagrangian method, the proximal method of multipliers, the Douglas–Rachford splitting method, ADMM and the primal–dual hybrid gradient method are all instances of it, so any speed-up of the proximal point method transfers to these widely used algorithms.

For convex minimization, Güler (1992) accelerated the proximal point method in the style of Nesterov, improving the rate of the function value from O(1/i)O(1/i)O(1/i) to O(1/i2)O(1/i^2)O(1/i2). For general maximally monotone operators no function value exists, and the natural measure of progress is the fixed-point residual ∥xi−yi−1∥\|x_{i}-y_{i-1}\|∥xi​−yi−1​∥, the distance moved by one resolvent step. Gu and Yang (2020) showed that the plain proximal point method has the exact worst-case rate O(1/i)O(1/i)O(1/i) for the squared residual. Relaxed and inertial variants had been studied, but none guaranteed an accelerated rate for this measure. Kim (arXiv:1905.05149, Math. Program. 2021) found one using the performance estimation problem (PEP) of Drori and Teboulle (2014): a new accelerated proximal point method whose squared fixed-point residual is at most R2/i2R^2/i^2R2/i2.

Setting

Let H\mathcal HH be a real Hilbert space with inner product ⟨⋅,⋅⟩\langle\cdot,\cdot\rangle⟨⋅,⋅⟩. A set-valued operator M:H→2HM:\mathcal H\to2^{\mathcal H}M:H→2H assigns a subset Mx⊆HMx\subseteq\mathcal HMx⊆H to every point xxx. It is monotone if ⟨x−y,u−v⟩≥0\langle x-y,u-v\rangle\ge0⟨x−y,u−v⟩≥0 whenever u∈Mxu\in Mxu∈Mx and v∈Myv\in Myv∈My, and maximally monotone if moreover no monotone operator has a graph that properly contains the graph of MMM. The class of maximally monotone operators is M(H)\mathcal M(\mathcal H)M(H), and X∗(M)={x:0∈Mx}X_*(M)=\{x:0\in Mx\}X∗​(M)={x:0∈Mx} is the set of zeros.

For a step size λ>0\lambda>0λ>0, the resolvent JλM=(I+λM)−1J_{\lambda M}=(I+\lambda M)^{-1}JλM​=(I+λM)−1 maps yyy to the unique xxx with y∈x+λMxy\in x+\lambda Mxy∈x+λMx. It is single-valued for monotone MMM and defined on all of H\mathcal HH for maximally monotone MMM.

The general proximal point method with step coefficients h={hi,k}h=\{h_{i,k}\}h={hi,k​} starts at y0y_0y0​ and iterates

xi+1=JλM(yi),yi+1=yi+∑k=0ihi+1,k+1(xk+1−yk).x_{i+1}=J_{\lambda M}(y_i),\qquad y_{i+1}=y_i+\sum_{k=0}^{i}h_{i+1,k+1}(x_{k+1}-y_k).xi+1​=JλM​(yi​),yi+1​=yi​+k=0∑i​hi+1,k+1​(xk+1​−yk​).

Kim's proposed accelerated proximal point method starts at x0=y0=y−1x_0=y_0=y_{-1}x0​=y0​=y−1​ and iterates

xi+1=JλM(yi),yi+1=xi+1+ii+2(xi+1−xi)−ii+2(xi−yi−1).x_{i+1}=J_{\lambda M}(y_i),\qquad y_{i+1}=x_{i+1}+\frac{i}{i+2}(x_{i+1}-x_i)-\frac{i}{i+2}(x_i-y_{i-1}).xi+1​=JλM​(yi​),yi+1​=xi+1​+i+2i​(xi+1​−xi​)−i+2i​(xi​−yi−1​).

The coefficients (25) are hi,k=−2ki(i+1)h_{i,k}=-\frac{2k}{i(i+1)}hi,k​=−i(i+1)2k​ for k<ik<ik<i and hi,i=2ii+1h_{i,i}=\frac{2i}{i+1}hi,i​=i+12i​.

The PEP of Section 3 bounds the worst case of ∥xN−yN−1∥2/R2\|x_N-y_{N-1}\|^2/R^2∥xN​−yN−1​∥2/R2 over all M∈M(H)M\in\mathcal M(\mathcal H)M∈M(H) and all starts with ∥y0−x∗∥≤R\|y_0-x_*\|\le R∥y0​−x∗​∥≤R. A semidefinite relaxation leads to the dual problem (D): minimize ccc over nonnegative a2,…,aN,bN,ca_2,\dots,a_N,b_N,ca2​,…,aN​,bN​,c such that ∑i=2NaiAi−1,i(h)+bNBN(h)+cC−uNuN⊤⪰0\sum_{i=2}^Na_iA_{i-1,i}(h)+b_NB_N(h)+cC-u_Nu_N^\top\succeq0∑i=2N​ai​Ai−1,i​(h)+bN​BN​(h)+cC−uN​uN⊤​⪰0. The matrices are explicit symmetric (N+1)×(N+1)(N+1)\times(N+1)(N+1)×(N+1) matrices built from hhh and the canonical basis u1,…,uN+1u_1,\dots,u_{N+1}u1​,…,uN+1​. Its optimal value is BD(h)\mathcal B_D(h)BD​(h).

Formalization targets

Goal: Theorem 4.1

For every M∈M(H)M\in\mathcal M(\mathcal H)M∈M(H), every λ>0\lambda>0λ>0, every run of the proposed method, and every x∗∈X∗(M)x_*\in X_*(M)x∗​∈X∗​(M) with ∥x0−x∗∥≤R\|x_0-x_*\|\le R∥x0​−x∗​∥≤R for a constant R>0R>0R>0,

∥xi−yi−1∥2≤R2i2for every i≥1.\|x_i-y_{i-1}\|^2\le\frac{R^2}{i^2}\qquad\text{for every }i\ge1.∥xi​−yi−1​∥2≤i2R2​for every i≥1.

The constant is the paper's, and nothing is left unfixed.

Milestones

  1. Lemma 4.1. For every N≥1N\ge1N≥1, hhh from (25) with ai=2(i−1)iN2a_i=\frac{2(i-1)i}{N^2}ai​=N22(i−1)i​, bN=2Nb_N=\frac2NbN​=N2​, c=1N2c=\frac1{N^2}c=N21​ is feasible for (D) and for (HD) =min⁡hBD(h)=\min_h\mathcal B_D(h)=minh​BD​(h).
  2. Section 3, (D). For any hhh and any feasible point of (D), 1R2∥xN−yN−1∥2≤c\frac1{R^2}\|x_N-y_{N-1}\|^2\le cR21​∥xN​−yN−1​∥2≤c for every run of the general method with ∥y0−x∗∥≤R\|y_0-x_*\|\le R∥y0​−x∗​∥≤R.
  3. Eq. (28). With hhh from (25), 1R2∥xN−yN−1∥2≤BD(h)≤1N2\frac1{R^2}\|x_N-y_{N-1}\|^2\le\mathcal B_D(h)\le\frac1{N^2}R21​∥xN​−yN−1​∥2≤BD​(h)≤N21​ for every N≥1N\ge1N≥1.
  4. Proposition 4.1. The general method with (25) and the proposed method generate identical sequences from the same initial point.

Significance

Theorem 4.1 gives the first O(1/i2)O(1/i^2)O(1/i2) rate for the fixed-point residual of a proximal point method on general maximally monotone operators. The rate uses no strong monotonicity, no smoothness, and no finite dimension. Because the proximal point method underlies the proximal method of multipliers, PDHG, Douglas–Rachford splitting and ADMM, the paper derives accelerated versions of each (Section 6). The same analysis also accelerates the forward method for cocoercive operators (Section 7). Later work related the method to the Halpern iteration (Lieder 2021) and showed that its rate is optimal among a broad class of fixed-point methods up to a constant (Park and Ryu 2022).

The result is proved in the paper, and to our knowledge no machine-checked proof exists. Formalizing it produces a verified chain of four results: an explicit semidefinite certificate (Lemma 4.1), the weak-duality step from an SDP certificate to an algorithmic bound, the resulting rate for the general method, and the algebraic identity between two recursions (Proposition 4.1). It also produces reusable definitions of monotone and maximally monotone set-valued operators on a real Hilbert space, which Mathlib does not have.

Difficulty

The obvious approach would be a Lyapunov (potential) function argument, but the paper does not give one. The rate comes out of a semidefinite program. Lemma 4.1 asks for positive semidefiniteness of an (N+1)×(N+1)(N+1)\times(N+1)(N+1)×(N+1) matrix whose entries are double sums over hhh, uniformly in NNN. The passage from the dual certificate back to the iterates happens in an arbitrary, possibly infinite-dimensional Hilbert space, where each constraint matrix corresponds to a monotonicity inequality between iterates, so matrix positivity has to be turned into an inequality between inner products in H\mathcal HH. The PEP is a relaxation that discards constraints, so only weak duality is available, and a rate that holds only for dim⁡H≥N+1\dim\mathcal H\ge N+1dimH≥N+1 (Lemma 3.1) is not what is asked. Proposition 4.1 is a two-level induction with index bookkeeping at i=0,1i=0,1i=0,1.

Formalization scope

H\mathcal HH is any real Hilbert space (NormedAddCommGroup, InnerProductSpace ℝ, CompleteSpace), with no finite-dimensional specialization. An operator is M : H → Set H. Maximal monotonicity says that every monotone A with M x ⊆ A x for all x equals M.

The resolvent step is relational: xi+1=JλM(yi)x_{i+1}=J_{\lambda M}(y_i)xi+1​=JλM​(yi​) is encoded as λ−1(yi−xi+1)∈Mxi+1\lambda^{-1}(y_i-x_{i+1})\in Mx_{i+1}λ−1(yi​−xi+1​)∈Mxi+1​. For monotone MMM and λ>0\lambda>0λ>0 this determines xi+1x_{i+1}xi+1​ uniquely, and for maximally monotone MMM such an xi+1x_{i+1}xi+1​ exists for every yiy_iyi​ (Minty's theorem). No function-valued resolvent with junk values off its domain is used. Sequences are indexed by ℕ. The paper's y−1=y0y_{-1}=y_0y−1​=y0​ is y (0 - 1) = y 0 under natural-number subtraction. The general method has no x0x_0x0​, so its initial-distance condition is on y0y_0y0​, as in (17). The step size λ\lambdaλ is written lam.

PEP matrices are Matrix (Fin (N+1)) (Fin (N+1)) ℝ, with a 1-based basis basisVec N i =ui=u_i=ui​. BD(h)\mathcal B_D(h)BD​(h) is the infimum of the feasible values of ccc computed in EReal, so an infeasible hhh gets the value +∞+\infty+∞ as in the paper; Eq. (28) compares it with the real bounds cast to EReal.

A formalization in which the iterate predicate cannot be satisfied, the residual is ∥xi−xi−1∥\|x_i-x_{i-1}\|∥xi​−xi−1​∥, the correction term is dropped or has the wrong sign, the initial point is decoupled (x0≠y0x_0\ne y_0x0​=y0​), or MMM is only monotone on finitely many points, would state a different theorem, and none is used here.

Useful infrastructure includes a Minty-type existence lemma, uniqueness of the resolvent, and a lemma turning a positive semidefinite certificate into an inequality between inner products in H\mathcal HH (via Matrix.PosSemidef and Gram matrices). These are reusable for PEP-based rates of other first-order methods. Proofs of any milestone, and of the goal by other routes, are welcome.

Selected references

  • D. Kim, Accelerated proximal point method for maximally monotone operators, Math. Program. 190 (2021) 57–87; arXiv:1905.05149v4. https://arxiv.org/abs/1905.05149
  • R. T. Rockafellar, Monotone operators and the proximal point algorithm, SIAM J. Control Optim. 14 (1976) 877–898. https://doi.org/10.1137/0314056
  • O. Güler, New proximal point algorithms for convex minimization, SIAM J. Optim. 2 (1992) 649–664. https://doi.org/10.1137/0802032
  • Y. Drori, M. Teboulle, Performance of first-order methods for smooth convex minimization: a novel approach, Math. Program. 145 (2014) 451–482. https://doi.org/10.1007/s10107-013-0653-0
  • G. Gu, J. Yang, Tight sublinear convergence rate of the proximal point algorithm for maximal monotone inclusion problems, SIAM J. Optim. 30 (2020) 1905–1921. https://doi.org/10.1137/19M1299049
  • F. Lieder, On the convergence rate of the Halpern-iteration, Optim. Lett. 15 (2021) 405–418. https://doi.org/10.1007/s11590-020-01617-9
  • J. Park, E. K. Ryu, Exact optimal accelerated complexity for fixed-point iterations, ICML 2022; arXiv:2201.11413. https://arxiv.org/abs/2201.11413
  • H. H. Bauschke, P. L. Combettes, Convex Analysis and Monotone Operator Theory in Hilbert Spaces, 2nd ed., Springer, 2017. https://doi.org/10.1007/978-3-319-48311-5
10 thms2 active usersReviewed
🏆Completed
Graph TheoryOperations ResearchOptimization·Captain: mikedeng1

The Traveling-Salesman Problem and Minimum Spanning Trees, Part II: Convergence of the Constant-Step Ascent to the 1-Tree BoundResearch Paper

Motivation

The traveling-salesman problem (TSP) asks for a cheapest cycle through all vertices of a weighted complete graph. Exact algorithms for it are branch-and-bound searches, and their size depends almost entirely on the quality of the lower bounds used to prune the search. In 1970 Held and Karp introduced the 1-tree bound: a Lagrangian relaxation of the degree-2 constraints of a tour, whose value can be evaluated by one minimum-spanning-tree computation (Held & Karp, Part I, 1970). Part II (Held & Karp, 1971) replaces the ascent procedure of Part I by an iterative method related to the relaxation method for linear inequalities of Agmon and of Motzkin and Schoenberg (1954), and with it solved to proven optimality every instance presented to it, up to 64 cities. The iteration is the prototype of what is now called the subgradient method with Polyak-type step sizes, and the 1-tree bound remains a standard lower bound in exact TSP codes.

Timeline:

  • 1954 — Agmon; Motzkin and Schoenberg: the relaxation method for systems of linear inequalities, and convergence of Féjer-monotone sequences relative to full-dimensional sets.
  • 1970 — Held and Karp (Part I): the 1-tree bound max⁡πw(π)\max_\pi w(\pi)maxπ​w(π) and a column-generation / ascent method for it.
  • 1971 — Held and Karp (Part II): the iteration πm+1=πm+tmvk(πm)\pi^{m+1} = \pi^m + t_m v_{k(\pi^m)}πm+1=πm+tm​vk(πm)​, its relaxation-method analysis (Lemmas 1–3) and the constant-step guarantee (Theorem 1).
  • 1974 — Held, Wolfe and Crowder validate the method as general subgradient optimization.

Setting

Let n≥3n \ge 3n≥3 and let (cij)(c_{ij})(cij​) be a symmetric real n×nn\times nn×n matrix of weights on the edges of the complete graph KnK_nKn​ with vertex set {1,…,n}\{1,\dots,n\}{1,…,n}; weights may be negative and need not satisfy the triangle inequality. A subgraph has weight equal to the sum of its edge weights. A tour is a cycle through every vertex exactly once; C∗C^*C∗ is the weight of a minimum tour.

A 1-tree is a tree on the vertex set {2,…,n}\{2,\dots,n\}{2,…,n} together with two distinct edges at vertex 111. Index the 1-trees by kkk; let ckc_kck​ be the weight of the kkk-th 1-tree, dikd_{ik}dik​ the degree of vertex iii in it, and vk∈Rnv_k \in \mathbb R^nvk​∈Rn the degree-excess vector with components dik−2d_{ik}-2dik​−2. For π∈Rn\pi \in \mathbb R^nπ∈Rn define

w(π)=min⁡k [ck+π⋅vk].w(\pi) = \min_k\,[c_k + \pi\cdot v_k].w(π)=kmin​[ck​+π⋅vk​].

A tour is a 1-tree with vk=0v_k = 0vk​=0, so C∗≥w(π)C^* \ge w(\pi)C∗≥w(π) for every π\piπ (Eq. (2)); the best bound is max⁡πw(π)\max_\pi w(\pi)maxπ​w(π). For a point π\piπ, k(π)k(\pi)k(π) denotes a minimum-weight 1-tree at π\piπ, a 1-tree attaining the minimum defining w(π)w(\pi)w(π). The ascent iteration (3) is

πm+1=πm+tm vk(πm).\pi^{m+1} = \pi^m + t_m\,v_{k(\pi^m)}.πm+1=πm+tm​vk(πm)​.

For a target value wˉ\bar wwˉ, PwˉP_{\bar w}Pwˉ​ is the polyhedron of solutions of wˉ≤ck+π⋅vk\bar w \le c_k + \pi\cdot v_kwˉ≤ck​+π⋅vk​ for all kkk (system (5)). All norms ∥⋅∥\|\cdot\|∥⋅∥ are Euclidean.

Formalization targets

Goal: Theorem 1

With constant step tm=tˉ>0t_m = \bar t > 0tm​=tˉ>0, any starting point and any choice of minimum-weight 1-trees,

sup⁡mw(πm)  ≥  max⁡πw(π)−12 tˉ lim sup⁡m→∞∥vk(πm)∥2.\sup_m w(\pi^m) \;\ge\; \max_\pi w(\pi) - \tfrac12\,\bar t\,\limsup_{m\to\infty}\|v_{k(\pi^m)}\|^2 .msup​w(πm)≥πmax​w(π)−21​tˉm→∞limsup​∥vk(πm)​∥2.

Milestones

  1. Eq. (2): C∗≥w(π)C^* \ge w(\pi)C∗≥w(π) for every π\piπ.
  2. Lemma 1: if w(πˉ)≥w(π)w(\bar\pi) \ge w(\pi)w(πˉ)≥w(π) then (πˉ−π)⋅vk(π)≥w(πˉ)−w(π)≥0(\bar\pi-\pi)\cdot v_{k(\pi)} \ge w(\bar\pi) - w(\pi) \ge 0(πˉ−π)⋅vk(π)​≥w(πˉ)−w(π)≥0.
  3. Lemma 2: if 0<t<2(w(πˉ)−w(π))/∥vk(π)∥20 < t < 2(w(\bar\pi)-w(\pi))/\|v_{k(\pi)}\|^20<t<2(w(πˉ)−w(π))/∥vk(π)​∥2 then ∥πˉ−(π+tvk(π))∥<∥πˉ−π∥\|\bar\pi - (\pi + t v_{k(\pi)})\| < \|\bar\pi-\pi\|∥πˉ−(π+tvk(π)​)∥<∥πˉ−π∥.
  4. Féjer-monotone convergence (Motzkin–Schoenberg, quoted in the proof of Lemma 3): a sequence whose distance to every point of a set with nonempty interior is nonincreasing converges.
  5. Lemma 3, Case 1: for wˉ<max⁡πw\bar w < \max_\pi wwˉ<maxπ​w and the relaxation iteration
πm+1=πm+λm wˉ−w(πm)∥vk(πm)∥2 vk(πm)(6)\pi^{m+1} = \pi^m + \lambda_m\,\frac{\bar w - w(\pi^m)}{\|v_{k(\pi^m)}\|^2}\,v_{k(\pi^m)} \qquad (6)πm+1=πm+λm​∥vk(πm)​∥2wˉ−w(πm)​vk(πm)​(6)

with 0<ε<λm≤20<\varepsilon<\lambda_m\le 20<ε<λm​≤2, the iterates enter PwˉP_{\bar w}Pwˉ​ or converge to a boundary point of PwˉP_{\bar w}Pwˉ​. 6. Lemma 3, Case 2: with λm=2\lambda_m = 2λm​=2 the iterates enter PwˉP_{\bar w}Pwˉ​. 7. §3 bound: the restricted minimum wX,Y(π)w_{X,Y}(\pi)wX,Y​(π) over 1-trees containing the edges XXX and avoiding the edges YYY is a lower bound on every tour of the derived problem.

Milestones 1–5 are the steps of the paper's proof of Theorem 1; 6 and 7 are further results of the paper on the same objects.

Significance

Theorem 1 is the paper's justification of the step rule actually used in its computations: a fixed step tˉ\bar ttˉ loses at most 12tˉ\tfrac12\bar t21​tˉ times the asymptotic squared deviation of the generated 1-trees from being tours. Since ∥vk∥2\|v_k\|^2∥vk​∥2 is an even integer that vanishes exactly on tours, and the paper observes it is typically small in practice, the bound explains why the constant-step ascent reaches bounds sharp enough for branch-and-bound. Lemmas 1–3 are the first analysis of a subgradient-type method for a nonsmooth concave function, cast as the relaxation method for the (exponentially large) system (5).

All results are proved in the paper (except the Féjer-monotone convergence and Case 2 of Lemma 3, which it cites from Motzkin and Schoenberg). None is formalized: the platform has the 1-tree lower bound only under a metric assumption on the weights (SupplyChainTheory.held_karp_bound, SupplyChainTheory.one_tree_lower_bound), and the subtour-LP bound MetricTSP.held_karp_le_opt, a different object. This mission produces the bound for arbitrary real weights, the supergradient property of vk(π)v_{k(\pi)}vk(π)​, and a machine-checked convergence analysis of the relaxation iteration.

Difficulty

Lemmas 1 and 2 and Eq. (2) are short once the finite minimum defining www is handled. The difficulty is in Lemma 3 and Theorem 1. The iteration is not monotone in www, so no descent argument applies; progress is measured by the Euclidean distance to the target polyhedron PwˉP_{\bar w}Pwˉ​, and turning distance decrease into convergence requires the Féjer-monotonicity theorem, which in turn needs PwˉP_{\bar w}Pwˉ​ to have nonempty interior (from wˉ<max⁡πw\bar w < \max_\pi wwˉ<maxπ​w). In Theorem 1 the step is constant rather than of the relaxation form (6), and the target polyhedron is not given in advance: the relevant relaxation parameters are admissible only eventually and must be kept away from zero, which requires controlling degenerate directions vk(πm)=0v_{k(\pi^m)} = 0vk(πm)​=0 and the behaviour of www along an iteration that is not known a priori to stay bounded. A direct argument that w(πm)w(\pi^m)w(πm) increases fails, since single steps can decrease www.

Formalization scope

Vertices are Fin n, the paper's vertex 1 is 0 : Fin n, and graphs are SimpleGraph (Fin n). Weights are c : Sym2 (Fin n) → ℝ, arbitrary reals. A 1-tree is a graph whose restriction to the vertices other than 0 is a tree and in which 0 has degree 2; a tour is a connected graph with all degrees 2. w(π) is the minimum of weight c G + ∑ i, π i * (deg G i − 2) over 1-trees, written as an sInf over a finite set that is nonempty for n ≥ 3; every theorem assumes 3 ≤ n. Euclidean norms and inner products are written as coordinate sums of squares and products, never Mathlib's sup norm on Fin n → ℝ. The minimum-weight 1-tree k(πm)k(\pi^m)k(πm) is a hypothesis at every step, and ties may be broken arbitrarily. The goal is stated as "for every π∗\pi^*π∗ and δ>0\delta>0δ>0 some iterate has w(πm)>w(π∗)−12tˉL−δw(\pi^m) > w(\pi^*) - \tfrac12\bar t L - \deltaw(πm)>w(π∗)−21​tˉL−δ", which is equivalent to the printed inequality; LLL is the limsup of a sequence with finitely many values, a genuine real.

The statements exclude trivializing readings: the 1-tree predicate rejects graphs without exactly two edges at vertex 1; w is never a minimum over an empty set under the standing hypothesis 3 ≤ n; no ⨆ of a possibly unbounded family is used; the step size tˉ\bar ttˉ and the parameter ε\varepsilonε are strictly positive.

A complete development needs finite minima of affine functions (concavity, attainment), 1-tree and tour combinatorics on simple graphs, and Féjer-monotone sequences in Rn\mathbb R^nRn; the last two are reusable beyond this mission. Proofs of any milestone, and alternative arguments for Lemma 3, are welcome.

Selected references

  • M. Held and R. M. Karp, The traveling-salesman problem and minimum spanning trees: Part II, Mathematical Programming 1 (1971) 6–25. https://doi.org/10.1007/BF01584070
  • M. Held and R. M. Karp, The traveling-salesman problem and minimum spanning trees, Operations Research 18 (1970) 1138–1162. https://doi.org/10.1287/opre.18.6.1138
  • T. S. Motzkin and I. J. Schoenberg, The relaxation method for linear inequalities, Canadian Journal of Mathematics 6 (1954) 393–404. https://doi.org/10.4153/CJM-1954-038-x
  • S. Agmon, The relaxation method for linear inequalities, Canadian Journal of Mathematics 6 (1954) 382–392. https://doi.org/10.4153/CJM-1954-037-2
  • M. Held, P. Wolfe and H. P. Crowder, Validation of subgradient optimization, Mathematical Programming 6 (1974) 62–88. https://doi.org/10.1007/BF01580223
10 thms2 active usersReviewed
🏆Completed
Discrete GeometryOperations ResearchOptimization·Captain: Shuze Chen

Discrete Convex Analysis XXXIII: Near-Optimality for Submodular MinimizationTextbook

Motivation

Chapter 10 turns from structure theory to algorithms: efficient methods for minimizing M-convex functions (via domain reduction) and submodular set functions (via Schrijver's and the Iwata-Fleischer-Fujishige scaling algorithms). Most of chapter 10's numbered results are asymptotic running-time bounds for specific procedural algorithms — a genuinely different kind of claim from the rest of this book (see Formalization scope). This mission places the results of this block that ARE ordinary mathematical propositions: correctness certificates, min-max theorems, and structural facts the algorithms rely on and produce.

Setting

For an M-convex set B ⊆ Z^V, the central part B° (the vectors of B lying away from its boundary, defined via per-coordinate bounds ℓ°_B, u°_B) is what the domain reduction algorithm searches from. For a submodular set function ρ : 2^V → R, the base polyhedron B(ρ) and its extreme bases (one per linear ordering of V, via Eq. (10.12)) let any base be written as a convex combination of finitely many extreme bases (Eq. (10.13)); a candidate minimizer W is certified via the linear orderings representing an optimal base. The Iwata-Fleischer-Fujishige (IFF) scaling algorithm relaxes this problem with a flow-augmentation parameter δ, maintaining a δ-feasible flow φ and vector z = x + ∂φ; near the end of a scaling phase, no augmenting path and no "active triple" together certify near-optimality.

Formalization targets

Goal: Near-optimality from the absence of augmenting paths (Proposition 10.20)

If S ⊆ W ⊆ V∖T, no arc of the auxiliary network leaves W, and no active triple exists, then z⁻(V) ≥ ρ(W)-nδ and x⁻(V) ≥ ρ(W)-n²δ; moreover W exactly minimizes ρ once δ is small enough relative to the smallest positive gap between two values of ρ. Chosen as goal: the book calls this "a key property of the scaling algorithm" and "a relaxation version of the min-max relation in Proposition 10.8", its own proof is the most substantial argument among this chunk's placed results, and Proposition 10.23 is a direct corollary of it.

Supporting structural targets

Proposition 10.8 is the min-max relation underlying the whole of section 10.2 (an Edmonds- intersection-theorem consequence, found by direct reading — the extractor's table missed it). Proposition 10.9 gives the three-part sufficient condition for optimality, in terms of the linear orderings representing an optimal base, that both Schrijver's algorithm and the IFF algorithm use as their termination criterion (also found by direct reading). Propositions 10.5-10.6 establish that the domain reduction algorithm's central part B° is always nonempty, via an explicit vector-extension step (Proposition 10.5 likewise missing from the extractor's table). Proposition 10.23 fixes individual coordinates once a scaling phase ends, and Proposition 10.24 gives the termination certificate for the IFF fixing algorithm's own separate graph-contraction procedure.

Significance

Chapter 10 is where this book cashes out its structure theory as algorithms with provable running times, and this mission places every result of that chapter's first two sections that is a mathematical proposition rather than a runtime bound: two min-max/optimality-certificate theorems (10.8-10.9) that are the combinatorial core making the following two strongly polynomial algorithms (Schrijver's, and Iwata-Fleischer-Fujishige's) correct, one central-part nonemptiness fact (10.5-10.6) underlying the domain reduction algorithm, and the two fixing/termination certificates (10.23-10.24) that let the scaling algorithms actually output a minimizer with a proof of optimality attached, not just a numerical answer.

None of these results are open — they are Murota's own account of submodular-function- minimization algorithms (sections 10.1-10.2). What this mission contributes is a faithful, machine-checked formal statement of each, including two results (Propositions 10.5 and 10.8) the platform's own automated extractor missed; no comparable formalization exists on the platform (see Formalization scope).

Difficulty

Six numbered results in this block (Propositions 10.4, 10.7, 10.17, 10.18, 10.21, 10.22) are excluded as hard: each states a Big-O asymptotic bound on the running time, function-evaluation count, or internal-procedure-call count of a specific iterative algorithm (the domain reduction algorithm, its scaling variant, Schrijver's algorithm, the IFF scaling algorithm). Faithfully stating "this algorithm runs in O(g(n)) time" requires a cost-tracked operational semantics for that specific algorithm — a well-founded recursive procedure with an oracle for evaluating the input function, threading a step/evaluation counter, instantiated over an unbounded family of ground-set sizes n and numeric parameters (K∞, M) — which is a fundamentally different kind of formalization task (computational complexity theory) from every one of the roughly 280 other numbered results in this book, none of which require modeling the cost of computing them. See HARD.md.

Formalization scope

Ground-set elements are a Fintype V with DecidableEq. Base M-convex-set vocabulary is redeclared from prior missions. Linear orderings of V are represented as bijections V ≃ Fin (Fintype.card V) rather than as lists, matching this series' established preference for order-indexed families over sequential data structures. Proposition 10.5's witness vector is stated as an existence claim (the mathematical content of the proposition), rather than by reconstructing the specific recursive modification procedure the book uses to produce it — a choice consistent with how this series has always formalized "the algorithm produces X" claims where X is a mathematical property, by asserting X's existence rather than executing the algorithm (see, e.g., mission 33-ch09c-networkflows's cycle-cancellation theorem). Six numbered results (Propositions 10.4, 10.7, 10.17, 10.18, 10.21, 10.22) are hard; see HARD.md. Contributions completing any of the seven sorrys are welcome; the goal and Proposition 10.9 carry the most independent proof content.

Selected references

  • K. Murota, Discrete Convex Analysis, SIAM, 2003. DOI: 10.1137/1.9780898718508.
  • S. Iwata, L. Fleischer, and S. Fujishige, "A combinatorial strongly polynomial algorithm for minimizing submodular functions," Journal of the ACM, 48 (2001), pp. 761-777 [102] (the IFF scaling algorithm this mission's Proposition 10.20 certifies).
  • A. Schrijver, "A combinatorial algorithm minimizing submodular functions in strongly polynomial time," Journal of Combinatorial Theory, Series B, 80 (2000), pp. 346-355 [182] (Schrijver's algorithm, whose termination criterion is Proposition 10.9).
41 thms2 active usersReviewed
🏆Completed
Discrete GeometryOperations ResearchOptimization·Captain: Shuze Chen

Discrete Convex Analysis XXXII: Network DualityTextbook

Motivation

Mission 32-ch09b-networkflows established the potential and negative-cycle optimality criteria for M-convex submodular flow problems. This mission finishes chapter 9 with the two topics that close it out: the constructive engine behind the negative-cycle criterion — cycle cancellation, which actually improves a nonoptimal flow rather than merely detecting suboptimality, resting on a delicate "unique-min condition" for bipartite matchings — and network duality, the chapter's capstone structural theorem showing that M-convexity and L-convexity are preserved (and their conjugacy is preserved) under transformation by an arbitrary network.

Setting

For a feasible integer flow ξ in the M-convex submodular flow problem MSFP2, a negative cycle in the auxiliary network (Gξ,ℓξ) witnesses suboptimality (mission 32's Theorem 9.20); cycle cancellation modifies ξ along a smallest such cycle to produce a strictly better flow ξ̄ (Eq. (9.75)). The unique-min condition for a pair (x,y) of integer vectors with ‖x-y‖∞=1 asks whether the bipartite graph G(x,y) — vertices the positive/negative supports of x-y, weights the M-convex exchange values Δf(x;v,u) — has a unique minimum-weight perfect matching; when it does, the M-convex exchange inequality of Proposition 6.25 becomes an equality. Separately, a network G=(V,A;S,T) with entrance set S and exit set T transforms a pair of functions f,g on Zˢ into induced functions f̃,g̃ on Zᵀ (Eqs. (9.81)-(9.82)), the minimum cost to meet a boundary specification at the exit given a production cost at the entrance and a transportation cost along arcs.

Formalization targets

Goal: Network duality for Z→Z functions (Theorem 9.26)

M-(resp. M♮^\natural♮-)convexity and integer-valuedness of f transfer to the induced f̃; L-(resp. L♮^\natural♮-)convexity and integer-valuedness of g transfer to g̃; and if f is M♮^\natural♮-convex, g is its L♮^\natural♮-conjugate, and each arc cost ga is the conjugate of fa, then g̃ is the conjugate of f̃. Chosen as goal: the book calls this "the harmonious relationship between network flow and M-/L-convexity", its own proof runs roughly six pages (the longest argument in this chunk), and it is the general fact from which Theorems 9.27-9.28 (analogues for other type combinations) and Notes 9.29-9.30 (the aggregation and infimal- convolution closure properties of M-convex functions, already placed in mission 22-ch06b-mconvexfunctions's own Theorem 6.13) all descend.

Supporting structural targets

Theorem 9.22 shows cycle cancellation strictly improves the objective; Propositions 9.23-9.25 are "the key ingredient" behind it: Proposition 9.23 shows the unique-min condition upgrades the M-convex exchange inequality to an equality, Proposition 9.24 gives a checkable characterization of when a bipartite weighted graph has a unique minimum-weight perfect matching, and Proposition 9.25 is the fact that makes the machine run — the specific pair (∂ξ,∂ξ̄) arising from cycle cancellation always satisfies the unique-min condition. Theorems 9.27 and 9.28 are the network duality theorem's own analogues for Z→R and R→R functions, the second restoring the conjugacy assertion (missing for Z→R) via the ordinary real Legendre-Fenchel transform.

Significance

Cycle cancellation is this book's constructive answer to the negative-cycle criterion: not just a certificate of suboptimality, but an actual improvement step, the combinatorial core of the cycle-canceling algorithm explained in section 10.4.3 (mission 35-ch10c-algorithms). Its correctness proof is one of the most intricate combinatorial arguments in the entire book — a proof by contradiction using a multiset-union identity (Eq. (9.80)) to derive a smaller negative cycle from an assumed non-uniqueness, itself resting on Proposition 9.24's Monge-like characterization of unique bipartite matchings. Network duality, meanwhile, is the theorem that explains why discrete convex analysis and network flow theory are so tightly intertwined throughout this book: it is the general mechanism (matroid induction, min-max relations, the M-convex aggregation and infimal-convolution closure properties) underlying nearly every construction chapter 2 introduced informally and chapter 6 proved piecemeal.

None of these results are open — they are Murota's own account of cycle cancellation (section 9.5.2) and network duality (section 9.6). What this mission contributes is a faithful, machine-checked formal statement of each, completing the platform's coverage of chapter 9 begun in missions 12-network-flows and 32-ch09b-networkflows; no comparable formalization exists on the platform (see Formalization scope).

Difficulty

Theorem 9.26's own proof needs the full weight of everything chapter 9 has built (Theorem 9.16's potential criterion for integer flows, the conjugacy theorem of chapter 8), which this mission does not re-prove (proofs are sorry throughout, per this pass's scope) but whose statement still needs the induced-function machinery built faithfully: since the general framework's optimal-value-type quantities can genuinely be -∞ (the book's own blanket hypothesis f̃ > -∞ acknowledges this), InducedFTilde/InducedGTilde are EReal-valued, following the same soundness discipline established in mission 31-ch08d-conjugacyduality for Lagrangian duality's derived quantities.

Formalization scope

Ground-set vertices V and arcs A are Fintype with DecidableEq. All base M-/L-convexity vocabulary is redeclared from prior missions. Functions "on Zˢ" for S a proper subset of the ground set are represented as ordinary V→Z functions required to vanish outside S (SupportedOn), rather than as functions on a dependent subset type — a padding-with-zero encoding consistent with this whole series' preference for a single ambient ground-set domain. C[R→R] (univariate real polyhedral convex functions, needed only for Theorem 9.28's arc costs) is formalized as ordinary midpoint-style convexity (IsConvexUnivariateR) rather than the book's own polyhedral characterization, since polyhedrality plays no role in Theorem 9.28's conclusion beyond ensuring the induced functions are well-behaved. All seven numbered results found in this chunk's page range are placed in full, with no partial-coverage scope reduction. Contributions completing any of the seven sorrys are welcome; the goal and Proposition 9.25 carry the most independent proof content.

Selected references

  • K. Murota, Discrete Convex Analysis, SIAM, 2003. DOI: 10.1137/1.9780898718508.
  • K. Murota, "Valuated matroid intersection," SIAM Journal on Discrete Mathematics, 9 (1996), pp. 545-561 [135] (the unique-max lemma Proposition 9.23 reformulates, and the proof technique behind Proposition 9.25).
  • K. Murota, "Discrete convex analysis," Mathematical Programming, 83 (1998), pp. 313-371 [140] (network duality and cycle cancellation for the M-convex submodular flow problem).
74 thms2 active usersReviewed
🏆Completed
Discrete GeometryOperations ResearchOptimization·Captain: Shuze Chen

Discrete Convex Analysis VII: The L-Optimality Criterion and the Proximity TheoremTextbook

Motivation

Submodularity — the diminishing-returns property g(p)+g(q)≥g(p∨q)+g(p∧q)g(p) + g(q) \ge g(p \vee q) + g(p \wedge q)g(p)+g(q)≥g(p∨q)+g(p∧q) on a lattice — is one of the most useful structural hypotheses in combinatorial optimization, underlying efficient algorithms for network flows, matroid theory, and set-function minimization. Chapter 7 studies L-convex functions: functions on the integer lattice ZV\mathbb Z^VZV that are submodular and linear along the all-ones direction. This is the "dual" notion, under the conjugacy developed later in the book, to chunk 06's M-convex functions, and it inherits the same strong minimization theory — a purely local optimality criterion and a proximity theorem with an explicit distance bound — while additionally supporting a genuinely new characterization with no M-convex counterpart: discrete midpoint convexity, the direct lattice analogue of the classical real-valued midpoint convexity condition. This mission formalizes the chapter's definitional theorem, its midpoint-convexity characterization, the L-optimality criterion, and the L-proximity theorem itself.

Setting

Let VVV be a finite ground set. A function g:ZV→R∪{+∞}g : \mathbb Z^V \to \mathbb R \cup \{+\infty\}g:ZV→R∪{+∞} with nonempty effective domain is an L-convex function if it satisfies (SBF[Z]): g(p)+g(q)≥g(p∨q)+g(p∧q)g(p) + g(q) \ge g(p \vee q) + g(p \wedge q)g(p)+g(q)≥g(p∨q)+g(p∧q) for all p,qp, qp,q (∨,∧\vee, \wedge∨,∧ componentwise max/min), and (TRF[Z]): there is r∈Rr \in \mathbb Rr∈R with g(p+1)=g(p)+rg(p + \mathbf 1) = g(p) + rg(p+1)=g(p)+r for all ppp, where 1\mathbf 11 is the all-ones vector. An L♮^\natural♮-convex function is one whose lift to the extended ground set {0}∪V\{0\} \cup V{0}∪V is L-convex; equivalently (Theorem 7.1), ggg satisfies the translation-submodularity axiom (SBF♮^\natural♮[Z]): g(p)+g(q)≥g((p−α1)∨q)+g(p∧(q+α1))g(p) + g(q) \ge g((p - \alpha\mathbf 1) \vee q) + g(p \wedge (q + \alpha\mathbf 1))g(p)+g(q)≥g((p−α1)∨q)+g(p∧(q+α1)) for all p,qp, qp,q and all nonnegative integers α\alphaα. Discrete midpoint convexity asks g(p)+g(q)≥g(⌈(p+q)/2⌉)+g(⌊(p+q)/2⌋)g(p) + g(q) \ge g(\lceil (p+q)/2 \rceil) + g(\lfloor (p+q)/2 \rfloor)g(p)+g(q)≥g(⌈(p+q)/2⌉)+g(⌊(p+q)/2⌋) componentwise. For α\alphaα a positive integer, a point satisfies scaled local optimality if g(pα)≤g(pα±αχY)g(p_\alpha) \le g(p_\alpha \pm \alpha \chi_Y)g(pα​)≤g(pα​±αχY​) for every Y⊆VY \subseteq VY⊆V.

Formalization targets

Goal: Theorem 7.18 (the L-proximity theorem)

Assume α\alphaα is a positive integer and n=∣V∣n = |V|n=∣V∣. (1) If ggg is L-convex with g(p)=g(p+1)g(p) = g(p+\mathbf 1)g(p)=g(p+1) for all ppp, and pα∈dom⁡gp_\alpha \in \operatorname{dom} gpα​∈domg satisfies g(pα)≤g(pα+αχY)g(p_\alpha) \le g(p_\alpha + \alpha\chi_Y)g(pα​)≤g(pα​+αχY​) for all Y⊆VY \subseteq VY⊆V, then arg⁡min⁡g≠∅\arg\min g \ne \emptysetargming=∅ and there is p∗∈arg⁡min⁡gp^* \in \arg\min gp∗∈argming with the componentwise bound

pα≤p∗≤pα+(n−1)(α−1)1.p_\alpha \le p^* \le p_\alpha + (n-1)(\alpha-1)\mathbf 1.pα​≤p∗≤pα​+(n−1)(α−1)1.

(2) If ggg is L♮^\natural♮-convex and pαp_\alphapα​ satisfies the two-sided version, then there is p∗p^*p∗ with pα−n(α−1)1≤p∗≤pα+n(α−1)1p_\alpha - n(\alpha-1)\mathbf 1 \le p^* \le p_\alpha + n(\alpha-1)\mathbf 1pα​−n(α−1)1≤p∗≤pα​+n(α−1)1. The bound is a genuine vector (lattice-order) inequality, not an ℓ∞\ell^\inftyℓ∞-norm bound — the form later chapters' applications need.

Milestones: Theorems 7.1, 7.7, 7.14

Theorem 7.1: L♮^\natural♮-convexity (defined via the lift) is equivalent to the direct translation-submodularity axiom. Theorem 7.7: this same class is also characterized by discrete midpoint convexity — a three-way equivalence with the approach property (L♮^\natural♮-APR[Z]) as a bridge — giving L-convexity a genuinely different, more geometric face than anything available on the M-convex side. Theorem 7.14 (the L-optimality criterion): global optimality reduces to a purely local check against the sign-pattern neighbors p±χYp \pm \chi_Yp±χY​, mirroring chunk 06's Theorem 6.26 but with the plain L-convex case additionally requiring the periodicity condition g(p)=g(p+1)g(p) = g(p+\mathbf 1)g(p)=g(p+1).

Significance

The result itself. Discrete midpoint convexity (Theorem 7.7) is philosophically important: it shows the lattice-submodularity definition of L-convexity is not an arbitrary discretization choice but coincides exactly with the most direct discrete analogue of ordinary midpoint convexity, the classical characterization of convex functions via f((p+q)/2)≤(f(p)+f(q))/2f((p+q)/2) \le (f(p)+f(q))/2f((p+q)/2)≤(f(p)+f(q))/2. The L-optimality criterion and L-proximity theorem give L-convex minimization the same algorithmic footing as M-convex minimization (chunk 06): scaling algorithms for L-convex objectives — which arise naturally from network flow and submodular-function duality — inherit a provable, dimension-and-scale-explicit distance guarantee between a coarse-scale local optimum and the true minimizer.

Formalizing it. No matching item exists on the platform for L-convex functions, discrete midpoint convexity, or the L-optimality/proximity theorems. This mission gives the first formal statement of these results, completing (alongside chunk 06's M-convex-function results) both halves of the exchange-axiom-based theory that chapter 8's conjugacy duality later unifies.

Difficulty

A natural shortcut, given the structural parallel to chunk 06, is to assume the L-proximity theorem's proof is a mechanical relabeling of the M-proximity theorem's proof. It is not: the M-convex proof (chunk 06) crucially uses the exchange axiom's additive four-term inequality to build a chain of strictly improving points, whereas the L-convex proof instead exploits (TRF[Z])'s periodicity directly — it reduces to the case pα=0p_\alpha = 0pα​=0 using translation invariance, then constructs a minimal (with respect to the lattice order) point among all sufficiently good solutions and shows this minimality, combined with submodularity (SBF[Z]), forces the componentwise bound. The vector (rather than norm) form of the conclusion is not cosmetic: it is exactly what this lattice-order argument naturally produces, and is the form needed by later chapters' applications.

Formalization scope

The ground set VVV is a Fintype with DecidableEq; g:ZV→R∪{+∞}g : \mathbb Z^V \to \mathbb R \cup \{+\infty\}g:ZV→R∪{+∞} is (V → ℤ) → WithTop ℝ. Unlike chunk 06's M-convex axiom, (SBF[Z]), (TRF[Z]), and (SBF♮^\natural♮[Z]) are stated for all of ZV\mathbb Z^VZV, not restricted to dom⁡g\operatorname{dom} gdomg, so no explicit import of chunk 05's L-convex-set vocabulary was needed for dom g's structure (unlike the corresponding note in chunk 06's BRIEF.md, which flagged the same concern for dom f). L♮^\natural♮-convexity is represented via an explicit lift to Option V, matching the book's own primary definition, with the direct axiom (SBF♮^\natural♮[Z]) kept as a separate object related to it by Theorem 7.1.

A trivializing formalization of the goal would convert its componentwise vector bound into an ℓ∞\ell^\inftyℓ∞-norm bound (losing the direction-of-approach information the vector form carries) or drop Part (1)'s periodicity hypothesis g(p)=g(p+1)g(p) = g(p+\mathbf 1)g(p)=g(p+1); neither is done here. Propositions establishing dom g as an L-convex set, the L/L♮^\natural♮ relationship (Theorem 7.3), the submodular-set-function embedding (Proposition 7.4), and several structural closure properties are cut from this mission's scope (see MODERATION_NOTES.md) but are natural targets for a follow-on mission or for chunk 09, which builds directly on this chunk's exchange-axiom vocabulary, mirroring chunks 06→07.

Selected references

  • K. Murota, Discrete Convex Analysis, SIAM, 2003. DOI: 10.1137/1.9780898718508.
18 thms2 active usersReviewed
🏆Completed
CombinatoricsDiscrete GeometryOperations Research+1·Captain: Shuze Chen

Discrete Convex Analysis XXIII: Directional Derivatives and Subdifferentials of M-Convex FunctionsTextbook

Motivation

An M-convex function is defined on the integer lattice, but chapter 6's earlier results (companion missions 06-mconvex-functions-i, 22-ch06b-mconvexfunctions, 23-ch06c-mconvexfunctions) show it always extends to a genuine convex function on real space. Once that extension exists, every tool of classical convex analysis — directional derivatives, subdifferentials, positive homogeneity — becomes available, and the natural question is whether these classical objects remain combinatorially special when applied to an M-convex function's extension. This mission answers that question at its sharpest: the directional derivative of an M-convex function at any point is again a positively homogeneous M-convex function, its subdifferential is exactly the admissible-potential set of a distance function satisfying the triangle inequality, and this correspondence between positively homogeneous M-convex functions and triangle-inequality distance functions is itself a clean one-to-one correspondence. This closes the loop between chapters 4-5 (M-convex and L-convex sets, distance functions) and the continuous convex-analytic machinery chapter 8 needs for its duality theory.

Companion missions 06-mconvex-functions-i, 22-ch06b-mconvexfunctions, and 23-ch06c-mconvexfunctions cover this chapter's optimality theory, algebraic toolkit, and convex-extensibility characterization. This mission builds the vocabulary those results also need (redeclared here, since sibling drafts cannot yet import one another) and proves the chapter's real-variable capstones: the transfer of M-convexity's basic operations, optimality criterion, and supermodularity to the polyhedral (real-variable) setting, the identification of positively homogeneous M-convex functions with distance functions satisfying the triangle inequality, and — this mission's goal — the full directional-derivative/subdifferential correspondence.

Setting

Fix a finite ground set VVV. A polyhedral convex function g:RV→R∪{+∞}g : \mathbb R^V \to \mathbb R \cup \{+\infty\}g:RV→R∪{+∞} is (polyhedral) M-convex if it satisfies the real-variable exchange axiom (M-EXC[R]): for x,y∈dom⁡Rgx,y \in \operatorname{dom}_{\mathbb R} gx,y∈domR​g and u∈supp⁡+(x−y)u \in \operatorname{supp}^+(x-y)u∈supp+(x−y), some v∈supp⁡−(x−y)v \in \operatorname{supp}^-(x-y)v∈supp−(x−y) and α0>0\alpha_0 > 0α0​>0 make the exchange inequality hold on α∈[0,α0]\alpha \in [0,\alpha_0]α∈[0,α0​]; M♮-convex if its lift to one extra coordinate is M-convex. The directional derivative of ggg at x∈dom⁡Rgx \in \operatorname{dom}_{\mathbb R} gx∈domR​g in direction ddd is g′(x;d)=inf⁡t>0(g(x+td)−g(x))/tg'(x;d) = \inf_{t>0} (g(x+td) - g(x))/tg′(x;d)=inft>0​(g(x+td)−g(x))/t. A function is positively homogeneous if g(tx)=t⋅g(x)g(tx) = t \cdot g(x)g(tx)=t⋅g(x) for all t>0t > 0t>0; write 0M[R→R]0M[\mathbb R \to \mathbb R]0M[R→R] for the positively homogeneous polyhedral M-convex functions. A distance function γ\gammaγ satisfying the triangle inequality and its set of admissible potentials D(γ)D(\gamma)D(γ) were introduced in chapter 5; the subdifferential ∂Rf(x)={p:f(y)−f(x)≥⟨p,y−x⟩ ∀y}\partial_{\mathbb R} f(x) = \{p : f(y) - f(x) \ge \langle p, y-x \rangle\ \forall y\}∂R​f(x)={p:f(y)−f(x)≥⟨p,y−x⟩ ∀y} generalizes this to any function fff at a point xxx in its domain.

Formalization targets

Goal: the directional-derivative/subdifferential correspondence

For f∈M[R→R]f \in M[\mathbb R \to \mathbb R]f∈M[R→R] and x∈dom⁡Rfx \in \operatorname{dom}_{\mathbb R} fx∈domR​f, setting γf,x(u,v)=f′(x;−χu+χv)\gamma_{f,x}(u,v) = f'(x;-\chi_u+\chi_v)γf,x​(u,v)=f′(x;−χu​+χv​):

γf,x satisfies the triangle inequality,∂Rf(x)=D(γf,x)≠∅,f′(x;⋅)=γf,x^(⋅),\gamma_{f,x} \text{ satisfies the triangle inequality}, \quad \partial_{\mathbb R} f(x) = D(\gamma_{f,x}) \ne \emptyset, \quad f'(x;\cdot) = \widehat{\gamma_{f,x}}(\cdot),γf,x​ satisfies the triangle inequality,∂R​f(x)=D(γf,x​)=∅,f′(x;⋅)=γf,x​​(⋅),

with the analogous statement for f∈M[Z→R]f \in M[\mathbb Z \to \mathbb R]f∈M[Z→R] at an integer point xxx, using γf,x(u,v)=f(x−χu+χv)−f(x)\gamma_{f,x}(u,v) = f(x-\chi_u+\chi_v)-f(x)γf,x​(u,v)=f(x−χu​+χv​)−f(x) (Theorem 6.61). This is the weakest stable form: it identifies the subdifferential exactly, as a set, rather than bounding its size or complexity, and holds at every point of the domain uniformly.

Supporting structural targets

Ten further results build the real-variable toolkit and the positive-homogeneity correspondence this goal completes: the transfer of M♮-convexity, the basic operations, the optimality criterion, supermodularity, and weighted-minimizer polyhedrality to the real-variable setting (Theorems 6.48-6.52, Proposition 6.53), the identification of the classes 0M[Z∣R→R]0M[\mathbb Z|\mathbb R \to \mathbb R]0M[Z∣R→R] and 0M[R→R]0M[\mathbb R \to \mathbb R]0M[R→R] and the compatibility of convex extension with positive homogeneity (Proposition 6.56), the two directions of the correspondence between positively homogeneous M-convex functions and triangle-inequality distance functions (Propositions 6.57-6.58, Theorem 6.59), and the fact that a directional derivative of an M-convex function is itself positively homogeneous and M-convex (Proposition 6.60).

Significance

Theorem 6.61 is the technical bridge that lets discrete convex analysis borrow the entire apparatus of classical convex duality: because the subdifferential of an M-convex function is always the admissible-potential set of a chapter-5 distance function, every fact already proved about D(γ)D(\gamma)D(γ) (its polyhedral structure, its own L-convexity, its relationship to shortest paths) transfers immediately to subdifferentials of M-convex functions. This is exactly the mechanism the book calls out as essential for Chapter 8's separation theorem for M♮-convex functions. The 0M↔T0M \leftrightarrow T0M↔T correspondence (Theorem 6.59) is independently significant: it says the positively homogeneous special case of M-convex function theory — which is what directional derivatives of any M-convex function reduce to, by Proposition 6.60 — is exactly as rich as ordinary shortest-path distance function theory, no more and no less, so nothing new needs to be built to understand local behavior at a point.

None of these results are open — they are Murota's account of how the discrete exchange axiom interacts with directional differentiation and subgradients, a bridge chapter between the purely combinatorial theory of chapters 4-6 and the duality theory of chapter 8. What this mission contributes is a faithful, machine-checked formal statement of each, extending the shared Lean vocabulary (MExchangeAxiomR, DirDeriv, GammaHat) the Discrete Convex Analysis series builds on; no comparable formalization exists on the platform (see Formalization scope).

Difficulty

The naive approach to Theorem 6.61 would try to compute ∂Rf(x)\partial_{\mathbb R} f(x)∂R​f(x) directly from the definition of subgradient and separately verify it happens to equal some D(γ)D(\gamma)D(γ); the book's actual proof instead derives the equality of sets from the M-optimality criterion (Theorem 6.52) applied pointwise: p∈∂Rf(x)p \in \partial_{\mathbb R} f(x)p∈∂R​f(x) is shown, via a chain of logical equivalences, to be exactly the condition defining D(γf,x)D(\gamma_{f,x})D(γf,x​), so no separate verification of polyhedrality or nonemptiness is needed beyond what Theorem 6.52 and Proposition 6.60 already supply. The genuine difficulty is upstream, in Proposition 6.60 itself: showing a directional derivative is M-convex requires exploiting the local validity of the identity f(x+d)−f(x)=f′(x;d)f(x+d)-f(x) = f'(x;d)f(x+d)−f(x)=f′(x;d) for small ∥d∥1\|d\|_1∥d∥1​ (Eq. (6.85)) and then extending the exchange property from that neighborhood to all of RV\mathbb R^VRV using positive homogeneity — a two-step argument with no single-step shortcut, since the exchange axiom's defining inequality is not obviously homogeneous-invariant on its own.

Formalization scope

Ground-set elements are a Fintype V with DecidableEq; real-domain functions are (V→ℝ)→WithTop ℝ. The directional derivative is built directly as an infimum of difference quotients over t>0t>0t>0, matching the book's own local characterization (Eq. (6.85)) without a separate limit construction. Positive homogeneity and the classes 0M[R→R]/0M[Z→R] are stated exactly as the book defines them (the latter via positive homogeneity of the convex extension, not of f itself, since f is undefined off Zⱽ). Theorems 6.49-6.50 restate 4 of their 8 operations (matching the identical scope decision for chunk 22-ch06b-mconvexfunctions's Theorem 6.13); Theorem 6.61 omits the dual-integral refinement clauses for the M[R→R|Z]/ M[Z→Z] sub-classes. Both reductions are documented, not trivializing omissions — see Difficulty above and HARD.md/MODERATION_NOTES.md. No numeric constants are hard-coded anywhere in this mission. This mission's definitions are redeclared from chunks 06-mconvex-functions-i, 21-ch05b-lconvexsets (for the distance-function/admissible-potential vocabulary), 22-ch06b-mconvexfunctions, and 23-ch06c-mconvexfunctions rather than imported, since sibling drafts in this series cannot yet reference one another. Contributions completing any of the twelve sorrys are welcome; the goal and Proposition 6.60 carry the most independent proof content.

Selected references

  • K. Murota, Discrete Convex Analysis, SIAM, 2003. DOI: 10.1137/1.9780898718508.
  • K. Murota and A. Shioura, "M-convex function on generalized polymatroid," Mathematics of Operations Research, 24 (1999), pp. 95-105 (the polyhedral M-convex function theory this mission's real-variable results are drawn from).
56 thms2 active usersReviewed
🏆Completed
Numerical AnalysisOptimization·Captain: mikedeng1

The Relaxation Method for Linear Inequalities III: Reflexion in a Closed Bounded Convex Set Terminates or Ends in OscillationResearch Paper

Motivation

The relaxation method for a system of linear inequalities, introduced by Agmon and by Motzkin and Schoenberg in back-to-back papers of the Canadian Journal of Mathematics (1954), solves ∑jaijxj+bi≥0\sum_j a_{ij}x_j + b_i \ge 0∑j​aij​xj​+bi​≥0 by repeatedly moving a point towards, or across, the most violated half-space. It is the ancestor of the perceptron algorithm, of Kaczmarz-type projection methods, and of the method of alternating projections, all of which are still used in feasibility problems, tomography and machine learning.

Motzkin and Schoenberg's paper ends (Part IV, §§9–10) by asking whether the behaviour of the reflexion process — the relaxation step with factor λ=2\lambda = 2λ=2 — survives when the finite family of half-spaces is replaced by an infinite one. They answer this for one natural infinite family: all supporting half-spaces of a closed bounded convex set. This mission formalizes that answer, Theorem 3 of the paper.

Timeline of the thread this mission belongs to:

  • 1922 — Fejér observes that a sequence approaching every point of a set monotonically has useful convergence properties (Fejér, Math. Annalen 85, 1922).
  • 1954 — Agmon proves convergence of the relaxation method for 0<λ<20 < \lambda < 20<λ<2 (Agmon, Canad. J. Math. 6, 1954, pp. 382–392); Motzkin and Schoenberg prove finite termination of the reflexion method (λ=2\lambda = 2λ=2) for full-dimensional solution polytopes (Theorem 1), the oscillation behaviour in lower dimension (Theorem 2), and the convex-body version (Theorem 3) (Motzkin–Schoenberg 1954).

Setting

Let EnE_nEn​ be nnn-dimensional Euclidean space and let A⊆EnA \subseteq E_nA⊆En​ be a nonempty, closed, bounded, convex set. Its dimension rrr is the dimension of its affine span LrL_rLr​, the smallest flat containing AAA.

For p∉Ap \notin Ap∈/A let qqq be the point of AAA nearest to ppp; it exists and is unique. The image of ppp with respect to AAA is

p1=F(p)=p+2(q−p),(3.1)p_1 = F(p) = p + 2(q - p), \qquad (3.1)p1​=F(p)=p+2(q−p),(3.1)

the reflexion of ppp through qqq. The reflexion process starts at p0∉Ap_0 \notin Ap0​∈/A and sets pν+1=F(pν)p_{\nu+1} = F(p_\nu)pν+1​=F(pν​) as long as pν∉Ap_\nu \notin Apν​∈/A (3.2). Either the process terminates with some pN∈Ap_N \in ApN​∈A, or it produces an infinite sequence of points outside AAA.

The family FFF of supporting half-spaces of AAA consists of the closed half-spaces H⊇AH \supseteq AH⊇A whose bounding hyperplane touches AAA. The paper observes that the half-space H0H_0H0​ through qqq normal to pqpqpq is the member of FFF farthest from ppp, so (3.1) is exactly the reflexion step of the relaxation method applied to the infinite family FFF.

A sequence {qν}\{q_\nu\}{qν​} of points outside AAA is Fejér-monotone with respect to AAA if qν≠qν+1q_\nu \ne q_{\nu+1}qν​=qν+1​ and ∣qν+1−a∣≤∣qν−a∣|q_{\nu+1} - a| \le |q_\nu - a|∣qν+1​−a∣≤∣qν​−a∣ for all a∈Aa \in Aa∈A. Two points u,vu, vu,v are symmetric with respect to a flat LLL if their midpoint lies in LLL and u−vu - vu−v is orthogonal to LLL.

Formalization targets

Goal: Theorem 3 (p. 402)

For every nonempty closed bounded convex A⊆EnA \subseteq E_nA⊆En​ with affine span LrL_rLr​, every p0∉Ap_0 \notin Ap0​∈/A and every run {pν}\{p_\nu\}{pν​} of the reflexion process:

Case 1: r=n  ⟹  ∃N, pN∈A.\textbf{Case 1: } r = n \implies \exists N,\ p_N \in A.Case 1: r=n⟹∃N, pN​∈A. Case 2: r<n  ⟹  {p0∈Lr  ⟹  ∃N, pN∈A,p0∉Lr  ⟹  pν∉A ∀ν, and ∃ν0,u≠v symmetric w.r.t. Lr: {pν,pν+1}={u,v} ∀ν>ν0.\textbf{Case 2: } r < n \implies \begin{cases} p_0 \in L_r \implies \exists N,\ p_N \in A,\\[2pt] p_0 \notin L_r \implies p_\nu \notin A\ \forall \nu, \text{ and } \exists \nu_0, u \ne v \text{ symmetric w.r.t. } L_r:\ \{p_\nu, p_{\nu+1}\} = \{u, v\}\ \forall \nu > \nu_0. \end{cases}Case 2: r<n⟹{p0​∈Lr​⟹∃N, pN​∈A,p0​∈/Lr​⟹pν​∈/A ∀ν, and ∃ν0​,u=v symmetric w.r.t. Lr​: {pν​,pν+1​}={u,v} ∀ν>ν0​.​

No number of steps is fixed: termination is finite but not uniformly bounded.

Milestones (attack order)

  1. §9 — the half-space H0H_0H0​ belongs to FFF, maximizes dist⁡(p,H)\operatorname{dist}(p, H)dist(p,H) over FFF, and every farthest member of FFF yields the step (3.1).
  2. §10 — an infinite run of the reflexion process is Fejér-monotone with respect to AAA.
  3. Lemma 1, Case 1 — a sequence Fejér-monotone with respect to a set of dimension nnn converges to a point.
  4. §10 — the limit of an infinite run lies in AAA and on its boundary.
  5. Theorem 3, Case 1 — if r=nr = nr=n the process always terminates.
  6. §10 — orthogonal projection on a flat L⊇AL \supseteq AL⊇A commutes with the image map, and each step keeps the distance to LLL while switching sides.

Significance

The result. Theorem 3 shows that the dichotomy proved in the paper for finitely many half-spaces — finite termination when the target is full-dimensional, eventual oscillation otherwise — holds for the infinite family of all supporting half-spaces of a convex body. Case 1 says that reflecting through the nearest point, a method that uses no information about AAA beyond metric projection, reaches a full-dimensional convex body in finitely many steps from any start. Case 2 says that for a lower-dimensional body the process detects this: the iterates settle into a two-cycle whose midpoint is a point of AAA, so a solution can be read off.

Formalizing it. The theorem is proved in the paper (1954), with a short proof of Case 1 that relies on geometric intuition about normal cones near a boundary point. To our knowledge no machine-checked proof exists. A complete development produces a verified finite-termination theorem for a projection method on general convex bodies, together with reusable facts about Fejér-monotone sequences and metric projections that recur throughout the analysis of projection algorithms.

Difficulty

The obvious argument for Case 1 is: the run is Fejér-monotone, hence converges (Lemma 1), and its limit aaa lies on the boundary of AAA; then derive a contradiction. For a polytope (Theorem 1) the contradiction comes from finiteness: eventually every reflexion is in one of finitely many hyperplanes through aaa, which keeps the iterates on a sphere around aaa. For a convex body there are infinitely many supporting hyperplanes near aaa, and the iterates are reflected in a different one at every step; no finiteness argument is available. What replaces finiteness is an argument about how the supporting hyperplanes of AAA at boundary points near aaa are oriented, and the paper gives it only as an informal geometric sketch. Making this step rigorous is the main work of the mission.

Numerical experiments show that termination can take tens of thousands of steps near sharp corners of a polygon, so no bound on the number of steps in terms of the distance of p0p_0p0​ to AAA alone can be expected.

Formalization scope

  • Space. EnE_nEn​ is EuclideanSpace ℝ (Fin n). AAA is a Set with four explicit hypotheses: A.Nonempty, IsClosed A, Convex ℝ A, Bornology.IsBounded A. Nonemptiness is implicit in the paper ("of dimension rrr", "the point of AAA nearest to ppp").
  • The image as a relation. IsImage A p p₁ holds when p1=p+2(q−p)p_1 = p + 2(q - p)p1​=p+2(q−p) for a nearest point qqq of AAA; the nearest point is not chosen by a function. For closed convex nonempty AAA this relation is a function on EnE_nEn​. A run is any sequence with IsImage A (p ν) (p (ν+1)) whenever p ν ∉ A; values after entering AAA are unconstrained. Every statement quantifies over every run from every p0∉Ap_0 \notin Ap0​∈/A; a formalization that only asserts the existence of some terminating run is ruled out.
  • Dimension. LrL_rLr​ is affineSpan ℝ A; r=nr = nr=n is affineSpan ℝ A = ⊤, r<nr < nr<n is affineSpan ℝ A ≠ ⊤. No separate natural number rrr is introduced.
  • Symmetry. IsSymmetricWrt L u v: midpoint ℝ u v ∈ L and u - v orthogonal to L.direction. For r<n−1r < n - 1r<n−1 this is a point reflection through the foot of the perpendicular, not a reflection in a hyperplane. The goal also requires u≠vu \ne vu=v and strict alternation pν↔pν+1p_\nu \leftrightarrow p_{\nu+1}pν​↔pν+1​ for ν>ν0\nu > \nu_0ν>ν0​ (strict inequality, as printed).
  • Boundary is frontier A; distances to sets are Metric.infDist.
  • Generalizations recorded. Lemma 1, Case 1 is stated for an arbitrary set A⊆EnA \subseteq E_nA⊆En​ with full affine span (the paper states it for the polytope of (1.4) and applies it in §10 to a convex body). The projection milestone is stated for any flat L⊇AL \supseteq AL⊇A, not only after the paper's reduction to r=n−1r = n - 1r=n−1. The §9 milestone expresses "the reflexion process with respect to FFF amounts to (3.1)" as: every farthest member of FFF, with any nearest point on it, gives the same step.
  • Duplication. Case 1 appears both as a milestone and inside the goal, because the paper's proof of Case 2 cites Case 1. Solvers will need to transfer Case 1 from EnE_nEn​ to the flat LrL_rLr​ (an isometric copy of ErE_rEr​).
  • Infrastructure. Mathlib's metric projection onto complete convex sets (exists_norm_eq_iInf_of_complete_convex, norm_eq_iInf_iff_real_inner_le_zero) and EuclideanGeometry.orthogonalProjection cover the basic geometry. Normal cones of convex sets and their upper semicontinuity are not in Mathlib; a contribution there is reusable well beyond this mission. Proofs of any milestone, and alternative proofs of Case 1, are welcome.

Selected references

  • T. S. Motzkin and I. J. Schoenberg, The relaxation method for linear inequalities, Canadian Journal of Mathematics 6 (1954), 393–404. https://doi.org/10.4153/CJM-1954-038-x
  • S. Agmon, The relaxation method for linear inequalities, Canadian Journal of Mathematics 6 (1954), 382–392 (the companion paper in the same issue).
  • L. Fejér, Über die Lage der Nullstellen von Polynomen, die aus Minimumforderungen gewisser Art entspringen, Mathematische Annalen 85 (1922), 41–48.
11 thms2 active usersReviewed
🏆Completed
Discrete GeometryOperations ResearchOptimization·Captain: Shuze Chen

Discrete Convex Analysis V: The M-Optimality Criterion and the Proximity TheoremTextbook

Motivation

Scaling algorithms are one of the standard techniques for solving discrete optimization problems efficiently: instead of searching a huge integer domain directly, an algorithm first solves a coarsened version of the problem — checking optimality only against neighbors reached by a large step size α\alphaα — and then refines the resulting approximate solution down to the true optimum. This strategy is only as good as the guarantee that a coarse-scale local optimum is provably close to a true, fine-scale global optimum; without such a guarantee, refinement could require an unbounded number of steps. Results providing this guarantee are called proximity theorems, and they are a standard tool across combinatorial optimization, from network flow scaling algorithms to submodular function minimization.

M-convex functions, the subject of this chapter, are exactly the class of discrete convex functions for which the classical local-optimality test of chapter 3 (checking a full neighborhood of up to 3n−13^n-13n−1 sign patterns) sharpens to a much smaller, purely pairwise test: checking f(x)≤f(x−χu+χv)f(x) \le f(x - \chi_u + \chi_v)f(x)≤f(x−χu​+χv​) for every pair of coordinates u,vu, vu,v. This mission formalizes the chapter's central definitional equivalence (Theorem 6.2), this pairwise optimality criterion (Theorem 6.26), a structural minimizer-cut lemma (Theorem 6.28), and the chapter's capstone, the M-proximity theorem (Theorem 6.37) — the result that makes M-convex scaling algorithms provably correct, with an explicit, dimension-and-scale-only distance bound between a coarse-scale local optimum and a true global minimizer.

Setting

Let VVV be a finite ground set. A function f:ZV→R∪{+∞}f : \mathbb Z^V \to \mathbb R \cup \{+\infty\}f:ZV→R∪{+∞} with nonempty effective domain dom⁡f\operatorname{dom} fdomf is an M-convex function if it satisfies the exchange axiom (M-EXC[Z]): for x,y∈dom⁡fx, y \in \operatorname{dom} fx,y∈domf and uuu in the positive support of x−yx - yx−y, there is vvv in the negative support of x−yx-yx−y with

f(x)+f(y)≥f(x−χu+χv)+f(y+χu−χv).f(x) + f(y) \ge f(x - \chi_u + \chi_v) + f(y + \chi_u - \chi_v).f(x)+f(y)≥f(x−χu​+χv​)+f(y+χu​−χv​).

An M♮^\natural♮-convex function is one whose lift f~\tilde ff~​ to the extended ground set V~={0}∪V\tilde V = \{0\} \cup VV~={0}∪V — defined by f~(x0,x)=f(x)\tilde f(x_0, x) = f(x)f~​(x0​,x)=f(x) when x0=−x(V)x_0 = -x(V)x0​=−x(V), and +∞+\infty+∞ otherwise — is M-convex; equivalently (Theorem 6.2, below) fff satisfies the axiom (M♮^\natural♮-EXC[Z]), a variant of (M-EXC[Z]) that additionally allows a single-coordinate move (uuu alone, with no compensating vvv). Every M-convex function is M♮^\natural♮-convex, but not conversely. For α\alphaα a positive integer, a point satisfies the scaled local optimality condition at scale α\alphaα if f(xα)≤f(xα+α(χv−χu))f(x_\alpha) \le f(x_\alpha + \alpha(\chi_v - \chi_u))f(xα​)≤f(xα​+α(χv​−χu​)) for all relevant u,vu, vu,v — a check against neighbors α\alphaα steps away rather than adjacent ones.

Formalization targets

Goal: Theorem 6.37 (the M-proximity theorem)

Assume α\alphaα is a positive integer and n=∣V∣n = |V|n=∣V∣.

(1) f M-convex, f(xα)≤f(xα+α(χv−χu)) ∀u,v  ⟹  ∃x∗∈arg⁡min⁡f, ∥xα−x∗∥∞≤(n−1)(α−1),\text{(1) } f \text{ M-convex, } f(x_\alpha) \le f(x_\alpha + \alpha(\chi_v-\chi_u))\ \forall u,v \implies \exists x^* \in \arg\min f,\ \|x_\alpha - x^*\|_\infty \le (n-1)(\alpha-1),(1) f M-convex, f(xα​)≤f(xα​+α(χv​−χu​)) ∀u,v⟹∃x∗∈argminf, ∥xα​−x∗∥∞​≤(n−1)(α−1), (2) f M♮-convex, same hypothesis over u,v∈V∪{0}  ⟹  ∃x∗∈arg⁡min⁡f, ∥xα−x∗∥∞≤n(α−1).\text{(2) } f \text{ M}^\natural\text{-convex, same hypothesis over } u,v \in V \cup \{0\} \implies \exists x^* \in \arg\min f,\ \|x_\alpha - x^*\|_\infty \le n(\alpha-1).(2) f M♮-convex, same hypothesis over u,v∈V∪{0}⟹∃x∗∈argminf, ∥xα​−x∗∥∞​≤n(α−1).

Both bounds are exact and specific to their hypothesis class; replacing either with an unspecified function of nnn and α\alphaα would discard exactly the content chapter 10's algorithms rely on.

Milestones: Theorems 6.2, 6.26, 6.28

Theorem 6.2: M♮^\natural♮-convexity (defined via the lift) is equivalent to the direct exchange axiom (M♮^\natural♮-EXC[Z]) — the chapter's central definitional theorem, needed to work with M♮^\natural♮-convex functions without repeatedly invoking the lift construction. Theorem 6.26 (the M-optimality criterion): global optimality of fff at xxx is equivalent to a purely pairwise local check, f(x)≤f(x−χu+χv)f(x) \le f(x-\chi_u+\chi_v)f(x)≤f(x−χu​+χv​) for all u,vu,vu,v (plus, in the M♮^\natural♮ case, f(x)≤f(x±χv)f(x) \le f(x\pm\chi_v)f(x)≤f(x±χv​)). Theorem 6.28 (the M-minimizer cut): from any point and any coordinate pair minimizing a one-step exchange, one can certify a coordinate-wise bound that some global minimizer must satisfy — the structural fact underlying both the domain-reduction algorithm and, via the same proof technique, the proximity theorem itself.

Significance

The result itself. Theorem 6.26 already sharpens chapter 3's local-to-global criterion (checking a full 3n−13^n-13n−1-point neighborhood) to an O(n2)O(n^2)O(n2)-size pairwise check — the minimum spanning tree optimality criterion is a direct special case. The proximity theorem builds on this to control what happens when the local check is only performed at a coarse scale α\alphaα: it guarantees that scaling-based algorithms, which alternate between coarse-scale local search and scale reduction, terminate with a guaranteed-close approximation at every stage, with an explicit linear-in-nnn, linear-in-α\alphaα error bound rather than a qualitative "eventually converges" guarantee.

Formalizing it. No matching item exists on the platform for M-convex functions, the exchange axiom, or a discrete proximity theorem of this kind. This mission gives the first formal statement of the M-optimality criterion and the M-proximity theorem, together with the exchange-axiom / lift-based-definition equivalence (Theorem 6.2) that the rest of the M-convex function theory (chunks 07, and indirectly 10–14) is built on.

Difficulty

The natural first attempt at Theorem 6.37 is to try a direct coordinatewise argument: since the scaled hypothesis holds for every pair u,vu, vu,v, one might hope to bound ∣xα(v)−x∗(v)∣|x_\alpha(v) - x^*(v)|∣xα​(v)−x∗(v)∣ coordinate by coordinate independently. This does not work, because a single application of the exchange axiom only ever improves fff by trading one coordinate down and one other coordinate up simultaneously — there is no way to move a single coordinate toward a minimizer in isolation without accounting for where the compensating mass goes. The actual proof instead fixes a target coordinate vvv, constructs a chain of strictly decreasing function values y0=xα,y1,…,yky_0 = x_\alpha, y_1, \ldots, y_ky0​=xα​,y1​,…,yk​ by repeatedly applying (M-EXC[Z]) against a fixed near-optimal point x∗x^*x∗ (exactly the technique of Theorem 6.28's proof), and then bounds how far each other coordinate can move along this chain using the scaled hypothesis itself, before summing those bounds via the M-convex domain's hyperplane constraint x(V)=x(V) = x(V)= constant to recover the bound on vvv. The chain construction, not a per-coordinate estimate, is what makes the linear-in-nnn bound provable at all.

Formalization scope

The ground set VVV is a Fintype with DecidableEq; f:ZV→R∪{+∞}f : \mathbb Z^V \to \mathbb R \cup \{+\infty\}f:ZV→R∪{+∞} is (V → ℤ) → WithTop ℝ. M♮^\natural♮-convexity is represented via an explicit lift to Option V (none standing for the extended ground set's new element 000), matching the book's own primary definition; the direct exchange-axiom form is a separate predicate related to it by Theorem 6.2, not conflated with it. `‖x_\alpha - x^*|_\infty \le c$ is stated pointwise.

A trivializing formalization of the goal would replace either exact bound, (n−1)(α−1)(n-1)(\alpha-1)(n−1)(α−1) or n(α−1)n(\alpha-1)n(α−1), with an unspecified asymptotic bound, or merge the two hypothesis classes into a single weaker statement; neither is done here. Propositions establishing dom f as an M-convex set, the M/M♮^\natural♮ relationship (Theorem 6.3), and several structural closure properties are cut from this mission's scope (not needed by the chosen items' statements — see MODERATION_NOTES.md) but are natural targets for a follow-on mission or for chunk 07, which builds directly on this chunk's exchange-axiom vocabulary. Contributions building the arg min f M-convexity corollary (Proposition 6.29) or the scaled minimizer cut (Theorem 6.39, the direct generalization of Theorem 6.28 drafted here) are welcome.

Selected references

  • K. Murota, Discrete Convex Analysis, SIAM, 2003. DOI: 10.1137/1.9780898718508.
  • D. S. Hochbaum, "Lower and upper bounds for the allocation problem and other nonlinear optimization problems," Mathematics of Operations Research, 19(2), 1994, pp. 390–409.
14 thms2 active usersReviewed
🏆Completed
Machine LearningOperations ResearchOptimization·Captain: mikedeng1

A Stochastic Quasi-Newton Method for Large-Scale Optimization: The Expected Suboptimality Bound of the SQN MethodResearch Paper

Motivation

Training a statistical model by empirical risk minimization means minimizing an average of NNN losses over a parameter vector w∈Rnw\in\mathbb R^nw∈Rn, where both NNN and nnn can be in the millions. Stochastic gradient descent (SGD) is the standard method: each step uses the gradient of a small random batch of losses. It is cheap per step but sensitive to the scaling of the problem. Quasi-Newton methods such as L-BFGS correct the scaling in deterministic optimization, but naive stochastic versions are unstable, because differences of noisy gradients are poor curvature estimates.

Byrd, Hansen, Nocedal and Singer (SIAM J. Optim. 26(2), 2016) proposed the stochastic quasi-Newton (SQN) method. It decouples the two estimates: gradients come from small batches at every step, while curvature pairs are formed only every LLL steps, from averaged iterates and subsampled Hessian–vector products. The paper's analysis (Section 3) shows that the method keeps the O(1/k)O(1/k)O(1/k) expected suboptimality rate of SGD on strongly convex problems. The same eigenvalue bound was obtained independently by Mokhtari and Ribeiro (JMLR 16, 2015). Bottou, Curtis and Nocedal later gave a general treatment of such preconditioned stochastic methods (SIAM Review 60(2), 2018).

Setting

Let f1,…,fN:Rn→Rf_1,\dots,f_N:\mathbb R^n\to\mathbb Rf1​,…,fN​:Rn→R be twice continuously differentiable losses and

F(w)=1N∑i=1Nfi(w).F(w)=\frac1N\sum_{i=1}^N f_i(w).F(w)=N1​i=1∑N​fi​(w).

For a sample S⊆{1,…,N}\mathcal S\subseteq\{1,\dots,N\}S⊆{1,…,N} of size bbb, the minibatch gradient is ∇FS(w)=1b∑i∈S∇fi(w)\nabla F_{\mathcal S}(w)=\frac1b\sum_{i\in\mathcal S}\nabla f_i(w)∇FS​(w)=b1​∑i∈S​∇fi​(w). For a sample SH\mathcal S_HSH​ of size bHb_HbH​, the subsampled Hessian is ∇2FSH(w)=1bH∑i∈SH∇2fi(w)\nabla^2F_{\mathcal S_H}(w)=\frac1{b_H}\sum_{i\in\mathcal S_H}\nabla^2 f_i(w)∇2FSH​​(w)=bH​1​∑i∈SH​​∇2fi​(w).

Assumption 1 requires constants 0<λ,Λ0<\lambda,\Lambda0<λ,Λ with λI≺∇2FSH(w)≺ΛI\lambda I\prec\nabla^2F_{\mathcal S_H}(w)\prec\Lambda IλI≺∇2FSH​​(w)≺ΛI for every www and every Hessian sample. It also requires a bound γ2\gamma^2γ2 on the second moment of the stochastic gradient. w∗w^*w∗ denotes the minimizer of FFF.

Algorithm 2 turns correction pairs (sj,yj)(s_j,y_j)(sj​,yj​) into a matrix HtH_tHt​. With m~=min⁡{t,M}\tilde m=\min\{t,M\}m~=min{t,M}, it starts from stTytytTytI\frac{s_t^Ty_t}{y_t^Ty_t}IytT​yt​stT​yt​​I and applies the BFGS update

H←(I−ρjsjyjT)H(I−ρjyjsjT)+ρjsjsjT,ρj=1yjTsj,H\leftarrow(I-\rho_js_jy_j^T)H(I-\rho_jy_js_j^T)+\rho_js_js_j^T,\qquad\rho_j=\frac1{y_j^Ts_j},H←(I−ρj​sj​yjT​)H(I−ρj​yj​sjT​)+ρj​sj​sjT​,ρj​=yjT​sj​1​,

for j=t−m~+1,…,tj=t-\tilde m+1,\dots,tj=t−m~+1,…,t.

Algorithm 1 (SQN) runs for k=1,2,…k=1,2,\dotsk=1,2,…. It draws a gradient sample Sk\mathcal S_kSk​ and steps

wk+1=wk−αkH∇FSk(wk),w^{k+1}=w^k-\alpha^kH\nabla F_{\mathcal S_k}(w^k),wk+1=wk−αkH∇FSk​​(wk),

where H=IH=IH=I for k≤2Lk\le2Lk≤2L and H=HtH=H_tH=Ht​, t=⌊(k−1)/L⌋−1t=\lfloor(k-1)/L\rfloor-1t=⌊(k−1)/L⌋−1, afterwards. Every LLL iterations it forms the block average wˉt\bar w_twˉt​ of the last LLL iterates and a new pair

st=wˉt−wˉt−1,yt=∇2FSH,t(wˉt) st.s_t=\bar w_t-\bar w_{t-1},\qquad y_t=\nabla^2F_{\mathcal S_{H,t}}(\bar w_t)\,s_t .st​=wˉt​−wˉt−1​,yt​=∇2FSH,t​​(wˉt​)st​.

Samples are drawn independently and uniformly among the subsets of their size. The step length is αk=β/k\alpha^k=\beta/kαk=β/k.

Formalization targets

Goal: Corollary 3.3, with a corrected constant

There are 0<μ1≤μ20<\mu_1\le\mu_20<μ1​≤μ2​, depending only on the problem data, such that every matrix Algorithm 1 applies satisfies μ1I≺H≺μ2I\mu_1I\prec H\prec\mu_2Iμ1​I≺H≺μ2​I. Moreover, for every β>1/(2μ1λ)\beta>1/(2\mu_1\lambda)β>1/(2μ1​λ),

E[F(wk)−F(w∗)]≤Qc(β)k(k≥1),E[F(w^k)-F(w^*)]\le\frac{Q_c(\beta)}k\qquad(k\ge1),E[F(wk)−F(w∗)]≤kQc​(β)​(k≥1), Qc(β)=max⁡{Λμ22β2γ22(2μ1λβ−1), Λμ22β2γ2, F(w1)−F(w∗)}.Q_c(\beta)=\max\Big\{\frac{\Lambda\mu_2^2\beta^2\gamma^2}{2(2\mu_1\lambda\beta-1)},\ \Lambda\mu_2^2\beta^2\gamma^2,\ F(w^1)-F(w^*)\Big\}.Qc​(β)=max{2(2μ1​λβ−1)Λμ22​β2γ2​, Λμ22​β2γ2, F(w1)−F(w∗)}.

The constants μ1,μ2\mu_1,\mu_2μ1​,μ2​ are not fixed numerically. The goal asserts a rate of order 1/k1/k1/k with an explicit constant in terms of them.

Milestones

  • (3.8)–(3.10): the curvature bounds λ∥s∥2≤yTs≤Λ∥s∥2\lambda\|s\|^2\le y^Ts\le\Lambda\|s\|^2λ∥s∥2≤yTs≤Λ∥s∥2 and λ≤∥y∥2/yTs≤Λ\lambda\le\|y\|^2/y^Ts\le\Lambdaλ≤∥y∥2/yTs≤Λ for Hessian-product pairs.
  • (3.11) and (3.12): the trace bound and Powell's determinant formula for the direct L-BFGS matrices.
  • Lemma 3.1: μ1I≺Ht≺μ2I\mu_1I\prec H_t\prec\mu_2Iμ1​I≺Ht​≺μ2​I uniformly along every run.
  • (3.18): expected descent for the general Newton-like iteration wk+1=wk−αkHk∇f(wk,ξk)w^{k+1}=w^k-\alpha^kH_k\nabla f(w^k,\xi^k)wk+1=wk−αkHk​∇f(wk,ξk).
  • (3.19): 2λ[F(w)−F(w∗)]≤∥∇F(w)∥22\lambda[F(w)-F(w^*)]\le\|\nabla F(w)\|^22λ[F(w)−F(w∗)]≤∥∇F(w)∥2.
  • (3.22): the recursion ϕk+1≤(1−2αkμ1λ)ϕk+Λ2(αkμ2)2γ2\phi_{k+1}\le(1-2\alpha^k\mu_1\lambda)\phi_k+\frac\Lambda2(\alpha^k\mu_2)^2\gamma^2ϕk+1​≤(1−2αkμ1​λ)ϕk​+2Λ​(αkμ2​)2γ2.
  • Theorem 3.2: the Qc(β)/kQ_c(\beta)/kQc​(β)/k rate for the Newton-like iteration.

Significance

The corollary says that curvature information costs nothing in rate. With uniformly bounded preconditioners and the β/k\beta/kβ/k schedule, the SQN method converges in expectation at the same order as SGD, which is the order known to be optimal for this class of problems. Lemma 3.1 is the reusable part: it holds for any L-BFGS matrix built from pairs whose curvature is controlled by a bounded Hessian. Theorem 3.2 applies to every stochastic method whose preconditioner is fixed before the sample is drawn and has uniformly bounded spectrum.

The formalization adds three things. First, it states the result correctly. As printed, Theorem 3.2 is false and Assumption 1(3) cannot be satisfied (see Formalization scope), and the mission states and labels the repaired versions. Second, it gives a machine-checked statement of the SQN algorithm itself, which is not currently formalized anywhere. Third, it provides L-BFGS and preconditioned-SGD infrastructure that later missions on stochastic second-order methods can reuse. To our knowledge none of these results has a machine-checked proof.

Difficulty

The natural first idea is to feed the iterates of Algorithm 1 to a standard SGD rate theorem. This fails for two reasons. The preconditioner HtH_tHt​ depends on the past iterates and on independent Hessian samples, so the analysis needs a filtration in which HtH_tHt​ is known before the gradient sample is drawn. Also, the rate proof itself is an induction that breaks in the first iterations, which is exactly where the printed argument goes wrong.

On the linear-algebra side, the difficulty is a lower bound on the smallest eigenvalue of HtH_tHt​ that is uniform over all runs and all ttt. The curvature bounds on each individual pair do not give it directly, because the BFGS updates compound across the memory window. The expectation side needs conditional expectations of vector-valued functions and a descent inequality under a Hessian bound, neither of which Mathlib packages for this setting.

Formalization scope

Vectors live in EuclideanSpace ℝ (Fin n), matrices are Matrix (Fin n) (Fin n) ℝ acting through Matrix.toEuclideanLin, and A≺BA\prec BA≺B is (B - A).PosDef. Hessians are fderiv ℝ (gradient f) w. Indices k,tk,tk,t start at 111 as in the paper. In the corollary, EEE is an exact finite average over sample histories, and "almost surely" means "on every history". Theorem 3.2 uses a general probability space with a filtration. HkH_kHk​ and wkw^kwk are Fk\mathcal F_kFk​-measurable, the sample ξk\xi^kξk is Fk+1\mathcal F_{k+1}Fk+1​-measurable, and unbiasedness is a conditional expectation. Integrability of F(wk)F(w^k)F(wk) is part of each conclusion, so a junk-zero integral cannot satisfy it.

Two corrections to the paper, each labelled in the item titles and notes:

  • Iterate-wise γ\gammaγ. Assumption 1(3) says Eξ∥∇f(w,ξ)∥2≤γ2E_\xi\|\nabla f(w,\xi)\|^2\le\gamma^2Eξ​∥∇f(w,ξ)∥2≤γ2 for all www. Together with unbiasedness and λ\lambdaλ-strong convexity on Rn\mathbb R^nRn, this forces λ∥w−w∗∥≤∥∇F(w)∥≤γ\lambda\|w-w^*\|\le\|\nabla F(w)\|\le\gammaλ∥w−w∗∥≤∥∇F(w)∥≤γ for every www, which is impossible. The mission imposes the bound at the iterates, conditionally on the past, which is how the proof uses it.
  • Constant Qc(β)Q_c(\beta)Qc​(β). The induction after (3.22) multiplies by 1−2βμ1λ/k1-2\beta\mu_1\lambda/k1−2βμ1​λ/k, which is negative for k<2βμ1λk<2\beta\mu_1\lambdak<2βμ1​λ. Counterexample: n=1n=1n=1, f1,2(w)=(w∓1)2/2f_{1,2}(w)=(w\mp1)^2/2f1,2​(w)=(w∓1)2/2, Hk=IH_k=IHk​=I, w1=0w^1=0w1=0, β=2\beta=2β=2, γ2=5\gamma^2=5γ2=5. Then F(w2)−F(w∗)=2>Q(2)/2=5/3F(w^2)-F(w^*)=2>Q(2)/2=5/3F(w2)−F(w∗)=2>Q(2)/2=5/3, and the example survives perturbing the constants so that every strict inequality holds. The middle entry of QcQ_cQc​ repairs it, and Qc=QQ_c=QQc​=Q whenever 2μ1λβ≤3/22\mu_1\lambda\beta\le3/22μ1​λβ≤3/2.

Smaller conventions:

  • The pairs must satisfy st≠0s_t\neq0st​=0, since Algorithm 2 is undefined otherwise.
  • Hessian samples have size bH≥1b_H\ge1bH​≥1; the empty sample makes (2.3) a 0/00/00/0.
  • The corollary's undefined μ2\mu_2μ2​ is Lemma 3.1's constant, enlarged together with μ1\mu_1μ1​ to cover the initial H=IH=IH=I steps.
  • The block average of Algorithm 1 is used, not Eq. (2.1).

Trivializing encodings are ruled out: HtH_tHt​ is Algorithm 2 applied to Algorithm 1's own pairs, not an arbitrary bounded matrix, and the second-moment bound is not imposed for all www.

Needed infrastructure, all welcome as contributions: the symmetry and spectral bounds of Hessians of C2C^2C2 functions, trace and determinant identities for BFGS updates, the descent lemma from a Hessian upper bound, conditional-expectation manipulations for adapted iterations, and the reduction of Algorithm 1 with uniform finite sampling to the abstract iteration.

Selected references

  • R. H. Byrd, S. L. Hansen, J. Nocedal, Y. Singer, A Stochastic Quasi-Newton Method for Large-Scale Optimization, SIAM J. Optim. 26(2):1008–1031, 2016. https://doi.org/10.1137/140954362
  • A. Mokhtari, A. Ribeiro, Global Convergence of Online Limited Memory BFGS, J. Mach. Learn. Res. 16:3151–3181, 2015. https://jmlr.org/papers/v16/mokhtari15a.html
  • L. Bottou, F. E. Curtis, J. Nocedal, Optimization Methods for Large-Scale Machine Learning, SIAM Review 60(2):223–311, 2018. https://doi.org/10.1137/16M1080173
  • A. Nemirovski, A. Juditsky, G. Lan, A. Shapiro, Robust Stochastic Approximation Approach to Stochastic Programming, SIAM J. Optim. 19(4):1574–1609, 2009. https://doi.org/10.1137/070704277
  • M. J. D. Powell, Some global convergence properties of a variable metric algorithm for minimization without exact line searches, in Nonlinear Programming, SIAM-AMS Proc. IX, 1976, pp. 53–72.
13 thms2 active usersReviewed
🏆Completed
Numerical AnalysisOperations ResearchOptimization·Captain: mikedeng1

Globally Convergent Type-I Anderson Acceleration for Nonsmooth Fixed-Point Iterations: The Stabilized Type-I Anderson Acceleration Converges to a Fixed Point of Every Nonexpansive MapResearch Paper

Motivation

Many first-order methods in optimization are fixed-point iterations xk+1=f(xk)x^{k+1}=f(x^k)xk+1=f(xk) of a nonexpansive map f:Rn→Rnf:\mathbb R^n\to\mathbb R^nf:Rn→Rn: proximal gradient descent, projected gradient descent, alternating projections, ISTA and Douglas–Rachford splitting (with the conic solver SCS as an instance) all have this form (Zhang, O'Donoghue, Boyd 2020, §4.2). The averaged (Krasnosel'skiĭ–Mann) iteration xk+1=(1−α)xk+αf(xk)x^{k+1}=(1-\alpha)x^k+\alpha f(x^k)xk+1=(1−α)xk+αf(xk) converges to a fixed point whenever one exists, but it is often slow in its terminal phase. Anderson acceleration (AA) combines the last few iterates through a quasi-Newton update of an approximate Jacobian; it is used for electronic-structure computations and, in the stabilized form studied here, in the solver SCS 2.1. Its type-I variant (AA-I) is often faster in practice than the more studied type-II variant, but it can be numerically unstable, and no global convergence guarantee existed for it on nonsmooth problems.

Timeline (as recounted in the paper's related-work section):

  • 1965. Anderson introduces the method for nonlinear integral equations (J. ACM 12).
  • 1978. Gay and Schnabel prove local Q-superlinear convergence of a full-memory AA-I-type method (Broyden with projected updates), assuming fff continuously differentiable near the solution.
  • 2009. Fang and Saad connect AA with multisecant Broyden methods and distinguish the two types (Numer. Linear Algebra Appl. 16).
  • 2011. Walker and Ni show the essential equivalence of full-memory AA with GMRES for affine fff (SIAM J. Numer. Anal. 49); Rohwedder and Schneider prove local Q-linear convergence of limited-memory AA-II for differentiable fff.
  • 2015. Toth and Kelley give local linear convergence of AA-II for contractive fff (SIAM J. Numer. Anal. 53).
  • 2020. Zhang, O'Donoghue and Boyd introduce a stabilized AA-I method (Powell-type regularization, restart checking, safeguarding) and prove global convergence for every nonexpansive map with a fixed point, without differentiability (SIAM J. Optim. 30(4), 3170–3197; longer version arXiv:1808.03971).

Setting

Let f:Rn→Rnf:\mathbb R^n\to\mathbb R^nf:Rn→Rn satisfy ∥f(x)−f(y)∥2≤∥x−y∥2\|f(x)-f(y)\|_2\le\|x-y\|_2∥f(x)−f(y)∥2​≤∥x−y∥2​ for all x,yx,yx,y (the Euclidean norm), and assume the solution set X={x⋆∣x⋆=f(x⋆)}X=\{x^\star\mid x^\star=f(x^\star)\}X={x⋆∣x⋆=f(x⋆)} is nonempty. The residual is g(x)=x−f(x)g(x)=x-f(x)g(x)=x−f(x), gk=g(xk)g_k=g(x^k)gk​=g(xk), and the averaged operator is fα(x)=(1−α)x+αf(x)f_\alpha(x)=(1-\alpha)x+\alpha f(x)fα​(x)=(1−α)x+αf(x).

Powell's weight. For θˉ∈(0,1)\bar\theta\in(0,1)θˉ∈(0,1), ϕθˉ(η)=1\phi_{\bar\theta}(\eta)=1ϕθˉ​(η)=1 if ∣η∣≥θˉ|\eta|\ge\bar\theta∣η∣≥θˉ and ϕθˉ(η)=(1−sign⁡(η)θˉ)/(1−η)\phi_{\bar\theta}(\eta)=(1-\operatorname{sign}(\eta)\bar\theta)/(1-\eta)ϕθˉ​(η)=(1−sign(η)θˉ)/(1−η) otherwise, with sign⁡(0)=1\operatorname{sign}(0)=1sign(0)=1.

Window matrices. For vectors s0,…,smk−1s_0,\dots,s_{m_k-1}s0​,…,smk​−1​ and y0,…,ymk−1y_0,\dots,y_{m_k-1}y0​,…,ymk​−1​, let s^i\hat s_is^i​ be their unnormalized Gram–Schmidt orthogonalization (3.2), B0=IB^0=IB0=I, and

Bi+1=Bi+(y~i−Bisi)s^iTs^iTsi,y~i=θiyi+(1−θi)Bisi,θi=ϕθˉ(s^iT(Bi)−1yi∥s^i∥22).B^{i+1}=B^i+\frac{(\tilde y_i-B^is_i)\hat s_i^T}{\hat s_i^Ts_i},\qquad \tilde y_i=\theta^iy_i+(1-\theta^i)B^is_i,\qquad \theta^i=\phi_{\bar\theta}\Bigl(\frac{\hat s_i^T(B^i)^{-1}y_i}{\|\hat s_i\|_2^2}\Bigr).Bi+1=Bi+s^iT​si​(y~​i​−Bisi​)s^iT​​,y~​i​=θiyi​+(1−θi)Bisi​,θi=ϕθˉ​(∥s^i​∥22​s^iT​(Bi)−1yi​​).

The matrix norm ∥⋅∥2\|\cdot\|_2∥⋅∥2​ is the induced ℓ2\ell_2ℓ2​ operator norm.

Algorithm 3.1 (AA-I-S-m). With parameters θˉ,τ,α∈(0,1)\bar\theta,\tau,\alpha\in(0,1)θˉ,τ,α∈(0,1), D,ϵ>0D,\epsilon>0D,ϵ>0 and max-memory m≥1m\ge1m≥1: start from H0=IH_0=IH0​=I, m0=0m_0=0m0​=0, nAA=0n_{AA}=0nAA​=0, Uˉ=∥g0∥2\bar U=\|g_0\|_2Uˉ=∥g0​∥2​ and x1=x~1=fα(x0)x^1=\tilde x^1=f_\alpha(x^0)x1=x~1=fα​(x0). At iteration k≥1k\ge1k≥1, set sk−1=x~k−xk−1s_{k-1}=\tilde x^k-x^{k-1}sk−1​=x~k−xk−1 and yk−1=g(x~k)−g(xk−1)y_{k-1}=g(\tilde x^k)-g(x^{k-1})yk−1​=g(x~k)−g(xk−1), orthogonalize sk−1s_{k-1}sk−1​ against the current window, and restart the window (memory back to 111, Hk−1H_{k-1}Hk−1​ replaced by III) if the memory would exceed mmm or ∥s^k−1∥2<τ∥sk−1∥2\|\hat s_{k-1}\|_2<\tau\|s_{k-1}\|_2∥s^k−1​∥2​<τ∥sk−1​∥2​. Then apply one Powell-regularized rank-one update to obtain HkH_kHk​ and the trial point x~k+1=xk−Hkgk\tilde x^{k+1}=x^k-H_kg_kx~k+1=xk−Hk​gk​. The trial point is accepted if ∥gk∥2≤DUˉ(nAA+1)−(1+ϵ)\|g_k\|_2\le D\bar U(n_{AA}+1)^{-(1+\epsilon)}∥gk​∥2​≤DUˉ(nAA​+1)−(1+ϵ) (and nAAn_{AA}nAA​ increases); otherwise xk+1=fα(xk)x^{k+1}=f_\alpha(x^k)xk+1=fα​(xk).

Formalization targets

Goal: Theorem 4.1

for every run of Algorithm 3.1:lim⁡k→∞xk=x⋆for some x⋆=f(x⋆).\text{for every run of Algorithm 3.1:}\qquad \lim_{k\to\infty}x^k=x^\star\quad\text{for some } x^\star=f(x^\star).for every run of Algorithm 3.1:k→∞lim​xk=x⋆for some x⋆=f(x⋆).

The only hypotheses are nonexpansiveness of fff, X≠∅X\ne\emptysetX=∅ and the parameter ranges. The limit is not specified: it depends on x0x^0x0 and the parameters.

Milestones

  1. Lemma 3.2. Well-defined updates give ∣det⁡Bmk∣≥θˉmk>0|\det B^{m_k}|\ge\bar\theta^{m_k}>0∣detBmk​∣≥θˉmk​>0.
  2. Lemma 3.3. If ∥yi∥2≤2∥si∥2\|y_i\|_2\le2\|s_i\|_2∥yi​∥2​≤2∥si​∥2​, ∥s^i∥2≥τ∥si∥2\|\hat s_i\|_2\ge\tau\|s_i\|_2∥s^i​∥2​≥τ∥si​∥2​ and mk≤mm_k\le mmk​≤m, then ∥Bmk∥2≤3((1+θˉ+τ)/τ)m−2\|B^{m_k}\|_2\le3((1+\bar\theta+\tau)/\tau)^m-2∥Bmk​∥2​≤3((1+θˉ+τ)/τ)m−2.
  3. Corollary 3.4. ∥Hk∥2≤(3((1+θˉ+τ)/τ)m−2)n−1/θˉm\|H_k\|_2\le(3((1+\bar\theta+\tau)/\tau)^m-2)^{n-1}/\bar\theta^m∥Hk​∥2​≤(3((1+θˉ+τ)/τ)m−2)n−1/θˉm (3.8).
  4. Corollary 3.5. Along the algorithm, unless a solution is hit, (3.8) holds and cond(Hk)≤(3((1+θˉ+τ)/τ)m−2)n/θˉm\mathrm{cond}(H_k)\le(3((1+\bar\theta+\tau)/\tau)^m-2)^n/\bar\theta^mcond(Hk​)≤(3((1+θˉ+τ)/τ)m−2)n/θˉm.
  5. Eq. (4.3). ∥xk−y∥2≤∥x0−y∥2+CDUˉ∑i≥0(i+1)−(1+ϵ)\|x^k-y\|_2\le\|x^0-y\|_2+CD\bar U\sum_{i\ge0}(i+1)^{-(1+\epsilon)}∥xk−y∥2​≤∥x0−y∥2​+CDUˉ∑i≥0​(i+1)−(1+ϵ) for every y∈Xy\in Xy∈X.
  6. Eq. (4.6). lim⁡k∥gk∥2=0\lim_k\|g_k\|_2=0limk​∥gk​∥2​=0.
  7. Eq. (4.7). ∥xk+1−y∥22≤∥xk−y∥22+ϵk\|x^{k+1}-y\|_2^2\le\|x^k-y\|_2^2+\epsilon_k∥xk+1−y∥22​≤∥xk−y∥22​+ϵk​ with ϵk≥0\epsilon_k\ge0ϵk​≥0 summable.
  8. §4.1, Step 2. ∥xk−y∥2\|x^k-y\|_2∥xk−y∥2​ converges for every y∈Xy\in Xy∈X.

Significance

The theorem places a quasi-Newton acceleration scheme under the same hypotheses as the plain averaged iteration: nonexpansiveness and existence of a fixed point. It therefore applies at once to the nonexpansive examples of §4.2 of the paper (proximal gradient, projected gradient, alternating projections, ISTA, Douglas–Rachford splitting and SCS), with no smoothness, strong convexity or local assumption. The matrix bounds of Lemma 3.3 and Corollaries 3.4–3.5 are also of independent use: they give explicit, iteration-independent control of the approximate inverse Jacobians of a limited-memory type-I method, an assumption that other globalization frameworks (for example SuperMann) have to impose.

The result is proved in the paper; to our knowledge none of it is machine-checked. Mathlib has neither the Krasnosel'skiĭ–Mann iteration, nor Fejér monotonicity, nor any Anderson-type method. A formalization provides these pieces, checks the index bookkeeping of the restart and safeguard steps, and makes explicit the one place where the printed algorithm and the analysis disagree (line 9 at a window start; see below).

Difficulty

The accelerated step x~k+1=xk−Hkgk\tilde x^{k+1}=x^k-H_kg_kx~k+1=xk−Hk​gk​ need not decrease the distance to the solution set, so the Fejér argument for averaged iterations does not apply to it directly. The naive fix, bounding ∥Hkgk∥2\|H_kg_k\|_2∥Hk​gk​∥2​, requires a bound on ∥Hk∥2\|H_k\|_2∥Hk​∥2​ that holds uniformly along the run; without the Powell regularization BkB_kBk​ can be singular, and without the restart rule ∥Bk∥2\|B_k\|_2∥Bk​∥2​ can grow without bound as the window becomes nearly linearly dependent. The determinant and norm bounds of Lemmas 3.2–3.3 have to be established for arbitrary windows and then connected to the run of the algorithm, where the window, its orthogonalization and the matrices are defined by an intertwined recursion with resets. The safeguard then turns the uniform bound into a summable perturbation of a Fejér-monotone sequence, and the final step needs an Opial-type argument to pass from convergence of distances to convergence of the iterates.

Formalization scope

Rn\mathbb R^nRn is EuclideanSpace ℝ (Fin n), so all vector norms are Euclidean; matrices are continuous linear maps with the operator norm; us^Tu\hat s^Tus^T is rankOne ℝ u ŝ; det⁡\detdet is LinearMap.det; inverses are Ring.inverse (zero on singular maps, excluded by Lemma 3.2). The orthogonalization (3.2) is InnerProductSpace.gramSchmidt. Nonexpansive is LipschitzWith 1 f. The algorithm is the predicate IsAAISRun, a deterministic recursion: every run is determined by fff, the parameters and x0x^0x0, and a sorry-free check that runs exist (for f=idf=\mathrm{id}f=id) was built locally. The reset of Hk−1H_{k-1}Hk−1​ in line 8 is local to its iteration. sign(0)=1\mathrm{sign}(0)=1sign(0)=1 is encoded explicitly. Constants are the paper's explicit expressions; no milestone replaces them with an existential constant.

Line 9. The paper prints y~k−1=θk−1yk−1−(1−θk−1)gk−1\tilde y_{k-1}=\theta_{k-1}y_{k-1}-(1-\theta_{k-1})g_{k-1}y~​k−1​=θk−1​yk−1​−(1−θk−1​)gk−1​, derived from (3.3) through Bk−1sk−1=−gk−1B_{k-1}s_{k-1}=-g_{k-1}Bk−1​sk−1​=−gk−1​, which fails when the window starts afresh (mk=1m_k=1mk​=1). The mission uses (3.3) there: y~k−1=θk−1yk−1+(1−θk−1)sk−1\tilde y_{k-1}=\theta_{k-1}y_{k-1}+(1-\theta_{k-1})s_{k-1}y~​k−1​=θk−1​yk−1​+(1−θk−1​)sk−1​ when mk=1m_k=1mk​=1, and the printed formula when mk≥2m_k\ge2mk​≥2.

Milestones of §4.1 and Corollary 3.5 carry the hypothesis f(xk)≠xkf(x^k)\ne x^kf(xk)=xk for all kkk, as the paper does ("we temporarily assume for simplicity that a solution to (1.1) is not found in finite steps"); the goal does not. A goal proved from an unsatisfiable run predicate, or one that assumes a bound on ∥Hk∥2\|H_k\|_2∥Hk​∥2​, contractivity of fff, or that the accelerated step is never taken, is not this theorem. Division by zero in Lean can only occur once a fixed point has been reached, after which all later iterates coincide.

Useful reusable infrastructure includes the Krasnosel'skiĭ–Mann inequality ∥fα(x)−y∥22≤∥x−y∥22−α(1−α)∥g(x)∥22\|f_\alpha(x)-y\|_2^2\le\|x-y\|_2^2-\alpha(1-\alpha)\|g(x)\|_2^2∥fα​(x)−y∥22​≤∥x−y∥22​−α(1−α)∥g(x)∥22​, quasi-Fejér monotone sequences and their convergence, and determinant and norm identities for rank-one updates (the matrix determinant lemma and Sherman–Morrison). Proofs of the window lemmas, of the run invariants (the window matrices coincide with the algorithm's Hk−1H_k^{-1}Hk−1​) and of the convergence steps are all welcome.

Selected references

  • J. Zhang, B. O'Donoghue, S. Boyd, Globally Convergent Type-I Anderson Acceleration for Nonsmooth Fixed-Point Iterations, SIAM J. Optim. 30(4), 3170–3197, 2020. https://doi.org/10.1137/18M1232772
  • J. Zhang, B. O'Donoghue, S. Boyd, longer version, 2018. https://arxiv.org/abs/1808.03971
  • D. M. Gay, R. B. Schnabel, Solving systems of nonlinear equations by Broyden's method with projected updates, in Nonlinear Programming 3, Academic Press, 245–281, 1978 (reference [20] of the paper). https://doi.org/10.1137/18M1232772
  • D. G. Anderson, Iterative procedures for nonlinear integral equations, J. ACM 12(4), 547–560, 1965. https://doi.org/10.1145/321296.321305
  • H. Fang, Y. Saad, Two classes of multisecant methods for nonlinear acceleration, Numer. Linear Algebra Appl. 16(3), 197–221, 2009. https://doi.org/10.1002/nla.617
  • H. F. Walker, P. Ni, Anderson acceleration for fixed-point iterations, SIAM J. Numer. Anal. 49(4), 1715–1735, 2011. https://doi.org/10.1137/10078356X
  • A. Toth, C. T. Kelley, Convergence analysis for Anderson acceleration, SIAM J. Numer. Anal. 53(2), 805–819, 2015. https://doi.org/10.1137/130919398
  • H. H. Bauschke, P. L. Combettes, Convex Analysis and Monotone Operator Theory in Hilbert Spaces, Springer, 2011. https://doi.org/10.1007/978-1-4419-9467-7
12 thms2 active usersReviewed
PreviousPage 4 of 6Next

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