English

A Logic-based Algorithmic Meta-Theorem for Treedepth: Single Exponential FPT Time and Polynomial Space

Data Structures and Algorithms 2025-10-23 v1 Logic in Computer Science

Abstract

For a graph GG, the parameter treedepth measures the minimum depth among all forests FF, called elimination forests, such that GG is a subgraph of the ancestor-descendant closure of FF. We introduce a logic, called neighborhood operator logic with acyclicity, connectivity and clique constraints (NEO2[FRec]+ACK\mathsf{NEO}_2[\mathsf{FRec}]+\mathsf{ACK} for short), that captures all NP-hard problems\unicodex2013\unicode{x2013}like Independent Set or Hamiltonian Cycle\unicodex2013\unicode{x2013}that are known to be tractable in time 2O(k)nO(1)2^{\mathcal{O}(k)}n^{\mathcal{O}(1)} and space nO(1)n^{\mathcal{O}(1)} on nn-vertex graphs provided with elimination forests of depth kk. We provide a model checking algorithm for NEO2[FRec]+ACK\mathsf{NEO}_2[\mathsf{FRec}]+\mathsf{ACK} with such complexity that unifies and extends these results. For NEO2[FRec]+k\mathsf{NEO}_2[\mathsf{FRec}]+\mathsf{k}, the fragment of the above logic that does not use acyclicity and connectivity constraints, we get a strengthening of this result, where the space complexity is reduced to O(klog(n))\mathcal{O}(k\log(n)). With a similar mechanism as the distance neighborhood logic introduced in [Bergougnoux, Dreier and Jaffke, SODA 2023], the logic NEO2[FRec]+ACK\mathsf{NEO}_2[\mathsf{FRec}]+\mathsf{ACK} is an extension of the fully-existential MSO2\mathsf{MSO}_2 with predicates for (1) querying generalizations of the neighborhoods of vertex sets, (2) verifying the connectivity and acyclicity of vertex and edge sets, and (3) verifying that a vertex set induces a clique. Our results provide 2O(k)nO(1)2^{\mathcal{O}(k)}n^{\mathcal{O}(1)} time and nO(1)n^{\mathcal{O}(1)} space algorithms for problems for which the existence of such algorithms was previously unknown. In particular, NEO2[FRec]\mathsf{NEO}_2[\mathsf{FRec}] captures CNF-SAT via the incidence graphs associated to CNF formulas, and it also captures several modulo counting problems like Odd Dominating Set.

Keywords

Cite

@article{arxiv.2510.19793,
  title  = {A Logic-based Algorithmic Meta-Theorem for Treedepth: Single Exponential FPT Time and Polynomial Space},
  author = {Benjamin Bergougnoux and Vera Chekan and Giannos Stamoulis},
  journal= {arXiv preprint arXiv:2510.19793},
  year   = {2025}
}

Comments

Accepted at SODA 2026

R2 v1 2026-07-01T07:00:13.975Z