Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Corollary 21, p. 619 — weak triangle bound for squared shape costs

Proved
TinyCoreset.DimRed.corollary21_weak_triangle

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

clusteringcoresetp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1sum-of-squared-distances

Let ε>0\varepsilon>0ε>0, let A,B∈Rn×dA,B\in\mathbb R^{n\times d}A,B∈Rn×d, and let C⊆RdC\subseteq\mathbb R^dC⊆Rd be nonempty. Then

∣dist⁡2(A,C)−dist⁡2(B,C)∣≤εdist⁡2(A,C)+(1+1/ε)∥A−B∥F2.|\operatorname{dist}^2(A,C)-\operatorname{dist}^2(B,C)|\le\varepsilon\operatorname{dist}^2(A,C)+(1+1/\varepsilon)\|A-B\|_F^2.∣dist2(A,C)−dist2(B,C)∣≤εdist2(A,C)+(1+1/ε)∥A−B∥F2​.

This bounds how much a shape-fitting cost can change when every data point is perturbed.

Preamble
import Mathlib
import Definitions.Def_ProjLikeRetr_FixedRank_SVD
import Definitions.Def_TinyCoreset_DimRed_Setting
Formal statement
namespace TinyCoreset.DimRed

open scoped Matrix

theorem corollary21_weak_triangle {n d : ℕ} (ε : ℝ) (hε : 0 < ε)
    (A B : Matrix (Fin n) (Fin d) ℝ)
    (C : Set (EuclideanSpace ℝ (Fin d))) (hC : C.Nonempty) :
    |distSq A C - distSq B C| ≤ ε * distSq A C + (1 + 1 / ε) * frobSq (A - B) := by sorry

end TinyCoreset.DimRed
Source
Feldman, Schmidt & Sohler, Turning Big Data into Tiny Data, SIAM J. Comput. 49(3) (2020), pp. 619–620, Corollary 21 and display (8)
Human review
  • Endorsed by Shuze Chen · Oct 9, 2026

    Confirmed by the moderator at approval.

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