encyclopegia.org

Circuit satisfiability problem

In theoretical computer science, the circuit satisfiability problem (also known as CIRCUIT-SAT, CircuitSAT, CSAT, etc.) is the decision problem of determining whether a given Boolean circuit has an assignment of its inputs that makes the output true.[src] In other words, it asks whether the inputs to a given Boolean circuit can be consistently set to 1 or 0 such that the circuit outputs 1.[src] If that is the case, the circuit is called satisfiable.[src] Otherwise, the circuit is called unsatisfiable.[src] In the figure to the right, the left circuit can be satisfied by setting both inputs to be 1, but the right circuit is unsatisfiable.[src] CircuitSAT is closely related to the Boolean satisfiability problem (SAT), and likewise, has been proven to be NP-complete.[src] It is a prototypical NP-complete problem; the Cook–Levin theorem is sometimes proved on CircuitSAT instead of on the SAT, and then CircuitSAT can be reduced to the other satisfiability problems to prove their NP-completeness.[src] The satisfiability of a circuit containing m arbitrary binary gates can be decided in time O(2^{0.4058m}) .[src]

In theoretical computer science, the circuit satisfiability problem (also known as CIRCUIT-SAT, CircuitSAT, CSAT, etc.) is the decision problem of determining whether a given Boolean circuit has an assignment of its inputs that makes the output true.[src] In other words, it asks whether the inputs to a given Boolean circuit can be consistently set to 1 or 0 such that the circuit outputs 1.[src] If that is the case, the circuit is called satisfiable.[src] Otherwise, the circuit is called unsatisfiable.[src] In the figure to the right, the left circuit can be satisfied by setting both inputs to be 1, but the right circuit is unsatisfiable.[src] CircuitSAT is closely related to the Boolean satisfiability problem (SAT), and likewise, has been proven to be NP-complete.[src] It is a prototypical NP-complete problem; the Cook–Levin theorem is sometimes proved on CircuitSAT instead of on the SAT, and then CircuitSAT can be reduced to the other satisfiability problems to prove their NP-completeness.[src] The satisfiability of a circuit containing m arbitrary binary gates can be decided in time O(2^{0.4058m}) .[src] ==Proof of NP-completeness== Given a circuit and a satisfying set of inputs, one can compute the output of each gate in constant time.[src] Hence, the output of the circuit is verifiable in polynomial time.[src] Thus Circuit SAT belongs to complexity class NP.[src] To show NP-hardness, it is possible to construct a reduction from 3SAT to Circuit SAT.[src] Suppose the original 3SAT formula has variables x_1,x_2,\dots,x_n , and operators (AND, OR, NOT) y_1,y_2,\dots,y_k .[src] Design a circuit such that it has an input corresponding to every variable and a gate corresponding to every operator.[src] Connect the gates according to the 3SAT formula.[src] For instance, if the 3SAT formula is (\lnot x_1\land x_2)\lor x_3, the circuit will have 3 inputs, one AND, one OR, and one NOT gate.[src] The input corresponding to x_1 will be inverted before sending to an AND gate with x_2, and the output of the AND gate will be sent to an OR gate with x_3.[src] Notice that the 3SAT formula is equivalent to the circuit designed above, hence their output is same for same input.[src] Hence, If the 3SAT formula has a satisfying assignment, then the corresponding circuit will output 1, and vice versa.[src] So, this is a valid reduction, and Circuit SAT is NP-hard.[src] This completes the proof that circuit SAT is NP-Complete.[src] ==Reduction from CircuitSAT== Reduction from CircuitSAT or its variants can be used to show NP-hardness of certain problems, and provides us with an alternative to dual-rail and binary logic reductions.[src] The gadgets that such a reduction needs to construct are: A wire gadget.[src] This gadget simulates the wires in the circuit.[src] A split gadget.[src] This gadget guarantees that all the output wires have the same value as the input wire.[src] Gadgets simulating the gates of the circuit.[src] A true terminator gadget.[src] This gadget is used to force the output of the entire circuit to be true.[src] A turn gadget.[src] This gadget allows us to redirect wires in the right direction as needed.[src] A crossover gadget.[src] This gadget allows us to have two wires cross each other without interacting.[src] ==The Tseytin transformation== The Tseytin transformation is a straightforward reduction from Circuit-SAT to SAT.[src] The transformation is easy to describe if the circuit is wholly constructed out of 2-input NAND gates (a functionally-complete set of Boolean operators): assign every net in the circuit a variable, then for each NAND gate, construct the conjunctive normal form clauses (v 1 ∨ v 3 ) ∧ (v 2 ∨ v 3 ) ∧ (¬v 1 ∨ ¬v 2 ∨ ¬v 3 ), where v 1 and v 2 are the inputs to the NAND gate and v 3 is the output.[src] These clauses completely describe the relationship between the three variables.[src] Conjoining the clauses from all the gates with an additional clause constraining the circuit's output variable to be true completes the reduction; an assignment of the variables satisfying all of the constraints exists if and only if the original circuit is satisfiable, and any solution is a solution to the original problem of finding inputs that make the circuit output 1.[src] The converse—that SAT is reducible to circuit-SAT—follows trivially by rewriting the Boolean formula as a circuit and solving it.[src] ==See also== Circuit value problem Satisfiability problem[src]

47 sentences · 47 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Circuit satisfiability problem." encyclopegia.org, 2026, https://encyclopegia.org/wiki/circuit-satisfiability-problem. Accessed 27 November 2026.

Chicago

"Circuit satisfiability problem." encyclopegia.org. Accessed November 27, 2026. https://encyclopegia.org/wiki/circuit-satisfiability-problem.

APA

encyclopegia.org. (2026). Circuit satisfiability problem. Retrieved November 27, 2026, from https://encyclopegia.org/wiki/circuit-satisfiability-problem

Accessed November 27, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

promise problem

stub · references available

Albert Park Circuit

stub · references available

Shanghai International Circuit

stub · references available

Circuit de Monaco

stub · references available

Silverstone Circuit

stub · references available

Yas Marina Circuit

stub · references available

Charade Circuit

stub · references available

Port Imperial Street Circuit

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1365516081 · 0.5 · snapshot enwiki-001365516081

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.