Imagine a set of yes/no switches and a list of rules about them: "at least one of A, B, C is on", "A and B are not both on", and so on. Is there any way to flip the switches so that every rule holds at once?
That is the Boolean satisfiability problem, or SAT. The switches are variables (true or false), the rules are clauses, and a formula is satisfiable if some assignment makes all clauses true at the same time.
It sounds like a puzzle, and it is — but it's also the problem that, in 1971, became the very first to be proven NP-complete. Almost every hard problem you've met on this site can be rephrased as a SAT formula. Understanding SAT means understanding the shape of difficulty itself.
Comments
Loading comments...