English

Courcelle's Theorem in Truly Linear FPT

Data Structures and Algorithms 2026-07-13 v1

Abstract

Recently, Bumpus, Downey, Eagling-Vose, Enright, Fellows, Kutner, Larios-Jones, Martin, Rosamond, and Yates defined Truly Linear FPT (TLFPT) to be the class of parameterized problems with algorithms running in time O(n)+f(k)O(n) + f(k), where nn is the input size and kk the parameter [arXiv:2606.02492]. They gave several algorithmic techniques for designing TLFPT algorithms, but left parameterization by treewidth open. In this paper, we give a general method for designing TLFPT algorithms parameterized by treewidth, solving three open problems posed by Bumpus et al. In particular, we give a TLFPT algorithm for Courcelle's theorem: We show that given an nn-vertex mm-edge graph GG, an integer kk, and a CMSO2\mathsf{CMSO}_2-formula φ\varphi, we can in time O(n+m)+f(k,φ)O(n+m) + f(k, \varphi) either conclude that the treewidth of GG is more than kk, or check whether GG satisfies φ\varphi. As a part of our algorithm, we give an approximation algorithm for treewidth that runs in time O(n+m)O(n+m) and returns a tree decomposition whose width is at most 2O(k)2^{O(k)} times the optimum. Our result also implies a TLFPT algorithm for computing the value of treewidth exactly.

Cite

@article{arxiv.2607.11230,
  title  = {Courcelle's Theorem in Truly Linear FPT},
  author = {Tuukka Korhonen and Daniel Lokshtanov and Saket Saurabh},
  journal= {arXiv preprint arXiv:2607.11230},
  year   = {2026}
}

Comments

18 pages