arXiv:2611.01501math.LONov 2026

Manuscript Offprint

arXiv:2611.01501

Order-Invariant CFO Contains Local-Order-Invariant FO

Derek R. Aoki

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Order-invariant cluster first-order logic (CFO) and local-order-invariant first-order logic are two fragments of order-invariant first-order logic, both motivated by the study of invariant logics on classes of bounded degree. Our main result is that order-invariant CFO contains local-order-invariant FO on arbitrary classes of finite structures, settling the conjecture of Ghasemi and Grange that order-invariant CFO contains plain FO. By combining this with a collapse result of Ghasemi and Grange, we obtain the equivalence of FO, local-order-invariant FO, and order-invariant CFO on classes of finite colored graphs of bounded degree. The proof makes use of Gaifman normal form, which allows our translation from local-order-invariant FO to order-invariant CFO to be effective. Combined with the fixed-parameter tractability of model-checking for order-invariant CFO on bounded-degree colored graph classes, this shows that model-checking for local-order-invariant FO on bounded-degree colored graph classes is fixed-parameter tractable. To generalize our collapse and model-checking results beyond colored graphs, we use a method based on first-order interpretations which also yields a collapse of order-invariant FO to FO when restricted to graph classes of bounded shrub-depth. Finally, we give an application to the database-motivated frozen-witness logic of Abiteboul, Simon, and Vianu by showing that local-order-invariant FO contains deterministic frozen-witness FO, and thus that deterministic frozen-witness FO collapses to FO on classes of finite structures of bounded degree.

2012 ACM Subject Classification Theory of computation → Finite Model Theory

Keywords and phrases Local order invariance, order invariance, cluster first-order logic

Acknowledgements I would like to thank Noah Schweber for helpful conversations during the writing of this article.

1 Introduction

Finite model theory is the study of the queries on databases that can be expressed in formal languages. In particular, one tends to be interested in which queries are expressible in a given logic, and how difficult it is to compute whether a database satisfies a query defined in a given logic. In standard logics like first-order logic, fixed-point logics, or second-order logic, one can only refer to the relations of the structure itself. However, it is natural to want to make use of information like the order the data in the database is stored in, so long as the query evaluates in the same way on a database regardless of the particular order chosen. We call such a query, that is, one that uses an order but does not depend on the particular choice of order, order-invariant.

In the case of structures of arbitrary (including infinite) size, it is known that order-invariant first-order logic is equivalent in expressiveness to plain FO, via the Craig Interpolation Theorem [8]. However, there exist properties of finite structures definable in order-invariant FO which are not definable in FO, the first of which was discovered by Gurevich and published in [9]. In fact, it has been shown that the weaker fragment successor-invariant FO, in which formulae can only access the successor relation induced by the order in which the data is stored, can express properties of finite structures that cannot be expressed in FO [21]. Further non-collapse results include those for epsilon-invariant FO and deterministic frozen-witness FO [20], as well as for local-order-invariant FO [4].

Order-Invariant CFO Contains Local-Order-Invariant FO

2

Based on this, it is natural to ask whether invariant logics collapse on finite structures or on particular classes of finite structures. For instance, it has been proved that successor-invariant FO and FO express the same queries on classes of bounded degree [15], and that order-invariant FO collapses on trees, strings, and hollow trees [5, 16]. The question of whether full order-invariant FO collapses on classes of bounded degree is significant and open. However, a substantial fragment of order-invariant FO, known as order-invariant cluster first-order logic (CFO), has recently been introduced and shown to be contained in FO on classes of colored graphs of bounded degree [14]. A second question concerns the complexity of model-checking for these invariant logics, and it has been shown for instance that model-checking for order-invariant CFO is FPT [14].

An invariant logic of particular interest to us is local-order-invariant logic. A local order on a graph is a ternary relation ≺(x,y,z)\prec(x, y, z) such that when xx is fixed, ≺(x,y,z)\prec(x, y, z) linearly orders the neighbors of xx. On structures over arbitrary vocabularies, a local order is a local order on the Gaifman graph of the structure. Such local orders have been considered in the context of finite model theory prior to being considered in the context of invariant logics [5, 7]. Local-order-invariant FO was first considered in [18], and a number of questions related to this work were asked by Weinstein in [22]. Generalizations of these questions were answered in [4].