Repository navigation
<4x4x4:47|166> mod 2 - #39
Merged
Merged
Conversation
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]>
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 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 than4x4x4_47_mod_2(170):4x4x4_47_mod_2_1664x4x4_47_mod_2_166b(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}anddata/4x4x4_47_mod_2_166b_{L,R,P}.{sms,slp}, in the same format as4x4x4_47_mod_2_167. Please rename them if another name fits your conventions better.Checks, run from the repository root:
MMchecker -q 2tests 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