Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 5, p. 9 — collision probability and exact preservation of heavy coordinates

Proved
InputSparsity.Embed.lemma_5

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

leverage-scoresp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1probabilitysketching

Fix a set of heavy coordinates, containing s−1s-1s−1 indices, and a positive bucket count ttt. If EBE_BEB​ is the event that distinct heavy indices are sent to distinct buckets, then

1−Pr⁡h(EB)≤s2t.1-\Pr_h(E_B)\le\frac{s^2}{t}.1−hPr​(EB​)≤ts2​.

On EBE_BEB​, every vector supported on the heavy coordinates retains its squared Euclidean norm under ΦD\Phi DΦD, for every sign choice.

This separates the collision risk from the deterministic norm identity used later.

Formalization Note The heavy set is defined by leverage exceeding TTT, so s=∣H∣+1s=|H|+1s=∣H∣+1. The paper's phrase “for all i,i′<si,i'<si,i′<s” is read with the implicit distinctness condition i≠i′i\ne i'i=i′.

Preamble
import Mathlib
import Definitions.Def_InputSparsity_Embed_SparseEmbedding
Formal statement
namespace InputSparsity.Embed
open Matrix

/-- Clarkson--Woodruff, Lemma 5, p. 9: distinct heavy coordinates avoid collisions and retain their norm. -/
theorem lemma_5 {n r t : ℕ} (U : Matrix (Fin n) (Fin r) ℝ)
    (T : ℝ) (ht : 0 < t) :
    1 - unifProb (Fin n → Fin t) {h | PerfectOnHeavy U T h} ≤
        (((Finset.univ.filter (fun i : Fin n => T < lev U i)).card + 1 : ℕ) : ℝ) ^ 2 / t ∧
      ∀ (h : Fin n → Fin t), PerfectOnHeavy U T h →
        ∀ (σ : Fin n → Bool) (y : Fin n → ℝ),
          sqNorm (heavy U T y) = sqNorm (sketch h σ *ᵥ heavy U T y) := by sorry

end InputSparsity.Embed
Source
Clarkson and Woodruff, Low Rank Approximation and Regression in Input Sparsity Time, arXiv:1207.6365v4, p. 9, Lemma 5
Human review
  • Endorsed by Shuze Chen · Oct 8, 2026

    Confirmed by the moderator at approval.

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