Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§4.1, Eq. (25) — β_z(t) = (1/z!) Σ_{j=0}^{z+1} (−1)^j C(z+1, j) (t − j)_+^z

Proved
RobustKZClust.Main.eq_25

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

p2o-gran-per-chapterp2o-plan-paperp2o-v1probabilitysplines

Let z≥1z\ge1z≥1 be an integer and V1,…,VzV_1,\dots,V_zV1​,…,Vz​ independent and uniform on [0,1)[0,1)[0,1). For every t∈Rt\in\mathbb Rt∈R,

βz(t)=Pr⁡[t−1<∑j=1zVj≤t]=1z!∑j=0z+1(−1)j(z+1j)(t−j)+z,u+=max⁡{u,0}.\beta_z(t)=\Pr\Bigl[t-1<\sum_{j=1}^zV_j\le t\Bigr]=\frac1{z!}\sum_{j=0}^{z+1}(-1)^j\binom{z+1}{j}(t-j)_+^z,\qquad u_+=\max\{u,0\}.βz​(t)=Pr[t−1<j=1∑z​Vj​≤t]=z!1​j=0∑z+1​(−1)j(jz+1​)(t−j)+z​,u+​=max{u,0}.

This closed form lets the hierarchical assignment's entries Fℓ(sℓv,x)=βz(x/sℓ−v)F_\ell(s_\ell v,x)=\beta_z(x/s_\ell-v)Fℓ​(sℓ​v,x)=βz​(x/sℓ​−v) be evaluated with O(z2)O(z^2)O(z2) arithmetic operations in small space.

Differences from the source:

  • encoding: Pr over V_1, …, V_z → Lebesgue measure restricted to [0,1)^z; reason: the law of independent uniforms.
Preamble
import Mathlib
import Definitions.Def_RobustKZClust_Main_Spline
Formal statement
namespace RobustKZClust.Main

/-- §4.1, Eq. (25) (p. 18): `β_z(t) = (1/z!) ∑_{j=0}^{z+1} (−1)^j C(z+1, j) (t − j)_+^z`. -/
theorem eq_25 (z : ℕ) (hz : 1 ≤ z) (t : ℝ) :
    beta z t = (1 / (z.factorial : ℝ)) *
      ∑ j ∈ Finset.range (z + 2), (-1 : ℝ) ^ j * ((z + 1).choose j : ℝ) * (max (t - j) 0) ^ z := by sorry

end RobustKZClust.Main
Source
Guo, Jiang, Krauthgamer, Xie, Zhou, Adversarially Robust Streaming Algorithms for (k, z)-Clustering, STOC 2027 submission (manuscript sha256 7d9aadba…), p. 18, §4.1, Eq. (25)
Human review
  • Endorsed by Community (Bot) · Nov 11, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Shuze Chen · Nov 11, 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