Kernelization #
A kernelization of a parameterized problem (A, κ) [CyganEtAl2015, Definition 2.1]
[FlumGrohe2006, Definition 9.1] is a polynomial-time map K from instances to instances with
K a ∈ A ↔ a ∈ A, whose output has encoded length and parameter at most g (κ a) for a function
g (Cslib.Complexity.IsKernelization). The problem has a kernel when it has a kernelization
(Cslib.Complexity.HasKernel), and a polynomial kernel when g can be chosen polynomially
bounded (Cslib.Complexity.HasPolyKernel). As for Cslib.Complexity.FPT, g is arbitrary,
where the cited definitions require it to be computable.
Kernels characterize fixed-parameter tractability [CCDF97]:
- A decidable problem with a kernel is fixed-parameter tractable
(
Cslib.Complexity.HasKernel.mem_FPT): run the kernelization, then any decider on its output, whose length is bounded by a function of the parameter. Decidability is the hypothesisA ∈ DTIME enc tfor some time boundtin the length of the encoded instance; a kernel alone does not make a problem decidable. - Conversely, every fixed-parameter tractable problem over a nonempty type of instances has a
kernel (
Cslib.Complexity.hasKernel_of_mem_FPT). If the decider runs withinc (f k (L + 1) ^ e + 1)steps, the kernelization runs it, with the universal machine (Turing.MultiTapeTM.Universal.universal), for(c + 1) (L + 1) ^ (e + 1)steps. If it halts, the kernelization outputs a fixed instance inAor a fixed instance outsideAaccordingly; if not, thenL < f k, and the instance is its own kernel. WhenAhas no instance or every instance, a constant map is a kernelization, so no nontriviality hypothesis is needed beyond a nonempty type of instances.
Problems in P have kernels of constant size (Cslib.Complexity.hasPolyKernel_of_mem_P).
Main definitions #
Main results #
Cslib.Complexity.IsKernelization.fptReducible: every kernelization is an fpt-reduction from the problem to itself.Cslib.Complexity.HasKernel.mem_FPT,Cslib.Complexity.hasKernel_of_mem_FPT,Cslib.Complexity.mem_FPT_iff_hasKernel: a decidable problem is fixed-parameter tractable exactly when it has a kernel.Cslib.Complexity.hasPolyKernel_of_mem_P: problems inPhave kernels of constant size.
References #
Kernels #
K is a kernelization of the parameterized problem (A, κ) with size bound g: it is
computable in polynomial time, preserves membership in A, and its output has encoded length and
parameter at most g (κ a).
- polyTime : Turing.MultiTapeTM.ComputableInPolyTime K enc enc
The kernelization is computable in polynomial time.
The kernelization preserves membership.
The output has encoded length bounded by a function of the parameter.
- parameter_le (a : α) : κ (K a) ≤ g (κ a)
The output has parameter bounded by a function of the parameter.
Every kernelization of (A, κ) is an fpt-reduction from (A, κ) to itself.
Kernels give fixed-parameter tractability #
A decidable problem with a kernel is fixed-parameter tractable: run the kernelization, then a decider on its output.
Fixed-parameter tractability gives kernels #
Fixed-parameter tractable problems have kernels [CCDF97]: run the
decider with a clock (c + 1) (L + 1) ^ (e + 1); on timeout the instance is short.
Kernels characterize fixed-parameter tractability [CCDF97]: a decidable problem over a nonempty type of instances is fixed-parameter tractable exactly when it has a kernel.
Problems in P #
Problems in P have kernels of constant size, over a nonempty type of instances: decide
the instance, and output a fixed instance with the same answer.