The coloring family is NP-complete #
Umbrella file for k-colorability, Chromatic Number and Clique Cover
(DescriptiveComplexity.KCol, DescriptiveComplexity.ChromaticNumber,
DescriptiveComplexity.CliqueCover, defined in
DescriptiveComplexity.Problems.Coloring.Defs), collecting the reductions of
DescriptiveComplexity.Problems.Coloring.Reductions and deriving NP-completeness from
- the
Σ₁definitions ofDescriptiveComplexity.Problems.Coloring.Membership– color classes askunary relations for the fixed-kproblem, a coloring by the marked elements as one binary relation for the two threshold problems; - the NP-hardness of 3-colorability
(
DescriptiveComplexity.threeCol_NP_hard), and so ultimately the Cook–Levin theorem, with no machine model anywhere:KCol kfork ≥ 3by padding, Chromatic Number by the ordered reduction marking three copies of the minimum, and Clique Cover by complementing the edges.
The chain is 3COL ≤ᶠᵒ[≤] ChromaticNumber ≤ᶠᵒ CliqueCover ≤ᶠᵒ ChromaticNumber:
the last two problems are interreducible, so it does not matter which of them
carries the hardness. As with any complexity-theoretic statement, these
results are about finite structures only
(DescriptiveComplexity.ComplexityClass.mem_congr_finite/hard_congr_finite).
k-colorability #
k-colorability is in NP: it is Σ₁-definable.
Dependency graph
For k ≥ 3, k-colorability is NP-hard: 3-colorability, which is
NP-hard, reduces to it by padding.
Dependency graph
k-colorability is NP-complete for every k ≥ 3.
Dependency graph
Chromatic Number and Clique Cover #
Chromatic Number is in NP: it is Σ₁-definable.
Dependency graph
Chromatic Number is NP-hard: 3-colorability, which is NP-hard, reduces to it by an ordered FO reduction.
Dependency graph
Chromatic Number is NP-complete, derived from the first-order reductions of this library and the Cook–Levin theorem.
Dependency graph
Clique Cover is in NP: it is Σ₁-definable.
Dependency graph
Clique Cover is NP-hard: Chromatic Number, which is NP-hard, reduces to it by complementing the edges.
Dependency graph
Clique Cover is NP-complete.