We introduce a new notion of acyclicity representation in labeled graphs, and present three applications thereof. Our main result is an algorithm that, given a graph $G$ and a $k$-clique expression of $G$, in time $O(6^kn^c)$ counts modulo $2$ the number of feedback vertex sets of $G$ of each size. We achieve this through an involved subroutine for merging partial solutions at union nodes in the expression. In the usual way this results in a one-sided error Monte-Carlo algorithm for solving the decision problem in the same time. We complement these by a matching lower bound under the Strong Exponential-Time Hypothesis (SETH). This closes an open question that appeared multiple times in the literature [ESA 23, ICALP 24, IPEC 25]. We also present an algorithm that, given a graph $G$ and a tree decomposition of width $k$ of $G$, in time $O(3^kn^c)$ counts modulo $2$ the number of feedback vertex sets of $G$ of each size. This matches the known SETH-tight bound for the decision version, which was obtained using the celebrated cut-and-count technique [FOCS 11, TALG 22]. Unlike other applications of cut-and-count, which use the isolation lemma to reduce a decision problem to counting solutions modulo $2$, this bound was obtained via counting other objects, leaving the complexity of counting solutions modulo $2$ open. Finally, we present a one-sided error Monte-Carlo algorithm that, given a graph $G$ and a $k$-clique expression of $G$, in time $O(18^kn^c)$ decides the existence of a connected feedback vertex set of size $b$ in $G$. We provide a matching lower bound under SETH.
翻译:我们引入了标记图中无环性表示的新概念,并提出了其三个应用。我们的主要结果是:给定图$G$及其$k$-团表达式,算法可在$O(6^kn^c)$时间内以模$2$方式计算$G$中每个规模的反馈顶点集数量。这是通过在表达式合并节点处整合部分解的复杂子程序实现的。按照常规方法,这为决策问题提供了具有相同时间复杂度的单侧错误蒙特卡洛算法。我们在强指数时间假设(SETH)下给出了匹配的下界,这解决了文献中多次出现的开放性问题[ESA 23, ICALP 24, IPEC 25]。我们还提出另一算法:给定图$G$及其宽度为$k$的树分解,可在$O(3^kn^c)$时间内以模$2$方式计算$G$中每个规模的反馈顶点集数量。这与决策版本已知的SETH紧致界相匹配,该界是通过经典的割-计数技术[FOCS 11, TALG 22]获得的。与使用隔离引理将决策问题简化为模$2$计数解的其他割-计数应用不同,该界是通过计数其他对象获得的,使得模$2$计数解的复杂度问题保持开放。最后,我们提出单侧错误蒙特卡洛算法:给定图$G$及其$k$-团表达式,可在$O(18^kn^c)$时间内判定$G$中是否存在规模为$b$的连通反馈顶点集,并在SETH下给出了匹配的下界。