Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Flexible block-iterative analysis for Frank–Wolfe

Sebastian Pokutta
v1 2026-11-28 · last 2026-11-29
Additional material: arXiv:2409.06931
Note: Formalizes Lemmas 1.1 to 1.4, Fact 1.2 without joint convexity, Examples 1.1 and 1.2, Lemma 2.1, Remark 2.1, Theorem 2.2, Corollary 2.2, Lemmas 3.1 and 3.2 and Theorem 3.1 of Braun et al. (2024).

Abstract. Block-coordinate Frank–Wolfe minimizes a smooth function over a product of compact convex sets and updates in each iteration only some of the blocks, by a Frank–Wolfe step in each block. Under the block-iterative assumption that every block is activated once in every KK iterations, short steps with the global smoothness constant LL converge at the rate O(KLD2/n)O(KLD^2/n) after nKnK iterations for convex objectives, and the smallest Frank–Wolfe gap is O(1/n)O(1/\sqrt{n}) for nonconvex objectives with a Lipschitz gradient. The analysis measures progress with the perspective ρ(x,b)\rho(x, b) of the Huber loss: one short step on a block gains exactly ρ\rho of its partial Frank–Wolfe gap, the change of the gradient on the inactive blocks pays for evaluating their oracle answers with the new gradient, and over a window of KK iterations the partial gaps telescope to the full gap at its start plus the extra gaps of blocks activated more than once. The recursion ht−ht+1≥ρ(ht+at,b)h_t - h_{t+1} \ge \rho(h_t + a_t, b) then gives the convex rate, also for adaptive estimates of the smoothness constant. Componentwise exact line search, and componentwise short steps with blockwise smoothness constants, need not converge.

Many problems minimize a smooth function over a product C1×⋯×CmC_1 \times \cdots \times C_m of compact convex sets, each with its own linear minimization oracle. Block-coordinate Frank–Wolfe (BCFW) updates in each iteration only some of the blocks, so expensive oracles can be called rarely and the others in parallel. The paper analyzes BCFW under the mild block-iterative assumption that every block is activated at least once in every KK consecutive iterations, which covers cyclic, parallel and many mixed activation schemes, and proves the rates O(K/t)O(K/t) for convex and O(K/t)O(\sqrt{K/t}) for the Frank–Wolfe gap of nonconvex objectives.

Throughout, the blocks live in real inner product spaces EiE_i, and the product is the Hilbert sum ⨁iEi\bigoplus_i E_i with ∥x∥2=∑i∥xi∥2\|x\|^2 = \sum_i \|x^i\|^2.

Block-coordinate Frank–Wolfe

The gaps are suprema over the blocks rather than values at oracle answers, so they make sense at every point and for every block, also those the algorithm does not touch; the analysis needs them there.

First-order convexity gives f(z)−f(y)≤⟨g,z−y⟩f(z) - f(y) \le \langle g, z - y\rangle, and the right-hand side only sees the blocks in JJ, where each term is at most the block gap.

Componentwise step sizes

Frank–Wolfe converges with exact line search. The componentwise analogue does not.

At xt=(σ,σ)x_t = (\sigma, \sigma) both oracles answer −σ-\sigma. Moving one block alone gives f=(2σ(1−s))2f = (2\sigma(1 - s))^2, minimized at s=1s = 1, and the blockwise short step is 8/8=18/8 = 1; so both blocks jump to −σ-\sigma at once. The analysis therefore uses the short step with the global constant LfL_f, or an adaptive estimate of it.

The Huber perspective

The progress of one iteration is measured by the perspective of the Huber loss, which interpolates between the two regimes of the short step.

The quadratic in cc is minimized at c=max⁡(x−b,0)c = \max(x - b, 0), where it equals ρ(x,b)\rho(x, b). Writing each ρ(∣xi∣,bi)\rho(|x_i|, b_i) in this form and using ∑iai2/bi≥(∑iai)2/∑ibi\sum_i a_i^2/b_i \ge (\sum_i a_i)^2/\sum_i b_i gives the subadditivity; the paper derives it from joint convexity.

The tangent line gives h1≤b/2−a0h_1 \le b/2 - a_0. Since hk≤h1≤b/2h_k \le h_1 \le b/2, the step from k=1k = 1 on forces hk+ak≤bh_k + a_k \le b, where ρ\rho is the quadratic (hk+ak)2/(2b)(h_k + a_k)^2/(2b). Then 1/hk+1−1/hk≥(1+2ak/h1+(ak/h1)2)/(2b)1/h_{k+1} - 1/h_k \ge (1 + 2a_k/h_1 + (a_k/h_1)^2)/(2b), and the reciprocals telescope. The extra terms aka_k are the partial gaps of blocks activated more than once in a window; they only help.

Block-iterative activation and short steps

This covers singleton updates in essentially cyclic order, full parallel updates, and schemes that call the expensive oracles only once every KK iterations.

Progress over a window

The heart of the analysis (Lemma 1.4) bounds the progress of a window of KK iterations from below by the full Frank–Wolfe gap at its start. With gt=g(xt)g_t = g(x_t), the progress of one iteration is measured by

Pt=⟨gt,xt−xt+1⟩−Mt+12∥xt−xt+1∥2+∥(gt−gt+1)I∖It∥22Mt+1.P_t = \langle g_t, x_t - x_{t+1}\rangle - \frac{M_{t+1}}{2}\|x_t - x_{t+1}\|^2 + \frac{\|(g_t - g_{t+1})^{I \setminus I_t}\|^2}{2M_{t+1}} .

On an active block with gap Gi(xt)=⟨gti,xti−vti⟩G_i(x_t) = \langle g_t^i, x_t^i - v_t^i\rangle the short step gains exactly ρ(Gi(xt),Mt+1∥xti−vti∥2)\rho(G_i(x_t), M_{t+1}\|x_t^i - v_t^i\|^2). The last term of PtP_t, the change of the gradient on the inactive blocks, pays by Cauchy–Schwarz for evaluating oracle answers wtw_t of the inactive blocks JJ with the new gradient. Subadditivity collects everything into

Pt≥ρ(∣GIt(xt)+∑i∈J⟨gti−gt+1i,xti−wti⟩∣,Mt+1D2),P_t \ge \rho\Big(\Big|G_{I_t}(x_t) + \sum_{i \in J} \langle g_t^i - g_{t+1}^i, x_t^i - w_t^i\rangle\Big|, M_{t+1} D^2\Big) ,

which is part (i) in the form used below. Let Jk=It+k∪⋯∪It+K−1J_k = I_{t+k} \cup \cdots \cup I_{t+K-1} be the blocks still active in the window from step kk on. Applying (i) at step t+kt + k with the inactive blocks Jk+1∖It+kJ_{k+1} \setminus I_{t+k} pays for GJk(xt+k)G_{J_k}(x_{t+k}) minus an error that is at most GJk+1∖It+k(xt+k+1)G_{J_{k+1} \setminus I_{t+k}}(x_{t+k+1}), because inactive blocks do not move. Summing with subadditivity, the gaps telescope to GJ0(xt)+AtG_{J_0}(x_t) + A_t, and J0J_0 is every block under Assumption 1.1 (part (ii)):

∑k=0K−1Pt+k≥ρ(GI(xt)+At,∑k=1KMt+kD2).\sum_{k=0}^{K-1} P_{t+k} \ge \rho\Big(G_I(x_t) + A_t, \sum_{k=1}^{K} M_{t+k} D^2\Big) .

Convex objectives

The condition of Fact 2.1 bounds the decrease by ⟨gt+1,xt−xt+1⟩+∥gt−gt+1∥2/(2Mt+1)\langle g_{t+1}, x_t - x_{t+1}\rangle + \|g_t - g_{t+1}\|^2/(2M_{t+1}), and ⟨a,b⟩≤∥a∥2/(2M)+M∥b∥2/2\langle a, b\rangle \le \|a\|^2/(2M) + M\|b\|^2/2 on the active blocks turns this into PtP_t. The window bound and GI(xt)≥f(xt)−f(x⋆)G_I(x_t) \ge f(x_t) - f(x^\star) from Lemma 1.1 finish the proof.

For a convex function with an LL-Lipschitz gradient, the condition of Fact 2.1 holds with Mt=LM_t = L; this is the co-coercivity of the core. Lemma 2.1 then gives hn−hn+1≥ρ(hn+AnK,KLD2)h_n - h_{n+1} \ge \rho(h_n + A_{nK}, KLD^2), and Lemma 1.3 solves this recursion. The rate O(KLD2/n)O(KLD^2/n) after nKnK iterations matches the rate of short-step Frank–Wolfe for K=1K = 1.

The adaptive algorithm

Algorithm 2 does not need LL. It starts from an estimate M0M_0 and, in every iteration, multiplies the current estimate by η≤1\eta \le 1, computes the short steps with it, and multiplies it by τ>1\tau \gt 1 as long as the condition of Fact 2.1 fails at the candidate point. For a convex LL-smooth objective the condition holds for every estimate at least LL, so the loop ends, and an estimate is only increased from below LL.

The window weights ∑k=1KMt+kD2\sum_{k=1}^{K} M_{t+k} D^2 are at most Kmax⁡(ηt+1M0,τL)D2K\max(\eta^{t+1} M_0, \tau L) D^2, so the tangent line of ρ\rho in Lemma 2.1 gives the first bound. From the first n0n_0 with ηn0KM0≤τL\eta^{n_0 K} M_0 \le \tau L on the weights are at most KτLD2K\tau LD^2, and Lemma 1.3 applies to the shifted sequence. So the adaptive algorithm converges at the rate O(KτLD2/n)O(K\tau L D^2/n), with the same constant as the short steps up to the factor τ\tau, and n0n_0 is about log⁡(τL/M0)/(Klog⁡η)\log(\tau L/M_0)/(K\log\eta) when M0M_0 overestimates LL.

Nonconvex objectives

On each active block the step size is at most Gi(xt)/(L∥xti−vti∥2)G_i(x_t)/(L\|x_t^i - v_t^i\|^2), which gives ⟨gt,xt−xt+1⟩≥L∥xt−xt+1∥2\langle g_t, x_t - x_{t+1}\rangle \ge L\|x_t - x_{t+1}\|^2, and the descent inequality, which holds on CC for a gradient that is Lipschitz on CC, does the rest.

The descent inequality gives f(xt)−f(xt+1)≥⟨gt,xt−xt+1⟩−L∥xt−xt+1∥2/2f(x_t) - f(x_{t+1}) \ge \langle g_t, x_t - x_{t+1}\rangle - L\|x_t - x_{t+1}\|^2/2, and Lemma 3.1 with the Lipschitz gradient gives f(xt)−f(xt+1)≥∥gt−gt+1∥2/(2L)f(x_t) - f(x_{t+1}) \ge \|g_t - g_{t+1}\|^2/(2L). So twice the decrease pays for PtP_t, and the window bound applies.

Summing Lemma 3.2 over the windows and using subadditivity gives ρ(S,nKLD2)≤2H0\rho(S, nKLD^2) \le 2H_0 for the sum SS on the left. The tangent line gives the first bound, and for 2H0≤nKLD2/22H_0 \le nKLD^2/2 the quadratic part of ρ\rho gives S≤2⋅nKLD2⋅2H0S \le \sqrt{2 \cdot nKLD^2 \cdot 2H_0}. So the smallest Frank–Wolfe gap among the iterates xpKx_{pK} is O(1/n)O(1/\sqrt{n}).

Coverage

This entry covers Lemmas 1.1 to 1.4, Fact 1.2 without joint convexity, Examples 1.1 and 1.2, Lemma 2.1, Remark 2.1, Theorem 2.2, Corollary 2.2, Lemmas 3.1 and 3.2 and Theorem 3.1. Not covered are the counts of function, gradient and oracle evaluations (in Theorem 2.2 and Corollary 2.1), the convergence of a subsequence to a stationary point in Theorem 3.1, and the experiments.

The formal statements at a glance

Main.lean
/-- Lemma 1.1: partial Frank–Wolfe gaps are nonnegative and bound the primal gap in their blocks. -/
theorem partial_gap_bound : PartialGapBound := Proof.partial_gap_bound'

/-- Examples 1.1 and 1.2: with componentwise line search, or componentwise short steps with the
blockwise smoothness constants, BCFW need not converge. -/
theorem componentwise_fails : ComponentwiseFails := Proof.componentwise_fails'

/-- Fact 1.2: the Huber perspective is nonnegative, even, increasing in `|x|`, decreasing in `b`,
and above the line `x - b/2`. -/
theorem huber_facts : HuberFacts := Proof.huber_facts

/-- Fact 1.2: the Huber perspective is subadditive. -/
theorem huber_subadditive : HuberSubadditive := Proof.huber_subadditive

/-- Lemma 1.2: the quadratic bound on the Huber perspective. -/
theorem max_quad : MaxQuad := Proof.max_quad'

/-- Lemma 1.3: the Huber recursion and its `O(1/t)` solution. -/
theorem huber_recursion : HuberRecursion := Proof.huber_recursion'

/-- Lemma 2.1: for convex objectives, the decrease over a window of `K` iterations is at least
`ρ(f(x_t) - f(x⋆) + A_t, ∑_{k=1}^K M_{t+k} D²)`. -/
theorem convex_progress : ConvexProgress := Proof.convex_progress

/-- Corollary 2.2: short-step BCFW converges at the rate `O(K L D²/n)` after `nK` iterations for
convex objectives. -/
theorem short_step_convex_rate : ShortStepConvexRate := Proof.short_step_convex_rate

/-- Remark 2.1: the adaptive estimates stay below `max(η^t M_0, τL)`. -/
theorem adaptive_estimate_bound : AdaptiveEstimateBound := Proof.adaptive_estimate_bound

/-- Theorem 2.2: adaptive BCFW converges at the rate `O(KτLD²/n)` for convex objectives, without
knowing `L`. -/
theorem adaptive_rate : AdaptiveRate := Proof.adaptive_rate

/-- Lemma 3.1: short steps decrease the objective by at least half the linear progress. -/
theorem short_step_descent : ShortStepDescent := Proof.short_step_descent

/-- Lemma 3.2: the decrease over a window of `K` iterations is at least
`ρ(G_I(x_t) + A_t, KLD²)/2`. -/
theorem batch_progress : BatchProgress := Proof.batch_progress

/-- Theorem 3.1: for nonconvex objectives the average Frank–Wolfe gap at the iterates `x_{pK}`,
`p < n`, is `O(1/√n)`. -/
theorem nonconvex_rate : NonconvexRate := Proof.nonconvex_rate
Formal verification — ✅ all 20 formal results are kernel-checked

Checked at commit 89e42fdee8df. The formal statement is machine-checked; that it matches the prose is checked by review. What “checked” means.

Lean IsBCFWRun · ◇ elaborated · source

Definition in Lean
/-- A run of BCFW (Algorithm 1) with gradient field `grad`, active blocks `I`, oracle answers `v`
and step sizes `γ`: in every iteration `t`, each active block `i ∈ I_t` moves towards a linear
minimizer `v_t^i ∈ C_i` of `⟪grad(x_t)_i, ·⟫` with a step size in `[0, 1]`, and the other blocks
stay. -/
def IsBCFWRun (C : ∀ i, Set (E i)) (grad : PiLp 2 E → PiLp 2 E) (I : ℕ → Finset ι)
    (x v : ℕ → PiLp 2 E) (γ : ℕ → ι → ℝ) : Prop :=
  x 0 ∈ prodSet C ∧ ∀ t i,
    (i ∈ I t → v t i ∈ C i ∧ (∀ w ∈ C i, ⟪grad (x t) i, v t i⟫_ℝ ≤ ⟪grad (x t) i, w⟫_ℝ) ∧
      γ t i ∈ Set.Icc (0 : ℝ) 1 ∧ x (t + 1) i = x t i + γ t i • (v t i - x t i)) ∧
    (i ∉ I t → x (t + 1) i = x t i)

Lean partialGap · ◇ elaborated · source

Definition in Lean
/-- The partial Frank–Wolfe gap `G_J(x) = ∑_{i ∈ J} G_i(x)`; `G_I` is the Frank–Wolfe gap. -/
noncomputable def partialGap (C : ∀ i, Set (E i)) (g x : PiLp 2 E) (J : Finset ι) : ℝ :=
  ∑ i ∈ J, blockGap C g x i

Lean partial_gap_bound · ✅ kernel-checked · source

Statement in Lean
/-- Lemma 1.1: partial Frank–Wolfe gaps are nonnegative and bound the primal gap in their blocks. -/
theorem partial_gap_bound : PartialGapBound

where PartialGapBound is (source):

/-- **Lemma 1.1** (partial gaps). Let the blocks be bounded and `f` convex on the product with
gradient `g` at `z ∈ C`. Then `G_J(z) ≥ 0`, and `G_J(z) ≥ f(z) - f(y)` for every `y ∈ C` that agrees
with `z` outside `J`. -/
def PartialGapBound : Prop :=
  ∀ {ι : Type u} [Fintype ι] {E : ι → Type v} [∀ i, NormedAddCommGroup (E i)]
    [∀ i, InnerProductSpace ℝ (E i)] [∀ i, CompleteSpace (E i)] (C : ∀ i, Set (E i))
    (f : PiLp 2 E → ℝ) (g z : PiLp 2 E), (∀ i, Bornology.IsBounded (C i)) →
    ConvexOn ℝ (prodSet C) f → z ∈ prodSet C → HasGradientAt f g z → ∀ J : Finset ι,
      0 ≤ partialGap C g z J ∧
      ∀ y ∈ prodSet C, (∀ i ∉ J, y i = z i) → f z - f y ≤ partialGap C g z J

Lean componentwise_fails · ✅ kernel-checked · source

Statement in Lean
/-- Examples 1.1 and 1.2: with componentwise line search, or componentwise short steps with the
blockwise smoothness constants, BCFW need not converge. -/
theorem componentwise_fails : ComponentwiseFails

where ComponentwiseFails is (source):

/-- **Examples 1.1 and 1.2** (componentwise step sizes need not converge). For
`f(x) = (x¹ + x²)²` on `[-1, 1]²`, with gradient `exGrad` and `L_f = 4`, there is a run of BCFW
with full activation `I_t = {1, 2}` whose steps are componentwise exact line searches, and also
componentwise short steps with the blockwise constants `β_i = 2`, but whose iterates are
`((-1)^t, (-1)^t)`, so `f(x_t) = 4` for all `t` while the minimum is `0`. -/
def ComponentwiseFails : Prop :=
  (∀ x, HasGradientAt exF (exGrad x) x) ∧
  ∃ (x v : ℕ → EuclideanSpace ℝ (Fin 2)) (γ : ℕ → Fin 2 → ℝ),
    IsBCFWRun exC exGrad (fun _ => Finset.univ) x v γ ∧
    (∀ t i, ∀ s ∈ Set.Icc (0 : ℝ) 1,
      exF (x t + γ t i • WithLp.toLp 2 (Pi.single i (v t i - x t i))) ≤
        exF (x t + s • WithLp.toLp 2 (Pi.single i (v t i - x t i)))) ∧
    (∀ t i, γ t i = min 1 (exGrad (x t) i * (x t i - v t i) / (2 * (x t i - v t i) ^ 2))) ∧
    (∀ t, exF (x t) = 4) ∧ exF 0 = 0 ∧ (0 : EuclideanSpace ℝ (Fin 2)) ∈ prodSet exC

Lean huber · ◇ elaborated · source

Definition in Lean
/-- The perspective of the Huber loss: `ρ(x, b) = |x| - b/2` if `|x| ≥ b`, and `x²/(2b)`
otherwise. -/
noncomputable def huber (x b : ℝ) : ℝ := if b ≤ |x| then |x| - b / 2 else x ^ 2 / (2 * b)

Lean huber_facts · ✅ kernel-checked · source

Statement in Lean
/-- Fact 1.2: the Huber perspective is nonnegative, even, increasing in `|x|`, decreasing in `b`,
and above the line `x - b/2`. -/
theorem huber_facts : HuberFacts

where HuberFacts is (source):

/-- **Fact 1.2** (the Huber perspective). For `b > 0`, `ρ(·, b)` is nonnegative, even and
increasing in `|x|`, `ρ(x, ·)` is decreasing, and `ρ(x, b) ≥ x - b/2`. -/
def HuberFacts : Prop :=
  ∀ b : ℝ, 0 < b →
    (∀ x, 0 ≤ huber x b) ∧ (∀ x, huber (-x) b = huber x b) ∧
    (∀ x y, |x| ≤ |y| → huber x b ≤ huber y b) ∧
    (∀ x b', b ≤ b' → huber x b' ≤ huber x b) ∧ (∀ x, x - b / 2 ≤ huber x b)

Lean huber_subadditive · ✅ kernel-checked · source

Statement in Lean
/-- Fact 1.2: the Huber perspective is subadditive. -/
theorem huber_subadditive : HuberSubadditive

where HuberSubadditive is (source):

/-- **Fact 1.2** (subadditivity). `∑_i ρ(x_i, b_i) ≥ ρ(∑_i x_i, ∑_i b_i)` for `b_i > 0`. -/
def HuberSubadditive : Prop :=
  ∀ {α : Type u} (s : Finset α) (x b : α → ℝ), (∀ i ∈ s, 0 < b i) →
    huber (∑ i ∈ s, x i) (∑ i ∈ s, b i) ≤ ∑ i ∈ s, huber (x i) (b i)

Lean max_quad · ✅ kernel-checked · source

Statement in Lean
/-- Lemma 1.2: the quadratic bound on the Huber perspective. -/
theorem max_quad : MaxQuad

where MaxQuad is (source):

/-- **Lemma 1.2.** For `x, c ≥ 0` and `b > 0`, `(x - c)²/(2b) + c ≥ ρ(x, b)`. -/
def MaxQuad : Prop :=
  ∀ x c b : ℝ, 0 ≤ x → 0 ≤ c → 0 < b → huber x b ≤ (x - c) ^ 2 / (2 * b) + c

Lean huber_recursion · ✅ kernel-checked · source

Statement in Lean
/-- Lemma 1.3: the Huber recursion and its `O(1/t)` solution. -/
theorem huber_recursion : HuberRecursion

where HuberRecursion is (source):

/-- **Lemma 1.3** (the Huber recursion). If `h_t, a_t ≥ 0` and `h_t - h_{t+1} ≥ ρ(h_t + a_t, b)`
for all `t`, then `h_t` decreases, `h_1 ≤ b/2 - a_0`, and for `t ≥ 2`
`h_t ≤ 2b/(t - 1 + 2b/h_1 + ∑_{k=1}^{t-1} (2a_k/h_1 + (a_k/h_1)²))`. -/
def HuberRecursion : Prop :=
  ∀ (h a : ℕ → ℝ) (b : ℝ), 0 < b → (∀ t, 0 ≤ h t) → (∀ t, 0 ≤ a t) →
    (∀ t, huber (h t + a t) b ≤ h t - h (t + 1)) →
      (∀ t, h (t + 1) ≤ h t) ∧ h 1 ≤ b / 2 - a 0 ∧
      ∀ t : ℕ, 2 ≤ t → h t ≤ 2 * b / ((t : ℝ) - 1 + 2 * b / h 1 +
        ∑ k ∈ Finset.Ico 1 t, (2 * a k / h 1 + (a k / h 1) ^ 2))

Lean IsKActivated · ◇ elaborated · source

Definition in Lean
/-- **Assumption 1.1** (block-iterative activation): every block is active at least once in every
`K` consecutive iterations. -/
def IsKActivated (I : ℕ → Finset ι) (K : ℕ) : Prop := ∀ t i, ∃ k < K, i ∈ I (t + k)

Lean IsShortRun · ◇ elaborated · source

Definition in Lean
/-- A run of BCFW with the short steps `γ_t^i = min{1, G_i(x_t)/(M_{t+1}‖x_t^i - v_t^i‖²)}` for the
smoothness estimates `M_{t+1}` (Algorithms 2 and 3). -/
def IsShortRun (C : ∀ i, Set (E i)) (grad : PiLp 2 E → PiLp 2 E) (I : ℕ → Finset ι)
    (M : ℕ → ℝ) (x v : ℕ → PiLp 2 E) : Prop :=
  IsBCFWRun C grad I x v
    (fun t i => min 1 (⟪grad (x t) i, x t i - v t i⟫_ℝ / (M (t + 1) * ‖x t i - v t i‖ ^ 2)))

Lean extraGap · ◇ elaborated · source

Definition in Lean
/-- The extra gaps `A_t = ∑_{k=1}^{K-1} G_{I_{t+k-1} ∩ (I_{t+k} ∪ ⋯ ∪ I_{t+K-1})}(x_{t+k})` of the
blocks that are active more than once in the window `t, …, t + K - 1`. -/
noncomputable def extraGap [DecidableEq ι] (C : ∀ i, Set (E i)) (grad : PiLp 2 E → PiLp 2 E)
    (I : ℕ → Finset ι) (K : ℕ) (x : ℕ → PiLp 2 E) (t : ℕ) : ℝ :=
  ∑ k ∈ Finset.Ico 1 K, partialGap C (grad (x (t + k))) (x (t + k))
    (I (t + k - 1) ∩ (Finset.range (K - k)).biUnion fun j => I (t + k + j))

Lean convex_progress · ✅ kernel-checked · source

Statement in Lean
/-- Lemma 2.1: for convex objectives, the decrease over a window of `K` iterations is at least
`ρ(f(x_t) - f(x⋆) + A_t, ∑_{k=1}^K M_{t+k} D²)`. -/
theorem convex_progress : ConvexProgress

where ConvexProgress is (source):

/-- **Lemma 2.1** (progress for convex objectives). Let the blocks be convex and compact with
`‖y - z‖ ≤ D` on `C`, `f` convex on `C` with gradient `grad` there and minimizer `x⋆ ∈ C`, let
Assumption 1.1 hold, and let a run of BCFW with short steps for estimates `M_t > 0` satisfy the
condition of Fact 2.1, `f(x_t) - f(x_{t+1}) - ⟪∇f(x_{t+1}), x_t - x_{t+1}⟫ ≥
‖∇f(x_t) - ∇f(x_{t+1})‖²/(2M_{t+1})`, as the adaptive Algorithm 2 ensures. Then `f(x_t)` decreases
and `f(x_t) - f(x_{t+K}) ≥ ρ(f(x_t) - f(x⋆) + A_t, ∑_{k=1}^K M_{t+k} D²)`. -/
def ConvexProgress : Prop :=
  ∀ {ι : Type u} [Fintype ι] [DecidableEq ι] {E : ι → Type v} [∀ i, NormedAddCommGroup (E i)]
    [∀ i, InnerProductSpace ℝ (E i)] [∀ i, CompleteSpace (E i)] (C : ∀ i, Set (E i))
    (f : PiLp 2 E → ℝ) (grad : PiLp 2 E → PiLp 2 E) (D : ℝ) (K : ℕ) (I : ℕ → Finset ι)
    (M : ℕ → ℝ) (x v : ℕ → PiLp 2 E) (xstar : PiLp 2 E), (∀ i, Convex ℝ (C i)) →
    (∀ i, IsCompact (C i)) → (∀ i, (C i).Nonempty) →
    (∀ y ∈ prodSet C, ∀ z ∈ prodSet C, ‖y - z‖ ≤ D) → ConvexOn ℝ (prodSet C) f →
    (∀ y ∈ prodSet C, HasGradientAt f (grad y) y) →
    xstar ∈ prodSet C → (∀ y ∈ prodSet C, f xstar ≤ f y) → (∀ t, 0 < M t) → IsKActivated I K →
    IsShortRun C grad I M x v →
    (∀ t, ‖grad (x t) - grad (x (t + 1))‖ ^ 2 / (2 * M (t + 1)) ≤
      f (x t) - f (x (t + 1)) - ⟪grad (x (t + 1)), x t - x (t + 1)⟫_ℝ) →
      (∀ t, f (x (t + 1)) ≤ f (x t)) ∧ ∀ t,
        huber (f (x t) - f xstar + extraGap C grad I K x t)
          (∑ k ∈ Finset.range K, M (t + k + 1) * D ^ 2) ≤ f (x t) - f (x (t + K))

Lean short_step_convex_rate · ✅ kernel-checked · source

Statement in Lean
/-- Corollary 2.2: short-step BCFW converges at the rate `O(K L D²/n)` after `nK` iterations for
convex objectives. -/
theorem short_step_convex_rate : ShortStepConvexRate

where ShortStepConvexRate is (source):

/-- **Corollary 2.2** (short steps for convex objectives). Let `f` be convex on the whole space with
an `L`-Lipschitz gradient `grad`, `L > 0`, and `x⋆ ∈ C` a minimizer of `f` on `C`. In the setting of
Lemma 3.2, `h_n = f(x_{nK}) - f(x⋆)` satisfies `h_1 ≤ KLD²/2 - A_0` and, for `n ≥ 2`,
`h_n ≤ 2KLD²/(n - 1 + 2KLD²/h_1 + ∑_{p=1}^{n-1} (2A_{pK}/h_1 + (A_{pK}/h_1)²))`. -/
def ShortStepConvexRate : Prop :=
  ∀ {ι : Type u} [Fintype ι] [DecidableEq ι] {E : ι → Type v} [∀ i, NormedAddCommGroup (E i)]
    [∀ i, InnerProductSpace ℝ (E i)] [∀ i, CompleteSpace (E i)] (C : ∀ i, Set (E i))
    (f : PiLp 2 E → ℝ) (grad : PiLp 2 E → PiLp 2 E) (L D : ℝ) (K : ℕ) (I : ℕ → Finset ι)
    (x v : ℕ → PiLp 2 E) (xstar : PiLp 2 E), (∀ i, Convex ℝ (C i)) →
    (∀ i, IsCompact (C i)) → (∀ i, (C i).Nonempty) → 0 < L → 0 < D → 1 ≤ K →
    (∀ y ∈ prodSet C, ∀ z ∈ prodSet C, ‖y - z‖ ≤ D) → ConvexOn ℝ Set.univ f →
    (∀ y, HasGradientAt f (grad y) y) → (∀ y z, ‖grad y - grad z‖ ≤ L * ‖y - z‖) →
    xstar ∈ prodSet C → (∀ y ∈ prodSet C, f xstar ≤ f y) → IsKActivated I K →
    IsShortRun C grad I (fun _ => L) x v →
      f (x K) - f xstar ≤ K * L * D ^ 2 / 2 - extraGap C grad I K x 0 ∧
      ∀ n : ℕ, 2 ≤ n → f (x (n * K)) - f xstar ≤ 2 * (K * L * D ^ 2) /
        ((n : ℝ) - 1 + 2 * (K * L * D ^ 2) / (f (x K) - f xstar) +
          ∑ p ∈ Finset.Ico 1 n, (2 * extraGap C grad I K x (p * K) / (f (x K) - f xstar) +
            (extraGap C grad I K x (p * K) / (f (x K) - f xstar)) ^ 2))

Lean short_step_descent · ✅ kernel-checked · source

Statement in Lean
/-- Lemma 3.1: short steps decrease the objective by at least half the linear progress. -/
theorem short_step_descent : ShortStepDescent

where ShortStepDescent is (source):

/-- **Lemma 3.1** (descent with short steps). Let the blocks be convex, `f` have the gradient
`grad` on `C`, `L`-Lipschitz there with `L > 0`. Every run of BCFW with the short steps for
`M_{t+1} = L` satisfies `f(x_t) - f(x_{t+1}) ≥ ⟪∇f(x_t), x_t - x_{t+1}⟫/2 ≥ L‖x_t - x_{t+1}‖²/2`. -/
def ShortStepDescent : Prop :=
  ∀ {ι : Type u} [Fintype ι] {E : ι → Type v} [∀ i, NormedAddCommGroup (E i)]
    [∀ i, InnerProductSpace ℝ (E i)] [∀ i, CompleteSpace (E i)] (C : ∀ i, Set (E i))
    (f : PiLp 2 E → ℝ) (grad : PiLp 2 E → PiLp 2 E) (L : ℝ) (I : ℕ → Finset ι)
    (x v : ℕ → PiLp 2 E), (∀ i, Convex ℝ (C i)) → 0 < L →
    (∀ y ∈ prodSet C, HasGradientAt f (grad y) y) →
    (∀ y ∈ prodSet C, ∀ z ∈ prodSet C, ‖grad y - grad z‖ ≤ L * ‖y - z‖) →
    IsShortRun C grad I (fun _ => L) x v → ∀ t,
      L / 2 * ‖x t - x (t + 1)‖ ^ 2 ≤ ⟪grad (x t), x t - x (t + 1)⟫_ℝ / 2 ∧
      ⟪grad (x t), x t - x (t + 1)⟫_ℝ / 2 ≤ f (x t) - f (x (t + 1))

Lean batch_progress · ✅ kernel-checked · source

Statement in Lean
/-- Lemma 3.2: the decrease over a window of `K` iterations is at least
`ρ(G_I(x_t) + A_t, KLD²)/2`. -/
theorem batch_progress : BatchProgress

where BatchProgress is (source):

/-- **Lemma 3.2** (progress over a window). In addition, let the blocks be compact and nonempty
with `‖y - z‖ ≤ D` on `C`, and let Assumption 1.1 hold. Then
`f(x_t) - f(x_{t+K}) ≥ ρ(G_I(x_t) + A_t, K L D²)/2`. -/
def BatchProgress : Prop :=
  ∀ {ι : Type u} [Fintype ι] [DecidableEq ι] {E : ι → Type v} [∀ i, NormedAddCommGroup (E i)]
    [∀ i, InnerProductSpace ℝ (E i)] [∀ i, CompleteSpace (E i)] (C : ∀ i, Set (E i))
    (f : PiLp 2 E → ℝ) (grad : PiLp 2 E → PiLp 2 E) (L D : ℝ) (K : ℕ) (I : ℕ → Finset ι)
    (x v : ℕ → PiLp 2 E), (∀ i, Convex ℝ (C i)) → (∀ i, IsCompact (C i)) →
    (∀ i, (C i).Nonempty) → 0 < L → (∀ y ∈ prodSet C, ∀ z ∈ prodSet C, ‖y - z‖ ≤ D) →
    (∀ y ∈ prodSet C, HasGradientAt f (grad y) y) →
    (∀ y ∈ prodSet C, ∀ z ∈ prodSet C, ‖grad y - grad z‖ ≤ L * ‖y - z‖) →
    IsKActivated I K → IsShortRun C grad I (fun _ => L) x v → ∀ t,
      huber (partialGap C (grad (x t)) (x t) Finset.univ + extraGap C grad I K x t)
        (K * L * D ^ 2) / 2 ≤ f (x t) - f (x (t + K))

Lean nonconvex_rate · ✅ kernel-checked · source

Statement in Lean
/-- Theorem 3.1: for nonconvex objectives the average Frank–Wolfe gap at the iterates `x_{pK}`,
`p < n`, is `O(1/√n)`. -/
theorem nonconvex_rate : NonconvexRate

where NonconvexRate is (source):

/-- **Theorem 3.1** (nonconvex convergence). In the setting of Lemma 3.2, with `K ≥ 1`, `D > 0` and
`f ≥ f_low` on `C`, set `H_0 = f(x_0) - f_low`. Then for every `n ≥ 1`
`(1/n) ∑_{p<n} (G_I(x_{pK}) + A_{pK})` is at most `2H_0/n + KLD²/2`, and at most
`2D √(H_0 K L/n)` when `n KLD² ≥ 4H_0`. -/
def NonconvexRate : Prop :=
  ∀ {ι : Type u} [Fintype ι] [DecidableEq ι] {E : ι → Type v} [∀ i, NormedAddCommGroup (E i)]
    [∀ i, InnerProductSpace ℝ (E i)] [∀ i, CompleteSpace (E i)] (C : ∀ i, Set (E i))
    (f : PiLp 2 E → ℝ) (grad : PiLp 2 E → PiLp 2 E) (L D flow : ℝ) (K : ℕ)
    (I : ℕ → Finset ι) (x v : ℕ → PiLp 2 E), (∀ i, Convex ℝ (C i)) → (∀ i, IsCompact (C i)) →
    (∀ i, (C i).Nonempty) → 0 < L → 0 < D → 1 ≤ K →
    (∀ y ∈ prodSet C, ∀ z ∈ prodSet C, ‖y - z‖ ≤ D) →
    (∀ y ∈ prodSet C, HasGradientAt f (grad y) y) →
    (∀ y ∈ prodSet C, ∀ z ∈ prodSet C, ‖grad y - grad z‖ ≤ L * ‖y - z‖) →
    (∀ y ∈ prodSet C, flow ≤ f y) →
    IsKActivated I K → IsShortRun C grad I (fun _ => L) x v → ∀ n : ℕ, 1 ≤ n →
      (∑ p ∈ Finset.range n, (partialGap C (grad (x (p * K))) (x (p * K)) Finset.univ +
          extraGap C grad I K x (p * K))) / n ≤
        2 * (f (x 0) - flow) / n + K * L * D ^ 2 / 2 ∧
      (4 * (f (x 0) - flow) ≤ n * K * L * D ^ 2 →
        (∑ p ∈ Finset.range n, (partialGap C (grad (x (p * K))) (x (p * K)) Finset.univ +
          extraGap C grad I K x (p * K))) / n ≤ 2 * D * Real.sqrt ((f (x 0) - flow) * K * L / n))

Lean IsAdaptiveEstimates · ◇ elaborated · source

Definition in Lean
/-- The smoothness estimates of the adaptive Algorithm 2 with parameters `η` and `τ`: in every
iteration the estimate is multiplied by `η` and then by `τ` some number `j` of times, and it is only
increased after the condition of Fact 2.1 failed. For a convex `L`-smooth objective the condition
holds for every estimate at least `L` (Fact 2.1), so after an increase `M_{t+1}/τ < L`. -/
def IsAdaptiveEstimates (M : ℕ → ℝ) (η τ L : ℝ) : Prop :=
  0 < M 0 ∧ ∀ t, ∃ j : ℕ, M (t + 1) = τ ^ j * (η * M t) ∧ (1 ≤ j → M (t + 1) < τ * L)

Lean adaptive_estimate_bound · ✅ kernel-checked · source

Statement in Lean
/-- Remark 2.1: the adaptive estimates stay below `max(η^t M_0, τL)`. -/
theorem adaptive_estimate_bound : AdaptiveEstimateBound

where AdaptiveEstimateBound is (source):

/-- **Remark 2.1.** For `0 < η ≤ 1 < τ` and `L > 0`, the adaptive estimates satisfy
`M_t ≤ max(η^t M_0, τL)`. -/
def AdaptiveEstimateBound : Prop :=
  ∀ (M : ℕ → ℝ) (η τ L : ℝ), 0 < η → η ≤ 1 → 1 < τ → 0 < L → IsAdaptiveEstimates M η τ L →
    (∀ t, 0 < M t) ∧ ∀ t, M t ≤ max (η ^ t * M 0) (τ * L)

Lean adaptive_rate · ✅ kernel-checked · source

Statement in Lean
/-- Theorem 2.2: adaptive BCFW converges at the rate `O(KτLD²/n)` for convex objectives, without
knowing `L`. -/
theorem adaptive_rate : AdaptiveRate

where AdaptiveRate is (source):

/-- **Theorem 2.2** (adaptive BCFW for convex objectives). In the setting of Lemma 2.1 with the
adaptive estimates of Algorithm 2, `h_n = f(x_{nK}) - f(x⋆)` satisfies
`h_n ≤ K max(η^{(n-1)K+1} M_0, τL) D²/2 - A_{(n-1)K}` for every `n ≥ 1`. If `η^{n_0 K} M_0 ≤ τL`,
then `h_{n_0+1} ≤ KτLD²/2 - A_{n_0 K}` and, for `q ≥ 2`,
`h_{n_0+q} ≤ 2KτLD²/(q - 1 + 2KτLD²/h_{n_0+1} + ∑_{p=1}^{q-1} (2A_{(n_0+p)K}/h_{n_0+1} +
(A_{(n_0+p)K}/h_{n_0+1})²))`. -/
def AdaptiveRate : Prop :=
  ∀ {ι : Type u} [Fintype ι] [DecidableEq ι] {E : ι → Type v} [∀ i, NormedAddCommGroup (E i)]
    [∀ i, InnerProductSpace ℝ (E i)] [∀ i, CompleteSpace (E i)] (C : ∀ i, Set (E i))
    (f : PiLp 2 E → ℝ) (grad : PiLp 2 E → PiLp 2 E) (L D η τ : ℝ) (K : ℕ) (I : ℕ → Finset ι)
    (M : ℕ → ℝ) (x v : ℕ → PiLp 2 E) (xstar : PiLp 2 E), (∀ i, Convex ℝ (C i)) →
    (∀ i, IsCompact (C i)) → (∀ i, (C i).Nonempty) → 0 < L → 0 < D → 1 ≤ K → 0 < η → η ≤ 1 →
    1 < τ → (∀ y ∈ prodSet C, ∀ z ∈ prodSet C, ‖y - z‖ ≤ D) → ConvexOn ℝ (prodSet C) f →
    (∀ y ∈ prodSet C, HasGradientAt f (grad y) y) → xstar ∈ prodSet C →
    (∀ y ∈ prodSet C, f xstar ≤ f y) → IsKActivated I K → IsAdaptiveEstimates M η τ L →
    IsShortRun C grad I M x v →
    (∀ t, ‖grad (x t) - grad (x (t + 1))‖ ^ 2 / (2 * M (t + 1)) ≤
      f (x t) - f (x (t + 1)) - ⟪grad (x (t + 1)), x t - x (t + 1)⟫_ℝ) →
      (∀ n : ℕ, 1 ≤ n → f (x (n * K)) - f xstar ≤
        K * max (η ^ ((n - 1) * K + 1) * M 0) (τ * L) * D ^ 2 / 2 -
          extraGap C grad I K x ((n - 1) * K)) ∧
      ∀ n₀ : ℕ, η ^ (n₀ * K) * M 0 ≤ τ * L →
        f (x ((n₀ + 1) * K)) - f xstar ≤ K * τ * L * D ^ 2 / 2 - extraGap C grad I K x (n₀ * K) ∧
        ∀ q : ℕ, 2 ≤ q → f (x ((n₀ + q) * K)) - f xstar ≤ 2 * (K * τ * L * D ^ 2) /
          ((q : ℝ) - 1 + 2 * (K * τ * L * D ^ 2) / (f (x ((n₀ + 1) * K)) - f xstar) +
            ∑ p ∈ Finset.Ico 1 q, (2 * extraGap C grad I K x ((n₀ + p) * K) /
              (f (x ((n₀ + 1) * K)) - f xstar) +
              (extraGap C grad I K x ((n₀ + p) * K) / (f (x ((n₀ + 1) * K)) - f xstar)) ^ 2))

AI use. The formalization and this page were developed with Claude (Anthropic) under the author’s direction and review, on top of the shared entry Frank–Wolfe: the core.

Acknowledgements. This research was conducted in the context of the Agentic AI in Mathematics (EF-LiOpt-3) project at the Berlin Mathematics Research Center MATH+^+ (EXC-2046/2, project ID 390685689), funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) under Germany’s Excellence Strategy. This work has been partially supported by OpenAI’s Academic Researchers program.

License: CC BY 4.0

Comments.

References
  1. Braun, G., Halbey, J., Pokutta, S., & Woodstock, Z. (2024). Flexible block-iterative analysis for the Frank-Wolfe algorithm. 10.48550/arXiv.2409.06931