Fixed-parameter tractability of vertex cover #
A bounded search tree of depth k decides whether a graph has a vertex cover of size k
[DowneyFellows1999, Section 3.1] [FlumGrohe2006, Section 1.2] [CyganEtAl2015, Section 3.1]: every
edge {u, v} between declared vertices must have u or v in any cover, so branching on the two
endpoints of the first uncovered edge (Cslib.Complexity.VertexCover.branchStep) explores at most
2 ^ k root-to-leaf paths of length k.
A path of length m is numbered by i < 2 ^ m, whose j-th binary digit chooses the endpoint at
step j (Cslib.Complexity.VertexCover.foldBranch). To keep the path length bounded by the size
of the graph even when the binary target k exceeds the number n of distinct declared vertices,
the search caps the depth at min n k (Cslib.Complexity.VertexCover.cap) and checks k ≤ n
separately (Cslib.Complexity.mem_VertexCover_iff_exists_card_le). Iterating over the
2 ^ min n k paths (Cslib.Complexity.DecidableInExpTime.of_exhaustiveSearch) runs within time
2 ^ k times a polynomial in the length of the encoded instance
(Cslib.Complexity.VertexCover_decidableInExpTime_one), so VertexCover is fixed-parameter
tractable in the target size k (Cslib.Complexity.VertexCover_mem_FPT).
Main definitions #
Cslib.Complexity.VertexCover.branchStep,Cslib.Complexity.VertexCover.foldBranch: a step and a root-to-leaf path of the bounded search tree.Cslib.Complexity.VertexCover.search: bounded-search-tree decision procedure forVertexCover.
Main results #
Cslib.Complexity.VertexCover.exists_lt_two_pow_isCover_foldBranch: if a graph has a vertex cover of at mostmvertices, one of the2 ^ mpaths of lengthmfinds a cover.Cslib.Complexity.VertexCover.search_eq_true_iff:VertexCover.searchdecidesVertexCover.Cslib.Complexity.VertexCover_decidableInExpTime_one:VertexCoveris decidable within time2 ^ ktimes a polynomial in the length of the encoded instance.Cslib.Complexity.VertexCover_mem_FPT,Cslib.Complexity.VertexCover_hasKernel:VertexCoveris fixed-parameter tractable and has a kernel in the target sizek.
References #
Bounded search tree #
Completeness of the bounded search tree. A graph G has a vertex cover of at most m
declared vertices if and only if some i < 2 ^ m leads to a cover along the path of length m
given by the binary digits of i.
The search procedure #
The search depth min |V| k, where |V| is the number of distinct declared vertices of G.
VertexCover.search decides VertexCover.
Running time #
The capped depth cap is computable in polynomial time in unary.
A single step of the bounded search tree is polynomial-time.
VertexCover by bounded search tree: VertexCover is decidable within time 2 ^ k times
a polynomial in the length of the encoded instance, for target cover size k.
VertexCover is fixed-parameter tractable in the target cover size k.
VertexCover has a kernel in the target cover size k.