The clique family is NP-complete #
Umbrella file for the problems Clique, Independent Set and Vertex Cover on
marked graphs (DescriptiveComplexity.Clique, DescriptiveComplexity.IndependentSet,
DescriptiveComplexity.VertexCover, defined in
DescriptiveComplexity.Problems.CliqueFamily.Defs), collecting the quantifier-free
reductions of DescriptiveComplexity.Problems.CliqueFamily.Reductions and their
composites – all three problems are FO-interreducible – and deriving the
NP-completeness of all three from
DescriptiveComplexity.clique_sigmaSODefinable(DescriptiveComplexity.Problems.CliqueFamily.Membership): membership of Clique, by guessing the clique and an injection of the marked set into it;DescriptiveComplexity.sat_ordered_fo_reduction_clique : SAT ≤ᶠᵒ[≤] Clique(DescriptiveComplexity.Problems.CliqueFamily.FromSat): hardness of Clique, from the Cook–Levin theorem (DescriptiveComplexity.SAT_NP_complete; Cook 1971; Levin 1973);
with no machine model anywhere. Membership travels backward and hardness
forward along the quantifier-free inter-reductions, yielding
DescriptiveComplexity.indSet_NP_complete and
DescriptiveComplexity.vertexCover_NP_complete. As with any complexity-theoretic
statement, these results are about finite marked graphs only
(ComplexityClass.mem_congr_finite/hard_congr_finite).
Vertex Cover FO-reduces to Clique, by composing the mark and edge complementations.
Equations
Instances For
Dependency graph
Clique FO-reduces to Vertex Cover, by composing the edge and mark complementations.
Equations
Instances For
Dependency graph
NP-completeness #
Clique is in NP: it is Σ₁-definable.
Dependency graph
Clique is NP-hard: SAT, which is NP-hard, reduces to it by an ordered FO reduction.
Dependency graph
Clique is NP-complete, derived from the first-order reductions of this library and the Cook–Levin theorem.
Dependency graph
Independent Set is in NP: it FO-reduces to Clique, which is in NP.
Dependency graph
Independent Set is NP-hard: Clique, which is NP-hard, reduces to it.
Dependency graph
Independent Set is NP-complete.
Dependency graph
Vertex Cover is in NP: it FO-reduces to Independent Set, which is in NP.
Dependency graph
Vertex Cover is NP-hard: Independent Set, which is NP-hard, reduces to it.
Dependency graph
Vertex Cover is NP-complete.