Imagine planning a dinner where each guest has a small demand: "either Ana or Beto must come", "either Beto stays home or Carla comes", and so on. Every rule mentions just two people. Your job is to decide who is invited so that every rule is satisfied at once.
This is 2-SAT: a pile of clauses, each a simple "at least one of these two must be true." It feels fiddly, but there is a slick trick that always settles it fast — yes-or-no, with a witness, in a single sweep.
Now loosen one rule to mention three people: "Ana, Beto or Carla — at least one of them comes." That one extra option, repeated across the clauses, is 3-SAT, and it is one of the hardest problems in all of computer science. The jump from two to three literals is the most famous cliff in complexity theory.
Comments
Loading comments...