Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Lemma 5 (Lei–Rinaldo Lemma 5.3), pp. 45–46, (G.4) — Σ_k |S_k|δ²_k ≤ 4(4 + 2ε)‖V − V̂‖²_F

Proved
RobustSpecClust.Round.lemma_5

by mikedeng1 · Oct 16, 2026 · Mathlib 0df444a (Lean v4.33.1)

approximation-algorithmk-meansp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1spectral-clustering

This is the approximate k-means bound of Lei and Rinaldo.

Let φ:[n]→[r]\varphi : [n] \to [r]φ:[n]→[r] be a labelling with membership matrix Θ∗=Θ(φ)∈Mn,r\Theta^* = \Theta(\varphi) \in \mathbb M_{n,r}Θ∗=Θ(φ)∈Mn,r​ and clusters Gk={i:φ(i)=k}G_k = \{i : \varphi(i) = k\}Gk​={i:φ(i)=k}, let B∗∈Rr×rB^* \in \mathbb R^{r\times r}B∗∈Rr×r with rows b1∗,…,br∗b^*_1,\dots,b^*_rb1∗​,…,br∗​, and put V=Θ∗B∗V = \Theta^* B^*V=Θ∗B∗. Let V^∈Rn×r\hat V \in \mathbb R^{n\times r}V^∈Rn×r be arbitrary, ϵ>0\epsilon > 0ϵ>0, and let (Θ^,B^)=(Θ(a),B)(\hat\Theta, \hat B) = (\Theta(a), B)(Θ^,B^)=(Θ(a),B) be a (1+ϵ)(1+\epsilon)(1+ϵ)-approximate solution of the k-means problem on the rows of V^\hat VV^:

∥V^−Θ^B^∥F2≤(1+ϵ)min⁡Θ∈Mn,r, B′∈Rr×r∥V^−ΘB′∥F2.\|\hat V - \hat\Theta\hat B\|_F^2 \le (1+\epsilon)\min_{\Theta\in\mathbb M_{n,r},\,B'\in\mathbb R^{r\times r}}\|\hat V - \Theta B'\|_F^2 .∥V^−Θ^B^∥F2​≤(1+ϵ)Θ∈Mn,r​,B′∈Rr×rmin​∥V^−ΘB′∥F2​.

Let Vˉ=Θ^B^\bar V = \hat\Theta\hat BVˉ=Θ^B^ with rows vˉi\bar v_ivˉi​, and let δ1,…,δr≥0\delta_1, \dots, \delta_r \ge 0δ1​,…,δr​≥0 satisfy δk≤min⁡l≠k∥bl∗−bk∗∥\delta_k \le \min_{l\ne k}\|b^*_l - b^*_k\|δk​≤minl=k​∥bl∗​−bk∗​∥. With Sk={i∈Gk:∥vˉi−vi∥≥δk/2}\mathcal S_k = \{i \in G_k : \|\bar v_i - v_i\| \ge \delta_k/2\}Sk​={i∈Gk​:∥vˉi​−vi​∥≥δk​/2},

∑k=1r∣Sk∣ δk2  ≤  4(4+2ϵ) ∥V−V^∥F2.\sum_{k=1}^r |\mathcal S_k|\,\delta_k^2 \;\le\; 4(4+2\epsilon)\,\|V - \hat V\|_F^2 .k=1∑r​∣Sk​∣δk2​≤4(4+2ϵ)∥V−V^∥F2​.

The lemma converts a Frobenius-norm perturbation of a k-means-feasible embedding into a count of points whose estimated centre is far from their true centre; in Theorem 2 it is applied to V=U0OV = U^0 OV=U0O and V^=U^\hat V = \hat UV^=U^.

Formalization Note The page's δk\delta_kδk​ is implicitly a nonnegative scale; δk≥0\delta_k \ge 0δk​≥0 is stated explicitly, since for a negative δk\delta_kδk​ every point of GkG_kGk​ would lie in Sk\mathcal S_kSk​ and the bound fails at V^=V\hat V = VV^=V. Membership matrices are encoded by assignments. The second part of the lemma (the permutation claim) is the separate item theorem_2_permutation.

Preamble
import Mathlib
import Definitions.Def_RobustSpecClust_Round_Setting
Formal statement
namespace RobustSpecClust.Round

open Matrix

theorem lemma_5 {n r : ℕ} (φ : Fin n → Fin r) (Bstar : Matrix (Fin r) (Fin r) ℝ)
    (Vh : Matrix (Fin n) (Fin r) ℝ) (ε : ℝ) (hε : 0 < ε)
    (a : Fin n → Fin r) (B : Matrix (Fin r) (Fin r) ℝ) (hkm : IsApproxKMeans ε Vh a B)
    (δ : Fin r → ℝ) (hδ0 : ∀ k, 0 ≤ δ k)
    (hδ : ∀ k l, l ≠ k → δ k ≤ vecNorm (Bstar l - Bstar k)) :
    ∑ k, ((misSet (memb φ * Bstar) (memb a * B) φ δ k).card : ℝ) * δ k ^ 2
      ≤ 4 * (4 + 2 * ε) * frobSq (memb φ * Bstar - Vh) := by sorry

end RobustSpecClust.Round
Source
arXiv:1912.07546v3, Appendix G, Lemma 5, pp. 45–46, (G.1)–(G.4) (citing Lei, Rinaldo 2015, Annals of Statistics 43(1), Lemma 5.3), first part
Human review
  • Endorsed by Shuze Chen · Oct 16, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 16, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me