Documentation

DescriptiveComplexity.Problems.Feedback.CountingArc

#Feedback Arc Set: counting the feedback arc sets of the threshold size #

The counting version of DescriptiveComplexity.FeedbackArcSet: the number of sets of arcs, with exactly as many elements as the marked relation, whose removal leaves an acyclic digraph (DescriptiveComplexity.FasOfSize).

A solution is a set of arcs of the graph. The decision problem does not ask for that – removing a pair that is not an arc removes nothing – but a count has to: otherwise every solution could be padded with pairs that are not arcs, in as many ways as there are such pairs.

The support is not the decision problem, for the reason it is not for Set Cover: a feedback arc set smaller than the threshold extends to one of exactly that size only while arcs remain, so with a threshold above the number of arcs Feedback Arc Set may hold and the count be 0. The support is “some feedback arc set has exactly the threshold size” (DescriptiveComplexity.sharpFeedbackArcSet_support_iff).

Membership in #P (DescriptiveComplexity.sharpFeedbackArcSet_mem_sharpP) combines the two unique certificates at hand: the transitive closure for acyclicity (DescriptiveComplexity.IsAcyclicClosure), and the monotone bijection between two sets of pairs for the size (DescriptiveComplexity.sharpPDefinable_of_sizedPairs). Parsimonious hardness is in DescriptiveComplexity.Problems.Feedback.CountingArcHardness.

def DescriptiveComplexity.FasOfSizeOn {A : Type} (Adjp Kp F : A → A → Prop) :

The relation F is a set of arcs whose removal leaves an acyclic digraph, with exactly as many pairs as the marked relation.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    Dependency graph
    def DescriptiveComplexity.fasOfSizeEquiv {A B : Type} (u : B ≃ A) {AdjB KB : B → B → Prop} {AdjA KA : A → A → Prop} (hadj : ∀ (b b' : B), AdjB b b' ↔ AdjA (u b) (u b')) (hK : ∀ (b b' : B), KB b b' ↔ KA (u b) (u b')) :
    { F : B → B → Prop // Finite B ∧ FasOfSizeOn AdjB KB F } ≃ { F : A → A → Prop // Finite A ∧ FasOfSizeOn AdjA KA F }

    The feedback arc sets of the threshold size transport along an equivalence commuting with the two relations.

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

      The counting problem #

      The relation F is a feedback arc set with exactly as many arcs as the marked relation has pairs, in a finite arc-marked digraph.

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

        #Feedback Arc Set: the number of feedback arc sets with exactly as many arcs as the marked relation has pairs.

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

          The support of #Feedback Arc Set: some feedback arc set has exactly the threshold size. Registered in the Lax archive as Lax280166.FeedbackArcSetComplete.sharpFeedbackArcSet_support_iff.

          Dependency graph

          The support of #Feedback Arc Set implies Feedback Arc Set; the converse fails when the threshold exceeds the number of arcs. Registered in the Lax archive as Lax280166.FeedbackArcSetComplete.feedbackArcSet_of_sharpFeedbackArcSet_support.

          Dependency graph

          Membership #

          @[reducible, inline]

          The tc symbol over the sum.

          Equations
          Instances For
            Dependency graph

            The relation variables of the block.

            Instances For
              Dependency graph
              @[reducible, inline]

              The marked symbol over the sum.

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

                The vocabulary of the kernel: the instance expanded by the block.

                Equations
                Instances For
                  Dependency graph
                  @[reducible, inline]

                  The adj symbol over the sum.

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

                    The block of the counting definition of Feedback Arc Set: the removed arcs, and the transitive closure of the others.

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

                      #Feedback Arc Set is in #P: the size is certified by the monotone bijection between pairs, and acyclicity by the transitive closure.

                      Dependency graph