The pivoting framework: Frank–Wolfe with active set size control
Sebastian Pokutta
v1 2026-11-29 · last 2026-11-29
Additional material: arXiv:2407.11760
Note: Formalizes the active set cleanup and the invariants of the pivoting meta algorithm of Wirth et al. (2024): Proposition 4.1 and Theorem 4.2 in corrected form, Theorem 5.1, Corollary 5.2, the decomposition of pairwise updates, and the active set identification of the blended pairwise algorithm over the simplex (Lemmas 9.1 and 9.2, Theorem 9.3), with counterexamples to the pivot weights printed in Algorithm 5 and to Property 4 of Theorem 4.2.
Abstract. Frank–Wolfe variants write their iterates as convex combinations of vertices, and the set of vertices with positive weight can grow with every iteration, although by Carathéodory’s theorem n + 1 vertices suffice in n dimensions. The pivoting meta algorithm keeps the active set this small: it lifts points s to (s, 0, 1), maintains an invertible basis whose vertex columns are the lifted active vertices, and after each update of the underlying algorithm performs at most one pivot step of the simplex method. This entry formalizes the cleanup step and the invariants of the algorithm: the basis stays invertible, the weights represent the current iterate, the active set has at most n + 1 points, and the active points are affinely independent, so their number is bounded by the dimension of any set containing them. Two statements of the paper are corrected: the weight of the entering column must include the weight of the new vertex, and a dropped vertex can return to the active set, so the active set need not stay inside the support of the update. Near a stationary point on the simplex, every iteration of the blended pairwise algorithm drops a coordinate that is not in the optimal face, the identification property behind the dimension bound for the optimal face.
Frank–Wolfe variants such as the away-step and the blended pairwise algorithm write each iterate as a convex combination of vertices, and the active set of vertices with positive weight can grow with every iteration. By Carathéodory’s theorem, vertices always suffice in . The pivoting meta algorithm keeps the active set this small after every update of the underlying algorithm, at the cost of one pivot step of the simplex method whenever a new vertex enters.
Lifting and states¶
A point is lifted to . The algorithm maintains an invertible basis whose vertex columns are the lifted active vertices; the other columns, with a positive entry in row , keep the basis invertible.
Row of is a vanishing sum of nonnegative terms, so only vertex columns carry weight; the vertex columns are distinct lifts, so they correspond to the active points, and rows and of give the convex combination.
The active set cleanup¶
After an update of the underlying algorithm, the new point is with weights positive exactly on a finite set , which contains at most one point outside the active set. Write for the weights of the points of the vertex columns of the basis , and zero on the other columns. If there is a new point , let , let be a ratio index, with whenever , and let .
In a state, . The pivot weights satisfy , and the replacement of column by has the kernel identity , so and is invertible because . The ratio test makes the weights nonnegative. Row of has nonnegative coefficients at least one and value -1, so has a negative entry. The cleanup adds a column outside the merged ones, which keeps the basis invertible and removes the zero-weight vertex columns.
The pivoting meta algorithm¶
The initial basis is invertible: in , the difference of the last two rows gives , the first rows the next entries, and row the last. An invertible basis has a column with nonzero row , so at most columns are vertex columns.
The size of the active set¶
The lifts of the active points are distinct columns of an invertible matrix, hence linearly independent, and a vanishing affine combination of the points lifts to a vanishing linear combination of their lifts.
Pairwise updates¶
Active set identification for blended pairwise steps¶
Combined with an active set identification property of the underlying algorithm, Theorem 5.1 bounds the active set eventually by the dimension of the optimal face. Appendix C establishes this property for the blended pairwise algorithm over the probability simplex, where the vertices are the coordinates and the active set is the support. The multiplier of coordinate at is ; a stationary point has all multipliers nonnegative, and collects the coordinates with positive multiplier at that are positive at the current iterate.
The gradient part is , at most by Hölder’s inequality; the rest is , because the multipliers at average to zero, and it is at most times the positive part , because complementary slackness makes the terms in vanish.
If is empty, every coordinate with positive multiplier at has positive multiplier at , because the support of lies in the coordinates with zero multiplier at , so it stays zero. Otherwise the coordinates of are at most , so the support also contains coordinates with zero multiplier at . Since for such and , the away vertex lies in and the local Frank–Wolfe vertex does not. The pairwise step is chosen because exceeds the Frank–Wolfe gap, which is at most , and Assumption 1 forces , so leaves .
Coverage¶
This entry covers Proposition 4.1 (corrected), Theorem 4.2 (corrected), Theorem 5.1, Corollary 5.2, the decomposition of pairwise updates in Section 3.1, Lemmas 9.1 and 9.2, Theorem 9.3 and Lemma 3.1 of Bomze, Rinaldi and Zeffiro. Not covered are the convex-combination-agnostic properties (Theorems 3.2–3.4), the finite identification of the optimal face (Theorems 5.3 and 9.4, Corollary 5.4), which rest on further results of Bomze, Rinaldi and Zeffiro, and the experiments.
The formal statements at a glance¶
/-- Theorem 4.2, Properties 1 and 3: states represent convex combinations of their active
points. -/
theorem state_representation : StateRepresentation := Proof.state_representation
/-- Proposition 4.1 for updates without a new point. -/
theorem cleanup_no_new_point : CleanupNoNewPoint := Proof.cleanup_no_new_point
/-- Proposition 4.1 (corrected) for updates with a new point. -/
theorem cleanup_new_point : CleanupNewPoint := Proof.cleanup_new_point
/-- The pivot data always exist. -/
theorem pivot_exists : PivotExists := Proof.pivot_exists
/-- Theorem 4.2 (corrected): runs keep a state and at most `n + 1` active points. -/
theorem pm_properties : PMProperties := Proof.pm_properties
/-- Theorem 5.1 and Corollary 5.2: the active points are affinely independent. -/
theorem active_set_dimension : ActiveSetDimension := Proof.active_set_dimension
/-- Section 3.1: a pairwise update is an away update followed by a Frank–Wolfe update. -/
theorem pairwise_decomposition : PairwiseDecomposition := Proof.pairwise_decomposition
/-- The pivot weights as printed in Algorithm 5 do not represent the new point. -/
theorem paper_pivot_fails : PaperPivotFails := Proof.paper_pivot_fails
/-- The active set need not stay in the support of the update. -/
theorem active_set_leaves_support : ActiveSetLeavesSupport := Proof.active_set_leaves_support
/-- Lemma 9.1: the step choice of BPFW in terms of multipliers. -/
theorem step_multipliers : StepMultipliers := Proof.step_multipliers
/-- Lemma 3.1 of Bomze, Rinaldi and Zeffiro: the multipliers move by at most
`‖x - x⋆‖₁ (L + δ/2)`. -/
theorem multiplier_perturbation : MultiplierPerturbation := Proof.multiplier_perturbation
/-- Lemma 9.2: bounds on the multipliers near a stationary point. -/
theorem multiplier_bounds : MultiplierBounds := Proof.multiplier_bounds
/-- Theorem 9.3: near a stationary point, every BPFW iteration drops a coordinate of `J`. -/
theorem bpfw_identification : BPFWIdentification := Proof.bpfw_identificationFormal verification — ✅ all 23 formal results are kernel-checked
◇ elaborated definition (Lean v4.35.0) Lift —
Lemmata.FWPivoting.ext(source)◇ elaborated definition (Lean v4.35.0) State —
Lemmata.FWPivoting.IsPMState(source)◇ elaborated definition (Lean v4.35.0) Active set —
Lemmata.FWPivoting.activeSet(source)✓ kernel-checked (Lean v4.35.0) States represent convex combinations —
Lemmata.FWPivoting.state_representation(source)◇ elaborated definition (Lean v4.35.0) Pivot weights —
Lemmata.FWPivoting.pivotWeights(source)◇ elaborated definition (Lean v4.35.0) Cleanup —
Lemmata.FWPivoting.mergeCols(source)✓ kernel-checked (Lean v4.35.0) Proposition 4.1 —
Lemmata.FWPivoting.cleanup_no_new_point(source)✓ kernel-checked (Lean v4.35.0) Proposition 4.1 —
Lemmata.FWPivoting.cleanup_new_point(source)✓ kernel-checked (Lean v4.35.0) The pivot exists —
Lemmata.FWPivoting.pivot_exists(source)✓ kernel-checked (Lean v4.35.0) The printed pivot weights —
Lemmata.FWPivoting.paper_pivot_fails(source)✓ kernel-checked (Lean v4.35.0) The active set leaves the support —
Lemmata.FWPivoting.active_set_leaves_support(source)◇ elaborated definition (Lean v4.35.0) Initial basis —
Lemmata.FWPivoting.initBasis(source)◇ elaborated definition (Lean v4.35.0) Runs of the pivoting meta algorithm —
Lemmata.FWPivoting.IsPMRun(source)✓ kernel-checked (Lean v4.35.0) Theorem 4.2 —
Lemmata.FWPivoting.pm_properties(source)✓ kernel-checked (Lean v4.35.0) Theorem 5.1 —
Lemmata.FWPivoting.active_set_dimension(source)✓ kernel-checked (Lean v4.35.0) Pairwise updates —
Lemmata.FWPivoting.pairwise_decomposition(source)◇ elaborated definition (Lean v4.35.0) Multipliers —
Lemmata.FWPivoting.mult(source)◇ elaborated definition (Lean v4.35.0) Blended pairwise step over the simplex —
Lemmata.FWPivoting.IsBPFWStep(source)◇ elaborated definition (Lean v4.35.0) The coordinates to be dropped —
Lemmata.FWPivoting.identSet(source)✓ kernel-checked (Lean v4.35.0) Lemma 9.1 —
Lemmata.FWPivoting.step_multipliers(source)✓ kernel-checked (Lean v4.35.0) Perturbation of the multipliers —
Lemmata.FWPivoting.multiplier_perturbation(source)✓ kernel-checked (Lean v4.35.0) Lemma 9.2 —
Lemmata.FWPivoting.multiplier_bounds(source)✓ kernel-checked (Lean v4.35.0) Theorem 9.3 —
Lemmata.FWPivoting.bpfw_identification(source)
Checked at commit 2733eb8b2cc1. The formal statement is machine-checked; that it matches the prose is checked by review. What “checked” means.
Lean ext · ◇ elaborated · source
Definition in Lean
/-- The lifted vector `x̃ = (x, 0, 1) ∈ ℝ^{n+2}` of `x ∈ ℝ^n`. -/
def ext {n : ℕ} (x : Fin n → ℝ) : Fin (n + 2) → ℝ := fun i =>
if h : (i : ℕ) < n then x ⟨i, h⟩ else if (i : ℕ) = n then 0 else 1Lean IsPMState · ◇ elaborated · source
Definition in Lean
/-- A state of the pivoting meta algorithm for the point `x` (the invariant of Theorem 4.2):
`M` is invertible with row `n+1` nonnegative and row `n+2` at least one, the weights are
nonnegative with `Mλ = x̃`, and every vertex column (row `n+1` zero) has positive weight and is a
lifted point (row `n+2` one). -/
def IsPMState {n : ℕ} (M : Matrix (Fin (n + 2)) (Fin (n + 2)) ℝ) (lam : Fin (n + 2) → ℝ)
(x : Fin n → ℝ) : Prop :=
M.det ≠ 0 ∧ (∀ i, 0 ≤ M (rowA n) i) ∧ (∀ i, 1 ≤ M (rowB n) i) ∧ (∀ i, 0 ≤ lam i) ∧
M *ᵥ lam = ext x ∧ ∀ i, M (rowA n) i = 0 → 0 < lam i ∧ M (rowB n) i = 1Lean activeSet · ◇ elaborated · source
Definition in Lean
/-- The active set of a state: the points whose lifts are the vertex columns. -/
noncomputable def activeSet {n : ℕ} (M : Matrix (Fin (n + 2)) (Fin (n + 2)) ℝ) :
Finset (Fin n → ℝ) :=
(Finset.univ.filter fun i => M (rowA n) i = 0).image fun i => dec (column M i)Lean state_representation · ✅ kernel-checked · source
Statement in Lean
/-- Theorem 4.2, Properties 1 and 3: states represent convex combinations of their active
points. -/
theorem state_representation : StateRepresentationwhere StateRepresentation is (source):
/-- **States represent convex combinations** (Theorem 4.2, Properties 1 and 3). In a state for
`x`, the active points have positive weights summing to one, and `x` is their convex
combination. -/
def StateRepresentation : Prop :=
∀ (n : ℕ) (M : Matrix (Fin (n + 2)) (Fin (n + 2)) ℝ) (lam : Fin (n + 2) → ℝ) (x : Fin n → ℝ),
IsPMState M lam x →
(∀ s ∈ activeSet M, 0 < weight M lam s) ∧ ∑ s ∈ activeSet M, weight M lam s = 1 ∧
∑ s ∈ activeSet M, weight M lam s • s = xLean pivotWeights · ◇ elaborated · source
Definition in Lean
/-- The weights after the pivot, with the entering column `k` carrying `β_v + θ*` and
`θ* = -μ_k/r_k`. -/
noncomputable def pivotWeights {n : ℕ} (r mu : Fin (n + 2) → ℝ) (bv : ℝ) (k i : Fin (n + 2)) :
ℝ :=
if i = k then bv + -mu k / r k else mu i + -mu k / r k * r iLean mergeCols · ◇ elaborated · source
Definition in Lean
/-- The cleanup of Algorithm 5: column `ℓ` is added to every vertex column of weight zero. -/
noncomputable def mergeCols {n : ℕ} (Q : Matrix (Fin (n + 2)) (Fin (n + 2)) ℝ)
(lam : Fin (n + 2) → ℝ) (ℓ : Fin (n + 2)) : Matrix (Fin (n + 2)) (Fin (n + 2)) ℝ :=Lean cleanup_no_new_point · ✅ kernel-checked · source
Statement in Lean
/-- Proposition 4.1 for updates without a new point. -/
theorem cleanup_no_new_point : CleanupNoNewPointwhere CleanupNoNewPoint is (source):
/-- **Proposition 4.1**, no new point (Lines 1–3 of Algorithm 5). If the update only uses active
points, reweighting the basis and cleaning up gives a state for the new point whose active set is
contained in the new support `T`. -/
def CleanupNoNewPoint : Prop :=
∀ (n : ℕ) (N : Matrix (Fin (n + 2)) (Fin (n + 2)) ℝ) (lamOld : Fin (n + 2) → ℝ)
(x y : Fin n → ℝ) (β : (Fin n → ℝ) → ℝ) (T : Finset (Fin n → ℝ)) (ℓ : Fin (n + 2)),
IsPMState N lamOld x → (∀ s, 0 ≤ β s) → (∀ s, 0 < β s ↔ s ∈ T) →
∑ s ∈ T, β s • ext s = ext y → T ⊆ activeSet N → N (rowA n) ℓ ≠ 0 →
IsPMState (mergeCols N (colWeights N β) ℓ) (colWeights N β) y ∧
activeSet (mergeCols N (colWeights N β) ℓ) ⊆ TLean cleanup_new_point · ✅ kernel-checked · source
Statement in Lean
/-- Proposition 4.1 (corrected) for updates with a new point. -/
theorem cleanup_new_point : CleanupNewPointwhere CleanupNewPoint is (source):
/-- **Proposition 4.1** (corrected), one new point `v` (Lines 4–12 of Algorithm 5). With
`Nr = -ṽ`, a ratio index `k`, the pivot weights with `λ_k = β_v + θ*`, the basis `Q` with column
`k` replaced by `ṽ` and the cleanup, the result is a state for the new point. Its active set lies
in `T ∪ S` for the old active set `S`, and in `T` if no active point was dropped. -/
def CleanupNewPoint : Prop :=
∀ (n : ℕ) (N : Matrix (Fin (n + 2)) (Fin (n + 2)) ℝ) (lamOld : Fin (n + 2) → ℝ)
(x y : Fin n → ℝ) (β : (Fin n → ℝ) → ℝ) (T : Finset (Fin n → ℝ)) (v : Fin n → ℝ)
(r : Fin (n + 2) → ℝ) (k ℓ : Fin (n + 2)),
IsPMState N lamOld x → (∀ s, 0 ≤ β s) → (∀ s, 0 < β s ↔ s ∈ T) →
∑ s ∈ T, β s • ext s = ext y → v ∈ T → v ∉ activeSet N → T ⊆ insert v (activeSet N) →
N *ᵥ r = -ext v → IsRatioIndex r (colWeights N β) k → N.updateCol k (ext v) (rowA n) ℓ ≠ 0 →
IsPMState (mergeCols (N.updateCol k (ext v)) (pivotWeights r (colWeights N β) (β v) k) ℓ)
(pivotWeights r (colWeights N β) (β v) k) y ∧
activeSet (mergeCols (N.updateCol k (ext v)) (pivotWeights r (colWeights N β) (β v) k) ℓ)
⊆ T ∪ activeSet N ∧
(activeSet N ⊆ T → activeSet (mergeCols (N.updateCol k (ext v))
(pivotWeights r (colWeights N β) (β v) k) ℓ) ⊆ T)Lean pivot_exists · ✅ kernel-checked · source
Statement in Lean
/-- The pivot data always exist. -/
theorem pivot_exists : PivotExistswhere PivotExists is (source):
/-- **The pivot is always possible** (proof of Proposition 4.1). In a state, `Nr = -ṽ` has a
solution with a negative entry, so a ratio index exists, and every invertible basis has a column
with nonzero row `n+1`. -/
def PivotExists : Prop :=
∀ (n : ℕ) (N : Matrix (Fin (n + 2)) (Fin (n + 2)) ℝ) (lamOld : Fin (n + 2) → ℝ)
(x v : Fin n → ℝ) (mu : Fin (n + 2) → ℝ), IsPMState N lamOld x →
(∃ r, N *ᵥ r = -ext v) ∧ (∀ r, N *ᵥ r = -ext v → ∃ k, IsRatioIndex r mu k) ∧
∀ Q : Matrix (Fin (n + 2)) (Fin (n + 2)) ℝ, Q.det ≠ 0 → ∃ ℓ, Q (rowA n) ℓ ≠ 0Lean paper_pivot_fails · ✅ kernel-checked · source
Statement in Lean
/-- The pivot weights as printed in Algorithm 5 do not represent the new point. -/
theorem paper_pivot_fails : PaperPivotFailswhere PaperPivotFails is (source):
/-- **Algorithm 5 as printed fails.** For `n = 1`, the initial basis at `x_0 = 0`, and the
Frank–Wolfe update to `v = 1` with step size `1/2`, the hypotheses of Proposition 4.1 hold, but
the printed weights (`λ_k = θ*`) do not represent the new point `1/2`. -/
def PaperPivotFails : Prop :=
∃ (β : (Fin 1 → ℝ) → ℝ) (T : Finset (Fin 1 → ℝ)) (v y : Fin 1 → ℝ) (r : Fin 3 → ℝ) (k : Fin 3),
(∀ s, 0 ≤ β s) ∧ (∀ s, 0 < β s ↔ s ∈ T) ∧ ∑ s ∈ T, β s • ext s = ext y ∧ v ∈ T ∧
v ∉ activeSet (initBasis (0 : Fin 1 → ℝ)) ∧ T ⊆ insert v (activeSet (initBasis 0)) ∧
initBasis 0 *ᵥ r = -ext v ∧ IsRatioIndex r (colWeights (initBasis 0) β) k ∧
(initBasis 0).updateCol k (ext v) *ᵥ paperPivotWeights r (colWeights (initBasis 0) β) k ≠
ext yLean active_set_leaves_support · ✅ kernel-checked · source
Statement in Lean
/-- The active set need not stay in the support of the update. -/
theorem active_set_leaves_support : ActiveSetLeavesSupportwhere ActiveSetLeavesSupport is (source):
/-- **The active set can leave the support** (Theorem 4.2, Property 4, fails). In the unit square,
after Frank–Wolfe steps from `(0,0)` to `(1,1)` and `(1,0)`, a pairwise update that moves all
weight from `(1,0)` to `(0,1)` drops `(1,0)` from the support, but the pivot brings it back into
the active set. -/
def ActiveSetLeavesSupport : Prop :=
∃ (N : Matrix (Fin 4) (Fin 4) ℝ) (lamOld : Fin 4 → ℝ) (x y v b : Fin 2 → ℝ)
(β : (Fin 2 → ℝ) → ℝ) (T : Finset (Fin 2 → ℝ)) (r : Fin 4 → ℝ) (k ℓ : Fin 4),
IsPMState N lamOld x ∧ (∀ s, 0 ≤ β s) ∧ (∀ s, 0 < β s ↔ s ∈ T) ∧
∑ s ∈ T, β s • ext s = ext y ∧ v ∈ T ∧ v ∉ activeSet N ∧ T ⊆ insert v (activeSet N) ∧
N *ᵥ r = -ext v ∧ IsRatioIndex r (colWeights N β) k ∧ N.updateCol k (ext v) (rowA 2) ℓ ≠ 0 ∧
b ∈ activeSet (mergeCols (N.updateCol k (ext v)) (pivotWeights r (colWeights N β) (β v) k) ℓ) ∧
b ∉ T
/-! ### Active set identification for BPFW over the simplex (Appendix C) -/Lean initBasis · ◇ elaborated · source
Definition in Lean
/-- The initial basis `(x̃_0, D_n)` with `D_n = (I_n, 0; 1ᵀ, 1; 1ᵀ, 1)`. -/
def initBasis {n : ℕ} (x0 : Fin n → ℝ) : Matrix (Fin (n + 2)) (Fin (n + 2)) ℝ := fun r c =>
if (c : ℕ) = 0 then ext x0 r else if (r : ℕ) < n then (if (r : ℕ) + 1 = c then 1 else 0) else 1Lean IsPMRun · ◇ elaborated · source
Definition in Lean
/-- Runs of the pivoting meta algorithm (Algorithm 4) on top of convex-combination updates: in
iteration `t` the underlying algorithm produces weights `β_t`, positive exactly on the finite set
`T_t`, representing `x_{t+1}`, and either uses only active points or adds one new point `v`; the
active set cleanup then either reweights the basis or performs one pivot step, and adds a column
`ℓ` with nonzero row `n+1` to the vertex columns of weight zero. -/
def IsPMRun {n : ℕ} (x : ℕ → Fin n → ℝ) (β : ℕ → (Fin n → ℝ) → ℝ)
(T : ℕ → Finset (Fin n → ℝ)) (M : ℕ → Matrix (Fin (n + 2)) (Fin (n + 2)) ℝ)
(lam : ℕ → Fin (n + 2) → ℝ) : Prop :=
M 0 = initBasis (x 0) ∧ lam 0 = Pi.single 0 1 ∧
∀ t, (∀ s, 0 ≤ β t s) ∧ (∀ s, 0 < β t s ↔ s ∈ T t) ∧
∑ s ∈ T t, β t s • ext s = ext (x (t + 1)) ∧
((T t ⊆ activeSet (M t) ∧ ∃ ℓ, M t (rowA n) ℓ ≠ 0 ∧
M (t + 1) = mergeCols (M t) (colWeights (M t) (β t)) ℓ ∧
lam (t + 1) = colWeights (M t) (β t)) ∨
∃ (v : Fin n → ℝ) (r : Fin (n + 2) → ℝ) (k ℓ : Fin (n + 2)), v ∈ T t ∧
v ∉ activeSet (M t) ∧ T t ⊆ insert v (activeSet (M t)) ∧ M t *ᵥ r = -ext v ∧
IsRatioIndex r (colWeights (M t) (β t)) k ∧ (M t).updateCol k (ext v) (rowA n) ℓ ≠ 0 ∧
M (t + 1) = mergeCols ((M t).updateCol k (ext v))
(pivotWeights r (colWeights (M t) (β t)) (β t v) k) ℓ ∧
lam (t + 1) = pivotWeights r (colWeights (M t) (β t)) (β t v) k)Lean pm_properties · ✅ kernel-checked · source
Statement in Lean
/-- Theorem 4.2 (corrected): runs keep a state and at most `n + 1` active points. -/
theorem pm_properties : PMPropertieswhere PMProperties is (source):
/-- **Theorem 4.2** (corrected). Along every run of the pivoting meta algorithm, `(M_t, λ_t)` is a
state for `x_t`, the active set has at most `n + 1` points, and each new active set lies in the
support of the update together with the previous active set. -/
def PMProperties : Prop :=
∀ (n : ℕ) (x : ℕ → Fin n → ℝ) (β : ℕ → (Fin n → ℝ) → ℝ) (T : ℕ → Finset (Fin n → ℝ))
(M : ℕ → Matrix (Fin (n + 2)) (Fin (n + 2)) ℝ) (lam : ℕ → Fin (n + 2) → ℝ),
IsPMRun x β T M lam → ∀ t,
IsPMState (M t) (lam t) (x t) ∧ (activeSet (M t)).card ≤ n + 1 ∧
activeSet (M (t + 1)) ⊆ T t ∪ activeSet (M t)Lean active_set_dimension · ✅ kernel-checked · source
Statement in Lean
/-- Theorem 5.1 and Corollary 5.2: the active points are affinely independent. -/
theorem active_set_dimension : ActiveSetDimensionwhere ActiveSetDimension is (source):
/-- **Theorem 5.1 and Corollary 5.2.** In a state, the active points are affinely independent;
hence if they lie in a set `C⋆`, there are at most `dim C⋆ + 1` of them. -/
def ActiveSetDimension : Prop :=
∀ (n : ℕ) (M : Matrix (Fin (n + 2)) (Fin (n + 2)) ℝ) (lam : Fin (n + 2) → ℝ) (x : Fin n → ℝ)
(Cstar : Set (Fin n → ℝ)), IsPMState M lam x →
AffineIndependent ℝ (fun s : activeSet M => (s : Fin n → ℝ)) ∧
((activeSet M : Set (Fin n → ℝ)) ⊆ Cstar →
(activeSet M).card ≤ Module.finrank ℝ (vectorSpan ℝ Cstar) + 1)Lean pairwise_decomposition · ✅ kernel-checked · source
Statement in Lean
/-- Section 3.1: a pairwise update is an away update followed by a Frank–Wolfe update. -/
theorem pairwise_decomposition : PairwiseDecompositionwhere PairwiseDecomposition is (source):
/-- **The pairwise update** (Section 3.1). For `η ≠ 1`, a pairwise update
`x + η(v - a)` is the away update `y = x + η/(1-η) (x - a)` followed by the Frank–Wolfe update
`y + η(v - y)`. -/
def PairwiseDecomposition : Prop :=
∀ {E : Type} [AddCommGroup E] [Module ℝ E] (x a v : E) (η : ℝ), η ≠ 1 →
x + η • (v - a) = (x + (η / (1 - η)) • (x - a)) +
η • (v - (x + (η / (1 - η)) • (x - a)))Lean mult · ◇ elaborated · source
Definition in Lean
/-- The multiplier `λ_i(x) = ⟨∇f(x), e_i - x⟩` of coordinate `i` for the gradient `g` at `x`. -/
def mult {n : ℕ} (g x : Fin n → ℝ) (i : Fin n) : ℝ :=
g i - ∑ j, g j * x jLean IsBPFWStep · ◇ elaborated · source
Definition in Lean
/-- One iteration of the blended pairwise Frank–Wolfe algorithm over the simplex (Algorithm 7) with
gradient `g` at `x`: the away vertex `a` and the local Frank–Wolfe vertex `w` maximize and minimize
`g` over the support of `x`, and the Frank–Wolfe vertex `v` minimizes `g`. If
`⟨g, v - x⟩ ≥ ⟨g, w - a⟩` the algorithm moves weight `η ≤ x_a` from `a` to `w`, with the step
size lower bound `η ≥ min(x_a, ⟨g, a - w⟩/(L‖e_w - e_a‖²))` of Assumption 1; otherwise it takes a
Frank–Wolfe step towards `v`. -/
def IsBPFWStep {n : ℕ} (L : ℝ) (g x x' : Fin n → ℝ) : Prop :=
∃ a w v : Fin n, 0 < x a ∧ 0 < x w ∧ (∀ i, 0 < x i → g i ≤ g a) ∧
(∀ i, 0 < x i → g w ≤ g i) ∧ (∀ i, g v ≤ g i) ∧
((g w - g a ≤ g v - ∑ j, g j * x j ∧ ∃ η, 0 ≤ η ∧ η ≤ x a ∧
min (x a) ((g a - g w) / (2 * L)) ≤ η ∧ x' = x + η • (Pi.single w 1 - Pi.single a 1)) ∨
(g v - ∑ j, g j * x j < g w - g a ∧ ∃ η, 0 ≤ η ∧ η ≤ 1 ∧
x' = x + η • (Pi.single v 1 - x)))Lean identSet · ◇ elaborated · source
Definition in Lean
/-- The coordinates with positive multiplier at `x⋆` that are positive at `y` (the set `J`). -/
noncomputable def identSet {n : ℕ} (gs xs y : Fin n → ℝ) : Finset (Fin n) :=Lean step_multipliers · ✅ kernel-checked · source
Statement in Lean
/-- Lemma 9.1: the step choice of BPFW in terms of multipliers. -/
theorem step_multipliers : StepMultiplierswhere StepMultipliers is (source):
/-- **Lemma 9.1** (BPFW step multipliers). The choice between the two steps compares the spread
`λ_a - λ_w` of the multipliers on the support with the Frank–Wolfe gap `-λ_v`, and a coordinate
outside the support with positive multiplier stays zero. -/
def StepMultipliers : Prop :=
∀ (n : ℕ) (L : ℝ) (g x x' : Fin n → ℝ), IsSimplexPt x →
(∀ a w v : Fin n, (g w - g a ≤ g v - ∑ j, g j * x j ↔ -mult g x v ≤ mult g x a - mult g x w)) ∧
(IsBPFWStep L g x x' → ∀ j, x j = 0 → 0 < mult g x j → x' j = 0)Lean multiplier_perturbation · ✅ kernel-checked · source
Statement in Lean
/-- Lemma 3.1 of Bomze, Rinaldi and Zeffiro: the multipliers move by at most
`‖x - x⋆‖₁ (L + δ/2)`. -/
theorem multiplier_perturbation : MultiplierPerturbationwhere MultiplierPerturbation is (source):
/-- **Lemma 3.1 of Bomze, Rinaldi and Zeffiro.** Let `x⋆` be stationary on the simplex (all
multipliers nonnegative), let the gradient be `L`-Lipschitz in the `ℓ¹` norms between `x` and
`x⋆`, and let `δ` bound the multipliers at `x⋆` of the coordinates outside
`O = {i : λ_i(x⋆) > 0, x_i = 0}`. Then `|λ_i(x) - λ_i(x⋆)| ≤ ‖x - x⋆‖₁ (L + δ/2)` for all `i`. -/
def MultiplierPerturbation : Prop :=
∀ (n : ℕ) (L δ : ℝ) (g gs x xs : Fin n → ℝ), IsSimplexPt x → IsSimplexPt xs →
(∀ i, 0 ≤ mult gs xs i) → ∑ i, |g i - gs i| ≤ L * ∑ i, |x i - xs i| →
(∀ i, (mult gs xs i = 0 ∨ 0 < x i) → mult gs xs i ≤ δ) →
∀ i, |mult g x i - mult gs xs i| ≤ (∑ j, |x j - xs j|) * (L + δ / 2)Lean multiplier_bounds · ✅ kernel-checked · source
Statement in Lean
/-- Lemma 9.2: bounds on the multipliers near a stationary point. -/
theorem multiplier_bounds : MultiplierBoundswhere MultiplierBounds is (source):
/-- **Lemma 9.2** (bounds on the multipliers). In the setting of Lemma 3.1, if
`‖x - x⋆‖₁ < h`, the multipliers of the coordinates with zero multiplier at `x⋆` are below
`h(L + δ/2)`, and those with multiplier at least `δ_min` at `x⋆` exceed `δ_min - h(L + δ/2)`. -/
def MultiplierBounds : Prop :=
∀ (n : ℕ) (L δ dmin h : ℝ) (g gs x xs : Fin n → ℝ), IsSimplexPt x → IsSimplexPt xs →
(∀ i, 0 ≤ mult gs xs i) → ∑ i, |g i - gs i| ≤ L * ∑ i, |x i - xs i| →
(∀ i, (mult gs xs i = 0 ∨ 0 < x i) → mult gs xs i ≤ δ) → 0 < L + δ / 2 →
∑ i, |x i - xs i| < h →
(∀ i, mult gs xs i = 0 → mult g x i < h * (L + δ / 2)) ∧
(∀ j, dmin ≤ mult gs xs j → dmin - h * (L + δ / 2) < mult g x j)Lean bpfw_identification · ✅ kernel-checked · source
Statement in Lean
/-- Theorem 9.3: near a stationary point, every BPFW iteration drops a coordinate of `J`. -/
theorem bpfw_identification : BPFWIdentificationwhere BPFWIdentification is (source):
/-- **Theorem 9.3** (BPFW identification). Let `x⋆` be stationary on the simplex, let the
gradient be `L`-Lipschitz in the `ℓ¹` norms, let `δ_min > 0` bound the positive multipliers at
`x⋆` from below and `δ` bound the multipliers at `x⋆` outside `O` from above. If
`‖x - x⋆‖₁ < h⋆ = δ_min/(3L + max(δ, δ_min))`, one BPFW iteration from `x` removes a coordinate
from `J = {i : λ_i(x⋆) > 0, x_i > 0}` unless `J` is empty: `|J⁺| ≤ max(0, |J| - 1)`. -/
def BPFWIdentification : Prop :=
∀ (n : ℕ) (L δ dmin : ℝ) (grad : (Fin n → ℝ) → Fin n → ℝ) (x x' xs : Fin n → ℝ),
0 < L → 0 < dmin → IsSimplexPt x → IsSimplexPt xs → (∀ i, 0 ≤ mult (grad xs) xs i) →
∑ i, |grad x i - grad xs i| ≤ L * ∑ i, |x i - xs i| →
(∀ j, 0 < mult (grad xs) xs j → dmin ≤ mult (grad xs) xs j) →
(∀ i, (mult (grad xs) xs i = 0 ∨ 0 < x i) → mult (grad xs) xs i ≤ δ) →
∑ i, |x i - xs i| < dmin / (3 * L + max δ dmin) → IsBPFWStep L (grad x) x x' →
(identSet (grad xs) xs x').card ≤ (identSet (grad xs) xs x).card - 1AI use. The formalization and this page were developed with Claude (Anthropic) under the author’s direction and review, on top of Mathlib.
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.
- Wirth, E., Besançon, M., & Pokutta, S. (2024). The pivoting framework: Frank-Wolfe algorithms with active set size control. 10.48550/arXiv.2407.11760