Reduction: 3SAT → Independent Set

In 3SAT the input is a set of clauses, each with three or fewer literals, e.g.

(xˉyzˉ)(xyˉz)(xyz)(xˉyˉ)(\bar{x} \vee y \vee \bar{z})(x \vee \bar{y} \vee z)(x \vee y \vee z)(\bar{x} \vee \bar{y})

Goal: Find a satisfying truth assignment.

In INDEPENDENT SET the input is a graph and a number gg, and the problem is to find a set of gg pairwise non-adjacent vertices.

How do we transform this problem:

Recovering a solution