{
  "id": "2025/1849",
  "url": "https://opencryptology.org/2025/1849",
  "original_url": "https://eprint.iacr.org/2025/1849",
  "title": "CoBBl: Dynamic constraint generation for SNARKs",
  "authors": [
    "Kunming Jiang",
    "Fraser Brown",
    "Riad S. Wahby"
  ],
  "affiliations": null,
  "abstract": "General-purpose probabilistic proof systems operate on\nprograms expressed as systems of arithmetic constraints—an\nunfriendly representation. There are two broad approaches\nin the literature to turning friendlier, high-level programs\ninto constraints suitable for proof systems: direct translation\nand CPU emulation. Direct translators compile a program\ninto highly optimized constraints; unfortunately, this process\nrequires expressing all possible paths through the program,\nwhich results in compile times that scale with the program’s\nruntime rather than its size. In addition, the prover must\npay the cost of every possible program path, even those\nuntaken by a given input. In contrast, CPU emulators don’t\ncompile programs to constraints; instead, they “execute”\nthose programs, expressed as CPU instructions, on a CPU\nemulator that is itself expressed as constraints. As a result,\nthis approach can’t perform powerful, program-specific op-\ntimizations, and may require thousands of constraints where\ndirect translation could use a clever handful. Worse, CPU\nemulators inherit an impractically expensive program state\nrepresentation from the CPUs they emulate.\nThis paper presents a compiler and proof system,\nCoBBl, that combines the benefits of CPU emulation and\ndirect translation: it takes advantage of program-specific\noptimizations, but doesn’t pay for an unnecessary state\nrepresentation or unexecuted computation. COBBL outper-\nforms CirC, a state-of-the-art direct translator, by $1–30\\times$ on\ncompile time and $26–350\\times$ on prover time, and outperforms\nJolt, a state-of-the-art CPU emulator, on prover time by $1.1–\n1.8\\times$ on Jolt-friendly benchmarks, and up to $100\\times$ on other\nbenchmarks.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“CoBBl: Dynamic constraint generation for SNARKs” by Kunming Jiang, Fraser Brown, Riad S. Wahby, Cryptology ePrint Archive, Paper 2025/1849, https://eprint.iacr.org/2025/1849. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2025-10-06T19:43:19Z",
    "updated": "2025-10-06T19:43:19Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/1849.pdf",
    "sha256": "99bc81876f67b367554a6f36a9a49bb67191f573619adcebb84dfb2763f608b4",
    "size": 542222,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2025/1849/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/1849.pdf",
      "size": 542222,
      "sha256": "99bc81876f67b367554a6f36a9a49bb67191f573619adcebb84dfb2763f608b4",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260920104018id_/https://eprint.iacr.org/2025/1849.pdf",
      "captured_at": "2026-09-20T10:40:18Z",
      "size": 523712
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/1849.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 542222
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/1849,\n      author = {Kunming Jiang and Fraser Brown and Riad S. Wahby},\n      title = {CoBBl: Dynamic constraint generation for SNARKs},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/1849},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/1849}\n}"
}
