Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Square matrix extraction from three stars with uniform leaf dimensions

Proved
mme_Ctensor_uniform_three_star_square_extraction

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

matrix-multiplicationtensor-complexity

Let X,Y,ZX,Y,ZX,Y,Z be three tensors over a field KKK, each equipped with an HHH-leaf shared-mode star certificate, where H>0H>0H>0. Suppose every leaf in all three certificates has the same matrix dimensions (m,n,p)(m,n,p)(m,n,p). Their cyclic product admits a restriction to kkk copies of the square matrix-multiplication tensor ⟨mnp,mnp,mnp⟩\langle mnp,mnp,mnp\rangle⟨mnp,mnp,mnp⟩, with

k≥H2exp⁡ ⁣(−100log⁡(H+1)).k\ge H^2\exp\!\left(-100\sqrt{\log(H+1)}\right).k≥H2exp(−100log(H+1)​).

This retains the exact matrix shape through the finite Behrend extraction, allowing uniform primary-hash stars to supply fixed-size square blocks.

Preamble
import Definitions.Def_CTensorThreeCyclicBalancedGradingCertificate
open MME
universe u
set_option autoImplicit false
Formal statement
theorem mme_Ctensor_uniform_three_star_square_extraction
    {K : Type u} [Field K] {X Y Z : TensorObj K 3} {H volume : ℕ}
    (certX : CTensorOneHOneCertificate X H volume)
    (certY : CTensorOneHOneCertificate Y H volume)
    (certZ : CTensorOneHOneCertificate Z H volume)
    (m n p : ℕ)
    (hx : ∀ h, certX.m h = m ∧ certX.n h = n ∧ certX.p h = p)
    (hy : ∀ h, certY.m h = m ∧ certY.n h = n ∧ certY.p h = p)
    (hz : ∀ h, certZ.m h = m ∧ certZ.n h = n ∧ certZ.p h = p)
    (hH : 0 < H) :
    ∃ k : ℕ,
      TensorObj.Restrict
        (TensorObj.bigAdd (fun _ : Fin k ↦ MMObj K (m * n * p) (m * n * p) (m * n * p)))
        (threeStarCyclicProduct X Y Z) ∧
      (H : ℝ) ^ 2 * Real.exp (-100 * Real.sqrt (Real.log (((H + 1 : ℕ) : ℝ)))) ≤
        (k : ℝ) := by sorry
Source
The established induced Behrend matching for three shared-mode stars, retaining each cyclic product dimension under uniform leaf dimensions.

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