Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Exact target and collision incidence sums for the fixed Stothers hash

Proved
MME.StothersFourth.fixedHash_incidence_sums

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

additive-combinatoricshashinglaser-methodmatrix-multiplicationsalem-spencer

For the fixed Stothers affine hash over a prime modulus p≥9p\ge9p≥9, sum over all augmented affine hash states. Every exact target address is retained in exactly ∣S∣pN|S|p^N∣S∣pN states, so the total target incidence is

∣T∣ ∣S∣ pN.|T|\,|S|\,p^N.∣T∣∣S∣pN.

Every directed target-to-ambient collision pair is retained together in at most pNp^NpN states, so the total collision incidence is at most ∣C∣pN|C|p^N∣C∣pN. Here SSS lies in the lower half of the modulus. These are the first- and second-incidence estimates used by the averaging step.

Preamble
import Definitions.Def_mme_stothers_fixed_affine_hash

open MME BigOperators

set_option autoImplicit false
Formal statement
theorem MME.StothersFourth.fixedHash_incidence_sums
    (m p : ℕ) (hm : 0 < m) [Fact p.Prime]
    (hp9 : 9 ≤ p) (hpodd : Odd p)
    (S : Finset ℕ) (hSrange : S ⊆ Finset.range (p / 2)) :
    (∑ q ∈ MME.StothersFourth.fixedHashStateUniverse m p,
        (MME.StothersFourth.fixedExactTargetEdges
          (MME.StothersFourth.fixedHashEdgesAtState m p S q)).card) =
        (MME.StothersFourth.fixedHashAllTargetEdges m).card * S.card *
          p ^ MME.StothersFourth.fixedOuterLength m ∧
      (∑ q ∈ MME.StothersFourth.fixedHashStateUniverse m p,
        (MME.StothersFourth.fixedTargetAmbientCollisions
          (MME.StothersFourth.fixedHashEdgesAtState m p S q)).card) ≤
        (MME.StothersFourth.fixedHashAllTargetAmbientCollisions m).card *
          p ^ MME.StothersFourth.fixedOuterLength m := by
  sorry
Source
A. M. Davie and A. J. Stothers, Improved Bound for Complexity of Matrix Multiplication, Proceedings of the Royal Society of Edinburgh A 143(2), 2013, Lemma 3.3 and Equations (3.3)--(3.4), https://www.maths.ed.ac.uk/~sandy/a11164.pdf.

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