Hereditary First-Order Logic: the tractable quantifier prefix classes
Abstract
Many computational problems can be modelled as the class of all finite structures that satisfy a fixed first-order sentence hereditarily, i.e., we require that every (induced) substructure of satisfies . We call the corresponding computational problem the hereditary model checking problem for , and denote it by Her. We present a complete description of the quantifier prefixes for such that Her is in P; we show that for every other quantifier prefix there exists a formula with this prefix such that Her is coNP-complete. Specifically, we show that if is of the form or of the form , then Her can be solved in polynomial time whenever the quantifier prefix of is . Otherwise, contains or as a subword, and in this case, there is a first-order formula whose quantifier prefix is and Her is coNP-complete. Moreover, we show that there is no algorithm that decides for a given first-order formula whether Her is in P (unless PNP).
Keywords
Cite
@article{arxiv.2411.10860,
title = {Hereditary First-Order Logic: the tractable quantifier prefix classes},
author = {Manuel Bodirsky and Santiago Guzmán-Pro},
journal= {arXiv preprint arXiv:2411.10860},
year = {2025}
}
Comments
The second version focuses on hereditary first-order logic, and for a better streamlined presentation, we removed all content on extensional ESO which will be submitted elsewhere. Version 2 also contains new results (Section 4)