Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 3 (iv) — Π(e,e)=∥Π(⋅,e)∥2\Pi(e,e)=\|\Pi(\cdot,e)\|^2Π(e,e)=∥Π(⋅,e)∥2

Proved
EffResSparsify.Sampling.lemma_3_iv

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

effective-resistancep2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1projectionspectral-graph-theory

Let G=(V,E,w)G=(V,E,w)G=(V,E,w) be a connected weighted graph with positive edge weights and Π=W1/2BL+BTW1/2\Pi=W^{1/2}BL^{+}B^{\mathsf T}W^{1/2}Π=W1/2BL+BTW1/2. For every edge eee, the diagonal entry of Π\PiΠ at eee equals the squared Euclidean norm of the eee-th column of Π\PiΠ:

Π(e,e)=∥Π(⋅,e)∥22=∑e′∈EΠ(e′,e)2.\Pi(e,e)=\|\Pi(\cdot,e)\|_2^2=\sum_{e'\in E}\Pi(e',e)^2.Π(e,e)=∥Π(⋅,e)∥22​=e′∈E∑​Π(e′,e)2.

Since Π(e,e)=weRe\Pi(e,e)=w_eR_eΠ(e,e)=we​Re​, this bounds the length of the column sampled by Sparsify, which is the norm bound fed into the matrix concentration inequality (Lemma 5).

Preamble
import Mathlib
import Definitions.Def_EffResSparsify_Sampling_Defs
Formal statement
namespace EffResSparsify.Sampling

open Matrix

/-- Lemma 3 (iv), p. 6: `Π(e,e) = ‖Π(·,e)‖²`, the squared Euclidean norm of the `e`-th column. -/
theorem lemma_3_iv {V E : Type} [Fintype V] [DecidableEq V] [Fintype E] [DecidableEq E]
    (G : WGraph V E) (hG : G.IsConnected) (e : E) :
    G.projPi e e = ∑ e' : E, (G.projPi e' e) ^ 2 := by sorry

end EffResSparsify.Sampling
Source
Spielman, Srivastava, Graph Sparsification by Effective Resistances, arXiv:0803.0929v4, p. 6, Lemma 3 (iv)
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