Papers1 provider · 1 record
January 1, 2023· PolyPublie (École Polytechnique de Montréal)
conference-paper
Open access

Automated Analysis of Halo2 Circuits

Authors:Fatemeh Heidari SoureshjaniMathias Hall-AndersenMohammadMahdi JahanaraJaimie Hoh KamJan GorznyMohsen Ahmadvand

Abstract

Zero-knowledge proof systems are becoming increasingly prevalent and being widely used to secure decentralized financial systems and protect the privacy of users. Given the sensitivity of these applications, zero-knowledge proof systems are a natural target for formal verification methods. We describe methods for checking one such proof system: Halo2. We use abstract interpretation and an SMT solver to check various properties of Halo2 circuits. Using abstract interpretation, we can detect unused gates, unconstrained cells, and unused columns. Using an SMT solver, we can detect under-constrained circuits (in the sense that for the same public input they have two efficiently computable satisfying assignments). This is the first work we are aware of that applies lightweight formal methods to PLONKish arithmetization and Halo2 circuits.

Community

0 comments
Use Connect Wallet in the navigation

No discussion yet

Be the first to share a question or observation.