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.

Alternating linear minimization

Sebastian Pokutta
v1 2026-11-28 · last 2026-11-29
Additional material: arXiv:2212.02933
Note: Formalizes Proposition 2.1 with the inequalities (2.1) and (2.2), Proposition 4.1 and Corollaries 4.3 and 4.4 for the agnostic step-size rule, Observation 4.6 and Remark 4.7 of Braun et al. (2022).

Abstract. Von Neumann’s alternating projections find a point in the intersection of two convex sets PP and QQ, or two points of minimal distance, by projecting alternately onto PP and QQ. Projections onto convex sets are firmly nonexpansive, so the deviations of the half-steps from the distance vector are bounded by a telescoping sum, which gives the rate dist⁡(y0,Qmin⁡)2/T\operatorname{dist}(y_0, Q_{\min})^2/T and, for compact sets, convergence of the iterates to a pair of minimal distance. Alternating linear minimizations replace each projection by one Frank–Wolfe step for ∥x−y∥2\|x - y\|^2 in one block and need only linear minimization oracles. One round satisfies the recursion of Frank–Wolfe with curvature (DP+DQ)2(D_P + D_Q)^2, so with step sizes 2/(t+2)2/(t+2) the iterates satisfy ∥xt−yt∥2≤dist⁡(P,Q)2+4(DP+DQ)2/(t+2)\|x_t - y_t\|^2 \le \operatorname{dist}(P, Q)^2 + 4(D_P + D_Q)^2/(t + 2), and some iterate up to TT has dual gap at most 6.75(DP+DQ)2/(T+2)6.75(D_P + D_Q)^2/(T + 2). The iterates certify disjointness, by the primal bound or by a separating hyperplane, and for polytopes a pair of iterates at distance below an explicit threshold yields an exact point of P∩QP \cap Q by linear programming over the vertices returned by the oracles.

Given two convex sets PP and QQ, find a point in P∩QP \cap Q, or, if there is none, two points of minimal distance. Von Neumann’s answer from 1933 is to project alternately onto PP and onto QQ. This needs projections, which are often expensive. Alternating linear minimizations (ALM) replace each projection by a single Frank–Wolfe step for ∥x−y∥2\|x - y\|^2 in one of the two blocks, which needs only a linear minimization oracle, and keep the O(1/t)O(1/t) rate of von Neumann’s method. On the way, the iterates certify that PP and QQ are disjoint, and for polytopes they lead to an exact point of P∩QP \cap Q.

Throughout, PP and QQ are convex subsets of a real inner product space, DPD_P and DQD_Q are their diameters, and runs are predicates: every choice of nearest points and every answer of the oracles is allowed.

Alternating projections

Everything rests on one inequality for projections. A projection pp of zz onto a convex set satisfies ⟨z−p,q−p⟩≤0\langle z - p, q - p\rangle \le 0 for all q∈Pq \in P, since moving from pp towards qq does not get closer to zz.

Write x−y=(p−q)+((x−p)−(y−q))x - y = (p - q) + ((x - p) - (y - q)) and expand. The cross term

⟨p−q,(x−p)−(y−q)⟩=−⟨x−p,q−p⟩−⟨y−q,p−q⟩\langle p - q, (x - p) - (y - q)\rangle = -\langle x - p, q - p\rangle - \langle y - q, p - q\rangle

is nonnegative by the inequality for both projections.

In a pair (z1,z2)(z_1, z_2) of minimal distance, z1z_1 is a projection of z2z_2 onto PP and z2z_2 one of z1z_1 onto QQ. Splitting x−y=(x−z1)+(z1−z2)+(z2−y)x - y = (x - z_1) + (z_1 - z_2) + (z_2 - y) gives the next lemma.

For the second part, ∥w1−w2∥=∥z1−z2∥\|w_1 - w_2\| = \|z_1 - z_2\|, and the first part gives ∥(w1−w2)−(z1−z2)∥2≤0\|(w_1 - w_2) - (z_1 - z_2)\|^2 \le 0. So the distance vector d=z2−z1d = z_2 - z_1 does not depend on the pair.

The projection inequality for QQ, applied to xt+1x_{t+1} and z1z_1, bounds the second summand by ∥xt+1−z1∥2−∥yt+1−z2∥2\|x_{t+1} - z_1\|^2 - \|y_{t+1} - z_2\|^2, and the one for PP, applied to yty_t and z2z_2, bounds the first by ∥yt−z2∥2−∥xt+1−z1∥2\|y_t - z_2\|^2 - \|x_{t+1} - z_1\|^2. The sum telescopes to ∥y0−z2∥2−∥yT−z2∥2\|y_0 - z_2\|^2 - \|y_T - z_2\|^2. Dividing by TT gives the rate dist⁡(y0,Qmin⁡)2/T\operatorname{dist}(y_0, Q_{\min})^2/T of the paper for the average and hence for the best iterate.

The summands of the rate tend to zero, so yt−xt+1→dy_t - x_{t+1} \to d. A limit point yˉ∈Q\bar y \in Q of the yty_t gives the limit point xˉ=yˉ−d∈P\bar x = \bar y - d \in P of the xtx_t, and ∥xˉ−yˉ∥=∥d∥\|\bar x - \bar y\| = \|d\|, so (xˉ,yˉ)(\bar x, \bar y) has minimal distance. The two half-step estimates for this pair give ∥yt+1−yˉ∥≤∥xt+1−xˉ∥≤∥yt−yˉ∥\|y_{t+1} - \bar y\| \le \|x_{t+1} - \bar x\| \le \|y_t - \bar y\|. So ∥yt−yˉ∥\|y_t - \bar y\| decreases, and along a subsequence it tends to zero, hence everywhere.

Here d=0d = 0. From t=1t = 1 on, projections only decrease the distance: ∥xt+1−yt+1∥≤∥xt+1−yt∥≤∥xt−yt∥\|x_{t+1} - y_{t+1}\| \le \|x_{t+1} - y_t\| \le \|x_t - y_t\|. So each of the TT summands of the rate is at least ∥xT−yT∥2\|x_T - y_T\|^2.

Alternating linear minimizations

The paper derives the rate of ALM from the convergence theorems of cyclic block-coordinate conditional gradients (Theorems 3.1 and 3.2, due to Beck, Pauwels and Sabach). For the objective ∥x−y∥2\|x - y\|^2 one round can be analyzed directly, and the second oracle call, made at the updated point xt+1x_{t+1}, costs only a second-order term.

With a=xt−yta = x_t - y_t, Δu=ut−xt\Delta_u = u_t - x_t and Δv=vt−yt\Delta_v = v_t - y_t, the round gives a′=a+γt(Δu−Δv)a' = a + \gamma_t(\Delta_u - \Delta_v). The oracle of PP gives ⟨a,Δu⟩≤⟨a,p−xt⟩\langle a, \Delta_u\rangle \le \langle a, p - x_t\rangle. The oracle of QQ is asked at −(a+γtΔu)-(a + \gamma_t\Delta_u) and gives

⟨a,Δv⟩≥⟨a,q−yt⟩+γt⟨Δu,q−yt⟩−γt⟨Δu,Δv⟩.\langle a, \Delta_v\rangle \ge \langle a, q - y_t\rangle + \gamma_t\langle \Delta_u, q - y_t\rangle - \gamma_t\langle \Delta_u, \Delta_v\rangle .

In the expansion of ∥a′∥2\|a'\|^2 the term −2γt2⟨Δu,Δv⟩-2\gamma_t^2\langle \Delta_u, \Delta_v\rangle cancels, which leaves

γt2(∥Δu∥2+∥Δv∥2−2⟨Δu,q−yt⟩)≤γt2(DP+DQ)2.\gamma_t^2\big(\|\Delta_u\|^2 + \|\Delta_v\|^2 - 2\langle \Delta_u, q - y_t\rangle\big) \le \gamma_t^2(D_P + D_Q)^2 .

Since ⟨a,a−(p−q)⟩≥(∥a∥2−∥p−q∥2)/2\langle a, a - (p - q)\rangle \ge (\|a\|^2 - \|p - q\|^2)/2, the quantity ht=∥xt−yt∥2−∥p−q∥2h_t = \|x_t - y_t\|^2 - \|p - q\|^2 satisfies ht+1≤(1−γt)ht+γt2(DP+DQ)2h_{t+1} \le (1 - \gamma_t)h_t + \gamma_t^2(D_P + D_Q)^2, the recursion of Frank–Wolfe, which gives ht≤4(DP+DQ)2/(t+2)h_t \le 4(D_P + D_Q)^2/(t + 2).

The left-hand side is half the Frank–Wolfe gap gtg_t of ∥x−y∥2\|x - y\|^2 at (xt,yt)(x_t, y_t), and one round gives γtgt≤ht−ht+1+γt2(DP+DQ)2\gamma_t g_t \le h_t - h_{t+1} + \gamma_t^2(D_P + D_Q)^2 with ht=∥xt−yt∥2−dist⁡(P,Q)2h_t = \|x_t - y_t\|^2 - \operatorname{dist}(P, Q)^2. Summing over the second half of the run, as for the gap of Frank–Wolfe (Theorem 4.5 of The Frank–Wolfe algorithm: a short introduction), bounds the smallest gap there.

Certifying disjointness

If PP and QQ meet, the primal bound with p=qp = q forces ∥xt−yt∥2≤4(DP+DQ)2/(t+2)\|x_t - y_t\|^2 \le 4(D_P + D_Q)^2/(t + 2). A larger value certifies disjointness, and if the sets are disjoint, the distance of the iterates eventually exceeds this threshold.

A certificate that needs no diameters is a separating hyperplane: a direction aa with ⟨a,p−q⟩\langle a, p - q\rangle bounded away from zero on P×QP \times Q. The direction xt−ytx_t - y_t works as soon as its gap is smaller than ∥xt−yt∥2\|x_t - y_t\|^2.

The first part follows from the dual gap: ⟨xτ−yτ,p−q⟩≥∥xτ−yτ∥2−6.75(DP+DQ)2/(T+2)\langle x_\tau - y_\tau, p - q\rangle \ge \|x_\tau - y_\tau\|^2 - 6.75(D_P + D_Q)^2/(T + 2), and ∥xτ−yτ∥≥δ\|x_\tau - y_\tau\| \ge \delta. For the second, the distance vector gives ∥at−d∥2≤∥at∥2−δ2≤4(DP+DQ)2/(t+2)\|a_t - d\|^2 \le \|a_t\|^2 - \delta^2 \le 4(D_P + D_Q)^2/(t + 2) for at=xt−yta_t = x_t - y_t and d=z1−z2d = z_1 - z_2. Then ⟨at,p−q⟩≥δ2−∥at−d∥ ∥(p−q)−d∥\langle a_t, p - q\rangle \ge \delta^2 - \|a_t - d\|\,\|(p - q) - d\| with ∥(p−q)−d∥≤DP+DQ\|(p - q) - d\| \le D_P + D_Q.

Exact recovery for polytopes

For polytopes, approximate answers become exact.

Disjoint compact sets have positive distance, and there are only finitely many pairs (U,V)(U, V); take the smallest of these distances over the disjoint pairs.

Since γ0=1\gamma_0 = 1, from t=1t = 1 on the iterates xtx_t and yty_t are convex combinations of the answers so far. A common point of the two hulls is then found by a linear feasibility program in the weights. If PP and QQ meet, Proposition 4.1 makes ∥xt−yt∥<ε\|x_t - y_t\| < \varepsilon after O((DP+DQ)2/ε2)O((D_P + D_Q)^2/\varepsilon^2) rounds.

Coverage

This entry covers Proposition 2.1 with the inequalities (2.1) and (2.2), Proposition 4.1 and Corollaries 4.3 and 4.4 for the agnostic step-size rule, Observation 4.6 and Remark 4.7. Not covered are the convergence theorems of cyclic block-coordinate conditional gradients (Theorems 3.1 and 3.2), the short step-size rule in Proposition 4.1 and Corollaries 4.3 and 4.4, the comparison of Remark 4.2, the adaptive variant (Proposition 4.8), the non-alternating variant of Remark 4.9, and the computations.

The formal statements at a glance

Main.lean
/-- The projection inequality (2.1): projections onto convex sets are firmly nonexpansive. -/
theorem projection_inequality : ProjectionInequality := Proof.projection_inequality

/-- The distance vector (2.2): all pairs of minimal distance have the same difference `d`, and
`⟪x - y, z₁ - z₂⟫ ≥ ‖z₁ - z₂‖²` on `P × Q`. -/
theorem distance_vector : DistanceVector := Proof.distance_vector

/-- Proposition 2.1 (rate): the squared deviations from the distance vector sum to at most
`‖y₀ - z₂‖²`. -/
theorem pocs_rate : POCSRate := Proof.pocs_rate

/-- Proposition 2.1 (convergence): for compact convex sets, the iterates of alternating
projections converge to a pair of minimal distance. -/
theorem pocs_convergence : POCSConvergence := Proof.pocs_convergence

/-- Proposition 2.1 (intersecting sets): `‖x_T - y_T‖² ≤ ‖y₀ - z‖²/T` for `z ∈ P ∩ Q`. -/
theorem pocs_intersect : POCSIntersect := Proof.pocs_intersect

/-- One round of ALM: the Frank–Wolfe recursion for `‖x - y‖²` with curvature `(D_P + D_Q)²`. -/
theorem one_round : OneRound := Proof.one_round

/-- Proposition 4.1 (primal bound): `‖x_t - y_t‖² ≤ dist(P, Q)² + 4(D_P + D_Q)²/(t + 2)`, and the
midpoint is within `‖x_t - y_t‖/2` of both sets. -/
theorem alm_rate : ALMRate := Proof.alm_rate

/-- Proposition 4.1 (dual gap): some `1 ≤ τ ≤ T` has gap at most `6.75 (D_P + D_Q)²/(T + 2)`. -/
theorem alm_gap_rate : ALMGapRate := Proof.alm_gap_rate

/-- Corollary 4.3: certifying `P ∩ Q = ∅` from the primal bound. -/
theorem certify_disjoint : CertifyDisjoint := Proof.certify_disjoint

/-- Corollary 4.4: a separating certificate without knowledge of the diameters. -/
theorem certify_separation : CertifySeparation := Proof.certify_separation

/-- Observation 4.6: close hulls of vertex sets of two polytopes intersect. -/
theorem vertex_separation : VertexSeparation := Proof.vertex_separation

/-- Remark 4.7: once `‖x_t - y_t‖ < ε_{PQ}`, the hulls of the answers of the oracles intersect. -/
theorem exact_recovery : ExactRecovery := Proof.exact_recovery
Formal verification — ✅ all 15 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 IsPOCSRun · ◇ elaborated · source

Definition in Lean
/-- A run of von Neumann's alternating projections (Algorithm 1) from `y 0`: `x (t+1)` is a
projection of `y t` onto `P`, and `y (t+1)` a projection of `x (t+1)` onto `Q`. The point `x 0`
is not used. -/
def IsPOCSRun (P Q : Set E) (x y : ℕ → E) : Prop :=
  ∀ t, IsProj P (y t) (x (t + 1)) ∧ IsProj Q (x (t + 1)) (y (t + 1))

Lean IsMinPair · ◇ elaborated · source

Definition in Lean
/-- `z₁ ∈ P` and `z₂ ∈ Q` have minimal distance. -/
def IsMinPair (P Q : Set E) (z₁ z₂ : E) : Prop :=
  z₁ ∈ P ∧ z₂ ∈ Q ∧ ∀ x ∈ P, ∀ y ∈ Q, ‖z₁ - z₂‖ ≤ ‖x - y‖

Lean projection_inequality · ✅ kernel-checked · source

Statement in Lean
/-- The projection inequality (2.1): projections onto convex sets are firmly nonexpansive. -/
theorem projection_inequality : ProjectionInequality

where ProjectionInequality is (source):

/-- **The projection inequality** (2.1). Projections onto a convex set are firmly nonexpansive:
`‖Π(x) - Π(y)‖² + ‖x - Π(x) - y + Π(y)‖² ≤ ‖x - y‖²`. -/
def ProjectionInequality : Prop :=
  ∀ {E : Type u} [NormedAddCommGroup E] [InnerProductSpace ℝ E] (P : Set E), Convex ℝ P →
    ∀ x y p q : E, IsProj P x p → IsProj P y q →
      ‖p - q‖ ^ 2 + ‖(x - p) - (y - q)‖ ^ 2 ≤ ‖x - y‖ ^ 2

Lean distance_vector · ✅ kernel-checked · source

Statement in Lean
/-- The distance vector (2.2): all pairs of minimal distance have the same difference `d`, and
`⟪x - y, z₁ - z₂⟫ ≥ ‖z₁ - z₂‖²` on `P × Q`. -/
theorem distance_vector : DistanceVector

where DistanceVector is (source):

/-- **The distance vector** (2.2). For a pair `(z₁, z₂)` of minimal distance between convex sets,
`⟪x - y, z₁ - z₂⟫ ≥ ‖z₁ - z₂‖²` for all `x ∈ P` and `y ∈ Q`; in particular, all pairs of minimal
distance have the same difference `z₁ - z₂`. -/
def DistanceVector : Prop :=
  ∀ {E : Type u} [NormedAddCommGroup E] [InnerProductSpace ℝ E] (P Q : Set E), Convex ℝ P →
    Convex ℝ Q → ∀ z₁ z₂ : E, IsMinPair P Q z₁ z₂ →
      (∀ x ∈ P, ∀ y ∈ Q, ‖z₁ - z₂‖ ^ 2 ≤ ⟪x - y, z₁ - z₂⟫_ℝ) ∧
      ∀ w₁ w₂ : E, IsMinPair P Q w₁ w₂ → w₁ - w₂ = z₁ - z₂

Lean pocs_rate · ✅ kernel-checked · source

Statement in Lean
/-- Proposition 2.1 (rate): the squared deviations from the distance vector sum to at most
`‖y₀ - z₂‖²`. -/
theorem pocs_rate : POCSRate

where POCSRate is (source):

/-- **Proposition 2.1** (the rate of alternating projections). For convex sets, a pair
`(z₁, z₂)` of minimal distance and `d = z₂ - z₁`, every run of Algorithm 1 satisfies
`∑_{t < T} (‖y_t - x_{t+1} - d‖² + ‖x_{t+1} - y_{t+1} + d‖²) ≤ ‖y₀ - z₂‖²`. -/
def POCSRate : Prop :=
  ∀ {E : Type u} [NormedAddCommGroup E] [InnerProductSpace ℝ E] (P Q : Set E), Convex ℝ P →
    Convex ℝ Q → ∀ x y : ℕ → E, IsPOCSRun P Q x y → ∀ z₁ z₂ : E, IsMinPair P Q z₁ z₂ →
      ∀ T : ℕ, ∑ t ∈ Finset.range T, (‖y t - x (t + 1) - (z₂ - z₁)‖ ^ 2 +
        ‖x (t + 1) - y (t + 1) + (z₂ - z₁)‖ ^ 2) ≤ ‖y 0 - z₂‖ ^ 2

Lean pocs_convergence · ✅ kernel-checked · source

Statement in Lean
/-- Proposition 2.1 (convergence): for compact convex sets, the iterates of alternating
projections converge to a pair of minimal distance. -/
theorem pocs_convergence : POCSConvergence

where POCSConvergence is (source):

/-- **Proposition 2.1** (convergence). For compact convex sets, the iterates of every run of
Algorithm 1 converge to a pair of minimal distance. -/
def POCSConvergence : Prop :=
  ∀ {E : Type u} [NormedAddCommGroup E] [InnerProductSpace ℝ E] (P Q : Set E), IsCompact P →
    IsCompact Q → Convex ℝ P → Convex ℝ Q → ∀ x y : ℕ → E, IsPOCSRun P Q x y →
      ∃ xl yl : E, IsMinPair P Q xl yl ∧ Filter.Tendsto x Filter.atTop (nhds xl) ∧
        Filter.Tendsto y Filter.atTop (nhds yl)

Lean pocs_intersect · ✅ kernel-checked · source

Statement in Lean
/-- Proposition 2.1 (intersecting sets): `‖x_T - y_T‖² ≤ ‖y₀ - z‖²/T` for `z ∈ P ∩ Q`. -/
theorem pocs_intersect : POCSIntersect

where POCSIntersect is (source):

/-- **Proposition 2.1** (intersecting sets, (2.4)). If `z ∈ P ∩ Q`, every run of Algorithm 1
satisfies `‖x_T - y_T‖² ≤ ‖y₀ - z‖²/T` for `T ≥ 1`. -/
def POCSIntersect : Prop :=
  ∀ {E : Type u} [NormedAddCommGroup E] [InnerProductSpace ℝ E] (P Q : Set E), Convex ℝ P →
    Convex ℝ Q → ∀ x y : ℕ → E, IsPOCSRun P Q x y → ∀ z ∈ P ∩ Q, ∀ T : ℕ, 1 ≤ T →
      ‖x T - y T‖ ^ 2 ≤ ‖y 0 - z‖ ^ 2 / T

Lean IsALMRun · ◇ elaborated · source

Definition in Lean
/-- A run of alternating linear minimizations (Algorithm 3) with step sizes `γ`:
`u_t = argmin_{x ∈ P} ⟪x_t - y_t, x⟫`, `x_{t+1} = x_t + γ_t (u_t - x_t)`,
`v_t = argmin_{y ∈ Q} ⟪y_t - x_{t+1}, y⟫` and `y_{t+1} = y_t + γ_t (v_t - y_t)`. -/
def IsALMRun (P Q : Set E) (γ : ℕ → ℝ) (x y u v : ℕ → E) : Prop :=
  x 0 ∈ P ∧ y 0 ∈ Q ∧ ∀ t, IsLinMin P (x t - y t) (u t) ∧ x (t + 1) = x t + γ t • (u t - x t) ∧
    IsLinMin Q (y t - x (t + 1)) (v t) ∧ y (t + 1) = y t + γ t • (v t - y t)

Lean one_round · ✅ kernel-checked · source

Statement in Lean
/-- One round of ALM: the Frank–Wolfe recursion for `‖x - y‖²` with curvature `(D_P + D_Q)²`. -/
theorem one_round : OneRound

where OneRound is (source):

/-- **One round of ALM.** For bounded convex sets and step sizes in `[0, 1]`, every run of
Algorithm 3 satisfies, for all `p ∈ P` and `q ∈ Q`,
`‖x_{t+1} - y_{t+1}‖² ≤ ‖x_t - y_t‖² - 2γ_t ⟪x_t - y_t, x_t - y_t - (p - q)⟫ + γ_t² (D_P + D_Q)²`. -/
def OneRound : Prop :=
  ∀ {E : Type u} [NormedAddCommGroup E] [InnerProductSpace ℝ E] (P Q : Set E), Convex ℝ P →
    Convex ℝ Q → Bornology.IsBounded P → Bornology.IsBounded Q →
    ∀ (γ : ℕ → ℝ) (x y u v : ℕ → E), IsALMRun P Q γ x y u v → (∀ t, γ t ∈ Set.Icc (0 : ℝ) 1) →
      ∀ t, ∀ p ∈ P, ∀ q ∈ Q, ‖x (t + 1) - y (t + 1)‖ ^ 2 ≤ ‖x t - y t‖ ^ 2 -
        2 * γ t * ⟪x t - y t, (x t - y t) - (p - q)⟫_ℝ +
          γ t ^ 2 * (Metric.diam P + Metric.diam Q) ^ 2

Lean alm_rate · ✅ kernel-checked · source

Statement in Lean
/-- Proposition 4.1 (primal bound): `‖x_t - y_t‖² ≤ dist(P, Q)² + 4(D_P + D_Q)²/(t + 2)`, and the
midpoint is within `‖x_t - y_t‖/2` of both sets. -/
theorem alm_rate : ALMRate

where ALMRate is (source):

/-- **Proposition 4.1** (primal bound, agnostic steps). For bounded convex sets, every run of
Algorithm 3 with `γ_t = 2/(t+2)` satisfies `‖x_t - y_t‖² ≤ ‖p - q‖² + 4(D_P + D_Q)²/(t + 2)` for
all `p ∈ P`, `q ∈ Q` and `t ≥ 1`, and the midpoint `z_t = (x_t + y_t)/2` is within
`‖x_t - y_t‖/2` of both sets. -/
def ALMRate : Prop :=
  ∀ {E : Type u} [NormedAddCommGroup E] [InnerProductSpace ℝ E] (P Q : Set E), Convex ℝ P →
    Convex ℝ Q → Bornology.IsBounded P → Bornology.IsBounded Q →
    ∀ x y u v : ℕ → E, IsALMRun P Q agnostic x y u v → ∀ t : ℕ, 1 ≤ t →
      (∀ p ∈ P, ∀ q ∈ Q, ‖x t - y t‖ ^ 2 ≤
        ‖p - q‖ ^ 2 + 4 * (Metric.diam P + Metric.diam Q) ^ 2 / (t + 2)) ∧
      Metric.infDist ((1 / 2 : ℝ) • (x t + y t)) P ≤ ‖x t - y t‖ / 2 ∧
      Metric.infDist ((1 / 2 : ℝ) • (x t + y t)) Q ≤ ‖x t - y t‖ / 2

Lean alm_gap_rate · ✅ kernel-checked · source

Statement in Lean
/-- Proposition 4.1 (dual gap): some `1 ≤ τ ≤ T` has gap at most `6.75 (D_P + D_Q)²/(T + 2)`. -/
theorem alm_gap_rate : ALMGapRate

where ALMGapRate is (source):

/-- **Proposition 4.1** (dual gap, agnostic steps). For bounded convex sets and every `T ≥ 1`,
some iterate `1 ≤ τ ≤ T` of Algorithm 3 with `γ_t = 2/(t+2)` satisfies
`‖x_τ - y_τ‖² - ⟪x_τ - y_τ, p - q⟫ ≤ 6.75 (D_P + D_Q)²/(T + 2)` for all `p ∈ P` and `q ∈ Q`. -/
def ALMGapRate : Prop :=
  ∀ {E : Type u} [NormedAddCommGroup E] [InnerProductSpace ℝ E] (P Q : Set E), Convex ℝ P →
    Convex ℝ Q → Bornology.IsBounded P → Bornology.IsBounded Q →
    ∀ x y u v : ℕ → E, IsALMRun P Q agnostic x y u v → ∀ T : ℕ, 1 ≤ T →
      ∃ τ, 1 ≤ τ ∧ τ ≤ T ∧ ∀ p ∈ P, ∀ q ∈ Q, ‖x τ - y τ‖ ^ 2 - ⟪x τ - y τ, p - q⟫_ℝ ≤
        27 / 4 * (Metric.diam P + Metric.diam Q) ^ 2 / (T + 2)

Lean certify_disjoint · ✅ kernel-checked · source

Statement in Lean
/-- Corollary 4.3: certifying `P ∩ Q = ∅` from the primal bound. -/
theorem certify_disjoint : CertifyDisjoint

where CertifyDisjoint is (source):

/-- **Corollary 4.3** (certifying `P ∩ Q = ∅`, agnostic steps). If
`‖x_t - y_t‖² > 4(D_P + D_Q)²/(t + 2)` for some `t ≥ 1`, then `P` and `Q` are disjoint. If all
points of `P` and `Q` are at distance at least `δ > 0`, this test succeeds at every `t ≥ 1` with
`(t + 2)δ² > 4(D_P + D_Q)²`. -/
def CertifyDisjoint : Prop :=
  ∀ {E : Type u} [NormedAddCommGroup E] [InnerProductSpace ℝ E] (P Q : Set E), Convex ℝ P →
    Convex ℝ Q → Bornology.IsBounded P → Bornology.IsBounded Q →
    ∀ x y u v : ℕ → E, IsALMRun P Q agnostic x y u v →
      (∀ t : ℕ, 1 ≤ t → 4 * (Metric.diam P + Metric.diam Q) ^ 2 / (t + 2) < ‖x t - y t‖ ^ 2 →
        Disjoint P Q) ∧
      ∀ δ : ℝ, 0 < δ → (∀ p ∈ P, ∀ q ∈ Q, δ ≤ ‖p - q‖) → ∀ t : ℕ, 1 ≤ t →
        4 * (Metric.diam P + Metric.diam Q) ^ 2 < (t + 2) * δ ^ 2 →
        4 * (Metric.diam P + Metric.diam Q) ^ 2 / (t + 2) < ‖x t - y t‖ ^ 2

Lean certify_separation · ✅ kernel-checked · source

Statement in Lean
/-- Corollary 4.4: a separating certificate without knowledge of the diameters. -/
theorem certify_separation : CertifySeparation

where CertifySeparation is (source):

/-- **Corollary 4.4** (certifying `P ∩ Q = ∅` without diameters, agnostic steps). If all points of
`P` and `Q` are at distance at least `δ > 0`, then for every `T ≥ 1` with
`(T + 2)δ² > 6.75 (D_P + D_Q)²` some iterate `1 ≤ τ ≤ T` gives the separating certificate
`⟪x_τ - y_τ, p - q⟫ ≥ m > 0` for all `p ∈ P`, `q ∈ Q`. For a pair `(z₁, z₂)` of minimal distance
`δ = ‖z₁ - z₂‖ > 0`, every iterate `t ≥ 1` with `(t + 2)δ⁴ > 4(D_P + D_Q)⁴` gives it. -/
def CertifySeparation : Prop :=
  ∀ {E : Type u} [NormedAddCommGroup E] [InnerProductSpace ℝ E] (P Q : Set E), Convex ℝ P →
    Convex ℝ Q → Bornology.IsBounded P → Bornology.IsBounded Q →
    ∀ x y u v : ℕ → E, IsALMRun P Q agnostic x y u v →
      (∀ δ : ℝ, 0 < δ → (∀ p ∈ P, ∀ q ∈ Q, δ ≤ ‖p - q‖) → ∀ T : ℕ, 1 ≤ T →
        27 * (Metric.diam P + Metric.diam Q) ^ 2 < 4 * (T + 2) * δ ^ 2 →
        ∃ τ, 1 ≤ τ ∧ τ ≤ T ∧ ∃ m > 0, ∀ p ∈ P, ∀ q ∈ Q, m ≤ ⟪x τ - y τ, p - q⟫_ℝ) ∧
      ∀ z₁ z₂ : E, IsMinPair P Q z₁ z₂ → z₁ ≠ z₂ → ∀ t : ℕ, 1 ≤ t →
        4 * (Metric.diam P + Metric.diam Q) ^ 4 < (t + 2) * ‖z₁ - z₂‖ ^ 4 →
        ∃ m > 0, ∀ p ∈ P, ∀ q ∈ Q, m ≤ ⟪x t - y t, p - q⟫_ℝ

Lean vertex_separation · ✅ kernel-checked · source

Statement in Lean
/-- Observation 4.6: close hulls of vertex sets of two polytopes intersect. -/
theorem vertex_separation : VertexSeparation

where VertexSeparation is (source):

/-- **Observation 4.6.** For finite sets `A` and `B` there is `ε > 0` such that for all `U ⊆ A` and
`V ⊆ B`, if `conv(U)` and `conv(V)` have points at distance less than `ε`, they intersect. -/
def VertexSeparation : Prop :=
  ∀ {E : Type u} [NormedAddCommGroup E] [InnerProductSpace ℝ E] (A B : Finset E),
    ∃ ε > 0, ∀ U ⊆ A, ∀ V ⊆ B, ∀ p ∈ convexHull ℝ (U : Set E), ∀ q ∈ convexHull ℝ (V : Set E),
      ‖p - q‖ < ε → (convexHull ℝ (U : Set E) ∩ convexHull ℝ (V : Set E)).Nonempty

Lean exact_recovery · ✅ kernel-checked · source

Statement in Lean
/-- Remark 4.7: once `‖x_t - y_t‖ < ε_{PQ}`, the hulls of the answers of the oracles intersect. -/
theorem exact_recovery : ExactRecovery

where ExactRecovery is (source):

/-- **Remark 4.7** (exact recovery for polytopes). For `P = conv(A)` and `Q = conv(B)` with finite
`A` and `B` there is `ε > 0` such that, for every run of Algorithm 3 with `γ_t = 2/(t+2)` whose
oracles answer points of `A` and `B`, once `‖x_t - y_t‖ < ε` for some `t ≥ 1`, the convex hulls of
the answers `u_0, …, u_{t-1}` and `v_0, …, v_{t-1}` intersect; a common point is found by a linear
feasibility program. -/
def ExactRecovery : Prop :=
  ∀ {E : Type u} [NormedAddCommGroup E] [InnerProductSpace ℝ E] (A B : Finset E),
    ∃ ε > 0, ∀ x y u v : ℕ → E,
      IsALMRun (convexHull ℝ (A : Set E)) (convexHull ℝ (B : Set E)) agnostic x y u v →
      (∀ t, u t ∈ A) → (∀ t, v t ∈ B) → ∀ t : ℕ, 1 ≤ t → ‖x t - y t‖ < ε →
        (convexHull ℝ (u '' Set.Iio t) ∩ convexHull ℝ (v '' Set.Iio t)).Nonempty

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., Pokutta, S., & Weismantel, R. (2022). Alternating Linear Minimization: Revisiting von Neumann’s alternating projections. 10.48550/arXiv.2212.02933