Documentation

DescriptiveComplexity.Problems.CliqueFamily.Reductions

Reductions between Clique, Independent Set and Vertex Cover #

The classical reductions inside the clique family, as quantifier-free first-order reductions on marked graphs (all of tag Unit and dimension 1):

The counting step of the vertex-cover reductions (DescriptiveComplexity.coverOn_iff_indepOn_not) is the only place where finiteness is used; it enters through the finiteness conjunct of the problems themselves. That step is pure unary-representation arithmetic – complementing a marked set subtracts its decoded number from the size of the universe, hence reverses comparisons – and is discharged by DescriptiveComplexity.ncard_compl_le_ncard_compl_iff and DescriptiveComplexity.ncard_compl_le_iff of DescriptiveComplexity.Numbers.Unary.

Complementation lemmas for the generic properties #

theorem DescriptiveComplexity.cliqueOn_iff_indepOn_compl {A : Type} (Adjp : AAProp) (Kp : AProp) :
CliqueOn Adjp Kp IndepOn (fun (x y : A) => x y ¬Adjp x y) Kp

A clique is an independent set of the complement graph (loops removed).

Dependency graph
theorem DescriptiveComplexity.indepOn_iff_cliqueOn_compl {A : Type} (Adjp : AAProp) (Kp : AProp) :
IndepOn Adjp Kp CliqueOn (fun (x y : A) => x y ¬Adjp x y) Kp

An independent set is a clique of the complement graph (loops removed).

Dependency graph
theorem DescriptiveComplexity.coverOn_iff_indepOn_not {A : Type} [Finite A] (Adjp : AAProp) (Kp : AProp) :
CoverOn Adjp Kp IndepOn Adjp fun (x : A) => ¬Kp x

On a finite universe, a vertex cover at most as large as the marked set exists iff an independent set at least as large as the complement of the marked set does: complementation exchanges the two.

Dependency graph
theorem DescriptiveComplexity.indepOn_iff_coverOn_not {A : Type} [Finite A] (Adjp : AAProp) (Kp : AProp) :
IndepOn Adjp Kp CoverOn Adjp fun (x : A) => ¬Kp x

On a finite universe, an independent set at least as large as the marked set exists iff a vertex cover at most as large as the complement of the marked set does.

Dependency graph

The two interpretations #

The edge-complementing interpretation: adjacency becomes off-diagonal non-adjacency, marks are kept.

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

    The mark-complementing interpretation: adjacency is kept, marks are complemented.

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

      Characterizations of the interpreted relations #

      Dependency graph
      Dependency graph
      Dependency graph
      Dependency graph

      Correctness #

      Correctness of the edge complementation, independent-set-to-clique direction.

      Dependency graph

      Correctness of the edge complementation, clique-to-independent-set direction.

      Dependency graph

      Correctness of the mark complementation, vertex-cover-to-independent-set direction.

      Dependency graph

      Correctness of the mark complementation, independent-set-to-vertex-cover direction.

      Dependency graph

      The reductions #

      Independent Set FO-reduces to Clique, by complementing the edges.

      Equations
      Instances For
        Dependency graph

        Clique FO-reduces to Independent Set, by complementing the edges.

        Equations
        Instances For
          Dependency graph

          Vertex Cover FO-reduces to Independent Set, by complementing the marked set.

          Equations
          Instances For
            Dependency graph

            Independent Set FO-reduces to Vertex Cover, by complementing the marked set.

            Equations
            Instances For
              Dependency graph