Paper 2024/1661

zkFFT: Extending Halo2 with Vector Commitments & More

Aram Jivanyan, Yerevan State University
Gohar Hovhannisyan, Yerevan State University
Hayk Hovhannisyan, Yerevan State University, Layerswap Labs
Nerses Asaturyan, Yerevan State University, Layerswap Labs
Abstract

This paper introduces zkFFT, a novel zero-knowledge argument designed to efficiently generate proofs for FFT (Fast Fourier Transform) relations. Our approach enables the verification that one committed vector is the FFT of another, addressing an efficiency need in general-purpose non-interactive zero-knowledge proof systems where the proof relation utilizes vector commitments inputs. We present a concrete enhancement to the Halo2 proving system, demonstrating how zkFFT optimizes proofs in scenarios where the proof relation includes one or more vector commitments. Specifically, zkFFT incorporates streamlined logic within Halo2 and similar systems, augmenting proof and verification complexity by only $O(\text{log}N)$, where $N$ is the vector size. This represents a substantial improvement over conventional approach, which often necessitates specific circuit extensions to validate the integrity of vector commitments and their corresponding private values in the arithmetic framework of the proof relation. The proposed zkFFT method supports multiple vector commitments with only a logarithmic increase in extension costs, making it highly scalable. This capability is pivotal for practical applications involving multiple pre-committed values within proof statements. Apart from Halo2, our technique can be adapted to any other zero-knowledge proof system that relies on arithmetization, where each column is treated as an evaluation of a polynomial over a specified domain, computes this polynomial via FFT, and subsequently commits to the resulting polynomial using a polynomial commitment scheme based on inner-product arguments. Along with efficient lookup and permutation arguments, zkFFT will streamline and significantly optimize the generation of zero-knowledge proofs for arbitrary relations. Beyond the applications in augmenting zero-knowledge proof systems, we believe that the formalized zkFFT argument can be of independent interest.

Note: Work in progress

Metadata
Available format(s)
PDF
Category
Cryptographic protocols
Publication info
Preprint.
Keywords
Zero knowledge proofsFast Fourier TransformsHalo2Curve TreesBulletproofsInner Product Arguments
Contact author(s)
aram @ skycryptor com
goharhovhannisyann @ gmail com
hayk @ layerswap io
Nerses @ layerswap io
History
2024-10-18: approved
2024-10-14: received
See all versions
Short URL
https://ia.cr/2024/1661
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2024/1661,
      author = {Aram Jivanyan and Gohar Hovhannisyan and Hayk Hovhannisyan and Nerses Asaturyan},
      title = {{zkFFT}: Extending Halo2 with Vector Commitments & More},
      howpublished = {Cryptology {ePrint} Archive, Paper 2024/1661},
      year = {2024},
      url = {https://eprint.iacr.org/2024/1661}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.