232021316499
The treewidth of 2-section of hypergraphs
Abstract
Let be a simple hypergraph without loops. is called linear if for any with . The -section of , denoted by , is a graph with and for any , if and only if there is such that . The treewidth of a graph is an important invariant in structural and algorithmic graph theory. In this paper, we consider the treewidth of the -section of a linear hypergraph. We will use the minimum degree, maximum degree, anti-rank and average rank of a linear hypergraph to determine the upper and lower bounds of the treewidth of its -section. Since for any graph , there is a linear hypergraph such that , we provide a method to estimate the bound of treewidth of graph by the parameters of the hypergraph.
keywords:
Linear hypergraph, treewidth, -section, supertree width1 Introduction
The treewidth of a graph is an important invariant in structural and algorithmic graph theory. The concept of treewidth was originally introduced by Bertelé and Brioschi [2] under the name of dimension. It was later rediscovered by Halin [7] in 1976 and by Robertson and Seymour [13] in 1984. Now it has been studied by many other authors (see for example [5]-[12]). Treewidth is commonly used as a parameter in the parameterized complexity analysis of graph algorithms, since many NP-complete problems can be solved in polynomial time on graphs of bounded treewidth [3]. The relation between the treewidth and other graph parameters has been explored in a number of papers (see [10] for a recent survey). In [11], Harvey and Wood studied the treewidth of line graphs. They proved sharp lower bounds of the treewidth of the line graph of a graph in terms of both the minimum degree and the average degree of . Motivated by their work, in this paper, we study the treewidth of -section of linear hypergraphs.
A hypergraph is a pair , where is a finite set of vertices and is a family of subsets of such that for any , and . The size of is the cardinality of . A simple hypergraph is a hypergraph such that if , then , where . If , we call a loop. In this paper, we just consider simple and no loop hypergraphs. The rank and anti-rank of is defined as and , respectively. If , then is a graph. For any , denote . Then the degree of , denoted by , is . The maximum and minimum degree of will be denoted by and , respectively. If , then we call the hypergraph -regular. The average rank of is defined as . A hypergraph is called linear if for any with .
Let be a hypergraph (or graph), where and . The dual of , denoted by , is a hypergraph whose vertices correspond to the edges of and with edges , . The line graph of a (hyper)graph , denoted by is a graph whose vertices correspond to the edges of and with edges if . Terminology and notation concerning hypergraph not defined here can be found in [1]. Now we give the definitions of treewidth. Let be a tree. We will use to denote the vertex set of for short.
Definition 1.1 A tree decomposition of a graph is a pair , where is a tree and ( is called a bag) is a family of subsets of such that:
(T1) for every , the set is nonempty and connected in ;
(T2) for every edge , there is such that .
The width of the decomposition is the number
The treewidth of is the minimum of the widths of the tree decompositions of .
In order to cite the definition of a generalized hypertree decomposition of a hypergraph which was given in [4], we introduce the definition of the 2-section of a hypergraph.
Definition 1.2 The 2-section of a hypergraph , denoted by , is a graph with and for any , if and only if there is such that .
Definition 1.3 [4] A generalized hypertree decomposition of a hypergraph is a 3-tuple , where is a tree, is a family of subsets of and is a family of subsets of such that:
(TI) is a tree decomposition of ;
(TII) for every , .
Now we give a new definition of decomposition of a hypergraph which is called a supertree decomposition of a hypergraph.
Definition 1.4 A supertree decomposition of a hypergraph is a 3-tuple , where is a generalized hypertree decomposition of such that:
(TIII) for every , the set is nonempty and connected in ;
(TIV) for every with , there is a such that .
The width of the decomposition of is the number
The supertree width of is the minimum of the widths of the supertree decompositions of .
By Definition 1.4, if is a supertree decomposition of , then is a tree decomposition of . When is a tree decomposition of , we let . Then is a supertree decomposition of . So we have .
From the Definition 1.2, we can get the following lemma.
Lemma 1.1 Let be a -regular linear hypergraph. Then .
Proof 1.1.
Let be a -regular linear hypergraph. Then is a simple graph. By the definition of dual hypergraph, there is a bijection between the edge set (resp. the vertex set ) and the vertex set (resp. the edge set of ) such that for any (resp. for any ), if and only if (resp. if and only if there is with ). By the definition of line graph, there is a bijection such that for any , if and only if .
We will show that . Let . Then is a bijection. For any , if and only if there is such that if and only if if only if . Thus .
By the definitions of line graph and the dual, we can easily get the following lemma.
Lemma 1.2 Let be a -regular linear hypergraph. Then .
Let be a hypergraph. There are two elementary lower bounds on treewidth of . First,
(1) |
since the vertices in a hyperedge form a clique in . Second, given a minimum width tree decomposition of , replace each vertex with all the hyperedges containing the vertex to obtain a supertree decomposition of . It follows that
(2) |
We prove the following lower bound on in terms of the minimum degree , maximum degree and average rank of a linear hypergraph .
Theorem 1.1 Let be a linear hypergraph with minimum degree , maximum degree and average rank . Let . Suppose . Then
In [11], Harvey and Wood showed that for every graph , , where is the average degree of . Let be a 2-regular linear hypergraph of order and size . By Lemma 1.1, . Note that . By Theorem 1.1, , just as the result in [11].
We also prove two lower bounds on in terms of the anti-rank based on different condition of minimum degree of the given hypergraph .
Theorem 1.2 For every linear hypergraph with anti-rank and minimum degree , we have
Theorem 1.3 For every linear hypergraph with anti-rank and minimum degree , we have
In [11], Harvey and Wood showed that for every graph with minimum degree ,
Let be a 2-regular linear hypergraph. By Lemma 1.1, . Then . Note that . Thus we can obtain the same result as that in [11] by Theorem 1.3. Now we consider upper bounds on . It is easy to show that
(3) |
To see this, we consider a minimum width supertree decomposition of , and replace each bag by the vertices that are incident to an hyperedge of . This creates a tree decomposition of , where each bag contains at most vertices. In Section 5, we improve this bound as follows.
Theorem 1.4 For every linear hypergraph , we have
Theorem 1.4 is of primary interest when , in which case the upper bound is . When , the bound in (3) is better than that in Theorem 1.4.
In [11], Harvey and Wood showed that for every graph , . Let be a 2-regular linear hypergraph. Recall that . By Lemmas 1.1 and 1.2, and . Then . Note that . By Theorem 1.4, , just the same as that in [11].
The rest of this paper is organized as follows. In Section 2, some properties of tree decompositions of 2-section of hypergraphs are given. The proof of Theorem 1.1 is given in Section 3. In Section 4, we will prove Theorems 1.2 and 1.3. In Section 5, we prove Theorem 1.4. Section 6 concludes this paper.
2 Tree decomposition of 2-section of hypergraphs
In this section, we first give some properties of tree decompositions of 2-section of hypergraphs which will be used in next sections.
Let be a hypergraph. For any , recall that . Let be a tree decomposition of . For , we use to denote the path in connecting and .
Lemma 2.1 For every hypergraph , there exists a minimum width tree decomposition of together with an assignment such that for each vertex , , where is the subtree of induced by .
Proof 2.1.
Let be a minimum width tree decomposition of such that is minimized. For each , the vertices in form a clique in . Thus there exists a bag containing all the vertices in , where . Hence for each choose one such node and declare it .
Let . For any , we have . It follows that . If , then we remove from all bags for . Since each vertex incident to appears in , the removal of the aforementioned vertices yields another tree decomposition of . However, the existence of such a tree decomposition would contradict our choice of . Hence , as required.
We call the base node of . From the proof of Lemma 2.1, we can construct a tree decomposition of so that we can assign a base node for each and all the vertices in are placed in the corresponding bag . In fact, we can obtain a slightly stronger result that will be used to prove our theorems.
Given and guaranteed by Lemma 2.1, we can also ensure that each base node is a leaf and that is a bijection between edges of and leaves of . If is not a leaf, then we add a leaf adjacent to and let be this leaf instead. If some leaf is the base node for several edges of , then we add a leaf adjacent to for each edge assigned to . Finally, if is a leaf that is not a base node, then delete ; this maintains the desired properties since a leaf is never an internal node of a subtree.
We can improve this further. Given a tree , we can root it at a node and orient all edges away from the root. In such a tree, a leaf is a node with outdegree 0. Say a rooted tree is binary if every non-leaf node has outdegree 2. Given a tree decomposition, by the same way described in [11], we can root it and then modify the underlying tree so that each non-leaf node has outdegree 2. The above results give the following lemma.
Lemma 2.2 For every hypergraph there exists a minimum width tree decomposition of together with an assignment such that is a binary tree, is a bijection onto the leaves of and for each , .
By Lemma 2.2, we have the following lower bound on that is slightly stronger than (2).
Lemma 2.3 Let be a hypergraph with . Then we have .
Proof 2.2.
Let and be a tree decomposition of of width , together with an assignment as ensured by Lemma 2.2. For each with , we can assume that ; otherwise, we can simply add a leaf adjacent to and let , where . We now partially construct a supertree decomposition of as follows: first let . Let . If , then we just put the hyperedge adjacent to in , where . Assume that . We arbitrarily choose two hyperedges in , say and . We put in for all and put in . Then for all , since each vertex contributes at most hyperedges to a given bag. An edge in is called the edge corresponding to a 3-tuple if and . If is an edge corresponding to and simultaneously, say , then we subdivide by adding a new node and let . Repeat this process so that every edge in corresponds to at most one 3-tuple. We also use to denote the tree after all of these subdivisions. Note that is still a tree decomposition of . Now if there is an edge corresponding to , then we add into , which increases the size of at most 1.
We are going to show that is a supertree decomposition of . By the construction of , (TI) and (TIV) in Definitions 2.3 and 2.4 hold. So we just need to show (TII) and (TIII).
First, we prove that for all , . If , then the conclusion holds because for each , we put at least one edge incident to in . If is the subdivided node, then the result holds by the construction.
Now we show that for any , is connected in . Suppose there is such that is nonconnected in . Then there must be such that for all , . If there is a vertex such that , then we should have for all even if is a subdivided node by the construction, a contradiction. Suppose there exist two vertices such that , then there is such that by which implies that , a contradiction.
Thus we have , as required.
3 Lower bound in terms of average rank
In this section, we prove Theorem 1.1. Let be a hypergraph with size . Let and , where . By the definition of average rank, . Given two sets . Let and let , where . We say a hypergraph is minimal if for every nonempty proper subset of , where
Firstly, we need some lemmas before we start bounding the tree width of .
Lemma 3.1 If is a minimal hypergraph and is a nonempty proper subset of , then
Proof 3.1.
Since is minimal, we have which implies
Hence We easily get . Thus
and we have the conclusion.
Let be a tree decomposition of as guaranteed by Lemma 2.2. For each node of , let denote the subtree of rooted at containing exactly and the descendants of . And let be the set of edges of with the base nodes in . (Recall all base nodes are leaves.)
Lemma 3.2 Let be a minimal hypergraph and be a tree decomposition of as guaranteed by Lemma 2.2. If is a non-leaf, non-root node and are the children of , then
Proof 3.2.
Denote
We first show that .
Since is a non-leaf, non-root node, , and . By Lemma 3.1, we have
So . We consider , the bag of the target node , which consists of vertices covered by edges in (resp. ) and (resp. ) at the same time. Thus,
Notice that and . We have holds for or .
So the above formula can be written as
Furthermore, we have
thus we have the conclusion.
Theorem 1.1 follows from the following lemma since every hypergraph with contains a minimal subgraph with , in which case and . Lemma 3.3 Let be a minimal linear hypergraph with minimum degree , maximum degree and average rank . Let . Suppose . Then
Proof 3.3.
If , we have . Then , as required. So we assume that . Since and is a linear hypergraph, we have .
Let be a tree decomposition of as guaranteed by Lemma 2.2. Call a node of significant if but for each child of .
Claim 1. There exists a non-root, non-leaf significant node .
Proof 3.4 (of Claim 1).
Starting at the root of , begin traversing down the tree by the following rule: if some child of the current node has , then traverse to ; otherwise stop. Clearly this algorithm halts.
Since for any leaf , the algorithm will stop at a non-leaf.
Let be the node where the above algorithm stops. Suppose that is the root. Then . Assume and are the children of . Then . Thus , a contradiction. Hence the algorithm does not stop at the root.
Let be a non-root, non-leaf significant node and be the children of . Set and . Then but . By Lemma 3.2, we can get
We consider the following linear programming.
where the constraint condition is based on being a linear hypergraph, that is, each pair (, ) can only be calculated at most one in . From the above linear programming, we can easily know that . Thus
Define such that , and . Recall and . Hence . Thus and . Now we have
In Appendix A, we prove that . Since if and only if and , the result holds immediately.
By Theorem 1.1, we can get the following corollary.
Corollary 3.4 Let be a -regular linear hypergraph with average rank . Suppose . Then
Let be a positive integer. We construct a hypergraph where . The vertex set of is determined as the following rule: for any positive integers with , if , then we put the vertex into both and , where we let . Then . We can easily know that is a -regular linear hypergraph with , where when . By Corollary 3.4, . Since is an integer, . Note that , where is the -power of an -vertex path with vertex set and edge set . In [11], Harvey and Wood showed that . Thus when , Corollary 3.4 is almost precisely sharp for treewidth.
4 Lower bounds in terms of anti-rank
We use similar techniques to those in Section 3 to prove a lower bound on in terms of instead of .
Proof 4.1 (of Theorems 1.2 and 1.3 ).
If , then Theorems 1.2 and 1.3 are trivial, since whenever contains at least one vertex. Now we assume that . Since is a linear hypergraph and , .
Let be a tree decomposition for as guaranteed by Lemma 2.2. For each node of , let denote the subtree of rooted at containing exactly and the descendants of . Let be the set of edges of with the base nodes in . (Recall all base nodes are leaves.)
Call a node of significant if but for each child of t. By a argument similar to Claim 1, there exists a non-root, non-leaf significant node . Let be the children of , and let and . Then , but . Since are integers, if is odd (resp. even) then (resp. ). Define such that and . Then and
We first give the proof of Theorem 1.2 where . As in Lemma 3.2,
Furthermore, we have
where if or . In Appendix B, we show that
Thus we have
Now we calculate the minimum value of under the condition and
Consider the partial derivative of with respect to and , we have
Since , we have when is even and when is odd. Since , and we have
Thus
Now we give the Proof of Theorem 1.3 where . We have
In Appendix C, we show that
Thus
Let . By the same argument as above, we have
Thus
and we have the conclusion.
When is even, let , where is the -power of an -vertex cycle with vertex set and edge set . We can see that in this case is a 2-regular linear hypergraph and . By Theorem 1.3, . In [11], Harvey and Wood showed that . Hence Theorem 1.3 is precisely sharp when is even.
When is odd, choose two matchings and in . If is odd (resp. even), let (resp. ). Then we have . By Theorem 1.3, . In [11], Harvey and Wood showed that
Thus when is odd, Theorem 1.3 is precisely sharp when is even; and within ‘+1’ when is odd.
5 Upper bound
Proof 5.1 (of Theorem 1.4).
Let be a supertree decomposition of a linear hypergraph with width such that has maximum degree at most 3. By the discussion in Section 1, we may assume that . (The existence of such a supertree decomposition is well known and follows by a similar argument to Lemma 2.2.)
Say a hyperedge is small if and large otherwise. For each , we use to denote the subtree of induced by . For each edge in , let denote the two subtrees of . If is also an edge of for some , then let denote two subtrees of , where and . For , let . Since is a linear hypergraph, we have . Denote and . We have the following claim. Claim 2. For every large there is an edge in such that .
Proof 5.2 (of Claim 2).
Assume for the sake of a contradiction that no such exists. Hence for all in , either or is too “large”. Direct the edge towards or respectively. (If both , are too large, then direct arbitrarily.) Given this orientation of , there must be a sink (all the edges incident to it direct to it), which we label .
Let be the edges in incident to , where . Without loss of generality say that was directed towards for all . Hence for all . Let . Then when .
If , then . But , a contradiction. If , then . However, , a contradiction with . If , then . However, , a contradiction with .
For each small hyperedge of , arbitrarily select a base node in . For each large hyperedge of , select an edge in the subtree as guaranteed by Claim 2. Subdivide and declare the new node to be , the base node of . If is selected for several different hyperedges, then subdivide it multiple times and assign a different base node for each hyperedge of that selected . Denote the tree after all of these subdivisions as . Together, this underlying tree and the assignment gives a tree decomposition of in the same form as Lemma 2.1. Label the set of bags for this tree decomposition by . So the tree decomposition of is and for each vertex , , where is the subtree of induced by . It remains to bound the width of this tree decomposition of .
For each bag of , define a corresponding bag in as follows. If is also in , then the corresponding bag of is simply . If is a subdivision node created by subdividing the edge , then the corresponding bag of is or , chosen arbitrarily.
The following two claims give enough information to bound the width of .
Claim 3. If is a bag of with corresponding bag () and , then there is an edge such that .
Proof 5.3 (of Claim 3).
Suppose that for all . Then . If there are such that and are contained in different components of , then a contradiction with . Thus for all , are all contained in the same component of . Note that is assigned inside of (perhaps after some edges are subdivided, but this doesn’t alter their positions relative to ). Hence the subtree in doesn’t include which implies , a contradiction.
Claim 4. Suppose is a large hyperedge and is not . If () is the corresponding bag of , then we have .
Proof 5.4 (of Claim 4).
Since is not , there exists a component of , say , containing . Let . Then is a bag in the subtree in . Hence there is such that since .
Since is a large hyperedge, is a subdivision node. Let be the edge in that was subdivided to create . (The edge is also guaranteed by Claim 2.) Hence has non-empty intersection with exactly one of and , say . Since , there must be by . Then by Claim 2. Hence contains at most vertices in , which means .
We now determine an upper bound on the size of a bag . We count the vertices of by considering the number of vertices in a given hyperedge of contributes to . By Claim 3, at most hyperedges of the corresponding bag contribute to .
If is small, it contributes at most vertices to . If is large and , by Claim 4, contributes at most vertices to . If is large and , then contributes at most vertices. Therefore, we conclude the highest possible contribution of a large with is greater than that of a large with which is greater than that of a small . Note that for at most one . Hence
where there exists
If we set to be a minimum width hypertree decomposition of , then and so
Remark If for some constant , we can get the exact value of in polynomial time by . Then Theorem 1.4 can give a useful upper bound for .
6 Conclusion
Treewidth is an important graph parameter in structural graph theory and in algorithmic graph theory. This paper studies the treewidth of corresponding graphs of linear hypergraphs. Let be a graph. There is a linear hypergraph such that . For example, we first find cliques in such that and for and . Now we construct a hypergraph with and . Obviously, is a linear hypergraph and . Thus we provide a method to estimate the bound of treewidth of graph by the parameters of the hypergraph.
Acknowledgements.
This work is partially supported by the National Natural Science Foundation of China (Grant 11771247 & 11971158) and Tsinghua University Initiative Scientific Research Program. Many thanks to the anonymous referees for their many helpful comments and suggestions, which have considerably improved the presentation of the paper.References
- [1] C. Berge, Hypergraphs, Combinatorics of Finite Sets, North-Holland, Amsterdam, 1989. available at https://www.sciencedirect.com.
- [2] U. Bertelé and F. Brioschi, Nonserial Dynamic Programming, Academic Press, 1972. available at https://www.sciencedirect.com.
- [3] H.L. Bodlaender, A tourist guide through treewidth, Acta Cybernet. 11(1-2)(1993) 1-21. available at https://www.sciencedirect.com.
- [4] G. Gottlob, N. Leone and F. Scarcello, Robbers, marshals, and guards: game theoretic and logical characterizations of hypertree width, J. of Computer and System Sciences 66(4) (2003) 775-808. available at https://www.sciencedirect.com.
- [5] P.A. Golovach, The cut width of a graph and the vertex separation number of the line graph, Discrete Math. Appl. 3(5)(1993) 517-521. available at https://www.degruyter.com.
- [6] M. Grohe and D. Marx, On tree width, bramble size, and expansion, J. Combin. Theory Ser. B 99(1)(2009) 218-228. available at https://www.sciencedirect.com.
- [7] R. Halin, S-functions for graph, Journal of Geometry, 8(1976), 171-186. available at https://link.springer.com/article/10.1007/BF01917434.
- [8] D.J. Harvey, On Treewidth and Graph Minors, PhD thesis, The University of Melbourne, 2014. available at http://hdl .handle .net /11343 /40752.
- [9] D.J. Harvey and D.R. Wood, Treewidth of the line graph of a complete graph, J. Graph Theory 79(1) (2015) 48-54. available at https://onlinelibrary.wiley.com.
- [10] D.J. Harvey and D.R. Wood, Parameters tied to treewidth, J. Graph Theory 84(4) (2017) 364-385. available at https://onlinelibrary.wiley.com.
- [11] D.J. Harvey and D.R. Wood, The treewidth of line graphs, Journal of Combinatorial Theory, Series B 132(2018) 157-179. available at https://www.sciencedirect.com.
- [12] E. Korach and N. Solel, Tree-width, path-width, and cutwidth, Discrete Appl. Math. 43(1) (1993) 97-101. available at https://www.sciencedirect.com.
- [13] N. Robertson and P.D. Seymour, Graph minors III: Planar tree-width, Journal of Combinatorial Theory, Series B, 36(1)(1984) 49-64. available at https://www.sciencedirect.com.
Appendix A
We calculate the minimum value of , under the condition , , and .
Note that . Consider the partial derivative of with respect to and , we have
In the boundary , we have
and
Thus we have . Note that
Since , . Thus .
Appendix B
Here we show that .
We consider the following linear programming
where . The condition of this linear programming is
We can easily get , and for some , and any other . Thus .
Appendix C
Here we show the lower bound of
We consider the following linear programming
where , and . The condition of this linear programming is
We can get , , and all other . Thus