Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Primary q=6 hash capacity with one common balanced halving

Proved
mme_CW_q6_primary_hash_sqrt_capacity_common_halving

by marwahaha · Aug 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

asymmetric-hashingcoppersmith-winogradlaser-methodmatrix-multiplicationpigeonhole-principletensor-restriction

Fix τ\tauτ with 3τ≥23\tau\ge23τ≥2, and put

λ=263τ+2,L=⌊λN⌋,G=N−L\lambda=\frac{2}{6^{3\tau}+2},\qquad L=\lfloor\lambda N\rfloor,\qquad G=N-Lλ=63τ+22​,L=⌊λN⌋,G=N−L

for the even lengths N=2nN=2nN=2n. There is a constant C≥0C\ge0C≥0 such that, for every sufficiently large nnn, one can choose a primary q=6q=6q=6 hash family with AAA outer fibers and common inner size HHH whose entries all admit one and the same balanced split of the 2N2N2N coupled positions. For

s=362G62L,R=4 63τ(63τ+2),s=36^{2G}6^{2L},\qquad R=4\,6^{3\tau}(6^{3\tau}+2),s=362G62L,R=463τ(63τ+2),

the retained family satisfies

R2Ne−CN+1≤A3H2(s3)τ.R^{2N}e^{-C\sqrt{N+1}}\le A^3H^2(s^3)^\tau.R2Ne−CN+1​≤A3H2(s3)τ.

The family-wide common split balances the X word on the first source half and the Y word on the second source half for every retained entry. This is the compatibility needed to realize rows 121 and 211 on the literal paired source without independently reindexing addresses. The exponential rate is identical to the ordinary primary-hash capacity; only the subexponential constant changes.

Preamble
import Mathlib.Analysis.SpecificLimits.Basic
import Mathlib.Analysis.SpecialFunctions.Exp
import Mathlib.Analysis.SpecialFunctions.Pow.Real
import Definitions.Def_mme_CW_q6_common_paired_halving

open MME BigOperators Filter

set_option autoImplicit false
Formal statement
theorem mme_CW_q6_primary_hash_sqrt_capacity_common_halving
    (tau : ℝ) (htau : 2 ≤ 3 * tau) :
    ∃ C : ℝ, 0 ≤ C ∧
      ∀ᶠ n : ℕ in atTop,
        let N : ℕ := 2 * n
        let lambda : ℝ := 2 / ((6 : ℝ) ^ (3 * tau) + 2)
        let L : ℕ := ⌊lambda * (N : ℝ)⌋₊
        let G : ℕ := N - L
        let side : ℕ := 36 ^ (2 * G) * 6 ^ (2 * L)
        let raw : ℝ :=
          4 * (6 : ℝ) ^ (3 * tau) * ((6 : ℝ) ^ (3 * tau) + 2)
        ∃ A H : ℕ,
          ∃ family : CWQ6PrimaryHashFamily N L G A H,
            ∃ _halving : family.CommonBalancedXYHalving,
              raw ^ (2 * N) *
                  Real.exp (-C * Real.sqrt (((N + 1 : ℕ) : ℝ))) ≤
                (((A ^ 3 : ℕ) : ℝ) * (H : ℝ) ^ 2) *
                  ((((side * side * side : ℕ) : ℝ)) ^ tau) := by
  sorry
Source
Ran Duan, Hongxun Wu, and Renfei Zhou, Faster Matrix Multiplication via Asymmetric Hashing, arXiv:2210.10173v5, Sections 5 and 6.3; the common-halving refinement is the source-faithful paired-row extraction obtained by double-counting balanced bipartitions and absorbing the polynomial thinning loss.

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.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactJoin Slack© 2026 Prove2Me