Documentation

DescriptiveComplexity.Problems.Coloring.Membership

The coloring family is existential second-order definable #

Membership for the three problems, in two flavours dictated by where the number of colors lives.

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
      @[reducible, inline]

      The vocabulary of the kernel: graphs together with the guessed color classes.

      Equations
      Instances For
        Dependency graph
        @[reducible, inline]

        The adjacency symbol in the kernel's vocabulary.

        Equations
        Instances For
          Dependency graph
          @[reducible, inline]

          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
                Dependency graph
                @[reducible, inline]

                The vocabulary of the kernels: marked graphs together with the guessed coloring.

                Equations
                Instances For
                  Dependency graph
                  @[reducible, inline]

                  The adjacency symbol in the kernels' vocabulary.

                  Equations
                  Instances For
                    Dependency graph
                    @[reducible, inline]

                    The mark symbol in the kernels' vocabulary.

                    Equations
                    Instances For
                      Dependency graph
                      @[reducible, inline]

                      The coloring symbol in the kernels' vocabulary.

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

                          Dependency graph