Description of fast matrix multiplication algorithm: ⟨8×12×13:784⟩

Algorithm type

4⁢X4⁢Y6⁢Z4+16⁢X4⁢Y5⁢Z4+29⁢X4⁢Y4⁢Z4+X2⁢Y8⁢Z2+X⁢Y9⁢Z2+X6⁢Y3⁢Z2+10⁢X4⁢Y3⁢Z4+X3⁢Y6⁢Z2+X6⁢Y2⁢Z2+X4⁢Y4⁢Z2+3⁢X4⁢Y2⁢Z4+4⁢X3⁢Y5⁢Z2+2⁢X2⁢Y7⁢Z+9⁢X2⁢Y6⁢Z2+3⁢X2⁢Y2⁢Z6+2⁢X⁢Y7⁢Z2+2⁢X6⁢Y⁢Z2+2⁢X4⁢Y3⁢Z2+5⁢X3⁢Y4⁢Z2+73⁢X2⁢Y5⁢Z2+2⁢X⁢Y6⁢Z2+3⁢X4⁢Y2⁢Z2+3⁢X3⁢Y3⁢Z2+4⁢X2⁢Y5⁢Z+56⁢X2⁢Y4⁢Z2+X2⁢Y2⁢Z4+X⁢Y5⁢Z2+10⁢X3⁢Y3⁢Z+3⁢X3⁢Y2⁢Z2+4⁢X2⁢Y4⁢Z+83⁢X2⁢Y3⁢Z2+5⁢X⁢Y4⁢Z2+2⁢X⁢Y3⁢Z3+4⁢X3⁢Y2⁢Z+13⁢X2⁢Y3⁢Z+55⁢X2⁢Y2⁢Z2+2⁢X⁢Y3⁢Z2+2⁢X⁢Y2⁢Z3+2⁢X3⁢Y⁢Z+2⁢X2⁢Y2⁢Z+9⁢X2⁢Y⁢Z2+186⁢X⁢Y3⁢Z+3⁢X⁢Y2⁢Z2+5⁢X2⁢Y⁢Z+102⁢X⁢Y2⁢Z+52⁢X⁢Y⁢Z4X4Y6Z416X4Y5Z429X4Y4Z4X2Y8Z2XY9Z2X6Y3Z210X4Y3Z4X3Y6Z2X6Y2Z2X4Y4Z23X4Y2Z44X3Y5Z22X2Y7Z9X2Y6Z23X2Y2Z62XY7Z22X6YZ22X4Y3Z25X3Y4Z273X2Y5Z22XY6Z23X4Y2Z23X3Y3Z24X2Y5Z56X2Y4Z2X2Y2Z4XY5Z210X3Y3Z3X3Y2Z24X2Y4Z83X2Y3Z25XY4Z22XY3Z34X3Y2Z13X2Y3Z55X2Y2Z22XY3Z22XY2Z32X3YZ2X2Y2Z9X2YZ2186XY3Z3XY2Z25X2YZ102XY2Z52XYZ4*X^4*Y^6*Z^4+16*X^4*Y^5*Z^4+29*X^4*Y^4*Z^4+X^2*Y^8*Z^2+X*Y^9*Z^2+X^6*Y^3*Z^2+10*X^4*Y^3*Z^4+X^3*Y^6*Z^2+X^6*Y^2*Z^2+X^4*Y^4*Z^2+3*X^4*Y^2*Z^4+4*X^3*Y^5*Z^2+2*X^2*Y^7*Z+9*X^2*Y^6*Z^2+3*X^2*Y^2*Z^6+2*X*Y^7*Z^2+2*X^6*Y*Z^2+2*X^4*Y^3*Z^2+5*X^3*Y^4*Z^2+73*X^2*Y^5*Z^2+2*X*Y^6*Z^2+3*X^4*Y^2*Z^2+3*X^3*Y^3*Z^2+4*X^2*Y^5*Z+56*X^2*Y^4*Z^2+X^2*Y^2*Z^4+X*Y^5*Z^2+10*X^3*Y^3*Z+3*X^3*Y^2*Z^2+4*X^2*Y^4*Z+83*X^2*Y^3*Z^2+5*X*Y^4*Z^2+2*X*Y^3*Z^3+4*X^3*Y^2*Z+13*X^2*Y^3*Z+55*X^2*Y^2*Z^2+2*X*Y^3*Z^2+2*X*Y^2*Z^3+2*X^3*Y*Z+2*X^2*Y^2*Z+9*X^2*Y*Z^2+186*X*Y^3*Z+3*X*Y^2*Z^2+5*X^2*Y*Z+102*X*Y^2*Z+52*X*Y*Z

Algorithm definition

The algorithm ⟨8×12×13:784⟩ 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