{
  "id": "2023/778",
  "url": "https://opencryptology.org/2023/778",
  "original_url": "https://eprint.iacr.org/2023/778",
  "title": "Bounded Verification for Finite-Field-Blasting (In a Compiler for Zero Knowledge Proofs)",
  "authors": [
    "Alex Ozdemir",
    "Riad S. Wahby",
    "Fraser Brown",
    "Clark Barrett"
  ],
  "affiliations": null,
  "abstract": "Zero Knowledge Proofs (ZKPs) are cryptographic protocols\nby which a prover convinces a verifier of the truth of a statement with-\nout revealing any other information. Typically, statements are expressed\nin a high-level language and then compiled to a low-level representation\non which the ZKP operates. Thus, a bug in a ZKP compiler can com-\npromise the statement that the ZK proof is supposed to establish. This\npaper takes a step towards ZKP compiler correctness by partially veri-\nfying a field-blasting compiler pass, a pass that translates Boolean and\nbit-vector logic into equivalent operations in a finite field. First, we define\ncorrectness for field-blasters and ZKP compilers more generally. Next, we\ndescribe the specific field-blaster using a set of encoding rules and de-\nfine verification conditions for individual rules. Finally, we connect the\nrules and the correctness definition by showing that if our verification\nconditions hold, the field-blaster is correct. We have implemented our\napproach in the CirC ZKP compiler and have proved bounded versions\nof the corresponding verification conditions. We show that our partially\nverified field-blaster does not hurt the performance of the compiler or its\noutput; we also report on four bugs uncovered during verification.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Bounded Verification for Finite-Field-Blasting (In a Compiler for Zero Knowledge Proofs)” by Alex Ozdemir, Riad S. Wahby, Fraser Brown, Clark Barrett, Cryptology ePrint Archive, Paper 2023/778, https://eprint.iacr.org/2023/778. 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-05-27T21:37:27Z",
    "updated": "2023-05-30T15:03:15Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/778.pdf",
    "sha256": "2d8b6343dd6b7155f9da59413d8203eb22d2c813a896946ea473562b70686513",
    "size": 1005158,
    "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/778/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/778.pdf",
      "size": 1005158,
      "sha256": "2d8b6343dd6b7155f9da59413d8203eb22d2c813a896946ea473562b70686513",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20251216140659id_/https://eprint.iacr.org/2023/778.pdf",
      "captured_at": "2025-12-16T14:06:59Z",
      "size": 976589
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/778.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "size": 1005158
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/778,\n      author = {Alex Ozdemir and Riad S. Wahby and Fraser Brown and Clark Barrett},\n      title = {Bounded Verification for Finite-Field-Blasting (In a Compiler for Zero Knowledge Proofs)},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/778},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/778}\n}"
}
