Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Literal X/Y/Z counts defining a common regional hash scale

Definition
mme_recursive_region_hash_loads

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

matrix-multiplicationmore-asymmetryquantitative-realization

The X load uses the ambient degree ratio. The Y/Z loads use the target fiber, exact compatibility count and joint parent-word type-class count, restricted to the actual retained profile predicate. These definitions do not assume any quantitative budget.

Definition code
import Definitions.Def_mme_common_hash_scale
import Definitions.Def_mme_recursive_yz_hash_filter

open BigOperators MME MME.RecursiveYZ
open scoped Classical
set_option autoImplicit false
namespace MME.RegionRealization

abbrev LoadIndex (half R ell : ℕ) (parent : Fin R → Fin 3 → ℕ) (n : Fin R → ℕ) :=
  Unit ⊕ (Fin 2 × Address half R parent n × (Position n → CompleteSplit.CompleteWord ell))

noncomputable def loadDen {half R ell : ℕ} {parent : Fin R → Fin 3 → ℕ}
    {n : Fin R → ℕ} (m : ∀ r, RecursiveThinSplit.Split half (parent r) → ℕ) :
    LoadIndex half R ell parent n → ℕ
  | .inl _ => max 1 ((RecursiveXHash.ambient (n := n) m).image (RecursiveXHash.block 0)).card
  | .inr (i, a, f) => Nat.card {g : Position n → CompleteSplit.CompleteWord ell //
      ParentType (RecursiveXHash.block (yzMode i) a)
        (parentCounts (RecursiveXHash.block (yzMode i) a) f) g}

noncomputable def loadNum {half R ell : ℕ} {parent : Fin R → Fin 3 → ℕ}
    {n : Fin R → ℕ} (htotal : ∀ r, parent r 0 + parent r 1 + parent r 2 = 2 * half)
    (m : ∀ r, RecursiveThinSplit.Split half (parent r) → ℕ) (d : ℕ)
    (mu : Fin 2 → Cell half R parent → CompleteSplit.CompleteWord ell → ℕ)
    (keep : Fin 2 → Address half R parent n → (Position n → CompleteSplit.CompleteWord ell) → Prop) :
    LoadIndex half R ell parent n → ℕ
  | .inl _ => 8 * (RecursiveXHash.ambient (n := n) m).card
  | .inr (i, a, f) =>
      if a ∈ RecursiveXHash.target m ∧ f ∈ unbrokenWords htotal (yzMode i) a (mu i) ∧ keep i a f
      then 128 * d * ((RecursiveXHash.target (n := n) m).filter (fun b ↦
        RecursiveXHash.block (yzMode i) b = RecursiveXHash.block (yzMode i) a)).card *
        compatibilityNumber (yzBoundary i) (modeGroup (yzMode i)) (mu i)
      else 0

end MME.RegionRealization
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