{
  "id": "2020/1355",
  "url": "https://opencryptology.org/2020/1355",
  "original_url": "https://eprint.iacr.org/2020/1355",
  "title": "Modular Lagrange Interpolation of the Mod Function for Bootstrapping of Approximate HE",
  "authors": [
    "Charanjit S. Jutla",
    "Nathan Manohar"
  ],
  "affiliations": null,
  "abstract": "We introduce a novel variant of Lagrange interpolation called modular Lagrange interpolation\nthat allows us to obtain and prove error bounds for explicit low-degree polynomial approximations of a\nfunction on a union of equally-spaced small intervals even if the function overall is not continuous.\nWe apply our technique to the mod function and obtain explicit low-degree polynomial approximations with small error.\nIn particular, for every $k$ and $N >>k$,\nwe construct low-degree polynomials that approximate $f(x) = x \\mod N$,\nfor $|f(x)| \\leq 1$ and $|x|  \\leq kN$,  to within O($1/N$) additive approximation.\nFor $k= O(\\log N)$, the result is generalized to give O($d$)-degree polynomial\napproximations to within O($N^{-d}$) error for any $d \\geq 1$.\nLiterature in approximation theory allows for arbitrary precision polynomial approximation of only smooth functions,\nwhereas the mod function is only piecewise linear.\n\nThese polynomials can be used in bootstrapping for approximate homomorphic encryption, which requires computing the mod function near multiples of the modulus. Our work bypasses the fundamental error of approximation in prior works\ncaused by first approximating the mod function by a scaled sine function. We implement the bootstrapping of $\\mathsf{HEAAN}$ using our polynomials and profile various parameter settings. For example, we demonstrate bootstrapping that can achieve 67 bit message precision, larger than the precision of a $\\mathsf{double}$ variable, whereas the most advanced prior work was only capable of up to 40 bit message precision.",
  "category": "Public-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Modular Lagrange Interpolation of the Mod Function for Bootstrapping of Approximate HE” by Charanjit S. Jutla, Nathan Manohar, Cryptology ePrint Archive, Paper 2020/1355, https://eprint.iacr.org/2020/1355. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2020-10-29T14:55:54Z",
    "updated": "2021-05-27T17:50:22Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2020/1355.pdf",
    "sha256": "668ec7c0bc7761133de2e667d5c85594aeb925cf5492717bd7b2c902c8da4cce",
    "size": 623175,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:14Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2020/1355/versions/20240114T061314Z.pdf",
      "captured_at": "2024-01-14T06:13:14Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2020/1355.pdf",
      "size": 623175,
      "sha256": "668ec7c0bc7761133de2e667d5c85594aeb925cf5492717bd7b2c902c8da4cce",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2020/1355/versions/20201128T024602Z.pdf",
      "captured_at": "2020-11-28T02:46:02Z",
      "label": "copy captured 2020-11-28",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20201128024602id_/https://eprint.iacr.org/2020/1355.pdf",
      "size": 715151,
      "sha256": "5bdcbde6c30f5bcb49580350e5cbe66cc49435d8a476aea0f63b4956a1b35661",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260914203005id_/https://eprint.iacr.org/2020/1355.pdf",
      "captured_at": "2026-09-14T20:30:05Z",
      "size": 613702
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2020/1355.pdf",
      "captured_at": "2024-01-14T06:13:14Z",
      "size": 623175
    }
  ],
  "bibtex": "@misc{cryptoeprint:2020/1355,\n      author = {Charanjit S. Jutla and Nathan Manohar},\n      title = {Modular Lagrange Interpolation of the Mod Function for Bootstrapping of Approximate HE},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2020/1355},\n      year = {2020},\n      url = {https://eprint.iacr.org/2020/1355}\n}"
}
