Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 6.2 — cost transfer: cost_G(C) ≤ cost_Q(C) + |E⁺_G △ E⁺_Q|, and in expectation for a β-approximate randomized output

Proved
RobustCorrClust.Main.lemma_6_2

by Shuze Chen · Nov 10, 2026 · Mathlib 0df444a (Lean v4.33.1)

approximation-algorithmscorrelation-clusteringp2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1

Let GGG and QQQ be complete signed graphs on the same nnn vertices. Then

  1. for every clustering C\mathcal CC, costG(C)≤costQ(C)+∣EG+△EQ+∣\mathrm{cost}_G(\mathcal C)\le\mathrm{cost}_Q(\mathcal C)+|E^+_G\triangle E^+_Q|costG​(C)≤costQ​(C)+∣EG+​△EQ+​∣;
  2. let C∗\mathcal C^*C∗ be an optimal clustering of GGG and β≥0\beta\ge0β≥0. If a randomized algorithm on QQQ returns a clustering CQ\mathcal C_QCQ​ with E[costQ(CQ)]≤β OPT(Q)\mathbb E[\mathrm{cost}_Q(\mathcal C_Q)]\le\beta\,\mathrm{OPT}(Q)E[costQ​(CQ​)]≤βOPT(Q) (a β\betaβ-approximation on QQQ), then
E[costG(CQ)]≤β costQ(C∗)+∣EG+△EQ+∣,\mathbb E[\mathrm{cost}_G(\mathcal C_Q)]\le\beta\,\mathrm{cost}_Q(\mathcal C^*)+|E^+_G\triangle E^+_Q| ,E[costG​(CQ​)]≤βcostQ​(C∗)+∣EG+​△EQ+​∣,

the expectation over the algorithm's randomness for this fixed QQQ.

The law of CQ\mathcal C_QCQ​ is a probability vector μ\muμ on labelings ℓ:{0,…,n−1}→{0,…,n−1}\ell:\{0,\dots,n-1\}\to\{0,\dots,n-1\}ℓ:{0,…,n−1}→{0,…,n−1}, the clustering of ℓ\ellℓ putting u,vu,vu,v together iff ℓ(u)=ℓ(v)\ell(u)=\ell(v)ℓ(u)=ℓ(v).

Differences from the source:

  • generalization: a β\betaβ-approximation algorithm (ratio β≥1\beta\ge1β≥1) → any β≥0\beta\ge0β≥0 with E[costQ]≤β OPT(Q)\mathbb E[\mathrm{cost}_Q]\le\beta\,\mathrm{OPT}(Q)E[costQ​]≤βOPT(Q); reason: an approximation ratio is at least 111, so the source's case is included.
  • encoding: the output distribution of the algorithm → a probability vector on labelings into {0,…,n−1}\{0,\dots,n-1\}{0,…,n−1}; reason: every partition of nnn vertices has such a labeling, so every distribution on clusterings is one.
Preamble
import Mathlib
import Definitions.Def_RobustCorrClust_Main_SignedGraph
Formal statement
namespace RobustCorrClust.Main

/-- Lemma 6.2 (p. 44), both parts: (i) `cost_G(C) ≤ cost_Q(C) + |E⁺_G △ E⁺_Q|` for every
clustering `C`; (ii) if a randomized algorithm on `Q` returns a clustering distributed as `μ`
(a probability distribution on labelings `ℓ : Fin n → Fin n`, clustering = equal labels) with
`E_μ[cost_Q] ≤ β OPT(Q)`, and `C*` is an optimal clustering of `G`, then
`E_μ[cost_G] ≤ β cost_Q(C*) + |E⁺_G △ E⁺_Q|`. -/
theorem lemma_6_2 {n : ℕ} (G Q : SimpleGraph (Fin n)) :
    (∀ D : Setoid (Fin n), cost G D ≤ cost Q D + symmDiffCount G Q) ∧
    ∀ (β : ℝ) (μ : (Fin n → Fin n) → ℝ) (Cstar : Setoid (Fin n)),
      0 ≤ β → IsOptimal G Cstar → (∀ ℓ, 0 ≤ μ ℓ) → ∑ ℓ, μ ℓ = 1 →
      ∑ ℓ, μ ℓ * (cost Q (Setoid.ker ℓ) : ℝ) ≤ β * (OPT Q : ℝ) →
      ∑ ℓ, μ ℓ * (cost G (Setoid.ker ℓ) : ℝ) ≤
        β * (cost Q Cstar : ℝ) + (symmDiffCount G Q : ℝ) := by sorry

end RobustCorrClust.Main
Source
Cao, Fabius, Wang, Efficient Correlation Clustering in Single-pass Graph Streams: Deterministic and Adversarially Robust, STOC 2027 submission (sha256 814ae686…), p. 44, Lemma 6.2
Human review
  • Endorsed by Community (Bot) · Nov 10, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Shuze Chen · Nov 10, 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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me