{
  "id": "2010/072",
  "url": "https://opencryptology.org/2010/072",
  "original_url": "https://eprint.iacr.org/2010/072",
  "title": "Approximating Addition by XOR: how to go all the way",
  "authors": [
    "Didier Alquié"
  ],
  "affiliations": null,
  "abstract": "In this paper, we study approximation of addition by XOR, taking P.\nSarkar's publication~\\cite{bib:sarkar} as the reference work and\nstarting point. In this work, among various results, it was claimed\nthat explicit formulas seemed difficult to obtain when the number\n$n$ of summands is more than $5$. In the first part of our work, we\nshow a systematic way to find explicit formulas: the complexity to\ncompute them is $O(n^3)$, which allows large values of $n$. We\npresent some numerical computation and point out a - conjectural -\nobservation on the coefficients.\n\nIn the second part, we study a generalization of P. Sarkar's work to\n$q$-ary addition, instead of binary. We show that the mechanics of\nthe addition is essentially the same as in the binary case. In\nparticular, sequence of carries behaves very similarly: it is a\nMarkov chain whose transition matrix can be computed. Running some\nexperiments on small values of $n$ leads us to a conjecture, the\nfirst part of which is intuitive and the second part of which\nreveals an amazing coincidence (and is probably not!).\n\nFinally, in a section titled ``very last news'', we refer to a paper\npublished by Holte in 1997, that was brought to us after our first\npost and that we had missed before. It happens that this paper\nstudies the topic and solves a major part of our open problems.\nHenceforth, the present post is an updated version of our previous\n``Approximating Addition by XOR: how to go (a little) further than\nP.  Sarkar'', taking into account this previous Holte's reference.",
  "category": "Foundations",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Approximating Addition by XOR: how to go all the way” by Didier Alquié, Cryptology ePrint Archive, Paper 2010/072, https://eprint.iacr.org/2010/072. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2010-02-11T12:48:25Z",
    "updated": "2010-06-24T08:22:58Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2010/072.pdf",
    "sha256": "78dbb983b0256fadf8d2acbc4aa6b1de670d9a0fbd042f910a6ec9e4578e5fb7",
    "size": 231646,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:24:28Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2010/072/versions/20190225T162428Z.pdf",
      "captured_at": "2019-02-25T16:24:28Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2010/072.pdf",
      "size": 231646,
      "sha256": "78dbb983b0256fadf8d2acbc4aa6b1de670d9a0fbd042f910a6ec9e4578e5fb7",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20251230225453id_/https://eprint.iacr.org/2010/072.pdf",
      "captured_at": "2025-12-30T22:54:53Z",
      "size": 211471
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2010/072.pdf",
      "captured_at": "2019-02-25T16:24:28Z",
      "size": 231646
    }
  ],
  "bibtex": "@misc{cryptoeprint:2010/072,\n      author = {Didier Alquié},\n      title = {Approximating Addition by XOR: how to go all the way},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2010/072},\n      year = {2010},\n      url = {https://eprint.iacr.org/2010/072}\n}"
}
