Making IP=PSPACE Practical: Efficient Interactive Protocols for BDD Algorithms

Eszter Couillard, Philipp Czerner, Javier Esparza, Rupak Majumdar · DOI

Abstract

While complexity theory has long established that Interactive Protocols (IP) can verify PSPACE computations, practical implementations have historically lagged behind theoretical promises. This paper introduces blic, a tool that bridges this gap by making the "IP = PSPACE" theorem computationally efficient for automated reasoning. By utilizing "extended BDDs" (eBDDs) and a specialized interactive protocol, blic certifies the results of complex reasoning tasks with minimal prover overhead and extremely compact, fast-to-verify certificates.

Introduction

Automated reasoning tools, such as SAT and QBF solvers, are foundational to the verification of critical hardware and software systems. However, the complexity of these solvers makes them prone to implementation bugs. To ensure trust, solvers must produce "certificates"—mathematical proofs that their outputs are correct. Traditional certification methods, often based on resolution proofs, suffer from a scalability crisis: certificates can reach petabytes in size, making them impractical to store or check.

Complexity theory offers a potential solution through Interactive Protocols (IP), where a Verifier confirms a Prover's answer in polynomial time with high probability. Until now, these protocols were considered impractical because the Prover algorithms were significantly slower than their non-certifying counterparts. This research presents a breakthrough by integrating an efficient Prover directly into high-performance Binary Decision Diagram (BDD) algorithms.

Problem Statement: The #CP Problem

The authors focus on the #CP problem (counting satisfying assignments for circuits with partial evaluation). This problem is a generalization of SAT and QBF, representing a broad class of PSPACE-complete problems. The goal is to provide a mechanism where a solver can prove the correctness of its count to a skeptical verifier without the verifier having to re-run the entire computation.

Methodology

1. The CPCertify Protocol

The researchers developed CPCertify, an interactive protocol based on the classic SumCheck protocol. The process begins with "arithmetization," where boolean formulas are transformed into polynomials over a finite field. This allows the Verifier to check the sum of the polynomial's values over a boolean hypercube through a series of interactive rounds.

2. Extended BDDs (eBDDs)

The core technical innovation is the extended BDD (eBDD). While standard BDDs are efficient for representing boolean functions, they are not natively designed for the polynomial evaluations required by interactive protocols. The authors demonstrated that multilinear polynomials can be represented directly as BDDs. By incorporating "book-keeping" nodes into a standard BDD library, the Prover can compute the necessary multilinear and quadratic polynomials during the normal execution of the algorithm.

3. Efficient Proving with Linear Overhead

Because the proof is generated as a byproduct of the BDD construction, the Prover incurs only a constant factor of overhead—approximately 2.8x—compared to a non-certifying version of the same algorithm. This represents a significant improvement over previous theoretical models where the Prover's overhead was often exponential or prohibitively high.

Experimental Evaluation

The authors evaluated blic across several challenging benchmark sets:

  • QBF Evaluation 2022: 172 unsatisfiable instances from the "Crafted Instances" track.
  • Lonsing Benchmarks: A family of benchmarks specifically designed to challenge modern solvers.
  • Linear Domino Placing Game: A benchmark used to test the scalability of BDD-based QBF research.

Key Results

  • Competitive Performance: blic remains competitive with state-of-the-art non-certifying QBF solvers like CAQE and DepQBF, often outperforming existing certifying BDD-based solvers.
  • Certificate Compression: In one instance where a traditional BDD solver produced a 7.4 GiB proof, blic required only 132 MiB of communication—a reduction of nearly two orders of magnitude.
  • Rapid Verification: Verification in blic is nearly instantaneous, taking milliseconds to seconds. In contrast, traditional checkers like qchecker can take hours to process the same instances.
  • Probabilistic Security: By moving from absolute logical certainty to probabilistic certainty, the system achieves massive efficiency gains. The probability of a dishonest Prover successfully fooling the Verifier is less than $10^{-10}$, a margin that can be further reduced (e.g., to $10^{-30}$) through simple protocol repetition.

Discussion and Future Work

While blic demonstrates the practical viability of interactive protocols, it is currently limited to BDD-based algorithms. BDDs are powerful but can suffer from "state space explosion," and modern Conflict-Driven Clause Learning (CDCL) solvers are often faster for specific problem classes.

The success of blic suggests a new paradigm for software certification: "Verification is Free." When the Verifier's work is negligible and the Prover's overhead is low, the barrier to adopting formal certification disappears. Future research will focus on extending this efficiently certifying framework to other algorithmic families, such as CDCL SAT solvers and SMT solvers, to bring the benefits of IP=PSPACE to the broader automated reasoning community.

Summary updated

BibTeX
@inproceedings{couillard2023making,
  author = {Eszter Couillard and Philipp Czerner and Javier Esparza and Rupak Majumdar},
  title = {{Making IP=PSPACE Practical: Efficient Interactive Protocols for BDD Algorithms}},
  booktitle = {CAV},
  year = {2023},
  doi = {10.1007/978-3-031-37709-9\_21},
}
Figure