{
  "id": "2026/849",
  "url": "https://opencryptology.org/2026/849",
  "original_url": "https://eprint.iacr.org/2026/849",
  "title": "On Why and How to Minimize the Arithmetic Complexity of Fast Matrix Multiplication Algorithms",
  "authors": [
    "Erik Mårtensson",
    "Paul Stankovski Wagner"
  ],
  "affiliations": null,
  "abstract": "Naively multiplying two $2 \\times 2$ matri-\nces requires eight multiplications and four additions.\nStrassen showed how to perform the same computation\nusing seven multiplications and 18 additions. By chang-\ning basis, Karstadt and Schwartz lowered the number of\nadditions to 12, which they showed to be optimal within\nthis generalized Karstadt-Schwartz (KS) framework.\n\nWe present improved methods for optimizing the\nnumber of additions in Strassen-type matrix multipli-\ncation schemes for larger matrix sizes, and without any\nchange of basis. Considering fast matrix generation\nprocess holistically as consisting of scheme generation\nand addition reduction, we discuss how to optimize both\nparts of this pipeline. We indicate that minimizing ad-\nditions during the generation process is advantageous.\n\nWe implement of our methods and use them to\noptimize the number of additions for schemes with\ndimensions up to $(n, m, k) = (5, 7, 10)$. Our methods\ncan handle larger dimensions than (what has been\npublished within) the KS framework.\n\nWe compare our results against solutions within the\nKS framework on several large sets of schemes. We show\nthat our method performs better relative to the KS\nframework, the larger the matrix dimensions are. We\nalso apply our algorithms to a large number of schemes\nwhere we do not have apples-to-apples results in the KS\nframework as a comparison.\n\nWe optimize the arithmetic complexity for two sets\nof thousands of schemes with the same rank. The\nnumber of additions needed after optimization roughly\nfollows a normal distribution. Thus, we need to generate\nmany solutions to minimize arithmetic complexity.\n\nFinally, our results on a large set of schemes and\nour extensive list of future research directions make for a valuable benchmark and facilitate future study of the\narithmetic complexity of fast matrix multiplication.",
  "category": "Foundations",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“On Why and How to Minimize the Arithmetic Complexity of Fast Matrix Multiplication Algorithms” by Erik Mårtensson, Paul Stankovski Wagner, Cryptology ePrint Archive, Paper 2026/849, https://eprint.iacr.org/2026/849. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2026-04-30T13:51:30Z",
    "updated": "2026-04-30T13:51:30Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2026/849.pdf",
    "sha256": "c095482d4bc6a410171092bc6b37ef4e2a1d07808c076149f0f183704fbff3d6",
    "size": 5206465,
    "source": "wayback",
    "source_date": "2026-05-29T12:23:07Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2026/849/versions/20260529T122307Z.pdf",
      "captured_at": "2026-05-29T12:23:07Z",
      "label": "copy captured 2026-05-29",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20260529122307id_/https://eprint.iacr.org/2026/849.pdf",
      "size": 5206465,
      "sha256": "c095482d4bc6a410171092bc6b37ef4e2a1d07808c076149f0f183704fbff3d6",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260529122307id_/https://eprint.iacr.org/2026/849.pdf",
      "captured_at": "2026-05-29T12:23:07Z",
      "size": 3713063
    }
  ],
  "bibtex": "@misc{cryptoeprint:2026/849,\n      author = {Erik Mårtensson and Paul Stankovski Wagner},\n      title = {On Why and How to Minimize the Arithmetic Complexity of Fast Matrix Multiplication Algorithms},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2026/849},\n      year = {2026},\n      url = {https://eprint.iacr.org/2026/849}\n}"
}
