Conditional gradient methods: AdaFW, LazyFW, LazyAFW, NEP-FW and BCG
Sebastian Pokutta
v1 2026-11-27 · last 2026-11-29
Additional material: arXiv:2211.14103
Note: Formalizes results from Sections 3.1.2, 3.1.3, 3.1.5, 3.1.6 and 3.2.2 of the book by Braun et al. (2025), numbered as in its arXiv version Braun et al., 2022.
Abstract. Variants of the Frank–Wolfe algorithm from Chapter 3 of the book Conditional Gradient Methods, starting with adaptive step sizes (AdaFW, Section 3.1.2). The adaptive strategy keeps an estimate of the smoothness constant, takes the short step for and increases by a factor until a sufficient decrease test passes. For an -smooth objective the test passes as soon as , so the search stops after at most increases with an estimate at most , and Frank–Wolfe with these steps keeps the rates for the primal gap and for the smallest Frank–Wolfe gap, with the largest estimate used. The statements hold in real normed spaces.
Chapter 3 of the book improves the Frank–Wolfe algorithm in several directions: step sizes that adapt to unknown smoothness, cheaper oracles, and faster rates under additional structure. This entry collects these variants; the objects are those of Frank–Wolfe: the core, and the rates build on Conditional gradient methods: smoothness, scaling and linear rates. The pairwise variant of Section 3.1.1 is in Conditional gradient methods: away-step, fully-corrective and pairwise Frank–Wolfe.
Adaptive step sizes (AdaFW)¶
The short step needs the smoothness constant , which is often unknown or pessimistic. The adaptive strategy of Pedregosa et al. (2018) keeps an estimate , takes the short step for and checks that it decreases as the smoothness bound for predicts; if not, it multiplies by and tries again (Algorithm 3.4). Algorithm 3.5 (AdaFW) is vanilla Frank–Wolfe with these steps.
The short step for minimizes over , so a step that passes the test does at least as well as every in the smoothness bound for , and Theorem 2.2 of the book applies with in place of . By the proposition, works when every search starts at most at . A different adaptive rule, which tests the sign of at the new point instead of function values, is analyzed in The Frank–Wolfe algorithm: a short introduction (Lemmas 4.10 and 4.11).
Lazification (LazyFW and LazyAFW)¶
A linear minimization oracle solves a linear program exactly in every iteration, although an improving vertex is all the algorithm needs. The weak separation oracle of Braun et al. (2016) receives a target and an accuracy ; it either returns a vertex that improves on the current iterate by more than , or certifies that no point improves by more than . The parameter-free lazy conditional gradient algorithm (Algorithm 3.7) halves after every negative answer.
A negative answer certifies , so throughout. A positive answer gains at least , so after positive answers ; after negative answers, the last one certifies . The counting is the dual-bound accounting of the core, which the lazy away-step and blended variants below use as well.
Lazy away-step Frank–Wolfe (LazyAFW)¶
Algorithm 3.8 makes both searches of away-step Frank–Wolfe lazy: the weak separation oracle looks for an away vertex in the active set or a Frank–Wolfe vertex in , each improving by more than , and halves when neither exists.
A negative answer certifies and, by geometric strong convexity, ; after the halving, for the following steps. Steps that do not drop a vertex gain at least , which before the first negative answer is the constant and after it at least . Drop steps are at most as many as the other positive steps.
Sharpness¶
Strong convexity bounds the distance to the minimizer by the square root of the primal gap. Sharpness, also called the Hölder error bound, relaxes the exponent to any and allows a set of minimizers . It is the Hölderian error bound of the core.
The nearest minimizer exists because the set of minimizers is compact; sharpness bounds by and convexity gives . The scaling property then replaces by .
A step of away-step Frank–Wolfe that does not drop a vertex gains at least , and Lemma 3.32 bounds below by . As in Theorem 2.29, the exponent is instead of the book’s .
A step that does not drop a vertex maps the primal gap below with . Since is monotone, after such steps the gap is below the -th iterate of started at , and Lemma 2.21 applies to that sequence. The book counts the second regime in iterations, with ; here is the number of guaranteed good steps plus one, and the first regime is at least as strong as the book’s .
Sharpness implies a lower bound on the dual norm of the gradient, the gradient dominated property.
This is the first half of Lemma 3.35; it follows from Lemma 3.31, since . The converse, for smooth functions whose minimizers lie in the relative interior, uses the gradient flow and is not formalized here.
The nearest extreme point oracle (NEP-FW)¶
When the minimizers lie on a low-dimensional face, the Frank–Wolfe vertices keep jumping across the polytope. The nearest extreme point oracle of Garber & Wolf (2021) adds a proximity term: it minimizes over the vertices, which in the Euclidean norm keeps the steps short when the iterates are close to the optimal face.
The oracle’s vertex is at least as good as any convex combination of vertices in the smoothness bound. Against a representation of the minimizer, this gives , hence ; against a representation of the nearest minimizer over , the identity gives (Lemma 3.37). Sharpness bounds the distance by , and summing the recursion with weights gives the theorem.
Blended conditional gradients (BCG)¶
Blended conditional gradients Braun et al., 2018 avoid calling the linear minimization oracle as long as the active set offers enough progress: if the away vertex and the local Frank–Wolfe vertex of the active set differ by at least in , a simplex descent step (Oracle 3.43) optimizes over the active set; otherwise the weak separation oracle provides a Frank–Wolfe step or halves (Algorithm 3.44).
As for lazy conditional gradients, throughout. A simplex descent step gains at least and a Frank–Wolfe step at least , so every step that does not drop a vertex gains at least , and drop steps are at most as many as Frank–Wolfe steps.
At a negative answer of the weak separation oracle the simplex descent criterion failed as well, so for the away vertex and the Frank–Wolfe vertex , and geometric strong convexity gives ; after is halved, , and the steps that do not drop a vertex contract the primal gap by .
The simplex descent oracle can be implemented by a single projected gradient step on the weights of the active set.
The book takes and maximal with , so that the step stays in the simplex; the proof needs neither. Since , either and the endpoint does not increase , or lies on the segment and drops by at least .
Not yet covered¶
From Section 3.1.5, the converse half of Lemma 3.35, the Hoffman bound (Lemma 3.27) and the Łojasiewicz-type Lemma 3.30 are not formalized here.
The formal statements at a glance¶
/-- Smoothness passes the sufficient decrease test of Algorithm 3.4. -/
theorem smooth_passes_test : SmoothPassesTest := Proof.smooth_passes_test
/-- Algorithm 3.4 terminates with an estimate at most `max {M₀, τ L}`. -/
theorem adaptive_step_terminates : AdaptiveStepTerminates := Proof.adaptive_step_terminates
/-- Algorithm 3.5 (AdaFW): the rates of vanilla Frank–Wolfe with the largest estimate. -/
theorem adaptive_rate : AdaptiveRate := Proof.adaptive_rate
/-- Theorem 3.15: lazy conditional gradients with a weak separation oracle. -/
theorem lazy_rate : LazyRate := Proof.lazy_rate
/-- Theorem 3.16, with a corrected count: lazy away-step Frank–Wolfe. -/
theorem lazy_away_rate : LazyAwayRate := Proof.lazy_away_rate
/-- Lemma 3.31: the primal gap bound from sharpness. -/
theorem sharp_primal_gap : SharpPrimalGap := Proof.sharp_primal_gap
/-- Lemma 3.32: geometric sharpness. -/
theorem geometric_sharpness : GeometricSharpness := Proof.geometric_sharpness
/-- Corollary 3.33 for `θ = 1/2`: linear convergence of away-step Frank–Wolfe under sharpness. -/
theorem sharp_away_linear : SharpAwayLinear := Proof.sharp_away_linear
/-- Theorem 3.36: Frank–Wolfe with the nearest extreme point oracle. -/
theorem nep_rate : NEPRate := Proof.nep_rate
/-- Theorem 3.42, convex case with explicit constants: blended conditional gradients. -/
theorem bcg_rate : BCGRate := Proof.bcg_rate
/-- Theorem 3.42, strongly convex case with explicit constants: blended conditional gradients. -/
theorem bcg_linear_rate : BCGLinearRate := Proof.bcg_linear_rate
/-- Lemma 3.45: the simplex descent step. -/
theorem simplex_descent : SimplexDescent := Proof.simplex_descent
/-- Corollary 3.33 for `θ < 1/2`: away-step Frank–Wolfe under sharpness. -/
theorem sharp_away_sublinear : SharpAwaySublinear := Proof.sharp_away_sublinear
/-- Lemma 3.35, first half: sharp functions are gradient dominated. -/
theorem sharp_gradient_dominated : SharpGradientDominated := Proof.sharp_gradient_dominatedFormal verification — ✅ all 21 formal results are kernel-checked
◇ elaborated definition (Lean v4.35.0) Short step for an estimate —
Lemmata.CGImprovements.adaStep(source)◇ elaborated definition (Lean v4.35.0) Sufficient decrease test —
Lemmata.CGImprovements.SufficientDecrease(source)✓ kernel-checked (Lean v4.35.0) Smoothness passes the test —
Lemmata.CGImprovements.smooth_passes_test(source)✓ kernel-checked (Lean v4.35.0) The search terminates —
Lemmata.CGImprovements.adaptive_step_terminates(source)✓ kernel-checked (Lean v4.35.0) AdaFW keeps the rates of vanilla Frank–Wolfe —
Lemmata.CGImprovements.adaptive_rate(source)◇ elaborated definition (Lean v4.35.0) Lazy conditional gradient run —
Lemmata.CGImprovements.IsLCGRun(source)✓ kernel-checked (Lean v4.35.0) Theorem 3.15 —
Lemmata.CGImprovements.lazy_rate(source)◇ elaborated definition (Lean v4.35.0) Lazy away-step Frank–Wolfe run —
Lemmata.CGImprovements.IsLazyAFWRun(source)✓ kernel-checked (Lean v4.35.0) Theorem 3.16 —
Lemmata.CGImprovements.lazy_away_rate(source)◇ elaborated definition (Lean v4.35.0) Definition 3.25 —
Lemmata.CGImprovements.IsSharp(source)✓ kernel-checked (Lean v4.35.0) Lemma 3.31 —
Lemmata.CGImprovements.sharp_primal_gap(source)✓ kernel-checked (Lean v4.35.0) Lemma 3.32 —
Lemmata.CGImprovements.geometric_sharpness(source)✓ kernel-checked (Lean v4.35.0) Corollary 3.33 —
Lemmata.CGImprovements.sharp_away_linear(source)◇ elaborated definition (Lean v4.35.0) NEP-FW run —
Lemmata.CGImprovements.IsNEPRun(source)✓ kernel-checked (Lean v4.35.0) Theorem 3.36 —
Lemmata.CGImprovements.nep_rate(source)◇ elaborated definition (Lean v4.35.0) BCG run —
Lemmata.CGImprovements.IsBCGRun(source)✓ kernel-checked (Lean v4.35.0) Theorem 3.42 —
Lemmata.CGImprovements.bcg_rate(source)✓ kernel-checked (Lean v4.35.0) Theorem 3.42 —
Lemmata.CGImprovements.bcg_linear_rate(source)✓ kernel-checked (Lean v4.35.0) Lemma 3.45 —
Lemmata.CGImprovements.simplex_descent(source)✓ kernel-checked (Lean v4.35.0) Corollary 3.33 —
Lemmata.CGImprovements.sharp_away_sublinear(source)✓ kernel-checked (Lean v4.35.0) Lemma 3.35 —
Lemmata.CGImprovements.sharp_gradient_dominated(source)
Checked at commit 89e42fdee8df. The formal statement is machine-checked; that it matches the prose is checked by review. What “checked” means.
Lean adaStep · ◇ elaborated · source
Definition in Lean
/-- The short step for the smoothness estimate `M`: `min {f'(x)(x - v)/(M ‖x - v‖²), 1}`. -/
noncomputable def adaStep {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] (f : E → ℝ)
(M : ℝ) (x v : E) : ℝ :=
min (fderiv ℝ f x (x - v) / (M * ‖x - v‖ ^ 2)) 1Lean SufficientDecrease · ◇ elaborated · source
Definition in Lean
/-- The sufficient decrease test of Algorithm 3.4: the short step `γ` for the estimate `M`
satisfies `f(x + γ (v - x)) - f(x) ≤ γ f'(x)(v - x) + γ² M/2 ‖x - v‖²`. -/
def SufficientDecrease {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] (f : E → ℝ)
(M : ℝ) (x v : E) : Prop :=
f (x + adaStep f M x v • (v - x)) - f x ≤
adaStep f M x v * fderiv ℝ f x (v - x) + adaStep f M x v ^ 2 * M / 2 * ‖x - v‖ ^ 2Lean smooth_passes_test · ✅ kernel-checked · source
Statement in Lean
/-- Smoothness passes the sufficient decrease test of Algorithm 3.4. -/
theorem smooth_passes_test : SmoothPassesTestwhere SmoothPassesTest is (source):
/-- **Smoothness passes the test.** If `f` is `L`-smooth and `M ≥ L`, the sufficient decrease
test holds at every `x` toward every `v`. -/
def SmoothPassesTest : Prop :=
∀ {E : Type u} [NormedAddCommGroup E] [NormedSpace ℝ E] (f : E → ℝ) (L : NNReal) (M : ℝ),
IsSmooth f L → (L : ℝ) ≤ M → ∀ x v : E, SufficientDecrease f M x vLean adaptive_step_terminates · ✅ kernel-checked · source
Statement in Lean
/-- Algorithm 3.4 terminates with an estimate at most `max {M₀, τ L}`. -/
theorem adaptive_step_terminates : AdaptiveStepTerminateswhere AdaptiveStepTerminates is (source):
/-- **Algorithm 3.4 terminates.** For an `L`-smooth `f`, a first estimate `M₀ = η L̃ > 0` and a
backtracking factor `τ > 1`, there is a first `k` for which `M₀ τ^k` passes the test; it satisfies
`k ≤ ⌈log_τ (L/M₀)⌉₊`, and the returned estimate is at most `max {M₀, τ L}`. -/
def AdaptiveStepTerminates : Prop :=
∀ {E : Type u} [NormedAddCommGroup E] [NormedSpace ℝ E] (f : E → ℝ) (L : NNReal) (M₀ τ : ℝ)
(x v : E), IsSmooth f L → 0 < M₀ → 1 < τ →
∃ k : ℕ, SufficientDecrease f (M₀ * τ ^ k) x v ∧
(∀ j < k, ¬ SufficientDecrease f (M₀ * τ ^ j) x v) ∧
k ≤ ⌈Real.logb τ (L / M₀)⌉₊ ∧ M₀ * τ ^ k ≤ max M₀ (τ * L)Lean adaptive_rate · ✅ kernel-checked · source
Statement in Lean
/-- Algorithm 3.5 (AdaFW): the rates of vanilla Frank–Wolfe with the largest estimate. -/
theorem adaptive_rate : AdaptiveRatewhere AdaptiveRate is (source):
/-- **Adaptive vanilla Frank–Wolfe** (Algorithm 3.5). Let `C` be compact and convex with diameter
`D`, and `f` convex and `L`-smooth with `L ≤ K`. If every step of a Frank–Wolfe run with exact
linear minimization is the short step for an estimate `0 < M_t ≤ K` that passes the test, then for
`t ≥ 1` the primal gap is at most `2 K D²/(t + 3)` and some Frank–Wolfe gap `g_τ` with `τ ≤ t` is
at most `4 K D²/(t + 3)`. -/
def AdaptiveRate : Prop :=
∀ {E : Type u} [NormedAddCommGroup E] [NormedSpace ℝ E] (C : Set E) (f : E → ℝ) (L K : NNReal)
(x v : ℕ → E) (M : ℕ → ℝ),
IsCompact C → Convex ℝ C → ConvexOn ℝ Set.univ f → IsSmooth f L → L ≤ K → x 0 ∈ C →
(∀ t : ℕ, v t ∈ C ∧ (∀ y ∈ C, fderiv ℝ f (x t) (v t) ≤ fderiv ℝ f (x t) y) ∧ 0 < M t ∧
M t ≤ K ∧ SufficientDecrease f (M t) (x t) (v t) ∧
x (t + 1) = x t + adaStep f (M t) (x t) (v t) • (v t - x t)) →
∀ xStar ∈ minimizers C f, ∀ t : ℕ, 1 ≤ t →
f (x t) - f xStar ≤ 2 * K * Metric.diam C ^ 2 / ((t : ℝ) + 3) ∧
∃ τ ≤ t, fderiv ℝ f (x τ) (x τ - v τ) ≤ 4 * K * Metric.diam C ^ 2 / ((t : ℝ) + 3)Lean IsLCGRun · ◇ elaborated · source
Definition in Lean
/-- A run of the parameter-free lazy conditional gradient algorithm (Algorithm 3.7) with accuracy
`K`. In every iteration the weak separation oracle either returns `v ∈ C` with
`f'(x_t)(x_t - v) > φ_t/K`, and the step toward `v` does at least as well as every `s ∈ [0, 1]` in
the smoothness bound, or it certifies `f'(x_t)(x_t - z) ≤ φ_t` for all `z ∈ C`; then the iterate
stays and `φ` is halved. -/
def IsLCGRun {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] (C : Set E) (f : E → ℝ)
(L : NNReal) (K : ℝ) (x : ℕ → E) (φ : ℕ → ℝ) : Prop :=
x 0 ∈ C ∧ ∀ t : ℕ,
(∃ v ∈ C, φ t / K < fderiv ℝ f (x t) (x t - v) ∧ ∃ γ ∈ Set.Icc (0 : ℝ) 1,
x (t + 1) = x t + γ • (v - x t) ∧
(∀ s ∈ Set.Icc (0 : ℝ) 1, f (x (t + 1)) ≤
f (x t) - s * fderiv ℝ f (x t) (x t - v) + s ^ 2 * L / 2 * ‖v - x t‖ ^ 2) ∧
φ (t + 1) = φ t) ∨
((∀ z ∈ C, fderiv ℝ f (x t) (x t - z) ≤ φ t) ∧ x (t + 1) = x t ∧ φ (t + 1) = φ t / 2)Lean lazy_rate · ✅ kernel-checked · source
Statement in Lean
/-- Theorem 3.15: lazy conditional gradients with a weak separation oracle. -/
theorem lazy_rate : LazyRatewhere LazyRate is (source):
/-- **Theorem 3.15** (lazy conditional gradients). Let `C` be compact and convex with diameter
`D`, `f` convex and `L`-smooth, `K ≥ 1` and `h₀/2 ≤ φ₀ ≤ L D²/2`. Every run of Algorithm 3.7 has
primal gap at most `ε > 0` after `⌈log₂ (φ₀/ε)⌉₊ + ⌈8 K² L D²/ε⌉₊` iterations. -/
def LazyRate : Prop :=
∀ {E : Type u} [NormedAddCommGroup E] [NormedSpace ℝ E] (C : Set E) (f : E → ℝ) (L : NNReal)
(K : ℝ) (x : ℕ → E) (φ : ℕ → ℝ),
IsCompact C → Convex ℝ C → ConvexOn ℝ Set.univ f → IsSmooth f L → 1 ≤ K →
IsLCGRun C f L K x φ → ∀ xStar ∈ minimizers C f,
(f (x 0) - f xStar) / 2 ≤ φ 0 → φ 0 ≤ L * Metric.diam C ^ 2 / 2 → ∀ ε : ℝ, 0 < ε →
∀ t : ℕ, ⌈Real.logb 2 (φ 0 / ε)⌉₊ + ⌈8 * K ^ 2 * L * Metric.diam C ^ 2 / ε⌉₊ ≤ t →
f (x t) - f xStar ≤ εLean IsLazyAFWRun · ◇ elaborated · source
Definition in Lean
/-- A run of the lazy away-step Frank–Wolfe algorithm (Algorithm 3.8) on `conv V` with accuracy `K`
and short steps for `L`. In every iteration the weak separation oracle returns an away vertex
`a ∈ S_t` with `f'(x_t)(a - x_t) > φ_t/K`, followed by an away step, or a vertex `v ∈ V` with
`f'(x_t)(x_t - v) > φ_t/K`, followed by a Frank–Wolfe step, and `φ` stays; or it certifies
`f'(x_t)(u - x_t) ≤ φ_t` for all `u ∈ S_t` and `f'(x_t)(x_t - u) ≤ φ_t` for all `u ∈ V`, and then
the iterate stays and `φ` is halved. -/
def IsLazyAFWRun {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] (V : Finset E) (f : E → ℝ)
(L K : ℝ) (x : ℕ → E) (S : ℕ → Finset E) (lam : ℕ → E → ℝ) (φ : ℕ → ℝ) : Prop :=
x 0 ∈ V ∧ S 0 = {x 0} ∧ lam 0 = (fun u => if u = x 0 then 1 else 0) ∧ ∀ t : ℕ,
(∃ a ∈ S t, φ t / K < fderiv ℝ f (x t) (a - x t) ∧ ∃ γ : ℝ,
γ = min (fderiv ℝ f (x t) (a - x t) / (L * ‖a - x t‖ ^ 2)) (lam t a / (1 - lam t a)) ∧
x (t + 1) = x t - γ • (a - x t) ∧
lam (t + 1) = (fun u => (1 + γ) * lam t u - if u = a then γ else 0) ∧
S (t + 1) = (if γ = lam t a / (1 - lam t a) then (S t).erase a else S t) ∧ φ (t + 1) = φ t) ∨
(∃ v ∈ V, φ t / K < fderiv ℝ f (x t) (x t - v) ∧ ∃ γ : ℝ,
γ = min (fderiv ℝ f (x t) (x t - v) / (L * ‖x t - v‖ ^ 2)) 1 ∧
x (t + 1) = x t - γ • (x t - v) ∧
lam (t + 1) = (fun u => (1 - γ) * lam t u + if u = v then γ else 0) ∧
S (t + 1) = (if γ = 1 then {v} else insert v (S t)) ∧ φ (t + 1) = φ t) ∨
((∀ u ∈ S t, fderiv ℝ f (x t) (u - x t) ≤ φ t) ∧ (∀ u ∈ V, fderiv ℝ f (x t) (x t - u) ≤ φ t) ∧
x (t + 1) = x t ∧ S (t + 1) = S t ∧ lam (t + 1) = lam t ∧ φ (t + 1) = φ t / 2)Lean lazy_away_rate · ✅ kernel-checked · source
Statement in Lean
/-- Theorem 3.16, with a corrected count: lazy away-step Frank–Wolfe. -/
theorem lazy_away_rate : LazyAwayRatewhere LazyAwayRate is (source):
/-- **Theorem 3.16** (lazy away-step Frank–Wolfe), with a corrected count. Let `f` be convex,
`L`-smooth and `μ`-strongly convex on `conv V`, let `δ > 0` have the scaling property of the
pyramidal width, `K ≥ 1` and `h₀/2 ≤ φ₀ ≤ L D²/2`. Every run of Algorithm 3.8 has primal gap at most
`ε > 0` after `⌈log₂ (φ₀/ε)⌉₊ + 1 + 2 ⌈4 K² L D²/φ₀⌉₊ + 2 ⌈(16 K² L D²/(μ δ²)) ln (h₀/ε)⌉₊`
iterations. -/
def LazyAwayRate : Prop :=
∀ {E : Type u} [NormedAddCommGroup E] [NormedSpace ℝ E] (V : Finset E) (f : E → ℝ) (L : NNReal)
(μ δ K : ℝ) (x : ℕ → E) (S : ℕ → Finset E) (lam : ℕ → E → ℝ) (φ : ℕ → ℝ),
0 < (L : ℝ) → 0 < μ → 0 < δ → Lemmata.AwayStepFW.IsScaling V δ → ConvexOn ℝ Set.univ f →
IsSmooth f L → (∀ x ∈ convexHull ℝ (↑V : Set E), ∀ y ∈ convexHull ℝ (↑V : Set E),
f x + fderiv ℝ f x (y - x) + μ / 2 * ‖y - x‖ ^ 2 ≤ f y) →
1 ≤ K → IsLazyAFWRun V f L K x S lam φ →
∀ xStar ∈ minimizers (convexHull ℝ (↑V : Set E)) f,
(f (x 0) - f xStar) / 2 ≤ φ 0 → φ 0 ≤ L * Metric.diam (↑V : Set E) ^ 2 / 2 →
∀ ε : ℝ, 0 < ε → ∀ t : ℕ,
⌈Real.logb 2 (φ 0 / ε)⌉₊ + 1 + 2 * ⌈4 * K ^ 2 * L * Metric.diam (↑V : Set E) ^ 2 / φ 0⌉₊ +
2 * ⌈16 * K ^ 2 * L * Metric.diam (↑V : Set E) ^ 2 / (μ * δ ^ 2) *
Real.log ((f (x 0) - f xStar) / ε)⌉₊ ≤ t →
f (x t) - f xStar ≤ εLean IsSharp · ◇ elaborated · source
Definition in Lean
/-- **Sharpness** (Hölder error bound). A function `f` is `(c, θ)`-sharp over `C` if
`dist(x, Ω*) ≤ c (f(x) - f(x⋆))^θ` for all `x ∈ C` and minimizers `x⋆`, where `Ω*` is the set of
minimizers of `f` over `C`. This is the Hölderian error bound of the core. -/
abbrev IsSharp {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] (C : Set E) (f : E → ℝ)
(c θ : ℝ) : Prop :=
IsHolderErrorBound C f c θLean sharp_primal_gap · ✅ kernel-checked · source
Statement in Lean
/-- Lemma 3.31: the primal gap bound from sharpness. -/
theorem sharp_primal_gap : SharpPrimalGapwhere SharpPrimalGap is (source):
/-- **Lemma 3.31** (primal gap bound from sharpness). Let `C` be compact and `f` convex,
differentiable and `(c, θ)`-sharp over `C`. For every `x ∈ C` with positive primal gap `h` there is
a minimizer `y` with `h^{1-θ}/c ≤ f'(x)(x - y)/‖x - y‖`. -/
def SharpPrimalGap : Prop :=
∀ {E : Type u} [NormedAddCommGroup E] [NormedSpace ℝ E] (C : Set E) (f : E → ℝ) (c θ : ℝ),
IsCompact C → ConvexOn ℝ Set.univ f → Differentiable ℝ f → 0 < c → IsSharp C f c θ →
∀ xStar ∈ minimizers C f, ∀ x ∈ C, f xStar < f x →
∃ y ∈ minimizers C f, (f x - f xStar) ^ (1 - θ) / c ≤ fderiv ℝ f x (x - y) / ‖x - y‖Lean geometric_sharpness · ✅ kernel-checked · source
Statement in Lean
/-- Lemma 3.32: geometric sharpness. -/
theorem geometric_sharpness : GeometricSharpnesswhere GeometricSharpness is (source):
/-- **Lemma 3.32** (geometric sharpness). Let `f` be convex, differentiable and `(c, θ)`-sharp over
`conv V`, and let `δ > 0` have the scaling property of the pyramidal width. If `x ∈ conv S` for some
`S ⊆ V`, `a` maximizes `f'(x)` over `S` and `v` minimizes it over `V`, and the primal gap `h` at `x`
is positive, then `h^{1-θ}/c ≤ f'(x)(a - v)/δ`. -/
def GeometricSharpness : Prop :=
∀ {E : Type u} [NormedAddCommGroup E] [NormedSpace ℝ E] (V : Finset E) (f : E → ℝ)
(c θ δ : ℝ), ConvexOn ℝ Set.univ f → Differentiable ℝ f → 0 < c → 0 < δ →
Lemmata.AwayStepFW.IsScaling V δ → IsSharp (convexHull ℝ (↑V : Set E)) f c θ →
∀ xStar ∈ minimizers (convexHull ℝ (↑V : Set E)) f, ∀ S ⊆ V,
∀ x ∈ convexHull ℝ (↑S : Set E),
f xStar < f x → ∀ a ∈ S, (∀ w ∈ S, fderiv ℝ f x w ≤ fderiv ℝ f x a) →
∀ v ∈ V, (∀ w ∈ V, fderiv ℝ f x v ≤ fderiv ℝ f x w) →
(f x - f xStar) ^ (1 - θ) / c ≤ fderiv ℝ f x (a - v) / δLean sharp_away_linear · ✅ kernel-checked · source
Statement in Lean
/-- Corollary 3.33 for `θ = 1/2`: linear convergence of away-step Frank–Wolfe under sharpness. -/
theorem sharp_away_linear : SharpAwayLinearwhere SharpAwayLinear is (source):
/-- **Corollary 3.33** for `θ = 1/2` (away-step Frank–Wolfe under sharpness), with the constant
that the proof gives. If `f` is convex, `L`-smooth and `(c, 1/2)`-sharp over `conv V`, and `δ > 0`
has the scaling property of the pyramidal width, every run of away-step Frank–Wolfe satisfies
`f(x_t) - f(x⋆) ≤ (1 - min {1/2, δ²/(8 c² L D²)})^⌊(t-1)/2⌋ L D²/2` for `t ≥ 1`. -/
def SharpAwayLinear : Prop :=
∀ {E : Type u} [NormedAddCommGroup E] [NormedSpace ℝ E] (V : Finset E) (f : E → ℝ) (L : NNReal)
(c δ : ℝ) (x : ℕ → E) (S : ℕ → Finset E) (lam : ℕ → E → ℝ),
0 < (L : ℝ) → 0 < c → 0 < δ → Lemmata.AwayStepFW.IsScaling V δ → ConvexOn ℝ Set.univ f →
IsSmooth f L → IsSharp (convexHull ℝ (↑V : Set E)) f c (1 / 2) →
Lemmata.AwayStepFW.IsAFWRun V f L x S lam →
∀ xStar ∈ minimizers (convexHull ℝ (↑V : Set E)) f, ∀ t : ℕ, 1 ≤ t →
f (x t) - f xStar ≤
(1 - min (1 / 2) (δ ^ 2 / (8 * c ^ 2 * L * Metric.diam (↑V : Set E) ^ 2))) ^ ((t - 1) / 2) *
(L * Metric.diam (↑V : Set E) ^ 2 / 2)Lean IsNEPRun · ◇ elaborated · source
Definition in Lean
/-- A run of Frank–Wolfe with the nearest extreme point oracle (Algorithm 3.12) on `conv V` in a
real inner product space: with `γ_t = 2/(t + 2)`, the vertex `v_t ∈ V` minimizes
`f'(x_t)(v) + L γ_t ‖x_t - v‖²/2` over `V`, and `x_{t+1} = x_t + γ_t (v_t - x_t)`. -/
def IsNEPRun {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] (V : Finset E)
(f : E → ℝ) (L : ℝ) (x v : ℕ → E) : Prop :=
x 0 ∈ V ∧ ∀ t : ℕ, v t ∈ V ∧
(∀ u ∈ V, fderiv ℝ f (x t) (v t) + L * (2 / ((t : ℝ) + 2)) * ‖x t - v t‖ ^ 2 / 2 ≤
fderiv ℝ f (x t) u + L * (2 / ((t : ℝ) + 2)) * ‖x t - u‖ ^ 2 / 2) ∧
x (t + 1) = x t + (2 / ((t : ℝ) + 2)) • (v t - x t)Lean nep_rate · ✅ kernel-checked · source
Statement in Lean
/-- Theorem 3.36: Frank–Wolfe with the nearest extreme point oracle. -/
theorem nep_rate : NEPRatewhere NEPRate is (source):
/-- **Theorem 3.36** (Frank–Wolfe with the nearest extreme point oracle). In a real inner product
space, let `f` be convex, `L`-smooth and `(c, θ)`-sharp over `conv V` with `0 < θ ≤ 1/2`, and let
`S⋆ ⊆ V` be a set of vertices whose convex hull contains all minimizers; let `D` and `D₀` be the
diameters of `V` and `S⋆`. Every run of Algorithm 3.12 satisfies, for `t ≥ 1`,
`f(x_t) - f(x⋆) ≤ L D²/(t(t+1)) + 2 L D₀²/(t+2) + 2^{2θ+1} L^{2θ+1} c² D^{4θ}/(t(t+1)) · R_t` with
`R_t = (t+2)^{1-2θ}/(1-2θ)` for `θ < 1/2` and `R_t = ln (t+2)` for `θ = 1/2`. -/
def NEPRate : Prop :=
∀ {E : Type u} [NormedAddCommGroup E] [InnerProductSpace ℝ E] (V Sstar : Finset E) (f : E → ℝ)
(L : NNReal) (c θ : ℝ) (x v : ℕ → E),
ConvexOn ℝ Set.univ f → IsSmooth f L → 0 < c → 0 < θ → θ ≤ 1 / 2 →
IsSharp (convexHull ℝ (↑V : Set E)) f c θ → Sstar ⊆ V →
minimizers (convexHull ℝ (↑V : Set E)) f ⊆ convexHull ℝ (↑Sstar : Set E) →
IsNEPRun V f L x v → ∀ xStar ∈ minimizers (convexHull ℝ (↑V : Set E)) f, ∀ t : ℕ, 1 ≤ t →
f (x t) - f xStar ≤ L * Metric.diam (↑V : Set E) ^ 2 / (t * (t + 1)) +
2 * L * Metric.diam (↑Sstar : Set E) ^ 2 / (t + 2) +
2 ^ (2 * θ + 1) * (L : ℝ) ^ (2 * θ + 1) * c ^ 2 * Metric.diam (↑V : Set E) ^ (4 * θ) /
(t * (t + 1)) *
(if θ < 1 / 2 then ((t : ℝ) + 2) ^ (1 - 2 * θ) / (1 - 2 * θ) else Real.log ((t : ℝ) + 2))Lean IsBCGRun · ◇ elaborated · source
Definition in Lean
/-- A run of blended conditional gradients (Algorithm 3.44) on `conv V` with accuracy `K`, short
steps for `L` and a simplex descent oracle (Oracle 3.43) with constant `L_S`. If some `a, s ∈ S_t`
have `f'(x_t)(a - s) ≥ φ_t`, the oracle returns `x_{t+1} ∈ conv S_{t+1}` with `S_{t+1} ⊆ S_t`, and
either drops a vertex without increasing `f`, or decreases `f` by at least
`max_{u, w ∈ S_t} f'(x_t)(u - w)²/(L_S |S_t|)`. Otherwise the weak separation oracle either returns
`v ∈ V` with `f'(x_t)(x_t - v) > φ_t/K`, followed by a Frank–Wolfe step toward `v` that does at
least as well as every `s ∈ [0, 1]` in the smoothness bound, or certifies `f'(x_t)(x_t - z) ≤ φ_t`
for all `z ∈ V`, and then `φ` is halved. -/
def IsBCGRun {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] (V : Finset E) (f : E → ℝ)
(L LS K : ℝ) (x : ℕ → E) (S : ℕ → Finset E) (φ : ℕ → ℝ) : Prop :=
x 0 ∈ V ∧ S 0 = {x 0} ∧ ∀ t : ℕ, S t ⊆ V ∧ x t ∈ convexHull ℝ (↑(S t) : Set E) ∧
(((∃ a ∈ S t, ∃ s ∈ S t, φ t ≤ fderiv ℝ f (x t) (a - s)) ∧ S (t + 1) ⊆ S t ∧
((f (x (t + 1)) ≤ f (x t) ∧ S (t + 1) ≠ S t) ∨
∀ u ∈ S t, ∀ w ∈ S t,
fderiv ℝ f (x t) (u - w) ^ 2 ≤ LS * (S t).card * (f (x t) - f (x (t + 1)))) ∧
φ (t + 1) = φ t) ∨
((∀ a ∈ S t, ∀ s ∈ S t, fderiv ℝ f (x t) (a - s) < φ t) ∧
((∃ v ∈ V, φ t / K < fderiv ℝ f (x t) (x t - v) ∧ ∃ γ ∈ Set.Icc (0 : ℝ) 1,
x (t + 1) = x t + γ • (v - x t) ∧
(∀ σ ∈ Set.Icc (0 : ℝ) 1, f (x (t + 1)) ≤
f (x t) - σ * fderiv ℝ f (x t) (x t - v) + σ ^ 2 * L / 2 * ‖v - x t‖ ^ 2) ∧
S (t + 1) = (if γ = 1 then {v} else insert v (S t)) ∧ φ (t + 1) = φ t) ∨
((∀ z ∈ V, fderiv ℝ f (x t) (x t - z) ≤ φ t) ∧ x (t + 1) = x t ∧ S (t + 1) = S t ∧
φ (t + 1) = φ t / 2))))Lean bcg_rate · ✅ kernel-checked · source
Statement in Lean
/-- Theorem 3.42, convex case with explicit constants: blended conditional gradients. -/
theorem bcg_rate : BCGRatewhere BCGRate is (source):
/-- **Theorem 3.42** (blended conditional gradients), convex case with explicit constants. Let `f`
be convex and `L`-smooth on `conv V` with diameter `D`, `K ≥ 1`, `L_S > 0`, `h₀/2 ≤ φ₀ ≤ L D²/2`,
and let all active sets have at most `k` vertices. With `Q = max {8 K² L D², 4 L_S k}`, every run of
Algorithm 3.44 has primal gap at most `ε > 0` after `⌈log₂ (φ₀/ε)⌉₊ + 1 + 2 ⌈Q/ε⌉₊` iterations. -/
def BCGRate : Prop :=
∀ {E : Type u} [NormedAddCommGroup E] [NormedSpace ℝ E] (V : Finset E) (f : E → ℝ) (L : NNReal)
(LS K : ℝ) (k : ℕ) (x : ℕ → E) (S : ℕ → Finset E) (φ : ℕ → ℝ),
ConvexOn ℝ Set.univ f → IsSmooth f L → 1 ≤ K → 0 < LS → IsBCGRun V f L LS K x S φ →
(∀ t, (S t).card ≤ k) → ∀ xStar ∈ minimizers (convexHull ℝ (↑V : Set E)) f,
(f (x 0) - f xStar) / 2 ≤ φ 0 → φ 0 ≤ L * Metric.diam (↑V : Set E) ^ 2 / 2 →
∀ ε : ℝ, 0 < ε → ∀ t : ℕ,
⌈Real.logb 2 (φ 0 / ε)⌉₊ + 1 +
2 * ⌈max (8 * K ^ 2 * L * Metric.diam (↑V : Set E) ^ 2) (4 * LS * k) / ε⌉₊ ≤ t →
f (x t) - f xStar ≤ εLean bcg_linear_rate · ✅ kernel-checked · source
Statement in Lean
/-- Theorem 3.42, strongly convex case with explicit constants: blended conditional gradients. -/
theorem bcg_linear_rate : BCGLinearRatewhere BCGLinearRate is (source):
/-- **Theorem 3.42**, strongly convex case with explicit constants. Under the assumptions of
`BCGRate`, let `f` moreover be `μ`-strongly convex on `conv V` and let `δ > 0` have the scaling
property of the pyramidal width. With `Q = max {8 K² L D², 4 L_S k}`, every run of Algorithm 3.44
has primal gap at most `ε > 0` after
`⌈log₂ (φ₀/ε)⌉₊ + 1 + 2 ⌈Q/(2 φ₀)⌉₊ + 2 ⌈(2 Q/(μ δ²)) ln (h₀/ε)⌉₊` iterations. -/
def BCGLinearRate : Prop :=
∀ {E : Type u} [NormedAddCommGroup E] [NormedSpace ℝ E] (V : Finset E) (f : E → ℝ) (L : NNReal)
(μ δ LS K : ℝ) (k : ℕ) (x : ℕ → E) (S : ℕ → Finset E) (φ : ℕ → ℝ),
0 < μ → 0 < δ → Lemmata.AwayStepFW.IsScaling V δ → ConvexOn ℝ Set.univ f → IsSmooth f L →
(∀ x ∈ convexHull ℝ (↑V : Set E), ∀ y ∈ convexHull ℝ (↑V : Set E),
f x + fderiv ℝ f x (y - x) + μ / 2 * ‖y - x‖ ^ 2 ≤ f y) →
1 ≤ K → 0 < LS → IsBCGRun V f L LS K x S φ → (∀ t, (S t).card ≤ k) →
∀ xStar ∈ minimizers (convexHull ℝ (↑V : Set E)) f,
(f (x 0) - f xStar) / 2 ≤ φ 0 → φ 0 ≤ L * Metric.diam (↑V : Set E) ^ 2 / 2 →
∀ ε : ℝ, 0 < ε → ∀ t : ℕ,
⌈Real.logb 2 (φ 0 / ε)⌉₊ + 1 +
2 * ⌈max (8 * K ^ 2 * L * Metric.diam (↑V : Set E) ^ 2) (4 * LS * k) / (2 * φ 0)⌉₊ +
2 * ⌈2 * max (8 * K ^ 2 * L * Metric.diam (↑V : Set E) ^ 2) (4 * LS * k) /
(μ * δ ^ 2) *
Real.log ((f (x 0) - f xStar) / ε)⌉₊ ≤ t →
f (x t) - f xStar ≤ εLean simplex_descent · ✅ kernel-checked · source
Statement in Lean
/-- Lemma 3.45: the simplex descent step. -/
theorem simplex_descent : SimplexDescentwhere SimplexDescent is (source):
/-- **Lemma 3.45** (simplex descent). Let `h` be `L`-smooth on `ℝᵏ`, let
`d = ∇h(λ) - (⟨∇h(λ), 1⟩/k) 1` be the projection of the gradient onto the directions of the
probability simplex, let `γ ≥ 0`, and let `λ'` minimize `h` on the segment `[λ, λ - γ d]`. Then
either `h(λ - γ d) ≤ h(λ)`, or `h(λ) - h(λ') ≥ ⟨∇h(λ), e_i - e_j⟩²/(4L)` for all `i, j`. The book
takes `λ ∈ Δ_k` and `γ` maximal with `λ - γ d ≥ 0`; neither is needed. -/
def SimplexDescent : Prop :=
∀ (k : ℕ) (h : EuclideanSpace ℝ (Fin k) → ℝ) (L : NNReal) (lam d lam' : EuclideanSpace ℝ (Fin k))
(γ : ℝ), IsSmooth h L → 0 ≤ γ →
(∀ i, d i = fderiv ℝ h lam (EuclideanSpace.single i 1) -
(∑ j, fderiv ℝ h lam (EuclideanSpace.single j 1)) / k) →
lam' ∈ segment ℝ lam (lam - γ • d) → (∀ y ∈ segment ℝ lam (lam - γ • d), h lam' ≤ h y) →
h (lam - γ • d) ≤ h lam ∨
∀ i j : Fin k, (fderiv ℝ h lam (EuclideanSpace.single i 1) -
fderiv ℝ h lam (EuclideanSpace.single j 1)) ^ 2 / (4 * L) ≤ h lam - h lam'Lean sharp_away_sublinear · ✅ kernel-checked · source
Statement in Lean
/-- Corollary 3.33 for `θ < 1/2`: away-step Frank–Wolfe under sharpness. -/
theorem sharp_away_sublinear : SharpAwaySublinearwhere SharpAwaySublinear is (source):
/-- **Corollary 3.33** for `θ < 1/2` (away-step Frank–Wolfe under sharpness), with the constant
that the proof gives. Under the assumptions of `SharpAwayLinear` with `(c, θ)`-sharpness for some
`0 ≤ θ < 1/2`, let `K = (4 c² L D²/δ²)^{1/(1-2θ)}` and `t₀ = max {⌊log₂ (L D²/K)⌋ + 1, 1}`, and for
`t ≥ 1` let `T = ⌊(t-1)/2⌋ + 1`. Then `f(x_t) - f(x⋆) ≤ L D²/2^T` if `T < t₀`, and
`f(x_t) - f(x⋆) ≤ K/(1 + (1/2 - θ)(T - t₀))^{1/(1-2θ)}` if `T ≥ t₀`. -/
def SharpAwaySublinear : Prop :=
∀ {E : Type u} [NormedAddCommGroup E] [NormedSpace ℝ E] (V : Finset E) (f : E → ℝ) (L : NNReal)
(c δ θ : ℝ) (x : ℕ → E) (S : ℕ → Finset E) (lam : ℕ → E → ℝ),
0 < (L : ℝ) → 0 < c → 0 < δ → 0 ≤ θ → θ < 1 / 2 → Lemmata.AwayStepFW.IsScaling V δ →
ConvexOn ℝ Set.univ f → IsSmooth f L → IsSharp (convexHull ℝ (↑V : Set E)) f c θ →
Lemmata.AwayStepFW.IsAFWRun V f L x S lam →
∀ xStar ∈ minimizers (convexHull ℝ (↑V : Set E)) f,
let K := (4 * c ^ 2 * L * Metric.diam (↑V : Set E) ^ 2 / δ ^ 2) ^ (1 / (1 - 2 * θ))
let t₀ : ℤ := max (⌊Real.logb 2 (L * Metric.diam (↑V : Set E) ^ 2 / K)⌋ + 1) 1
∀ t : ℕ, 1 ≤ t →
(((t - 1) / 2 + 1 : ℕ) < t₀ →
f (x t) - f xStar ≤ L * Metric.diam (↑V : Set E) ^ 2 / 2 ^ ((t - 1) / 2 + 1)) ∧
(t₀ ≤ ((t - 1) / 2 + 1 : ℕ) → f (x t) - f xStar ≤
K / (1 + (1 / 2 - θ) * ((((t - 1) / 2 + 1 : ℕ) : ℝ) - t₀)) ^ (1 / (1 - 2 * θ)))Lean sharp_gradient_dominated · ✅ kernel-checked · source
Statement in Lean
/-- Lemma 3.35, first half: sharp functions are gradient dominated. -/
theorem sharp_gradient_dominated : SharpGradientDominatedwhere SharpGradientDominated is (source):
/-- **Lemma 3.35**, first half (sharp functions are gradient dominated). Let `C` be compact and `f`
convex, differentiable and `(c, θ)`-sharp over `C` with `θ < 1`. Then
`(f(x) - f(x⋆))^{1-θ}/c ≤ ‖f'(x)‖` for every `x ∈ C`. -/
def SharpGradientDominated : Prop :=
∀ {E : Type u} [NormedAddCommGroup E] [NormedSpace ℝ E] (C : Set E) (f : E → ℝ) (c θ : ℝ),
IsCompact C → ConvexOn ℝ Set.univ f → Differentiable ℝ f → 0 < c → θ < 1 →
IsSharp C f c θ → ∀ xStar ∈ minimizers C f, ∀ x ∈ C,
(f x - f xStar) ^ (1 - θ) / c ≤ ‖fderiv ℝ f x‖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.
- Braun, G., Carderera, A., Combettes, C. W., Hassani, H., Karbasi, A., Mokhtari, A., & Pokutta, S. (2025). Conditional Gradient Methods: From Core Principles to AI Applications. Society for Industrial. 10.1137/1.9781611978568
- Braun, G., Carderera, A., Combettes, C. W., Hassani, H., Karbasi, A., Mokhtari, A., & Pokutta, S. (2022). Conditional Gradient Methods. 10.48550/arXiv.2211.14103
- Pedregosa, F., Negiar, G., Askari, A., & Jaggi, M. (2018). Linearly Convergent Frank–Wolfe with Backtracking Line-Search. 10.48550/arXiv.1806.05123
- Braun, G., Pokutta, S., & Zink, D. (2016). Lazifying Conditional Gradient Algorithms. 10.48550/arXiv.1610.05120
- Garber, D., & Wolf, N. (2021). Frank–Wolfe with a Nearest Extreme Point Oracle. 10.48550/arXiv.2102.02029
- Braun, G., Pokutta, S., Tu, D., & Wright, S. (2018). Blended Conditional Gradients: The Unconditioning of Conditional Gradients. 10.48550/arXiv.1805.07311