arXiv · 2605.15163
Automating Bitvector and Finite Field Equivalence Proofs in Lean
Abstract
Efforts to verify Zero-Knowledge Proof circuit encodings have highlighted the challenge of proving the correctness of quantifier-free statements that make use of both bitvector and finite field operations. Existing verification workflows are either manual or rely on SMT solvers, which scale poorly on some classes of problems for reasons that include difficulties with conversion operators and challenges reasoning about inequalities. To address these limitations, we present a novel Lean tactic BitModEq that leverages range lemmas and case analysis to produce verified translations from finite fields to bitvectors. Our approach, combined with bit-blasting, outperforms state-of-the-art SMT solvers, solving 19% more ZKP arithmetization benchmarks.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Elizaveta Pertseva, Valentin Robert, Clark Barrett, James Parker. 2026-05-14. Automating Bitvector and Finite Field Equivalence Proofs in Lean. https://arxiv.org/abs/2605.15163
Cite the original work for its findings. Save a collection to share your selection of sources.