Documentation

DescriptiveComplexity.Problems.Coloring.Reductions

Reductions of the coloring family #

Three reductions, one per problem of the family:

The padding interpretation #

Tags are Option (Fin m): the tag none carries the original graph, and each tag some i carries one blown-up universal vertex.

The padding interpretation adding m universal (blown-up) vertices to a graph: the none-copy keeps the original adjacency, each some i-copy is an independent set, and any two elements with different tags are adjacent.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    Dependency graph
    Dependency graph
    Dependency graph
    Dependency graph
    Dependency graph

    The two colors of the padded palette #

    Correctness of the padding #

    A 3-coloring of a graph yields a (3 + m)-coloring of the padded graph.

    Dependency graph

    A (3 + m)-coloring of the padded graph yields a 3-coloring of the input: each of the m blown-up universal vertices consumes a color of its own, all distinct from the colors of the original copy, which is therefore left with at most three of them. (The input structure must be nonempty: an empty class would consume no color.)

    Dependency graph
    Dependency graph

    3-colorability FO-reduces to (3 + m)-colorability, by padding the graph with m blown-up universal vertices.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      Dependency graph

      Chromatic Number and Clique Cover are complements of each other #

      Dependency graph
      Dependency graph

      Chromatic Number FO-reduces to Clique Cover, by complementing the edges: covering by cliques is coloring the complement.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        Dependency graph

        Clique Cover FO-reduces to Chromatic Number, by the same complementation.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          Dependency graph

          3-colorability reduces to Chromatic Number #

          The threshold must be a marked set of exactly three elements, which no order-free interpretation can produce; with an order it is {0, 1, 2} times the minimum. The fourth tag exists for a different reason: the target problem reads its conflict relation off the diagonal, so a self-loop of the input – which makes it a no-instance – has to be turned into something no 3-coloring survives, and the K₄ on the four copies of the looped vertex is exactly that.

          @[reducible, inline]

          The adjacency symbol over the ordered expansion of the graph vocabulary.

          Equations
          Instances For
            Dependency graph

            The interpretation of 3-colorability into Chromatic Number: the graph on the copy of tag 0, a K₄ on the four copies of each self-looped vertex, and the marked set {0, 1, 2} × {minimum} carrying the threshold 3.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              Dependency graph
              def DescriptiveComplexity.cnPt {A : Type} (i : Fin 4) (v : A) :

              The copy of a vertex carried by a tag.

              Equations
              Instances For
                Dependency graph
                theorem DescriptiveComplexity.cnPt_eta {A : Type} (i : Fin 4) (w : Fin 1A) :
                (i, w) = cnPt i (w 0)
                Dependency graph
                Dependency graph
                Dependency graph
                @[simp]
                theorem DescriptiveComplexity.chrom_adj_same {A : Type} [FirstOrder.Language.graph.Structure A] [LinearOrder A] (i : Fin 4) (hi : i 0) (v w : A) :
                ¬MGAdj (cnPt i v) (cnPt i w)
                Dependency graph
                Dependency graph
                @[simp]
                theorem DescriptiveComplexity.chrom_marked {A : Type} [FirstOrder.Language.graph.Structure A] [LinearOrder A] (i : Fin 4) (v : A) :
                MGMarked (cnPt i v) i 3 ∀ (a : A), v a
                Dependency graph

                The marked set of the interpreted structure has exactly three elements: the first three copies of the minimum.

                Dependency graph

                Correctness of the interpretation: the graph is 3-colorable iff the interpreted marked graph has chromatic number at most the size of its marked set, which is three.

                Dependency graph

                3-colorability ordered-FO-reduces to Chromatic Number: keep the graph, mark three copies of the minimum to carry the threshold, and turn each self-looped vertex into a K₄.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  Dependency graph