Vanishing Signatures, Orbit Closure, and the Converse of the Holant Theorem
Abstract
Valiant’s Holant theorem is a powerful tool for algorithms and reductions for counting problems. It states that if two sets and of tensors (a.k.a. constraint functions or signatures) are related by a holographic transformation, then and are Holant-indistinguishable, i.e., every tensor network using tensors from , respectively from , contracts to the same value. Xia (ICALP 2010) conjectured the converse of the Holant theorem, but a counterexample was found based on vanishing signatures, those which are Holant-indistinguishable from 0.
We prove two near-converses of the Holant theorem using techniques from invariant theory. (I) Holant-indistinguishable and always admit two sequences of holographic transformations mapping them arbitrarily close to each other, i.e., their -orbit closures intersect. (II) We show that vanishing signatures are the only true obstacle to a converse of the Holant theorem. As corollaries of the two theorems we obtain the first characterization of homomorphism-indistinguishability over graphs of bounded degree, a long standing open problem, and show that two graphs with invertible adjacency matrices are isomorphic if and only if they are homomorphism-indistinguishable over graphs with maximum degree at most three. We also show that Holant-indistinguishability is complete for a complexity class TOCI introduced by Lysikov and Walter [41], and hence hard for graph isomorphism.
Keywords and phrases:
Holant, Orbit Closure Intersection, Homomorphism Indistinguishability, Tensor NetworkCopyright and License:
2012 ACM Subject Classification:
Mathematics of computing Combinatorics ; Mathematics of computing Graph theory ; Theory of computation Algebraic complexity theoryAcknowledgements:
The authors thank Tim Seppelt for helpful discussions on homomorphism indistinguishability, and thank the referees for suggestions that improved the presentation of the paper.Editor:
Shubhangi SarafSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
1 Introduction
Let be two matrices. If and are similar, then for every – that is, and are indistinguishable by the function . Conversely, if for every , then we may only conclude that and have the same multiset of eigenvalues; and are not necessarily similar. In addition, what other assumptions on and suffice to obtain similarity? The Holant theorem and questions about its converse are vast generalizations of this example.
Holant Problems and the Holant Theorem
Holant problems [12] are a framework for expressing counting problems on graphs. Let be a set of tensors over a finite-dimensional vector space (typically ). A signature grid, or a tensor network (see Table 1 for a translation between Holant and tensor network terminology), is a (multi)graph with vertices assigned tensors from and edges acting as variables. Depending on the choice of , one can express many counting problems as the Holant value , the contraction of as a tensor network. These include the number of matchings, proper edge or vertex-colorings, and Eulerian orientations of and the number of homomorphisms from to a possibly weighted and directed graph . While Holant is very expressive, it is also restrictive enough to prove sweeping complexity dichotomy theorems. These classify as either P-time tractable or #P-hard for any set [12, 11, 34, 9, 7, 38, 50, 13, 10]. While most existing work focuses on domain size or 3, the current work is for all .
Valiant’s Holant theorem [53, 52], the genesis for Holant problems, applies to bipartite signature grids whose two bipartitions are assigned contravariant tensors from and covariant tensors from , respectively. The problem is denoted . The theorem states that, if and are related by a holographic transformation then and are Holant-indistinguishable, meaning that every signature grid has the same Holant value whether its vertices are assigned tensors from or the corresponding transformed tensors in . This implies that and have the same complexity, leading to the notions of holographic reductions between Holant problems and holographic algorithms. Xia [55] conjectured the converse of the Holant theorem: if and are Holant-indistinguishable, then there is a holographic transformation between them. But a counterexample was found in [9] based on vanishing signatures, those which are Holant-indistinguishable from the set of all-0 tensors.
Homomorphism Indistinguishability
The Holant framework is broader than graph homomorphism [39, 32]. The results in this paper encompass a long list of other results in this area of research. Most prominently this includes homomorphism indistinguishability of graphs. Lovász [39] showed that two graphs and are isomorphic if and only if they admit the same number of homomorphisms from all graphs. This result was later improved to weighted and [40, 49, 8]. Another line of work aims to determine the relaxations of isomorphism which must relate any and indistinguishable under homomorphism counts from restricted classes of graphs [24, 18, 42, 36, 44, 31, 47]. One notable graph class whose homomorphism indistinguishability relation had, since the seminal 2010 work of Dvořák [24], eluded any full characterization is the graphs of bounded degree. Roberson [46] showed that homomorphism indistinguishability from graphs of degree at most define distinct relations strictly weaker than isomorphism on the set of graphs for distinct , but did not characterize them further. By expressing bounded-degree graph homomorphism as a bipartite Holant problem, we obtain as a corollary of our first main theorem the first characterization of its indistinguishability relation.
Indistinguishability theorems also exist for other subclasses of Holant, including #CSP and vertex and edge-coloring models [51, 48, 45, 15, 57]. The novel connections developed in this work demonstrate the advantage of expressing, via Holant, counting problems such as graph homomorphism and #CSP as tensor networks, which appear in a host of other areas and are subject to powerful theorems from invariant theory.
Orbit Equality and Orbit Closure Intersection
The -orbit of a finite set of tensors is the set , where acts simultaneously on the tensors in , in our setting by holographic transformation. Therefore the converse of the Holant theorem would state that, if and are Holant-indistinguishable, then the -orbits of and intersect and hence are equal. A weaker and often better-behaved notion is that of orbit closure intersection (Euclidean closure, for ). There has been much research in recent years on the computational complexity of orbit intersection and orbit closure intersection [29, 17, 30, 35, 21, 2, 27, 1, 41], with connections to geometric complexity theory [37], including border rank with applications to matrix multiplication [4], and polynomial identity testing.
Several such works [21, 27, 35, 1, 41] apply a theorem (Theorem 16 below) from geometric invariant theory which states that the -orbit closures of and intersect if and only if and are indistinguishable by all -invariant polynomials (i.e. every such polynomial takes the same value on inputs and ). The authors of [1] study a family of vertex-regular tensor networks from quantum physics called PEPS networks, which admit a variant of holographic transformation called a gauge transformation. A PEPS signature set has common arity , with inputs paired into dimensions (with possibly distinct domains) and only allows contractions between inputs in the same dimension. Since every -invariant polynomial is a linear combination of contractions of PEPS networks, and are indistinguishable by all PEPS networks if and only if the -orbit closures of and intersect [1, Theorem 4.11]. Lysikov and Walter [41] define the complexity class TOCI of orbit closure intersection problems, showing that it contains GI (all problems reducible to graph isomorphism).
Our Results
We develop new connections between invariant theory and counting problems to prove two near-converses of the Holant theorem. First, we show that the converse of the Holant theorem holds for orbit closure intersection instead of orbit intersection as conjectured in [55].
Theorem (Theorem 19).
Finite and are Holant-indistinguishable if and only if the -orbit closures of and intersect.
The latter condition means there are two sequences of holographic transformations taking and arbitrarily close to each other. The key idea in the proof is to show that every -invariant polynomial is realizable as a sum of the Holant values of indeterminate-valued signature grids. A special case is a characterization of vanishing sets which applies to any set on any domain. This greatly generalizes the symmetric Boolean-domain characterization of [9]. It also follows that the problem of testing whether and are Holant-indistinguishable is decidable.
Our second near-converse of the Holant theorem does give a true holographic transformation between and , but requires that and be quantum-nonvanishing. This means that cannot produce a quantum gadget (a linear combination of contractions of tensors in ) that causes every -grid containing it to have Holant value 0.
Theorem (Theorem 23).
If and are Holant-indistinguishable and quantum-nonvanishing, then there is a holographic transformation between and .
The proof of this theorem uses an invariant-theoretic characterization due to Derksen and Makam [23] of quantum -gadgets for quantum-nonvanishing , analogous to the duality theorems used to prove existing indistinguishability results [42, 56, 15, 57]. However, the other proof techniques used in these works do not apply in our setting; in particular, the domain-induction approach of Young [57] fails because subsignatures of do not necessarily inherit the quantum-nonvanishing property. Instead, we use Derksen and Makam’s theorem to initially split the problem into two subdomains, then gradually refine these subdomains by holographic transformations until quantum-nonvanishing forces . We use similar techniques to prove Theorem 24, a variant of the second main theorem for quantum-nonvanishing sets and of matrices: every product of matrices in has the same trace as the corresponding product in if and only if and are simultaneously similar. The proof of this result is “constructive” in the sense that the recovered transformation between and is composed of Jordan decompositions of quantum--gadget-realizable matrices, and of these matrices themselves (although the gadgets are obtained nonconstructively). The proof of the second main theorem is similarly “constructive” except for the application of Derksen and Makam’s theorem.
We use Theorem 23 to show that, while homomorphism indistinguishability of graphs and over graphs of any bounded degree is not in general equivalent to isomorphism, homomorphism indistinguishability over graphs of maximum degree at most three is equivalent to isomorphism for and with invertible adjacency matrices. We also apply Theorem 19 and results of [41] to show that the problem of Holant-indistinguishability is TOCI-complete and GI-hard.
2 Background and Preliminaries
Throughout, let be an algebraically closed field of characteristic 0. We work with the finite-dimensional vector space and its dual . The mixed tensor algebra over is
is bigraded -vector space (each grade is a -vector space) and admits the usual tensor product . Tensors in are called contravariant, and tensors in are called covariant. Tensors in are said to have arity , with left arity and right arity . Note that . Given , define . View as a matrix ; in general, identify
with a matrix in (indexed by lexicographically) whose -entry is . In particular, contravariant and covariant tensors are column and row vectors, respectively.
2.1 Holant and Bi-Holant
A signature is a function on inputs from a finite domain . Use to denote a set of signatures sharing a common domain , but possibly with different arities. Given , a signature grid (or -grid) is a multigraph along with an assignment of an -ary to each degree- vertex in , with an ordering of the edges incident to to serve as the inputs to . is the computational problem: Given , compute the Holant value
of , where is the evaluation of on the domain elements assigned to the incident edges of . For example, suppose consists of, for each , the -ary -valued signature on the Boolean domain () that evaluates to 1 if at most one (resp. exactly one) of its inputs is 1, and evaluates to 0 otherwise. For any , let have a nonzero evaluation. The edges assigned 1 form a matching (resp. perfect matching) in , so equals the number of matchings (resp. perfect matchings) in .
The coefficients of a tensor define an -arity signature on domain . In this work, we will think of signatures as tensors in this way. We view a single -ary signature as taking different shapes (i.e. different choices of : ), or as in the case of unrestricted Holant above, ignore this covariant/contravariant input distinction, depending on the context. Viewing signatures as fully contravariant or covariant gives the following well-studied bipartite setting.
Definition 1 ().
Let and be sets of contravariant and covariant tensors, respectively. An -grid is a bipartite -grid in which the vertices in the two bipartitions are assigned signatures from and , respectively.
We will abbreviate for individual signatures .
Definition 2 ().
Define the set of equality signatures , where is the -ary signature defined by if , and 0 otherwise.
Proposition 3.
For any , , , and are equivalent.
Proof.
Convert an -grid into a -grid (which is also a -grid) by placing a degree-2 vertex assigned on each edge. The resulting grid is bipartite and has the same Holant value. Conversely, given an -grid , merge two incident edges of any into one.
For a problem (only easily) expressible in the bipartite setting, consider the problem of counting homomorphisms from graphs of bounded degree. A graph homomorphism from graph to graph is a map such that, for every edge of , is an edge of . Let and be the adjacency matrix of , thought of as a binary signature. Construct the bijection between graphs and -grids shown in Figure 1 satisfying , the number of homomorphisms from to .
By the same construction, defining to be the set of equality signatures of arity at most , captures the problem of counting homomorphisms from graphs of maximum degree at most to . is equivalent to the non-bipartite because we can, without affecting the Holant value, insert a dummy between any two adjacent vertices and combine adjacent and vertices into a single vertex assigned . However, expressing homomorphisms from bounded-degree graphs does require bipartiteness, because merging two equality signatures of arity could produce an equality signature of arity .
Definition 4 (Bi-Holant).
For , a Bi-Holant -grid is a Holant -grid respecting the shapes of its signatures – that is, the edge between any adjacent and must be a contravariant input to and a covariant input to , or vice-versa.
If and are sets of contravariant and covariant tensors, respectively, then is equivalent to . Thus, by Proposition 3, Bi-Holant generalizes Holant.
Definition 5 ((Bi-Holant) -gadget).
For , an -gadget is Bi-Holant -grid in which zero or more edges are dangling, with zero or one endpoints not incident to any vertex. In an --gadget, dangling edges are contravariant inputs to their incident signatures, and are covariant, drawn with left-facing and right-facing dangling ends, respectively. The dangling ends are ordered from top to bottom on both the left and right. A two-sided dangling edge (called a wire) always has one contravariant and one covariant dangling end.
Define the signature of an --gadget by letting be the Holant value of when the left and right dangling edges are fixed to values and (summing only over assignments to the internal edges). The signature of a wire is , as the inputs to its two ends must match.
Gadgets are defined so that, if is the signature of an -gadget , then any -grid corresponds to an -grid with the same Holant value constructed by replacing every vertex assigned with (with appropriately ordered dangling edges). is the value of the contraction of as a tensor network via the standard bilinear form that contracts covariant inputs with contravariant inputs and vice-versa. For example, slicing the edges of an -grid yields two gadgets with signatures and such that . More generally, if and are the signatures of -gadgets and , then the signature of the -gadget constructed by connecting the right dangling edges of with the left dangling edges of (equivalently, contracting the covariant inputs of with the contravariant inputs of ) has matrix form , the matrix composition of and . If , then , where is constructed by also connecting the left dangling edges of with the right dangling edges of .
Definition 6 ().
An -quantum--gadget is a formal -linear combination of --gadgets. Define and to be the spaces of all quantum--gadgets and quantum--gadget signatures, respectively (extending the signature function linearly), and .
See 2(b). Quantum gadgets get their name from quantum labeled graphs [26], of which they are a broad generalization. While always contains as the signature of a wire, we do not always have or (see 2(a)); such a co/contravariant is quite powerful, as it allows connecting two left or two right dangling edges with each other, circumventing bipartiteness, and allows reshaping tensors – e.g. construct from by connecting a right-facing to the second input of .
2.2 Transformations, Indistinguishability, and the Holant Theorem
Throughout, we treat pairs of signature sets that are bijective, meaning there is a left- and right-arity-preserving bijection between and . Call corresponding signatures.
Definition 7 (, (Bi-)Holant-indistinguishable).
Given a (possibly with no dangling edges, in which case is a quantum -grid), construct by replacing every in every term of with the corresponding .
Say that and are Holant-indistinguishable if for every -grid . Define Bi-Holant-indistinguishable similarly.
Viewing and as multisets in bijection with and , the operation induces a (multiset) bijection between and , where if and are the signatures of and . Under this bijection, if and are (Bi-)Holant-indistinguishable, then so are and , as a -grid expands linearly into a quantum -grid.
Definition 8 (, ).
For and , define . Then for , define , a set bijective to via .
Theorem 9 (The Holant Theorem [53]).
If for , then and are Holant-indistinguishable.
Theorem 9 follows from the fact that left/right contractions are -equivariant for the action of in Definition 8. See Figure 3. A similar argument gives the following generalization.
Proposition 10.
For and , we have .
Proof.
Let be an -gadget with signature and consider . The transformations cancel on every internal edge of , (recall Figure 3 – in other words, covariant/contravariant edge contractions are -equivariant), and only survive on the dangling edges. Therefore has signature . The extension to quantum gadgets follows from the linearity of . Specializing to -ary gadgets in – that is, (quantum) Bi-Holant -grids – gives an extension of Theorem 9 to Bi-Holant.
Theorem 11 (The Bi-Holant Theorem).
If satisfy for , then and are Bi-Holant-indistinguishable.
Xia [55] conjectured the converse of the Holant Theorem: if and are Holant-indistinguishable, then there is a holographic transformation between them. Cai, Guo, and Williams [9, Section 4.3] discovered the following Boolean-domain counterexample.
Example 12.
Let , where is the value of on inputs of Hamming weight and and are not both 0. Define and similarly (so evaluates to 1 if its two inputs are unequal and 0 otherwise). Define and . In an -grid , the signatures in the left bipartition force any nonzero edge assignment to assign 0 to exactly half of the edges and 1 to the other half. Also, must provide every in the right bipartition no more 1 than 0 inputs. If provides any strictly fewer 1 than 0 inputs (to obtain or ), it must provide a different strictly more 1 than 0 inputs to preserve the 0/1 balance, and becomes zero. Hence is indistinguishable from . However, there is no transforming to .
While there is no invertible matrix transforming to in Example 12, observe that
so take arbitrarily close to as . Theorem 19 below extends this to any Bi-Holant-indistinguishable and : the converse of Theorem 11 holds up to orbit closure.
3 The Approximate Converse
In this section, let and assume all signature sets are finite. We prove our first main theorem, Theorem 19. For , define to be the set of tensors invariant under . The following restatement of the Tensor First Fundamental Theorem for , originally due to Weyl [54] (see also [28, Theorem 5.3.1]), says that the only tensors invariant under all of are the signatures of “braid” quantum gadgets composed only of wires.
Theorem 13 (Tensor First Fundamental Theorem for ).
.
Definition 14 (, ).
The -orbit of is . If with , then view as an element of the finite-dimensional -vector space . Then , so define the -orbit closure of as the closure of in the standard Euclidean topology. Equivalently is in if, for every , there is a such that (using the standard Euclidean norm on ).
Definition 15 ().
Let be a finite set of domain- variable-valued signatures. For every of left arity and right arity (corresponding to a complex-valued signature in ) and we introduce a variable . Define to be the ring of polynomials .
Equivalently, is the coordinate ring of the vector space from Definition 14 (where is bijective with ). For variable-valued and -grid , is a polynomial in the entries of . Evaluating this polynomial at for -valued bijective with (by substituting for with ) yields . Figure 4 shows an example on the Boolean domain with for binary covariant and unary contravariant .
Define an action of on as follows. For and , construct by substituting every variable with the -entry of . Equivalently,
| (1) |
for bijective with . Then define
to be the set of polynomials invariant under this action. The following theorem from geometric invariant theory, stated in this form in [22, Theorem 2.3], [20, Corollary 2.3.8], shows that the -orbit closures of and intersect if and only if and are indistinguishable by all -invariant polynomials.
Theorem 16 (Mumford, Fogarty, and Kirwan [43]).
Let be bijective with . Then if and only if for every .
Accompanying Theorem 16 is a result of Hilbert (see [19]), which implies that it suffices to check finitely many (with the exact number depending on the arity profile of ) polynomial invariants to ensure orbit closure intersection.
Theorem 17 (Hilbert [33]).
The -algebra is finitely generated.
To convert the condition in Theorem 16 from polynomial indistinguishability to Bi-Holant indistinguishability, we apply the following minor generalization of Weyl’s Polynomial First Fundamental Theorem for [54, 28] more suited to our purpose. The proof applies an argument similar to [41, Theorem 4.23 and Lemma 4.26] (see also [1, Proposition 4.13]).
Theorem 18.
For variable-valued signature set on domain ,
Proof.
The inclusion follows from (1), Theorem 11, and the fact that two polynomials which take the same value on every point must be identical.
For the inclusion, let . Split into a sum of multihomogeneous polynomials, where is the total degree of the entries of in (and only finitely many are nonzero). Since the action of replaces each variable with a linear polynomial in the entries of the same signature , it preserves the multihomogeneous degree of each . Therefore each , and it suffices to find an such that . Let have left arity and right arity . Each corresponds to a tensor , where, up to reordering of factors,
| (2) |
(here denotes the space of symmetric tensors in ) such that, for every complex-valued bijective with and , we have
| (3) |
For example, if , , , , and , then
Now with having left arity and right arity , (3) is equivalent to
| (4) |
Furthermore, for any ,
so the map is -equivariant. With , it follows that (up to the reordering of factors in (2), which doesn’t affect this invariance), so, by Theorem 13, is the signature of a wire gadget. Now (4) says that is a full contraction consisting only of wires and signatures in , which is for some -grid .
Theorem 19 (first main theorem).
Finite are Bi-Holant-indistinguishable if and only if .
Proof.
The direction follows from Theorem 16 and Theorem 18. follows from Theorem 11 (the -equivariance of Bi-Holant) and the fact that is a polynomial, hence continuous, function in .
Combining Theorem 19, Theorem 16, and Theorem 17 gives the following.
Corollary 20.
The problem of determining whether two finite are Bi-Holant-indistinguishable is decidable.
Say is Bi-Holant-vanishing if it is Bi-Holant-indistinguishable from the set of all-0 signatures. By Proposition 3, this notion captures both bipartite and general Holant vanishing.
Corollary 21.
Finite is Bi-Holant-vanishing if and only if .
4 The Conditional Converse
Definition 22 (Quantum-nonvanishing, -nonvanishing).
Signature set is quantum-nonvanishing if every nonzero is -nonvanishing, meaning there is an -grid containing with nonzero value.
Our second main result is that the converse of the Holant theorem holds if and are quantum-nonvanishing.
Theorem 23 (second main theorem).
Let and be quantum-nonvanishing. Then and are Holant-indistinguishable if and only if there is a such that .
Using similar techniques, we show the same result for sets of mixed binary signatures.
Theorem 24.
Let be quantum-nonvanishing (when viewed as subsets of ). Then the trace of every product of matrices in equals the trace of the corresponding product in if and only if and are simultaneously similar.
Theorem 23 implies that any and serving as a counterexample to the converse of the Holant theorem cannot both be quantum-nonvanishing. In Example 12, is quantum-vanishing. To see this, consider the quantum -gadget shown in Figure 5.
Reasoning as in Example 12, has signature for polynomials in and and in . Therefore the signature of is . But, in any -grid containing , every nonzero assignment is forced to assign strictly fewer 1s than 0s, so must assign strictly more 1s than 0s to another or , which then evaluates to 0. Therefore is -vanishing (if happen to be such that , Theorem 23 asserts that some nonzero quantum gadget must be -vanishing).
The proof of Theorems 23 and 24 can be found in the full version [16]. We present an overview of the proof of Theorem 23 here. The key result underlying Theorem 23 is the following theorem of Derksen and Makam [23], which implies that, if is quantum-nonvanishing, then there is a subgroup such that every tensor in invariant under the action of is realizable as a quantum--gadget signature.
Theorem 25 ([23, Theorem 6.2, Proposition 6.5]).
Signature set is quantum-nonvanishing if and only if for some reductive subgroup .
Definition 26 ().
Let and be bijective sets on domains and , respectively. Define a set on domain and bijective with and , where
for -ary and and .
The point of is that providing any input from to a connected component of a -gadget forces all edges in that component to take values in (all other edge assignments give 0). For , use as shorthand for (the subsignature of induced by ).
Proposition 27.
If , then .
Proof.
By definition, is the signature of some quantum -gadget . Any connected component of a term of without a dangling edge contributes only a constant factor; by absorbing this factor into the term’s coefficient, we may assume no term of has such a component. To construct , restrict all inputs to to . As discussed above, this restricts all edges of all gadgets composing to . Thus is the signature of . Similarly, has signature , and the result follows. More involved reasoning along the same lines also gives the following.
Lemma 28 ([16, Lemma 5.2]).
Suppose and are Bi-Holant-indistinguishable. Then is quantum-nonvanishing if and only if and are both quantum-nonvanishing.
Now we obtain the following analogue of [57, Lemma 3.2], with a similar proof.
Lemma 29.
If and are Bi-Holant-indistinguishable and quantum-nonvanishing, then there exists an with or .
Proof.
By Lemma 28, Theorem 25 applies to . Assume every satisfies (i.e. is block-diagonal). Then
satisfies for every , so, by Theorem 25, . But Proposition 27 gives
violating indistinguishability, as .
For , define the subdomain restrictor , which acts as the identity on inputs from and zeroes out . That is, has -block matrix form .
Lemma 30.
If and are Bi-Holant-indistinguishable and quantum-nonvanishing, then there exist and such that, up to swapping the roles of and , after transforming by and by , every and for every satisfy
| (5) |
Proof.
Lemma 29 gives an with, WLOG, . Choose so that for some with . By Theorem 25, satisfies for every . Transform by and by . By Proposition 10, this replaces with
Now, after the transformation by ,
satisfies for every .
Let . Then , so , which in -block matrix form (see e.g. [57, Appendix A]) is
| (6) |
The bottom left block of (6) gives the second equality in
| (7) |
(see Figure 6), which implies . Similarly, if , then .
If in Lemma 30, then, since corresponds to and corresponds to , (5) already gives after the transformations by and , so we are done. Otherwise, (5) asserts that, after these transformations, every and have -block vector form
| (8) |
Now, if we can show that all of the blocks in (8) are 0 for every and , then we again obtain and are done. Suppose we could realize the subdomain restrictor . Then, for any ,
| (9) |
However, any -grid containing has Holant value for some , and, by the block forms of in (9) and in (8), . Thus is -vanishing, so quantum-nonvanishing of forces , and the blocks of are 0, as desired.
Similar reasoning holds for if , so it suffices to realize . Let be a nontrivial --gadget with signature , and let be the signature of . To preserve covariant/contravariant balance, must contain at least one signature in both and . The right input to is incident to an , which by (8) is only supported on . Similarly, the left input to is incident to a , which is only supported on . Therefore and have block form
Now there exist and such that, upon transforming by and by , the block structure (8) is preserved and and are in Jordan normal form, so there is a polynomial such that
for some [16, Lemma 5.1]. If then we are done. Otherwise, use to restrict and to and repeat inductively on this smaller domain. Eventually, we obtain either or , and in the latter case apply . See the full version [16] for details.
5 More Corollaries of the Main Theorems
In this section, we exploit the expressive power of Bi-Holant to derive novel consequences of Theorems 19 and 23. We begin with an extension of the main result of Young [57]. The following proposition – which is equivalent to the fact that contraction with defines the standard bilinear form on – and Proposition 3 show that this result is a special case of the converse of the bipartite Holant theorem.
Proposition 31.
is orthogonal iff for contravariant or covariant .
Theorem 32 ([57, Theorem 2.3]).
Real-valued and are Holant-indistinguishable if and only if there is a real orthogonal such that .
Theorem 32 does not hold for complex-valued signatures – for example, consider and the vanishing set containing the single unary signature . Say that is conjugate-closed if , where is the entrywise complex conjugate of (note that any real-valued set is conjugate-closed). Young [57, Section 6.1] conjectured the following extension of Theorem 32, which we we confirm using Theorem 23.
Corollary 33.
Suppose are conjugate-closed. Then and are Holant-indistinguishable if and only if there is a complex orthogonal matrix such that .
Proof.
By Proposition 3, and are Holant-indistinguishable if and only if and are Holant-indistinguishable. Now the direction follows from Proposition 31 and Theorem 9. We will show that is quantum-nonvanishing (the argument is similar); then the direction follows from Proposition 31 and Theorem 23 with . See 7(a). Let . By definition, , where each and each is the signature of a -gadget . Since is conjugate closed, each entrywise conjugate is the signature of the -gadget constructed from with replacing every in by . Therefore . Now construct the dual by connecting a left-facing to each right input of and connecting a right-facing to each left input of . Then , so witnesses that is -nonvanishing.
5.1 Bounded-Degree Graph Homomorphisms and #CSP
Graphs and are homomorphism indistinguishable over a graph class if for every . It follows from the discussion around Figure 1 that two graphs and are homomorphism-indistinguishable over graphs of maximum degree at most iff and are Holant-indistinguishable. More generally, for any consider and . The counting constraint satisfaction problem #CSP is a well-studied problem in counting complexity, itself the subject of broad dichotomy theorems [3, 25, 6, 5]. In , every variable appears at most times across all constraints [14]. In general, and are -indistinguishable (i.e. and are Holant-indistinguishable) if and only if and are isomorphic [56]. Putting and , we recover the classical result of Lovász that homomorphism-indistinguishability is equivalent to isomorphism [39]. This also follows from from Theorem 32 and the fact that is a permutation matrix if and only if (viewing the equalities as contravariant) [55, 57]. In fact, the following sharper characterization holds.
Proposition 34.
is a permutation matrix if and only if .
Proof.
Assume . By Proposition 31, is orthogonal and preserves the covariant . Therefore, by Proposition 10, preserves the signature of every -gadget. Every for is the signature of the -gadget constructed by chaining together copies of using the covariant (and is realized by connecting two inputs of a single with ). Therefore , so is a permutation matrix.
However, recall that , and, more generally, are strictly bipartite problems, so Theorem 32 does not apply. Instead, we apply Theorem 23 to obtain the following.
Corollary 35.
For , if and are quantum-nonvanishing, then and are -indistinguishable if and only if and are isomorphic.
Corollary 35 raises the interesting problem of characterizing for which graphs the set is quantum-nonvanishing. The next lemma implies that graphs with invertible adjacency matrices have this property.
Lemma 36.
If is conjugate-closed and satisfies and (or vice-versa) for some whose matrix form is nonsingular, then is quantum-nonvanishing.
Proof.
See 7(b). Let . If , then, as in the proof of Corollary 33, construct the dual by connecting each right input of with a copy of and conjugating all coefficients and signatures composing . Then , so is -nonvanishing. Otherwise, by nonsingularity of , and therefore the signature formed by connecting copies of with the left inputs of (equivalently, connecting copies of right-facing with the left inputs of ) is nonzero. Again, since is now fully covariant, its dual is in . The -grid formed by contracting and contains and has nonzero value, so is -nonvanishing.
Corollary 37.
Let be conjugate-closed. For , if there exist and whose matrix forms are nonsingular, then and are -indistinguishable if and only if and are isomorphic.
Specializing to and for nonsingular and , we obtain
Corollary 38.
Graphs and with nonsingular adjacency matrices are homomorphism-indistinguishable over graphs of maximum degree at most 3 if and only if they are isomorphic.
We may also apply Theorem 19, which applies to all graphs and , to obtain the first characterization of homomorphism-indistinguishability over graphs of bounded degree.
Corollary 39.
Graphs and on vertices are homomorphism-indistinguishable over all graphs of maximum degree at most if and only if .
Thus the problem of determining whether two graphs are homomorphism-indistinguishable over all graphs of maximum degree at most is decidable.
The decidability result in Corollary 39, which follows from Corollary 20, answers another open question, and is interesting because homomorphism-indistinguishability over some graph classes (e.g. planar graphs [42]) is undecidable. While Theorem 19 and Corollary 20 – of which Corollary 39 is a special case – do not immediatly yield a polynomial-time algorithm for testing bounded-degree homomorphism-indistinguishability, it is possible that efficient algorithms – and a more specific, algebraic characterization than that given by Corollary 39 – exist for this case.
5.2 Indistinguishability, TOCI, and GI
Lysikov and Walter [41] define the class TOCI of (problems reducible to) orbit closure intersection problems for actions of general linear groups on finite subsets of (sets are allowed to contain signatures with different domains). They show that by reducing isomorphism of -vertex graphs and to -orbit-intersection of and [41, Lemma 5.26 and Proposition 5.28]111Our framework gives a short alternative proof of this reduction. First, if , then, since every permutation matrix preserves , the -orbits of and intersect. Conversely, the “easy” direction of Theorem 19 asserts that and are Holant-indistinguishable. As in the proof of Proposition 34, contravariant and covariant together construct all of , so and are Holant-indistinguishable – that is, and are homomorphism-indistinguishable. Then, by Lovász’s theorem, . . They also show that the orbit closure intersection problem for containing two contravariant ternary signatures and one covariant binary signature, all on the same domain, is TOCI-complete [41, Corollary 1.3]. Combining these results with Theorem 19 gives the following.
Corollary 40.
The following problem is TOCI-complete: Given ternary and binary , decide whether and are Holant-indistinguishable.
Corollary 41.
The following problem is GI-hard: Given ternary and binary , decide whether and are Holant-indistinguishable.
References
- [1] Arturo Acuaviva, Visu Makam, Harold Nieuwboer, David Pérez-García, Friedrich Sittner, Michael Walter, and Freek Witteveen. The minimal canonical form of a tensor network. In 64th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2023, Santa Cruz, CA, USA, November 6-9, 2023, pages 328–362, Los Alamitos, CA, USA, November 2023. IEEE. doi:10.1109/FOCS57990.2023.00027.
- [2] Zeyuan Allen-Zhu, Ankit Garg, Yuanzhi Li, Rafael Mendes de Oliveira, and Avi Wigderson. Operator scaling via geodesically convex optimization, invariant theory and polynomial identity testing. In Proceedings of the 50th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2018, Los Angeles, CA, USA, June 25-29, 2018, STOC 2018, pages 172–181, New York, NY, USA, 2018. ACM. doi:10.1145/3188745.3188942.
- [3] Andrei A. Bulatov. The complexity of the counting constraint satisfaction problem. J. ACM, 60(5), October 2013. doi:10.1145/2528400.
- [4] Peter Bürgisser and Christian Ikenmeyer. Geometric complexity theory and tensor rank. In Proceedings of the forty-third annual ACM Symposium on Theory of Computing (STOC), pages 509–518, 2011. doi:10.1145/1993636.1993704.
- [5] Jin-Yi Cai and Xi Chen. Complexity of counting csp with complex weights. J. ACM, 64(3), June 2017. doi:10.1145/2822891.
- [6] Jin-Yi Cai, Xi Chen, and Pinyan Lu. Nonnegative weighted #csp: An effective complexity dichotomy. SIAM J. Comput., 45(6):2177–2198, 2016. doi:10.1137/15M1032314.
- [7] Jin-Yi Cai, Zhiguo Fu, Heng Guo, and Tyson Williams. A holant dichotomy: is the fkt algorithm universal? In 2015 IEEE 56th Annual Symposium on Foundations of Computer Science, pages 1259–1276. IEEE, 2015. doi:10.1109/FOCS.2015.81.
- [8] Jin-Yi Cai and Artem Govorov. On a theorem of lovász that (., h) determines the isomorphism type of h. ACM Trans. Comput. Theory, 13(2), 2021. doi:10.1145/3448641.
- [9] Jin-Yi Cai, Heng Guo, and Tyson Williams. A complete dichotomy rises from the capture of vanishing signatures. SIAM Journal on Computing, 45(5):1671–1728, 2016. doi:10.1137/15M1049798.
- [10] Jin-Yi Cai and Jin Soo Ihm. Holant* dichotomy on domain size 3: A geometric perspective. In 52nd International Colloquium on Automata, Languages, and Programming, ICALP 2025, July 8-11, 2025, Aarhus, Denmark, volume 334 of LIPIcs, pages 148:1–148:18. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2025. doi:10.4230/LIPIcs.ICALP.2025.148.
- [11] Jin-Yi Cai, Pinyan Lu, and Mingji Xia. Holographic algorithms by fibonacci gates and holographic reductions for hardness. In 2008 49th Annual IEEE Symposium on Foundations of Computer Science, pages 644–653. IEEE, 2008. doi:10.1109/FOCS.2008.34.
- [12] Jin-Yi Cai, Pinyan Lu, and Mingji Xia. Computational complexity of holant problems. SIAM Journal on Computing, 40(4):1101–1132, 2011. doi:10.1137/100814585.
- [13] Jin-Yi Cai, Pinyan Lu, and Mingji Xia. Dichotomy for holant* problems with domain size 3. In Proceedings of the Twenty-Fourth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2013, New Orleans, Louisiana, USA, January 6-8, 2013, pages 1278–1295. SIAM, SIAM, 2013. doi:10.1137/1.9781611973105.93.
- [14] Jin-Yi Cai and Daniel P. Szabo. Bounded degree nonnegative counting csp. ACM Trans. Comput. Theory, 16(2), March 2024. doi:10.1145/3632184.
- [15] Jin-Yi Cai and Ben Young. Planar #csp equality corresponds to quantum isomorphism – a holant viewpoint. ACM Transactions on Computation Theory, 16(3), September 2024. doi:10.1145/3689486.
- [16] Jin-Yi Cai and Ben Young. Vanishing signatures, orbit closure, and the converse of the holant theorem, 2025. doi:10.48550/arXiv.2509.10991.
- [17] Zhili Chen, Joshua A. Grochow, Youming Qiao, Gang Tang, and Chuanqi Zhang. On the Complexity of Isomorphism Problems for Tensors, Groups, and Polynomials III: Actions by Classical Groups. In 15th Innovations in Theoretical Computer Science Conference (ITCS 2024), volume 287 of Leibniz International Proceedings in Informatics (LIPIcs), pages 31:1–31:23, Dagstuhl, Germany, 2024. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.ITCS.2024.31.
- [18] Holger Dell, Martin Grohe, and Gaurav Rattan. Lovász Meets Weisfeiler and Leman. In 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.
- [19] Harm Derksen. Polynomial bounds for rings of invariants. Proceedings of the American Mathematical Society, 129(4):955–963, 2001.
- [20] Harm Derksen and Gregor Kemper. Computational Invariant Theory. Encyclopaedia of Mathematical Sciences. Springer, Berlin, Heidelberg, 2nd ed. edition, 2015. doi:10.1007/978-3-662-48422-7.
- [21] Harm Derksen and Visu Makam. Algorithms for orbit closure separation for invariants and semi-invariants of matrices. Algebra & Number Theory, 14(10):2791–2813, 2020.
- [22] Harm Derksen and Visu Makam. Polystability in positive characteristic and degree lower bounds for invariant rings. Journal of Combinatorial Algebra, 6(3):353–405, 2022.
- [23] Harm Derksen and Visu Makam. Invariant theory and wheeled props. Journal of Pure and Applied Algebra, 227(9):107302, 2023. doi:10.1016/j.jpaa.2022.107302.
- [24] Zdeněk Dvořák. On recognizing graphs by numbers of homomorphisms. Journal of Graph Theory, 64(4):330–342, 2010. doi:10.1002/jgt.20461.
- [25] Martin Dyer and David Richerby. An effective dichotomy for the counting constraint satisfaction problem. SIAM Journal on Computing, 42(3):1245–1274, 2013. doi:10.1137/100811258.
- [26] Michael Freedman, László Lovász, and Alexander Schrijver. Reflection positivity, rank connectivity, and homomorphism of graphs. Journal of the American Mathematical Society, 20(1):37–51, 2007.
- [27] Ankit Garg, Christian Ikenmeyer, Visu Makam, Rafael Oliveira, Michael Walter, and Avi Wigderson. Search problems in algebraic complexity, gct, and hardness of generators for invariant rings. In Proceedings of the 35th Computational Complexity Conference, CCC ’20, Dagstuhl, DEU, 2020. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.CCC.2020.12.
- [28] Roe Goodman and Nolan R. Wallach. Symmetry, Representations, and Invariants. Graduate Texts in Mathematics. Springer, New York, 2009. doi:10.1007/978-0-387-79852-3.
- [29] Joshua Grochow and Youming Qiao. On the complexity of isomorphism problems for tensors, groups, and polynomials i: Tensor isomorphism-completeness. SIAM Journal on Computing, 52(2):568–617, 2023. doi:10.1137/21M1441110.
- [30] Joshua A. Grochow and Youming Qiao. On the complexity of isomorphism problems for tensors, groups, and polynomials IV: linear-length reductions and their applications. In Proceedings of the 57th Annual ACM Symposium on Theory of Computing, STOC 2025, Prague, Czechia, June 23-27, 2025, STOC ’25, pages 766–776, New York, NY, USA, 2025. ACM. doi:10.1145/3717823.3718282.
- [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] Pavol Hell and Jaroslav Nesetril. Graphs and homomorphisms, volume 28 of Oxford lecture series in mathematics and its applications. Oxford University Press, 2004.
- [33] David Hilbert. Ueber dietheorie der algebraischen formen. Mathematische Annalen, 36:473–534, 1890.
- [34] Sangxia Huang and Pinyan Lu. A dichotomy for real weighted holant problems. Computational Complexity, 25:255–304, 2016. doi:10.1007/s00037-015-0118-3.
- [35] Gábor Ivanyos and Youming Qiao. On the orbit closure intersection problems for matrix tuples under conjugation and left-right actions. In Proceedings of the 2023 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 4115–4126. SIAM, 2023. doi:10.1137/1.9781611977554.ch158.
- [36] Prem Nigam Kar, David E. Roberson, Tim Seppelt, and Peter Zeman. NPA Hierarchy for Quantum Isomorphism and Homomorphism Indistinguishability. In 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.
- [37] J. M. Landsberg. Geometry and Complexity Theory. Cambridge Studies in Advanced Mathematics. Cambridge University Press, 2017.
- [38] Jiabao Lin and H. Wang. The complexity of boolean holant problems with nonnegative weights. SIAM Journal on Computing, 47(3):798–828, 2018. doi:10.1137/17M113304X.
- [39] László Lovász. Operations with structures. Acta Mathematica Hungarica, 18(3-4):321–328, 1967.
- [40] László Lovász. The rank of connection matrices and the dimension of graph algebras. European Journal of Combinatorics, 27(6):962–970, 2006. doi:10.1016/j.ejc.2005.04.012.
- [41] Vladimir Lysikov and Michael Walter. Complexity theory of orbit closure intersection for tensors: reductions, completeness, and graph isomorphism hardness, 2024. To appear in FOCS’25. doi:10.48550/arXiv.2411.04639.
- [42] Laura Mančinska and David E. Roberson. Quantum isomorphism is equivalent to equality of homomorphism counts from planar graphs. In 2020 IEEE 61st Annual Symposium on Foundations of Computer Science (FOCS), pages 661–672, 2020. doi:10.1109/FOCS46700.2020.00067.
- [43] David Mumford, John Fogarty, and Frances Kirwan. Geometric invariant theory, Third Edition, volume 34 of Ergebnisse der Mathematik und ihrer Grenzgebiete. Springer, Berlin, Heidelberg, 3rd ed. edition, 1994.
- [44] 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. SIAM, 2023. doi:10.1137/1.9781611977554.ch87.
- [45] Guus Regts. Edge-reflection positivity and weighted graph homomorphisms. J. Comb. Theory A, 129(C):80–92, January 2015. doi:10.1016/j.jcta.2014.09.006.
- [46] David E. Roberson. Oddomorphisms and homomorphism indistinguishability over graphs of bounded degree, 2022. doi:10.48550/arXiv.2206.10321.
- [47] David E. Roberson and Tim Seppelt. Lasserre hierarchy for graph isomorphism and homomorphism indistinguishability. TheoretiCS, Volume 3, September 2024. doi:10.46298/theoretics.24.20.
- [48] Alexander Schrijver. Graph Invariants in the Edge Model. In Building Bridges: Between Mathematics and Computer Science, pages 487–498. Springer, Berlin, Heidelberg, 2008. doi:10.1007/978-3-540-85221-6_16.
- [49] Alexander Schrijver. Graph invariants in the spin model. J. Comb. Theory B, 99(2):502–511, 2009. doi:10.1016/j.jctb.2008.10.003.
- [50] Shuai Shao and Jin-Yi Cai. A dichotomy for real boolean holant problems. In 2020 IEEE 61st Annual Symposium on Foundations of Computer Science (FOCS), pages 1091–1102. IEEE, 2020. doi:10.1109/FOCS46700.2020.00105.
- [51] Balázs Szegedy. Edge coloring models and reflection positivity. Journal of the American Mathematical Society, 20(4):969–988, May 2007. doi:10.1090/S0894-0347-07-00568-1.
- [52] Leslie G. Valiant. Accidental algorithms. In 47th Annual IEEE Symposium on Foundations of Computer Science, FOCS 2006, Berkeley, California, USA, October 21-24, 2006, Proceedings, pages 509–517. IEEE, IEEE Computer Society, 2006. doi:10.1109/FOCS.2006.7.
- [53] Leslie G. Valiant. Holographic algorithms. SIAM Journal on Computing, 37(5):1565–1594, 2008. doi:10.1137/070682575.
- [54] Hermann Weyl. The Classical Groups: Their Invariants and Representations. Princeton University Press, 1966. doi:10.2307/j.ctv3hh48t.
- [55] Mingji Xia. Holographic reduction: A domain changed application and its partial converse theorems. In Automata, Languages and Programming: 37th International Colloquium, ICALP 2010, Bordeaux, France, July 6-10, 2010, Proceedings, Part I 37, pages 666–677. Springer, 2010. doi:10.1007/978-3-642-14165-2_56.
- [56] Ben Young. Equality on all #csp instances yields constraint function isomorphism via interpolation and intertwiners. The Electronic Journal of Combinatorics, 32, 2025. doi:10.37236/13879.
- [57] Ben Young. The Converse of the Real Orthogonal Holant Theorem. In 52nd International Colloquium on Automata, Languages, and Programming (ICALP 2025), volume 334 of Leibniz International Proceedings in Informatics (LIPIcs), pages 136:1–136:20, Dagstuhl, Germany, 2025. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.ICALP.2025.136.
Appendix A Dictionary of Terminologies
Table 1 lists Holant concepts in this work on the left, and other names for these concepts on the right (for more on wheeled PROPs, see [16, 23]).
| Signature | Tensor |
|---|---|
| Signature set (finite) | Tensor tuple |
| Signature grid | Tensor network |
| Quantum gadget signature algebra | Sub-wheeled PROP of |
| is quantum-nonvanishing | Wheeled PROP is simple |
| is (Bi-Holant-)vanishing | is in the null cone |
