NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Complexity classifications for different equivalence and audit problems for Boolean circuits

Elmar Böhler, Nadia Creignou, Matthias Galota, Steffen Reith, Henning Schnoor, Heribert Vollmer

Abstract

We study Boolean circuits as a representation of Boolean functions and consider different equivalence, audit, and enumeration problems. For a number of restricted sets of gate types (bases) we obtain efficient algorithms, while for all other gate types we show these problems are at least NP-hard.

Introduction

In computational complexity, problems involving Boolean circuits—such as determining if two circuits compute the same function (Equivalence) or if a circuit has any satisfying assignments (SAT)—are typically NP-complete or coNP-complete. However, these standard results assume the use of a complete set of logic gates. This research investigates the "dichotomy theorems" for these problems: identifying exactly which restricted sets of logic gates (bases) allow for efficient polynomial-time algorithms and which render the problems computationally hard.

Methods: Leveraging Post’s Lattice

The primary mathematical framework used in this study is Post’s Lattice, which provides a complete classification of all "clones"—sets of Boolean functions closed under composition. By mapping gate sets to specific nodes in this lattice, the authors can systematically classify the complexity of circuit problems.

Post’s Lattice: A complete classification of all Boolean clones.

The researchers employed a dual strategy:

  1. Complexity Classification via Reductions: Using logspace many-one reductions, they demonstrated that hardness for a simple gate set implies hardness for any set capable of simulating it.
  2. Algorithmic Design: For "tractable" cases identified in the lattice, they developed polynomial-time algorithms, often utilizing normal forms like linear equations for XOR-based circuits.

Key Insights

A central finding is that the complexity of circuit problems is almost entirely determined by the algebraic properties of the gates (e.g., monotonicity, self-duality). This allows for immediate prediction of complexity based on the "clone" to which the gates belong.

Furthermore, the study frames "Frozen Variables"—variables forced to a single value in every satisfying assignment—as a security risk. In the context of "Audit Problems," a frozen variable in a database query circuit indicates that an attacker can determine specific bits of private data with absolute certainty.

Key Results

The authors established clear boundaries between tractability (P) and hardness (NP-hard, coNP-hard, or DP-complete) for several fundamental problems.

Definitions and bases for the Boolean function classes in Post’s Lattice.
  • Equivalence & Isomorphism: These problems are tractable only when gates are restricted to simple classes like purely AND, purely OR, or linear (XOR) functions. Otherwise, they are coNP-hard.
  • Frozen Variables: While generally hard, determining frozen variables in monotone circuits (using only AND/OR gates) is efficient, requiring only two specific assignment checks.
  • Audit Dichotomy: Checking if any variable is frozen is DP-complete for most gate sets but drops to P for highly restricted bases.
  • Enumeration: Listing all satisfying assignments is efficient (with "polynomial delay") for monotone, linear, and self-dual functions.

Limitations and Future Work

While the paper provides a comprehensive map, some open questions remain. For Isomorphism, the authors established hardness but not completeness for classes like $\Sigma_2^P$, a challenge similar to the Graph Isomorphism problem. Additionally, while this work focuses on circuits (where outputs can be reused), Boolean formulas (tree-like structures) may exhibit different complexity boundaries. Future research could also refine "tractable" cases to distinguish between Logspace and $NC^1$ complexities.

Summary updated

BibTeX
@inproceedings{bahler2012complexity,
  author = {Elmar Böhler and Nadia Creignou and Matthias Galota and Steffen Reith and Henning Schnoor and Heribert Vollmer},
  title = {{Complexity classifications for different equivalence and audit problems for Boolean circuits}},
  booktitle = {Logical},
  year = {2012},
  doi = {10.2168/lmcs-8(3:31)2012},
}
Figure