On first-order model checking parameterized by the number of variables
arXiv:2604.22493
Abstract
The first-order (FO) model checking problem asks, given an FO sentence and a graph , whether is a model of . This problem is -hard when parameterized by the quantifier rank of the formula. A classical algorithm decides this problem in time when parameterized by the number of variable names in the formula. This -hardness motivates study of the problem on well-behaved graph classes. Many results identify graph classes such that the FO model checking problem restricted to admits an time algorithm when parameterized by the quantifier rank of the formula. Parameterization by the number of variable names is significantly more restrictive than parameterization by the quantifier rank, as the number of variable names can be arbitrarily small relative to the quantifier rank. We study the graph classes for which the FO model checking problem restricted to admits an time algorithm when parameterized by the number of variable names in the formula. We characterize these classes in the monotone setting, and prove a slightly weaker result in the hereditary setting.