The coloring family is existential second-order definable #
Membership for the three problems, in two flavours dictated by where the number of colors lives.
- For
DescriptiveComplexity.KCol k, the numberkis fixed by the problem, so the definition can guess thekcolor classes askunary relation variables and check first-order that they cover the vertices and that no edge stays inside a class (DescriptiveComplexity.kCol_sigmaSODefinable); the kernel is built withFormula.iSup/iInfoverFin k. - For
DescriptiveComplexity.ChromaticNumberandDescriptiveComplexity.CliqueCover, the number is the size of the marked set, so it is not available to the formulas – there is no “kclasses” to write down. The palette form (DescriptiveComplexity.paletteColorableOn_iff) removes the problem: colouring with as many colors as the marked set has elements is colouring by the marked set, which a single binary relation variableCol x y, read as “xhas colory”, expresses. The kernel then has two clauses: every vertex gets some marked color, and two conflicting vertices never share a color. Note that the guessed relation need not be functional: choosing one color per vertex is enough, and the second clause already forbids a shared one.
The two threshold problems differ only in the sign of the adjacency atom in
that second clause, so their kernels come from one builder
(DescriptiveComplexity.paletteProperClause) parameterized by that sign.
Membership: the color classes as guessed relations #
The single existential block of the Σ₁ definition of k-colorability:
one unary relation variable per color.
Equations
Instances For
Dependency graph
The symbol of the i-th color class.
Equations
Instances For
Dependency graph
The vocabulary of the kernel: graphs together with the guessed color classes.
Equations
Instances For
Dependency graph
The adjacency symbol in the kernel's vocabulary.
Instances For
Dependency graph
The symbol of the i-th color class in the kernel's vocabulary.
Equations
Instances For
Dependency graph
The first-order kernel of the Σ₁ definition of k-colorability: every
vertex belongs to some color class, and no edge has both endpoints in the
same class.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Dependency graph
k-colorability is Σ₁-definable: existentially guess the k color
classes, then check first-order that they cover the vertices and that no edge
stays inside a class. Since NP is defined as Σ₁-definability, this is the
membership half of the NP-completeness of k-colorability.
Dependency graph
Chromatic Number and Clique Cover: the palette as a binary relation #
The single existential block of the Σ₁ definitions of the two threshold
problems: one binary relation variable, read as “this vertex has that
color”, the colors being the marked elements.
Equations
Instances For
Dependency graph
The symbol of the coloring relation variable.
Instances For
Dependency graph
The vocabulary of the kernels: marked graphs together with the guessed coloring.
Equations
Instances For
Dependency graph
The adjacency symbol in the kernels' vocabulary.
Instances For
Dependency graph
The mark symbol in the kernels' vocabulary.
Instances For
Dependency graph
The coloring symbol in the kernels' vocabulary.
Instances For
Dependency graph
The kernel of the Σ₁ definition of a threshold coloring problem.
Equations
Instances For
Dependency graph
Chromatic Number is Σ₁-definable: guess a coloring of the vertices
by the marked elements, and check first-order that every vertex has a marked
color and that no two adjacent vertices share one.
Dependency graph
Clique Cover is Σ₁-definable: the same definition with the
adjacency atom negated – covering by cliques is coloring the complement.