Description of fast matrix multiplication algorithm: ⟨13×13×13:1421⟩

Algorithm type

8⁢X5⁢Y4⁢Z4+8⁢X4⁢Y4⁢Z5+3⁢X6⁢Y4⁢Z2+5⁢X6⁢Y2⁢Z4+4⁢X5⁢Y4⁢Z3+46⁢X4⁢Y4⁢Z4+2⁢X3⁢Y4⁢Z5+4⁢X7⁢Y2⁢Z2+X5⁢Y4⁢Z2+X5⁢Y2⁢Z4+8⁢X4⁢Y4⁢Z3+7⁢X4⁢Y3⁢Z4+14⁢X3⁢Y4⁢Z4+6⁢X2⁢Y6⁢Z3+3⁢X2⁢Y2⁢Z7+7⁢X6⁢Y2⁢Z2+6⁢X4⁢Y4⁢Z2+4⁢X4⁢Y3⁢Z3+45⁢X3⁢Y4⁢Z3+2⁢X3⁢Y3⁢Z4+27⁢X2⁢Y6⁢Z2+6⁢X2⁢Y4⁢Z4+14⁢X2⁢Y2⁢Z6+21⁢X5⁢Y2⁢Z2+4⁢X4⁢Y3⁢Z2+7⁢X3⁢Y4⁢Z2+6⁢X3⁢Y3⁢Z3+4⁢X2⁢Y6⁢Z+4⁢X2⁢Y3⁢Z4+16⁢X2⁢Y2⁢Z5+X⁢Y2⁢Z6+2⁢X5⁢Y2⁢Z+16⁢X4⁢Y2⁢Z2+14⁢X3⁢Y4⁢Z+80⁢X3⁢Y2⁢Z3+83⁢X2⁢Y4⁢Z2+22⁢X2⁢Y2⁢Z4+2⁢X⁢Y4⁢Z3+2⁢X⁢Y3⁢Z4+2⁢X⁢Y2⁢Z5+2⁢X4⁢Y2⁢Z+2⁢X4⁢Y⁢Z2+30⁢X3⁢Y2⁢Z2+48⁢X3⁢Y⁢Z3+2⁢X2⁢Y4⁢Z+15⁢X2⁢Y3⁢Z2+18⁢X2⁢Y2⁢Z3+4⁢X⁢Y4⁢Z2+12⁢X⁢Y3⁢Z3+4⁢X⁢Y2⁢Z4+X4⁢Y⁢Z+48⁢X3⁢Y2⁢Z+26⁢X3⁢Y⁢Z2+16⁢X2⁢Y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z^3+45*X^3*Y^4*Z^3+2*X^3*Y^3*Z^4+27*X^2*Y^6*Z^2+6*X^2*Y^4*Z^4+14*X^2*Y^2*Z^6+21*X^5*Y^2*Z^2+4*X^4*Y^3*Z^2+7*X^3*Y^4*Z^2+6*X^3*Y^3*Z^3+4*X^2*Y^6*Z+4*X^2*Y^3*Z^4+16*X^2*Y^2*Z^5+X*Y^2*Z^6+2*X^5*Y^2*Z+16*X^4*Y^2*Z^2+14*X^3*Y^4*Z+80*X^3*Y^2*Z^3+83*X^2*Y^4*Z^2+22*X^2*Y^2*Z^4+2*X*Y^4*Z^3+2*X*Y^3*Z^4+2*X*Y^2*Z^5+2*X^4*Y^2*Z+2*X^4*Y*Z^2+30*X^3*Y^2*Z^2+48*X^3*Y*Z^3+2*X^2*Y^4*Z+15*X^2*Y^3*Z^2+18*X^2*Y^2*Z^3+4*X*Y^4*Z^2+12*X*Y^3*Z^3+4*X*Y^2*Z^4+X^4*Y*Z+48*X^3*Y^2*Z+26*X^3*Y*Z^2+16*X^2*Y^3*Z+176*X^2*Y^2*Z^2+30*X*Y^3*Z^2+33*X*Y^2*Z^3+2*X*Y*Z^4+24*X^3*Y*Z+59*X^2*Y^2*Z+2*X^2*Y*Z^2+10*X*Y^3*Z+49*X*Y^2*Z^2+52*X*Y*Z^3+54*X^2*Y*Z+41*X*Y^2*Z+80*X*Y*Z^2+64*X*Y*Z

Algorithm definition

The algorithm ⟨13×13×13:1421⟩ is taken from:

Andrew I. Perminov. FastMatrixMultiplication, GitHub, February 2026. [ GitHub repository ]

Algorithm description

These encodings are given in compressed text format using the maple computer algebra system. In each cases, the last line could be understood as a description of the encoding with respect to classical matrix multiplication algorithm. As these outputs are structured, one can construct easily a parser to its favorite format using the maple documentation without this software.


Back to main table