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

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, and Z3 5.4.1 gave the same result on all 170 queries. However, the 19 queries that only Z3 answered unsat could be confirmed neither by Z3’s own certificates nor by a third solver, Yices2.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-03
DOI
https://doi.org/10.5281/zenodo.24766633
Primary Topic
Formal Methods in Verification
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

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

Suyun Kim
Zenodo (CERN European Organization for Nuclear Research)
Formal Methods in Verification
preprint

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

Suyun Kim
preprint en

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, and Z3 5.4.1 gave the same result on all 170 queries. However, the 19 queries that only Z3 answered unsat could be confirmed neither by Z3’s own certificates nor by a third solver, Yices2.

Zenodo (CERN European Organization for Nuclear Research)
Tongmyong University (KR)
Formal Methods in Verification
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon