Documentation

DescriptiveComplexity.Problems.ThreeDimMatching.Membership

3-dimensional matching is existential second-order definable #

The membership half of its NP-completeness (DescriptiveComplexity.threeDimMatching_sigmaSODefinable): a matching is a relation, so a single existential block guesses it – ternary, the first of the catalog – and the kernel spells out the seven conditions of DescriptiveComplexity.IsMatchingOn: that the guessed triples are available ones inside the three classes, that every marked element is covered, and that no two triples share a coordinate.

The single existential block of the Σ₁ definition: the matching, a ternary relation.

Equations
Instances For
    Dependency graph
    Dependency graph
    @[reducible, inline]

    The vocabulary of the kernel: triple systems together with the guessed matching.

    Equations
    Instances For
      Dependency graph
      @[reducible, inline]

      The first-class symbol in the kernel's vocabulary.

      Equations
      Instances For
        Dependency graph
        @[reducible, inline]

        The second-class symbol in the kernel's vocabulary.

        Equations
        Instances For
          Dependency graph
          @[reducible, inline]

          The third-class symbol in the kernel's vocabulary.

          Equations
          Instances For
            Dependency graph
            @[reducible, inline]

            The triple symbol in the kernel's vocabulary.

            Equations
            Instances For
              Dependency graph
              @[reducible, inline]

              The matching symbol in the kernel's vocabulary.

              Equations
              Instances For
                Dependency graph

                The first-order kernel of the Σ₁ definition: the guessed relation is a matching.

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

                  3-dimensional matching is Σ₁-definable: existentially guess the matching – a ternary relation – then check first-order that it is one. Since NP is defined as Σ₁-definability, this is the membership half of its NP-completeness.

                  Dependency graph