{
  "id": "2023/1051",
  "url": "https://opencryptology.org/2023/1051",
  "original_url": "https://eprint.iacr.org/2023/1051",
  "title": "Automated Analysis of Halo2 Circuits",
  "authors": [
    "Fatemeh Heidari Soureshjani",
    "Mathias Hall-Andersen",
    "MohammadMahdi Jahanara",
    "Jeffrey Kam",
    "Jan Gorzny",
    "Mohsen Ahmadvand"
  ],
  "affiliations": null,
  "abstract": "Zero-knowledge proof systems are becoming increasingly prevalent and being widely used to secure decentralized financial systems and protect the privacy of users. Given the sensitivity of these applications, zero-knowledge proof systems are a natural target for formal verification methods. We describe methods for checking one such proof system: Halo2. We use abstract interpretation and an SMT solver to check various properties of Halo2 circuits. Using abstract interpretation, we can detect unused gates, unconstrained cells, and unused columns. Using an SMT solver, we can detect under-constrained (in the sense that for the same public input they have two efficiently computable satisfying assignments) circuits. This is the first work we are aware of that applies lightweight formal methods to PLONKish arithmetization and Halo2 circuits.",
  "category": "Applications",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Automated Analysis of Halo2 Circuits” by Fatemeh Heidari Soureshjani, Mathias Hall-Andersen, MohammadMahdi Jahanara, Jeffrey Kam, Jan Gorzny, Mohsen Ahmadvand, Cryptology ePrint Archive, Paper 2023/1051, https://eprint.iacr.org/2023/1051. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2023-07-05T07:52:39Z",
    "updated": "2023-07-05T07:52:39Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/1051.pdf",
    "sha256": "2d7c178ca8196906ea1964c13ff6ac7aa0562b9a91e47a0c9ef4dba7c57fe4c3",
    "size": 1240887,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:41Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2023/1051/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/1051.pdf",
      "size": 1240887,
      "sha256": "2d7c178ca8196906ea1964c13ff6ac7aa0562b9a91e47a0c9ef4dba7c57fe4c3",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260304125327id_/https://eprint.iacr.org/2023/1051.pdf",
      "captured_at": "2026-03-04T12:53:27Z",
      "size": 1178738
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/1051.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "size": 1240887
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/1051,\n      author = {Fatemeh Heidari Soureshjani and Mathias Hall-Andersen and MohammadMahdi Jahanara and Jeffrey Kam and Jan Gorzny and Mohsen Ahmadvand},\n      title = {Automated Analysis of Halo2 Circuits},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/1051},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/1051}\n}"
}
