Fine-Grained Bounds for Courcelle's Theorem
Abstract
Courcelle's theorem states that there exists an algorithm that takes as input a graph of treewidth at most and a MSO formula , and determines whether satisfies in time . It is folklore that the the function contains a tower of exponentials whose height depends as a linear function of the number of quantifier alternations of the input formula . A classic reduction of Frick and Grohe shows that, assuming the Exponential Time Hypothesis (ETH), the linear growth of the height of the tower is unavoidable. Nevertheless, there is still a huge gap between existing upper and lower bounds -- after all, there is quite a difference between a single exponential and a double exponential running time. In addition, this only gives us a very coarse understanding in the time complexity of Courcelle's theorem. In this paper, we prove a fine-grained version of Courcelle's theorem with nearly ETH-tight dependence on the treewidth parameter and the quantifier structure of (specifically, the number of first order and second order variables in each quantifier alternation block).
Cite
@article{arxiv.2607.02033,
title = {Fine-Grained Bounds for Courcelle's Theorem},
author = {Daniel Lokshtanov and Fahad Panolan and Saket Saurabh and Jie Xue and Meirav Zehavi},
journal= {arXiv preprint arXiv:2607.02033},
year = {2026}
}