Lune

OOPSLA2025顶会

Tabby: A Synthesis-Aided Compiler for High-Performance Zero-Knowledge Proof Circuits

Junrui Liu, Jiaxin Song, Yanning Chen, Hanzhi Liu, Hongbo Wen, Luke Pearson, Yanju Chen, Yu Feng

摘要

Zero-knowledge proof (ZKP) applications require translating high-level programs into arithmetic circuits–a process that demands both correctness and efficiency. While recent DSLs improve usability, they often yield suboptimal circuits, and hand-optimized implementations remain difficult to construct and verify. We present Tabby, a synthesis-aided compiler that automates the generation of high-performance ZK circuits from highlevel code. Tabby introduces a domain-specific intermediate representation designed for symbolic reasoning and applies sketch-based program synthesis to derive optimized low-level implementations. By decomposing programs into reusable components and verifying semantic equivalence via SMT-based reasoning, Tabby ensures correctness while achieving substantial performance improvements. We evaluate Tabby on a suite of real-world ZKP applications and demonstrate significant reductions in proof generation time and circuit size against mainstream ZK compilers.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Jolt: SNARKs for Virtual Machines via Lookups 引用了 HyperPlonk: Plonk with Linear-Time Prover and High-Degree Custom Gates
  • Jolt: SNARKs for Virtual Machines via Lookups 引用了 Marlin: Preprocessing zkSNARKs with Universal and Updatable SRS
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper8

  1. Marlin: Preprocessing zkSNARKs with Universal and Updatable SRSAlessandro Chiesa, Yuncong Hu, Mary Maller, Pratyush Mishra 等EUROCRYPT 2020 · 356 次引用
  2. HyperPlonk: Plonk with Linear-Time Prover and High-Degree Custom GatesBinyi Chen, Benedikt Bünz, Dan Boneh, Zhenfei ZhangEUROCRYPT 2023 · 132 次引用
  3. CirC: Compiler infrastructure for proof systems, software verification, and moreAlex Ozdemir, Fraser Brown, Riad S. WahbyS&P 2022 · 60 次引用
  4. Jolt: SNARKs for Virtual Machines via LookupsArasu Arun, Srinath T. V. Setty, Justin ThalerEUROCRYPT 2024 · 43 次引用
  5. Porcupine: a synthesizing compiler for vectorized homomorphic encryptionMeghan Cowan, Deeksha Dangwal, Armin Alaghi, Caroline Trippel 等PLDI 2021 · 41 次引用

相关 Paper

  1. Scalable Verification of Zero-Knowledge ProtocolsMiguel Isabel, Clara Rodríguez-Núñez, Albert RubioS&P 2024 · 14 次引用
  2. Certifying Zero-Knowledge Circuits with Refinement TypesJunrui Liu, Ian Kretz, Hanzhi Liu, Bryan Tan 等S&P 2024 · 30 次引用
  3. Ou: Automating the Parallelization of Zero-Knowledge ProtocolsYuyang Sang, Ning Luo, Samuel Judson, Ben Chaimberg 等CCS 2023 · 2 次引用
  4. Bounded Verification for Finite-Field-Blasting - In a Compiler for Zero Knowledge ProofsAlex Ozdemir, Riad S. Wahby, Fraser Brown, Clark W. BarrettCAV 2023 · 11 次引用
  5. Efficient Representation of Numerical Optimization Problems for SNARKsSebastian Angel, Andrew J. Blumberg, Eleftherios Ioannidis, Jess WoodsUSENIX Security 2022
黄昏的海面,两侧是细线勾勒的悬崖