Testing -freeness in bounded-arboricity graphs
arXiv:2404.18126
Abstract
We study the problem of testing -freeness (-cycle-freeness) for fixed constant in graphs with bounded arboricity (but unbounded degrees). In particular, we are interested in one-sided error algorithms, so that they must detect a copy of with high constant probability when the graph is -far from -free. We next state our results for constant arboricity and constant with a focus on the dependence on the number of graph vertices, . The query complexity of all our algorithms grows polynomially with . (1) As opposed to the case of , where the complexity of testing -freeness grows with the arboricity of the graph but not with the size of the graph (Levi, ICALP 2021) this is no longer the case already for . We show that queries are necessary for testing -freeness, and that are sufficient. The same bounds hold for . (2) For every fixed , any one-sided error algorithm for testing -freeness must perform queries. (3) For we give a testing algorithm whose query complexity is . (4) For any fixed , the query complexity of testing -freeness is upper bounded by . Our lower bound for testing -freeness in constant arboricity graphs provides a negative answer to an open problem posed by (Goldreich, 2021).