{
  "id": "2026/1698",
  "url": "https://opencryptology.org/2026/1698",
  "original_url": "https://eprint.iacr.org/2026/1698",
  "title": "MamaBearZKP: A Holistic Co-design of Prime Fields and Proving Stacks for High-Throughput ZKP on Modern CPUs",
  "authors": [
    "Jipeng Zhang",
    "Yanpei Guo",
    "Tao Lu",
    "Hao Cheng",
    "Jiaheng Zhang"
  ],
  "affiliations": null,
  "abstract": "Sum-check and Fast Fourier Transforms (FFTs) dominate the computational cost of modern zero-knowledge proving systems, such as HyperPlonk (Eurocrypt 2023) and FRI-based schemes like DeepFold (USENIX Security 2025). Despite numerous optimizations, existing efforts remain fragmented across algorithmic, protocol, and implementation layers, leaving significant CPU performance potential untapped.\n\nWe present MamaBearZKP, a co-designed framework that bridges these layers to enable high-throughput ZK proving on modern CPUs. At its core, MamaBearZKP leverages MamaBear, a 49-bit prime field ($p = 2^{49} - 2^{34} + 1$), and introduces a systematic vectorization framework specifically tailored for the AVX-512IFMA execution model. By treating field arithmetic, protocol structure, and low-level hardware primitives as a unified optimization target, MamaBearZKP achieves unprecedented efficiency.\n\nWe instantiate our framework in a HyperPlonk-DeepFold prover and obtain single-thread speedups of up to $42\\times$, $33\\times$, $15\\times$, $21\\times$, and $21\\times$ for ZeroCheck, ProductCheck, DeepFold Commit, DeepFold Open, and end-to-end proof generation, respectively, compared to a Goldilocks-based baseline on the same platform. With 8-thread execution, the corresponding speedups increase to as much as $64\\times$, $47\\times$, $81\\times$, $45\\times$, and $45\\times$. Across our end-to-end evaluations, MamaBearZKP also achieves up to $18\\times$ single-thread speedup over Plonky3, which already uses an AVX-512 BabyBear backend.\nRather than resulting from isolated improvements, these gains arise from a synergistic cascading effect: the 49-bit field’s headroom enables efficient lazy reduction, which paves the way for high-performance fused fold-and-evaluate kernels. The efficiency of these kernels facilitates a unified stay-packed dataflow throughout the HyperPlonk and DeepFold stacks; it is precisely this end-to-end dataflow that materializes the hardware throughput of AVX-512IFMA into realized performance gains.",
  "category": "Applications",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“MamaBearZKP: A Holistic Co-design of Prime Fields and Proving Stacks for High-Throughput ZKP on Modern CPUs” by Jipeng Zhang, Yanpei Guo, Tao Lu, Hao Cheng, Jiaheng Zhang, Cryptology ePrint Archive, Paper 2026/1698, https://eprint.iacr.org/2026/1698. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2026-08-15T15:55:58Z",
    "updated": "2026-09-08T13:55:59Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2026/1698.pdf",
    "sha256": "e553b611e97a4afcd0a4c0abdf7ed002c5fc16dd7f3751c9466d92fae417e466",
    "size": 831830,
    "source": "wayback",
    "source_date": "2026-09-19T19:25:09Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2026/1698/versions/20260919T192509Z.pdf",
      "captured_at": "2026-09-19T19:25:09Z",
      "label": "copy captured 2026-09-19",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20260919192509id_/https://eprint.iacr.org/2026/1698.pdf",
      "size": 831830,
      "sha256": "e553b611e97a4afcd0a4c0abdf7ed002c5fc16dd7f3751c9466d92fae417e466",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2026/1698/versions/20260825T183258Z.pdf",
      "captured_at": "2026-08-25T18:32:58Z",
      "label": "copy captured 2026-08-25",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20260825183258id_/https://eprint.iacr.org/2026/1698.pdf",
      "size": 832322,
      "sha256": "96d66dd2e422f1bbfae9db1f954863a8322f4fb9e7d9ed37718a39c31ba4da9d",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260919192509id_/https://eprint.iacr.org/2026/1698.pdf",
      "captured_at": "2026-09-19T19:25:09Z",
      "size": 816720
    }
  ],
  "bibtex": "@misc{cryptoeprint:2026/1698,\n      author = {Jipeng Zhang and Yanpei Guo and Tao Lu and Hao Cheng and Jiaheng Zhang},\n      title = {MamaBearZKP: A Holistic Co-design of Prime Fields and Proving Stacks for High-Throughput ZKP on Modern CPUs},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2026/1698},\n      year = {2026},\n      url = {https://eprint.iacr.org/2026/1698}\n}"
}
