{
  "id": "2026/3158",
  "url": "https://opencryptology.org/2026/3158",
  "original_url": "https://eprint.iacr.org/2026/3158",
  "title": "Exact multiplicative complexity of multi-operand addition and bit heaps",
  "authors": [
    "Ido Rosenbaum"
  ],
  "affiliations": null,
  "abstract": "The multiplicative complexity of a Boolean function is the minimum number of AND gates in a circuit over $\\{\\wedge,\\oplus,1\\}$. It measures the cost of evaluating the function in secure multi-party computation with free-XOR garbling, in several families of zero-knowledge proofs, and in masked implementations. We determine the exact multiplicative complexity of adding $k$ words of $n$ bits and a fixed constant $K$ modulo $2^n$: it equals the number of AND gates in the classical full-adder network, and the most significant output bit alone already requires that many. For $K=0$ the value is $\\sum_{i=1}^{n-1}(k-\\lceil k/2^i\\rceil)$, which can also be derived from known results. For $K\\ne0$ and $k\\ge2$ the value is new, and a constant can increase the cost substantially: $x+y \\bmod 2^{32}$ needs 31 AND gates, but $x+y+2 \\bmod 2^{32}$ needs 60. The lower bound comes from an exact evaluation of one Walsh coefficient of the top output bit, combined with the 2-adic divisibility of the Walsh coefficients of functions with few AND gates. The result for addition has been formally verified in Lean 4. We extend it to arbitrary bit heaps, where input bits have arbitrary power-of-two weights; as a consequence, the upper bound of Boyar and Peralta on the low-order bits of the Hamming weight is tight. Finally, we give the exact cost of each addition in the SHA-256 compression function, taken in isolation.",
  "category": "Foundations",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Exact multiplicative complexity of multi-operand addition and bit heaps” by Ido Rosenbaum, Cryptology ePrint Archive, Paper 2026/3158, https://eprint.iacr.org/2026/3158. 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-12-01T15:57:42Z",
    "updated": "2026-12-01T15:57:42Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": null,
  "upload_url": "https://opencryptology.org/2026/3158#upload",
  "api_upload_url": "https://opencryptology.org/api/upload/2026/3158",
  "missing_pdf": "No PDF here yet. A person can download it from https://eprint.iacr.org/2026/3158 and upload it at https://opencryptology.org/2026/3158#upload so everyone can get it.",
  "versions": [],
  "other_sources": [],
  "bibtex": "@misc{cryptoeprint:2026/3158,\n      author = {Ido Rosenbaum},\n      title = {Exact multiplicative complexity of multi-operand addition and bit heaps},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2026/3158},\n      year = {2026},\n      url = {https://eprint.iacr.org/2026/3158}\n}"
}
