Feedback Vertex Set and Feedback Arc Set: definitions #
The two feedback problems of Karp 1972 on directed
graphs – the adjacency relation of a structure is an arbitrary binary
relation, so a FirstOrder.Language.markedGraph-structure already is a
digraph:
DescriptiveComplexity.FeedbackVertexSet: is there a set of at mostkvertices whose removal leaves an acyclic digraph? The thresholdkis the cardinality of the marked set, the unary encoding ofDescriptiveComplexity.Numbers.Unary, so the vocabulary is that of marked graphs;DescriptiveComplexity.FeedbackArcSet: is there a set of at mostkarcs whose removal leaves an acyclic digraph? Its objective counts arcs, and a set of arcs can have quadratically many elements, which a marked subset of the universe cannot reach. The threshold therefore moves one arity up: the vocabularyFirstOrder.Language.markedArcGraphmarks a binary relation, and the number it encodes is theSet.ncardof the corresponding set of pairs (DescriptiveComplexity.nonempty_embedding_iff_ncard_le₂). This is still the unary encoding – order-free and isomorphism-invariant – simply read at arity 2.
Acyclicity, and why it stays first-order checkable #
Acyclicity is a transitive-closure condition (DescriptiveComplexity.AcyclicRel: no
vertex is reachable from itself along a nonempty path, Relation.TransGen
supplying “nonempty path”), so it is not first-order. It is however
equivalent to the existence of a strict partial order containing every
surviving arc (DescriptiveComplexity.acyclicRel_iff_exists_order) – the order being
the transitive closure itself in the interesting direction. Guessing that
order alongside the removed set is what puts both problems in Σ₁
(DescriptiveComplexity.Problems.Feedback.Membership), and it is also what makes the
reduction of DescriptiveComplexity.Problems.Feedback.Reductions provable without any
manipulation of cycles: each direction builds an order from another one.
Both problems are instances of the same generic property of a relation on a
type – DescriptiveComplexity.FeedbackOn removes vertices,
DescriptiveComplexity.FeedbackArcOn removes arcs – with the same acyclicity kit
underneath, which is what the shared certificate lemmas exploit.
Self-loops are cycles under this reading, as they should be: a self-loop at a vertex forces that vertex (resp. that arc) into the removed set.
Relation symbols of the language of arc-marked digraphs.
- adj : markedArcGraphRel 2
adj a b: there is an arc fromatob. - markedArc : markedArcGraphRel 2
markedArc a b: the pair(a, b)belongs to the marked relation.
Instances For
Dependency graph
Equations
- One or more equations did not get rendered due to their size.
Instances For
Dependency graph
Dependency graph
The relational language of arc-marked digraphs: a digraph together with a marked binary relation, whose cardinality (as a set of pairs) serves as threshold.
Equations
- FirstOrder.Language.markedArcGraph = { Functions := fun (x : ℕ) => Empty, Relations := FirstOrder.Language.markedArcGraphRel }
Instances For
Dependency graph
Dependency graph
The adjacency symbol of arc-marked digraphs.
Instances For
Dependency graph
The mark symbol of arc-marked digraphs.
Instances For
Dependency graph
Acyclicity and its first-order certificate #
A relation is acyclic if no element is reachable from itself along a nonempty path.
Equations
- DescriptiveComplexity.AcyclicRel R = ∀ (x : A), ¬Relation.TransGen R x x
Instances For
Dependency graph
Acyclicity is first-order certifiable: a relation is acyclic exactly
when some strict partial order contains it. The order is the transitive
closure in one direction; in the other, a cycle would give Lt x x. This is
what a Σ₁ definition guesses, and what the reductions between the two
feedback problems build.
Dependency graph
Acyclicity transports along an equivalence commuting with the two relations.
Dependency graph
The generic properties #
An arc surviving the removal of the Cp-vertices: both endpoints are
outside Cp and the arc is present.
Instances For
Dependency graph
An arc surviving the removal of the Fp-arcs: the arc is present and not
removed.
Equations
- DescriptiveComplexity.UncutArc Adjp Fp a b = (Adjp a b ∧ ¬Fp a b)
Instances For
Dependency graph
Some set of vertices whose removal makes the digraph acyclic is at most as
large as the number encoded by the Kp-marked elements: “some feedback vertex
set is at most as large as the marked set”.
Equations
Instances For
Dependency graph
Some set of arcs whose removal makes the digraph acyclic is at most as
large as the number encoded by the Kp-marked pairs: “some feedback arc set
is at most as large as the marked relation”.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Dependency graph
The certified forms #
The shape the second-order definitions guess: the removed set (of vertices or of arcs), a strict partial order certifying that what survives is acyclic, and an injection into the marked set (resp. the marked relation) witnessing the threshold.
The feedback-vertex-set property, with acyclicity certified by an order and the threshold by an injection.
Dependency graph
The feedback-arc-set property, with acyclicity certified by an order and the threshold by an injection of pairs.
Dependency graph
Transport along equivalences #
FeedbackOn transports along an equivalence commuting with the two
predicates.
Dependency graph
FeedbackArcOn transports along an equivalence commuting with the two
relations.
Dependency graph
FeedbackOn transports along an equivalence, iff version.
Dependency graph
FeedbackArcOn transports along an equivalence, iff version.
Dependency graph
Vertex covers are feedback vertex sets of the symmetrized graph #
The reduction of Vertex Cover, semantically: a set meets every edge of a digraph iff it kills every cycle of the digraph symmetrized off the diagonal. Killing all 2-cycles already removes every arc, which is why no cycle of any length survives.
Dependency graph
The two problems #
Adjacency in an arc-marked digraph.
Equations
Instances For
Dependency graph
Membership in the marked relation of an arc-marked digraph.
Equations
Instances For
Dependency graph
A marked graph has a feedback vertex set at most as large as its marked set. (Finiteness of the universe is part of the property: cardinality thresholds are only meaningful on finite structures.)
Equations
Instances For
Dependency graph
An arc-marked digraph has a feedback arc set at most as large as its marked relation.
Equations
Instances For
Dependency graph
The feedback-vertex-set threshold property is isomorphism-invariant.
Dependency graph
The feedback-arc-set threshold property is isomorphism-invariant.
Dependency graph
FEEDBACK VERTEX SET, as a problem on marked graphs: is there a set of vertices at most as large as the marked set whose removal leaves an acyclic digraph?
Equations
- One or more equations did not get rendered due to their size.
Instances For
Dependency graph
FEEDBACK ARC SET, as a problem on arc-marked digraphs: is there a set of arcs at most as large as the marked relation whose removal leaves an acyclic digraph?
Equations
- One or more equations did not get rendered due to their size.