Skip to content
DAH

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
Why other work relies on it

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.

  1. 1Graphs and logic statements about them
  2. 2Brute force is too slow in general
  3. 3Sparse families: one fast method works
  4. 4Conjecture: monadic dependence is the exact line
  5. 52024: beyond the line, hardness proved
  6. 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 x,y,zx,y,z pairwise adjacent' says the graph has a triangle. Model checking means: given a graph GG and a sentence φ\varphi, is φ\varphi true in GG?

Brute force. A sentence with kk quantifiers can be checked by trying all nkn^k tuples of vertices, where nn is the number of vertices. That is polynomial for each fixed kk but the exponent grows with φ\varphi. The hope is fixed-parameter tractable (FPT) time, f(∣φ∣)⋅ncf(|\varphi|)\cdot n^{c}, where cc does not depend on φ\varphi: 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 n3+εn^{3+\varepsilon} 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 f(∣φ∣)f(|\varphi|) 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 kk" and "there is an induced copy of a fixed graph HH" are FO. Model checking asks, given a graph GG and a sentence φ\varphi, whether G⊨φG\models\varphi. On all graphs the problem is AW[*]-complete in the parameterized sense, so no algorithm of the form f(∣φ∣)⋅nO(1)f(|\varphi|)\cdot n^{O(1)} is expected (such an algorithm is called fixed-parameter tractable, FPT). The aim is to find graph classes C\mathcal C 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 ≠\ne 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 C\mathcal C 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 C\mathcal C 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 O(n3+ε)O(n^{3+\varepsilon}) for each fixed class, sentence and ε>0\varepsilon>0, 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 ∣U∣O(1)|U|^{O(1)} FO types of fixed quantifier rank over any vertex set UU.

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 f(∣φ∣)f(|\varphi|) 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)
Words on this page
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)
New to this? Read first
AI-reviewedAn AI drafted this explanation. Check it against the technical text.

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.

  1. Start with
  2. Step 2
  3. Step 3
  4. Then

Open problems & questions

Progress timeline

  1. Nov 5, 2026
    Preprint claims FPT on all monadically dependent classes
    Related to: FPT first-order model checking on every monadically dependent graph class

    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.

    source
  2. Nov 5, 2026
    Preprint claims FPT on all monadically dependent classes

    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.

    source
  3. Mar 22, 2024
    Hardness half of the conjecture

    Dreier, Mählmann and Toruńczyk proved AW[*]-hardness on every hereditary class that is not monadically dependent (arXiv v1, 22 March 2024).

    source
  4. Mar 22, 2024
    Hardness half of the conjecture
    Related to: FPT first-order model checking on every monadically dependent graph class

    Dreier, Mählmann and Toruńczyk proved AW[*]-hardness on every hereditary class that is not monadically dependent (arXiv v1, 22 March 2024).

    source
  5. Nov 30, 2023
    Monadically stable classes
    Related to: FPT first-order model checking on every monadically dependent graph class

    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.

    source
  6. Nov 30, 2023
    Monadically stable classes

    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.

    source
  7. Feb 7, 2023
    Structurally nowhere dense classes
    Related to: FPT first-order model checking on every monadically dependent graph class

    Dreier, Mählmann and Siebertz proved FPT model checking on structurally nowhere dense classes (STOC 2023).

    source
  8. Feb 7, 2023
    Structurally nowhere dense classes

    Dreier, Mählmann and Siebertz proved FPT model checking on structurally nowhere dense classes (STOC 2023).

    source
  9. Apr 30, 2020
    Twin-width I: FPT with a contraction sequence

    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.

    source
  10. Apr 30, 2020
    Twin-width I: FPT with a contraction sequence
    Related to: FPT first-order model checking on every monadically dependent graph class

    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.

    source
  11. Dec 12, 2016
    Conjecture stated at the Warwick Algorithms, Logic and Structure workshop

    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.

    source
  12. Dec 12, 2016
    Conjecture stated at the Warwick Algorithms, Logic and Structure workshop
    Related to: FPT first-order model checking on every monadically dependent graph class

    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.

    source
  13. Nov 15, 2013
    FPT model checking on nowhere dense classes

    Grohe, Kreutzer and Siebertz proved FO model checking is FPT on every nowhere dense class (arXiv v1; J. ACM 2017).

    source
  14. Nov 15, 2013
    FPT model checking on nowhere dense classes
    Related to: FPT first-order model checking on every monadically dependent graph class

    Grohe, Kreutzer and Siebertz proved FO model checking is FPT on every nowhere dense class (arXiv v1; J. ACM 2017).

    source