Papers2 providers · 2 records
January 1, 2026· Zenodo (CERN European Organization for Nuclear Research)
preprint
Open access

Evaluating the Native Finite-Field Solver of Z3 5.3 for Determinism Checking of Zero-Knowledge Circuits

Authors:Suyun Kim *

Abstract

Under-constrained bugs in zero-knowledge proof circuits can be detected with a determinism query, which asks whether one input can produce more than one output. This paper is an independent evaluation of the release version (5.3.3) of the native finite-field solver added in Z3 5.3. We compare it with three configurations of cvc5 1.4.2 on the same machine and the same queries. On 170 unique queries built from circomlib-family circuits and from real vulnerable circuits in zkbugs, no query received sat from one solver and unsat from another, and every sat model passed an independent check. Under a limit of 300 s and 8 GiB, Z3 solved 104 queries and cvc5 solved 75 to 81 depending on the configuration (88 across all three), and Z3 finished 99 of its solved queries within 1 s. On 100 public queries that Picus generated from the same circuit family, Z3 again solved the most (71, against 38 to 60 for cvc5). Raising the memory limit to 16 GiB solved no additional query within the 300 s limit, and Z3 5.4.1 gave the same result on all 170 queries. Z3’s certificates and a third solver, Yices2, confirmed none of the 19 queries that only Z3 answered unsat, but a propagation check on the constraints that uses no solver proved 18 of them deterministic. Counting only confirmed answers (sat with a validated model, or unsat backed by certificates or by this check), Z3 has 102 and the cvc5 configurations have 73 to 78.

Community

0 comments
Use Connect Wallet in the navigation

No discussion yet

Be the first to share a question or observation.