Repository navigation
data: rank records over Q for 13x14x14, 13x15x15, 14x14x15, 14x15x15 and 15x16x16 - #40
Merged
Merged
Conversation
…>, <14x15x15:1842>, <15x16x16:2202>
Five rectangular schemes over Q (not dyadic), each below the ranks listed in Perminov's catalog
(1582, 1776, 1790, 1848, 2223) and in the fmm.univ-lille.fr table of 2026-11-09 (1579, 1776, 1789,
1848, 2220): data/<shape>_<rank>_rational_{L,R,P}.{sms,slp}. Each is a projection of one of LITA's
square schemes (Khoruzhii, Serafin, Gelss, Pokutta; <14x14x14:1594>, <15x15x15:1977>,
<16x16x16:2237>) followed by LITA's 2-reduction, with a search over which products to remove.
Verified exactly over Q (Brent equations, and runs on random integer and 2x2-matrix entries);
make check passes for all five (SLPchecker on each program, MMchecker on each triplet). The
programs come from one randomized optimizer loop (-O 1 -s 1).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
gsidebottom
added a commit
to gsidebottom/logic
that referenced
this pull request
Nov 12, 2026
…pt#40 (opened 2026-11-11) Co-Authored-By: Claude Opus 5.5 <[email protected]>
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds five matrix-multiplication schemes over Q, as
data/<shape>_<rank>_rational_{L,R,P}.{sms,slp}(30 files, 15 MB).Their ranks are below the ones listed in Andrew Perminov's catalog
(github.com/dronperminov/FastMatrixMultiplication, head 6f8ef61) and in the fmm.univ-lille.fr
table of 2026-11-09 (fmm_sota.json):
How they were obtained. Each one starts from a square scheme of Khoruzhii, Serafin, Gelß and
Pokutta, "Local Improvements to Trilinear Aggregation" (github.com/khoruzhii/lita), as included in
Perminov's catalog:
<14x14x14:1594>,<15x15x15:1977>or<16x16x16:2237>. Deleting one row of A(two indices for 13x15x15 and 14x14x15) gives a rectangular scheme in which the Kronecker products of
two of the factors are linearly dependent, so the scheme is 2-reducible in LITA's sense. Choosing
the removed products jointly removes more than one product per dependency: for example, the 14
dependencies of the projected 13x14x14 scheme remove 30 products. The method is
LITA's, and the choice of products is our only addition.
Coefficients. The schemes are over Q and not dyadic. The denominators have the prime factors
2 and 5 (13x14x14, up to 200), 2, 5 and 17 (13x15x15, 14x14x15 and 14x15x15, up to 1088) and 2, 3
and 5 (15x16x16, up to 720). Rescaling each product so that its rows of L and R are primitive
integer vectors moves every denominator into P. Each entry of C then needs one division by a
constant: 182, 195, 210, 210 and 240 divisions, by two or three distinct constants per scheme.
Checks. The schemes were verified exactly over Q from the Brent equations, and independently by
running them on random integer matrices with exact rationals. The L, R and P files were then
checked again by reading them back.
MMchecker -b 64reports SUCCESS three times for eachtriplet, and a copy with one changed entry fails. The schemes are non-commutative: run on matrices
whose entries are random 2x2 integer matrices, each gives A B exactly, while taking every product's
two factors in the wrong order fails on every entry of C.
Programs. Each matrix comes with a straight-line program from
optimizer -O 1 -s 1, a singlerandomized loop because one loop takes up to half an hour on these sizes; more loops should lower the
counts.
make check FILE=<prefix>passes for all five (SLPchecker against each matrix, thenMMchecker). Operation counts of the three programs together, from OpCount.sh:
🤖 Generated with Claude Code