Equi-Rank Homomorphism Preservation Theorem on Finite Structures
Abstract
The Homomorphism Preservation Theorem (HPT) of classical model theory states that a first-order sentence is preserved under homomorphisms if, and only if, it is equivalent to an existential-positive sentence. This theorem remains valid when restricted to finite structures, as demonstrated by the author in [33, 34] via distinct model-theoretic and circuit-complexity based proofs. In this paper, we present a third (and significantly simpler) proof of the finitary HPT based on a generalized Cai-Fürer-Immerman construction. This method establishes a tight correspondence between syntactic parameters of a homomorphism-preserved sentence (quantifier rank, variable width, alternation height) and structural parameters of its minimal models (tree-width, tree-depth, decomposition height). Consequently, we prove a conjectured “equi-rank” version of the finitary HPT. In contrast, previous versions of the finitary HPT possess additional properties, but incur blow-ups in the quantifier rank of the equivalent existential-positive sentence.
Keywords and phrases:
finite model theory, preservation theorems, quantifier rank2012 ACM Subject Classification:
Theory of computation Finite Model TheoryAcknowledgements:
I thank Deepanshu Kush, William He and Ken-ichi Kawarabayashi for stimulating conversions that prompted me to revisit the topic of this paper. Anuj Dawar provided helpful comments on a preliminary draft of this paper. I am grateful to the anonymous referees for numerous suggestions that improved the clarity of this paper. This paper was partially written during a visit to the National Institute of Informations in Tokyo, Japan.Editors:
Jörg Endrullis and Sylvain SchmitzSeries and Publisher:

1 Introduction
A first-order sentence is said to be preserved under homomorphisms if, for any model and any structure such that there exists a homomorphism , it holds that . One class of first-order sentences that are always preserved under homomorphisms are the existential-positive sentences, which are built from atomic formulas (of the form and where is an -ary relation symbol) via conjunction , disjunction , and existential quantification (that is, without negation or universal quantification ).111A sentence is a formula with no free variables. Although the definition of preserved under homomorphisms extends to formulas with free variables, we speak of sentences for simplicity sake. We further restrict attention to relational languages (without functions or constant symbols), even though most definitions and results in this paper extend to general first-order languages.
The Homomorphism Preservation Theorem (HPT) of classical model theory, attributed to Łoś, Lyndon and Tarski [30, 39, 31], states that existential-positive sentences are – up to logical equivalence – the only first-order sentences that are preserved under homomorphisms.222Here the semantic notions of logical equivalence and preserved under homomorphisms are with respect to all (finite or infinite) structures.
Theorem 1.1 (HPT).
A first-order sentence is preserved under homomorphisms if, and only if, it is equivalent to an existential-positive sentence.
The closely related Łoś-Tarski and Lyndon Preservation Theorems state that a first-order sentence that is preserved under embeddings (respectively: surjective homomorphisms) if, and only if, it is equivalent to an existential sentence (respectively: positive sentence). In each of these classical preservation theorems, the “if” direction follows directly from the semantics of first-order logic, while the “only if” direction was originally proved non-constructively using the Compactness Theorem.
A line of work in finite model theory initiated by Gurevich [20] studies the question of which theorems of classical model theory remain valid, and which become false, when restricted to finite structures. For example, the Compactness Theorem is easily seen to be false on finite structures. Counterexamples in [38, 20] witness the failure on finite structure of the Łoś-Tarski and Lyndon Theorems (on preservation under embeddings and surjective homomorphisms). In contrast, previous work of the author [33, Theorem 1.7] and [34, Theorem 6] showed that the classical HPT remains valid when restricted to finite structures.
Theorem 1.2 (HPT on finite structures).
Every first-order sentence that is preserved under homomorphisms on finite structures is equivalent on finite structures to an existential-positive sentence.
Articles [33, 34] provide two entirely different proofs of Theorem 1.2, which we discuss in §2.1 and §2.2. Unfortunately, both proofs incur large blow-ups from the quantifier rank of a homomorphism-preserved first-order sentence to the quantifier rank () of the equivalent existential-positive sentence . The blow-up in [33] is non-elementary: is a tower-of-exponentials of height . (With respect to the length of and , a non-elementary blow-up is necessary [33, Theorem 6.1].) The method of [34] improved the quantifier rank blow-up to merely polynomial: .
At the same time, an additional result of [33, Theorem 1.6] showed the classical HPT (Theorem 1.1) requires no blow-up at all in quantifier rank:
Theorem 1.3 (Equi-rank HPT).
Every first-order sentence that is preserved under homomorphisms (on all structures) is equivalent to an existential-positive sentence with the same quantifier rank.
The proof of Theorem 1.3 avoids the non-constructive Compactness Theorem, using instead a method of -saturated co-retracts (see the discussion in §2.1). It was left as an open question whether Theorem 1.3 remains valid on finite structures. The main result of the present paper answers this question in the affirmative, finally unifying the finitary and equi-rank versions of the HPT.
Theorem 1.4 (Equi-rank HPT on finite structures).
Every first-order sentence that is preserved under homomorphisms on finite structures is equivalent on finite structures to an existential-positive sentence with the same quantifier rank, variable width, and alternation height.
Theorem 1.4 is simultaneously tight with respect to three different parameters: quantifier rank, variable width, and alternation height (see §3.2 for definitions). The surprisingly simple proof utilizes a generalized Cai-Fürer-Immerman construction [6] on finite relational structures (see §2.3). In particular, we consider two CFI structures and over a finite core (i.e., structure such that every homomorphism is an isomorphism). We show that
where denotes the existence of a homomorphism (Lemma 5.5). Theorem 1.4 then follows from a characterization of existential-positive definability in terms of the minimal cores of a homomorphism-closed class of finite structures (Lemma 4.6).
Related work
Our proof of Theorem 1.4 combines a few standard techniques that appear in many prior works. Variants of the Cai-Fürer-Immerman construction have found numerous applications similar in nature to our main result. In particular, Fürer [16] and Neuen [32] considered very similar generalization of CFI structures as given in Definition 5.4, only with different applications in mind.
The correspondence between quantifier rank/variable width, tree-width/tree-depth, and the # of moves/# of cops parameters of the cops-and-robber game, has been developed in several works including [1, 3, 12, 15, 19]. Variants of Lemmas 4.6 can be found in many of these papers.
Anuj Dawar (personal communication) independently identified the “core” homomorphism property of CFI structures (Lemma 5.5) in the context of a different problem. It is perhaps surprising that the application of the CFI construction to prove the Homomorphism Preservation Theorem remained unrecognized for such an extended period.
2 Comparing the three proofs of the finitary HPT
In this section, we discuss both previous proofs of the Homomorphism Preservation Theorem on finite structures (Theorem 1.2) from articles [33, 34]. We then give a brief overview of our new proof using the Cai-Fürer-Immerman construction.
2.1 First proof via -indistinguishable co-retracts
The original proof of the finitary HPT actually establishes the following stronger result.
Theorem 2.1 ([33, Theorem 5.15]).
For every finite relational signature and integer , there exists an integer () and an operation
with the following properties:
-
(I)
is a co-retract of (i.e., is a substructure of and there is a homomorphism that fixes each element of ).
-
(II)
Whenever is finite, so is .
-
(III)
Whenever and satisfy the same existential-positive sentences of quantifier rank , their co-retracts and satisfy the same first-order sentences of quantifier rank .
The finitary HPT follows straightforwardly from Theorem 2.1, although inheriting the same blow-up in quantifier rank from to (a tower-of-exponentials of height ). It is unknown whether every operation satisfying properties (I), (II) and (III) requires a large blow-up from to ; the method of the present paper sheds no light on this question.
An additional result in [33, Theorem 4.11] shows that the optimal value can be achieved by sacrificing property (II), that is, allowing to be infinite even when is finite. This yields the equi-rank version of the classical HPT (Theorem 1.3). In this version of the hat operation, is an (infinite) -saturated co-retract of . The manner of “finitizing” this operation in [33] is responsible for the tower-of-exponentials blow-up in Theorem 2.1.
Remark 2.2.
The method of -saturated co-retracts was recently generalized by Abramsky and Reggio [2], though the lens of game comonads and arboreal categories. They give general conditions leading to equi-resource homomorphism preservation theorems, both with respect to fragments of first-order logic and relativized to classes of structures satisfying certain axioms. Our proof of Theorem 1.4 does not follow this template, but it would be interesting to know if a -saturation proof is possible in the finite setting.
2.2 Second proof via lower bounds
Subsequent work of the author [34] provides an entirely different proof of the finitary HPT, with a merely polynomial blow-up in quantifier rank, based on lower bounds in circuit complexity.
Theorem 2.3 (Main result of [34]).
Let be a homomorphism-closed class of finite structures.
-
(1)
If membership in is decidable on structures of size by non-uniform formulas of size , then is definable on finite structures (of all sizes) by a single existential-positive sentence of quantifier rank .
-
(2)
If membership in is decidable on structures of size by non-uniform circuits of size , then is definable on finite structures (of all sizes) by a single existential-positive sentence of variable width .
The proof of Theorem 2.3 relies on three different lower bounds in circuit complexity [27, 28, 35], in addition to a result in graph minor theory on the excluded-minor approximation of tree-depth [9, 25].333Part (1) of Theorem 2.3 is stated in [34] with a weaker polynomial bound . The improvement to relies on a subsequent result of Czerwinski, Nadara, and Pilipczuk [9]. Part (2) of Theorem 2.3 is not explicitly stated in [34], but follows by a similar argument to part (1) using the circuit lower bound of Li, Razborov and the author [28]. We remark that Theorem 2.3 has an equivalent descriptive complexity formulation via the well-known correspondence [13, 24] between the non-uniform complexity class and the logic (first-order logic with arbitrary background predicates).
Corollary 2.4.
Let be a homomorphism-closed class of finite structures.
-
(1)
If is definable on finite structures by an sentence of quantifier rank , then is definable on finite structures by an existential-positive sentence of quantifier rank .
-
(2)
If is definable on finite structures by an sentence of quantifier width , then is definable on finite structures by an existential-positive sentence of variable width .
Corollary 2.4 strengthens Theorem 1.2 by expanding the hypothesis from first-order sentences to the more expressive class of sentences, while the equivalent existential-positive sentences remain first-order (without background predicates). The results of the present paper do not directly improve Corollary 2.4, but do show that improvements would follow from strong enough lower bounds on the complexity of distinguishing “even” and “odd” CFI structures over any base graph. Recent size-depth tradeoffs for -Frege refutations of Tseitin formulas [22, 17] might be relevant to this question.
2.3 New proof via the Cai-Fürer-Immerman construction
An influential article of Cai, Fürer and Immerman [6] introduced a construction of non-isomorphic simple graphs of order that are indistinguishable by -variable counting logic (equivalently, by the -dimensional Weisfeiler-Leman algorithm). The general construction associates any -regular graph with a pair of non-isomorphic graphs and , which are hard to distinguish when the “base graph” is an expander. The CFI construction is closely related to -XOR-CNF formulas associated with , studied by Tseitin [40] in the setting of proof complexity. The Tseitin formulas are a system of linear equations modulo , with a variable for each edge and a constraint for each vertex (either or , where are the edges incident to ). This system is satisfiable if, and only if, the number of inhomogeneous constraints is even. The CFI graphs and encode the two different (satisfiable and unsatisfiable) Tseitin formulas over , corresponding to the -homomology classes of over .
The CFI construction generalizes to arbitrary (non-3-regular, non-connected) simple graphs , as well as to abelian coordinate groups other than . Generalizations of Tseitin formulas and the CFI construction have found numerous applications in finite model theory and proof complexity. In this paper we consider a natural version of the CFI construction on finite structures with a fixed relational signature (Definition 5.4). For any finite “base” structure , this construction produces a pair of non-isomorphic finite structures and . Like the original CFI graphs, these structures are indistinguishable by first-order sentences whose quantifier rank / number of variables is less than the tree-depth / tree-width of (Lemma 5.6).
Unlike some versions of the CFI construction (such as the original CFI graphs [6]), structures and project homomorphically to the base structure . In the key special case of a finite core (where every homomorphism is an isomorphism), we show that admits a homomorphism to but not to (Lemma 5.5). Our main result, the equi-rank finitary HPT (Theorem 1.4), then follows by essentially well-known arguments.
3 Preliminaries
This section includes all relevant definitions pertaining to structures, homomorphisms, and first-order logic. See [29, 24] for additional background on finite model theory.
3.1 Structures and homomorphisms
Definition 3.1.
A (relational) signature is a set of relation symbols, each with an associated positive integer “arity”. A -structure consists a set (called the universe of ) together with an interpretation for each -ary relation symbol in . A structure is finite if its signature and universe are both finite.
Definition 3.2 (Homomorphism and isomorphism).
-
For structures with the same signature, a homomorphism is a function from the universe of to the universe of , which maps each tuple in each relation of to a tuple in the corresponding relation of . An isomorphism is a homomorphism which is a bijection and whose inverse is a homomorphism.
-
Notation expresses that there exists a homomorphism from to . We say that and are homomorphically equivalent, denoted , if and .
-
Notation denotes the class of all (finite or infinite) structures such that .
Definition 3.3 (The core of a finite structure).
-
A structure is a core if every homomorphism is an isomorphism.
-
Every finite structure is homomorphically equivalent to a unique core (up to isomorphism), which we call “the” core of and denote by . is isomorphic to an induced substructure of , namely any minimal retract of [23].
Definition 3.4 (Gaifman graph).
The Gaifman graph of a structure , denoted , is the simple graph with vertex set (the universe of ) and undirected edge set
3.2 First-order logic
Definitions in this subsection are with respect to an arbitrary fixed relational signature (i.e., a finite set of relation symbols, each with an associated positive integer “arity”).
Definition 3.5 (First-order formulas).
Formulas of first-order logic (denoted by ) are constructed from
-
atomic formulas and (for a -ary relation symbol ) via
-
Boolean connectives and and and
-
quantifiers and .
(Here are arbitrary variable symbols.)
A formula is said to be:
-
a sentence if it contains no free variables (i.e., if every occurrence of every variable symbol is bounded by a quantifier),
-
positive if it contains no negations (),
-
existential-positive if it contains no negations () or universal quantifiers (),
-
primitive-positive if it contains no negations (), universal quantifiers () or disjunction ().
In other words, primitive-positive formulas are constructed from atomic formulas via existential quantification () and conjunction () only; existential-positive formulas additionally allow disjunction ().
Definition 3.6 (Quantifier rank and variable width).
Two important parameters of first-order formulas are:
-
quantifier rank, defined as the maximum nesting depth of quantifiers, and
-
variable width, defined as the maximum number of free variables in any subformula.
Definition 3.7 (Alternation height).
A first-order formula has alternation height iff it is quantifier-free (i.e., a Boolean combination of atomic formulas). For , has alternation height at most iff it is a Boolean combination of finitely many first-order formulas , each of the form or some and with alternation height at most .
Example 3.8.
To illustrate various tradeoffs in parameters, we present four different primitive-positive sentences, all which define the class where is the directed path graph of order .
-
(a)
quantifier rank , variable width , alternation height
-
(b)
quantifier rank (the minimum possible), variable width , alternation height
-
(c)
quantifier rank , variable width (the minimum possible), alternation height
-
(d)
quantifier rank , variable width , alternation height (the minimum possible)
4 Characterization of definability via the cops-and-robber game
The main result of this section (Lemma 4.6) provides a useful characterization of the classes of structures that are definable by existential-positive sentences with a given quantifier rank , variable width , and alternation height . This characterization uses the well-known cops-and-robber game, which is also a means of defining the graph parameters tree-width and tree-depth.
4.1 Cops-and-robber game
Let , , be a finite simple graph. Tree-width and tree-depth, denoted by and , are well-studied graphs parameters that are usually defined in terms of tree-like decompositions of . Below, we present an alternative definition of these parameters in terms of a two-player pursuit-evasion game. This “cops-and-robbers” characterization of and is better suited to our purposes in this paper.
Definition 4.1 (Cops-and-robber game).
For any , the height- cops-and-robber game on a graph is a pursuit-evasion between two players: a team of cops and a sole robber (each with complete knowledge of the other’s moves). The game is played in a sequence of rounds as follows:
-
Initially, the robber positions himself on any vertex of his choice.
-
In round of the game, any number of cops take up positions on their choice of vertices. The robber then moves to any vertex in the same connected component (bypassing any newly positioned cops that stand in the way). The game ends immediately only if the robber moves to a position guarded by a cop.
-
In round of the game, any subset of the assigned cops remain on their stationed vertices, and any number of (reassigned or additional) cops take up new positions on their choice of vertices. The robber then moves to any vertex in that reachable via a path that avoids the stationary cops (but may bypass any newly (re)positioned cops).
-
The game proceeds in this manner for up to rounds, ending immediately if the robber ever occupies the same vertex as a cop at the end of a round. This situation is a win for the cop team; otherwise the robber wins if not caught after rounds.
The team of cops clearly have a winning strategy for any : in the first round, simply occupy all vertices in the connected component of the robber. The two questions that concern us are:
-
How many distinct cops are required to catch the robber?
-
How many distinct cop “moves” (i.e., instances of positioning a cop on a vertex) are required to catch the robber?
When the “height” of the game (i.e., number of rounds) is unbounded, the answers to these questions respectively characterize the tree-width and tree-depth of [37, 18].
Taking into account the height , we get two hierarchies of parameters
defined as follows:
-
is the maximum such that the robber has a winning strategy in the height- -move -cops-and-robber game on .
-
is the minimum such that the cops have a winning strategy in height- -move -cops-and-robber game.
Observe that
Also note that for all . Finally, note that and .
Example 4.2.
With respect to the path graph of order , it is well-known that and . Moreover it is not hard to show that
for all .
In the remainder of this paper, we are not interested in and per se, but rather in tradeoffs among all three parameters in the cops-and-robbers game: the numbers of cops, cop moves, and height. That is, for any triple of parameters , which side has a winning strategy in the height- -move -cops-and-robber game on ?
Remark 4.3.
Tradeoffs between and (when is unbounded) were recently studied in [15], and monotonicity of an optimal cops strategy in the -move -cops-and-robber game was established in [3]. In both of those articles, the -move -cops-and-robber game is called the “-round -cops-and-robber game”. Optimizing with respect to fixed characterizes a parameter called the depth- tree-width of .
In the present article, we use terminology “height-” instead of “-round” to avoid confusion with the previous terminology. We propose names height- tree-width and height- tree-depth for parameters and .
4.2 definability of homomorphism-closed classes
We shall now review a well-known characterization of the parameters (quantifier rank and variable width) required to define the class of structures by a primitive-positive sentence, for finite core . In fact, we slightly extend this characterization by including alternation height as a third parameter.
Lemma 4.4.
For any finite core and integer , the following statements are equivalent:
-
(i)
The class is definable by a primitive-positive sentence with quantifier rank , variable width , and alternation height .
-
(ii)
The cops have a winning strategy in the height- -move -cops-and-robber game on .
Results very similar to Lemma 4.4, which consider only one or two of the parameters , have appeared before in the literature [1, 3, 12, 15, 18, 19, 37]. Lemma 4.4 may be used to characterize the parameters of existential-positive sentences that define a given homomorphism-closed class of finite structures.
Definition 4.5 (Minimal cores of a homomorphism-closed class of finite structures).
-
A class of finite structures is homomorphism-closed if
for all finite structures and .
-
A minimal core in is a core such that
for all finite structures .
Note that is determined by its set of minimal cores: a finite structures belongs to if, and only if, there is a homomorphism to from at least one minimal core in .
Lemma 4.6.
Let be a homomorphism-closed class of finite structures. For any , the following statements are equivalent:
-
(i)
is definable on finite structures by an existential-positive sentence with quantifier rank , variable width , and alternation height .
-
(ii)
The cops have a winning strategy in the height- -move -cops-and-robber game on , for every minimal core in .
Lemma 4.6 follows from Lemma 4.4 by standard arguments (see [34, Proposition 2.16]). The only minor subtlety in the proof is a reliance on the fact that, for any given finite relational signature and , there are only a finite number of non-isomorphic cores with tree-depth [23]. This is required so that the disjunction of primitive-positive sentences defining , over the non-isomorphic minimal cores in , constitutes a well-defined (finite length) existential-positive sentence.
5 Generalized Cai-Fürer-Immerman construction
In this section we present the generalized Cai-Fürer-Immerman construction discussed in §2.3 and establish its key properties given by Lemmas 5.5 and 5.6.
Notation 5.1.
Let denote the group with addition modulo .
We will make use of the following basic lemma of graph homology, stated here over the coefficient group .
Lemma 5.2.
For any graph , , and function , the following statements are equivalent:
-
(i)
for every connected component .
-
(ii)
is a “1-boundary”, that is, there exists a function such that for every , we have .
Notation 5.3.
Let be a structure with Gaifman graph . For an element , let , and respectively denote the incident-edge set, neighbor set and -neighborhood of in . That is,
Definition 5.4 (Generalized Cai-Fürer-Immerman structures ).
For any relational structure with universe and any function , we define a structure (with the same signature) as follows:
-
has universe
(Here for readability sake we use a distinctive notation for the ordered pair .)
-
For each -ary relation in , the corresponding relation in is defined by
Note that the projection is a homomorphism . Also note that this homomorphism need not be surjective (for instance, if is an isolated vertex in and ).
Our first key lemma gives a necessary and sufficient condition for the existence of a homomorphism in the opposite direction in the special case that is a core.
Lemma 5.5.
Let be a finite core with Gaifman graph , and let . There exists a homomorphism if, and only if, for each connected component of .
Proof of Lemma 5.5.
We first prove the “if” direction. Assume that for each connected component of . By Lemma 5.2, there exists a function such that for all , we have
For each , define by and for all . Note that . The function is the desired homomorphism .
We now prove the “only if” direction. Assume that is an arbitrary homomorphism . Consider the projection homomorphism that maps to , and let be the composition
Since is a core, is an isomorphism. In particular, note that restricts to a bijection from to for each .
For each , we have for some . Since , we have
We now define by
Using the fact that maps bijectively to , we have
Therefore, we have where is the function .
Let us next consider the function defined by
We claim that is a homomorphism . (We prove this claim only in order to show that for all .) To see why, consider any tuple in any relation of . Since is a homomorphism , we have
By definition of , for all , we have and hence
So we see that (by definition of )
This argument shows that is a homomorphism as claimed.
We now define a function by
This is well-defined, since (as established in previous paragraph) we have for all (i.e., for all distinct that appear together in any tuple of any relation of ).
For all , we have
By Lemma 5.2, it follows that for each connected component of . Since is a core, restricts to a bijection on each connected component. We conclude that
as required.
The second key lemma concerns the parameters of first-order sentences that distinguish any two structures in the class is a function from to .
Lemma 5.6.
Let be a finite structure with Gaifman graph . Assume that the robber has a winning strategy starting on vertex in the height- -move -ccops-and-robber game on . Further assume that and are functions satisfying
Then structures and are indistinguishable by first-order sentences with quantifier rank , variable width , and alternation height .
We obtain Lemma 5.6 as the case of the following more general lemma, whose statement is suited for proof by induction on the alternation height .
Lemma 5.7.
Let be a finite structure with Gaifman graph . Assume that the robber has a winning strategy in the height- -move -ccops-and-robber game on with () cops initially positioned at vertices and the robber initially positioned at vertex . Further assume that and and are functions satisfying
Then for every first-order formula with quantifier rank , variable width , and alternation height , we have
Proof.
We argue by induction on . The base case is equivalent to showing that and satisfy the same quantifier-free formulas. Here it suffices to consider only the atomic formulas. That is, we must show
-
for all indices , and
-
for every -ary relation symbol and indices .
Both equivalences follow from our assumptions on . In particular, the second equivalence follows from the definition of relations and the observation that
for all .
For the induction step, assume that . By definition of having alternation height , is a Boolean combination of finitely many first-order formulas , each of the form
for some and and first-order formula with quantifier rank (at most) , variable width (at most) , and alternation depth (at most) . Consider any such formula , without loss of generality of the form where . It suffices to show that
We will prove the implication ; the reverse implication follows by a symmetric argument.
Assume that and fix a choice of such that
In the remainder of this proof, we will show that there exist functions with () such that
It then follows that , which establishes the required implication
In order to define suitable functions , we invoke the robber’s winning strategy in the height- -move -ccops-and-robber game on with cops starting at and the robber starting at . Suppose that in the round of the game, the first cops remain at while the next cops redeploy to . There exists and a path in (with and for all ) such that and the robber has a winning strategy in the -round -move -ccops-and-robber game on with cops starting at and the robber starting at .
Define and () by
We will next show that and satisfy the conditions of the lemma with respect to and the first-order formula .
First, note that
Second, to establish that
we observe that for each ,
Third, by definition of , we have
Fourth and finally, for all , we have
By the induction hypothesis applied to , we conclude that
finishing the proof.
6 Proof of the equi-rank finitary HPT
Proof of Theorem 1.4.
Let be a first-order sentence that is preserved under homomorphisms on finite structures. Let , and be the quantifier rank, variable width and alternation height of .
Assume that has at least one finite model, since otherwise the theorem is trivial (allowing as a special primitive-positive sentence with no models). Consider any minimal core (with universe ) in the class of finite models of . By Lemma 4.6, it suffices to show that the cops have a winning strategy in the height- -move -cops-and-robber game on , starting from an (adversarial) choice of initial position for the robber.
Let be the CFI structure where stands for the all-zero function , and let be the CFI structure where stands for the function with value at and elsewhere. Additionally, let be the all-zero function . Note that
By Lemma 5.5, we have . Since is closed under homomorphisms on finite structures, it follows that . Lemma 5.5 also implies . Since , our assumption that is a minimal core in the class of finite models of implies that .
We have established that is a first-order sentence with quantifier rank , variable width and alternation height , which distinguishes the pair of structures and . Therefore, by (the contrapositive of) Lemma 5.6, the cops have a winning strategy with the robber starting on in the height- -move -cops-and-robber game on .
By Lemma 4.6, we conclude that is equivalent on finite structures to an existential-positive sentence with quantifier rank , variable width , and alternation height , as required.
7 Open questions
As discussed in §2, it remains an open question whether the quantifier-rank blow-up can be eliminated or significantly reduced in either Theorem 2.1 or 2.3 (the main results of [33, 34]).
Another interesting question is to investigate tradeoffs in Theorems 2.1 or 2.3 involving alternation depth . There is a natural correspondence between primitive-positive sentences and monotone circuits (with unbounded gates and fan-in gates). For any finite graph , this correspondence gives the following upper bounds on the colored -subgraph isomorphism problem (equivalent to the -homomorphism problem when is a core).
Proposition 7.1.
For any finite graph , the colored -subgraph isomorphism problem, as a sequence of monotone Boolean functions , is computable for all by both
-
monotone formulas with -depth and size , and
-
monotone circuits with -depth and size .
In the arithmetic setting, the corresponding set-multilinear polynomials are computable by monotone arithmetic formulas and circuits with -depth and size and , respectively.
It would be interesting to establish lower bounds in circuit complexity that nearly match the size-depth tradeoffs of Proposition 7.1. Recent work of the author [36] takes a step in this direction by establishing and lower bounds in the case of path graphs . With respect to monotone arithmetic circuits and formulas, even tighter and lower bounds for general graphs might be possible using the technique of Komarath, Pandey and Rahul [26].
References
- [1] Samson Abramsky, Anuj Dawar, and Pengming Wang. The pebbling comonad in finite model theory. In 2017 32nd Annual ACM/IEEE Symposium on Logic in Computer Science (LICS), pages 1–12. IEEE, 2017. doi:10.1109/LICS.2017.8005129.
- [2] Samson Abramsky and Luca Reggio. Arboreal categories and equi-resource homomorphism preservation theorems. Annals of Pure and Applied Logic, 175(6):103423, 2024. doi:10.1016/J.APAL.2024.103423.
- [3] Isolde Adler and Eva Fluck. Monotonicity of the Cops and Robber Game for Bounded Depth Treewidth. In 49th International Symposium on Mathematical Foundations of Computer Science (MFCS 2024), volume 306, pages 6:1–6:18, 2024. doi:10.4230/LIPICS.MFCS.2024.6.
- [4] Albert Atserias. On digraph coloring problems and treewidth duality. European Journal of Combinatorics, 29(4):796–820, 2008. doi:10.1016/J.EJC.2007.11.004.
- [5] Albert Atserias, Anuj Dawar, and Phokion G. Kolaitis. On preservation under homomorphisms and unions of conjunctive queries. J. ACM, 53(2):208–237, 2006. doi:10.1145/1131342.1131344.
- [6] Jin-Yi Cai, Martin Fürer, and Neil Immerman. An optimal lower bound on the number of variables for graph identification. Combinatorica, 12(4):389–410, 1992. doi:10.1007/BF01305232.
- [7] James Carr. Homomorphism preservation theorems for many-valued structures. arXiv preprint arXiv:2403.00217, 2024.
- [8] Hubie Chen. On the complexity of existential positive queries. ACM Transactions on Computational Logic (TOCL), 15(1):1–20, 2014. doi:10.1145/2559946.
- [9] Wojciech Czerwinski, Wojciech Nadara, and Marcin Pilipczuk. Improved bounds for the excluded-minor approximation of treedepth. In 27th Annual European Symposium on Algorithms (ESA 2019). Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2019.
- [10] Anuj Dawar. Homomorphism preservation on quasi-wide classes. Journal of Computer and System Sciences, 76(5):324–332, 2010. doi:10.1016/J.JCSS.2009.10.005.
- [11] Anuj Dawar and Ioannis Eleftheriadis. Preservation theorems on sparse classes revisited. In Proceedings of the 49th International Symposium on Mathematical Foundations of Computer Science, 2024.
- [12] Anuj Dawar, Tomáš Jakl, and Luca Reggio. Lovász-type theorems and game comonads. In 2021 36th Annual ACM/IEEE Symposium on Logic in Computer Science (LICS), pages 1–13. IEEE, 2021.
- [13] Larry Denenberg, Yuri Gurevich, and Saharon Shelah. Definability by constant-depth polynomial-size circuits. Information and control, 70(2-3):216–240, 1986. doi:10.1016/S0019-9958(86)80006-7.
- [14] Tomás Feder and Moshe Y. Vardi. Homomorphism closed vs. existential positive. In Proceedings of the 18th IEEE Symposium on Logic in Computer Science, pages 310–320, 2003. doi:10.1109/LICS.2003.1210071.
- [15] Eva Fluck, Tim Seppelt, and Gian Luca Spitzer. Going deep and going wide: Counting logic and homomorphism indistinguishability over graphs of bounded treedepth and treewidth. In 32nd EACSL Annual Conference on Computer Science Logic (CSL 2024). Schloss-Dagstuhl-Leibniz Zentrum für Informatik, 2024.
- [16] Martin Fürer. On the combinatorial power of the Weisfeiler-Lehman algorithm. In International Conference on Algorithms and Complexity, pages 260–271. Springer, 2017. doi:10.1007/978-3-319-57586-5_22.
- [17] Nicola Galesi, Dmitry Itsykson, Artur Riazanov, and Anastasia Sofronova. Bounded-depth Frege complexity of Tseitin formulas for all graphs. Annals of Pure and Applied Logic, 174(1):103166, 2023. doi:10.1016/J.APAL.2022.103166.
- [18] Archontia C Giannopoulou, Paul Hunter, and Dimitrios M Thilikos. LIFO-search: A min–max theorem and a searching game for cycle-rank and tree-depth. Discrete Applied Mathematics, 160(15):2089–2097, 2012. doi:10.1016/J.DAM.2012.03.015.
- [19] Martin Grohe. The complexity of homomorphism and constraint satisfaction problems seen from the other side. Journal of the ACM, 54(1):1–24, 2007. doi:10.1145/1206035.1206036.
- [20] Yuri Gurevich. Toward logic tailored for computational complexity. In M. M. Richter et al., editor, Computation and Proof Theory, pages 175–216. Springer Lecture Notes in Mathematics, 1984.
-
[21]
Lucy Ham.
Relativised homomorphism preservation at the finite level.
Studia Logica, 105(4):
761–786, 2017. doi:10.1007/S11225-017-9710-7. - [22] Johan Håstad. On small-depth Frege proofs for Tseitin for grids. Journal of the ACM (JACM), 68(1):1–31, 2020. doi:10.1145/3425606.
- [23] Pavol Hell and Jaroslav Nešetřil. The core of a graph. Discrete Math., 109:117–126, 1992. doi:10.1016/0012-365X(92)90282-K.
- [24] Neil Immerman. Descriptive Complexity Theory. Graduate Texts in Computer Science. Springer, New York, 1999.
- [25] Ken-ichi Kawarabayashi and Benjamin Rossman. A polynomial excluded-minor characterization of treedepth. In 29th ACM-SIAM Symposium on Discrete Algorithms, pages 234–246, 2018.
- [26] Balagopal Komarath, Anurag Pandey, and Chengot Sankaramenon Rahul. Monotone arithmetic complexity of graph homomorphism polynomials. Algorithmica, 85(9):2554–2579, 2023. doi:10.1007/S00453-023-01108-0.
- [27] Deepanshu Kush and Benjamin Rossman. Tree-depth and the formula complexity of subgraph isomorphism. SIAM Journal on Computing, 52(1):273–325, 2023. doi:10.1137/20M1372925.
- [28] Yuan Li, Alexander Razborov, and Benjamin Rossman. On the AC0 complexity of subgraph isomorphism. SIAM Journal on Computing, 46(3):936–971, 2017.
- [29] Leonid Libkin. Elements of Finite Model Theory. Springer-Verlag, 2004.
- [30] Jerzy Łoś. On the extending of models (I). Fundamenta Mathematicae, 42:38–54, 1955.
- [31] Roger C. Lyndon. Properties preserved under homomorphism. Pacific J. Math., 9:129–142, 1959.
- [32] Daniel Neuen. Homomorphism-distinguishing closedness for graphs of bounded tree-width. In 41st International Symposium on Theoretical Aspects of Computer Science (STACS 2024). Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2024.
- [33] Benjamin Rossman. Homomorphism preservation theorems. Journal of the ACM, 55(3):15, 2008.
- [34] Benjamin Rossman. An improved homomorphism preservation theorem from lower bounds in circuit complexity. In 8th Innovations in Theoretical Computer Science, volume 67 of LIPIcs, pages 27:1–17, 2017. doi:10.4230/LIPICS.ITCS.2017.27.
- [35] Benjamin Rossman. Formulas versus circuits for small distance connectivity. SIAM Journal on Computing, 47(5):1986–2028, 2018. doi:10.1137/15M1027310.
- [36] Benjamin Rossman. Formula size-depth tradeoffs for iterated sub-permutation matrix multiplication. In Proceedings of the 56th Annual ACM Symposium on Theory of Computing, pages 1386–1395, 2024. doi:10.1145/3618260.3649628.
- [37] Paul D Seymour and Robin Thomas. Graph searching and a min-max theorem for tree-width. Journal of Combinatorial Theory, Series B, 58(1):22–33, 1993. doi:10.1006/JCTB.1993.1027.
- [38] William W. Tait. A counterexample to a conjecture of Scott and Suppes. J. Symbolic Logic, 24:15–16, 1959. doi:10.2307/2964569.
- [39] Alfred Tarski. Contributions to the theory of models. I. In Indagationes Mathematicae (Proceedings), volume 57, pages 572–581. Elsevier BV, 1954.
- [40] Grigori S Tseitin. On the complexity of derivation in propositional calculus. Automation of reasoning: 2: Classical papers on computational logic 1967–1970, pages 466–483, 1983.