arXiv:2610.10494cs.DSOct 2026Cited by 11 papers on PaperVantage

Manuscript Offprint

arXiv:2610.10494

Rectangular matrix multiplication from shared-leg entropy

Przemyslaw Uznanski

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

In this note, we extend the matrix-multiplication analysis in [6] to rectangular products and prove

ω(1,k,1)≤{2,0≤k≤12,1+k+1/(4k),k≥12.\omega(1,k,1)\leq\begin{cases}2,&0\leq k\leq\frac{1}{2},\\1+k+1/(4k),&k\geq\frac{1}{2}.\end{cases}

In particular, ω(1,12,1)=2\omega(1, \frac{1}{2}, 1) = 2 and the dual exponent satisfies α≥12\alpha \geq \frac{1}{2}. We use the shared-leg entropy inequality and polynomial-multiplication degenerations from [6], retaining two-leg symmetry and the orientation of each sector. Logarithmic averaging produces homogeneous auxiliary profiles. Their powered versions have a common asymptotic slope, and bounding their intercepts gives the spectral constraint b≤4a(1−a)b \leq 4a(1 - a). This yields the rectangular curve by tensor-spectrum duality. As an application, Zwick's algorithm [10] for all-pairs shortest paths in directed unweighted graphs runs in O(n2.5)O(n^{2.5}) time. Combining the rectangular bound with the (min⁡,+)(\min, +)-product improvement of Alman and Vassilevska Williams [1] further gives O(n2.4999)O(n^{2.4999}) running time.

1 Introduction

The motivation for this note is to gather, in one place, useful bounds and algorithmic consequences of the groundbreaking matrix-multiplication result in [6], with a focus on rectangular products.

Complexity convention. Throughout this note, all complexity bounds suppress a +o(1)+o(1) term in the exponent: O(nc)O(n^{c}) denotes nc+o(1)n^{c+o(1)}. All shape parameters are fixed.

Rectangular matrix multiplication is a basic ingredient in algorithms for all-pairs problems, including shortest paths, lowest common ancestors, and Hamming distance. Its exponents depend on the shape of the product; an improvement for square matrices need not give a comparable improvement for every rectangular shape. The analysis in [6] establishes the square bound ω≤9/4\omega \leq 9/4 using a shared-leg entropy inequality and degenerations of polynomial-multiplication tensors. We extend that analysis to rectangular products by retaining the orientation information lost under full leg symmetrization.

For fixed nonnegative real u,v,wu, v, w, let ω(u,v,w)\omega(u, v, w) be the infimum of the exponents ee for which multiplying an ⌈nu⌉×⌈nv⌉\lceil n^u \rceil \times \lceil n^v \rceil matrix by a ⌈nv⌉×⌈nw⌉\lceil n^v \rceil \times \lceil n^w \rceil matrix uses O(ne)O(n^e) arithmetic operations over C\mathbb{C}, with the convention above. Write ω(k)=ω(1,k,1)\omega(k) = \omega(1, k, 1) and α=sup⁡{k≥0:ω(k)=2}\alpha = \sup\{k \geq 0 : \omega(k) = 2\}.

∗^{*}This note, its proofs, analysis and writeup were obtained fully through OpenAI Codex (GPT-6.1). The author has read and analyzed this note in full and takes full responsibility for its contents.

Figure

Figure 1: The upper bound on ω(k)\omega(k) from Theorem 1.1 for 0≤k≤20 \leq k \leq 2, together with the size lower bound max⁡{2,1+k}\max\{2, 1 + k\}. The bounds coincide for 0≤k≤120 \leq k \leq \frac{1}{2}.

Theorem 1.1. For every fixed real k≥0k \geq 0,

ω(k)≤{2,0≤k≤12,1+k+14k,k≥12.(1)\omega(k)\leq\begin{cases}2,&0\leq k\leq\frac{1}{2},\\1+k+\frac{1}{4k},&k\geq\frac{1}{2}.\end{cases} \tag{1}

Consequently ω(k)=2\omega(k) = 2 for 0≤k≤120 \leq k \leq \frac{1}{2}, α≥12\alpha \geq \frac{1}{2}, and ω(2)≤3.125\omega(2) \leq 3.125.

Theorem 1.1 gives exponent two for inner dimension up to n0.5n^{0.5}, and an upper bound within 1/(4k)1/(4k) of the input-size lower bound 1+k1+k for k≥1k \geq 1.

Our proof bounds the dot-product parameters of every tensor character. After averaging over the interchange of two legs, these parameters have the form (a0,a0,b0)(a_0, a_0, b_0), and the rectangular objective is 2a0+kb02a_0 + kb_0. We prove the parabolic constraint b0≤4a0(1−a0)b_0 \leq 4a_0(1 - a_0).

Relation to the preceding analysis. The tensor constructions and shared-leg entropy inequality are taken directly from [6]. Lemma 2.1 restates its Corollary 3.2 and the constructions in the proofs of its Lemmas 4.1 and 4.2, with oriented notation. The partial symmetrization in Section 2 adapts its six-permutation geometric averaging to two permutations. The powered concavity and coupled tripling inequalities in Lemma 2.2 are direct consequences of those same constructions, retaining the two distinct orientations.

The additional analytic arguments relative to that paper are the simultaneous logarithmic homogenization of the two profiles (Lemma 3.1) and their common-slope and intercept analysis (Lemma 4.1), which yields the parabolic parameter bound (Proposition 4.2). The underlying tools, including geometric averaging, compactness, and concavity, are standard. These arguments extend the original use of concavity and tripling to constrain two parameters. Once this constraint is established, Section 5 obtains the curve by elementary optimization and standard tensor-spectrum duality; Section 6 optimizes the permuted constraints for three unequal dimensions; Section 7 substitutes it into known algorithmic tradeoffs. Thus the contribution is the rectangular bound and the coupled-profile analysis leading to it; the tensor constructions and the application algorithms are inherited.