{
  "id": "2023/281",
  "url": "https://opencryptology.org/2023/281",
  "original_url": "https://eprint.iacr.org/2023/281",
  "title": "Towards A Correct-by-Construction FHE Model",
  "authors": [
    "Zhenkun Yang",
    "Wen Wang",
    "Jeremy Casas",
    "Pasquale Cocchini",
    "Jin Yang"
  ],
  "affiliations": null,
  "abstract": "This paper presents a correct-by-construction method of designing an FHE model based on the automated program verifier Dafny. We model FHE operations from the ground up, including fundamentals like GCD, coprimality, Montgomery multiplications, and polynomial operations, etc., and higher level optimizations such as Residue Number System (RNS) and Number Theoretic Transform (NTT). The fully formally verified FHE model serves as a reference design for both software stack development and hardware design, and verification efforts. Open-sourcing our FHE Dafny model with modular arithmetic libraries to GitHub is in progress.",
  "category": "Implementation",
  "license": {
    "code": "CC BY-NC-ND",
    "url": "https://creativecommons.org/licenses/by-nc-nd/4.0/",
    "label": "CC BY-NC-ND 4.0",
    "attribution": "“Towards A Correct-by-Construction FHE Model” by Zhenkun Yang, Wen Wang, Jeremy Casas, Pasquale Cocchini, Jin Yang, Cryptology ePrint Archive, Paper 2023/281, https://eprint.iacr.org/2023/281. Licensed under CC BY-NC-ND 4.0 (https://creativecommons.org/licenses/by-nc-nd/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": true,
    "non_commercial": true
  },
  "dates": {
    "submitted": "2023-02-24T18:12:45Z",
    "updated": "2023-02-27T15:49:29Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/281.pdf",
    "sha256": "c44f810324380cfb99e5e5c2fc032698fe873beae66cc018f73f8ffba03382f0",
    "size": 303857,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:41Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2023/281/versions/20240114T061341Z.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/281.pdf",
      "size": 303857,
      "sha256": "c44f810324380cfb99e5e5c2fc032698fe873beae66cc018f73f8ffba03382f0",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20251212124339id_/https://eprint.iacr.org/2023/281.pdf",
      "captured_at": "2025-12-12T12:43:39Z",
      "size": 304765
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/281.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "size": 303857
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/281,\n      author = {Zhenkun Yang and Wen Wang and Jeremy Casas and Pasquale Cocchini and Jin Yang},\n      title = {Towards A Correct-by-Construction FHE Model},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/281},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/281}\n}"
}
