SNP (complexity) explained
In computational complexity theory, SNP (from Strict NP) is a complexity class containing a limited subset of NP based on its logical characterization in terms of graph-theoretical properties. It forms the basis for the definition of the class MaxSNP of optimization problems.
It is defined as the class of problems that are properties of relational structures (such as graphs) expressible by a second-order logic formula of the following form:
\existsS1...\existsS\ell\forallv1...\forallvm\phi(R1,...,Rk,S1,...,S\ell,v1,...,vm)
where
are relations of the structure (such as the adjacency relation, for a graph),
are unknown relations (sets of tuples of vertices), and
is a quantifier-free formula: any boolean combination of the relations.
[1] That is, only existential second-order quantification (over relations) is allowed and only universal first-order quantification (over vertices) is allowed.If existential quantification over vertices were also allowed, the resulting complexity class would be equal to NP (more precisely, the class of those properties of relational structures that are in NP), a fact known as
Fagin's theorem.
For example, SNP contains 3-Coloring (the problem of determining whether a given graph is 3-colorable), because it can be expressed by the following formula:
\existsS1\existsS2\existsS3\forallu\forallvl(S1(u)\veeS2(u)\veeS3(u)r)\wedgel(E(u,v)\implies(\negS1(u)\vee\negS1(v))\wedge\left(\negS2(u)\vee\negS2(v)\right)\wedge(\negS3(u)\vee\negS3(v))r)
Here
denotes the adjacency relation of the input graph, while the sets (unary relations)
correspond to sets of vertices colored with one of the 3 colors.Similarly, SNP contains the
k-SAT problem: the
boolean satisfiability problem (SAT) where the formula is restricted to
conjunctive normal form and to at most
k literals per clause, where
k is fixed.
MaxSNP
An analogous definition considers optimization problems, when instead of asking a formula to be satisfied for all tuples, one wants to maximize the number of tuples for which it is satisfied.That is, MaxSNP0 is defined as the class of optimization problems on relational structures expressible in the following form:
|\{(v1,...,vm)\colon\phi(R1,...,Rk,S1,...,S\ell,v1,...,vm)\}|
MaxSNP is then defined as the class of all problems with an
L-reduction (
linear reduction, not
log-space reduction) to problems in
MaxSNP0.
[2] For example,
MAX-3SAT is a problem in
MaxSNP0: given an instance of 3-CNF-SAT (the
boolean satisfiability problem with the formula in
conjunctive normal form and at most 3 literals per clause), find an assignment satisfying as many clauses as possible.In fact, it is a natural
complete problem for
MaxSNP.
There is a fixed-ratio approximation algorithm to solve any problem in MaxSNP, hence MaxSNP is contained in APX, the class of all problems approximable to within some constant ratio.In fact the closure of MaxSNP under PTAS reductions (slightly more general than L-reductions) is equal to APX; that is, every problem in APX has a PTAS reduction to it from some problem in MaxSNP.In particular, every MaxSNP-complete problem (under L-reductions or under AP-reductions) is also APX-complete (under PTAS reductions), and hence does not admit a PTAS unless P=NP. However, the proof of this relies on the PCP theorem, while proofs of MaxSNP-completeness are often elementary.
See also
References
- Book: Grädel . Erich . Kolaitis . Phokion G. . Libkin . Leonid . Leonid Libkin . Maarten . Marx . Spencer . Joel . Joel Spencer . Vardi . Moshe Y. . Moshe Y. Vardi . Venema . Yde . Weinstein . Scott . Finite model theory and its applications . limited . 1133.03001 . Texts in Theoretical Computer Science. An EATCS Series . Berlin . . 978-3-540-00428-8 . 2007 . 350 .
Notes and References
- Book: Feder . Tomás . Vardi . Moshe Y. . Proceedings of the twenty-fifth annual ACM symposium on Theory of computing - STOC '93 . Monotone monadic SNP and constraint satisfaction . 1993 . 1993 . 612–622 . 10.1145/167088.167245. 0897915917 . 9229294 . free .
- Papadimitriou . Christos H. . Yannakakis . Mihalis . Optimization, approximation, and complexity classes . 0765.68036 . J. Comput. Syst. Sci. . 43 . 3 . 425–440 . 1991 . 10.1016/0022-0000(91)90023-X .