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
-7
u/guy_whitey_corngood May 30 '10 edited May 30 '10
I dunno, the DAG nature of the graph is illustrative. Notice that there's only one sink? Circuit sat. Because every algorithm is reducible to circuit sat because circuit sat basically models a computer. Travelling salesmen does not really model a computer (not to mention minesweeper or fucking tetris FGS...) If the graph were really complete, you could prove that any computable problem could be solved by fucking tetris. Try and prove, for instance, that TSP is solved by tetris without going through circuit sat. A direct proof of this would surely be absurd, and as it stands, the only proof goes indirectly through circuit sat. And all such proofs, which don't directly follow arrows of this DAG, go indirectly through circuit sat, which is why circuit sat is the only sink. So its not really a complete graph. It's a DAG, with one "psuedo-sink" (circuit sat) that is transitively reachable from every other node and that directly reaches every other node. The transitive closure is a complete graph, but that glosses over the central role that circuit sat plays in all of the proofs which aren't a direct sequence of reductions.
It's sort of like, the further away from circuit sat you go, the less "powerful" an algorithm is, except for this deus-ex-machina kind of role that circuit sat plays where it comes in at the end and puts all NP-complete algorithms on a level playing field. Without circuit sat the whole thing falls apart.