Abstract
Zero-knowledge proofs (ZKPs) have traditionally been computationally feasible only for statements within the NP complexity class. This paper introduces the first practical ZK protocols for PSPACE-complete statements, specifically targeting Quantified Boolean Formula (QBF) evaluation. By shifting the paradigm from solving problems within ZK to verifying pre-computed proofs and winning strategies via novel polynomial encodings, the authors achieve verification times in the order of seconds for complex real-world applications such as hardware verification and AI planning.
Introduction
While theoretical foundations like the $IP = PSPACE$ theorem establish the existence of ZKPs for PSPACE, practical implementations have been hindered by the massive computational overhead of evaluating high-degree polynomials over large fields. Many critical domains—including hardware verification, AI planning, and software "black box" checking—rely on PSPACE-complete problems. This work bridges the gap between theory and practice, allowing a prover to demonstrate the truth of a PSPACE statement (e.g., the existence of a winning strategy) without revealing the underlying strategy or proof details.
Methodology
The authors propose two primary protocols for proving QBF evaluation in zero-knowledge: ZKQRES and ZKWS. These methods shift the focus from "solving the problem in ZK" to "verifying a pre-computed proof in ZK," leveraging modern QBF solvers to perform heavy lifting offline.
ZKQRES: Quantified Resolution Proofs
Instead of re-solving the formula, ZKQRES focuses on verifying a "Quantified Resolution" (Q-Res) proof. The core innovation is a polynomial encoding where literals are represented as binary strings and clauses as polynomials. This allows the verifier to use low-overhead arithmetic checks to validate logical steps like $\exists$-resolution and $\forall$-reduction without accessing the actual values.
ZKWS: Winning Strategies
For many applications, the "witness" is a winning strategy (represented by Skolem or Herbrand functions). ZKWS reduces the QBF problem into a propositional "UNSAT" problem, which is then processed by optimized ZK tools like ZKUNSAT. This approach is often significantly more efficient than resolution proofs, sometimes reducing proving time by up to 200x.
Optimization: Clause Bucketing
To address the inefficiency of padding proofs to a maximum width, the authors introduced Clause Bucketing. By grouping clauses into buckets of similar widths, they achieved a runtime reduction of approximately 50%.
Evaluation and Results
The protocols were implemented in the zkqbf-suite and evaluated against the QBFEVAL benchmark and real-world applications including Partial Equivalence Checking (PEC), Conformant Planning (C-PLAN), and Black Box Checking (BBC).
Key results include:
- Efficiency: On the QBFEVAL’07 dataset, 72% of Q-Res proofs and 82% of winning strategies were verified within 100 seconds.
- Scalability: The system successfully processed proofs containing up to 87,000 steps.
- Application Performance: PEC instances were verified in as little as 8 seconds. C-PLAN and BBC instances, representing more complex tasks, were verified within 200 to 1,200 seconds.
Discussion and Limitations
The transition from logical rules to polynomial identities—the "arithmetization of logic"—is central to maintaining zero-knowledge while ensuring soundness. However, some challenges remain. Memory constraints still limit the handling of extremely large QBF instances. Furthermore, while winning strategies are often more efficient, they can occasionally be exponentially larger than resolution proofs, necessitating an instance-dependent choice of protocol. Finally, the protocols reveal upper bounds on proof size (e.g., step count), a minor privacy trade-off that could be mitigated by additional padding at the cost of performance.
Summary updated