Homomorphism Indistinguishability, Multiplicity Automata Equivalence, and Polynomial Identity Testing
Abstract
Two graphs and are homomorphism indistinguishable over a graph class if they admit the same number of homomorphisms from every graph . Many graph isomorphism relaxations such as (quantum) isomorphism and cospectrality can be characterised as homomorphism indistinguishability over specific graph classes. Thereby, the problems of deciding homomorphism indistinguishability over subsume diverse graph isomorphism relaxations whose complexities range from logspace to undecidable. Establishing the first general result on the complexity of , Seppelt (MFCS 2024) showed that is in randomised polynomial time for every graph class of bounded treewidth that can be defined in counting monadic second-order logic .
We show that this algorithm is conditionally optimal, i.e. it cannot be derandomised unless polynomial identity testing is in P. For -definable graph classes of bounded pathwidth, we improve the previous complexity upper bound for from P to and show that this is tight. Secondarily, we establish a connection between homomorphism indistinguishability and multiplicity automata equivalence which allows us to pinpoint the complexity of the latter problem as -complete.
Keywords and phrases:
treewidth, Courcelle’s theorem, logspace, multiplicity automata, polynomial identity testingFunding:
Marek Černý: University of Antwerp (BOF, Doctoral project 47103).
European Union (CountHom, 101077083). Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or the European Research Council Executive Agency. Neither the European Union nor the granting authority can be held responsible for them.
Copyright and License:
2012 ACM Subject Classification:
Theory of computation Graph algorithms analysis ; Theory of computation Formal languages and automata theory ; Theory of computation Finite Model TheoryAcknowledgements:
We would like to acknowledge fruitful discussions with Mikołaj Bojańczyk and Sam van Gool at the Dagstuhl Seminar 25141 “Categories for Automata and Language Theory”. Furthermore, we are grateful for discussions with David E. Roberson and Louis Härtel. Finally, we gratefully acknowledge Floris Geerts for drawing our attention to the link between automata and Specht–Wiegmann-type theorems.Editors:
Meena Mahajan, Florin Manea, Annabelle McIver, and Nguyễn Kim ThắngSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
1 Introduction
Graph data is ubiquitous: Graphs may represent social networks, transportation networks, chemical or pharmaceutical molecules, databases or program executions. A central task when presented with graph data is detecting whether two graphs are structurally equivalent or isomorphic. Graph isomorphism, however, is complexity-theoretically elusive [32] and practically not very robust for example w.r.t. noise or perturbations. These limitations motivate the study of graph isomorphism relaxations, i.e. equivalence relations between graphs that are coarser than isomorphism. Although a plethora of graph isomorphism relaxations has been proposed and studied in the past decades, they – to our knowledge – lack a coherent theory which explains e.g. their computational complexity. In recent years, homomorphism indistinguishability has emerged as a framework that provides increasingly comprehensive answers to this end.
Two graphs and are homomorphism indistinguishable over a graph class if, for every , the graphs and admit the same number of homomorphisms from the graph . Many well-studied graph isomorphism relaxations from a wide range of areas can be characterised as homomorphism indistinguishability relations over natural graph classes. Examples include graph isomorphism corresponding to homomorphism indistinguishability over all graphs [43], quantum isomorphism (planar graphs, [47]), cospectrality (cycles), and equivalence under the -dimensional Weisfeiler–Leman algorithm (graphs of treewidth at most , [24, 23]). Further examples draw from notions originating in category theory [22, 49], optimisation [30, 8, 46, 23, 31, 53, 56], quantum information theory [41], machine learning [70, 50, 26, 71], and finite model theory [28, 25, 1, 59], see also the monograph [63].
The central decision problem associated with homomorphism indistinguishability is which asks, given input graphs and , whether they are homomorphism indistinguishable over a fixed graph class . For varying , the problems subsume diverse graph isomorphism relaxations falling into a wide range of complexity classes. For example, for the class of trees , is in polynomial time via the Weisfeiler–Leman algorithm, most notably, for the class of all planar graphs , is undecidable [47, 9, 65], and, for the class of all graphs , is graph isomorphism and thus in quasipolynomial time [10]. Note that, despite , there is no apparent relation between the complexities of the homomorphism indistinguishability problems over these graph classes, see also [63, Table 9.1].
Crucially, by viewing graph isomorphism relaxations as homomorphism indistinguishability relations , one may analyse their complexity in terms of properties of the graph classes , thus facilitating a principled study of the complexity of graph isomorphism relaxations. Adopting this approach, Seppelt [62] showed that is in randomised polynomial time coRP for every recognisable graph class of bounded treewidth. Recognisability is a fairly general property of graph classes introduced by Courcelle [19] which can be thought of as roughly equivalent to definability in the rather powerful counting monadic second-order logic [12]. By the Robertson–Seymour theorem [57], all minor-closed graph classes are recognisable, the former being central to homomorphism indistinguishability [55, 64]. In [62], it was asked whether the algorithm presented there can be derandomised. Our first result asserts that this would be subject to major complexity-theoretic challenges.
Theorem 1.
There exists a -definable graph class of bounded treewidth such that , MTA equivalence, and PIT are logspace many-one interreducible.
Here, PIT denotes the polynomial identity testing problem, i.e. the problem of deciding whether a polynomial represented by an arithmetic circuit is the zero polynomial. A deterministic polynomial-time algorithm for PIT would have far-reaching complexity-theoretic repercussions [40]. It was shown in [48] that PIT is logspace many-one interreducible with equivalence testing for multiplicity tree automata (MTA). MTAs [11] are an algebraic model of computation: they assign to every tree a number from a field ( in our case). One may, for example, think of the trees as representing XML documents and of the numbers as being probabilities. MTAs have a wide range of applications, see [48].
As a secondary result, we streamline the reasoning in [62] by reducing , for every recognisable graph class of bounded treewidth, to MTA equivalence, see Theorem 6. In retrospect, this is quite natural given Courcelle’s automata-theoretic motivation for the notion of recognisability [19]. Analogous to the bounded-treewidth case, we show that for recognisable graph classes of bounded pathwidth reduces to equivalence of multiplicity word automata (MWA, [61]), see Theorem 6. This does not only simplify the reasoning in [62] but also improves the complexity upper bound for such problems , via a classical result of Tzeng [67], from polynomial time to DET, the class of problems that are -reducible to computing the determinant of integer matrices [18]. Refining Tzeng’s analysis, we establish the precise complexity of MWA equivalence. See Figure 1 for an overview of complexity classes.
Theorem 2.
MWA equivalence is -complete under logspace many-one reductions.
Combined with the initially described reduction, this yields the following upper bound for the complexity of for recognisable bounded-pathwidth graph classes .
Theorem 3.
For every recognisable graph class of bounded pathwidth, .
Since is a subclass of , Theorem 3 implies that homomorphism indistinguishability over every recognisable bounded-pathwidth graph class can be decided on a parallel computer with polynomially many processors in time . Thereby, the theorem establishes a trade-off between distinguishing power and computational complexity. While homomorphism indistinguishability over bounded-pathwidth graph classes is provably weaker than homomorphism indistinguishability over bounded-treewidth graph classes [63, Theorem 6.4.6], it can be decided at a substantially lower computational cost. This is of particular interest for the graph learning community where message-passing graph neural networks are an often-employed paradigm, see [29]. With respect to distinguish power, these architectures correspond to the Weisfeiler–Leman algorithm [70, 50] which cannot be efficiently parallelised unless [27]. In contrast, our Theorem 3 provides a wealth of efficiently parallisable graph isomorphism relaxations.
In order to get an intuition for the complexity class as introduced in [5], one may consider its complete problems such as the set of singular integer matrices [3] or the machine characterisation [2, 5] asserting that a language is in if, and only if, there exists a non-deterministic logspace Turing machine such that iff the number of accepting paths equals the number of rejecting paths of on input . Many linear-algebraic problems where shown to be complete for [37, 44], see also [3, 36, 45]. We add to the list of such problems by showing that the upper bound in Theorem 3 is tight.
Theorem 4.
There exists a -definable graph class of bounded pathwidth such that is -complete under logspace many-one reductions.
Related Work
Our results provide a complexity-theoretic foundation for the many-faceted connections between systems of equations and homomorphism indistinguishability. Two graphs and are isomorphic if, and only if, there exists a permutation matrix such that where and denote the adjacency matrices of and , respectively. When relaxing the constraints on the matrix , one obtains characterisations of other homomorphism indistinguishability relations. For example, two graphs and are homomorphism indistinguishable over all paths iff there exists a pseudo-stochastic matrix satisfying the above equation [23]. Thus, homomorphism indistinguishability of simple graphs generalises a variety of relaxations of permutation-similarity for symmetric -matrices. Various relaxations of similarity for integer matrices have been shown [37, 36] to be complete for and . Less is known about symmetric -matrices, see Section 5.3.
The fixed-parameter complexity with respect to logarithmic space of homomorphism counting was studied in [16, 33]. However, this task is only tangentially related to homomorphism indistinguishability. Since the considered graph classes are typically infinite, being able to count homomorphisms from does not a priori help to decide . In fact, the algorithms in Theorem 3 and [62] compute linear-algebraic invariants rather than homomorphism counts. Conversely, it is not clear how to infer homomorphism counts using .
Finally, we would like to highlight two previous results on the complexity of homomorphism indistinguishability within polynomial time (both results are originally proven in model-theoretic terms but can be recast via [24, 23, 28]): Firstly, Grohe [27] showed that, for every , homomorphism indistinguishability over all graphs of treewidth at most is complete for P under uniform -reductions. Note that this does not have implications for other graph classes of bounded treewidth, e.g. the class of outerplanar graphs or the class in Theorem 1. Secondly, Raßmann, Schindling, and Schweitzer [52] showed that, for every , homomorphism indistinguishability over all graphs of treedepth at most can be decided in L. Again, this does not have implications for other bounded-treedepth graph classes. Since bounded treedepth implies bounded pathwidth [51], Theorem 3 applies to a much wider class of graph classes while yielding containment in rather than L.
2 Preliminaries
The natural numbers are . In all computational tasks, rationals are encoded as fractions of binary integers.
2.1 Multiplicity automata
A multiplicity word automaton (MWA, [61]) is a tuple , where is a finite set of states, is a finite alphabet, is the initial vector, and is the final vector. The map assigns to each letter a transition matrix. For convenience, we extend from to all words by defining so that the empty word is mapped to the identity matrix . The automaton recognises the rational series given by .
A finitary type is a set of symbols with an arity map assigning to each symbol a natural number . For , the set of all -ary symbols in is denoted by . A set of -trees denoted by is the smallest set such that , and if , symbol and then element .
The Kronecker product of two matrices and is given by The direct sum is given by the original entries of and , assigning to the remaining entries in
A multiplicity tree automaton (MTA, [11]) is a tuple , where is a finite set of states, is a finitary type, is a tree representation, i.e. a union of maps for each arity , and is the final vector. For each symbol , the matrix is called the transition matrix. We extend tree representation from to all elements by defining
The automaton recognises the series given by . Two MTAs and over are equivalent if . The decision problem of MTA equivalence [48] assumes rational entries given as fractions of binary integers. Note that MWAs are a special case of MTAs via , where and .
The following operations on rational word series correspond to operations on MWAs. Let be another MWA over the same alphabet .
- Sum lifts to direct sum.
-
The MWA with states is given by the initial vector , transition matrix for each and the final vector . MWA is given analogously except for the final vector . It holds that and for each .
- Zero series lifts to the zero automaton.
-
Assume has no states , hence the underlying vector space is of dimension 0. Then recognizes the zero series, that is for each word . We call the zero automaton over .
- Product lifts to Kronecker product.
-
The MWA with states is given by the initial vector , transition matrix for each and the final vector . It holds that for each word .
2.2 Relational structures and logic
We assume familiarity with standard notions from finite model theory, see e.g. [39]. All signatures, structures, and graphs are finite. Let denote a relational signature. A class of -structures is -definable for some logic if there exists a sentence such that a -structure satisfies if, and only if, . For some implicit relational signature , we write for monadic second-order logic over . There are several options for encoding graphs as relational structures in the context of . The less powerful variant encodes a graph as relational structure with universe and the edge relation. In the more powerful variant, the graph is encoded as relational structure with universe and the incidence relation. See [20] for further details.
Let and be -structures. A homomorphism is a map from the universe of to the universe of such that for all relation symbols . For example, a homomorphism between simple graphs and is a map such that for all . We write for the number of homomorphisms from to . Two -structures and are homomorphism indistinguishable over a class of -structures , in symbols , if for all . We will ultimately be interested in homomorphism indistinguishability of simple graphs over classes of simple graphs, which has been the main focus in the literature, see [63, p. 32].
2.3 Logarithmic space and related complexity classes
Let L denote the class of languages decided by a deterministic logarithmic-space Turing machine. See [7] for a definition of logspace many-one reductions. Let denote the class of functions that count the number of accepting paths of a non-deterministic logarithmic-space Turing machine [6]. Let GapL denote the class of functions of the form for some functions [5]. Finally, let denote the class of languages of the form for some function [5]. It was shown by [21, 69, 66] that GapL coincides with the class of functions which are L-many-one reducible to the determinant, see [2, 45]. A complete problem for is the set of singular integer matrices, cf. [3]. To get a feeling for , we make the following observation in full detail.
Observation 5.
Homomorphism indistinguishability over directed cycles is in .
Proof.
Slightly abusing notation, we write for the edge-less one-vertex graph. The cycle for has vertices and directed edges, i.e. is a single vertex with a loop.
First, note that the function is in . Here, is a directed graph and . A non-deterministic logspace Turing machine operates whose number of accepting paths is operates by guessing a vertex and, for , guesses a vertex and rejects if . Finally, it rejects if and accepts otherwise. Clearly, the machine accepts iff is the homomorphic image of Since it suffices to store indices of three vertices vertices, i.e. , , and , the space requirement is .
As the difference of two -functions [5, Proposition 2], the function is in GapL. By [5, Theorem 9], the function is in GapL where . It holds that if, and only if, for all . By Newton’s identities [38, 2.4.P10], the latter holds if, and only if, and are homomorphism indistinguishable over directed cycles for arbitrary length . Thus, the claim follows by the definition of [5, Definition 2].
2.4 Labelled graphs and homomorphism tensors
We recall some of the notation from [62]. Let . A distinctly -labelled graph is a tuple where is a graph and is such that for all . We say , the -th entry of , carries the -th label. Write for the class of distinctly -labelled graphs.
Let . A distinctly -bilabelled graph is a tuple where is a graph and and are such that for all and for all . Note that and might share entries. We say and carry the -th in-label and out-label, respectively. Write for the class of distinctly -bilabelled graphs.
For a graph , and define the homomorphism tensor of w.r.t. whose -th entry is equal to the number of homomorphisms such that for all . Analogously, for , define .
As observed in [47, 31], (bi)labelled graphs and their homomorphism tensors are intriguing due to the following correspondences between combinatorial operations on the former and algebraic operations on the latter:
- Dropping labels corresponds to sum-of-entries.
-
For , define as the underlying unlabelled graph of . Then for all graphs , .
- Gluing corresponds to Schur products.
-
For and in , define as the -labelled graph obtained by taking the disjoint union of and and placing the -th label at the vertex obtained by merging with for all . Then for every graph and , . One may similarly define the gluing product of two -bilabelled graphs.
- Series composition corresponds to matrix products.
-
For bilabelled graphs and in , define as the bilabelled graph obtained by taking the disjoint union of and , merging the vertices and for , and placing the -th in-label (out-label) on (on ) for . Then for all graphs and , One may similarly compose a graph in with a graph in obtaining one in . This operation corresponds to the matrix-vector product.
3 From homomorphism indistinguishability to multiplicity automata equivalence
In this section, we reduce homomorphism indistinguishability over recognisable graph classes of bounded treewidth to multiplicity automata equivalence.
Theorem 6.
For , let be a -recognisable graph class.
-
1.
If has treewidth , logspace many-one reduces to MTA equivalence.
-
2.
If has pathwidth , logspace many-one reduces to MWA equivalence.
In order to prove the theorem, we give a formal definition of recognisability, see also [19].
Definition 7 ([12]).
Let . For a class of unlabelled graphs , define the equivalence relation on the class of distinctly -labelled graphs by letting if, and only if, for all , it holds that
The class is -recognisable if has finitely many equivalence classes.
To parse Definition 7, first recall that is the -labelled graph obtained by gluing and together at their labelled vertices. The -operator drops the labels yielding unlabelled graphs. Intuitively, iff both or neither of their underlying unlabelled graphs are in and the positions of the labels in and is equivalent with respect to membership in . See [62] for examples.
Courcelle [19] proved that every -definable graph class is recognisable, i.e. it is -recognisable for every . Conversely, Bojańczyk and Pilipczuk [12] proved that, if a recognisable class has bounded treewidth, then it is -definable. Furthermore, it holds that every -recognisable graph class of treewidth is -definable [13, Section 6]. We use recognisability via the following lemma.
Lemma 8 ([62, Lemma 16]).
For , ,
-
1.
if and then ,
-
2.
if then .
The proof of Theorem 6, formally conducted in the full version [68], works by constructing, given a fixed graph class and input graphs and to , three MWAs in the bounded-pathwidth case and three MTAs in the bounded-treewidth case called , , . All three automata read words/trees over the alphabet comprising distinctly -bilabelled graphs representing a single bag of a path/tree decomposition.
The first automaton depends only on the graph class and does not make use of multiplicities, i.e. it is a deterministic word/tree automaton. Its role is to recognise the graph class among all graphs of pathwidth/treewidth less than . The construction of this automaton dates back to Courcelle [19]. Its states are the equivalence classes of . Lemma 8 ensures that series and parallel composition, i.e. the operations used to compose labelled graphs, respect these equivalence classes.
The automata and depend only on and , respectively, and are both constructed in the same way. Their role is to compute the homomorphism tensors of labelled graphs of bounded pathwidth/treewidth and thus make full use of multiplicities. To that end, they assign to a letter of the input alphabet, i.e. a bilabelled graph , the homomorphism matrix , respectively , as its weight matrix. The correspondence between operations on bilabelled graphs and homomorphism tensors, see Section 2.4, ensures that numbers computed by the automata are homomorphism counts from graphs of bounded pathwidth/treewidth into and . Note that and are equivalent if, and only if, and are homomorphism indistinguishable over all graphs of pathwidth/treewidth less than .
The reduction is completed by testing the equivalence of the product automata and . For a labelled graph of bounded pathwidth/treewidth with underlying unlabelled graph , it is
Hence, and are homomorphism indistinguishable over if, and only if, the automata and are equivalent.
4 Complexity of multiplicity word automata equivalence
Equipped with the reduction of homomorphism indistinguishability over recognisable bounded-pathwidth graph classes to MTA equivalence from Theorem 6, we now proceed to pinpoint the complexity of the latter problem. Towards Theorem 2, we first show containment in , thus improving on DET as shown in [67], see also [42].
Lemma 9.
MWA equivalence is in .
Proof.
The class is closed under logspace many-one reductions as shown in [5, Theorem 16]. Thus, it suffices to reduce MWA equivalence to a problem in . We first reduce the equivalence of two MWAs and over to the equivalence of MWA and the zero automaton over . The operation is clearly computable in logspace [48, Proposition 2]. In the following Claim 10, the last problem further reduces in logspace to a matrix rank bound verification. We use matrices over , however, by [2, Section 2, Remark], this reduces in logspace to matrices over . By [2, Proposition 2.5], the matrix rank bound verification is -complete. Thus, it remains to prove the following Claim 10.
Claim 10.
There are logspace-computable functions and such that, for each MWA , it holds that is equivalent to the zero automaton if, and only if, the matrix has rank less than .
Fix an MWA with states, and denote its square by . By [42, Proposition 2.2], The MWA is equivalent to the zero automaton if, and only if,
| (1) |
Let us denote the sum of all transition matrices by
Since we can compute and sum a constant number of matrices in logspace [17], the matrix is computable in logspace. We rewrite the expression in Equation 1 as follows
| (2) |
where ranges over words in . In the third equality, we used the distributivity of the Kronecker product over matrix multiplication. Next, we define a matrix and a vector as follows
We argue that there exists a solution of if, and only if, the term in Equation 2 is equal to zero. To that end, group the variables into blocks of variables. The first equations are . The subsequent equations yield for all . The final equations simplify to , as desired.
We now rephrase the existence of the solution using matrix rank. Note that feasibility of linear systems of equations is complete for the potentially larger complexity class [2]. It is therefore crucial that the rank of is controlled. Since is lower triangular with identity matrices on the main diagonal, it has rank . Note that the rank of the augmented matrix is if the solution exists, and otherwise. Finally, it suffices to set the functions to and the bound on the rank to be verified to . Both functions can be computed in logspace.
5 Hardness of homomorphism indistinguishability over recognisable graph classes
In this section, we show that homomorphism indistinguishability over recognisable graph classes of bounded pathwidth and of bounded treewidth can be as hard as and as PIT, respectively.
5.1 Bounded treewidth and polynomial identity testing
Let us formally introduce PIT. An arithmetic circuit [3] is a directed acyclic graph whose vertices of in-degree zero are labelled by , , or by variables . The internal vertices are labelled by , , or . The Polynomial Identity Testing (PIT) problem asks, given a polynomial represented by an arithmetic circuit, whether it is the zero polynomial. By the Schwartz–Zippel lemma [60, 72], PIT can be solved in randomised polynomial time, i.e. lies in coRP. The existence of a deterministic polynomial-time algorithm for PIT would have far-reaching consequences for circuit complexity [40], see also [3]. We show that the same holds for for some recognisable graph class of bounded treewidth.
Theorem 1. [Restated, see original statement.]
There exists a -definable graph class of bounded treewidth such that , MTA equivalence, and PIT are logspace many-one interreducible.
Given [48] and Theorem 6, it remains to reduce PIT to homomorphism indistinguishability. To that end, we start with a class of directed vertex-coloured graphs and employ observations made in [48, 4].
Lemma 11.
There exists a -definable class of directed vertex-coloured graphs of treewidth with finitely many colours such that PIT logspace many-one reduces to .
Proof.
Following [48, 4], we reduce the following variant of PIT to . A variable-free arithmetic circuit is a finite acyclic vertex-labelled directed multigraph whose vertices have in-degree or . The vertices of in-degree are called internal gates and are labelled with , , or . The vertices of in-degree are labelled with or . The unique vertex of out-degree is the output gate of the circuit.
Each such circuit computes an integer with the intuitive semantics. By [4, Proposition 2.2] and [48, Proposition 13], PIT logspace many-one reduces to the following problem: Given two variable-free arithmetic circuits , satisfying the following conditions, decide whether and represent the same integer.
-
1.
the internal gates are labelled with or , i.e. there are no substraction gates,
-
2.
each gate of height has precisely two children, which are of height ,
-
3.
-gates have even height,
-
4.
-gates have odd height,
-
5.
the output gate has even height.
Given a circuit as above, define a graph with vertex colours by subdividing each outgoing edge of an internal gate and colouring the resulting vertex with . In case of -gates, the two -vertices are connected by an edge. See Figure 2.
Consider the family of graphs as defined in Figure 3. We show the following claim. Here, for a gate denotes the integer computed by .
Claim 12.
Let be a circuit. Let be a gate at height . The number of homomorphisms from to which map the root of to is equal to for .
Proof.
By induction on . If , then is either labelled or . Since we consider vertex-colour preserving homomorphisms, the claim follows.
For the inductive step, distinguish two cases: If is odd, then is a multiplication gate. Write for the two children of . Note that it may be that . Write and for the roots of the two copies of in . First suppose that . Then, by the inductive hypothesis,
Otherwise, i.e. if , by the inductive hypothesis,
It remains to consider the case when is even, i.e. when is an addition gate. Write for the root of in . Write for the two children of . If ,
where the factor is incurred by the two possible images of the subdivision vertex between and . Also note that when is even. Finally, if ,
Define by making the output gate vertex in adjacent to a fresh vertex of colour . Similarly, define by making the output vertex in adjacent to a fresh vertex of colour . Let . Finally, define analogously but without imposing the restriction that all leaves of the graphs have the same depth. That is, the subgraphs and in Figure 3 are replaced with any for even and odd , respectively.
Claim 13.
The graph class can be defined in .
Proof.
The graphs in are precisely those directed graphs with vertex colours , , , , , and that possess the following -definable properties:
-
1.
The underlying undirected graphs are connected and removing any vertex whose overall degree is at least disconnects the directed graph.
-
2.
Every vertex has precisely one of the colours .
-
3.
There is a unique vertex coloured .
-
4.
The vertices of out-degree zero are of colours or .
-
5.
The vertices coloured have precisely one out-neighbour coloured , which has precisely one out-neighbour coloured , , or .
-
6.
The vertices coloured have precisely two out-neighbours coloured , which are mutually adjacent and each have precisely one out-neighbour coloured , , or .
Note that all but the first property are actually first-order. Only acyclicity and connectedness in Item 1 require second-order resources.
Finally, we claim that and represent the same integer if, and only, if and are homomorphism indistinguishable over . Since and have the same height and the unique -coloured vertex must be mapped to the unique -coloured vertex, it follows from Claim 12 that, for ,
Furthermore, for . In particular, the graphs in do not admit any homomorphisms to .
The following Lemma 14 allows to reduce a homomorphism indistinguishability problem over a directed vertex-coloured graph class to one over a class of undirected graphs.
Lemma 14.
Let be a class of directed vertex-coloured graphs with finitely many colours. Then there exists a graph class such that
-
1.
logspace many-one reduces to ,
-
2.
if has bounded treewidth, then so does ,
-
3.
if has bounded pathwidth, then so does , and
-
4.
if is -definable, then is -definable.
The proof of Lemma 14, which is deferred to the full version [68], is based on a construction of [14, 15] involving Kneser graphs. For integers and such that , the Kneser graph is the graph whose vertices are the -subsets of and whose edges connect two vertices if, and only if, the corresponding subsets are disjoint. The crucial property of Kneser graphs, which allows them to simulate colours and edge directions, is that there are homomorphically incomparable [34].
Proof of Theorem 1.
5.2 Bounded pathwidth and C=L
Theorem 4. [Restated, see original statement.]
There exists a -definable graph class of bounded pathwidth such that is -complete under logspace many-one reductions.
Our reduction is from the problem VCP of verifying the characteristic polynomial of an integer matrix , that is the decision problem
VCP was shown to be -complete under logspace many-one reductions in [37, Theorem 3.2]. We start with the following Lemma 15 by which we treat negative entries.
Lemma 15.
For every pair of matrices , there exist logspace-computable matrices such that
-
1.
if, and only if, ,
-
2.
and are similar if, and only if, and are similar.
Proof.
If , then the statement holds trivially. Assume and denote the matrix of non-negative and negative elements of by and , respectively, so that and . Define , , and analogously. We define matrices and in via
We consider a similar matrix to
and analogously the matrix , which is similar to . It follows that and . Since , all polynomials in the product are non-zero, and thus cancelling both polynomials by the term , yields the first statement.
For the second statement, by [58, Theorem 7.7.3] courtesy to [35], and are similar if, and only if, and are similar. Clearly, and are similar if, and only if, and are similar.
Lemma 15 yields that checking whether two matrices with non-negative integral entries have the same characteristic polynomial is -complete.
Theorem 16.
The set is -complete under logspace many-one reductions.
Proof.
We show -hardness and postpone containment in virtue of [5, Theorem 16] to Theorem 17. For hardness, given an instance of VCP, where , , we need to decide if is equal to the characteristic polynomial . For that, take as the companion matrix of , for which it holds that [58, Theorem 7.12]. We use Lemma 15 to obtain a pair of non-negative matrices whose characteristic polynomials are equal if, and only if, .
It remains to show that non-negative integral entries can be simulated by -entries using suitable gadgets. By the following Theorem 17, the decision problem is -complete. We remark that [66, Figure 2.1] describes a similar gadget construction when reducing the problem of computing the determinant of an integer matrix to computing the powers of a -matrix.
Theorem 17.
Homomorphism indistinguishability over directed cycles is -complete under logspace many-one reductions.
Proof.
Containment was shown in Observation 5. For hardness, let be an instance of problem that is shown -hard in Theorem 16. We consider the following two directed weighted graphs and given as adjacency matrices and , respectively.
Choose a bit-length such that bounds entries of and . We construct a directed simple graph , by starting with vertices of . Next, for every edge of with weight , we connect to in with the gadgets given in Figure 4 as follows: for the -th non-zero bit of we add gadget to between and . We construct a directed graph from analogously.
Claim 18.
For all , , and if does not divide .
Proof.
Consider a walk between endpoints and of a gadget . This walk is of length exactly , because of the orientation. Each contributes distinct walks, so that the collection of gadgets between and represents the weight in . On the other hand, every closed walk counted by goes through at least one vertex of originated in , and thus is also counted in . The second part follows since every closed walk is necessarily of length for some . Consequentially, homomorphisms over directed cycles determine the traces of powers and vice versa. By Newton’s identities, it holds for all if, and only if, .
Finally, we apply Lemma 14 to reduce homomorphism indistinguishability over directed cycles to homomorphism indistinguishability over a -definable class of undirected and uncoloured graphs of bounded pathwidth.
Proof of Theorem 4.
Containment follows from Theorem 6. Hardness follows from Theorem 17 and Lemma 14 observing that the class of (disjoint unions) of directed cycles contains precisely all directed graphs whose vertices have out-degree and is thus definable in first-order logic.
Proof of Theorem 2.
Containment follows from Lemma 9. Hardness follows from Theorems 4 and 6.
5.3 Undirected graphs and symmetric matrices
Even though Theorem 4 pinpoints the complexity of homomorphism indistinguishability over -definable graph classes of bounded pathwidth, it is slightly unsatisfactory in the sense that the constructed graph class is based on a gadget construction. More concretely, in light of Theorem 17, it would be interesting to determine whether homomorphism indistinguishability over undirected cycles is -complete. A related question111Concretely, Toda [66] asks whether counting the number of not necessarily simple length- paths between two vertices in an -vertex undirected input graph is GapL-complete. In the same paper, this is shown for counting directed paths in directed input graphs. was already posed by Toda in 1984 [66] with little apparent progress since, see [44].
In general, in the realm of logspace computation, discrepancies between problems on directed and undirected graphs are well known. For example, directed connectivity is NL-complete while undirected connectivity is in L [54]. To give another example closer related to homomorphism indistinguishability, we observe invoking [37] that there is a complexity gap between similarity of symmetric and non-symmetric non-negative integer matrices unless the Exact Counting Logspace Hierarchy collapses to [2, 5].
Corollary 19.
-
1.
The set of pairs of similar non-negative integer matrices is -complete under logspace many-one reductions.
-
2.
The set of pairs of similar symmetric non-negative integer matrices is -complete under logspace many-one reductions.
Proof.
The first claim follows from [37, Theorem 4.1] and Lemma 15. The second claim follows from Theorem 17 noting that, for symmetric matrices and , it holds that if, and only if, and are similar, see e.g. [31, Theorem 3.1].
Towards illuminating the discrepancies between the directed and undirected, we show that homomorphism indistinguishability over undirected cycles and undirected cycles and paths is logspace many-one interreducible. Two graphs and are homomorphism indistinguishable over cycles / cycles and paths iff there exists an orthogonal / an orthogonal pseudo-stochastic matrix such that , see [63]. The latter graph class is notable since it(s disjoint union closure) is closed under taking minors. Minor-closed graph classes play an important role in homomorphism indistinguishability [55, 64]. Both problems lie in by Theorem 6. The proof of Theorem 20 is deferred to the full version [68].
Theorem 20.
Homomorphism indistinguishability over the class of cycles and paths and over the class of cycles are logspace many-one interreducible.
6 Conclusion
The objective of this paper was to identify properties of graph classes that characterise the complexity of the decision problem . We showed that, for recognisable graph classes of bounded treewidth, the problem is logspace many-one reducible to PIT and can be PIT-complete. For recognisable graph classes of bounded pathwidth, the problem lies in and can be -complete. In the first case, this shows optimality of the algorithm from [62] while, in the second case, this improves upon [62]. In the process, we show that MWA equivalence is -complete improving upon [67].
Given the role of minor-closed graph classes in homomorphism indistinguishability [55, 64], it would be interesting to obtain analogous results for minor-closed graph classes of bounded treewidth and pathwidth (the graph classes in Theorems 4 and 1 are not closed under taking minors).
For the first case, it was conjectured in [62] that homomorphism indistinguishability is in P, which would be optimal in light of [27]. Proving this, however, seems to require a better understanding of tree automata recognising minor-closed graph classes. The perhaps most tangible minor-closed bounded-treewidth graph class for which no deterministic polynomial algorithm for is known is the class of outerplanar graphs [62]. In this case, amounts to deciding exact feasibility of the first level of the Lasserre SDP hierarchy for graph isomorphism [56].
Via Theorem 20, we have reduced the latter case to determining whether there is a complexity gap between homomorphism indistinguishability over directed and undirected cycles, which is related to an old question about GapL-computation [67, 44]. Finally, in light of [52] showing that homomorphism indistinguishability over all graphs of treedepth is in L, it is conceivable that homomorphism indistinguishability over smaller graph classes, e.g. of bounded treedepth, can be placed into even smaller complexity classes.
References
- [1] Isolde Adler and Eva Fluck. Monotonicity of the Cops and Robber Game for Bounded Depth Treewidth. In Rastislav Královič and Antonń Kučera, editors, 49th International Symposium on Mathematical Foundations of Computer Science (MFCS 2024), volume 306 of Leibniz International Proceedings in Informatics (LIPIcs), pages 6:1–6:18, Dagstuhl, Germany, 2024. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.MFCS.2024.6.
- [2] E. Allender, R. Beals, and M. Ogihara. The complexity of matrix rank and feasible systems of linear equations. Computational Complexity, 8(2):99–126, November 1999. doi:10.1007/s000370050023.
- [3] Eric Allender. Arithmetic circuits and counting complexity classes. In Complexity of computations and proofs, pages 33–72. Aracne; Rome, 2004. doi:10.7282/00000363.
- [4] Eric Allender, Peter Bürgisser, Johan Kjeldgaard-Pedersen, and Peter Bro Miltersen. On the Complexity of Numerical Analysis. SIAM Journal on Computing, 38(5):1987–2006, January 2009. doi:10.1137/070697926.
- [5] Eric Allender and Mitsunori Ogihara. Relationships among PL, #L, and the determinant. RAIRO - Theoretical Informatics and Applications - Informatique Théorique et Applications, 30(1):1–21, 1996. doi:10.1051/ITA/1996300100011.
- [6] Carme Álvarez and Birgit Jenner. A very hard log-space counting class. Theoretical Computer Science, 107(1):3–30, January 1993. doi:10.1016/0304-3975(93)90252-o.
- [7] Sanjeev Arora and Boaz Barak. Computational complexity: a modern approach. Cambridge University Press, Cambridge; New York, 2009.
- [8] Albert Atserias and Elitza Maneva. Sherali–Adams Relaxations and Indistinguishability in Counting Logics. SIAM Journal on Computing, 42(1):112–137, 2013. doi:10.1137/120867834.
- [9] Albert Atserias, Laura Mančinska, David E. Roberson, Robert Šámal, Simone Severini, and Antonios Varvitsiotis. Quantum and non-signalling graph isomorphisms. J. Comb. Theory, Ser. B, 136:289–328, 2019. doi:10.1016/j.jctb.2018.11.002.
- [10] László Babai. Graph Isomorphism in Quasipolynomial Time [Extended Abstract]. In Proceedings of the Forty-Eighth Annual ACM Symposium on Theory of Computing, STOC ’16, pages 684–697, New York, NY, USA, 2016. Association for Computing Machinery. doi:10.1145/2897518.2897542.
- [11] J. Berstel and C. Reutenauer. Recognizable formal power series on trees. Theoretical Computer Science, 18(2):115–148, May 1982. doi:10.1016/0304-3975(82)90019-6.
- [12] Mikołaj Bojańczyk and Michał Pilipczuk. Definability equals recognizability for graphs of bounded treewidth. In Proceedings of the 31st Annual ACM/IEEE Symposium on Logic in Computer Science, pages 407–416, New York NY USA, July 2016. ACM. doi:10.1145/2933575.2934508.
- [13] Mikołaj Bojańczyk and MichałPilipczuk. Optimizing Tree Decompositions in MSO. In Heribert Vollmer and Brigitte Vallée, editors, 34th Symposium on Theoretical Aspects of Computer Science (STACS 2017), volume 66 of Leibniz International Proceedings in Informatics (LIPIcs), pages 15:1–15:13, Dagstuhl, Germany, 2017. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. ISSN: 1868-8969. doi:10.4230/LIPIcs.STACS.2017.15.
- [14] Jan Böker, Yijia Chen, Martin Grohe, and Gaurav Rattan. The Complexity of Homomorphism Indistinguishability. In Peter Rossmanith, Pinar Heggernes, and Joost-Pieter Katoen, editors, 44th International Symposium on Mathematical Foundations of Computer Science (MFCS 2019), volume 138 of Leibniz International Proceedings in Informatics (LIPIcs), pages 54:1–54:13, Dagstuhl, Germany, 2019. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.MFCS.2019.54.
- [15] Jan Böker, Louis Härtel, Nina Runde, Tim Seppelt, and Christoph Standke. The Complexity of Homomorphism Reconstructibility. ACM Trans. Comput. Theory, August 2025. doi:10.1145/3762196.
- [16] Hubie Chen and Moritz Müller. The Fine Classification of Conjunctive Queries and Parameterized Logarithmic Space. ACM Transactions on Computation Theory, 7(2):1–27, May 2015. doi:10.1145/2751316.
- [17] Andrew Chiu, George Davida, and Bruce Litow. Division in logspace-uniform . RAIRO - Theoretical Informatics and Applications, 35(3):259–275, March 2010. URL: http://eudml.org/doc/222086.
- [18] Stephen A. Cook. A taxonomy of problems with fast parallel algorithms. Information and Control, 64(1-3):2–22, January 1985. doi:10.1016/s0019-9958(85)80041-3.
- [19] Bruno Courcelle. The monadic second-order logic of graphs. I. Recognizable sets of finite graphs. Information and Computation, 85(1):12–75, March 1990. doi:10.1016/0890-5401(90)90043-H.
- [20] Bruno Courcelle and Joost Engelfriet. Graph Structure and Monadic Second-Order Logic: A Language-Theoretic Approach. Cambridge University Press, USA, 1st edition, 2012.
- [21] C. Damm. . Fachbereich Informatik der Humboldt-Universitat zu, Berlin, Informatik-Preprint 8, 1991.
- [22] Anuj Dawar, Tomáš Jakl, and Luca Reggio. Lovász-Type Theorems and Game Comonads. In 36th Annual ACM/IEEE Symposium on Logic in Computer Science, LICS 2021, Rome, Italy, June 29 - July 2, 2021, pages 1–13. IEEE, 2021. doi:10.1109/LICS52264.2021.9470609.
- [23] Holger Dell, Martin Grohe, and Gaurav Rattan. Lovász Meets Weisfeiler and Leman. In Ioannis Chatzigiannakis, Christos Kaklamanis, Dániel Marx, and Donald Sannella, editors, 45th International Colloquium on Automata, Languages, and Programming (ICALP 2018), volume 107 of Leibniz International Proceedings in Informatics (LIPIcs), pages 40:1–40:14, Dagstuhl, Germany, 2018. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.ICALP.2018.40.
- [24] Zdeněk Dvořák. On recognizing graphs by numbers of homomorphisms. Journal of Graph Theory, 64(4):330–342, August 2010. doi:10.1002/jgt.20461.
- [25] 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 Aniello Murano and Alexandra Silva, editors, 32nd EACSL Annual Conference on Computer Science Logic (CSL 2024), volume 288 of Leibniz International Proceedings in Informatics (LIPIcs), pages 27:1–27:17, Dagstuhl, Germany, 2024. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.CSL.2024.27.
- [26] Jingchu Gai, Yiheng Du, Bohang Zhang, Haggai Maron, and Liwei Wang. Homomorphism Expressivity of Spectral Invariant Graph Neural Networks. In The Thirteenth International Conference on Learning Representations (ICLR 2025), January 2025. URL: https://openreview.net/forum?id=rdv6yeMFpn.
- [27] Martin Grohe. Equivalence in Finite-Variable Logics is Complete for Polynomial Time. Combinatorica, 19(4):507–532, October 1999. doi:10.1007/s004939970004.
- [28] Martin Grohe. Counting Bounded Tree Depth Homomorphisms. In Proceedings of the 35th Annual ACM/IEEE Symposium on Logic in Computer Science, LICS ’20, pages 507–520, New York, NY, USA, 2020. Association for Computing Machinery. doi:10.1145/3373718.3394739.
- [29] Martin Grohe. The Logic of Graph Neural Networks. In 36th Annual ACM/IEEE Symposium on Logic in Computer Science, LICS, pages 1–17, Rome, Italy, 2021. IEEE. doi:10.1109/LICS52264.2021.9470677.
- [30] Martin Grohe and Martin Otto. Pebble Games and Linear Equations. The Journal of Symbolic Logic, 80(3):797–844, 2015. doi:10.1017/jsl.2015.28.
- [31] Martin Grohe, Gaurav Rattan, and Tim Seppelt. Homomorphism Tensors and Linear Equations. Advances in Combinatorics, April 2025. doi:10.19086/aic.2025.4.
- [32] Martin Grohe and Pascal Schweitzer. The Graph Isomorphism Problem. Commun. ACM, 63(11):128–134, 2020. Place: New York, NY, USA Publisher: Association for Computing Machinery. doi:10.1145/3372123.
- [33] Anselm Haak, Arne Meier, Om Prakash, and B. V. Raghavendra Rao. Parameterised Counting in Logspace. Algorithmica, 85(10):2923–2961, October 2023. doi:10.1007/s00453-023-01114-2.
- [34] Geňa Hahn and Claude Tardif. Graph homomorphisms: structure and symmetry. In Geňa Hahn and Gert Sabidussi, editors, Graph Symmetry: Algebraic Methods and Applications, pages 107–166. Springer Netherlands, Dordrecht, 1997. doi:10.1007/978-94-015-8937-6_4.
- [35] Christiaan Hattingh. Show that a block matrix is similar to another block matrix if and only if their blocks are similar. Mathematics Stack Exchange, 2018. URL: https://math.stackexchange.com/q/2845842.
- [36] Thanh Minh Hoang. On the complexity of some problems in linear algebra. PhD thesis, Universität Ulm, 2003. URL: https://www.uni-ulm.de/fileadmin/website_uni_ulm/iui.inst.190/Mitarbeiter/hoang/dissertation.pdf.
- [37] T.M. Hoang and T. Thierauf. The complexity of verifying the characteristic polynomial and testing similarity. In Proceedings 15th Annual IEEE Conference on Computational Complexity, pages 87–95, Florence, Italy, 2000. IEEE Comput. Soc. doi:10.1109/ccc.2000.856738.
- [38] Roger A. Horn and Charles R. Johnson. Matrix analysis. Cambridge Univ. Press, Cambridge, 23. print edition, 2010.
- [39] Neil Immerman. Descriptive Complexity. Springer New York, New York, NY, 1999. doi:10.1007/978-1-4612-0539-5.
- [40] Valentine Kabanets and Russell Impagliazzo. Derandomizing polynomial identity tests means proving circuit lower bounds. In Proceedings of the thirty-fifth annual ACM symposium on Theory of computing, pages 355–364, San Diego CA USA, June 2003. ACM. doi:10.1145/780542.780595.
- [41] Prem Nigam Kar, David E. Roberson, Tim Seppelt, and Peter Zeman. NPA Hierarchy for Quantum Isomorphism and Homomorphism Indistinguishability. In Keren Censor-Hillel, Fabrizio Grandoni, Joël Ouaknine, and Gabriele Puppis, editors, 52nd International Colloquium on Automata, Languages, and Programming (ICALP 2025), volume 334 of Leibniz International Proceedings in Informatics (LIPIcs), pages 105:1–105:19, Dagstuhl, Germany, 2025. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.ICALP.2025.105.
- [42] Stefan Kiefer. Notes on Equivalence and Minimization of Weighted Automata, September 2020. doi:10.48550/arXiv.2009.01217.
- [43] László Lovász. Operations with structures. Acta Mathematica Academiae Scientiarum Hungarica, 18(3):321–328, September 1967. doi:10.1007/BF02280291.
- [44] Meena Mahajan and Jayalal M. N. Sarma. On the Complexity of Matrix Rank and Rigidity. Theory of Computing Systems, 46(1):9–26, January 2010. doi:10.1007/s00224-008-9136-8.
- [45] Meena Mahajan and V Vinay. Determinant: Combinatorics, Algorithms, and Complexity. Chicago Journal of Theoretical Computer Science, 1997. URL: https://repository.ias.ac.in/127977/.
- [46] Peter N. Malkin. Sherali–Adams relaxations of graph isomorphism polytopes. Discrete Optimization, 12:73–97, May 2014. doi:10.1016/j.disopt.2014.01.004.
- [47] Laura Mančinska and David E. Roberson. Quantum isomorphism is equivalent to equality of homomorphism counts from planar graphs. In IEEE 61st Annual Symposium on Foundations of Computer Science (FOCS), pages 661–672, 2020. doi:10.1109/FOCS46700.2020.00067.
- [48] Ines Marušić and James Worrell. Complexity of equivalence and learning for multiplicity tree automata. J. Mach. Learn. Res., 16:2465–2500, 2015. doi:10.5555/2789272.2912078.
- [49] Yoàv Montacute and Nihil Shah. The Pebble-Relation Comonad in Finite Model Theory. Logical Methods in Computer Science, Volume 20, Issue 2, May 2024. doi:10.46298/lmcs-20(2:9)2024.
- [50] Christopher Morris, Martin Ritzert, Matthias Fey, William L. Hamilton, Jan Eric Lenssen, Gaurav Rattan, and Martin Grohe. Weisfeiler and Leman Go Neural: Higher-Order Graph Neural Networks. Proceedings of the AAAI Conference on Artificial Intelligence, 33:4602–4609, July 2019. doi:10.1609/aaai.v33i01.33014602.
- [51] Jaroslav Nešetřil and Patrice Ossona De Mendez. Tree-depth, subgraph coloring and homomorphism bounds. European Journal of Combinatorics, 27(6):1022–1041, August 2006. doi:10.1016/j.ejc.2005.01.010.
- [52] Simon Raßmann, Georg Schindling, and Pascal Schweitzer. Finite Variable Counting Logics with Restricted Requantification. In Jörg Endrullis and Sylvain Schmitz, editors, 33rd EACSL Annual Conference on Computer Science Logic (CSL 2025), volume 326 of Leibniz International Proceedings in Informatics (LIPIcs), pages 14:1–14:23, Dagstuhl, Germany, 2025. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.CSL.2025.14.
- [53] Gaurav Rattan and Tim Seppelt. Weisfeiler-Leman and Graph Spectra. In Proceedings of the 2023 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 2268–2285, 2023. doi:10.1137/1.9781611977554.ch87.
- [54] Omer Reingold. Undirected connectivity in log-space. Journal of the ACM, 55(4):1–24, 2008. doi:10.1145/1391289.1391291.
- [55] David E. Roberson. Oddomorphisms and homomorphism indistinguishability over graphs of bounded degree, June 2022. URL: http://arxiv.org/abs/2206.10321.
- [56] David E. Roberson and Tim Seppelt. Lasserre Hierarchy for Graph Isomorphism and Homomorphism Indistinguishability. TheoretiCS, Volume 3:12321, September 2024. doi:10.46298/theoretics.24.20.
- [57] Neil Robertson and P.D. Seymour. Graph Minors. XX. Wagner’s conjecture. Special Issue Dedicated to Professor W.T. Tutte, 92(2):325–357, November 2004. doi:10.1016/j.jctb.2004.08.001.
- [58] Steven Roman. Advanced Linear Algebra, volume 135 of Graduate Texts in Mathematics. Springer New York, New York, NY, 2008. doi:10.1007/978-0-387-72831-5.
- [59] Georg Schindling. Homomorphism Indistinguishability and Game Comonads for Restricted Conjunction and Requantification. In Pawel Gawrychowski, Filip Mazowiecki, and Michal Skrzypczak, editors, 50th International Symposium on Mathematical Foundations of Computer Science, MFCS 2025, August 25-29, 2025, Warsaw, Poland, volume 345 of LIPIcs, pages 89:1–89:19. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2025. doi:10.4230/LIPIcs.MFCS.2025.89.
- [60] J. T. Schwartz. Fast Probabilistic Algorithms for Verification of Polynomial Identities. Journal of the ACM, 27(4):701–717, October 1980. doi:10.1145/322217.322225.
- [61] M.P. Schützenberger. On the definition of a family of automata. Information and Control, 4(2-3):245–270, September 1961. doi:10.1016/s0019-9958(61)80020-x.
- [62] Tim Seppelt. An Algorithmic Meta Theorem for Homomorphism Indistinguishability. In Rastislav Královič and Antonín Kučera, editors, 49th International Symposium on Mathematical Foundations of Computer Science (MFCS 2024), volume 306 of Leibniz International Proceedings in Informatics (LIPIcs), pages 82:1–82:19, Dagstuhl, Germany, 2024. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.MFCS.2024.82.
- [63] Tim Seppelt. Homomorphism Indistinguishability. Dissertation, RWTH Aachen University, Aachen, 2024. doi:10.18154/RWTH-2024-11629.
- [64] Tim Seppelt. Logical equivalences, homomorphism indistinguishability, and forbidden minors. Information and Computation, 301:105224, December 2024. doi:10.1016/j.ic.2024.105224.
- [65] William Slofstra. The Set of Quantum Correlations is not Closed. Forum of Mathematics, Pi, 7:e1, 2019. Edition: 2019/01/14 Publisher: Cambridge University Press. doi:10.1017/fmp.2018.3.
- [66] Seinosuke Toda. Counting Problems Computationally Equivalent to Computing the Determinant, 1991. URL: https://people.cs.rutgers.edu/˜allender/papers/toda4.pdf.
- [67] Wen-Guey Tzeng. On path equivalence of nondeterministic finite automata. Information Processing Letters, 58(1):43–46, April 1996. doi:10.1016/0020-0190(96)00039-7.
- [68] Marek Černý and Tim Seppelt. Homomorphism Indistinguishability, Multiplicity Automata Equivalence, and Polynomial Identity Testing, 2025. arXiv:2512.13058v1.
- [69] V. Vinay. Counting auxiliary pushdown automata and semi-unbounded arithmetic circuits. In Proceedings of the Sixth Annual Structure in Complexity Theory Conference, pages 270–284, Chicago, IL, USA, 1991. IEEE Comput Soc. Press. doi:10.1109/SCT.1991.160269.
- [70] Keyulu Xu, Weihua Hu, Jure Leskovec, and Stefanie Jegelka. How Powerful are Graph Neural Networks? In International Conference on Learning Representations, 2019. URL: https://openreview.net/forum?id=ryGs6iA5Km.
- [71] Bohang Zhang, Jingchu Gai, Yiheng Du, Qiwei Ye, Di He, and Liwei Wang. Beyond Weisfeiler–Lehman: A Quantitative Framework for GNN Expressiveness. In The Twelfth International Conference on Learning Representations, 2024. URL: https://openreview.net/forum?id=HSKaGOi7Ar.
- [72] Richard Zippel. Probabilistic algorithms for sparse polynomials. In G. Goos, J. Hartmanis, P. Brinch Hansen, D. Gries, C. Moler, G. Seegmüller, J. Stoer, N. Wirth, and Edward W. Ng, editors, Symbolic and Algebraic Computation, volume 72, pages 216–226. Springer Berlin Heidelberg, Berlin, Heidelberg, 1979. doi:10.1007/3-540-09519-5_73.
