Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Second-moment tail bound from approximate pair moments

Proved
mme_finite_pair_moment_concentration

by raresbuhai · Sep 13, 2026 · Mathlib 777aaa6 (Lean v4.29.0-rc3)

matrix-multiplicationmore-asymmetryquantitative-realization

A finite uniform family of [0,1]-valued variables with first-moment error at most 4/m and distinct-pair moment error at most 16/m has empirical-average squared-tail probability at most 25/(m epsilon squared), provided its variable count is at least m. A supporting second-moment lemma; the physical histogram application separately derives these moment conditions.

Preamble
import Mathlib.Algebra.Order.BigOperators.Expect
import Mathlib.Data.Real.Basic
import Mathlib.Tactic

open BigOperators
open scoped Classical
set_option autoImplicit false
set_option maxHeartbeats 1000000
Formal statement
theorem mme_finite_pair_moment_concentration {U T : Type*} [Fintype U] [Nonempty U] [Fintype T]
    (Z : T → U → ℝ) (a : T → ℝ) (m eps : ℝ)
    (hm : 0 < m) (hmn : m ≤ Fintype.card T) (heps : 0 < eps)
    (hZ : ∀ t f, 0 ≤ Z t f ∧ Z t f ≤ 1) (ha : ∀ t, 0 ≤ a t ∧ a t ≤ 1)
    (hfirst : ∀ t, |(𝔼 f, Z t f) - a t| ≤ 4 / m)
    (hsecond : ∀ t s, t ≠ s → |(𝔼 f, Z t f * Z s f) - a t * a s| ≤ 16 / m) :
    (𝔼 f : U, if eps ≤ |((∑ t, Z t f) - ∑ t, a t) / Fintype.card T| then (1 : ℝ) else 0) ≤
      25 / (m * eps ^ 2) := by sorry
Source
Quantitative finite realization for a jointly processed constituent region, connected to the physical recursive Y/Z extraction for More Asymmetry Yields Faster Matrix Multiplication, https://arxiv.org/html/2404.16349v2#S6 . This is a supporting lemma, not a proof of the regional asymptotic theorem or a numerical omega certificate.

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