Frank–Wolfe: the core
Sebastian Pokutta
v1 2026-11-26 · last 2026-11-26
Abstract. The shared foundation of the archive’s Frank–Wolfe entries. It defines the linear minimization oracle, the Frank–Wolfe step and its iterates under open-loop, short-step and exact line-search step sizes, the Frank–Wolfe gap, smoothness and the standing assumptions. The setting is a real normed space, with an equivalent formulation for Hilbert spaces through the Riesz isometry. It proves the gap inequalities, the descent and progress lemmas, and the classical rate for all three step-size rules.
This entry defines the objects of the Frank–Wolfe algorithm once, for all Frank–Wolfe entries of the archive: the linear minimization oracle, the Frank–Wolfe step and its iterates, the usual step-size rules, the Frank–Wolfe gap and the standard assumptions. It also proves the basic facts that every analysis of the method starts from. Entries import these definitions instead of restating them. Frank–Wolfe beyond 1/t under local dual sharpness is the first entry built on it.
The results are classical Frank & Wolfe, 1956Levitin & Polyak, 1966Jaggi, 2013; Braun et al. (2025) is a detailed introduction. The setting is a real normed space, so that the definitions also cover non-Euclidean norms, and derivatives are continuous linear functionals. A second, equivalent set of definitions uses inner products and gradients for Hilbert spaces; the two are related through the Riesz isometry.
The algorithm¶
In a Hilbert space the oracle may instead answer gradient vectors, and the step uses ;
these are the objects of HilbertDefs.lean.
Basic results¶
The proof combines the two lemmas. One step toward the atom gives for the primal gap , by the gap inequalities and the progress lemma. Short steps and exact line search do at least as well as , and the recursion with that step gives .
Entries building on the core¶
Frank–Wolfe beyond 1/t under local dual sharpness uses the Hilbert-space objects, and its Proposition 2.2 is the theorem above.
The formal statements at a glance¶
/-- The gap inequalities: primal gap ≤ dual gap ≤ Frank–Wolfe gap. -/
theorem gap_inequalities : GapInequalities := Proof.gap_inequalities
/-- The descent lemma for an `L`-smooth function. -/
theorem descent_lemma : DescentLemma := Proof.descent_lemma
/-- Primal progress from smoothness. -/
theorem progress_lemma : ProgressLemma := Proof.progress_lemma
/-- `O(1/t)` convergence for open-loop steps, short steps and exact line search. -/
theorem standard_rate : StandardRate := Proof.standard_rate
/-- `O(1/t)` convergence in a Hilbert space, in the language of gradients. -/
theorem standard_rate_hilbert : StandardRateHilbert := Proof.standard_rate_hilbertFormal verification — ✅ all 12 formal results are kernel-checked
◇ elaborated definition (Lean v4.35.0) Linear minimization oracle —
Lemmata.FrankWolfe.IsLMO(source)◇ elaborated definition (Lean v4.35.0) The Frank–Wolfe algorithm —
Lemmata.FrankWolfe.fwIterates(source)◇ elaborated definition (Lean v4.35.0) Frank–Wolfe gap —
Lemmata.FrankWolfe.fwGap(source)◇ elaborated definition (Lean v4.35.0) Smoothness —
Lemmata.FrankWolfe.IsSmooth(source)◇ elaborated definition (Lean v4.35.0) Standing assumptions —
Lemmata.FrankWolfe.StandingAssumptions(source)◇ elaborated definition (Lean v4.35.0) Uniformly convex sets —
Lemmata.FrankWolfe.IsUniformlyConvexSet(source)◇ elaborated definition (Lean v4.35.0) The Frank–Wolfe algorithm in a Hilbert space —
Lemmata.FrankWolfe.Hilbert.fwIterates(source)✓ kernel-checked (Lean v4.35.0) The gap inequalities —
Lemmata.FrankWolfe.gap_inequalities(source)✓ kernel-checked (Lean v4.35.0) The descent lemma —
Lemmata.FrankWolfe.descent_lemma(source)✓ kernel-checked (Lean v4.35.0) Primal progress —
Lemmata.FrankWolfe.progress_lemma(source)✓ kernel-checked (Lean v4.35.0) convergence —
Lemmata.FrankWolfe.standard_rate(source)✓ kernel-checked (Lean v4.35.0) convergence in a Hilbert space —
Lemmata.FrankWolfe.standard_rate_hilbert(source)
Checked at commit 880bfe2ad5cc. The formal statement is machine-checked; that it matches the prose is checked by review. What “checked” means.
Lean IsLMO · ◇ elaborated · source
Definition in Lean
/-- `lmo` is a linear minimization oracle for `C`: for every continuous linear functional `g` it
returns a point of `C` that minimizes `g` over `C`. When there are several minimizers, `lmo` is
the rule that selects one of them; any rule is allowed, but it is fixed. -/
def IsLMO (C : Set E) (lmo : StrongDual ℝ E → E) : Prop :=
∀ g : StrongDual ℝ E, lmo g ∈ C ∧ ∀ y ∈ C, g (lmo g) ≤ g yLean fwIterates · ◇ elaborated · source
Definition in Lean
/-- The iterates `x₀, x₁, …` of the Frank–Wolfe algorithm started at `x₀`, where the step size in
iteration `t` at the current iterate `x` is `step t x`. -/
def fwIterates (lmo : StrongDual ℝ E → E) (f' : E → StrongDual ℝ E) (step : ℕ → E → ℝ)
(x₀ : E) : ℕ → E
| 0 => x₀
| t + 1 => fwStep lmo f' (fwIterates lmo f' step x₀ t) (step t (fwIterates lmo f' step x₀ t))Lean fwGap · ◇ elaborated · source
Definition in Lean
/-- The Frank–Wolfe gap `max_{v ∈ C} f' x (x - v)` at `x`. -/
noncomputable def fwGap (C : Set E) (f' : E → StrongDual ℝ E) (x : E) : ℝ :=
sSup ((fun v => f' x (x - v)) '' C)Lean IsSmooth · ◇ elaborated · source
Definition in Lean
/-- `f` is `L`-smooth: differentiable, with `L`-Lipschitz derivative (in the operator norm). -/
def IsSmooth (f : E → ℝ) (L : NNReal) : Prop :=
Differentiable ℝ f ∧ LipschitzWith L (fderiv ℝ f)Lean StandingAssumptions · ◇ elaborated · source
Definition in Lean
/-- The standing assumptions: `C` is compact and convex with linear minimization oracle `lmo`,
and `f` is convex and `L`-smooth with `L > 0`. -/
def StandingAssumptions (C : Set E) (lmo : StrongDual ℝ E → E) (f : E → ℝ) (L : NNReal) : Prop :=
IsCompact C ∧ Convex ℝ C ∧ IsLMO C lmo ∧ ConvexOn ℝ Set.univ f ∧ IsSmooth f L ∧ 0 < LLean IsUniformlyConvexSet · ◇ elaborated · source
Definition in Lean
/-- Power-type uniform convexity: `C` is `(α, q)`-uniformly convex if for all `x, y ∈ C`, every
`θ ∈ [0, 1]` and every unit vector `z`, `θ x + (1 - θ) y + θ (1 - θ) α ‖x - y‖^q z ∈ C`. -/
def IsUniformlyConvexSet (C : Set E) (α q : ℝ) : Prop :=
∀ x ∈ C, ∀ y ∈ C, ∀ θ ∈ Set.Icc (0 : ℝ) 1, ∀ z : E, ‖z‖ = 1 →
θ • x + (1 - θ) • y + (θ * (1 - θ) * α * ‖x - y‖ ^ q) • z ∈ CLean fwIterates · ◇ elaborated · source
Definition in Lean
/-- The iterates `x₀, x₁, …` of the Frank–Wolfe algorithm started at `x₀`, where the step size
in iteration `t` at the current iterate `x` is `step t x`. -/
noncomputable def fwIterates (lmo : E → E) (f : E → ℝ) (step : ℕ → E → ℝ) (x₀ : E) : ℕ → E
| 0 => x₀
| t + 1 => fwStep lmo f (fwIterates lmo f step x₀ t) (step t (fwIterates lmo f step x₀ t))Lean gap_inequalities · ✅ kernel-checked · source
Statement in Lean
/-- The gap inequalities: primal gap ≤ dual gap ≤ Frank–Wolfe gap. -/
theorem gap_inequalities : GapInequalitieswhere GapInequalities is (source):
/-- **The gap inequalities.** For a convex differentiable `f`, a minimizer `x⋆` over a compact
set `C` and `x ∈ C`, the primal gap is at most the dual gap, which is at most the Frank–Wolfe gap:
`f x - f x⋆ ≤ f'(x)(x - x⋆) ≤ max_{v ∈ C} f'(x)(x - v)`. -/
def GapInequalities : Prop :=
∀ {E : Type u} [NormedAddCommGroup E] [NormedSpace ℝ E] (C : Set E) (f : E → ℝ),
IsCompact C → ConvexOn ℝ Set.univ f → Differentiable ℝ f →
∀ xStar ∈ minimizers C f, ∀ x ∈ C,
f x - f xStar ≤ fderiv ℝ f x (x - xStar) ∧ fderiv ℝ f x (x - xStar) ≤ fwGap C (fderiv ℝ f) xLean descent_lemma · ✅ kernel-checked · source
Statement in Lean
/-- The descent lemma for an `L`-smooth function. -/
theorem descent_lemma : DescentLemmawhere DescentLemma is (source):
/-- **The descent lemma.** An `L`-smooth function lies below its quadratic upper model:
`f y ≤ f x + f'(x)(y - x) + L/2 ‖y - x‖²`. -/
def DescentLemma : Prop :=
∀ {E : Type u} [NormedAddCommGroup E] [NormedSpace ℝ E] (f : E → ℝ) (L : NNReal),
IsSmooth f L → ∀ x y : E, f y ≤ f x + fderiv ℝ f x (y - x) + L / 2 * ‖y - x‖ ^ 2Lean progress_lemma · ✅ kernel-checked · source
Statement in Lean
/-- Primal progress from smoothness. -/
theorem progress_lemma : ProgressLemmawhere ProgressLemma is (source):
/-- **Primal progress from smoothness.** A step of length `γ` from `x` toward `v` decreases an
`L`-smooth `f` by at least `γ f'(x)(x - v) - γ² L/2 ‖v - x‖²`. -/
def ProgressLemma : Prop :=
∀ {E : Type u} [NormedAddCommGroup E] [NormedSpace ℝ E] (f : E → ℝ) (L : NNReal),
IsSmooth f L → ∀ (x v : E) (γ : ℝ),
f (x + γ • (v - x)) ≤ f x - γ * fderiv ℝ f x (x - v) + γ ^ 2 * L / 2 * ‖v - x‖ ^ 2Lean standard_rate · ✅ kernel-checked · source
Statement in Lean
/-- `O(1/t)` convergence for open-loop steps, short steps and exact line search. -/
theorem standard_rate : StandardRatewhere StandardRate is (source):
/-- **`O(1/t)` convergence.** Under the standing assumptions, with the open-loop rule
`γ_t = 2/(t+2)`, short steps or exact line search, `f(x_t) - f(x⋆) ≤ 2 L D² / (t + 2)` for every
`t ≥ 1`, where `D` is the diameter of `C`. -/
def StandardRate : Prop :=
∀ {E : Type u} [NormedAddCommGroup E] [NormedSpace ℝ E]
(C : Set E) (lmo : StrongDual ℝ E → E) (f : E → ℝ) (L : NNReal),
StandingAssumptions C lmo f L →
∀ σ : E → ℝ, IsExactLineSearch lmo f (fderiv ℝ f) σ →
∀ xStar ∈ minimizers C f, ∀ x₀ ∈ C, ∀ t : ℕ, 1 ≤ t →
f (fwIterates lmo (fderiv ℝ f) (openLoopStep 2) x₀ t) - f xStar ≤
2 * L * Metric.diam C ^ 2 / (t + 2) ∧
f (fwIterates lmo (fderiv ℝ f) (shortStep lmo (fderiv ℝ f) L) x₀ t) - f xStar ≤
2 * L * Metric.diam C ^ 2 / (t + 2) ∧
f (fwIterates lmo (fderiv ℝ f) (fun _ => σ) x₀ t) - f xStar ≤
2 * L * Metric.diam C ^ 2 / (t + 2)Lean standard_rate_hilbert · ✅ kernel-checked · source
Statement in Lean
/-- `O(1/t)` convergence in a Hilbert space, in the language of gradients. -/
theorem standard_rate_hilbert : StandardRateHilbertwhere StandardRateHilbert is (source):
/-- **`O(1/t)` convergence in a Hilbert space**, in the language of gradients: the statement of
`StandardRate` for the objects of `HilbertDefs.lean`. -/
def StandardRateHilbert : Prop :=
∀ {E : Type u} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E]
(C : Set E) (lmo : E → E) (f : E → ℝ) (L : NNReal), Hilbert.StandingAssumptions C lmo f L →
∀ σ : E → ℝ, Hilbert.IsExactLineSearch lmo f σ →
∀ xStar ∈ minimizers C f, ∀ x₀ ∈ C, ∀ t : ℕ, 1 ≤ t →
f (Hilbert.fwIterates lmo f Hilbert.openLoopStep x₀ t) - f xStar ≤
2 * L * Metric.diam C ^ 2 / (t + 2) ∧
f (Hilbert.fwIterates lmo f (Hilbert.shortStep lmo f L) x₀ t) - f xStar ≤
2 * L * Metric.diam C ^ 2 / (t + 2) ∧
f (Hilbert.fwIterates lmo f (fun _ => σ) x₀ t) - f xStar ≤
2 * L * Metric.diam C ^ 2 / (t + 2)AI use. The core was factored out of the formalization of Frank–Wolfe beyond 1/t under local dual sharpness and generalized to normed spaces with Claude (Anthropic), under the author’s direction and review.
Acknowledgements. This research was conducted in the context of the Agentic AI for 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. The author thanks Christoph Spiegel, who streamlined the original Lean development of Frank–Wolfe beyond 1/t under local dual sharpness; the Hilbert-space definitions of this entry come from his version.
License: CC BY 4.0
Comments.
- Frank, M., & Wolfe, P. (1956). An Algorithm for Quadratic Programming. Naval Research Logistics Quarterly, 3(1–2), 95–110. 10.1002/nav.3800030109
- Levitin, E. S., & Polyak, B. T. (1966). Constrained Minimization Methods. USSR Computational Mathematics and Mathematical Physics, 6(5), 1–50. 10.1016/0041-5553(66)90114-5
- Jaggi, M. (2013). Revisiting Frank–Wolfe: Projection-Free Sparse Convex Optimization. Proceedings of the 30th International Conference on Machine Learning, 28, 427–435. https://proceedings.mlr.press/v28/jaggi13.html
- 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