Skip to content

Circuit Satisfiability

The existence of an external Boolean input valuation that drives a finite acyclic gate circuit's designated output to true.

Version
v1 · 2026-10-17 · History
Domain-specific #
14085
Domain group
Applied Sciences & Engineering
Origin domain
Computer Science & Software Engineering
Subdomains
Circuit Complexity, Combinational Equivalence Checking → Computer Science & Software Engineering
Aliases
CircuitSAT, Circuit satisfiability problem

Core Idea

Circuit satisfiability asks whether any external input assignment makes a finite acyclic Boolean gate circuit's designated output true. The circuit stays fixed; internal wires obey its gates. One successful input proves yes. No successful input means no, without requiring a solver or witness as part of the question.[1][2]

How would you explain it like I'm…

Can the Light Turn On?

Picture a toy machine with some switches at the front and one light at the end. Inside, the wires are already connected, and you can only flip the front switches. Circuit Satisfiability is the question: is there any way to set those switches so the light turns on? The answer is just yes or no.

The Switch-Setting Question

A circuit is made of little logic parts called gates, like AND, OR and NOT, connected by wires, with some input switches and one output. Once you set the inputs, every wire inside gets its value automatically from the gates. Circuit Satisfiability is the yes-or-no question: does at least one setting of the inputs make the output 'true'? The circuit stays fixed; only the inputs are tried in different ways. Answering the question is different from just testing one setting, and different from a plan for finding a good setting.

Does Any Input Work?

Circuit Satisfiability is a decision problem. Given a finite Boolean circuit with no loops, does some setting of its external input bits make its output true? The internal wires are not free choices, because each one's value is forced by the gates feeding it. That makes this different from simply evaluating the circuit on one given input, and different from an algorithm that searches for a working input. Gates may share subcircuits, but a circuit shaped like a plain formula also counts. Since there are no loops, the question is about one forward evaluation, not about states changing over time.

 

Circuit Satisfiability (CircuitSAT) takes as input the description of a finite acyclic Boolean circuit C with n external inputs and a designated output, and asks whether there exists x in {0,1}^n such that C(x) = 1. Only external inputs are quantified; internal wire values are functions of those inputs via the gates. The problem is distinct from the circuit as an object, from evaluating C on a supplied x (a polynomial-time computation), and from search algorithms that try to find a satisfying x. Because the gate graph is a DAG, circuits may share subcircuits, while formulas (fan-out one) are a special case. Acyclicity also means there is no state or time: it is not a reachability question about a transition system. Rao gives the existential definition and proves NP-completeness by building a verifier circuit, a result about the problem class rather than an ingredient of each instance.

Scope of Application

  • Verifier circuit. For a fixed problem instance, satisfiability asks whether some candidate witness is accepted.[1]
  • Combinational hardware miter. A difference circuit asks whether two designs disagree on any common input; a yes verdict establishes that an inequivalence witness exists.[3]

Both use the same external-input existence test. Formula-shaped circuits are included, while shared gate graphs need not be formulas.[2]

Clarity

A failed input rules out only that input. An unsatisfiability proof rules out every input. A gate-variable translation to a formula must constrain internal variables to follow the gates, or it can produce a false witness.[1] A yes answer for a miter means disagreement; whether that is desirable depends on the application.[3]

Manages Complexity

Keep five roles separate: acyclic gate circuit, variable external inputs, gate-consistent evaluation, designated Boolean output, and existential yes/no verdict. Gate basis, fan-out and solving method may vary. A CNF encoding translates the question; a solver answers it. Neither defines it.[1][2]

Abstract Reasoning

Identify the circuit's input bits and output gate. Check finite Boolean acyclic structure, then ask whether a coherent evaluation under some external input yields one. A witness proves yes; several failed attempts do not prove no. A formula encoding or miter must preserve that existence condition.[1][3]

Knowledge Transfer

The verifier and miter cases instantiate a total Boolean-valued Function (Mapping) from well-formed circuit descriptions to existence verdicts. Output one means acceptance in the first case and disagreement in the second. The gate circuit and external-input quantifier remain essential; general feasibility without them is a neighboring idea.[1][3]

Relationships to Other Abstractions

Local relationship map for Circuit SatisfiabilityParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.CircuitSatisfiabilityDOMAINPrime abstraction: Function (Mapping) — is a kind ofFunction(Mapping)PRIME

Current abstraction Circuit Satisfiability Domain-specific

Parents (1) — outgoing typed relations

  • Circuit Satisfiability is a kind of Function (Mapping) Prime

    Circuit satisfiability is the Boolean-valued mapping on well-formed acyclic gate-circuit descriptions that tests for any external input producing output one.

Hierarchy path (1) — routes to 1 parentless root

Neighborhood in Abstraction Space

Circuit Satisfiability sits in a sparse region of the domain-specific corpus (63rd percentile for distinctiveness): few abstractions share its structure, so a faithful description tends to retrieve it precisely.

Family — Computational Complexity & Hardness (18 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14

References

[1] Anup Rao. Lecture 8 (NP-complete programs). CSE 431, University of Washington, January 26, 2023. One-based PDF p. 1, Definition 1 and Theorem 3; p. 2, formula fan-out definition; p. 3, Theorem 5 gate-variable CNF construction. Full teaching text inspected; not an original Cook/Levin research paper. registry ↩a ↩b ↩c ↩d ↩e ↩f

[2] Jason Ku and Yun William Yu. Class 4 Scribe Notes, 6.890. Massachusetts Institute of Technology, September 16, 2014. One-based PDF p. 1, §2, Circuit SAT bullets. Ku and Yu are the notetakers; Erik Demaine is the instructor. Full university-hosted course notes inspected for the acyclic gate-DAG and reuse characterization; the printed 2014 date is used rather than the URL directory's spring19 label. registry ↩a ↩b ↩c

[3] Satrajit Chatterjee, Alan Mishchenko, Robert Brayton, and Andreas Kuehlmann. On Resolution Proofs for Combinational Equivalence. Proceedings of the 44th Design Automation Conference (DAC), 2007, pp. 600–605. Printed pp. 600–601 / one-based PDF pp. 1–2, abstract, Figure 1 and §§2.1–2.4. Full original author-hosted text inspected; the figure is a documented example, not an observed production trace. registry ↩a ↩b ↩c ↩d