First-order model checking on graph classes
Which classes of graphs let an algorithm test a first-order property in time f(formula)·poly(n)? Nowhere dense and bounded twin-width are known cases; a November 2026 preprint claims the full answer for hereditary classes.
On this page16 sections
Tractable model checking is the basis of algorithmic meta-theorems: one algorithm covers every property expressible in first-order logic, such as having a dominating set of size k, on a whole graph class. The boundary of tractability tells algorithm designers where such uniform tools stop.
Which families of graphs let one algorithm check any first-order statement quickly, and where that stops being possible.
- 1Graphs and logic statements about them
- 2Brute force is too slow in general
- 3Sparse families: one fast method works
- 4Conjecture: monadic dependence is the exact line
- 52024: beyond the line, hardness proved
- 62026 preprint claims the other half
The question. A graph has vertices and edges. A first-order sentence is built from vertex variables, 'is adjacent to', 'equals', AND/OR/NOT and the quantifiers 'for all' and 'there exists', each ranging over vertices. Example: 'there exist pairwise adjacent' says the graph has a triangle. Model checking means: given a graph and a sentence , is true in ?
Brute force. A sentence with quantifiers can be checked by trying all tuples of vertices, where is the number of vertices. That is polynomial for each fixed but the exponent grows with . The hope is fixed-parameter tractable (FPT) time, , where does not depend on : the sentence may make the constant huge, but the dependence on the graph size stays fixed. On all graphs this is believed impossible (the problem is complete for a class called AW[*]).
Tractable families. Sparse families such as planar graphs are nowhere dense; Grohe, Kreutzer and Siebertz proved FPT for all of them (2014/2017). Bonnet, Kim, Thomassé and Watrigant proved it for families of bounded twin-width if the graph comes with a witness, a contraction sequence (2020).
The dividing line. Call a family hereditary if deleting vertices keeps you inside it. Call it monadically dependent if no first-order recipe, after giving the vertices some colours, can rebuild every graph out of graphs in the family. The conjecture says that for hereditary families, FPT is possible exactly when the family is monadically dependent. The 2024 paper of Dreier, Mählmann and Toruńczyk proved half: if the family is not monadically dependent, model checking is AW[*]-hard, so FPT is not expected.
The 2026 claim. The same three authors posted arXiv:2611.08143 on 5 November 2026, claiming the other half: an algorithm for every monadically dependent family, running in time about for each fixed family and sentence, and needing no witness as input. If correct, the hereditary families are completely sorted into 'FPT' and 'AW[*]-hard'.
Status. The paper is an unrefereed preprint. DARC read its abstract and introduction but not the proofs, and no independent check is recorded, so the problem stays open here. Also note that can be astronomically large, so this is a classification result, not a fast query tool.
Go deeper
The full technical text.
The problem
A first-order (FO) sentence about a graph uses vertex variables, the edge relation, equality, the Boolean connectives and quantifiers over vertices. "There is a dominating set of size " and "there is an induced copy of a fixed graph " are FO. Model checking asks, given a graph and a sentence , whether . On all graphs the problem is AW[*]-complete in the parameterized sense, so no algorithm of the form is expected (such an algorithm is called fixed-parameter tractable, FPT). The aim is to find graph classes on which one exists.
Tractable classes
- Early cases. Bounded degree and bounded treewidth were handled first (Seese for FO on bounded degree; Courcelle's theorem for the stronger logic MSO on bounded treewidth).
- Nowhere dense classes. Grohe, Kreutzer and Siebertz (arXiv 2013, J. ACM 2017) proved FPT on every nowhere dense class, which contains planar graphs, classes excluding a minor and classes of bounded degree. For classes closed under subgraphs this is optimal: if the class is not nowhere dense, model checking is not FPT under the assumption FPT AW[*].
- Bounded twin-width. Bonnet, Kim, Thomassé and Watrigant (Twin-width I, arXiv 2020, J. ACM 2021) proved FPT when a contraction sequence of bounded width is given with the input.
- Structurally nowhere dense and monadically stable classes. Dreier, Mählmann and Siebertz (STOC 2023) and then Dreier, Eleftheriadis, Mählmann, McCarty, Pilipczuk and Toruńczyk (arXiv November 2023) extended FPT to FO transductions of nowhere dense classes and, in general, to monadically stable classes.
Monadic dependence and the conjecture
A class is monadically dependent (monadically NIP) if no FO transduction (a colouring of the vertices by finitely many colours followed by an FO interpretation) turns graphs of into all graphs. Nowhere dense and bounded twin-width classes both have the property. For a hereditary class (closed under induced subgraphs), monadic dependence coincides with the classical model-theoretic notion of dependence (Braunfeld and Laskowski, as cited in the papers below).
The conjecture is that a hereditary class has FPT FO model checking exactly when it is monadically dependent. The 2024 flip-breakability paper dates it to 2016. The open-problem list of the Algorithms, Logic and Structure workshop (University of Warwick, 12–14 December 2016) has an entry by Szymon Toruńczyk stating the hardness direction for classes closed under induced subgraphs (not NIP implies FO model checking is not FPT), and the 2024 paper reports that the other direction was posed as an open problem at the same workshop.
- Hardness half. Dreier, Mählmann and Toruńczyk (arXiv:2403.15201) proved that FO model checking is AW[*]-hard on every hereditary class that is not monadically dependent, because such a class efficiently interprets the class of all graphs.
- Tractability half. Open until November 2026. A preprint (arXiv:2611.08143, 5 November 2026) claims it: FPT for every monadically dependent class, with running time for each fixed class, sentence and , and no decomposition required as input. It is unrefereed; DARC has not verified it.
Techniques
Locality of FO (Gaifman's theorem), sparse neighbourhood covers, splitter games, flips (complementing the adjacency between two vertex sets), indiscernible sequences and counting of types. The new preprint states as a key result that, in a monadically dependent class, tuples of fixed length realise only FO types of fixed quantifier rank over any vertex set .
Why it matters
If the claim holds, hereditary graph classes split cleanly: FPT model checking for the monadically dependent ones, AW[*]-hardness for the rest. A caveat is practical: FPT here means can be astronomically large (earlier algorithms of this kind, such as the twin-width one, have non-elementary dependence on the sentence), so these are classification results, not usable query engines.
Words on this page (10)
- first-order logic
- A formal language with variables for objects, 'for all' and 'there exists', and relations such as 'is connected to'; it cannot talk about sets of objects.
- model checking
- Given a structure (here a graph) and a logical sentence, deciding whether the sentence is true in it.
- fixed-parameter tractable (FPT)
- Solvable in time f(k) times a polynomial in the input size n, where only the parameter k (here the sentence's length) may enter f.
- AW[*]-hard
- As hard as model checking on all graphs, which is believed not to be fixed-parameter tractable; a standard sign of intractability in parameterized complexity.
- hereditary class
- A family of graphs such that deleting vertices from a member always leaves a member (every induced subgraph stays in the family).
- induced subgraph
- A graph made by keeping some vertices and every edge of the original among them.
- nowhere dense class
- A sparse family of graphs in which, for each radius, large cliques cannot appear as shallow minors; planar graphs and bounded-degree graphs are examples.
- twin-width
- A number measuring how well a graph can be merged down to one vertex by repeatedly contracting two similar vertices while keeping few 'mixed' connections.
- monadically dependent class
- A graph family from which no first-order recipe, after colouring vertices, can build every graph; it is the conjectured limit of tractable model checking.
- graph
- A set of points (vertices) with some pairs joined by lines (edges).
New to this? Read first (4)
- Model checking (Wikipedia)Short orientation on what checking a property against a structure means.
- Parameterized complexity (Wikipedia)Explains FPT and the W/AW hierarchy used here.
- Twin-width (Wikipedia)A readable account of one of the graph classes covered.
- Courcelle's theorem (Wikipedia)The classic example of a logic-to-algorithm meta-theorem, for trees-like graphs.
Understanding map
map of the whole wiki →What to read before First-order model checking on graph classes (left), and what builds on it: entries that depend on it and its open problems (right). Every box links to its page.
- Start with
- Step 2
- Step 3
- First-order model checking on graph classesYou are here
- Then
Open problems & questions
Progress timeline
- Nov 5, 2026Preprint claims FPT on all monadically dependent classesRelated to: FPT first-order model checking on every monadically dependent graph classsource
Dreier, Mählmann and Toruńczyk claim an algorithm running in time O(n^(3+ε)) for each fixed class, sentence and ε, needing no decomposition as input. Unrefereed; DARC has not checked the proof.
- Nov 5, 2026Preprint claims FPT on all monadically dependent classessource
Dreier, Mählmann and Toruńczyk claim an algorithm running in time O(n^(3+ε)) for each fixed class, sentence and ε, needing no decomposition as input. Unrefereed; DARC has not checked the proof.
- Mar 22, 2024Hardness half of the conjecturesource
Dreier, Mählmann and Toruńczyk proved AW[*]-hardness on every hereditary class that is not monadically dependent (arXiv v1, 22 March 2024).
- Mar 22, 2024Hardness half of the conjectureRelated to: FPT first-order model checking on every monadically dependent graph classsource
Dreier, Mählmann and Toruńczyk proved AW[*]-hardness on every hereditary class that is not monadically dependent (arXiv v1, 22 March 2024).
- Nov 30, 2023Monadically stable classesRelated to: FPT first-order model checking on every monadically dependent graph classsource
Dreier, Eleftheriadis, Mählmann, McCarty, Pilipczuk and Toruńczyk proved FPT on monadically stable classes, with AW[*]-hardness for hereditary edge-stable classes that are not monadically stable.
- Nov 30, 2023Monadically stable classessource
Dreier, Eleftheriadis, Mählmann, McCarty, Pilipczuk and Toruńczyk proved FPT on monadically stable classes, with AW[*]-hardness for hereditary edge-stable classes that are not monadically stable.
- Feb 7, 2023Structurally nowhere dense classesRelated to: FPT first-order model checking on every monadically dependent graph classsource
Dreier, Mählmann and Siebertz proved FPT model checking on structurally nowhere dense classes (STOC 2023).
- Feb 7, 2023Structurally nowhere dense classessource
Dreier, Mählmann and Siebertz proved FPT model checking on structurally nowhere dense classes (STOC 2023).
- Apr 30, 2020Twin-width I: FPT with a contraction sequencesource
Bonnet, Kim, Thomassé and Watrigant showed FO model checking is FPT on bounded twin-width classes when a contraction sequence is given with the input.
- Apr 30, 2020Twin-width I: FPT with a contraction sequenceRelated to: FPT first-order model checking on every monadically dependent graph classsource
Bonnet, Kim, Thomassé and Watrigant showed FO model checking is FPT on bounded twin-width classes when a contraction sequence is given with the input.
- Dec 12, 2016Conjecture stated at the Warwick Algorithms, Logic and Structure workshopsource
The open-problem list of the workshop (12–14 December 2016) records Toruńczyk's problem: FO model checking is not FPT on a hereditary class that is not NIP. The 2024 flip-breakability paper reports that the converse was posed at the same workshop. Date is the workshop's first day.
- Dec 12, 2016Conjecture stated at the Warwick Algorithms, Logic and Structure workshopRelated to: FPT first-order model checking on every monadically dependent graph classsource
The open-problem list of the workshop (12–14 December 2016) records Toruńczyk's problem: FO model checking is not FPT on a hereditary class that is not NIP. The 2024 flip-breakability paper reports that the converse was posed at the same workshop. Date is the workshop's first day.
- Nov 15, 2013FPT model checking on nowhere dense classessource
Grohe, Kreutzer and Siebertz proved FO model checking is FPT on every nowhere dense class (arXiv v1; J. ACM 2017).
- Nov 15, 2013FPT model checking on nowhere dense classesRelated to: FPT first-order model checking on every monadically dependent graph classsource
Grohe, Kreutzer and Siebertz proved FO model checking is FPT on every nowhere dense class (arXiv v1; J. ACM 2017).