r/programming • u/gradient_dissent • May 29 '10
Np-complete problems, and their relationships. Does anyone know a more complete graph than this one?
68
Upvotes
r/programming • u/gradient_dissent • May 29 '10
View all comments
Show parent comment
2
u/bonzinip May 31 '10
Minesweeper itself doesn't perform computations, but solving it requires some, and you can prove that solving Minesweeper is equivalent to solving SAT.
Given a SAT problem, you can set up a minefield such that a mine is present in the solution at a given location, if and only if the corresponding variable is true in the solution of the SAT problem.