Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(12), first inequality — |E(R ∪ S, B − (R ∪ S))| ≤ |E(S, B − S)| + |E(R, B − S − R)|

Proved
SpectralSparsify.Decomp.eq_12_cut_union

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

conductancegraph-theoryp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1

Let G=(V,E)G=(V,E)G=(V,E) be a finite simple graph, let B⊆VB\subseteq VB⊆V, let S⊆BS\subseteq BS⊆B and let R⊆B−SR\subseteq B-SR⊆B−S. Put T=R∪ST=R\cup ST=R∪S. Then

∣E(T,B−T)∣=∣E(R∪S, B−(R∪S))∣≤∣E(S,B−S)∣+∣E(R, B−S−R)∣.|E(T,B-T)|=|E(R\cup S,\,B-(R\cup S))|\le|E(S,B-S)|+|E(R,\,B-S-R)|.∣E(T,B−T)∣=∣E(R∪S,B−(R∪S))∣≤∣E(S,B−S)∣+∣E(R,B−S−R)∣.

Every edge leaving TTT inside BBB either leaves SSS into B−SB-SB−S or leaves RRR into the rest of B−SB-SB−S. In the proof of Lemma 7.2 this inequality, combined with the sparsity of SSS and RRR, shows that the merged set TTT is again sparse.

Preamble
import Mathlib
import Definitions.Def_SpectralSparsify_Decomp_cutEdges
Formal statement
namespace SpectralSparsify.Decomp

/-- (12), first inequality (arXiv:0808.4134v3, proof of Lemma 7.2, p. 18): for `S ⊆ B`,
`R ⊆ B - S` and `T = R ∪ S`,
`|E(R ∪ S, B - (R ∪ S))| ≤ |E(S, B - S)| + |E(R, B - S - R)|`. -/
theorem eq_12_cut_union {V : Type*} [DecidableEq V] (G : SimpleGraph V) [DecidableRel G.Adj]
    (B S R : Finset V) (hSB : S ⊆ B) (hRB : R ⊆ B \ S) :
    cutEdges G (R ∪ S) (B \ (R ∪ S)) ≤ cutEdges G S (B \ S) + cutEdges G R ((B \ S) \ R) := by sorry

end SpectralSparsify.Decomp
Source
D. A. Spielman, S.-H. Teng, Spectral Sparsification of Graphs, arXiv:0808.4134v3, p. 18, proof of Lemma 7.2, display (12), first inequality
Human review
  • Endorsed by Shuze Chen · Oct 7, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 7, 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