Documentation

DescriptiveComplexity.Problems.CliqueFamily

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

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).

Dependency graph
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
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
Dependency graph