Abstract
It has been proved in Frick and Grohe that properties of graphs or other relational structures that are definable in first-order logic can be decided in linear time when the input structures are restricted to come from a {\em locally tree-decomposable} class of structures. Important examples of such classes are the class of planar graphs and classes of graphs of bounded degree. In this paper we consider more general computational problems than decision problems, which are induced by formulas with free variables. In this generalized setting we investigate the construction (find a satisfying assignment), listing (all satisfying assignments) and counting (compute the number of satisfying assignments) problems for formulas of first-order logic. We show that each of these problems can be solved in linear time on locally tree-decomposable classes of structures. For instance, we devise an algorithm that, given a planar graph $\cal G$ and a first-order logic formula $\phi(\barx)$, computes a $\bara \in G$ such that $\cal G \models \phi(\bara)$ in time $f(||\phi||) \cdot ||\cal G||$ for some computable function $f$ (the construction case). Accordingly, we obtain linear time algorithms for the counting and listing cases.
Similar content being viewed by others
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Frick, M. Generalized Model-Checking over Locally Tree-Decomposable Classes. Theory Comput Systems 37, 157–191 (2004). https://doi.org/10.1007/s00224-003-1111-9
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00224-003-1111-9