Skip to content

<4x4x4:47|166> mod 2 - #39

Merged
jgdumas merged 1 commit into
jgdumas:mainfrom
gsidebottom:data-4x4x4-47-166
Nov 10, 2026
Merged

jgdumas merged 1 commit into
jgdumas:mainfrom
gsidebottom:data-4x4x4-47-166

Conversation

@gsidebottom

Copy link
Copy Markdown
Contributor

This adds two rank-47 schemes for 4x4 matrix multiplication over F_2 (valid over any ring of characteristic two). Each costs 166 additions in its three linear maps, one fewer than 4x4x4_47_mod_2_167 (#22) and four fewer than 4x4x4_47_mod_2 (170):

map 4x4x4_47_mod_2_166 4x4x4_47_mod_2_166b
L 44 43
R 48 48
P 74 75
total 166 166

(additions as counted by SLPchecker -q 2)

Applied recursively, 166 gives (1 + 166/31) n^(log_4 47) = (6+11/31) n^(log_4 47) + o(n^(log_4 47)) operations, down from 6+12/31 with 167.

The files are data/4x4x4_47_mod_2_166_{L,R,P}.{sms,slp} and data/4x4x4_47_mod_2_166b_{L,R,P}.{sms,slp}, in the same format as 4x4x4_47_mod_2_167. Please rename them if another name fits your conventions better.

Checks, run from the repository root:

for n in 166 166b; do for s in L R P; do
  ./bin/SLPchecker -q 2 -M data/4x4x4_47_mod_2_${n}_$s.sms < data/4x4x4_47_mod_2_${n}_$s.slp
done; done        # <44, 0> <48, 0> <74, 0> and <43, 0> <48, 0> <75, 0>
for i in $(seq 40); do ./bin/MMchecker -q 2 data/4x4x4_47_mod_2_166_{L,R,P}.sms; done
for i in $(seq 40); do ./bin/MMchecker -q 2 data/4x4x4_47_mod_2_166b_{L,R,P}.sms; done

MMchecker -q 2 tests one random pair of matrices over F_2 per run, so it runs in a loop; both schemes passed 40 of 40 here. A separate script, written independently of the search code, recomputes each map from its program and checks each scheme on all 256 pairs of basis matrices, which proves correctness by bilinearity.

How they were found: both schemes are points in the symmetry orbit of one rank-47 scheme that is not equivalent, under the isotropy group of the tensor and permutation of the products, to the AlphaTensor, Kauers–Moosbauer or AlphaEvolve rank-47 schemes. That scheme came out of a flip-graph descent (Kauers and Moosbauer, ISSAC 2023) seeded with projections of Kauers and Moosbauer's <4,4,5>:60 scheme over F_2: dropping the last column of B and of C loses four products and gives 4x4 seeds of rank 56, the projection along a mode that the fmm.univ-lille.fr catalog uses. The additions were then minimised over the orbit: a Boyar–Peralta heuristic on every triple of coset representatives of GL(4,2)^3, then an exact search for the fewest additions on each side of the best triples. The exact search shows that 44, 48 and 74 (and 43, 48, 75) are each minimal for their map, so 166 is optimal for each scheme without a change of basis, and that no triple within four of the heuristic minimum over the orbit costs less than 166.

The search and this text were done with Claude (Anthropic) as the coding assistant; the schemes were verified as above.

🤖 Generated with Claude Code

Two rank-47 schemes for 4x4 matrix multiplication over F_2 whose three linear maps cost 166 additions,
one fewer than 4x4x4_47_mod_2_167: data/4x4x4_47_mod_2_166_{L,R,P} (44 + 48 + 74) and
data/4x4x4_47_mod_2_166b_{L,R,P} (43 + 48 + 75), same format as the 167.  Both are points in the
symmetry orbit of one rank-47 scheme found by a flip-graph descent seeded with projections of
Kauers-Moosbauer's <4,4,5>:60; checked with SLPchecker -q 2 and 40 runs of MMchecker -q 2 each, and
independently on all 256 pairs of basis matrices.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@jgdumas
jgdumas merged commit ff64fd7 into jgdumas:main Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants