Hereditary First-Order Logic: the tractable quantifier prefix classes
Abstract
Many computational problems can be modelled as the class of all finite structures A that satisfy a fixed first-order sentence φ hereditarily, i.e., we require that every (induced) substructure of A 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 Q is of the form ∀∃∀ or of the form ∀∃, then Her(φ) can be solved in polynomial time whenever the quantifier prefix of φ is Q. Otherwise, Q contains ∃ ∃ ∀ or ∃ ∀ ∃ as a subword, and in this case, there is a first-order formula φ whose quantifier prefix is Q 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 P=NP).
Turn this paper into a full lesson
ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.