Polynomial Kernel and Incompressibility for Prison-Free Edge Deletion and Completion
Abstract
Given a graph and an integer , the -free Edge Deletion problem asks whether there exists a set of at most edges of whose deletion makes free of induced copies of . Significant attention has been given to the kernelizability aspects of this problem – i.e., for which graphs does the problem admit an “efficient preprocessing” procedure, known as a polynomial kernelization, where an instance of the problem with parameter is reduced to an equivalent instance whose size and parameter value are bounded polynomially in ? Although such routines are known for many graphs where the class of -free graphs has significant restricted structure, it is also clear that for most graphs the problem is incompressible, i.e., admits no polynomial kernelization parameterized by unless the polynomial hierarchy collapses. These results led Marx and Sandeep to the conjecture that -free Edge Deletion is incompressible for any graph with at least five vertices, unless is complete or has at most one edge (JCSS 2022). This conjecture was reduced to the incompressibility of -free Edge Deletion for a finite list of graphs . We consider one of these graphs, which we dub the prison, and show that Prison-Free Edge Deletion has a polynomial kernel, refuting the conjecture. On the other hand, the same problem for the complement of the prison is incompressible.
Keywords and phrases:
Graph modification problems, parameterized complexity, polynomial kernelizationCopyright and License:
![[Uncaptioned image]](x1.png)
2012 ACM Subject Classification:
Theory of computation Parameterized complexity and exact algorithmsEditors:
Olaf Beyersdorff, Michał Pilipczuk, Elaine Pimentel, and Nguyễn Kim ThắngSeries and Publisher:

1 Introduction
Let be a graph. A graph is -free if it does not contain as an induced subgraph. More generally, let be a collection of graphs. A graph is -free if it is -free for every . In the -free Edge Editing (respectively -free Edge Editing) problem, given a graph and an integer , the task is to add or delete at most edges from such that the result is -free (respectively -free). The Edge Deletion and Edge Completion variants are the variants where only deletions, respectively only adding edges is allowed. These are special cases of the much more general graph modification problem class, where a problem is defined by a graph class and the natural problem variants ( Edge Editing/Deletion/Completion respectively Vertex Deletion) are where the input graph is to be modified so that the result is a member of .
As Cai [2] noted, for every finite , the -free graph modification problems are FPT with a running time of by a simple branching algorithm. However, the question of kernelization is much more subtle. A polynomial kernelization for a parameterized problem is a polynomial-time procedure that takes as input an instance of the problem, for example, in the case of a graph modification problem, and outputs an instance of the same problem such that for some polynomially bounded function of , and such that is a yes-instance if and only if is a yes-instance. If so, we say that the problem has a polynomial kernel. This has been used as a way to capture the notion of efficient instance simplification and preprocessing, and deep and extensive work has been done on determining whether various parameterized problems have polynomial kernels or not (under standard complexity-theoretical assumptions). See the book by Fomin et al. [11].
For many graph modification problems, both those characterized by finite and infinite families , polynomial kernelization is known, but for many others, the question is wide open; see the survey of Crespelle et al. on parameterized edge modification problems [5]. For the structurally simpler case of -free Edge Deletion, if is a clique then the problem reduces to -Hitting Set for and has a polynomial kernel by the sunflower lemma, and if then the problem is trivial. For the same reason, -free Vertex Deletion has a polynomial kernel for every fixed . But in all other cases, the question is more intricate, since deleting an edge in one copy of in can cause another copy of to occur, implying a dependency between modifications that is not present in the simpler cases. Beyond cliques and near-empty graphs, polynomial kernels are known when is (i.e., -free graphs are cluster graphs) [12], (i.e., -free graphs are cographs) [13], the paw [7] and the diamond [4] (see Figure 1). Kernels are also known for several simple classes characterized by finite sets . But there are significant open cases; Crespelle et al. [5] highlight the classes of claw-free graphs and line graphs, although the case of line graphs has since been resolved [6]. Initially, progress led Fellows et al. [9] to ask (very speculatively) whether -free graph modification problems have polynomial kernels for all finite . This was refuted by Kratsch and Wahlström [14], and after a series of lower bounds, most importantly by Cai and Cai [3], the answer now appears to be the opposite – the -free graph modification problems have polynomial kernels only for particularly restrictive choices of . Furthermore, in all such cases the kernel depends intimately on the structural characterization of the graph class, such as structural decomposition results. However, it would appear unlikely that such a structural characterization of -free graphs should exist for any arbitrary graph , and correspondingly, we would expect -free edge modification problems not to admit polynomial kernelization. For example, despite the above-mentioned positive results, -free Edge Deletion has no kernel for where , for for or for any such that or its complement is 3-connected (excepting the trivial cases) [3]. Marx and Sandeep [15] pushed the pendulum in the other direction and conjectured that for graphs on at least five vertices, only the above-mentioned immediate kernels exist, conjecturing the following.
Conjecture 1 (Conjecture 2 of [15]).
-free Edge Deletion does not have a polynomial kernel for any graph on at least 5 vertices, unless is complete or has at most one edge.
They showed that this conjecture is equivalent to the statement that -free Edge Deletion admits no polynomial kernelization if is one of nineteen specific graphs on five or six vertices. They also gave a corresponding conjecture for -free Edge Editing (where is no longer a trivial case), and the case of -free Edge Completion follows by dualization.
In this paper, we refute this conjecture. We study the graph shown in Figure 1 (the complement of ), which we dub a prison (given that it can be drawn as the 5-vertex “house” graph with additional crossbars added). This is the first graph in the set in [15]. We show that Prison-free Edge Deletion has a polynomial kernel. On the other hand, Prison-free Edge Completion admits no polynomial kernelization unless the polynomial hierarchy collapses. We leave Prison-free Edge Editing open for future work.
1.1 Our results
As expected, our result builds on a characterization of prison-free graphs. We then derive the kernelization and lower bound results working over this characterization.
Prison-free graphs.
The start of our results is a structure theorem for prison-free graphs. To begin with, note that the 4-vertex induced subgraphs of a prison are , the diamond and the paw; see Figure 1. The structure of diamond-free and paw-free graphs are known: A graph is diamond-free if and only if it is strictly clique irreducible, i.e., every edge of the graph lies in a unique maximal clique [17], and a graph is paw-free if and only if every connected component is either triangle-free or complete multipartite [16]. The structure of prison-free graphs generalizes both.
A complete multipartite graph with classes is a graph whose vertex set is the disjoint union and with an edge for and if and only if . Note that a clique is a complete multipartite graph where every part is a singleton. We show the following.
Theorem 2.
A graph is prison-free if and only if the following holds: Let be an inclusion-wise maximal set such that is complete multipartite with at least 4 parts, and let . Then intersects at most one part of .
Furthermore, let for be the collection of all inclusion-wise maximal such that is complete multipartite with at least classes. We show that induces a form of partition of the cliques of .
Corollary 3.
Let be a prison-free graph. The following hold.
-
1.
If are distinct and , then intersects only one class of and of , and there are no edges between and . In particular, is edgeless.
-
2.
If with , then for every , intersects at most one class of
-
3.
Let be an edge that occurs in at least one in . Then there is a unique such that occurs in .
In particular, every in , is contained in a unique . It also follows that can be enumerated in polynomial time in prison-free graphs.
Lower bound for prison-free completion.
We show that Prison-free Edge Completion is incompressible, i.e., admits no polynomial kernel parameterized by unless the polynomial hierarchy collapses. Counterintuitively, this result exploits the property that minimum solutions for the problem can be extremely expensive – we can design a sparse graph such that every prison-free supergraph of contains edges (for example, by ensuring that the only possible -decomposition of a prison-free supergraph of consists of a single component ). More strongly, we use this to show an additive gap hardness version of the problem.
Theorem 4.
For any , it is NP-hard to approximate Prison-free Edge Completion up to an additive gap of , even if has an edge such that is -free.
With this in place, we can proceed with the lower bound using standard methods, using the notion of cross-composition [1, 11]. We follow the method used in previous lower bounds against kernelization of -free edge modification problems [14, 3]. Given a list of instances of the above gap-version of Prison-Free Edge Completion with parameter value , our task is to produce an instance of Prison-Free Edge Completion with parameter which corresponds to the OR of the instances . For this, we define a binary tree of height and place the instances at the leaves of the tree. At the root of the tree, we place a single induced prison. For the internal nodes, we design propagational gadgets with the function that if the gadget at the node is edited, then one of the gadgets at the children of the node must be edited as well. Finally, for every instance with an edge such that is prison-free, we connect to the corresponding gadget at the leaf of the tree and remove from . This forces at least one edge , to be added to the resulting graph and the original instance must be solved.
The crux is that, unlike previous proofs (for example in Cai and Cai [3] when is 3-connected) we cannot “control” the spread of the edge completion solution to be confined to . On the contrary, the solution must spread all the way to the root and incorporate all vertices from gadgets on the root-leaf path of the binary tree into a single complete multipartite component of the resulting graph . Thus, we have no tight control over the number of edges added in the corresponding solution. However, by the strong lower bound on gap-hardness of Theorem 4 we do not need tight control – we can simply set the additive gap large enough that the number of edges added outside of in the resulting propagation is a lower-order term compared to .
Theorem 5.
Prison-free Edge Completion does not have a polynomial kernel parameterized by unless the polynomial hierarchy collapses.
Kernel for prison-free deletion.
The kernelization algorithm depends directly on the structural characterization of prison-free graphs. We start by using the sunflower lemma to obtain a small set of prisons in the graph such that any set of edges of size at most that intersects all prisons in has to intersect all prisons in . We let be the set of vertices of these prisons. Note that , and outside of we only need to be concerned by prisons that are created by deleting some edge from . This lets us delete all edges not in that do not belong to a strict supergraph of a prison. In addition, if a prison in contains a single edge inside , then such an edge has to be included in every solution of size at most , so it can be deleted and decreased. After exhaustive application of these two reduction rules, we show that the edges of can be partitioned into maximal complete multipartite subgraphs of (even those which do not occur in ). For each of these maximal complete multipartite subgraphs, we can check whether it is in some larger complete multipartite subgraph in that is nicely separated from the rest of , in the sense that every neighbors vertices in at most one class of . For any such , no supergraph of a prison can contain edge both outside and inside of and edges inside of can be safely deleted from . This allows us to bound the number of maximal complete multipartite subgraphs outside of by . In addition, we show that any supergraph of a prison in that contains an edge fully outside of is fully contained in for a single maximal multipartite subgraph of . This allows us to treat these multipartite subgraphs separately. Moreover, using the fact that for any edge , the graph is still prison-free, we can show that the interaction between and a maximal multipartite subgraph of is very structured. This allows us to reduce the size of each of these subgraphs and we obtain the following theorem.
Theorem 6.
Prison-Free Edge Deletion admits a polynomial kernel.
Structure of the paper.
2 Structure of prison-free graphs
We begin our study by characterizing the structure of prison-free graphs. This generalizes two structures. The most closely related is for paw-free graphs; note that the paw is the subgraph of the prison produced by deleting an apex vertex. Olariu [16] showed that a graph is paw-free if and only if every connected component is either triangle-free or a complete multipartite graph. The paw-free graph modification problems have polynomial kernels due to Eiben et al. [7]. Second, less closely related but still relevant, the diamond is a subgraph of the prison produced by deleting a vertex of degree 3. It is known that a graph is diamond-free if and only if every edge occurs in only one maximal clique [17]. The diamond-free graph modification problems have polynomial kernels due to Cao et al. [4]. In a sense, the structure of prison-free graphs generalizes both, as the edge-sets of cliques , in a prison-free graph decomposes into complete multipartite induced subgraphs of .
We first prove Theorem 2 from the introduction, then use it to derive the more informative Corollary 3.
Lemma 7 (111Results marked with have their proofs deferred to the full version.).
Let be a prison-free graph and let induce a in . Then there is a complete multipartite graph in with . Furthermore, if is maximal under this condition, then for any , intersects at most one component of .
Inspired by this, for any graph and , define to consist of all maximal subsets such that is complete multipartite with at least parts. We refer to as the complete multipartite decomposition of (and we will note that it is indeed a decomposition for if is prison-free). The following theorem is now an extension of the previous lemma. Proofs of Theorem 2 and Corollary 3 are deferred to the full version.
See 2 We will use this to derive a more useful description of prison-free graphs.
See 3
In particular, the last item implies that every , is contained in a unique multipartite component . Since every contains a , and each maximal component can be found greedily, can be computed efficiently.
3 Incompressibility of Prison-free Edge Completion
In this section, we show that Prison-free Edge Completion admits no polynomial kernel unless the polynomial hierarchy collapses. The proof is in two parts. First we show a strong inapproximability result – it is NP-hard to approximate Prison-free Edge Completion within an additive gap of for every , even for graphs with prison-free edge deletion number 1. We then use this to show a cross-composition (see below) for Prison-free Edge Completion, thereby ruling out polynomial kernels under standard complexity conjectures. This latter part roughly follows the outline of previous proofs of incompressibility [14, 3].
3.1 Initial observations and support gadgets
We begin with some useful statements.
Proposition 8.
For a complete multipartite graph with parts of sizes , the number of edges of is .
For a graph and a set of edges over , we let denote the graph . A prison-free completion set for is an edge set over such that is prison-free. A solution to is a prison-free completion set for with . The following is essential in our lower bounds.
Lemma 9 ().
Let be a graph with exactly one induced and let be a minimal prison-free completion set for . Then has exactly 1 component and lives within that component.
We next show a way to enforce forbidden edges, i.e., non-edges in such that no prison-free completion set for of at most edges contains .
Lemma 10 ().
Let be a graph, , and with such that . There is a graph on vertex set such that and the following holds: the minimal solutions to are precisely the minimal solutions to such that . Furthermore, every solution to satisfies .
component.
We now proceed with gadget constructions. A propagational component is a graph containing 3 distinct non-edges , and such that for any graph and subset of , if is prison-free and , then or . Figure 2(a) shows this component. In what follows, we will deduce gadgets from this propagation property, leaving the proof of their prison-freeness for later.
Definition 11.
Let . A cloning component of length is a component over the vertices , , with the edges such that for all , induces a propagational component with , and the edge is forbidden. All arithmetic here is modulo .
A cloning component is drawn in Figure 2(b). Note that for all , if a solution for an instance contains in a cloning component, then it contains (since or , but is forbidden). We inductively obtain the next property.
Lemma 12 ().
Let , and be a graph containing an induced cloning component of size with vertices named , and as above. Let be a subset of non-edges such that and is prison-free. Then either or for every . Furthermore, in the latter case all of is contained in a complete multipartite component of .
We define one final gadget, shown in Figure 2(c). This does the same job as a propagational component – i.e., if then or – except that the edges , , are pairwise vertex-disjoint. This is the propagational gadget mentioned in the proof overview.
Definition 13.
A disjoint propagational component is a graph isomorphic to the graph shown in Figure 2(c), i.e., a graph on a vertex set such that vertex sets , and all induce propagational components, , , , and are standard non-edges and and are forbidden edges. The edge labelled is referred to as input edge and the edges and are output edges.
3.2 NP-hardness of Gap Prison-free Edge Completion
We now prove the first half of the incompressibility result for Prison-Free Edge Completion, namely that it remains NP-hard even in a strong additive gap version.
Let Gap Prison-free Edge Completion be the variant of Prison-free Edge Completion where the input is a triple and the task is to distinguish between the following cases:
-
1.
has a prison-free completion set of at most edges.
-
2.
has no prison-free completion set of fewer than edges.
For intermediate cases (where the size of a minimum-cardinality prison-free editing set is ) the output may be arbitrary. The following is the more precise version of Theorem 4 from the introduction. We defer the construction to the full version of the paper.
Theorem 14 ().
For any , it is NP-hard to distinguish between yes-instances and no-instances of Gap Prison-free Edge Completion even if contains an edge such that is -free and the gap is .
Proof sketch.
We can only give a brief sketch here and refer to the full version for details. The result is shown by a reduction from Vertex Cover on cubic graphs. At its heart is the following principle. We create a graph which has a single induced . Then by Lemma 9, for any minimal prison-free completion set of , will be contained in a single complete multipartite component of . Using forbidden edges, we can have tight control over the partition of , which lets us predict well. In particular, we can ensure that the number of edges added scales quadratically with .
Our reduction uses two gadgets: cloning components, of sufficiently large length , and disjoint propagational components. Let where be an input instance of Vertex Cover where is a cubic graph. Using one initial cloning component with a single seeded active edge , we can force the propagation of into disjoint activation edges , one for every edge of . For every edge , associated with an edge of , we create a disjoint propagational component with input edge and output edges and associated with the vertices and of . Finally, for every vertex we create a very large cloning component, which contains all edges associated with it, and whose length depends on the desired gap . Thus, prison-free completion sets of the resulting graph which activate the cloning components of distinct vertices of , lead to a prison-free supergraph of where the unique complete multipartite component of contains vertices, guaranteeing that for a corresponding minimum solution . We can now achieve the desired gap by tuning to be sufficiently large.
3.3 Compositionality of Prison-Free Edge Completion
We prove Theorem 5 by an or-composition over instances of Gap Prison-free Edge Completion, using Theorem 4 to support the composition.
We recall some definitions [1]. A polynomial equivalence relation is an equivalence relation on such that the following hold:
-
1.
There is an algorithm that given two strings decides in time polynomial in whether and are equivalent.
-
2.
For any finite set , the number of equivalence classes that is partitioned to is polynomially bounded in the size of the largest element of .
Let be a language, a polynomial equivalence relation and a parameterized language. An OR-cross-composition of into (with respect to ) is an algorithm that given instances of belonging to the same equivalence class of , uses time polynomial in and outputs an instance of such that the following hold:
-
1.
The parameter value is polynomially bounded in .
-
2.
is a yes-instance of if and only if at least one instance is a yes-instance of .
If an NP-hard language has an OR-cross-composition into a parameterized problem then admits no polynomial kernelization, unless the polynomial hierarchy collapses [1]. We proceed to show this for Prison-free Edge Completion.
We present here a high-level sketch of the result, based directly on Theorem 4. In the full version, we present a more careful proof with explicit parameters. Thus for simplicity, let be a sequence of instances of Gap Prison-free Edge Completion with a sufficiently high gap value , , to be tuned later. Via a polynomial equivalence relation, we may assume that , , and holds for every input instance . By Theorem 4, we assume that for every instance there is a single edge such that is prison-free; refer to this as the activation edge of an d delete it from the graph.
For the composition, let be such that . Define a balanced binary tree of height whose leaves are labelled , . Please a disjoint propagational component for every internal node of the tree, identifying the two output edges with the children of and the input edge at with the corresponding output edge of the parent of . Initially, all input and output edges are absent except that the input edge at the root of the tree is present. Finally identify the output edge leading into the leaf with the activation edge of the graph . If there are any unused output edges, for example if is odd, make these edges forbidden. Let be the resulting instance of Prison-free Edge Completion where is yet to be determined.
Lemma 15 ().
Let be a prison-free completion set for . Then there is some such that contains the activation edge of the graph . Furthermore, for every , any minimal prison-free edge completion set for can be completed into a prison-free completion set for which contains every output edge in the path from the root to but no other output edges from the tree.
We are now ready to finish the proof.
See 5
Proof sketch.
We show that the construction above is a cross-composition into Prison-free Edge Completion with parameter . Consider briefly the two cases. First, if for some the input instance is positive, let be a prison-free completion set for with . By Lemma 15 there is a prison-free completion set for that modifies edges along the root-leaf path to of the binary tree, and does not contain any other output edge of the tree. By Lemma 9 and minimality of and we may now assume that touches no vertices of the binary tree except on the root-leaf path to , and contains no further edges inside beyond . Let be the number of vertices in the gadgets of the tree incident with edges of ; since the tree has height and each node is constant size, we have . Thus
On the other hand, assume that for every the minimum prison-free completion set for has . Let be a prison-free completion set for . By Lemma 15 there is some such that the activation edge of is contained in . Thus contains a prison-free completion set for and . By the construction of Theorem 4, we can tune the parameters so that these quantities separate, and choose a parameter where
in which case the reduction is complete.
4 Polynomial kernel for Prison-free Edge Deletion
In this section we will find a polynomial kernel for Prison-Free Edge Deletion. Let be a graph and . We will fix throughout this section to be an instance of Prison-Free Edge Deletion.
Throughout this section, for a graph , and an edge of , we call common neighborhood of the set . In addition, given a graph and a set of vertices , we denote by the set , when is clear from the context.
4.1 Finding a Small Vertex Modulator
We start by finding a small subset of vertices such that any edgeset with at most edges that intersects all prisons in also intersects all prisons in . While this is not sufficient for a kernel, as deleting an edge can create a prison, outside of this set, we only need to focus on prisons that are created by deleting an edge. To obtain this set, we will use well known Sunflower Lemma due to Erdös and Rado [8].
A sunflower in a set family is a subset such that all pairs of elements in have the same intersection called core.
Lemma 16 (Sunflower Lemma, [8, 10]).
Let be a family of subsets of a universe , each of cardinality exactly , and let . If , then contains a sunflower of cardinality at least . Moreover, can be computed in time polynomial in .
Lemma 17 ().
We can in in polynomial time either determine that is no-instance of Prison-Free Edge Deletion or compute a set with such that for every prison in and every with , it holds that if is prison-free, then .
Proof Sketch.
The proof is a straightforward application of Lemma 16. Let . Note that each set contains precisely edges. We iteratively apply Lemma 16 on to find a sunflower of size . If the core of the sunflower is empty, then contains edge-disjoint prisons and is no instance. Else any solution of size at most interesects the core and that is the case even if we require to hit only prisons of , so we remove arbitrary prison from and repeat the procedure until no suflower of size can be find. At that point contains at most many prisons and any with that intersect all of the prisons that are left in intersects all prisons in . We let to be the set of all vertices in these prisons.
For the rest of the section and of the proof, we let be the set computed by Lemma 17. It follows, as long as we keep as the subgraph of the reduced instance, we only need to be concerned about the prisons that are created by removing some edge from , as all the prisons that were in to start with are hit by a set of at most edges as long as is prison-free. Given the above, the following two reduction rules are straightforward.
Reduction Rule 1 ().
If an edge is not in a strict supergraph of a prison, delete it.
Reduction Rule 2 ().
For every prison in , if , then remove and decrease by one.
Thanks to these Reduction Rules, we found a set of vertices of size polynomial in such that for any subset of vertices of such that has at most one edge, is prison-free. We note that we assume that all reduction rules are applied exhaustively; that is whenever a reduction rule is applicable, we apply it and restart the process from the beginning. Hence, in all statements in the rest of the section, we implicitely assume that none of the reduction rules can be applied.
4.2 Consequences on the Structure of
Now we are able to show the following properties that will be useful for the kernel. The following lemma gives us a stronger property than just the characterisation of prison-free graphs.
Lemma 18 ().
Let be a maximal complete multipartite subgraph of such that has exactly three classes. Then there exists with . Moreover, there is a strict supergraph of a prison that contains and an edge in .
Proof Sketch.
Since has three classes, there are such that is a triangle in . Due to Reduction Rule 1, each edge of is in a strict supergraph of a prison and hence in in . Now given a that contains , we conclude that is adjacent to either or , else induces a prison with at most one edge in and Reduction Rule 2 applies. Hence is a subset of a , say . As a consequence of Lemma 7 and since is prison-free, one can show that has to be fully included in the -free part of , and hence . Now, any vertex is adjacent to exactly two vertices in and hence if , then induces a prison without an edge in , which is impossible due to the construction of .
Lemma 19 ().
For all , for all , intersects at most one class of .
Proof Sketch.
The Lemma follows for by Lemma 7. Hence, we can assume . For the sake of contradiction, assume that for , we have that contains an edge . Since has three classes, for every in the class that does not contain nor , we have that is a triangle. Moreover, similarly as in the proof of Lemma 18, one can show using Lemma 7 that cannot be and so . Since, is inclusion maximal, there is such that . By Lemma 18, there is with . But then either or induces a prison with no edge in (depending on whether or not), which is impossible due to the construction of .
Lemma 20 ().
If a supergraph of a prison of has an edge in , then .
Proof Sketch.
For the sake of contradiction, let be a supergraph of a prison of that has an edge in and there is . One can show that due to Lemma 19 and application of Reduction Rule 2, is a strict supergraph of a prison with and (or ) being the only non-edge of . Moreover, contains triangle , as it has at least three classes and by Lemma 19. Due to Reduction Rule 2, cannot induce a prison, and either or . If (resp. ), then (resp. ) induces a prison in with at most one edge in , contradicting application of Reduction Rule 2.
Let’s now focus on the edges of that are not in any triangle. We show that since Reduction Rules 1 and 2 has been exhaustively applied, even these edges can be partitioned to maximal complete bipartite subgraphs.
Let be the set of edges of that are not in any triangle in . For all , we note . Note that every edge belongs to a in due to the application of Reduction Rule 1. Since, is not in any triangle in , it follows that it is in some for . On the other hand, we show that if , then , otherwise contains a prison with at most one edge in , which gives us the following lemma.
Lemma 21 ().
is a partition of .
The following lemma is a straightforward consequence of Reduction Rule 2, since for every , is prison-free and hence is -free.
Lemma 22 ().
For all , is complete multipartite and if is non empty, is a complete bipartite graph.
Lemma 23 ().
Let . Assume that is not empty. Then any induced supergraphs of a prison that has an edge in is in .
Proof Sketch.
Assume that there is an induced supergraphs of a prison , where in and . It follows from Reduction Rule 2 and the fact that is not in a triangle in that (1) is a strict supergraph of a prison with only non-edge (resp. ) and (2) . By Lemma 21, . Since is maximal complete bipartite subgraph of , the class that contains (resp. ), contains a vertex (resp. ) with . But then (resp. ) induces a prison in with only one edge inside , which is a contradiction.
It follows that we can partition the edges of in complete multipartite subgraphs, where one of these complete multipartite subgraphs can intersect another in at most one class. The following reduction rule lets us reduce the number of complete multipartite subgraphs in this partition to . Given this bound, we will reduce size of each of these components as well as number of isolated vertices in by a polynomial function in as well.
Reduction Rule 3 ().
Let . If is a maximal complete multipartite component such that and for every vertex , intersects at most one class of , remove all edges of .
Proof Sketch.
It is not difficult to show that there is no supergraph of a prison in that contains an edge with both endpoints in and at the same time an edge with at least one endpoint outside of . Given this for every , every prison in is either all edge in or all edges in , since is complete multipartite and hence prison-free, it suffices to hit all prisons in .
Recall that we always assume that none of the previous reduction rules can be applied, in particular from now on we assume also that Reduction Rule 3 is not applicable.
From now on, we denote
Lemma 24 ().
The edges of can be partitioned into at most many maximal complete multipartite subgraphs of .
Proof Sketch.
Clearly every edge in is in a maximal complete multipartite subgraph of . We only need to show that each edge is in precisely one such subgraph and that their number is at most . First note the edges in are partitioned into at most many complete bipartite graphs by Lemma 21. Hence, we only need to consider the edges that are in some . It is a rather straightforward consequence of Lemma 19 that any edge in cannot be in any other maximal complete multipartite subgraph in . It remains to show that show that .
We will now define a function such that for all , it holds that (1) and (2) contains at least one vertex in . That is is injective. We will show that every edge in is in at most many complete multipartite subgraph in the image of and every element of the image of contains an edge of , bounding by .
If , then since Reduction Rule 3 has been exhaustively applied, there is such that intersects at least two classes of , and since is prison-free and contains a , is complete multipartite. We define as any maximal complete multipartite component of containing . Else, if , then by Lemma 18, there is a vertex such and is a complete multipartite graphs with at least four parts. We define as a maximal complete multipartite subgraph of containing .
Claim 25 ().
Let be an edge of . Then at most elements of contains the vertices of .
There are thus at most elements of that contains an edge in .
Claim 26 ().
Each element of contains an edge in .
So . Since is injective, . Therefore, .
We will have a kernel once we have bounded the size of a maximal complete multipartite subgraphs and the number of isolated vertices in . Before we show how to bound those, let us observe the following two simple lemmas.
Lemma 27 ().
Let and . If intersects more than one class of , then either , where is a single class in , or .
Lemma 28 ().
Let such that is non empty, and let . either contains or it intersects at most one class of .
4.3 Marking important vertices
We will now mark some important vertices that we will keep to preserve the solutions and afterwards argue that we can remove all the remaining vertices without changing the value of an optimal solution. To better understand why this marking procedure works, it is useful to recall Lemmas 20 and 23 that state that any (not necessarily strict) supergraph of a prison that has at least one edge in some is fully contained in . That is only supergraphs of the prison that can contain vertices in more than one complete multipartite subgraph from are those with all edges either in or between and . Such supergraphs of a prison have always at most two vertices outside of . Before we give the details of the marking procedure, let us introduce a concept of neighborhood pattern. Let and , then the neighborhood pattern of in is . Moreover, for two vertices , we say and have the same neighborhood pattern in if .
Now, let . By Lemmas 27 and 28, for every , if , then there are only three possibities how and can interact. Namely,
-
1.
for a single part of ;
-
2.
for a single part of ;
-
3.
.
Given the above, we can split the classes of into two types.
- Type 1.
-
There is such that or . We denote the set of classes of Type 1. as ;
- Type 2.
-
The rest, which we denote .
We compute a set of marked vertices for the component as follows. We note that whenever we say, we mark some number of vertices with some property, we mean that if there are more than many vertices with that property, we mark arbitrary many of them, else we mark all of them. Let us start with marking vertices in a class of Type 1. for every . For each with , and for each neighborhood pattern in , we add to arbitrary vertices of with the neighborhood pattern in . Observe that for any with , there is with and so for any neighborhood pattern in , there is a neighborhood pattern in that is equal to if restricted to . Hence, using this marking, we marked at least vertices with any neighborhood pattern in any with as well.
In addition, we pick arbitrary classes of that are in and add arbitrary vertices from each picked class to .
Lemma 29 ().
Given the above marking procedure, for all , it holds that .
In addition to marking the set for each , we mark additional set of at most vertices by going over all subsets of of size and for each neighborhood pattern in , we mark at most additional vertices of that are not in any with the given neighborhood pattern in . We denote this set of at most vertices as . Additionally, observe that this way, we mark at least vertices for each neighborhood pattern in any subset of of size at most four as well.
Lemma 30 ().
Let . Then is yes-instance of Prison-Free Edge Deletion if and only if is. In addition .
Proof.
The bound on the size of follows from the fact that that , , and Lemma 29. Now, is an induced subgraph of and hence for every , if is prison-free, then also is. Therefore, if is yes-instance, then so is .
For the rest of the proof, let us assume that is yes-instance and let be such that and is prison-free. We show that is also prison-free. For the sake of contradiction, let’s assume that induces a prison in . Let us distinguish two cases depending on whether contains an edge between two vertices outside of or not.
- Case 1.
-
All edges of have at least one endpoint in . Note that in this case, there are at most two vertices of outside of .
If only one vertex of , say , is outside of , then clearly is the only vertex of not in . Note that this also means that none of the edges incident with is in . Moreover, contains at least vertices with the same neighborhood pattern in , else would have been either in or in for some . Since , it follows that at least one of these vertices, let’s call it , is not incident to an edge in and in particular to an edge between and a vertex in . However, then is isomorphic to and induces a prison, which is a contradiction with being prison-free.
Now assume that two vertices and are outside of , and there is no edge between and in . Note that the other non-edge of share an endpoint with , and w.l.o.g., we can assume it is . As at least one of and is not in , . Moreover, , else is a prison in and Lemma 17 implies that intersects . Hence, , by our marking procedure, there are at least vertices in with and . One of these vertices is not incident on any edge in . For such a vertex , either or is a prison in depending on whether or .
- Case 2.
-
contains an edge in . Then by Lemmas 20 and 23, it follows that there exists such that . Let . Now, for , If belongs to , then by construction of and the fact that , either contains or a vertex such that (1) , (2) , and (3) is not incident to any edge of . On the other hand, if some of the vertices in are in the classes in , then all such vertices have exactly same neighborhood in , moreover, either all their respective classes contain vertices in , or there are at least five classes of that each has vertices in and no vertex in these classes is incident on an edge in . Hence, for each vertex in that belongs to a class , we can find and such that (1) , (2) is not incident on any edge in , and (3) if and are in , then and are in the same class of if and only and are. Let be a subgraph of such that for all , if , then and else is computed as described above, depending on whether or . It follows that for all , there is an edge if and only if . Moreover, since implies that , it follows that if and only if . Therefore, induces a prison in , which is a contradiction.
Hence, such prison in cannot exist and is prison-free as well. Consequently, is yes-instance of Prison-Free Edge Deletion if and only if is and the Lemma follows. The polynomial kernel for Prison-Free Edge Deletion then follows from Lemma 30 by observing that all reduction rules as well as marking procedure can be applied in polynomial time. See 6
5 Conclusions
We have showed that -free Edge Deletion has a polynomial kernel when is the 5-vertex graph we call the “prison” (consisting of minus two adjacent edges). On the other hand, -free Edge Completion for the same graph does not have a polynomial kernel unless the polynomial hierarchy collapses. By edge complementation, this is equivalent to the statement that -free Edge Deletion has no polynomial kernel, where is the edge complement of . The positive result refutes a conjecture by Marx and Sandeep [15], who conjectured that -free Edge Deletion has no polynomial kernel for any graph on at least five vertices except trivial cases.
In [15], the conjecture is reduced to the statement that -free Edge Deletion has no polynomial kernel for any graph in a list of nineteen small graphs, via a sequence of problem reductions. In this naming scheme, the prison is the complement of . The exclusion of co- from this list introduces a sequence of new minimal graphs for which the kernelization problem is open, out of which the smallest are the prison plus a vertex which is (respectively) an isolated vertex; attached to a degree-3 vertex of the prison; or attached to both a degree-3 and a degree-2 vertex of the prison (R. B. Sandeep, personal communication, using software published along with [15]). It is at the moment not known whether the new list is finite using the methods of [15].
More broadly, the result suggests that the picture of kernelizability of -free Edge Modification problems could be more complex than conjectured by Marx and Sandeep. If so, the question of precisely where the tractability line goes for polynomial kernelization seems highly challenging, as all kernelization results so far (including ours) rely on highly case-specific structural characterizations of -free graphs. We leave these deeper investigations into the problem open for future work. We also leave open the question of a polynomial kernel for Prison-free Edge Editing.
References
- [1] Hans L. Bodlaender, Bart M. P. Jansen, and Stefan Kratsch. Kernelization lower bounds by cross-composition. SIAM J. Discret. Math., 28(1):277–305, 2014. doi:10.1137/120880240.
- [2] Leizhen Cai. Fixed-parameter tractability of graph modification problems for hereditary properties. Inf. Process. Lett., 58(4):171–176, 1996. doi:10.1016/0020-0190(96)00050-6.
- [3] Leizhen Cai and Yufei Cai. Incompressibility of H-free edge modification problems. Algorithmica, 71(3):731–757, 2015. doi:10.1007/S00453-014-9937-X.
- [4] Yixin Cao, Ashutosh Rai, R. B. Sandeep, and Junjie Ye. A polynomial kernel for diamond-free editing. Algorithmica, 84(1):197–215, 2022. doi:10.1007/S00453-021-00891-Y.
- [5] Christophe Crespelle, Pål Grønås Drange, Fedor V. Fomin, and Petr A. Golovach. A survey of parameterized algorithms and the complexity of edge modification. Comput. Sci. Rev., 48:100556, 2023. doi:10.1016/J.COSREV.2023.100556.
- [6] Eduard Eiben and William Lochet. A polynomial kernel for line graph deletion. In Fabrizio Grandoni, Grzegorz Herman, and Peter Sanders, editors, 28th Annual European Symposium on Algorithms, ESA 2020, September 7-9, 2020, Pisa, Italy (Virtual Conference), volume 173 of LIPIcs, pages 42:1–42:15. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2020. doi:10.4230/LIPICS.ESA.2020.42.
- [7] Eduard Eiben, William Lochet, and Saket Saurabh. A polynomial kernel for paw-free editing. In IPEC, volume 180 of LIPIcs, pages 10:1–10:15. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2020. doi:10.4230/LIPICS.IPEC.2020.10.
- [8] Paul Erdös and Richard Rado. Intersection theorems for systems of sets. Journal of the London Mathematical Society, 1(1):85–90, 1960.
- [9] Michael R. Fellows, Michael A. Langston, Frances A. Rosamond, and Peter Shaw. Efficient parameterized preprocessing for cluster editing. In Erzsébet Csuhaj-Varjú and Zoltán Ésik, editors, Fundamentals of Computation Theory, 16th International Symposium, FCT 2007, Budapest, Hungary, August 27-30, 2007, Proceedings, volume 4639 of Lecture Notes in Computer Science, pages 312–321. Springer, 2007. doi:10.1007/978-3-540-74240-1_27.
- [10] Jörg Flum and Martin Grohe. Parameterized Complexity Theory, volume XIV of Texts in Theoretical Computer Science. An EATCS Series. Springer, Berlin, 2006. doi:10.1007/3-540-29953-X.
- [11] Fedor V. Fomin, Daniel Lokshtanov, Saket Saurabh, and Meirav Zehavi. Kernelization: Theory of Parameterized Preprocessing. Cambridge University Press, 2019. doi:10.1017/9781107415157.
- [12] Jens Gramm, Jiong Guo, Falk Hüffner, and Rolf Niedermeier. Graph-modeled data clustering: Exact algorithms for clique generation. Theory Comput. Syst., 38(4):373–392, 2005. doi:10.1007/S00224-004-1178-Y.
- [13] Sylvain Guillemot, Frédéric Havet, Christophe Paul, and Anthony Perez. On the (non-)existence of polynomial kernels for -free edge modification problems. Algorithmica, 65(4):900–926, 2013. doi:10.1007/S00453-012-9619-5.
- [14] Stefan Kratsch and Magnus Wahlström. Two edge modification problems without polynomial kernels. Discret. Optim., 10(3):193–199, 2013. doi:10.1016/J.DISOPT.2013.02.001.
- [15] Dániel Marx and R. B. Sandeep. Incompressibility of H-free edge modification problems: Towards a dichotomy. J. Comput. Syst. Sci., 125:25–58, 2022. doi:10.1016/J.JCSS.2021.11.001.
- [16] Stephan Olariu. Paw-fee graphs. Inf. Process. Lett., 28(1):53–54, 1988. doi:10.1016/0020-0190(88)90143-3.
- [17] W. D. Wallis and G. H. Zhang. On maximal clique irreducible graphs. J. Comb. Math. Comb. Comput, 8:187–198, 1990.