Paperlane

no. 22 · Wednesday 25 November 2026

Elementary first-order model checking for sparse graphs

Jakub Gajarský, Michał Pilipczuk, Marek Sokołowski, Giannos Stamoulis and Szymon Toruńczyk

math.CO · v3 · 57 pp

Abstract

It is known that for subgraph-closed graph classes the first-order model checking problem is fixed-parameter tractable if and only if the class is nowhere dense [Grohe, Kreutzer, Siebertz, 2017]. However, the dependency on the formula size is non-elementary, and in fact, this is unavoidable even for the class of all trees [Frick and Grohe, 2004]. On the other hand, it is known that the dependency is elementary for classes of bounded degree [Frick and Grohe, 2004] as well as for classes of bounded pathwidth [Lampis, 2026]. In this paper we generalise these results and almost completely characterise subgraph-closed graph classes for which the model checking problem is fixed-parameter tractable with an elementary dependency on the formula size. Those are the graph classes for which there exists a number $d$ such that for every $r$, some tree of depth $d$ and size bounded by an elementary function of $r$ is avoided as an $(\le r)$-subdivision in all graphs in the class. In particular, this implies that if the class in question excludes a fixed tree as a topological minor, then first-order model checking for graphs in the class is fixed-parameter tractable with an elementary dependency on the formula size.

comments
57 pages. This is the TheoretiCS journal version
journal
TheoretiCS, Volume 5 (2026), Article 19, 1-57
fields
Combinatorics, Logic