Introduction
Graph data arises in various contexts ranging from program flows, social networks, protein interactions, and trophic networks. A central task when presented with graph data is to decide whether two graphs are isomorphic , i.e., structurally equivalent. However, the algorithmic problem of deciding whether two graphs are isomorphic is riddled with complexity-theoretic difficulties [4 ] . Furthermore, in many applications, isomorphism is too brittle an equivalence relation between graphs which does not account for noise or perturbations. These two shortcomings of graph isomorphism have sparked a decade-long line of work on graph isomorphism relaxations , i.e. equivalence relations ≈ \approx ≈ between graphs that satisfy for all graphs G G G and H H H that
G ≅ H ⟹ G ≈ H . (1) G \cong H \Longrightarrow G \approx H. \tag*{(1)} G ≅ H ⟹ G ≈ H . (1)
Graph isomorphism relaxations may stem from algorithmic heuristics such as the Weisfeiler–Leman algorithm [5 ] , machine learning paradigms such as Graph Neural Networks [6 , 7 , 8 ] , or from theoretical considerations rooted e.g. in spectral graph theory or quantum information theory [9 ] . Despite the long list of intensively studied graph isomorphism relaxations, they lack a coherent theory predicting their computational complexity or distinguishing power [10 ] .
A proposal for such a theory, which has been brought forward in recent years, is homomorphism indistinguishability [11 ] . Two graphs G G G and H H H are homomorphism indistinguishable over a graph class F \mathcal{F} F , in symbols G ≡ F H G \equiv_{\mathcal{F}} H G ≡ F H , if, for every graph F ∈ F F \in\mathcal{F} F ∈ F , the number hom ( F , G ) \operatorname{hom}(F,G) hom ( F , G ) of homomorphisms from F F F to G G G is equal to the number hom ( F , H ) \operatorname{hom}(F,H) hom ( F , H ) of homomorphisms from F F F to H H H . A diverse range of graph isomorphism relaxations including isomorphism [1 ] , quantum isomorphism [12 ] , and equivalences with respect to counting logic fragments [13 , 14 , 15 , 16 , 17 , 18 ] can be characterised as homomorphism indistinguishability relations over natural graph classes. Other examples include graph isomorphism relaxations originating from quantum information theory [12 , 19 ] , optimisation [20 , 21 ] , category theory [17 , 22 ] , and machine learning [23 , 24 ] .
These results demonstrate the versatility of homomorphism indistinguishability and justify studying this notion more abstractly. In this context, three research strands have emerged: The first studies the computational complexity of homomorphism indistinguishability relations ≡ F \equiv_{\mathcal{F}} ≡ F in relation with graph-theoretic or model-theoretic properties of the graph class F \mathcal{F} F [25 , 26 , 27 ] . The second is concerned with the distinguishing power of ≡ F \equiv_{\mathcal{F}} ≡ F and aims to understand for which relations ≡ F \equiv_{\mathcal{F}} ≡ F differ from isomorphism ≅ \cong ≅ , cf. Roberson’s conjectures [28 ] and [29 , 30 , 31 , 32 ] . The final strand is concerned with abstract properties of homomorphism indistinguishability relations [2 , 22 , 33 , 34 ] . In this context, Atserias, Kolaitis, & Wu [2 ] posed the following problem:
‘One of the ultimate goals is to characterize the relaxations of graph isomorphism that are captured by restrictions of the left profile [. . .].’ [2 Section VIII]
In other words, they asked which graph isomorphism relaxations are homomorphism indistinguishability relations. As our central contribution (Theorem 3.6), we resolve this ultimate goal. Towards Theorem 3.6, we significantly advance the structural understanding of homomorphism indistinguishability by the means of geometry and topology. As corollaries, we answer open questions of Atserias, Kolaitis, & Wu [2 ] , Roberson [28 ] , and Botteron & Weber [35 ] in Example 6.40, Lemma 8.2 , and Example 6.42 and simplify arguments from [2 ] in § 10.10.1 .
Techniques and results
For every graph class F \mathcal{F} F , its homomorphism indistinguishability relation ≡ F \equiv_{\mathcal{F}} ≡ F is a graph isomorphism relaxation, i.e. satisfies (1) . In fact, this construction is part of a Galois correspondence between graph classes (ordered by inclusion) and graph isomorphism relaxations (ordered by refinement) given by the maps
F ↦ ≡ F and ≈ ↦ K ( ≈ ) : = { F ∣ ∀ G , H . G ≈ H ⇒ hom ( F , G ) = hom ( F , H ) } . (2) \mathcal{F} \mapsto\equiv_{\mathcal{F}} \qquad\text{and}\qquad\approx\mapsto\mathcal{K}(\approx) := \{F \mid\forall G,H.\ G \approx H \Rightarrow\operatorname{hom}(F,G) = \operatorname{hom}(F,H)\}. \tag*{(2)} F ↦ ≡ F and ≈↦ K ( ≈ ) := { F ∣ ∀ G , H . G ≈ H ⇒ hom ( F , G ) = hom ( F , H )} . (2)
Of particular interest are the objects that are invariant under going back and forth through this correspondence. The graph classes F \mathcal{F} F such that F = K ( ≡ F ) \mathcal{F} = \mathcal{K}(\equiv_{\mathcal{F}}) F = K ( ≡ F ) are precisely the homomorphism distinguishing closed graph classes. A graph class F \mathcal{F} F is homomorphism distinguishing closed [28 ] if, for every F ′ ⊈ F \mathcal{F}' \not\subseteq\mathcal{F} F ′ ⊆ F , the relation ≡ F ∪ { F ′ } \equiv_{\mathcal{F} \cup\{\mathcal{F}'\}} ≡ F ∪ { F ′ } is strictly finer than ≡ F \equiv_{\mathcal{F}} ≡ F . For homomorphism distinguished closed graph classes F 1 \mathcal{F}_1 F 1 and F 2 \mathcal{F}_2 F 2 , the problem of comparing the graph isomorphism relaxations ≡ F 1 \equiv_{\mathcal{F}_1} ≡ F 1 and ≡ F 2 \equiv_{\mathcal{F}_2} ≡ F 2 reduces to comparing the graph classes F 1 \mathcal{F}_1 F 1 and F 2 \mathcal{F}_2 F 2 . That is, $\equiv_{\mathcal{F}_1} refines ≡ F 2 \equiv_{\mathcal{F}_2} ≡ F 2 if, and only if, F 1 ⊇ F 2 \mathcal{F}_1 \supseteq\mathcal{F}_2 F 1 ⊇ F 2 . This approach has been used for measuring the distinguishing power of graph isomorphism relaxations from mathematical programming [21 ] , counting logic [15 , 18 ] , and machine learning [23 , 24 ] . Therefore, it is desirable to identify natural criteria for a graph class F \mathcal{F} F to be homomorphism distinguishing closed. Roberson’s (strong) conjecture [28 ] asserting that every graph class closed under taking minors and disjoint unions is homomorphism distinguishing closed has received much attention as the central hypothesis regarding the distinguishing power of homomorphism indistinguishability relations [29 , 30 , 31 ] . Its recent refutation by Kristjánsson [32 ] warrants identifying sufficient conditions for a graph class to be homomorphism distinguishing closedness other than being minor-closed.
Dually, the graph isomorphism relaxations ≈ \approx ≈ such that ≈ = ≡ K ( ≈ ) \approx= \equiv_{\mathcal{K}(\approx)} ≈= ≡ K ( ≈ ) are precisely the homomorphism indistinguishability relations. Thus, the quest for homomorphism distinguishing closed graph classes and Atserias, Kolaitis, & Wu’s ‘ultimate goal’ both require to understand the objects preserved under the Galois correspondence (2) .
We propose to study the Galois correspondence (2) via an analogy with one of the most fundamental Galois correspondences in mathematics: the correspondence between sets U ⊆ C n U \subseteq\mathbb{C}^n U ⊆ C n , so-called varieties , and ideals a \mathfrak{a} a of the polynomial ring C [ x 1 , … , x n ] \mathbb{C}[x_1,\ldots,x_n] C [ x 1 , … , x n ] given by
U ↦ I ( U ) : = { p ∈ C [ x 1 , … , x n ] ∣ ∀ u ∈ U . p ( u ) = 0 } , a ↦ V ( a ) : = { u ∈ C n ∣ ∀ p ∈ a . p ( u ) = 0 } . U \mapsto I(U) := \{p \in\mathbb{C}[x_1,\ldots,x_n] \mid\forall u \in U.\ p(u) = 0\},
\qquad
\mathfrak{a} \mapsto V(\mathfrak{a}) := \{u \in\mathbb{C}^n \mid\forall p \in\mathfrak{a}.\ p(u) = 0\}. U ↦ I ( U ) := { p ∈ C [ x 1 , … , x n ] ∣ ∀ u ∈ U . p ( u ) = 0 } , a ↦ V ( a ) := { u ∈ C n ∣ ∀ p ∈ a . p ( u ) = 0 } .
The objects invariant under this correspondence are well understood: By Hilbert’s Nullstellensatz, the ideals a \mathfrak{a} a such that a = I ( V ( a ) ) \mathfrak{a} = I(V(\mathfrak{a})) a = I ( V ( a )) are precisely the radical ideals of C [ x 1 , … , x n ] \mathbb{C}[x_1,\ldots,x_n] C [ x 1 , … , x n ] , i.e., the ideals a \mathfrak{a} a satisfying that, if p ℓ ∈ a p^\ell\in\mathfrak{a} p ℓ ∈ a for p ∈ C [ x 1 , … , x n ] p \in\mathbb{C}[x_1,\ldots,x_n] p ∈ C [ x 1 , … , x n ] and ℓ ≥ 1 \ell\ge1 ℓ ≥ 1 , then p ∈ a p \in\mathfrak{a} p ∈ a . Dually, a variety U ⊆ C n U \subseteq\mathbb{C}^n U ⊆ C n satisfies U = V ( I ( U ) ) U = V(I(U)) U = V ( I ( U )) if, and only if, it is closed in the Zariski topology on C n \mathbb{C}^n C n .
We translate these characterisations of invariant objects to homomorphism indistinguishability. On the side of graph classes, this implies that the homomorphism distinguishing closed sets constitute the closed sets of a Zariski-like topology (Lemmas 4.2 and 4.3). Homomorphism indistinguishability was not previously known to admit topological structure. As a preliminary investigation of this topological space, we show that it is disconnected, non-compact, and Fréchet (Propositions 4.6 and 4.7 ). On the side of relations, we obtain the desired characterisation of homomorphism indistinguishability relations (Theorem 3.6).
How can the Galois correspondence (2) be cast into the language of algebraic geometry? It was observed in [33 ] that homomorphism indistinguishability relations ≡ F \equiv_{\mathcal{F}} ≡ F satisfy a multitude of preservation properties. For example, all homomorphism indistinguishability relations are preserved under categorical products , i.e. for all graphs G G G , H H H , and K K K , if G ≡ F H G \equiv_{\mathcal{F}} H G ≡ F H , then G ⊗ K ≡ F H ⊗ K G \otimes K \equiv_{\mathcal{F}} H \otimes K G ⊗ K ≡ F H ⊗ K , where ⊗ \otimes ⊗ denotes the categorical product. These preservation properties can be understood as asserting that homomorphism indistinguishability relations are congruences for the semiring on the set of (isomorphism types of) looped-simple graphs G ∘ G^\circ G ∘ with disjoint union as addition and categorical product as multiplication. By a standard Grothendieck construction and an extension of scalars, we show that homomorphism indistinguishability relations form a class of ideals of the semiring algebra C G ∘ \mathbb{C}G^\circ C G ∘ . The algebra C G ∘ \mathbb{C}G^\circ C G ∘ is a quotient of the complex polynomial ring in countably many variables. A version of Hilbert’s Nullstellensatz applies to this algebra and lays the foundations for our Theorem 3.6. Thinking of the elements of C G ∘ \mathbb{C}G^\circ C G ∘ as polynomials also allows us to recast the homomorphism distinguishing closed graph classes as varieties.
The algebraic structure of homomorphism counts is well explored from multiple perspectives ranging from algorithmics & complexity [36 , 37 , 38 ] , and extremal combinatorics [39 ] to database theory [40 ] . We highlight the following selection of related work.
By using an algebra whose elements are formal linear combinations of (labelled) graphs, Lovász & Schrijver [3 ] characterised the functions p : G ∘ → R p:\mathcal{G}^{\circ}\to\mathbb{R} p : G ∘ → R that are of the form p ( ⋆ ) = hom ( F , ⋆ ) p(\star)=\operatorname{hom}(F,\star) p ( ⋆ ) = hom ( F , ⋆ ) for some graph F F F . Their characterisation involves a condition which asserts that certain infinite matrices called connection matrices are positive semidefinite. It is related to similar characterisations for functions hom ( ⋆ , G ) \operatorname{hom}(\star,G) hom ( ⋆ , G ) and categorical generalisations proven in [39 , 41 , 42 ] . We prove an alternative such characterisation in Corollary 6.35 . Our algebra set-up differs from the one from [3 ] : While their algebra is multisorted, we use tools from commutative algebra and elementary algebraic geometry.
Another ingredient of this work are graph semirings and homomorphisms on such semirings. Zuiddam [43 ] studied similar objects when characterising the Shannon capacity of a graph in terms of asymptotic spectra. Here, the asymptotic spectrum of a graph is the set of all semiring homomorphisms φ : ( G , + , ⊠ , ∅ , K 1 ) → R ≥ 0 \varphi:(\mathcal{G},+,\boxtimes,\varnothing,K_1)\to\mathbb{R}_{\geq0} φ : ( G , + , ⊠ , ∅ , K 1 ) → R ≥ 0 such that for all graphs G , H G,H G , H , if there is a homomorphism G → H G\to H G → H , then φ ( G ) ≤ φ ( H ) \varphi(G)\leq\varphi(H) φ ( G ) ≤ φ ( H ) . Here, ⊠ \boxtimes ⊠ denotes the strong graph product and G ‾ \overline{G} G the complement of G G G . We study a different graph semiring (with the categorical product ⊗ \otimes ⊗ rather than the strong product ⊠ \boxtimes ⊠ ). Furthermore, we do not make use of any order structure and Hilbert’s Nullstellensatz replaces the Vergleichsstellensätze of Strassen [44 ] , see [45 ] .
In the context of game comonads, cf. [17 ] , Abramsky, Jakl, & Paine [22 ] characterised the homomorphism indistinguishability relations ≡ F \equiv_{\mathcal{F}} ≡ F that are classified by a comonad , i.e., there exists a comonad C \mathcal{C} C on the category of graphs such that G ≡ F H G\equiv_{\mathcal{F}}H G ≡ F H if, and only if, the cofree C \mathcal{C} C -coalgebras of G G G and H H H are isomorphic. The graph classes F \mathcal{F} F arising here are precisely the componental graph classes, i.e., those closed under disjoint union and taking summands.
Closest to our axiomatisation of homomorphism indistinguishability relations (Theorem 3.6) is perhaps a result of Seppelt [33 ] characterising the homomorphism indistinguishability relations ≡ F \equiv_{\mathcal{F}} ≡ F for which F \mathcal{F} F can be assumed to have certain closure properties such as being closed under taking (induced) subgraphs or minors. In particular, a homomorphism indistinguishability relation ≡ F \equiv_{\mathcal{F}} ≡ F is a homomorphism indistinguishability relation over a minor-closed graph class if, and only if, ≡ F \equiv_{\mathcal{F}} ≡ F is preserved under complements , i.e., G ≡ F H ⟹ G ‾ ≡ F H ‾ G\equiv_{\mathcal{F}}H\Longrightarrow\overline{G}\equiv_{\mathcal{F}}\overline{H} G ≡ F H ⟹ G ≡ F H for all graphs G , H G,H G , H . Combined with our Theorem 3.7, this gives an axiomatisation of homomorphism indistinguishability relations over minor-closed graph classes.
Preliminaries
Graphs. All graphs are finite, undirected, and without multiple edges, i.e. they are looped-simple . Write G ∘ \mathcal{G}^{\circ} G ∘ for the class of (isomorphism types of) looped-simple graphs. A simple graph is a graph without loops. Write G \mathcal{G} G for the class of (isomorphism types of) simple graphs. A homomorphism between graphs F F F and G G G is a map h : V ( F ) → V ( G ) h:V(F)\to V(G) h : V ( F ) → V ( G ) such that u v ∈ E ( F ) uv\in E(F) uv ∈ E ( F ) implies h ( u ) h ( v ) ∈ E ( G ) h(u)h(v)\in E(G) h ( u ) h ( v ) ∈ E ( G ) ; in particular, homomorphisms map loops to loops. Write hom ( F , G ) \operatorname{hom}(F,G) hom ( F , G ) for the number of homomorphisms F → G F\to G F → G . The categorical product G ⊗ H G\otimes H G ⊗ H of two graphs G G G and H H H has vertex set V ( G ⊗ H ) = V ( G ) × V ( H ) V(G\otimes H)=V(G)\times V(H) V ( G ⊗ H ) = V ( G ) × V ( H ) and edges between g h gh g h and g ′ h ′ g'h' g ′ h ′ if g g ′ ∈ E ( G ) gg'\in E(G) g g ′ ∈ E ( G ) and h h ′ ∈ E ( H ) hh'\in E(H) h h ′ ∈ E ( H ) . We write G + H G+H G + H for the disjoint union of G G G and H. A graph is connected if it has exactly one connected component; in particular, the vertex-less graph $0 is not connected. Write Z ⊆ G \mathcal{Z}\subseteq\mathcal{G} Z ⊆ G and Z ∘ ⊆ G ∘ \mathcal{Z}^{\circ}\subseteq\mathcal{G}^{\circ} Z ∘ ⊆ G ∘ for the classes of connected graphs in G \mathcal{G} G and G ∘ \mathcal{G}^{\circ} G ∘ , respectively (zusammenhängend means connected).
Semirings. A semiring is a tuple ( S , + , × , 0 , 1 ) (S,+,\times,0,1) ( S , + , × , 0 , 1 ) where S S S is a set equipped with two binary operations + + + and × \times × and distinguished elements 0 , 1 ∈ S 0,1\in S 0 , 1 ∈ S satisfying that:
(i) ( S , + , 0 ) (S,+,0) ( S , + , 0 ) is a commutative monoid,
(ii) ( S , × , 1 ) (S,\times,1) ( S , × , 1 ) is a monoid,
(iii) multiplication distributes over addition: a × ( b + c ) = a × b + a × c a\times(b+c)=a\times b+a\times c a × ( b + c ) = a × b + a × c and ( a + b ) × c = a × c + b × c (a+b)\times c=a\times c+b\times c ( a + b ) × c = a × c + b × c for all a , b , c ∈ S a,b,c\in S a , b , c ∈ S ,
(iv) 0 × a = a × 0 = 0 0\times a=a\times0=0 0 × a = a × 0 = 0 for all a ∈ S a\in S a ∈ S . The semiring is commutative if ( S , × , 1 ) (S,\times,1) ( S , × , 1 ) is a commutative monoid, i.e., a × b = b × a a\times b=b\times a a × b = b × a for all a , b ∈ S a,b\in S a , b ∈ S . The semiring is cancellative if the additive monoid ( S , + , 0 ) (S,+,0) ( S , + , 0 ) is cancellative , i.e., for all a , b , c ∈ S a,b,c\in S a , b , c ∈ S , if a + c = b + c a+c=b+c a + c = b + c , then a = b a=b a = b .
Lemma 2.1. The class of looped-simple graphs G ∘ \mathcal{G}^{\circ} G ∘ with disjoint union + + + as addition, categorical product ⊗ \otimes ⊗ as multiplication, the vertex-less graph 0 \mathbf{0} 0 and the one-vertex looped graph 1 \mathbf{1} 1 as neutral elements forms a countable cancellative commutative semiring.
Which relations are homomorphism indistinguishability relations?
Towards answering this question, we build up a collection of necessary conditions that in conjunction will turn out to be sufficient. Full proofs are given in Section 6. In particular, we develop an algebraic machinery that is inspired by the following three basic identities satisfied by homomorphism counts. For graphs G , G 1 , G 2 , F , F 1 , F 2 ∈ G ∘ G,G_1,G_2,F,F_1,F_2\in\mathcal{G}^{\circ} G , G 1 , G 2 , F , F 1 , F 2 ∈ G ∘ , and every connected graph Z ∈ Z ∘ Z\in\mathcal{Z}^{\circ} Z ∈ Z ∘ , the following hold [39 (5.28)–(5.30)] :
hom ( F 1 + F 2 , G ) = hom ( F 1 , G ) ⋅ hom ( F 2 , G ) , hom ( F , G 1 ⊗ G 2 ) = hom ( F , G 1 ) ⋅ hom ( F , G 2 ) , hom ( Z , G 1 + G 2 ) = hom ( Z , G 1 ) + hom ( Z , G 2 ) . (3) \begin{aligned}
\operatorname{hom}(F_1+F_2,G)&=\operatorname{hom}(F_1,G)\cdot\operatorname{hom}(F_2,G),\\
\operatorname{hom}(F,G_1\otimes G_2)&=\operatorname{hom}(F,G_1)\cdot\operatorname{hom}(F,G_2),\\
\operatorname{hom}(Z,G_1+G_2)&=\operatorname{hom}(Z,G_1)+\operatorname{hom}(Z,G_2). \tag*{(3)}
\end{aligned} hom ( F 1 + F 2 , G ) hom ( F , G 1 ⊗ G 2 ) hom ( Z , G 1 + G 2 ) = hom ( F 1 , G ) ⋅ hom ( F 2 , G ) , = hom ( F , G 1 ) ⋅ hom ( F , G 2 ) , = hom ( Z , G 1 ) + hom ( Z , G 2 ) . (3)
hom ( F , G 1 ⊗ G 2 ) = hom ( F , G 1 ) ⋅ hom ( F , G 2 ) . (4) \operatorname{hom}(F,G_1\otimes G_2)=\operatorname{hom}(F,G_1)\cdot\operatorname{hom}(F,G_2). \tag*{(4)} hom ( F , G 1 ⊗ G 2 ) = hom ( F , G 1 ) ⋅ hom ( F , G 2 ) . (4)
hom ( Z , G 1 + G 2 ) = hom ( Z , G 1 ) + hom ( Z , G 2 ) . (5) \operatorname{hom}(Z,G_1+G_2)=\operatorname{hom}(Z,G_1)+\operatorname{hom}(Z,G_2). \tag*{(5)} hom ( Z , G 1 + G 2 ) = hom ( Z , G 1 ) + hom ( Z , G 2 ) . (5)
These basic identities are not hard to show and demonstrate the categorical nature of homomorphism counts. Equation (4) implies that every homomorphism indistinguishability ≈ \approx ≈ is preserved under categorical products , i.e. for all graphs G , H , K ∈ G ∘ G,H,K\in\mathcal{G}^{\circ} G , H , K ∈ G ∘ ,
G ≈ H ⟹ K ⊗ G ≈ K ⊗ H . (6) G\approx H\;\Longrightarrow\;K\otimes G\approx K\otimes H. \tag*{(6)} G ≈ H ⟹ K ⊗ G ≈ K ⊗ H . (6)
Componental graph classes. Equations (3) and (5) imply a similar identity for disjoint union instead of ⊗ \otimes ⊗ with a small caveat: Equation (5) only applies to connected graphs. We therefore restrict our attention to homomorphism indistinguishability relations over componental graph classes. A graph class F \mathcal{F} F is componental if, for all graphs F 1 , F 2 F_1,F_2 F 1 , F 2 , it holds that F 1 , F 2 ∈ F F_1,F_2\in\mathcal{F} F 1 , F 2 ∈ F iff F 1 + F 2 ∈ F F_1+F_2\in\mathcal{F} F 1 + F 2 ∈ F . Restricting to componental graph classes is standard in the context of homomorphism indistinguishability [22 , 28 , 33 ] and arguably does not constitute a significant loss of generality. In particular, we are not aware of any natural homomorphism indistinguishability relation over a non-componental graph class. Every homomorphism indistinguishability relation ≈ \approx ≈ over a componental graph class satisfies the following identity1 for all graphs G , H , K ∈ G ∘ G,H,K\in\mathcal{G}^{\circ} G , H , K ∈ G ∘ ,
G ≈ H ⟹ K + G ≈ K + H . (7) G\approx H\;\Longrightarrow\;K+G\approx K+H. \tag*{(7)} G ≈ H ⟹ K + G ≈ K + H . (7)
Semiring congruences. Before adding further necessary conditions, we take a step back and phrase Equations (6) and (7) more abstractly. A graph isomorphism relaxation ≈ \approx ≈ satisfying these conditions is in fact a congruence for a semiring on the class G ∘ \mathcal{G}^{\circ} G ∘ of looped-simple graphs with disjoint union as addition, whose neutral element is the vertex-less graph 0 \mathbf{0} 0 , and with the categorical product as multiplication, whose neutral element is the single-vertex looped graph 1 \mathbf{1} 1 (Lemma 2.1). Equations (6) and (7) assert that ≈ \approx ≈ is a congruence for G ∘ \mathcal{G}^{\circ} G ∘ .
Ring congruences. As a next step, we add further necessary conditions which allow us to work with a ring instead of a semiring. To that end, we introduce additive inverses to G ∘ \mathcal{G}^{\circ} G ∘ . The Grothendieck ring Z G ∘ \mathbb{Z}\mathcal{G}^{\circ} Z G ∘ of the semiring G ∘ \mathcal{G}^{\circ} G ∘ is the standard construction in this context. Its elements are of the form G − H G-H G − H for G , H ∈ G ∘ G,H\in\mathcal{G}^{\circ} G , H ∈ G ∘ . Here, G − H = G ′ − H ′ G-H=G'-H' G − H = G ′ − H ′ holds in Z G ∘ \mathbb{Z}\mathcal{G}^{\circ} Z G ∘ iff G + H ′ = G ′ + H G+H'=G'+H G + H ′ = G ′ + H holds in G ∘ \mathcal{G}^{\circ} G ∘ . A relation ≈ \approx ≈ is a congruence for Z G ∘ \mathbb{Z}\mathcal{G}^{\circ} Z G ∘ iff it satisfies Equations (6) and (7) and the following condition for all graphs G , H , K ∈ G ∘ G,H,K\in\mathcal{G}^{\circ} G , H , K ∈ G ∘
K + G ≈ K + H ⟹ G ≈ H . (8) K+G\approx K+H\quad\Longrightarrow\quad G\approx H. \tag*{(8)} K + G ≈ K + H ⟹ G ≈ H . (8)
Congruences of a ring are in one-to-one correspondence with the ring’s ideals. That is, we may identify relations ≈ \approx ≈ satisfying Equations (6) to (8) with ideals of Z G ∘ \mathbb{Z}\mathcal{G}^{\circ} Z G ∘ (Proposition 6.1 ).
Extension of scalars. Towards applying Hilbert’s Nullstellensatz, we extend scalars in order to turn Z G ∘ \mathbb{Z}\mathcal{G}^{\circ} Z G ∘ into an algebra over an algebraically closed field. Here, the only non-trivial step is from Z G ∘ \mathbb{Z}\mathcal{G}^{\circ} Z G ∘ to Q G ∘ : = Q ⊗ Z Z G ∘ \mathbb{Q}\mathcal{G}^{\circ}:=\mathbb{Q}\otimes_{\mathbb{Z}}\mathbb{Z}\mathcal{G}^{\circ} Q G ∘ := Q ⊗ Z Z G ∘ . The elements of Q G ∘ \mathbb{Q}\mathcal{G}^{\circ} Q G ∘ are of the form G − H n \frac{G-H}{n} n G − H for graphs G , H ∈ G ∘ G,H\in\mathcal{G}^{\circ} G , H ∈ G ∘ and integers n ≥ 1 n\geq1 n ≥ 1 . It holds that G − H n = G ′ − H ′ n ′ \frac{G-H}{n}=\frac{G'-H'}{n'} n G − H = n ′ G ′ − H ′ in Q G ∘ \mathbb{Q}\mathcal{G}^{\circ} Q G ∘ iff n ′ ( G − H ) = n ( G ′ − H ′ ) n'(G-H)=n(G'-H') n ′ ( G − H ) = n ( G ′ − H ′ ) in Z G ∘ \mathbb{Z}\mathcal{G}^{\circ} Z G ∘ , which holds iff n ′ G + n H ′ = n ′ H + n G ′ n'G+nH'=n'H+nG' n ′ G + n H ′ = n ′ H + n G ′ in G ∘ \mathcal{G}^{\circ} G ∘ . To that end, we add the necessary condition that, for all graphs G , H ∈ G ∘ G,H\in\mathcal{G}^{\circ} G , H ∈ G ∘ , and integers n ≥ 1 n\geq1 n ≥ 1 ,
G + ⋯ + G ⏟ n t i m e s ≈ H + ⋯ + H ⏟ n t i m e s ⟹ G ≈ H . (9) \underbrace{G+\cdots+G}_{n\ \mathrm{times}}\approx\underbrace{H+\cdots+H}_{n\ \mathrm{times}}\quad\Longrightarrow\quad G\approx H. \tag*{(9)} n times G + ⋯ + G ≈ n times H + ⋯ + H ⟹ G ≈ H . (9)
It is immediate from Equation (5) that every componental homomorphism indistinguishability relation ≈ \approx ≈ satisfies Equation (9) . Furthermore, it holds that ≈ \approx ≈ is a congruence of Q G ∘ \mathbb{Q}\mathcal{G}^{\circ} Q G ∘ iff it satisfies Equations (6) to (9). Such congruences are in one-to-one correspondence with ideals of Q G ∘ \mathbb{Q}\mathcal{G}^{\circ} Q G ∘ (Proposition 6.7). More specifically, for a relation ≈ \approx ≈ satisfying Equations (6) to (9), let
a ≈ : = { G − H n ∣ G , H ∈ G ∘ , G ≈ H , n ≥ 1 } . \mathfrak{a}_{\approx}:=\left\{\left.\frac{G-H}{n}\ \right|\ G,H\in\mathcal{G}^{\circ},\ G\approx H,\ n\geq1\right\}. a ≈ := { n G − H G , H ∈ G ∘ , G ≈ H , n ≥ 1 } .
Then a ≈ \mathfrak{a}_{\approx} a ≈ is an ideal of Q G ∘ \mathbb{Q}\mathcal{G}^{\circ} Q G ∘ . Conversely, for an ideal b \mathfrak{b} b of Q G ∘ \mathbb{Q}\mathcal{G}^{\circ} Q G ∘ , define a relation ≈ b \approx_{\mathfrak{b}} ≈ b via
G ≈ b H ⟺ G − H ∈ b . G\approx_{\mathfrak{b}}H\quad\Longleftrightarrow\quad G-H\in\mathfrak{b}. G ≈ b H ⟺ G − H ∈ b .
Then ≈ b \approx_{\mathfrak{b}} ≈ b satisfies Equations (6) to (9). Furthermore, the constructions ≈ ↦ a ≈ \approx\mapsto\mathfrak{a}_{\approx} ≈↦ a ≈ and b ↦ ≈ b \mathfrak{b}\mapsto\approx_{\mathfrak{b}} b ↦ ≈ b are mutually converse. It remains to understand the ideals a \mathfrak{a} a of Q G ∘ \mathbb{Q}\mathcal{G}^{\circ} Q G ∘ that encode homomorphism indistinguishability relations. For algebraic convenience, we extend scalars further to C G ∘ : = C ⊗ Q Q G ∘ \mathbb{C}\mathcal{G}^{\circ}:=\mathbb{C}\otimes_{\mathbb{Q}}\mathbb{Q}\mathcal{G}^{\circ} C G ∘ := C ⊗ Q Q G ∘ without incurring additional axioms (Lemma 6.15 ).
Hilbert’s Nullstellensatz. How should we think of the algebra C G ∘ \mathbb{C}\mathcal{G}^{\circ} C G ∘ ? It looks much like the polynomial algebra C [ G 1 , G 2 , … ] \mathbb{C}[G_1,G_2,\ldots] C [ G 1 , G 2 , … ] in countably many variables enumerating the graphs in G ∘ \mathcal{G}^{\circ} G ∘ . In fact, it is a quotient of this polynomial algebra imposing the identities that hold in G ∘ \mathcal{G}^{\circ} G ∘ . For example, it holds in G ∘ \mathcal{G}^{\circ} G ∘ that K 2 ⊗ K 2 = K 2 + K 2 K_2\otimes K_2=K_2+K_2 K 2 ⊗ K 2 = K 2 + K 2 . Nevertheless, we think of the elements of C G ∘ \mathbb{C}\mathcal{G}^{\circ} C G ∘ as polynomials whose indeterminates are the elements of G ∘ \mathcal{G}^{\circ} G ∘ .
Polynomials can be evaluated by substituting field elements for the variables. Similarly, we may ‘evaluate’ the elements of C G ∘ \mathbb{C}\mathcal{G}^{\circ} C G ∘ by substituting field elements for the graphs in G ∘ \mathcal{G}^{\circ} G ∘ . However, such a substitution must respect the intrinsic identities that hold in C G ∘ \mathbb{C}\mathcal{G}^{\circ} C G ∘ . This observation is formalised by the notion of a semiring homomorphism φ : G ∘ → C \varphi:\mathcal{G}^{\circ}\to\mathbb{C} φ : G ∘ → C , i.e. maps satisfying, for all graphs G , H ∈ G ∘ G,H\in\mathcal{G}^{\circ} G , H ∈ G ∘ ,
φ ( G + H ) = φ ( G ) + φ ( H ) , φ ( G ⊗ H ) = φ ( G ) ⋅ φ ( H ) , φ ( 1 ) = 1. \varphi(G+H)=\varphi(G)+\varphi(H),\qquad\varphi(G\otimes H)=\varphi(G)\cdot\varphi(H),\qquad\varphi(1)=1. φ ( G + H ) = φ ( G ) + φ ( H ) , φ ( G ⊗ H ) = φ ( G ) ⋅ φ ( H ) , φ ( 1 ) = 1.
We write Hom ( G ∘ , C ) \operatorname{Hom}(\mathcal{G}^{\circ},\mathbb{C}) Hom ( G ∘ , C ) for the set of such semiring homomorphisms. Crucially, by Equations (4) and (5), the map hom ( F , ⋆ ) : G ∘ → C \operatorname{hom}(F,\star):\mathcal{G}^{\circ}\to\mathbb{C} hom ( F , ⋆ ) : G ∘ → C is a semiring homomorphism for every connected graph F ∈ Z ∘ F\in\mathcal{Z}^{\circ} F ∈ Z ∘ . Thus counting homomorphisms from a connected graph amounts to substituting field elements for the ‘indeterminates’ of C G ∘ \mathbb{C}\mathcal{G}^{\circ} C G ∘ . The ideal corresponding to a componental homomorphism indistinguishability relation ≡ F \equiv_{\mathcal{F}} ≡ F is the vanishing ideal of the semiring homomorphisms hom ( F , ⋆ ) \operatorname{hom}(F,\star) hom ( F , ⋆ ) for F ∈ F F \in\mathcal{F} F ∈ F . More generally, for a set Φ ⊆ Hom ( G ∘ , C ) \Phi\subseteq\operatorname{Hom}(\mathcal{G}^{\circ},\mathbb{C}) Φ ⊆ Hom ( G ∘ , C ) of semiring homomorphisms and an ideal a \mathfrak{a} a of C G ∘ \mathbb{C}\mathcal{G}^{\circ} C G ∘ , we define the vanishing ideal and the zero locus
I ( Φ ) : = { p ∈ C G ∘ ∣ ∀ φ ∈ Φ . φ ( p ) = 0 } I(\Phi) := \{p \in\mathbb{C}\mathcal{G}^{\circ} \mid\forall\varphi\in\Phi.\ \varphi(p)=0\} I ( Φ ) := { p ∈ C G ∘ ∣ ∀ φ ∈ Φ. φ ( p ) = 0 }
V ( a ) : = { φ ∈ Hom ( G ∘ , C ) ∣ ∀ p ∈ a . φ ( p ) = 0 } . V(\mathfrak{a}) := \{\varphi\in\operatorname{Hom}(\mathcal{G}^{\circ},\mathbb{C}) \mid\forall p \in\mathfrak{a}.\ \varphi(p)=0\}. V ( a ) := { φ ∈ Hom ( G ∘ , C ) ∣ ∀ p ∈ a . φ ( p ) = 0 } .
Since homomorphism indistinguishability relations are vanishing ideals, we first characterise such ideals in terms of the relation ≈ \approx ≈ . The key ingredient here is a variant of Hilbert’s Nullstellensatz. We show in Theorem 6.19 that
I ( V ( a ) ) = a for every ideal a ⊆ C G ∘ . I(V(\mathfrak{a}))=\sqrt{\mathfrak{a}}\qquad\text{for every ideal }\mathfrak{a}\subseteq\mathbb{C}\mathcal{G}^{\circ}. I ( V ( a )) = a for every ideal a ⊆ C G ∘ .
Here, a : = { p ∈ C G ∘ ∣ ∃ n ≥ 1. p n ∈ a } \sqrt{\mathfrak{a}}:=\{p\in\mathbb{C}\mathcal{G}^{\circ}\mid\exists n\geq1.\ p^n\in\mathfrak{a}\} a := { p ∈ C G ∘ ∣ ∃ n ≥ 1. p n ∈ a } is the radical of a \mathfrak{a} a . It follows that an ideal a \mathfrak{a} a of C G ∘ \mathbb{C}\mathcal{G}^{\circ} C G ∘ is the vanishing ideal of some Φ ⊆ Hom ( G ∘ , C ) \Phi\subseteq\operatorname{Hom}(\mathcal{G}^{\circ},\mathbb{C}) Φ ⊆ Hom ( G ∘ , C ) if, and only if, it is radical, i.e. a = a \mathfrak{a}=\sqrt{\mathfrak{a}} a = a . This condition can be phrased in terms of the relation ≈ \approx ≈ by observing that elements of C G ∘ \mathbb{C}\mathcal{G}^{\circ} C G ∘ are up to scalars of the form G − H G-H G − H and applying the Binomial Theorem. For all graphs G , H ∈ G ∘ G,H\in\mathcal{G}^{\circ} G , H ∈ G ∘ , and n ≥ 1 n\geq1 n ≥ 1 , we assert that
∑ k = 0 k e v e n n ( n k ) G ⊗ k ⊗ H ⊗ ( n − k ) ≈ ∑ k = 1 k o d d n ( n k ) G ⊗ k ⊗ H ⊗ ( n − k ) ⟹ G ≈ H . (10) \sum_{\substack{k=0\\ k\ \mathrm{even}}}^{n}\binom{n}{k}G^{\otimes k}\otimes H^{\otimes(n-k)}
\approx
\sum_{\substack{k=1\\ k\ \mathrm{odd}}}^{n}\binom{n}{k}G^{\otimes k}\otimes H^{\otimes(n-k)}
\Longrightarrow G\approx H. \tag*{(10)} k = 0 k even ∑ n ( k n ) G ⊗ k ⊗ H ⊗ ( n − k ) ≈ k = 1 k odd ∑ n ( k n ) G ⊗ k ⊗ H ⊗ ( n − k ) ⟹ G ≈ H . (10)
Let us summarise which class of relations we have axiomatised so far.
Theorem 3.1. Let ≈ \approx ≈ be a graph isomorphism relaxation. The relation ≈ \approx ≈ satisfies Equations (6) to (10) if, and only if, there exists a set Φ ⊆ Hom ( G ∘ , C ) \Phi\subseteq\operatorname{Hom}(\mathcal{G}^{\circ},\mathbb{C}) Φ ⊆ Hom ( G ∘ , C ) such that, for all graphs G , H ∈ G ∘ G,H\in\mathcal{G}^{\circ} G , H ∈ G ∘ ,
G ≈ H ⟺ ∀ φ ∈ Φ . φ ( G ) = φ ( H ) . G\approx H\Longleftrightarrow\forall\varphi\in\Phi.\ \varphi(G)=\varphi(H). G ≈ H ⟺ ∀ φ ∈ Φ. φ ( G ) = φ ( H ) .
So far, even though we have concerned ourselves with the semiring G ∘ \mathcal{G}^{\circ} G ∘ , we have in fact not used any specific properties of this semiring. More precisely, Theorem 3.1 holds for countable commutative cancellative semirings in general (Theorem 6.27). This already indicates that Theorem 3.1 is most likely not the final axiomatisation of componental homomorphism indistinguishability relations. Indeed, we give the following counterexample, see Section 7. Moreover, one might wonder whether considering the complex numbers in Theorem 3.1 is necessary. We show that it is in Corollary 7.5 by constructing a φ ∈ Hom ( G ∘ , C ) \varphi\in\operatorname{Hom}(\mathcal{G}^{\circ},\mathbb{C}) φ ∈ Hom ( G ∘ , C ) with imaginary values.
Example 3.2. The adjacency matrix rank rk : G ∘ → C \operatorname{rk}:\mathcal{G}^{\circ}\to\mathbb{C} rk : G ∘ → C is a semiring homomorphism. The relation G ≈ rk H ⟺ rk ( G ) = rk ( H ) G\approx_{\operatorname{rk}}H\Longleftrightarrow\operatorname{rk}(G)=\operatorname{rk}(H) G ≈ rk H ⟺ rk ( G ) = rk ( H ) satisfies Equations (6) to (10) but is not a homomorphism indistinguishability relation.
We must thus reintroduce the combinatorial structure of G ∘ \mathcal{G}^{\circ} G ∘ to the purely algebraic conditions of Theorem 3.1. More precisely, we must axiomise { hom ( F , ⋆ ) ∣ F ∈ Z ∘ } \{\operatorname{hom}(F,\star)\mid F\in\mathcal{Z}^{\circ}\} { hom ( F , ⋆ ) ∣ F ∈ Z ∘ } inside Hom ( G ∘ , C ) \operatorname{Hom}(\mathcal{G}^{\circ},\mathbb{C}) Hom ( G ∘ , C ) . The difficulty, however, is that we do not have access to the values of the φ \varphi φ in Theorem 3.1 but merely to the relation ≈ \approx ≈ . This is also why the characterisation by Lovász & Schrijver [3 ] does not appear to be applicable. As a first step, we prove an alternative characterisation more suitable for our needs, which may be of independent interest.
Subgraph series. Using Möbius inversion, we show that every function p : G ∘ → C p:\mathcal{G}^{\circ}\to\mathbb{C} p : G ∘ → C can be written as
p ( ⋆ ) = ∑ F ∈ G ∘ α F sub ( F , ⋆ ) , for α F ∈ C . p(\star)=\sum_{F\in\mathcal{G}^{\circ}}\alpha_F\operatorname{sub}(F,\star),\qquad\text{for }\alpha_F\in\mathbb{C}. p ( ⋆ ) = F ∈ G ∘ ∑ α F sub ( F , ⋆ ) , for α F ∈ C .
The function sub ( F , ⋆ ) \operatorname{sub}(F,\star) sub ( F , ⋆ ) counts the number of subgraphs isomorphic to F F F . Hence, while the above sum is infinite, only finitely many summands contribute to the value of p ( G ) p(G) p ( G ) for every graph G ∈ G ∘ G \in\mathcal{G}^{\circ} G ∈ G ∘ . We call the expression ∑ F α F sub ( F , ⋆ ) \sum_F \alpha_F \operatorname{sub}(F,\star) ∑ F α F sub ( F , ⋆ ) a subgraph series . Conveniently, the coefficients α F \alpha_F α F are uniquely determined by the values of p ( ⋆ ) p(\star) p ( ⋆ ) . More precisely, as shown in Lemma 6.28 , it holds that
α F = ∑ S ⊆ V ( F ) ∑ E ′ ⊆ E ( F ) ( − 1 ) ∣ V ( F ) ∖ S ∣ + ∣ E ( F ) ∖ E ′ ∣ p ( F [ S , E ′ ] ) (11) \alpha_F = \sum_{S \subseteq V(F)} \sum_{E' \subseteq E(F)} (-1)^{\lvert V(F)\setminus S\rvert+\lvert E(F)\setminus E'\rvert}p(F[S,E']) \tag*{(11)} α F = S ⊆ V ( F ) ∑ E ′ ⊆ E ( F ) ∑ ( − 1 ) ∣ V ( F ) ∖ S ∣ + ∣ E ( F ) ∖ E ′ ∣ p ( F [ S , E ′ ]) (11)
for every graph F ∈ G ∘ F \in\mathcal{G}^{\circ} F ∈ G ∘ . Here, F [ S , E ′ ] F[S,E'] F [ S , E ′ ] denotes the subgraph of F F F with vertex set S S S whose edges are those edges of E ′ E' E ′ all of whose endpoints lie in S S S . We may thus define the support of a graph parameter p : G ∘ → C p:\mathcal{G}^{\circ}\to\mathbb{C} p : G ∘ → C as the graph class
supp ( p ) : = { F ∈ G ∘ ∣ α F ≠ 0 } , \operatorname{supp}(p) := \{F \in\mathcal{G}^{\circ}\mid\alpha_F \ne0\}, supp ( p ) := { F ∈ G ∘ ∣ α F = 0 } ,
for α F ∈ C \alpha_F \in\mathbb{C} α F ∈ C as given by Equation (11) .
We prove the following new characterisation of homomorphism counts.
Theorem 3.3. A semiring homomorphism φ ∈ Hom ( G ∘ , C ) \varphi\in\operatorname{Hom}(\mathcal{G}^{\circ},\mathbb{C}) φ ∈ Hom ( G ∘ , C ) is of the form φ ( ⋆ ) = hom ( F , ⋆ ) \varphi(\star)=\operatorname{hom}(F,\star) φ ( ⋆ ) = hom ( F , ⋆ ) for some connected graph F ∈ G ∘ F \in\mathcal{G}^{\circ} F ∈ G ∘ if, and only if, its support supp ( φ ) \operatorname{supp}(\varphi) supp ( φ ) is finite.
The graph parameters p p p with finite support supp ( p ) \operatorname{supp}(p) supp ( p ) are precisely the so-called graph motif parameters and intensively studied in counting complexity [36 , 37 , 38 ] . The fact that supp ( φ ) \operatorname{supp}(\varphi) supp ( φ ) is finite can be phrased in terms of vanishing ideals yielding an axiomatization of graph motif parameters. For semiring homomorphisms φ ∈ Hom ( G ∘ , C ) \varphi\in\operatorname{Hom}(\mathcal{G}^{\circ},\mathbb{C}) φ ∈ Hom ( G ∘ , C ) , the sum in Equation (11) may be written as the evaluation of φ \varphi φ at a single element of Z G ∘ \mathbb{Z}\mathcal{G}^{\circ} Z G ∘ . For a graph F F F , let
c F : = ∑ S ⊆ V ( F ) ∑ E ′ ⊆ E ( F ) ( − 1 ) ∣ V ( F ) ∖ S ∣ + ∣ E ( F ) ∖ E ′ ∣ F [ S , E ′ ] ∈ Z G ∘ . (12) c_F := \sum_{S \subseteq V(F)} \sum_{E' \subseteq E(F)} (-1)^{\lvert V(F)\setminus S\rvert+\lvert E(F)\setminus E'\rvert}F[S,E'] \in\mathbb{Z}\mathcal{G}^{\circ}. \tag*{(12)} c F := S ⊆ V ( F ) ∑ E ′ ⊆ E ( F ) ∑ ( − 1 ) ∣ V ( F ) ∖ S ∣ + ∣ E ( F ) ∖ E ′ ∣ F [ S , E ′ ] ∈ Z G ∘ . (12)
It follows that φ ∈ Hom ( G ∘ , C ) \varphi\in\operatorname{Hom}(\mathcal{G}^{\circ},\mathbb{C}) φ ∈ Hom ( G ∘ , C ) has finite support if, and only if, φ ( c F ) = 0 \varphi(c_F)=0 φ ( c F ) = 0 for all but finitely many F ∈ G ∘ F \in\mathcal{G}^{\circ} F ∈ G ∘ . For an integer ℓ ≥ 1 \ell\ge1 ℓ ≥ 1 , write c ℓ \mathfrak{c}_{\ell} c ℓ for the ideal of C G ∘ \mathbb{C}\mathcal{G}^{\circ} C G ∘ generated by the c F c_F c F for graphs F ∈ G ∘ F \in\mathcal{G}^{\circ} F ∈ G ∘ on more than ℓ \ell ℓ vertices. Using Theorem 3.3, we obtain the following characterisation.
Theorem 3.4. Let ≈ \approx ≈ be a graph isomorphism relaxation satisfying Equations (6) to (9) and let a ≈ \mathfrak{a}_{\approx} a ≈ denote the corresponding ideal of C G ∘ \mathbb{C}\mathcal{G}^{\circ} C G ∘ given by Lemma 6.15 . Then ≈ \approx ≈ is a homomorphism indistinguishability relation over a componental graph class if, and only if,
a ≈ = ⋂ ℓ ≥ 1 ( a ≈ + c ℓ ) . (13) \mathfrak{a}_{\approx} = \bigcap_{\ell\ge1}(\mathfrak{a}_{\approx}+\mathfrak{c}_{\ell}). \tag*{(13)} a ≈ = ℓ ≥ 1 ⋂ ( a ≈ + c ℓ ) . (13)
In order to rephrase (13) in terms of the relation ≈ \approx ≈ , we characterise the homomorphism indistinguishability relation corresponding to the ideal c ℓ \mathfrak{c}_{\ell} c ℓ . We write G ∼ ℓ H G \mathrel{\sim_{\ell}} H G ∼ ℓ H if G − H ∈ c ℓ G-H \in\mathfrak{c}_{\ell} G − H ∈ c ℓ .
Lemma 3.5. Let ℓ ≥ 1 \ell\ge1 ℓ ≥ 1 . For graphs G , H ∈ G ∘ G,H \in\mathcal{G}^{\circ} G , H ∈ G ∘ , the following are equivalent:
(i) G ∼ ℓ H G \mathrel{\sim_{\ell}} H G ∼ ℓ H , i.e., G − H ∈ c ℓ G-H \in\mathfrak{c}_{\ell} G − H ∈ c ℓ ,
(ii) hom ( F , G ) = hom ( F , H ) \operatorname{hom}(F,G)=\operatorname{hom}(F,H) hom ( F , G ) = hom ( F , H ) for all F ∈ G ∘ F \in\mathcal{G}^{\circ} F ∈ G ∘ on at most ℓ \ell ℓ vertices,
(iii) there exists a bijection π \pi π between the subsets of V ( G ) V(G) V ( G ) and of V ( H ) V(H) V ( H ) of size at most ℓ \ell ℓ such that ∣ S ∣ = ∣ π ( S ) ∣ \lvert S\rvert=\lvert\pi(S)\rvert ∣ S ∣ = ∣ π ( S )∣ and G [ S ] ≅ H [ π ( S ) ] G[S]\cong H[\pi(S)] G [ S ] ≅ H [ π ( S )] for all such S S S .
Using Lemma 3.5, we rephrase Equation (13) in terms of the relation ≈ \approx ≈ : For all G , H ∈ G ∘ G,H \in\mathcal{G}^{\circ} G , H ∈ G ∘ ,
( ∀ ℓ ≥ 1. ∃ k ≥ 1. ∃ G ′ ∼ ℓ H ′ . k ( G − H ) ≈ G ′ − H ′ ) ⟹ G ≈ H . (14) \left(\forall\ell\ge1.\ \exists k \ge1.\ \exists G' \mathrel{\sim_{\ell}} H'.\ k(G-H)\approx G'-H'\right)\Longrightarrow G\approx H. \tag*{(14)} ( ∀ ℓ ≥ 1. ∃ k ≥ 1. ∃ G ′ ∼ ℓ H ′ . k ( G − H ) ≈ G ′ − H ′ ) ⟹ G ≈ H . (14)
Intuitively, (14) asserts that G G G and H H H must be in ≈ \approx ≈ if they can be arbitrarily well approximated by taking graphs G ′ G' G ′ and H ′ H' H ′ satisfying G ′ ∼ ℓ H ′ G' \mathrel{\sim_{\ell}} H' G ′ ∼ ℓ H ′ .
Putting the pieces together, we obtain the desired axiomatisation of homomorphism indistinguishability relations. For convenience, we restate Equations (6) to (9) and (14) .
Theorem 3.6. A graph isomorphism relaxation ≈ \approx ≈ is a homomorphism indistinguishability relation over a componental graph class if, and only if, it satisfies, for all graphs G , H , K ∈ G ∘ G,H,K \in\mathcal{G}^{\circ} G , H , K ∈ G ∘ and n ≥ 1 n \ge1 n ≥ 1 , (i) G ≈ H ⟹ K ⊗ G ≈ K ⊗ H , G \approx H \Longrightarrow K \otimes G \approx K \otimes H, G ≈ H ⟹ K ⊗ G ≈ K ⊗ H , (ii) G ≈ H ⟹ K + G ≈ K + H , G \approx H \Longrightarrow K+G \approx K+H, G ≈ H ⟹ K + G ≈ K + H , (iii) K + G ≈ K + H ⟹ G ≈ H , K+G \approx K+H \Longrightarrow G \approx H, K + G ≈ K + H ⟹ G ≈ H , (iv) n G ≈ n H ⟹ G ≈ H , nG \approx nH \Longrightarrow G \approx H, n G ≈ n H ⟹ G ≈ H , (v) if, for all ℓ ≥ 1 \ell\ge1 ℓ ≥ 1 , there exist k ≥ 1 k \ge1 k ≥ 1 and graphs G ′ , H ′ ∈ G ∘ G',H' \in\mathcal{G}^{\circ} G ′ , H ′ ∈ G ∘ such that G ′ ≅ ℓ H ′ G' \cong_{\ell} H' G ′ ≅ ℓ H ′ and k ( G − H ) ≈ G ′ − H ′ k(G-H) \approx G'-H' k ( G − H ) ≈ G ′ − H ′ , then G ≈ H G \approx H G ≈ H .
Discarding loops. Most of the homomorphism indistinguishability literature concerns relations between simple graphs, cf. [28 Section 7] and [11 p. 32] . For algebraic convenience, we chose to work with G ∘ \mathcal{G}^{\circ} G ∘ rather than G \mathcal{G} G as G \mathcal{G} G lacks a multiplicative unit. Nevertheless, we deduce a characterisation of graph isomorphism relaxations between simple graphs that are homomorphism indistinguishability relations from Theorem 3.6. Restricted to G \mathcal{G} G , the axioms are the same, except for Assertion (vi), which mitigates the lack of a unit in G \mathcal{G} G .
Theorem 3.7. A simple graph isomorphism relaxation ≈ \approx ≈ is a homomorphism indistinguishability relation over a componental class of simple graphs if, and only if, it satisfies, for all G , H , K ∈ G G,H,K \in\mathcal{G} G , H , K ∈ G , (i) G ≈ H ⟹ K ⊗ G ≈ K ⊗ H , G \approx H \Longrightarrow K \otimes G \approx K \otimes H, G ≈ H ⟹ K ⊗ G ≈ K ⊗ H , (ii) G ≈ H ⟹ K + G ≈ K + H , G \approx H \Longrightarrow K+G \approx K+H, G ≈ H ⟹ K + G ≈ K + H , (iii) K + G ≈ K + H ⟹ G ≈ H , K+G \approx K+H \Longrightarrow G \approx H, K + G ≈ K + H ⟹ G ≈ H , (iv) if n G ≈ n H nG \approx nH n G ≈ n H for some n ≥ 1 n \ge1 n ≥ 1 , then G ≈ H , G \approx H, G ≈ H , (v) if, for all ℓ ≥ 1 \ell\ge1 ℓ ≥ 1 , there exist k ≥ 1 k \ge1 k ≥ 1 and simple graphs G ′ , H ′ ∈ G G',H' \in\mathcal{G} G ′ , H ′ ∈ G such that G ′ ≅ ℓ H ′ G' \cong_{\ell} H' G ′ ≅ ℓ H ′ and k ( G − H ) ≈ G ′ − H ′ k(G-H) \approx G'-H' k ( G − H ) ≈ G ′ − H ′ , then G ≈ H , G \approx H, G ≈ H , (vi) if G ⊗ K n ≈ H ⊗ K n G \otimes K_n \approx H \otimes K_n G ⊗ K n ≈ H ⊗ K n for all n ≥ 1 n \ge1 n ≥ 1 and the n n n -vertex complete graph K n K_n K n , then G ≈ H G \approx H G ≈ H .
Applications. Admittedly, Assertion (v) in Theorem 3.6 is quite hard to relate to. However, as we will see in the following example, already the first conditions can be as hard to establish as resolving the notorious Ulam–Kelly Reconstruction Conjecture [46 , 47 ] . This conjecture asserts that any two hypomorphic simple graphs are isomorphic. Two graphs G , H ∈ G G,H \in\mathcal{G} G , H ∈ G are hypomorphic if they have the same number of edges and there exists a bijection π : V ( G ) → V ( H ) \pi: V(G) \to V(H) π : V ( G ) → V ( H ) such that G − v ≅ H − π ( v ) G-v \cong H-\pi(v) G − v ≅ H − π ( v ) for all v ∈ V ( G ) v \in V(G) v ∈ V ( G ) .2
Example 3.8. The following are equivalent: (i) The Ulam–Kelly Reconstruction Conjecture holds. (ii) Hypomorphicity is a homomorphism indistinguishability relation over a componental graph class. (iii) The hypomorphicity relation satisfies Assertion (i) of Theorem 3.7. (iv) The hypomorphicity relation satisfies Assertion (ii) of Theorem 3.7.
As another application, we answer an open question raised by Botteron and Weber [35 Open Question 2] , who asked for a homomorphism indistinguishability characterisation of a graph isomorphism relaxation called D D D -fractional isomorphism. In Example 6.40, we show that this isomorphism relaxation fails condition (i) in Theorem 3.6, so it does not admit a homomorphism indistinguishability characterisation.
We also use Theorem 3.6 to significantly simplify the proofs of the negative results by Atserias, Kolaitis, & Wu [2 ] . In § 10.10.1 , we show that chromatic equivalence violates condition (i), while F O k \mathrm{FO}^{k} FO k -equivalence and F O q \mathrm{FO}_{q} FO q -equivalence violate (iii). Here, F O k \mathrm{FO}^{k} FO k and F O q \mathrm{FO}_{q} FO q denote the k k k -variable and quantifier-rank-q q q fragment of first-order logic, respectively.
Finally, we answer an open question of Atserias, Kolaitis, & Wu [2 ] in the negative: Having the same fractional clique number is not a homomorphism indistinguishability relation (Example 6.42 ).
Homomorphism distinguishing topology
Having demonstrated that homomorphism indistinguishability relations can be regarded as certain ideals of a semiring algebra, we now turn to the dual perspective and discuss the topological structure of homomorphism indistinguishability. Here, we make explicit that the homomorphism distinguishing closed componental graph classes form the closed sets of a topology. In order to be aligned with the literature, we focus on simple graphs (the connection to the looped-simple case is discussed in § 12 ).
Definition 4.1 (Roberson [28 ] ). Let F \mathcal{F} F be a class of simple graphs. The homomorphism distinguishing closure of F \mathcal{F} F is the graph class
cl ( F ) : = { F ∈ G ∣ ∀ G , H ∈ G . G ≡ F H ⟹ hom ( F , G ) = hom ( F , H ) } . \operatorname{cl}(\mathcal{F}) := \{F \in\mathcal{G} \mid\forall G,H \in\mathcal{G}.\ G \equiv_{\mathcal{F}} H \Longrightarrow\operatorname{hom}(F,G) = \operatorname{hom}(F,H)\}. cl ( F ) := { F ∈ G ∣ ∀ G , H ∈ G . G ≡ F H ⟹ hom ( F , G ) = hom ( F , H )} . The class F \mathcal{F} F is homomorphism distinguishing closed if cl ( F ) = F \operatorname{cl}(\mathcal{F}) = \mathcal{F} cl ( F ) = F .
Roberson observed that cl ( ⋆ ) \operatorname{cl}(\star) cl ( ⋆ ) is a closure operator, cf. Equations (35) to (37) . Furthermore, Roberson showed the following:
Lemma 4.2 ([28 Lemma 6.1] ). For an arbitrary index set Λ \Lambda Λ , let F λ \mathcal{F}_{\lambda} F λ be homomorphism distinguishing closed graph classes for λ ∈ Λ \lambda\in\Lambda λ ∈ Λ . Then ⋂ λ ∈ Λ F λ \bigcap_{\lambda\in\Lambda}\mathcal{F}_{\lambda} ⋂ λ ∈ Λ F λ is homomorphism distinguishing closed.
Given these properties, it is natural to ask whether cl ( ⋆ ) \operatorname{cl}(\star) cl ( ⋆ ) induces a topology by declaring the sets invariant under cl ( ⋆ ) \operatorname{cl}(\star) cl ( ⋆ ) as closed. This fails since the union of two closed sets is not necessarily closed. More precisely, it is not hard to see that homomorphism distinguishing closed sets are always closed under disjoint unions as implied by Equation (3) . Hence, the union of two homomorphism distinguishing closed graph classes is typically not homomorphism distinguishing closed. Moreover, in [33 Example 34] , homomorphism distinguishing closed graph classes F 1 \mathcal{F}_{1} F 1 and F 2 \mathcal{F}_{2} F 2 are constructed such that the disjoint union closure of F 1 ∪ F 2 \mathcal{F}_{1} \cup\mathcal{F}_{2} F 1 ∪ F 2 is not homomorphism distinguishing closed. Thus, cl ( ⋆ ) \operatorname{cl}(\star) cl ( ⋆ ) does not interact nicely with (disjoint union closures of) unions. We overcome this issue by restricting our attention to componental graph classes. For graph classes F 1 \mathcal{F}_{1} F 1 and F 2 \mathcal{F}_{2} F 2 , we write F 1 + F 2 \mathcal{F}_{1} + \mathcal{F}_{2} F 1 + F 2 for the smallest componental graph class containing F 1 \mathcal{F}_{1} F 1 and F 2 \mathcal{F}_{2} F 2 . Our key observation is the following lemma, which makes use of the algebra structure exhibited in Section 3.
Lemma 4.3. If F 1 , F 2 ⊆ G \mathcal{F}_{1},\mathcal{F}_{2} \subseteq\mathcal{G} F 1 , F 2 ⊆ G are homomorphism distinguishing closed componental graph classes, then F 1 + F 2 \mathcal{F}_{1} + \mathcal{F}_{2} F 1 + F 2 is homomorphism distinguishing closed.
Lemma 4.3 allows us to construct new homomorphism distinguishing closed graph classes by applying + + + . For example, invoking [28 , 48 ] , we have the following.
Corollary 4.4. For k , d ≥ 1 k,d \ge1 k , d ≥ 1 , the graph class { F ∈ G ∣ tw ( F ) ≤ k ∨ Δ ( F ) ≤ d } \{F \in\mathcal{G} \mid\operatorname{tw}(F) \le k \lor\Delta(F) \le d\} { F ∈ G ∣ tw ( F ) ≤ k ∨ Δ ( F ) ≤ d } is homomorphism distinguishing closed. Here, tw ( F ) \operatorname{tw}(F) tw ( F ) denotes the treewidth and Δ ( F ) \Delta(F) Δ ( F ) the maximum degree of F F F .
We restrict our attention to componental graph classes F \mathcal{F} F . Note that componental graph classes are in one-to-one correspondence with classes of connected graphs. Recall that Z \mathcal{Z} Z denotes the class of all non-empty connected graphs.
Definition 4.5. The homomorphism distinguishing topology is the topology on Z \mathcal{Z} Z whose closed sets are the F ⊆ Z \mathcal{F} \subseteq\mathcal{Z} F ⊆ Z such that cl ( F ) ∩ Z = F \operatorname{cl}(\mathcal{F}) \cap\mathcal{Z} = \mathcal{F} cl ( F ) ∩ Z = F .
That this is indeed a topological space follows from Lemmas 4.2 and 4.3. Finally, we list the following properties of the homomorphism distinguishing topology. In the following proposition, a graph class F \mathcal{F} F is essentially finite if its componental closure contains finitely many non-isomorphic connected graphs. The proposition simplifies previous proofs of [33 , 40 ] .
Proposition 4.6. The homomorphism distinguishing topology is Fréchet, i.e., all singletons are closed. In particular, every essentially finite componental graph class is homomorphism distinguishing closed.
Proposition 4.7. The homomorphism distinguishing topology is disconnected and non-compact.
Conclusion
By exhibiting geometric and topological structure associated with homomorphism indistinguishability, we gave an axiomatisation of homomorphism indistinguishability relations in Theorems 3.6 and 3.7 resolving the ‘ultimate goal’ of Atserias, Kolaitis, & Wu [2 ] . A crucial ingredient is a novel characterisation of functions p : G ∘ → C p: \mathcal{G}^{\circ} \to\mathbb{C} p : G ∘ → C which are of the form p ( ⋆ ) = hom ( F , ⋆ ) p(\star) = \operatorname{hom}(F,\star) p ( ⋆ ) = hom ( F , ⋆ ) for some F ∈ Z ∘ F \in\mathcal{Z}^{\circ} F ∈ Z ∘ in Theorem 3.3 and Corollary 6.35 alternative to [3 ] . In our eyes, the central contribution of this paper, however, is to introduce a new algebraic language to reason about homomorphism indistinguishability. We propose to further develop this tool in the following directions.
Most of this paper is not specific to the semiring ( G ∘ , + , ⊗ , 0 , 1 ) (\mathcal{G}^{\circ}, +, \otimes, 0, 1) ( G ∘ , + , ⊗ , 0 , 1 ) but applies to every countable commutative cancellative semiring (Theorem 6.27). It would be interesting to apply the theorem to graph semirings with respect to other graph products [43 , 49 , 50 , 51 ] . Concretely, can the relations satisfying the axioms of Theorem 6.27 for the strong or Cartesian product be naturally described? Moreover, given the few combinatorial properties our Theorem 3.6 required, we expect a categorical generalisation as in [42 ] to hold.
A remaining open problem from [2 ] is a characterisation of right profiles, i.e., relations ≈ \approx ≈ of the form G ≈ H ⟺ hom ( G , F ) = hom ( H , F ) G \approx H \Longleftrightarrow\operatorname{hom}(G,F) = \operatorname{hom}(H,F) G ≈ H ⟺ hom ( G , F ) = hom ( H , F ) for all F F F in some graph class F \mathcal{F} F . Homomorphism indistinguishability to the right is much less studied [2 , 52 ] than homomorphism indistinguishability to the left due to the small number of known interesting example relations [11 p. 32] . Since hom ( ⋆ , F ) \operatorname{hom}(\star,F) hom ( ⋆ , F ) lacks an additive identity analogous to Equation (5) , our Theorem 6.27 does not seem to be applicable. A similar problem arises when attempting to axiomatis[e] homomorphism indistinguishability relations (to the left) of not necessarily componental graph classes. To our knowledge, no interesting examples of such relations are known.
Further, we propose to connect our insights to the two other strands of research on homomorphism indistinguishability. On the one hand, it is plausible that the algebraic structure exhibited here may be useful when designing computational reductions between homomorphism indistinguishability problems, as implicitly done in [26 Theorem 20] . Such reductions would serve as a tool towards resolving [25 Conjecture 25] . On the other hand, the homomorphism distinguishing topology (Definition 4.5 ) gives additional structure to homomorphism distinguishing closed graph classes in light of the Kristjánsson’s refutation of Roberson’s strong conjecture [32 ] . We propose to further investigate the topology: Is it Hausdorff? What are convergent sequences, continuous maps?
Finally, the characterisation of left homomorphism profiles in terms of positive semidefiniteness of connection matrices (Lovász & Schrijver [3 ] ) suggests a connection to sums of squares certificates and real algebraic geometry. We do not know whether this connection can be harnessed to further simplify the conditions in Theorems 3.6 and 3.7.
Acknowledgements
JvDdB and DER were supported by the Carlsberg Foundation Young Researcher Fellowship CF21-0682 — “Quantum Graph Theory”. Additionally, JvDdB was supported by GAR grant 25-17377S. Part of this paper was written while JvDdB, DR, GLS, and PZ were in residence at Institut Mittag-Leffler in Djursholm, Sweden during the research semester “Operator Algebras and Quantum Information” in the spring of 2026, supported by the Swedish Research Council under grant no. 2021-06594. PZ was funded by the European Union (ERC, POCOCOP, 101071674). GLS acknowledges support from the CNRS 80Prime grant “QuantGraphe”. JM acknowledges the financial support from the European Research Council under the European Union’s Horizon 2020 research and innovation programme (Synergy Project Malinca, ERC Grant Agreement No 670624). TS acknowledges funding by the European Union (ERC, 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.
Initial discussions between TS and JM took place at Dagstuhl Seminar 25141 ‘Categories for Automata and Language Theory’. TS would like to thank Bartek Klim, Filip Kučerák, Cornelius Brand, Radu Curticapean, Arnar Kristjánsson, Ben Moore, Ben Young, Daniel Neuen, and Moritz Seppelt for fruitful conversations.
AI Statement
Claude Code Opus 5 was used for writing, proofreading, and literature review. This applies mostly to the commutative algebra techniques. All AI-generated content was revised/rewritten by the authors. We assume full responsibility for the entire material.
Full version of Axiomatisation
In this section, we give a full proof of Theorem 3.6. The bulk of the section is concerned with introducing notions from commutative algebra and elementary algebraic geometry to deal with graph isomorphism relaxations. Starting with a commutative cancellative semiring S S S , we construct the Grothendieck ring Z S \mathbb{Z}S Z S in Section 6.1, extend scalars in Q S = Q ⊗ Z Z S \mathbb{Q}S = \mathbb{Q} \otimes_{\mathbb{Z}} \mathbb{Z}S Q S = Q ⊗ Z Z S in § 10.2 , and further to C S = C ⊗ Q Q S \mathbb{C}S = \mathbb{C} \otimes_{\mathbb{Q}} \mathbb{Q}S C S = C ⊗ Q Q S in § 10.3 . In each step, we identify the conditions on equivalence relations ≈ \approx ≈ on S S S making them correspond to ideals of the respective semiring algebras.
In § 10.4 , we prove a Nullstellensatz for semiring algebras C S \mathbb{C}S C S . In § 10.5 , we characterise semiring congruences ≈ \approx ≈ corresponding to radical ideals of C S \mathbb{C}S C S . The Nullstellensatz is then instantiated to graphs in Theorem 3.3.
So far, none of the results are specific to the graph semiring G ∘ = ( G ∘ , + , ⊗ , 0 , 1 ) \mathcal{G}^{\circ} = (\mathcal{G}^{\circ}, +, \otimes, 0, 1) G ∘ = ( G ∘ , + , ⊗ , 0 , 1 ) . This gap is closed in § 10.7 by studying subgraph series and proving a characterisation of homomorphism counts alternative to previous work of Lovász & Schrijver [3 ] .
In § 10.8 , our main theorem 3.6 is derived from the aforementioned ingredients.
Semiring congruences and ideals of Grothendieck ring Z S \mathbb{Z}S Z S
Let S = ( S , + , ⋅ , 0 , 1 ) S = (S, +, \cdot, 0, 1) S = ( S , + , ⋅ , 0 , 1 ) be a commutative cancellative semiring. We write multiplication as juxtaposition. The Grothendieck ring Z S \mathbb{Z}S Z S is defined on the set of equivalence classes of the equivalence relation ∼ \sim ∼ on S × S S \times S S × S given by
( s 1 , t 1 ) ∼ ( s 2 , t 2 ) ⟺ s 1 + t 2 = t 1 + s 2 . (s_1,t_1) \sim(s_2,t_2) \Longleftrightarrow s_1 + t_2 = t_1 + s_2. ( s 1 , t 1 ) ∼ ( s 2 , t 2 ) ⟺ s 1 + t 2 = t 1 + s 2 .
Multiplication and addition are defined via
( s 1 , t 1 ) + ( s 2 , t 2 ) : = ( s 1 + s 2 , t 1 + t 2 ) (s_1,t_1)+(s_2,t_2):=(s_1+s_2,t_1+t_2) ( s 1 , t 1 ) + ( s 2 , t 2 ) := ( s 1 + s 2 , t 1 + t 2 )
( s 1 , t 1 ) ⋅ ( s 2 , t 2 ) : = ( s 1 s 2 + t 1 t 2 , s 1 t 2 + t 1 s 2 ) (s_1,t_1)\cdot(s_2,t_2):=(s_1s_2+t_1t_2,s_1t_2+t_1s_2) ( s 1 , t 1 ) ⋅ ( s 2 , t 2 ) := ( s 1 s 2 + t 1 t 2 , s 1 t 2 + t 1 s 2 )
for all s 1 , s 2 , t 1 , t 2 ∈ S s_1,s_2,t_1,t_2\in S s 1 , s 2 , t 1 , t 2 ∈ S . The map S → Z S S\to ZS S → Z S given by s ↦ ( s , 0 ) = : [ s ] s\mapsto(s,0)=:[s] s ↦ ( s , 0 ) =: [ s ] is a semiring homomorphism. Generic elements of Z S ZS Z S are of the form [ s ] − [ t ] = ( s , t ) [s]-[t]=(s,t) [ s ] − [ t ] = ( s , t ) for s , t ∈ S s,t\in S s , t ∈ S .
Recalling Equations (6) to (8) , we show the following correspondence between ideals of Z S ZS Z S and congruences on S S S . For an ideal b ⊆ Z S \mathfrak b\subseteq ZS b ⊆ Z S , define an equivalence relation ≈ b \approx_{\mathfrak b} ≈ b on S S S via
s ≈ b t ⟺ [ s ] − [ t ] ∈ b . s\approx_{\mathfrak b}t\Longleftrightarrow[s]-[t]\in\mathfrak b. s ≈ b t ⟺ [ s ] − [ t ] ∈ b .
Conversely, given an equivalence relation ≈ \approx ≈ on S S S , define the set
a ≈ : = { [ s ] − [ t ] ∈ Z S ∣ s , t ∈ S , s ≈ t } . \mathfrak a_{\approx}:=\{[s]-[t]\in ZS\mid s,t\in S,\ s\approx t\}. a ≈ := {[ s ] − [ t ] ∈ Z S ∣ s , t ∈ S , s ≈ t } .
We shall see that a ≈ \mathfrak a_{\approx} a ≈ is an ideal and that these constructions are mutually inverse.
Proposition 6.1. Let S S S denote a commutative cancellative semiring. The maps ≈ ↦ a ≈ \approx\mapsto\mathfrak a_{\approx} ≈↦ a ≈ and b ↦ ≈ b \mathfrak b\mapsto\approx_{\mathfrak b} b ↦ ≈ b establish a bijection between the set of ideals b \mathfrak b b of the Grothendieck ring Z S ZS Z S and the set of equivalence relations ≈ \approx ≈ on S S S such that, for all s , t , r ∈ S s,t,r\in S s , t , r ∈ S , it holds that
s ≈ t ⟺ s + r ≈ t + r , (15) s\approx t\Longleftrightarrow s+r\approx t+r, \tag*{(15)} s ≈ t ⟺ s + r ≈ t + r , (15) s ≈ t ⟹ s × r ≈ t × r . (16) s\approx t\Longrightarrow s\times r\approx t\times r. \tag*{(16)} s ≈ t ⟹ s × r ≈ t × r . (16)
We call an equivalence relation ≈ \approx ≈ on S S S satisfying (15) and (16) a cancellative congruence. Towards Proposition 6.1, we make the following observations.
Lemma 6.2. Let ≈ \approx ≈ be a cancellative congruence on S S S . For all s , s ′ , t , t ′ ∈ S s,s',t,t'\in S s , s ′ , t , t ′ ∈ S ,
(i) if s ≈ t s\approx t s ≈ t and s ′ ≈ t ′ s'\approx t' s ′ ≈ t ′ , then s + s ′ ≈ t + t ′ s+s'\approx t+t' s + s ′ ≈ t + t ′ ,
(ii) if s ≈ t s\approx t s ≈ t and s + s ′ ≈ t + t ′ s+s'\approx t+t' s + s ′ ≈ t + t ′ , then s ′ ≈ t ′ s'\approx t' s ′ ≈ t ′ , and
(iii) if [ s ] − [ t ] = [ s ′ ] − [ t ′ ] [s]-[t]=[s']-[t'] [ s ] − [ t ] = [ s ′ ] − [ t ′ ] in Z S ZS Z S , then s ≈ t s\approx t s ≈ t if, and only if, s ′ ≈ t ′ s'\approx t' s ′ ≈ t ′ .
Proof. For the first assertion, by the forward direction of (15) , s ≈ t s\approx t s ≈ t implies s + s ′ ≈ t + s ′ s+s'\approx t+s' s + s ′ ≈ t + s ′ . Analogously, s ′ ≈ t ′ s'\approx t' s ′ ≈ t ′ implies t + s ′ ≈ t + t ′ t+s'\approx t+t' t + s ′ ≈ t + t ′ . By transitivity, s + s ′ ≈ t + t ′ s+s'\approx t+t' s + s ′ ≈ t + t ′ . For the second assertion, by the first assertion, s ≈ t s\approx t s ≈ t and s + s ′ ≈ t + t ′ s+s'\approx t+t' s + s ′ ≈ t + t ′ imply that s + t + s ′ ≈ t + s + t ′ s+t+s'\approx t+s+t' s + t + s ′ ≈ t + s + t ′ . Now the term s + t s+t s + t cancels from both sides by the backward implication of (15) yielding s ′ ≈ t ′ s'\approx t' s ′ ≈ t ′ .
For the final assertion, the equality [ s ] − [ t ] = [ s ′ ] − [ t ′ ] [s]-[t]=[s']-[t'] [ s ] − [ t ] = [ s ′ ] − [ t ′ ] rewrites as s + t ′ = s ′ + t s+t'=s'+t s + t ′ = s ′ + t in S S S . In particular, s + t ′ ≈ s ′ + t s+t'\approx s'+t s + t ′ ≈ s ′ + t . By the second assertion, t ′ ≈ s ′ t'\approx s' t ′ ≈ s ′ , that is, s ′ ≈ t ′ s'\approx t' s ′ ≈ t ′ by symmetry. The converse follows by exchanging the roles of ( s , t ) (s,t) ( s , t ) and ( s ′ , t ′ ) (s',t') ( s ′ , t ′ ) .
Proof of Proposition 6.1. We must first show that the map ≈ ↦ a ≈ \approx\mapsto\mathfrak a_{\approx} ≈↦ a ≈ is well-defined.
Claim 6.3. For every cancellative congruence ≈ \approx ≈ on S S S , the set a ≈ \mathfrak a_{\approx} a ≈ is an ideal of Z S ZS Z S .
Proof of Claim. It holds that 0 ∈ a ≈ 0\in\mathfrak a_{\approx} 0 ∈ a ≈ since ≈ \approx ≈ is reflexive.
If [ s 1 ] − [ t 1 ] , [ s 2 ] − [ t 2 ] ∈ a ≈ [s_1]-[t_1],[s_2]-[t_2]\in\mathfrak a_{\approx} [ s 1 ] − [ t 1 ] , [ s 2 ] − [ t 2 ] ∈ a ≈ , then, by the third assertion of Lemma 6.2, s 1 ≈ t 1 s_1\approx t_1 s 1 ≈ t 1 and s 2 ≈ t 2 s_2\approx t_2 s 2 ≈ t 2 . By Lemma 6.2, s 1 + s 2 ≈ t 1 + t 2 s_1+s_2\approx t_1+t_2 s 1 + s 2 ≈ t 1 + t 2 . Hence, [ s 1 ] − [ t 1 ] + [ s 2 ] − [ t 2 ] = [ s 1 + s 2 ] − [ t 1 + t 2 ] ∈ a ≈ [s_1]-[t_1]+[s_2]-[t_2]=[s_1+s_2]-[t_1+t_2]\in\mathfrak a_{\approx} [ s 1 ] − [ t 1 ] + [ s 2 ] − [ t 2 ] = [ s 1 + s 2 ] − [ t 1 + t 2 ] ∈ a ≈ .
If [ s ] − [ t ] ∈ a ≈ [s]-[t]\in\mathfrak a_{\approx} [ s ] − [ t ] ∈ a ≈ and [ a ] − [ b ] ∈ Z S [a]-[b]\in ZS [ a ] − [ b ] ∈ Z S , then s ≈ t s\approx t s ≈ t by Lemma 6.2. By (16) , a × s ≈ a × t a\times s\approx a\times t a × s ≈ a × t and b × s ≈ b × t b\times s\approx b\times t b × s ≈ b × t . By Lemma 6.2, a × s + b × t ≈ a × t + b × s a\times s+b\times t\approx a\times t+b\times s a × s + b × t ≈ a × t + b × s . Hence, it holds that ( [ a ] − [ b ] ) ( [ s ] − [ t ] ) = [ a × s + b × t ] − [ a × t + b × s ] ∈ a ≈ ([a]-[b])([s]-[t])=[a\times s+b\times t]-[a\times t+b\times s]\in\mathfrak a_{\approx} ([ a ] − [ b ]) ([ s ] − [ t ]) = [ a × s + b × t ] − [ a × t + b × s ] ∈ a ≈ .
Next we show that the map b ↦ ≈ b \mathfrak b\mapsto\approx_{\mathfrak b} b ↦ ≈ b is well-defined.
Claim 6.4. For every ideal b \mathfrak b b of Z S ZS Z S , the relation ≈ b \approx_{\mathfrak b} ≈ b is a cancellative congruence.
Proof of Claim. Since [ s ] − [ s ] = 0 ∈ b [s]-[s]=0\in\mathfrak{b} [ s ] − [ s ] = 0 ∈ b for every s ∈ S s\in S s ∈ S , the relation ≈ b \approx_{\mathfrak{b}} ≈ b is reflexive. It is symmetric since [ s ] − [ t ] ∈ b [s]-[t]\in\mathfrak{b} [ s ] − [ t ] ∈ b iff [ t ] − [ s ] ∈ b [t]-[s]\in\mathfrak{b} [ t ] − [ s ] ∈ b since b \mathfrak{b} b is closed under multiplication with − 1 = − [ 1 ] -1=-[1] − 1 = − [ 1 ] . It is transitive since [ s ] − [ t ] ∈ b [s]-[t]\in\mathfrak{b} [ s ] − [ t ] ∈ b and [ t ] − [ r ] ∈ b [t]-[r]\in\mathfrak{b} [ t ] − [ r ] ∈ b implies that [ s ] − [ t ] + [ t ] − [ r ] ∈ b [s]-[t]+[t]-[r]\in\mathfrak{b} [ s ] − [ t ] + [ t ] − [ r ] ∈ b . It remains to verify (15) and (16). Let s ≈ b t s\approx_{\mathfrak{b}}t s ≈ b t , i.e. [ s ] − [ t ] ∈ b [s]-[t]\in\mathfrak{b} [ s ] − [ t ] ∈ b . For r ∈ S r\in S r ∈ S , it holds that b ∋ [ s ] − [ t ] = [ s ] + [ r ] − [ r ] − [ t ] = [ s + r ] − [ r + t ] \mathfrak{b}\ni[s]-[t]=[s]+[r]-[r]-[t]=[s+r]-[r+t] b ∋ [ s ] − [ t ] = [ s ] + [ r ] − [ r ] − [ t ] = [ s + r ] − [ r + t ] . Hence, s + r ≈ b t + r s+r\approx_{\mathfrak{b}}t+r s + r ≈ b t + r . The converse implication of (15) follows analogously. For (16), [ r × s ] − [ r × t ] = [ r ] ( [ s ] − [ t ] ) ∈ b [r\times s]-[r\times t]=[r]([s]-[t])\in\mathfrak{b} [ r × s ] − [ r × t ] = [ r ] ([ s ] − [ t ]) ∈ b since b \mathfrak{b} b is an ideal. Hence, r × s ≈ b r × t r\times s\approx_{\mathfrak{b}}r\times t r × s ≈ b r × t .
It remains to argue that the maps are mutually inverse.
Claim 6.5. For every ideal b \mathfrak{b} b of Z S \mathbb{Z}S Z S , it holds that b = a ≈ b \mathfrak{b}=\mathfrak{a}_{\approx_{\mathfrak{b}}} b = a ≈ b .
Proof of Claim. Let [ s ] − [ t ] ∈ b [s]-[t]\in\mathfrak{b} [ s ] − [ t ] ∈ b . Then s ≈ b t s\approx_{\mathfrak{b}}t s ≈ b t and hence [ s ] − [ t ] ∈ a ≈ b [s]-[t]\in\mathfrak{a}_{\approx_{\mathfrak{b}}} [ s ] − [ t ] ∈ a ≈ b . Conversely, if [ s ] − [ t ] ∈ a ≈ b [s]-[t]\in\mathfrak{a}_{\approx_{\mathfrak{b}}} [ s ] − [ t ] ∈ a ≈ b , then s ≈ b t s\approx_{\mathfrak{b}}t s ≈ b t by Lemma 6.2 and Claim 6.4. Hence, [ s ] − [ t ] ∈ b [s]-[t]\in\mathfrak{b} [ s ] − [ t ] ∈ b .
Claim 6.6. For every cancellative congruence ≈ \approx ≈ on S S S , it holds that ≈ = ≈ a ≈ \approx=\approx_{\mathfrak{a}_{\approx}} ≈= ≈ a ≈ .
Proof of Claim. If s ≈ t s\approx t s ≈ t , then [ s ] − [ t ] ∈ a ≈ [s]-[t]\in\mathfrak{a}_{\approx} [ s ] − [ t ] ∈ a ≈ , hence, s ≈ a ≈ t s\approx_{\mathfrak{a}_{\approx}}t s ≈ a ≈ t . Conversely, if s ≈ a ≈ t s\approx_{\mathfrak{a}_{\approx}}t s ≈ a ≈ t , then [ s ] − [ t ] ∈ a ≈ [s]-[t]\in\mathfrak{a}_{\approx} [ s ] − [ t ] ∈ a ≈ . Hence, by Lemma 6.2, s ≈ t s\approx t s ≈ t .
This concludes the proof.
Extension of scalars to QS
We extend scalars to Q S : = Q ⊗ Z Z S QS:=\mathbb{Q}\otimes_{\mathbb{Z}}\mathbb{Z}S QS := Q ⊗ Z Z S . Writing s − t : = [ s ] − [ t ] s-t:=[s]-[t] s − t := [ s ] − [ t ] for the elements of Z S \mathbb{Z}S Z S , the elements of Q S QS QS are of the form s − t n \frac{s-t}{n} n s − t for s , t ∈ S s,t\in S s , t ∈ S and integers n ≥ 1 n\ge1 n ≥ 1 . For s 1 , s 2 , t 1 , t 2 ∈ S s_1,s_2,t_1,t_2\in S s 1 , s 2 , t 1 , t 2 ∈ S , n 1 , n 2 ≥ 1 n_1,n_2\ge1 n 1 , n 2 ≥ 1 , it holds that
s 1 − t 1 n 1 = s 2 − t 2 n 2 ∈ Q S ⟺ n 2 ⋅ ( s 1 − t 1 ) = n 1 ⋅ ( s 2 − t 2 ) ∈ Z S \frac{s_1-t_1}{n_1}=\frac{s_2-t_2}{n_2}\in QS
\Longleftrightarrow n_2\cdot(s_1-t_1)=n_1\cdot(s_2-t_2)\in\mathbb{Z}S n 1 s 1 − t 1 = n 2 s 2 − t 2 ∈ QS ⟺ n 2 ⋅ ( s 1 − t 1 ) = n 1 ⋅ ( s 2 − t 2 ) ∈ Z S
⟺ n 2 ⋅ s 1 + n 1 ⋅ t 2 = n 2 ⋅ t 1 + n 1 ⋅ s 2 ∈ S . \Longleftrightarrow n_2\cdot s_1+n_1\cdot t_2=n_2\cdot t_1+n_1\cdot s_2\in S. ⟺ n 2 ⋅ s 1 + n 1 ⋅ t 2 = n 2 ⋅ t 1 + n 1 ⋅ s 2 ∈ S .
Here, for n ≥ 1 n\ge1 n ≥ 1 and s ∈ S s\in S s ∈ S , we write n ⋅ s n\cdot s n ⋅ s for the n n n -fold sum s + ⋯ + s ∈ S s+\cdots+s\in S s + ⋯ + s ∈ S . Note that there is a semiring homomorphism N → S \mathbb{N}\to S N → S mapping n ↦ 1 + ⋯ + 1 n\mapsto1+\cdots+1 n ↦ 1 + ⋯ + 1 . Hence, n ⋅ s n\cdot s n ⋅ s is a product in S S S .
For an ideal b ⊆ Q S \mathfrak{b}\subseteq QS b ⊆ QS , define an equivalence relation ≈ b \approx_{\mathfrak{b}} ≈ b on S S S via
s ≈ b t ⟺ s − t = s − t 1 ∈ b . s\approx_{\mathfrak{b}}t\Longleftrightarrow s-t=\frac{s-t}{1}\in\mathfrak{b}. s ≈ b t ⟺ s − t = 1 s − t ∈ b .
Conversely, given an equivalence relation ≈ \approx ≈ on S S S , define the set
a ≈ : = { s − t n ∈ Q S ∣ n ≥ 1 , s , t ∈ S , s ≈ t } . \mathfrak{a}_{\approx}:=\left\{\left.\frac{s-t}{n}\in QS\ \right|\ n\ge1,s,t\in S,\ s\approx t\right\}. a ≈ := { n s − t ∈ QS n ≥ 1 , s , t ∈ S , s ≈ t } .
We show the following extension of Proposition 6.1 mirroring (9). Recall that an equivalence relation ≈ \approx ≈ on S S S is called cancellative if it satisfies (15) and (16).
Proposition 6.7. Let S S S denote a commutative cancellative semiring. The maps ≈ ↦ a ≈ \approx\mapsto\mathfrak{a}_{\approx} ≈↦ a ≈ and b ↦ ≈ b \mathfrak{b}\mapsto\approx_{\mathfrak{b}} b ↦ ≈ b establish a bijection between the set of ideals b \mathfrak{b} b of Q S QS QS and the set of cancellative congruences ≈ \approx ≈ on S S S such that, for all s , t ∈ S s,t\in S s , t ∈ S and n ≥ 1 n\ge1 n ≥ 1 , it holds that
n ⋅ s ≈ n ⋅ t ⟹ s ≈ t . (17) n\cdot s\approx n\cdot t\Longrightarrow s\approx t. \tag*{(17)} n ⋅ s ≈ n ⋅ t ⟹ s ≈ t . (17) We call an equivalence relation ≈ \approx ≈ on a semiring S S S satisfying (17) torsion-free. In preparation, we first make the following observation analogous to Lemma 6.2.
Lemma 6.8. Let ≈ \approx ≈ be a torsion-free cancellative congruence on S S S . If s − t p = s ′ − t ′ p ′ \frac{s-t}{p}=\frac{s'-t'}{p'} p s − t = p ′ s ′ − t ′ in Q S QS QS , then s ≈ t s\approx t s ≈ t if, and only if, s ′ ≈ t ′ s'\approx t' s ′ ≈ t ′ .
Proof. If s ≈ t s \approx t s ≈ t , then p p ′ ⋅ s ≈ p p ′ ⋅ t pp' \cdot s \approx pp' \cdot t p p ′ ⋅ s ≈ p p ′ ⋅ t by Lemma 6.2 . Furthermore, by assumption, p ′ ⋅ s + p ⋅ t ′ = p ′ ⋅ t + p ⋅ s ′ p' \cdot s + p \cdot t' = p' \cdot t + p \cdot s' p ′ ⋅ s + p ⋅ t ′ = p ′ ⋅ t + p ⋅ s ′ . Hence, p p ′ ⋅ s + p 2 ⋅ t ′ = p p ′ ⋅ t + p 2 ⋅ s ′ pp' \cdot s + p^{2} \cdot t' = pp' \cdot t + p^{2} \cdot s' p p ′ ⋅ s + p 2 ⋅ t ′ = p p ′ ⋅ t + p 2 ⋅ s ′ by Lemma 6.2 . In particular, p p ′ ⋅ s + p 2 ⋅ t ′ ≈ p p ′ ⋅ t + p 2 ⋅ s ′ pp' \cdot s + p^{2} \cdot t' \approx pp' \cdot t + p^{2} \cdot s' p p ′ ⋅ s + p 2 ⋅ t ′ ≈ p p ′ ⋅ t + p 2 ⋅ s ′ . By Lemma 6.2 , p 2 ⋅ t ′ ≈ p 2 ⋅ s ′ p^{2} \cdot t' \approx p^{2} \cdot s' p 2 ⋅ t ′ ≈ p 2 ⋅ s ′ . By (17) , t ′ ≈ s ′ t' \approx s' t ′ ≈ s ′ , that is, s ′ ≈ t ′ s' \approx t' s ′ ≈ t ′ by symmetry. The converse follows by exchanging the roles of ( s , t , p ) (s,t,p) ( s , t , p ) and ( s ′ , t ′ , p ′ ) (s',t',p') ( s ′ , t ′ , p ′ ) .
Proof of Proposition 6.7. We must first show that the map ≈ ↦ a ≈ \approx\mapsto a_{\approx} ≈↦ a ≈ is well-defined.
Claim 6.9. For every torsion-free cancellative congruence ≈ \approx ≈ on S S S , the set a ≈ a_{\approx} a ≈ is an ideal of Q S QS QS .
Proof of Claim. It holds that 0 ∈ a ≈ 0 \in a_{\approx} 0 ∈ a ≈ since ≈ \approx ≈ is reflexive. If s 1 − t 1 n 1 , s 2 − t 2 n 2 ∈ a ≈ \frac{s_{1}-t_{1}}{n_{1}},\frac{s_{2}-t_{2}}{n_{2}} \in a_{\approx} n 1 s 1 − t 1 , n 2 s 2 − t 2 ∈ a ≈ , then, by Lemma 6.8, s 1 ≈ t 1 s_{1} \approx t_{1} s 1 ≈ t 1 and s 2 ≈ t 2 s_{2} \approx t_{2} s 2 ≈ t 2 . By Lemma 6.2 , n 2 ⋅ s 1 ≈ n 2 ⋅ t 1 n_{2} \cdot s_{1} \approx n_{2} \cdot t_{1} n 2 ⋅ s 1 ≈ n 2 ⋅ t 1 and n 1 ⋅ s 2 ≈ n 1 ⋅ t 2 n_{1} \cdot s_{2} \approx n_{1} \cdot t_{2} n 1 ⋅ s 2 ≈ n 1 ⋅ t 2 . By Lemma 6.2 , n 2 ⋅ s 1 + n 1 ⋅ s 2 ≈ n 2 ⋅ t 1 + n 1 ⋅ t 2 n_{2} \cdot s_{1} + n_{1} \cdot s_{2} \approx n_{2} \cdot t_{1} + n_{1} \cdot t_{2} n 2 ⋅ s 1 + n 1 ⋅ s 2 ≈ n 2 ⋅ t 1 + n 1 ⋅ t 2 . Hence,
s 1 − t 1 n 1 + s 2 − t 2 n 2 = n 2 ⋅ s 1 − n 2 ⋅ t 1 + n 1 ⋅ s 2 − n 1 ⋅ t 2 n 1 n 2 ∈ a ≈ . \frac{s_{1}-t_{1}}{n_{1}}+\frac{s_{2}-t_{2}}{n_{2}}=\frac{n_{2}\cdot s_{1}-n_{2}\cdot t_{1}+n_{1}\cdot s_{2}-n_{1}\cdot t_{2}}{n_{1}n_{2}}\in a_{\approx}. n 1 s 1 − t 1 + n 2 s 2 − t 2 = n 1 n 2 n 2 ⋅ s 1 − n 2 ⋅ t 1 + n 1 ⋅ s 2 − n 1 ⋅ t 2 ∈ a ≈ .
If s − t n ∈ a ≈ \frac{s-t}{n} \in a_{\approx} n s − t ∈ a ≈ and a − b m ∈ Q S \frac{a-b}{m} \in QS m a − b ∈ QS , then s ≈ t s \approx t s ≈ t by Lemma 6.8. By (16) , a ⋅ s ≈ a ⋅ t a \cdot s \approx a \cdot t a ⋅ s ≈ a ⋅ t and b ⋅ s ≈ b ⋅ t b \cdot s \approx b \cdot t b ⋅ s ≈ b ⋅ t . By Lemma 6.2 , a ⋅ s + b ⋅ t ≈ a ⋅ t + b ⋅ s a \cdot s + b \cdot t \approx a \cdot t + b \cdot s a ⋅ s + b ⋅ t ≈ a ⋅ t + b ⋅ s . Hence, it holds that
a − b m ⋅ s − t n = ( a − b ) ⋅ ( s − t ) n m = a ⋅ s + b ⋅ t − a ⋅ t − b ⋅ s n m ∈ a ≈ . \frac{a-b}{m}\cdot\frac{s-t}{n}=\frac{(a-b)\cdot(s-t)}{nm}=\frac{a\cdot s+b\cdot t-a\cdot t-b\cdot s}{nm}\in a_{\approx}. m a − b ⋅ n s − t = nm ( a − b ) ⋅ ( s − t ) = nm a ⋅ s + b ⋅ t − a ⋅ t − b ⋅ s ∈ a ≈ .
Next we show that the map b ↦ ≈ b b \mapsto\approx_{b} b ↦ ≈ b is well-defined.
Claim 6.10. For every ideal b b b of Q S QS QS , the relation ≈ b \approx_{b} ≈ b is a torsion-free cancellative congruence.
Proof of Claim. By the proof of Claim 6.4 , it remains to verify that ≈ b \approx_{b} ≈ b is torsion-free. Let n ⋅ s ≈ b n ⋅ t n \cdot s \approx_{b} n \cdot t n ⋅ s ≈ b n ⋅ t for s , t ∈ S s,t \in S s , t ∈ S and n ≥ 1 n \ge1 n ≥ 1 . By definition, n ⋅ ( s − t ) = n ⋅ s − n ⋅ t ∈ b n \cdot(s-t)=n \cdot s-n \cdot t \in b n ⋅ ( s − t ) = n ⋅ s − n ⋅ t ∈ b . Since b b b is an ideal, s − t = n ⋅ ( s − t ) n = 1 n n ( s − t ) ∈ b s-t=\frac{n\cdot(s-t)}{n}=\frac{1}{n}n(s-t)\in b s − t = n n ⋅ ( s − t ) = n 1 n ( s − t ) ∈ b .
It remains to argue that the maps are mutually inverse.
Claim 6.11. For every ideal b b b of Q S QS QS , it holds that b = a ≈ b b=a_{\approx_{b}} b = a ≈ b .
Proof of Claim. Let s − t n ∈ b \frac{s-t}{n} \in b n s − t ∈ b . Then s ≈ b t s \approx_{b} t s ≈ b t and hence s − t n ∈ a ≈ b \frac{s-t}{n} \in a_{\approx_{b}} n s − t ∈ a ≈ b . Conversely, if s − t n ∈ a ≈ b \frac{s-t}{n} \in a_{\approx_{b}} n s − t ∈ a ≈ b , then s − t n = s ′ − t ′ n ′ \frac{s-t}{n}=\frac{s'-t'}{n'} n s − t = n ′ s ′ − t ′ for some s ′ ≈ b t ′ s' \approx_{b} t' s ′ ≈ b t ′ and n ′ ≥ 1 n' \ge1 n ′ ≥ 1 . By Lemma 6.8 and Claim 6.10, s ≈ b t s \approx_{b} t s ≈ b t . By definition, s − t ∈ b s-t \in b s − t ∈ b . By multiplication with 1 n ∈ Q S \frac{1}{n} \in QS n 1 ∈ QS , it follows that s − t n ∈ b \frac{s-t}{n} \in b n s − t ∈ b .
Claim 6.12. For every torsion-free cancellative congruence ≈ \approx ≈ on S S S , it holds that ≈ = ≈ a ≈ \approx=\approx_{a_{\approx}} ≈= ≈ a ≈ .
Proof of Claim. If s ≈ t s \approx t s ≈ t , then s − t ∈ a ≈ s-t \in a_{\approx} s − t ∈ a ≈ , hence, s ≈ a ≈ t s \approx_{a_{\approx}} t s ≈ a ≈ t . Conversely, if s ≈ a ≈ t s \approx_{a_{\approx}} t s ≈ a ≈ t , then s − t ∈ a ≈ s-t \in a_{\approx} s − t ∈ a ≈ . By definition, s − t = s ′ − t ′ n ′ s-t=\frac{s'-t'}{n'} s − t = n ′ s ′ − t ′ for some s ′ ≈ t ′ s' \approx t' s ′ ≈ t ′ and n ′ ≥ 1 n' \ge1 n ′ ≥ 1 . By Lemma 6.8, s ≈ t s \approx t s ≈ t .
This concludes the proof.
Extension of scalars to CS
Hilbert’s Nullstellensatz requires an algebraically closed field. Hence, we extend scalars further to C S : = C ⊗ Q Q S CS:=\mathbb{C}\otimes_{\mathbb{Q}}QS C S := C ⊗ Q QS . Generic elements of C S CS C S are finite sums ∑ α i s i − t i n i \sum\alpha_i\frac{s_i-t_i}{n_i} ∑ α i n i s i − t i where α i ∈ C \alpha_i\in\mathbb{C} α i ∈ C , s i , t i ∈ S s_i,t_i\in S s i , t i ∈ S , and n i ≥ 1 n_i\ge1 n i ≥ 1 . Furthermore, the α i \alpha_i α i can be assumed to be linearly independent as elements of the Q \mathbb{Q} Q -vector space C \mathbb{C} C .
For an ideal b ⊆ C S b\subseteq CS b ⊆ C S , define an equivalence relation ≈ b \approx_b ≈ b on S S S via
s ≈ b t : ⟺ s − t ∈ b . s\approx_b t:\Longleftrightarrow s-t\in b. s ≈ b t :⟺ s − t ∈ b .
Conversely, given an equivalence relation ≈ \approx ≈ on S S S , define the set
a ≈ : = { ∑ α i s i − t i n i ∈ C S ∣ α i ∈ C , n i ≥ 1 , s i , t i ∈ S , s i ≈ t i } . (18) a_{\approx}:=\left\{\left.\sum\alpha_i\frac{s_i-t_i}{n_i}\in CS\ \right|\ \alpha_i\in\mathbb{C},n_i\geq1,s_i,t_i\in S,\ s_i\approx t_i\right\}. \tag*{(18)} a ≈ := { ∑ α i n i s i − t i ∈ C S α i ∈ C , n i ≥ 1 , s i , t i ∈ S , s i ≈ t i } . (18)
Proposition 6.13. Let S S S denote a commutative cancellative semiring.
(i) For every ideal b \mathfrak{b} b of C S \mathbb{C}S C S , the relation ∼ b \mathord{\sim}_{\mathfrak{b}} ∼ b is a torsion-free cancellative congruence on S S S .
(ii) For every torsion-free cancellative congruence ∼ \mathord{\sim} ∼ on S S S , the set a ∼ \mathfrak{a}_{\sim} a ∼ is an ideal of C S \mathbb{C}S C S and ∼ a ∼ = ∼ \mathord{\sim}_{\mathfrak{a}_{\sim}}=\mathord{\sim} ∼ a ∼ = ∼ , i.e. for all s , t ∈ S s,t\in S s , t ∈ S , it holds that s ∼ t s\sim t s ∼ t if, and only if, s − t ∈ a ∼ s-t\in\mathfrak{a}_{\sim} s − t ∈ a ∼ .
In particular, ∼ ↦ a ∼ \mathord{\sim}\mapsto\mathfrak{a}_{\sim} ∼ ↦ a ∼ is injective and establishes a bijection between the torsion-free cancellative congruences on S S S and the ideals of C S \mathbb{C}S C S extended from Q S \mathbb{Q}S Q S .
Proof. Write a ∼ Q ⊆ Q S \mathfrak{a}_{\sim}^{\mathbb{Q}}\subseteq\mathbb{Q}S a ∼ Q ⊆ Q S for the ideal corresponding to ∼ \sim ∼ under Proposition 6.7. Comparing the definitions in § 10.2 and § 10.3 , the set a ∼ \mathfrak{a}_{\sim} a ∼ consists of the finite sums ∑ i α i x i \sum_i\alpha_i x_i ∑ i α i x i with α i ∈ C \alpha_i\in\mathbb{C} α i ∈ C and x i ∈ a ∼ Q x_i\in\mathfrak{a}_{\sim}^{\mathbb{Q}} x i ∈ a ∼ Q . That is,
a ∼ = C ⊗ Q a ∼ Q ⊆ C ⊗ Q Q S = C S (19) \mathfrak{a}_{\sim}=\mathbb{C}\otimes_{\mathbb{Q}}\mathfrak{a}_{\sim}^{\mathbb{Q}}\subseteq\mathbb{C}\otimes_{\mathbb{Q}}\mathbb{Q}S=\mathbb{C}S \tag*{(19)} a ∼ = C ⊗ Q a ∼ Q ⊆ C ⊗ Q Q S = C S (19)
is the ideal of C S \mathbb{C}S C S extended from a ∼ Q \mathfrak{a}_{\sim}^{\mathbb{Q}} a ∼ Q ; in particular, it is indeed an ideal.
Assertion (i) follows as in the proof of Proposition 6.7.
For Assertion (ii), recall that the field extension Q → C \mathbb{Q}\to\mathbb{C} Q → C is faithfully flat . Hence, for every Q \mathbb{Q} Q -algebra A A A and every ideal a ⊆ A \mathfrak{a}\subseteq A a ⊆ A , the quotient A / a A/\mathfrak{a} A / a embeds into C ⊗ Q ( A / a ) = ( C ⊗ Q A ) / ( C ⊗ Q a ) \mathbb{C}\otimes_{\mathbb{Q}}(A/\mathfrak{a})=(\mathbb{C}\otimes_{\mathbb{Q}}A)/(\mathbb{C}\otimes_{\mathbb{Q}}\mathfrak{a}) C ⊗ Q ( A / a ) = ( C ⊗ Q A ) / ( C ⊗ Q a ) [53 Tag 05CK] , where the equality uses that C \mathbb{C} C is flat [53 Tag 00HB] over Q \mathbb{Q} Q . In other words, extending scalars does not enlarge a \mathfrak{a} a within A A A :
a ∈ a ⟺ a ∈ C ⊗ Q a , for all a ∈ A . (20) a\in\mathfrak{a}\Longleftrightarrow a\in\mathbb{C}\otimes_{\mathbb{Q}}\mathfrak{a},\qquad\text{for all }a\in A. \tag*{(20)} a ∈ a ⟺ a ∈ C ⊗ Q a , for all a ∈ A . (20)
Applying this to A : = Q S A:=\mathbb{Q}S A := Q S and a : = a ∼ Q \mathfrak{a}:=\mathfrak{a}_{\sim}^{\mathbb{Q}} a := a ∼ Q , we obtain, for all s , t ∈ S s,t\in S s , t ∈ S ,
s − t ∈ a ∼ ⟺ ( 19 ) s − t ∈ C ⊗ Q a ∼ Q ⟺ ( 20 ) s − t ∈ a ∼ Q ⟺ s ∼ t , s-t\in\mathfrak{a}_{\sim}\mathrel{\overset{(19)}{\Longleftrightarrow}}s-t\in\mathbb{C}\otimes_{\mathbb{Q}}\mathfrak{a}_{\sim}^{\mathbb{Q}}\mathrel{\overset{(20)}{\Longleftrightarrow}}s-t\in\mathfrak{a}_{\sim}^{\mathbb{Q}}\Longleftrightarrow s\sim t, s − t ∈ a ∼ ⟺ ( 19 ) s − t ∈ C ⊗ Q a ∼ Q ⟺ ( 20 ) s − t ∈ a ∼ Q ⟺ s ∼ t ,
where the final equivalence is Proposition 6.7.
The injectivity of ∼ ↦ a ∼ \sim\mapsto\mathfrak{a}_{\sim} ∼↦ a ∼ follows from Assertion (ii). By (19), its image consists of extended ideals. Conversely, if b = C ⊗ Q b ′ \mathfrak{b}=\mathbb{C}\otimes_{\mathbb{Q}}\mathfrak{b}' b = C ⊗ Q b ′ for an ideal b ′ \mathfrak{b}' b ′ of Q S \mathbb{Q}S Q S , then ∼ b = ∼ b ′ \sim_{\mathfrak{b}}=\sim_{\mathfrak{b}'} ∼ b = ∼ b ′ by (20), and hence a ∼ b = C ⊗ Q b ′ = b \mathfrak{a}_{\sim_{\mathfrak{b}}}=\mathbb{C}\otimes_{\mathbb{Q}}\mathfrak{b}'=\mathfrak{b} a ∼ b = C ⊗ Q b ′ = b by (19) and Proposition 6.7. □ \square □
This concludes the preparations for the proof of Lemma 6.15 , which instantiates Proposition 6.13 to graph isomorphism relaxations.
Lemma 6.15. Let ∼ \sim ∼ be a graph isomorphism relaxation. The relation ∼ \sim ∼ satisfies Equations (6) to (9) if, and only if, there exists an ideal a \mathfrak{a} a of C G ∘ \mathbb{C}\mathcal{G}^{\circ} C G ∘ such that, for all graphs G , H ∈ G ∘ G,H\in\mathcal{G}^{\circ} G , H ∈ G ∘ ,
G ∼ H ⟺ G − H ∈ a . G\sim H\Longleftrightarrow G-H\in\mathfrak{a}. G ∼ H ⟺ G − H ∈ a .
Proof. Recall from Lemma 2.1 that G ∘ \mathcal{G}^{\circ} G ∘ , equipped with disjoint union as addition and the categorical product as multiplication, is a commutative cancellative semiring. Being a graph isomorphism relaxation, ∼ \sim ∼ is an equivalence relation on G ∘ \mathcal{G}^{\circ} G ∘ .
We first observe that ∼ \sim ∼ satisfies Equations (6) to (9) if, and only if, it is a torsion-free cancellative congruence on G ∘ \mathcal{G}^{\circ} G ∘ . Indeed, Equation (6) is (16), while the forward and the backward direction of (15) are Equations (7) and (8) , respectively. Furthermore, Equation (9) asserts that ≈ \approx ≈ is torsion-free, since n ⋅ G n \cdot G n ⋅ G is the n n n -fold disjoint union of G G G with itself. Now, if ≈ \approx ≈ satisfies Equations (6) to (9) , then, by Assertion (ii) of Proposition 6.13 , the set a : = a ≈ \mathfrak{a}:=\mathfrak{a}_{\approx} a := a ≈ is an ideal of C G ∘ \mathbb{C}\mathcal{G}^{\circ} C G ∘ such that G ≈ H G\approx H G ≈ H if, and only if, G − H ∈ a G-H\in\mathfrak{a} G − H ∈ a , for all graphs G , H ∈ G ∘ G,H\in\mathcal{G}^{\circ} G , H ∈ G ∘ . Conversely, if b \mathfrak{b} b is an ideal of C G ∘ \mathbb{C}\mathcal{G}^{\circ} C G ∘ such that G ≈ H G\approx H G ≈ H if, and only if, G − H ∈ b G-H\in\mathfrak{b} G − H ∈ b , then ≈ = ≈ b \approx=\approx_{\mathfrak{b}} ≈= ≈ b . By Assertion (i) of Proposition 6.13 , this is a torsion-free cancellative congruence on G ∘ \mathcal{G}^{\circ} G ∘ , so that ≈ \approx ≈ satisfies Equations (6) to (9) .
Algebraic geometry of semiring algebras
In order to prove Theorem 3.1, we adapt Hilbert’s Nullstellensatz to semiring algebras in Theorem 6.19 .
Let S S S be a commutative cancellative semiring. Write Hom ( S , C ) \operatorname{Hom}(S,\mathbb{C}) Hom ( S , C ) for the set of semiring homomorphisms S → C S\to\mathbb{C} S → C , i.e., maps φ : S → C \varphi:S\to\mathbb{C} φ : S → C such that φ ( 1 ) = 1 \varphi(1)=1 φ ( 1 ) = 1 and, for all s , t ∈ S s,t\in S s , t ∈ S ,
φ ( s + t ) = φ ( s ) + φ ( t ) , φ ( s t ) = φ ( s ) φ ( t ) . \varphi(s+t)=\varphi(s)+\varphi(t), \qquad\varphi(st)=\varphi(s)\varphi(t). φ ( s + t ) = φ ( s ) + φ ( t ) , φ ( s t ) = φ ( s ) φ ( t ) .
We require the following lemma whose proof is routine and therefore omitted.
Lemma 6.16. For every semiring homomorphism φ ∈ Hom ( S , C ) \varphi\in\operatorname{Hom}(S,\mathbb{C}) φ ∈ Hom ( S , C ) , there exists a unique C \mathbb{C} C -algebra homomorphism φ ^ : C S → C \widehat{\varphi}:\mathbb{C}S\to\mathbb{C} φ : C S → C such that φ ^ ( s ) = φ ( s ) \widehat{\varphi}(s)=\varphi(s) φ ( s ) = φ ( s ) for all $s\in S. It is given by
φ ^ ( ∑ i α i s i − t i n i ) = ∑ i α i n i ( φ ( s i ) − φ ( t i ) ) . (21) \widehat{\varphi}\left(\sum_i \alpha_i\frac{s_i-t_i}{n_i}\right)=\sum_i\frac{\alpha_i}{n_i}\left(\varphi(s_i)-\varphi(t_i)\right). \tag*{(21)} φ ( i ∑ α i n i s i − t i ) = i ∑ n i α i ( φ ( s i ) − φ ( t i ) ) . (21)
In light of Lemma 6.16 , we henceforth write φ \varphi φ for the extension φ ^ : C S → C \widehat{\varphi}:\mathbb{C}S\to\mathbb{C} φ : C S → C of a semiring homomorphism φ ∈ Hom ( S , C ) \varphi\in\operatorname{Hom}(S,\mathbb{C}) φ ∈ Hom ( S , C ) .
Definition 6.17. For an ideal a ⊆ C S \mathfrak{a}\subseteq\mathbb{C}S a ⊆ C S and a subset Φ ⊆ Hom ( S , C ) \Phi\subseteq\operatorname{Hom}(S,\mathbb{C}) Φ ⊆ Hom ( S , C ) , let
V ( a ) : = { φ ∈ Hom ( S , C ) ∣ ∀ p ∈ a . φ ( p ) = 0 } , V(\mathfrak{a}):=\{\varphi\in\operatorname{Hom}(S,\mathbb{C})\mid\forall p\in\mathfrak{a}.\ \varphi(p)=0\}, V ( a ) := { φ ∈ Hom ( S , C ) ∣ ∀ p ∈ a . φ ( p ) = 0 } , I ( Φ ) : = { p ∈ C S ∣ ∀ φ ∈ Φ . φ ( p ) = 0 } . I(\Phi):=\{p\in\mathbb{C}S\mid\forall\varphi\in\Phi.\ \varphi(p)=0\}. I ( Φ ) := { p ∈ C S ∣ ∀ φ ∈ Φ. φ ( p ) = 0 } .
We record that vanishing ideals of rational-valued semiring homomorphisms are extended from Q S \mathbb{Q}S Q S .
Lemma 6.18. Let S S S denote a commutative cancellative semiring and let Φ ⊆ Hom ( S , Q ) \Phi\subseteq\operatorname{Hom}(S,\mathbb{Q}) Φ ⊆ Hom ( S , Q ) . Then it holds that I ( Φ ) = C ⊗ Q ( I ( Φ ) ∩ Q S ) I(\Phi)=\mathbb{C}\otimes_{\mathbb{Q}}(I(\Phi)\cap\mathbb{Q}S) I ( Φ ) = C ⊗ Q ( I ( Φ ) ∩ Q S ) .
Proof. By § 10.3 , every p ∈ C S p\in\mathbb{C}S p ∈ C S can be written as p = ∑ i α i x i p=\sum_i\alpha_i x_i p = ∑ i α i x i with x i ∈ Q S x_i\in\mathbb{Q}S x i ∈ Q S and α i ∈ C \alpha_i\in\mathbb{C} α i ∈ C linearly independent over Q \mathbb{Q} Q . Let φ ∈ Φ \varphi\in\Phi φ ∈ Φ . Since φ \varphi φ takes rational values on S S S , it holds that φ ( x ) ∈ Q \varphi(x)\in\mathbb{Q} φ ( x ) ∈ Q for every x ∈ Q S b y x r e f ‘ ( 21 ) ‘ . H e n c e , x\in\mathbb{Q}S by {xref}`(21)`. Hence, x ∈ Q S b y x r e f ‘ ( 21 ) ‘. H e n ce , \varphi(p)=\sum_i\alpha_i\varphi(x_i)=0$ if, and only if, φ ( x i ) = 0 \varphi(x_i)=0 φ ( x i ) = 0 for all i i i . Therefore, p ∈ I ( Φ ) p\in I(\Phi) p ∈ I ( Φ ) if, and only if, x i ∈ I ( Φ ) ∩ Q S x_i\in I(\Phi)\cap\mathbb{Q}S x i ∈ I ( Φ ) ∩ Q S for all i i i , which is the assertion.
For an ideal a \mathfrak{a} a in a ring R R R , write a : = { r ∈ R ∣ ∃ n ≥ 1. r n ∈ a } \sqrt{\mathfrak{a}}:=\{r\in R\mid\exists n\geq1.\ r^n\in\mathfrak{a}\} a := { r ∈ R ∣ ∃ n ≥ 1. r n ∈ a } for the radical of a \mathfrak{a} a . An ideal a \mathfrak{a} a is called radical if a = a \mathfrak{a}=\sqrt{\mathfrak{a}} a = a . The following Nullstellensatz for semiring algebras is the main result of this section.
Theorem 6.19 (Hilbert’s Nullstellensatz for Semiring Algebras). Let S S S be a countable commutative cancellative semiring and a \mathfrak{a} a an ideal of C S \mathbb{C}S C S . Then
I ( V ( a ) ) = a . I(V(\mathfrak{a}))=\sqrt{\mathfrak{a}}. I ( V ( a )) = a .
We deduce Theorem 6.19 from the following Theorem 6.20 , a version of Hilbert’s Nullstellensatz for polynomial algebras in infinitely many variables. Note that the difference between Theorems 6.19 and 6.20 is that in the definition of V ( a ) V(\mathfrak{a}) V ( a ) only semiring homomorphisms S → C S \to\mathbb{C} S → C are considered while V A ( a ) V_A(\mathfrak{a}) V A ( a ) contains arbitrary maps S → C S \to\mathbb{C} S → C . Theorem 6.20 is apparently due to Lang [54 ] ; see also [53 Tag 00FU] and [55 ] .
Theorem 6.20 (Lang [54 ] ). Let F F F be a non-zero ring, Λ \Lambda Λ a non-empty index set, and write A A A for the polynomial algebra F [ t λ ∣ λ ∈ Λ ] F[t_\lambda\mid\lambda\in\Lambda] F [ t λ ∣ λ ∈ Λ ] . Suppose that F F F is algebraically closed and that ∣ Λ ∣ < ∣ F ∣ |\Lambda| < |F| ∣Λ∣ < ∣ F ∣ . Then, for every ideal b ⊆ A \mathfrak{b} \subseteq A b ⊆ A , it holds that
I A ( V A ( b ) ) = b . I_A(V_A(\mathfrak{b})) = \sqrt{\mathfrak{b}}. I A ( V A ( b )) = b . Here, every χ ∈ F Λ \chi\in F^\Lambda χ ∈ F Λ gives rise to the evaluation homomorphism ev χ : A → F \operatorname{ev}_{\chi}: A \to F ev χ : A → F , i.e. the unique F F F -algebra homomorphism with ev χ ( t λ ) = χ ( λ ) \operatorname{ev}_{\chi}(t_\lambda) = \chi(\lambda) ev χ ( t λ ) = χ ( λ ) for all λ ∈ Λ \lambda\in\Lambda λ ∈ Λ , and, for an ideal b ⊆ A \mathfrak{b} \subseteq A b ⊆ A and a set X ⊆ F Λ X \subseteq F^\Lambda X ⊆ F Λ ,
V A ( b ) : = { χ ∈ F Λ ∣ ∀ r ∈ b . ev χ ( r ) = 0 } , V_A(\mathfrak{b}) := \{\chi\in F^\Lambda\mid\forall r \in\mathfrak{b}.\ \operatorname{ev}_{\chi}(r) = 0\}, V A ( b ) := { χ ∈ F Λ ∣ ∀ r ∈ b . ev χ ( r ) = 0 } , I A ( X ) : = { r ∈ A ∣ ∀ χ ∈ X . ev χ ( r ) = 0 } . I_A(X) := \{r \in A \mid\forall\chi\in X.\ \operatorname{ev}_{\chi}(r) = 0\}. I A ( X ) := { r ∈ A ∣ ∀ χ ∈ X . ev χ ( r ) = 0 } .
Proof of Theorem 6.19 . Since S S S is countable and non-empty, there exists a surjection N → S \mathbb{N} \to S N → S , i ↦ s i i \mapsto s_i i ↦ s i . Write A : = C [ t i ∣ i ∈ N ] A := \mathbb{C}[t_i \mid i \in\mathbb{N}] A := C [ t i ∣ i ∈ N ] for the polynomial algebra over C \mathbb{C} C in countably many variables and let
π : A → C S \pi: A \to\mathbb{C}S π : A → C S
t i ↦ s i t_i \mapsto s_i t i ↦ s i
denote the unique C \mathbb{C} C -algebra homomorphism mapping t i t_i t i to the image of s i s_i s i under the canonical semiring homomorphism S → C S S \to\mathbb{C}S S → C S . Its kernel ker π \ker\pi ker π encodes the relations holding in S S S .
Claim 6.21. The homomorphism π \pi π is surjective.
Proof of Claim. By § 10.3 , every element of C S \mathbb{C}S C S is a finite sum ∑ j α j n j ( u j − v j ) \sum_j \frac{\alpha_j}{n_j}(u_j-v_j) ∑ j n j α j ( u j − v j ) with α j ∈ C \alpha_j \in\mathbb{C} α j ∈ C , u j , v j ∈ S u_j,v_j \in S u j , v j ∈ S , and n j ≥ 1 n_j \ge1 n j ≥ 1 . Since i ↦ s i i \mapsto s_i i ↦ s i is surjective, there are k j , ℓ j ∈ N k_j,\ell_j \in\mathbb{N} k j , ℓ j ∈ N with u j = s k j u_j=s_{k_j} u j = s k j and v j = s ℓ j v_j=s_{\ell_j} v j = s ℓ j . As α j n j ∈ C \frac{\alpha_j}{n_j} \in\mathbb{C} n j α j ∈ C and π \pi π is C \mathbb{C} C -linear,
π ( ∑ j α j n j ( t k j − t ℓ j ) ) = ∑ j α j n j ( u j − v j ) = ∑ j α j u j − v j n j . \pi\left(\sum_j \frac{\alpha_j}{n_j}(t_{k_j}-t_{\ell_j})\right)=\sum_j \frac{\alpha_j}{n_j}(u_j-v_j)=\sum_j \alpha_j\frac{u_j-v_j}{n_j}. π ( j ∑ n j α j ( t k j − t ℓ j ) ) = j ∑ n j α j ( u j − v j ) = j ∑ α j n j u j − v j .
Write a ~ : = π − 1 ( a ) \widetilde{\mathfrak{a}}:=\pi^{-1}(\mathfrak{a}) a := π − 1 ( a ) for the preimage of a \mathfrak{a} a in A A A . It is an ideal of A A A containing ker π \ker\pi ker π . Since C \mathbb{C} C is a non-zero algebraically closed field and ∣ N ∣ = ℵ 0 < 2 ℵ 0 = ∣ C ∣ |\mathbb{N}|=\aleph_0<2^{\aleph_0}=|\mathbb{C}| ∣ N ∣ = ℵ 0 < 2 ℵ 0 = ∣ C ∣ , Theorem 6.20 applies to a ~ \widetilde{\mathfrak{a}} a and yields
I A ( V A ( a ~ ) ) = a ~ . (22) I_A(V_A(\widetilde{\mathfrak{a}}))=\sqrt{\widetilde{\mathfrak{a}}}. \tag*{(22)} I A ( V A ( a )) = a . (22)
By Lemma 6.16 , every φ ∈ Hom ( S , C ) \varphi\in\operatorname{Hom}(S,\mathbb{C}) φ ∈ Hom ( S , C ) is identified with its unique extension to a C \mathbb{C} C -algebra homomorphism C S → C \mathbb{C}S \to\mathbb{C} C S → C . Write φ ~ ∈ C N \widetilde{\varphi} \in\mathbb{C}^{\mathbb{N}} φ ∈ C N for the map i ↦ φ ( s i ) i \mapsto\varphi(s_i) i ↦ φ ( s i ) . Then
ev φ ~ = φ ∘ π , (23) \operatorname{ev}_{\widetilde{\varphi}}=\varphi\circ\pi, \tag*{(23)} ev φ = φ ∘ π , (23)
since both sides are C \mathbb{C} C -algebra homomorphisms A → C A \to\mathbb{C} A → C agreeing on the generators t i t_i t i , for i ∈ N i \in\mathbb{N} i ∈ N .
Claim 6.22. The map φ ↦ φ ~ \varphi\mapsto\widetilde{\varphi} φ ↦ φ is injective on Hom ( S , C ) \operatorname{Hom}(S,\mathbb{C}) Hom ( S , C ) and restricts to a bijection between V ( a ) V(\mathfrak{a}) V ( a ) and V A ( a ~ ) V_A(\widetilde{\mathfrak{a}}) V A ( a ) , i.e. the following square commutes and its horizontal maps are as indicated:
V ( a ) → ≅ V A ( a ~ ) ↓ ↓ Hom ( S , C ) → φ ↦ φ ~ C N \begin{CD}
V(\mathfrak{a}) @>\cong>> V_A(\widetilde{\mathfrak{a}}) \\
@VVV @VVV \\
\operatorname{Hom}(S,\mathbb{C}) @>\varphi\mapsto\widetilde{\varphi}>> \mathbb{C}^{\mathbb{N}}
\end{CD} V ( a ) ↓ ⏐ Hom ( S , C ) ≅ φ ↦ φ V A ( a ) ↓ ⏐ C N
Proof of Claim. Injectivity is immediate.
The map is well-defined on V ( a ) V(\mathfrak{a}) V ( a ) : If φ ∈ V ( a ) \varphi\in V(\mathfrak{a}) φ ∈ V ( a ) and r ∈ a ~ r \in\widetilde{\mathfrak{a}} r ∈ a , then π ( r ) ∈ a \pi(r) \in\mathfrak{a} π ( r ) ∈ a and hence ev φ ~ ( r ) = φ ( π ( r ) ) = 0 \operatorname{ev}_{\widetilde{\varphi}}(r) = \varphi(\pi(r)) = 0 ev φ ( r ) = φ ( π ( r )) = 0 by (23) . Thus φ ~ ∈ V A ( a ~ ) \widetilde{\varphi} \in V_A(\widetilde{\mathfrak{a}}) φ ∈ V A ( a ) .
It remains to show that every χ ∈ V A ( a ~ ) \chi\in V_A(\widetilde{\mathfrak{a}}) χ ∈ V A ( a ) is of the form φ ~ \widetilde{\varphi} φ for some φ ∈ V ( a ) \varphi\in V(\mathfrak{a}) φ ∈ V ( a ) . Since 0 ∈ a 0 \in\mathfrak{a} 0 ∈ a , it holds that ker π ⊆ a ~ \ker\pi\subseteq\widetilde{\mathfrak{a}} ker π ⊆ a , so ev χ \operatorname{ev}_{\chi} ev χ vanishes on ker π \ker\pi ker π . By Claim 6.21, π \pi π induces an isomorphism A / ker π ≅ C S A/\ker\pi\cong\mathbb{C}S A / ker π ≅ C S . Hence, there is a unique C \mathbb{C} C -algebra homomorphism ϑ : C S → C \vartheta\colon\mathbb{C}S \to\mathbb{C} ϑ : C S → C such that ϑ ∘ π = ev χ \vartheta\circ\pi= \operatorname{ev}_{\chi} ϑ ∘ π = ev χ . Let φ : S → C \varphi\colon S \to\mathbb{C} φ : S → C denote the composition of ϑ \vartheta ϑ with the canonical semiring homomorphism S → C S S \to\mathbb{C}S S → C S . As a composition of semiring homomorphisms, φ \varphi φ is a semiring homomorphism, and φ ( 1 ) = ϑ ( 1 ) = 1 \varphi(1) = \vartheta(1) = 1 φ ( 1 ) = ϑ ( 1 ) = 1 , i.e. φ ∈ Hom ( S , C ) \varphi\in\operatorname{Hom}(S,\mathbb{C}) φ ∈ Hom ( S , C ) . By the uniqueness assertion in Lemma 6.16, ϑ \vartheta ϑ is the extension of φ \varphi φ to C S \mathbb{C}S C S . For all i ∈ N i \in\mathbb{N} i ∈ N ,
φ ~ ( i ) = φ ( s i ) = ϑ ( π ( t i ) ) = ev χ ( t i ) = χ ( i ) , \widetilde{\varphi}(i) = \varphi(s_i) = \vartheta(\pi(t_i)) = \operatorname{ev}_{\chi}(t_i) = \chi(i), φ ( i ) = φ ( s i ) = ϑ ( π ( t i )) = ev χ ( t i ) = χ ( i ) ,
so φ ~ = χ \widetilde{\varphi} = \chi φ = χ . Finally, φ ∈ V ( a ) \varphi\in V(\mathfrak{a}) φ ∈ V ( a ) : Given p ∈ a p \in\mathfrak{a} p ∈ a , by Claim 6.21 there is r ∈ A r \in A r ∈ A with π ( r ) = p \pi(r) = p π ( r ) = p . Then r ∈ a ~ r \in\widetilde{\mathfrak{a}} r ∈ a and thus φ ( p ) = ϑ ( π ( r ) ) = ev χ ( r ) = 0 \varphi(p) = \vartheta(\pi(r)) = \operatorname{ev}_{\chi}(r) = 0 φ ( p ) = ϑ ( π ( r )) = ev χ ( r ) = 0 .
Claim 6.23. It holds that π − 1 ( I ( V ( a ) ) ) = I A ( V A ( a ~ ) ) \pi^{-1}(I(V(\mathfrak{a}))) = I_A(V_A(\widetilde{\mathfrak{a}})) π − 1 ( I ( V ( a ))) = I A ( V A ( a )) .
Proof of Claim. Let r ∈ A r \in A r ∈ A . Using Claim 6.22 in the second and (23) in the third step,
r ∈ I A ( V A ( a ~ ) ) ⟺ ∀ χ ∈ V A ( a ~ ) . ev χ ( r ) = 0 ⟺ ∀ φ ∈ V ( a ) . ev φ ~ ( r ) = 0 ⟺ ∀ φ ∈ V ( a ) . φ ( π ( r ) ) = 0 ⟺ π ( r ) ∈ I ( V ( a ) ) ⟺ r ∈ π − 1 ( I ( V ( a ) ) ) . \begin{aligned}
r \in I_A(V_A(\widetilde{\mathfrak{a}})) &\Longleftrightarrow\forall\chi\in V_A(\widetilde{\mathfrak{a}}).\, \operatorname{ev}_{\chi}(r) = 0 \\
&\Longleftrightarrow\forall\varphi\in V(\mathfrak{a}).\, \operatorname{ev}_{\widetilde{\varphi}}(r) = 0 \\
&\Longleftrightarrow\forall\varphi\in V(\mathfrak{a}).\, \varphi(\pi(r)) = 0 \\
&\Longleftrightarrow\pi(r) \in I(V(\mathfrak{a})) \\
&\Longleftrightarrow r \in\pi^{-1}(I(V(\mathfrak{a}))).
\end{aligned} r ∈ I A ( V A ( a )) ⟺ ∀ χ ∈ V A ( a ) . ev χ ( r ) = 0 ⟺ ∀ φ ∈ V ( a ) . ev φ ( r ) = 0 ⟺ ∀ φ ∈ V ( a ) . φ ( π ( r )) = 0 ⟺ π ( r ) ∈ I ( V ( a )) ⟺ r ∈ π − 1 ( I ( V ( a ))) .
Claim 6.24. It holds that π ( a ~ ) = a \pi(\sqrt{\widetilde{\mathfrak{a}}}) = \sqrt{\mathfrak{a}} π ( a ) = a .
Proof of Claim. If r ∈ a ~ r \in\sqrt{\widetilde{\mathfrak{a}}} r ∈ a , say r n ∈ a ~ r^n \in\widetilde{\mathfrak{a}} r n ∈ a for some n ≥ 1 n \ge1 n ≥ 1 , then π ( r ) n = π ( r n ) ∈ a \pi(r)^n = \pi(r^n) \in\mathfrak{a} π ( r ) n = π ( r n ) ∈ a , i.e. π ( r ) ∈ a \pi(r) \in\sqrt{\mathfrak{a}} π ( r ) ∈ a . Conversely, let p ∈ a p \in\sqrt{\mathfrak{a}} p ∈ a , say p n ∈ a p^n \in\mathfrak{a} p n ∈ a . By Claim 6.21, there is r ∈ A r \in A r ∈ A with π ( r ) = p \pi(r) = p π ( r ) = p . Then π ( r n ) = p n ∈ a \pi(r^n) = p^n \in\mathfrak{a} π ( r n ) = p n ∈ a , i.e. r n ∈ a ~ r^n \in\widetilde{\mathfrak{a}} r n ∈ a . Hence p = π ( r ) ∈ π ( a ~ ) p = \pi(r) \in\pi(\sqrt{\widetilde{\mathfrak{a}}}) p = π ( r ) ∈ π ( a ) .
Combining these claims yields
I ( V ( a ) ) = 6.21 π ( π − 1 ( I ( V ( a ) ) ) ) = 6.23 π ( I A ( V A ( a ~ ) ) ) = (22) π ( π ( a ~ ) ) = 6.24 a . I(V(\mathfrak{a})) \mathrel{\mathop{=}^{\text{6.21}}} \pi\left(\pi^{-1}(I(V(\mathfrak{a})))\right) \mathrel{\mathop{=}^{\text{6.23}}} \pi\left(I_A(V_A(\widetilde{\mathfrak{a}}))\right) \mathrel{\mathop{=}^{\text{(22)}}} \pi\left(\pi(\sqrt{\widetilde{\mathfrak{a}}})\right) \mathrel{\mathop{=}^{\text{6.24}}} \sqrt{\mathfrak{a}}. I ( V ( a )) = 6.21 π ( π − 1 ( I ( V ( a ))) ) = 6.23 π ( I A ( V A ( a )) ) = (22) π ( π ( a ) ) = 6.24 a .
Radical ideals
In order to apply Theorem 6.19, it remains to understand the radical a \sqrt{\mathfrak{a}} a of an ideal a ⊆ C S \mathfrak{a} \subseteq\mathbb{C}S a ⊆ C S in terms of the cancellative congruence corresponding to a \mathfrak{a} a under Proposition 6.13. While a generic element of C S \mathbb{C}S C S is a finite sum ∑ i α i s i s i − t i n i \sum_i \alpha_i s_i^{\frac{s_i-t_i}{n_i}} ∑ i α i s i n i s i − t i , this congruence only records which of the elements s − t s-t s − t for s , t ∈ S s,t \in S s , t ∈ S lie in a \mathfrak{a} a . Fortunately, these elements are all we need to consider. By the Binomial Theorem, it holds in C S \mathbb{C}S C S that
( s − t ) n = ∑ i = 0 n ( n i ) s n − i ( − t ) i = ∑ i = 0 i e v e n n ( n i ) s n − i t i ⏟ = : ( s , t ) + n − ∑ i = 1 i o d d n ( n i ) s n − i t i ⏟ = : ( s , t ) − n , (24) (s-t)^n = \sum_{i=0}^{n} \binom{n}{i}s^{n-i}(-t)^i = \underbrace{\sum_{\substack{i=0 \\ i\ \mathrm{even}}}^{n} \binom{n}{i}s^{n-i}t^i}_{=: (s,t)^n_+} - \underbrace{\sum_{\substack{i=1 \\ i\ \mathrm{odd}}}^{n} \binom{n}{i}s^{n-i}t^i}_{=: (s,t)^n_-}, \tag*{(24)} ( s − t ) n = i = 0 ∑ n ( i n ) s n − i ( − t ) i = =: ( s , t ) + n i = 0 i even ∑ n ( i n ) s n − i t i − =: ( s , t ) − n i = 1 i odd ∑ n ( i n ) s n − i t i , (24)
where crucially ( s , t ) + n (s,t)^n_+ ( s , t ) + n and ( s , t ) − n (s,t)^n_- ( s , t ) − n are again elements of S S S . That is, the n n n -th power of s − t s-t s − t is again the difference of two elements of S S S . We may thus consider the following condition on a relation ≈ \approx ≈ on S S S , asserted for all s , t ∈ S s,t \in S s , t ∈ S and all n ≥ 1 n \ge1 n ≥ 1 :
( s , t ) + n ≈ ( s , t ) − n ⟹ s ≈ t . (25) (s,t)^n_+ \approx(s,t)^n_- \Longrightarrow s \approx t. \tag*{(25)} ( s , t ) + n ≈ ( s , t ) − n ⟹ s ≈ t . (25)
Lemma 6.25. Let ≈ \approx ≈ be a torsion-free cancellative congruence on S S S satisfying (25) , and let a ≈ ⊆ C S \mathfrak a_{\approx} \subseteq CS a ≈ ⊆ C S denote the corresponding ideal given by Equation (18) . Then, for all s , t ∈ S s,t \in S s , t ∈ S ,
s − t ∈ a ≈ ⟺ s ≈ t . s-t \in\sqrt{\mathfrak a_{\approx}} \Longleftrightarrow s \approx t. s − t ∈ a ≈ ⟺ s ≈ t .
Proof. By Proposition 6.13 , it holds that ≈ = ≈ a ≈ \approx= \approx_{\mathfrak a_{\approx}} ≈= ≈ a ≈ , i.e. s ≈ t s \approx t s ≈ t if, and only if, s − t ∈ a ≈ s-t \in\mathfrak a_{\approx} s − t ∈ a ≈ , for all s , t ∈ S s,t \in S s , t ∈ S . In the backward direction, if s ≈ t s \approx t s ≈ t , then s − t ∈ a ≈ ⊆ a ≈ s-t \in\mathfrak a_{\approx} \subseteq\sqrt{\mathfrak a_{\approx}} s − t ∈ a ≈ ⊆ a ≈ . In the forward direction, suppose that s − t ∈ a ≈ s-t \in\sqrt{\mathfrak a_{\approx}} s − t ∈ a ≈ , i.e. ( s − t ) n ∈ a ≈ (s-t)^n \in\mathfrak a_{\approx} ( s − t ) n ∈ a ≈ for some n ≥ 1 n \ge1 n ≥ 1 . By (24) ,
( s , t ) + n − ( s , t ) − n = ( s − t ) n ∈ a ≈ . (s,t)_{+}^{n}-(s,t)_{-}^{n}=(s-t)^n \in\mathfrak a_{\approx}. ( s , t ) + n − ( s , t ) − n = ( s − t ) n ∈ a ≈ .
As ( s , t ) + n (s,t)_{+}^{n} ( s , t ) + n and ( s , t ) − n (s,t)_{-}^{n} ( s , t ) − n are elements of S S S , this means that ( s , t ) + n ≈ ( s , t ) − n (s,t)_{+}^{n} \approx(s,t)_{-}^{n} ( s , t ) + n ≈ ( s , t ) − n . By (25) , it follows that s ≈ t s \approx t s ≈ t .
Lemma 6.25 is all we shall need, but in fact more is true:
Lemma 6.26. Let ≈ \approx ≈ be a torsion-free cancellative congruence on S S S . The relation ≈ \approx ≈ satisfies (25) if, and only if, the ideal a ≈ \mathfrak a_{\approx} a ≈ of C S CS C S is radical.
Proof. Suppose that a ≈ \mathfrak a_{\approx} a ≈ is radical and that ( s , t ) + n ≈ ( s , t ) − n (s,t)_{+}^{n} \approx(s,t)_{-}^{n} ( s , t ) + n ≈ ( s , t ) − n for some s , t ∈ S s,t \in S s , t ∈ S and n ≥ 1 n \ge1 n ≥ 1 . By (24) , ( s − t ) n = ( s , t ) + n − ( s , t ) − n ∈ a ≈ (s-t)^n=(s,t)_{+}^{n}-(s,t)_{-}^{n} \in\mathfrak a_{\approx} ( s − t ) n = ( s , t ) + n − ( s , t ) − n ∈ a ≈ , whence s − t ∈ a ≈ s-t \in\mathfrak a_{\approx} s − t ∈ a ≈ , i.e. s ≈ t s \approx t s ≈ t by Proposition 6.13 .
The converse requires the intermediate extension of scalars to Q S QS QS . Write a ≈ Q ⊆ Q S \mathfrak a_{\approx}^{\mathbb Q} \subseteq QS a ≈ Q ⊆ QS for the ideal corresponding to ≈ \approx ≈ under Proposition 6.7, and suppose that ≈ \approx ≈ satisfies (25) . Every element of Q S QS QS is of the form x = s − t n x=\frac{s-t}{n} x = n s − t for s , t ∈ S s,t \in S s , t ∈ S and n ≥ 1 n \ge1 n ≥ 1 . If x m ∈ a ≈ Q x^m \in\mathfrak a_{\approx}^{\mathbb Q} x m ∈ a ≈ Q for some m ≥ 1 m \ge1 m ≥ 1 , then, as a ≈ Q \mathfrak a_{\approx}^{\mathbb Q} a ≈ Q is an ideal of the Q \mathbb Q Q -algebra Q S QS QS ,
( s , t ) + m − ( s , t ) − m = ( s − t ) m = n m x m ∈ a ≈ Q (s,t)_{+}^{m}-(s,t)_{-}^{m}=(s-t)^m=n^m x^m \in\mathfrak a_{\approx}^{\mathbb Q} ( s , t ) + m − ( s , t ) − m = ( s − t ) m = n m x m ∈ a ≈ Q
i.e. ( s , t ) + m ≈ ( s , t ) − m (s,t)_{+}^{m} \approx(s,t)_{-}^{m} ( s , t ) + m ≈ ( s , t ) − m . By (25) , s ≈ t s \approx t s ≈ t , so that x = 1 n ( s − t ) ∈ a ≈ Q x=\frac{1}{n}(s-t) \in\mathfrak a_{\approx}^{\mathbb Q} x = n 1 ( s − t ) ∈ a ≈ Q . Hence, a ≈ Q \mathfrak a_{\approx}^{\mathbb Q} a ≈ Q is radical, equivalently, the quotient Q S / a ≈ Q QS/\mathfrak a_{\approx}^{\mathbb Q} QS / a ≈ Q is reduced [53 Tag 01IZ] , i.e. has no non-zero nilpotents. As Q \mathbb Q Q has characteristic zero, it is perfect [53 Tag 030Y] , so that Q S / a ≈ Q QS/\mathfrak a_{\approx}^{\mathbb Q} QS / a ≈ Q is geometrically reduced [53 Tag 030S] over Q \mathbb Q Q by [53 Tag 00I4] ; in particular, C ⊗ Q ( Q S / a ≈ Q ) \mathbb C \otimes_{\mathbb Q}(QS/\mathfrak a_{\approx}^{\mathbb Q}) C ⊗ Q ( QS / a ≈ Q ) is reduced. By the definitions in § 10.2 and § 10.3 , the ideal a ≈ \mathfrak a_{\approx} a ≈ consists of the finite sums ∑ i α i x i \sum_i \alpha_i x_i ∑ i α i x i with α i ∈ C \alpha_i \in\mathbb C α i ∈ C and x i ∈ a ≈ Q x_i \in\mathfrak a_{\approx}^{\mathbb Q} x i ∈ a ≈ Q , i.e. a ≈ = C ⊗ Q a ≈ Q \mathfrak a_{\approx}=\mathbb C\otimes_{\mathbb Q}\mathfrak a_{\approx}^{\mathbb Q} a ≈ = C ⊗ Q a ≈ Q as C \mathbb C C is flat [53 Tag 00HB] over Q \mathbb Q Q . The same flatness identifies the reduced ring above with C S / a ≈ CS/\mathfrak a_{\approx} C S / a ≈ , whence a ≈ \mathfrak a_{\approx} a ≈ is radical.
Semiring congruences from semiring homomorphism indistinguishability
In this section, we prove Theorem 3.1 which characterises the graph isomorphism relaxations that are of the form G ≈ H ⟺ ∀ φ ∈ Φ . φ ( G ) = φ ( H ) G \approx H \Longleftrightarrow\forall\varphi\in\Phi.\ \varphi(G)=\varphi(H) G ≈ H ⟺ ∀ φ ∈ Φ. φ ( G ) = φ ( H ) for some set Φ ⊆ Hom ( G ∘ , C ) \Phi\subseteq\operatorname{Hom}(\mathcal G^\circ,\mathbb C) Φ ⊆ Hom ( G ∘ , C ) of semiring homomorphisms. Since this statement does not involve the combinatorics of G ∘ \mathcal G^\circ G ∘ , we prove the following general statement, which holds for any countable commutative cancellative semiring.
Theorem 6.27. Let S S S be a countable commutative cancellative semiring and let ≈ \approx ≈ be an equivalence relation on S S S . There exists a set Φ ⊆ Hom ( S , C ) \Phi\subseteq\operatorname{Hom}(S,\mathbb C) Φ ⊆ Hom ( S , C ) such that, for all s , t ∈ S s,t \in S s , t ∈ S ,
s ≈ t ⟺ ∀ φ ∈ Φ . φ ( s ) = φ ( t ) s \approx t \Longleftrightarrow\forall\varphi\in\Phi.\ \varphi(s)=\varphi(t) s ≈ t ⟺ ∀ φ ∈ Φ. φ ( s ) = φ ( t )
if, and only if, for all s , t , r ∈ S s,t,r \in S s , t , r ∈ S and n ≥ 1 n \ge1 n ≥ 1 ,
( s ≈ t ) ⟹ s + r ≈ t + r (s \approx t) \Longrightarrow s+r \approx t+r ( s ≈ t ) ⟹ s + r ≈ t + r ,
( s ≈ t ) ⟹ s ⋅ r ≈ t ⋅ r (s \approx t) \Longrightarrow s \cdot r \approx t \cdot r ( s ≈ t ) ⟹ s ⋅ r ≈ t ⋅ r ,
s + r ≈ t + r ⟹ s ≈ t s+r \approx t+r \Longrightarrow s \approx t s + r ≈ t + r ⟹ s ≈ t ,
n s ≈ n t ⟹ s ≈ t ns \approx nt \Longrightarrow s \approx t n s ≈ n t ⟹ s ≈ t ,
(v) ( s , t ) + n ≈ ( s , t ) − n ⟹ s ≈ t (s,t)^n_+ \approx(s,t)^n_- \Longrightarrow s \approx t ( s , t ) + n ≈ ( s , t ) − n ⟹ s ≈ t .
Proof. Suppose first that there exists a set Φ ⊆ Hom ( S , C ) \Phi\subseteq\operatorname{Hom}(S,\mathbb{C}) Φ ⊆ Hom ( S , C ) such that s ≈ t s \approx t s ≈ t if, and only if, φ ( s ) = φ ( t ) \varphi(s)=\varphi(t) φ ( s ) = φ ( t ) for all φ ∈ Φ \varphi\in\Phi φ ∈ Φ . Let s , t , r ∈ S s,t,r \in S s , t , r ∈ S , let n ≥ 1 n \ge1 n ≥ 1 , and let φ ∈ Φ \varphi\in\Phi φ ∈ Φ . Assertions (i) and (ii) hold since φ ( s + r ) = φ ( s ) + φ ( r ) \varphi(s+r)=\varphi(s)+\varphi(r) φ ( s + r ) = φ ( s ) + φ ( r ) and φ ( s ⋅ r ) = φ ( s ) ⋅ φ ( r ) \varphi(s\cdot r)=\varphi(s)\cdot\varphi(r) φ ( s ⋅ r ) = φ ( s ) ⋅ φ ( r ) , and analogously with t t t in place of s s s . Assertion (iii) holds since φ ( s ) + φ ( r ) = φ ( t ) + φ ( r ) \varphi(s)+\varphi(r)=\varphi(t)+\varphi(r) φ ( s ) + φ ( r ) = φ ( t ) + φ ( r ) implies φ ( s ) = φ ( t ) \varphi(s)=\varphi(t) φ ( s ) = φ ( t ) . Assertion (iv) holds since φ ( n s ) = n φ ( s ) \varphi(ns)=n\varphi(s) φ ( n s ) = n φ ( s ) and φ ( n t ) = n φ ( t ) \varphi(nt)=n\varphi(t) φ ( n t ) = n φ ( t ) , and n φ ( s ) = n φ ( t ) n\varphi(s)=n\varphi(t) n φ ( s ) = n φ ( t ) implies φ ( s ) = φ ( t ) \varphi(s)=\varphi(t) φ ( s ) = φ ( t ) , as C \mathbb{C} C is of characteristic zero. For Assertion (v), observe that, by the Binomial Theorem,
φ ( ( s , t ) + n ) − φ ( ( s , t ) − n ) = ∑ i = 0 n ( n i ) φ ( s ) n − i ( − φ ( t ) ) i = ( φ ( s ) − φ ( t ) ) n . \varphi\left((s,t)^n_+\right)-\varphi\left((s,t)^n_-\right)=\sum_{i=0}^{n}\binom{n}{i}\varphi(s)^{n-i}(-\varphi(t))^i=(\varphi(s)-\varphi(t))^n. φ ( ( s , t ) + n ) − φ ( ( s , t ) − n ) = i = 0 ∑ n ( i n ) φ ( s ) n − i ( − φ ( t ) ) i = ( φ ( s ) − φ ( t ) ) n .
Hence, if ( s , t ) + n ≈ ( s , t ) − n (s,t)^n_+ \approx(s,t)^n_- ( s , t ) + n ≈ ( s , t ) − n , then ( φ ( s ) − φ ( t ) ) n = 0 (\varphi(s)-\varphi(t))^n=0 ( φ ( s ) − φ ( t ) ) n = 0 and thus φ ( s ) = φ ( t ) \varphi(s)=\varphi(t) φ ( s ) = φ ( t ) , for every φ ∈ Φ \varphi\in\Phi φ ∈ Φ . That is, s ≈ t s \approx t s ≈ t .
Conversely, suppose that ≈ \approx ≈ satisfies Assertions (i) to (v). Assertions (i) and (iii) are the two directions of (15) , Assertion (ii) is (16) , and Assertion (iv) states that ≈ \approx ≈ is torsion-free. Hence, ≈ \approx ≈ is a torsion-free cancellative congruence on S S S . By Proposition 6.13 ,
a : = a ≈ = { ∑ i α i s i − t i n i ∈ C S ∣ α i ∈ C , n i ≥ 1 , s i ≈ t i } \mathfrak{a}:=\mathfrak{a}_{\approx}=\left\{\left.\sum_i\alpha_i\frac{s_i-t_i}{n_i}\in\mathbb{C}S\ \right|\ \alpha_i\in\mathbb{C},\ n_i\ge1,\ s_i\approx t_i\right\} a := a ≈ = { i ∑ α i n i s i − t i ∈ C S α i ∈ C , n i ≥ 1 , s i ≈ t i }
is an ideal of C S \mathbb{C}S C S such that, for all s , t ∈ S s,t\in S s , t ∈ S , it holds that s ≈ t s\approx t s ≈ t if, and only if, s − t ∈ a s-t\in\mathfrak{a} s − t ∈ a . Furthermore, Assertion (v) is (25) .
Since S S S is countable, Theorem 6.19 applies. Writing Φ : = V ( a ) ⊆ Hom ( S , C ) \Phi:=V(\mathfrak{a})\subseteq\operatorname{Hom}(S,\mathbb{C}) Φ := V ( a ) ⊆ Hom ( S , C ) , it yields
I ( Φ ) = I ( V ( a ) ) = a . I(\Phi)=I(V(\mathfrak{a}))=\sqrt{\mathfrak{a}}. I ( Φ ) = I ( V ( a )) = a .
Therefore, for all s , t ∈ S s,t\in S s , t ∈ S ,
s ≈ t ⟺ s − t ∈ a = I ( Φ ) ⟺ ∀ φ ∈ Φ . φ ( s ) − φ ( t ) = 0 , s\approx t\Longleftrightarrow s-t\in\mathfrak{a}=\mathit{I}(\Phi)\Longleftrightarrow\forall\varphi\in\Phi.\ \varphi(s)-\varphi(t)=0, s ≈ t ⟺ s − t ∈ a = I ( Φ ) ⟺ ∀ φ ∈ Φ. φ ( s ) − φ ( t ) = 0 ,
where the first equivalence is Lemma 6.25. This is the desired characterisation of ≈ \approx ≈ .
Theorem 6.27 readily implies the following theorem via Lemma 2.1.
Theorem 3.1. Let ≈ \approx ≈ be a graph isomorphism relaxation. The relation ≈ \approx ≈ satisfies Equations (6) to (10) if, and only if, there exists a set Φ ⊆ Hom ( G ∘ , C ) \Phi\subseteq\operatorname{Hom}(\mathcal{G}^{\circ},\mathbb{C}) Φ ⊆ Hom ( G ∘ , C ) such that, for all graphs G , H ∈ G ∘ G,H\in\mathcal{G}^{\circ} G , H ∈ G ∘ ,
G ≈ H ⟺ ∀ φ ∈ Φ . φ ( G ) = φ ( H ) . G\approx H\Longleftrightarrow\forall\varphi\in\Phi.\ \varphi(G)=\varphi(H). G ≈ H ⟺ ∀ φ ∈ Φ. φ ( G ) = φ ( H ) .
Subgraph series
So far we have not made use of the combinatorics of G ∘ \mathcal{G}^{\circ} G ∘ . Given Theorem 3.1, it remains to understand the semiring homomorphisms φ ∈ Hom ( G ∘ , C ) \varphi\in\operatorname{Hom}(\mathcal{G}^{\circ},\mathbb{C}) φ ∈ Hom ( G ∘ , C ) that are of the form hom ( F , ⋆ ) \operatorname{hom}(F,\star) hom ( F , ⋆ ) for some connected graph F F F . Towards this goal, we observe that every graph parameter G ∘ → C \mathcal{G}^{\circ}\to\mathbb{C} G ∘ → C can be uniquely expressed as an infinite linear combination of subgraph counts sub ( F , ⋆ ) \operatorname{sub}(F,\star) sub ( F , ⋆ ) .
Unique coefficients and support
For a graph F F F and sets S ⊆ V ( F ) S\subseteq V(F) S ⊆ V ( F ) and E ′ ⊆ E ( F ) E'\subseteq E(F) E ′ ⊆ E ( F ) , write F [ S , E ′ ] F[S,E'] F [ S , E ′ ] for the subgraph of F F F with vertex set S S S whose edges are precisely those edges of E ′ E' E ′ all of whose endpoints lie in S S S . The subgraphs of F F F are exactly the graphs of this form. We abbreviate the induced subgraph F [ S ] : = F [ S , E ( F ) ] F[S]:=F[S,E(F)] F [ S ] := F [ S , E ( F )] .
Lemma 6.28. Let p : G ∘ → C p:\mathcal{G}^{\circ}\to\mathbb{C} p : G ∘ → C be a graph parameter. For a graph F ∈ G ∘ F\in\mathcal{G}^{\circ} F ∈ G ∘ , let
α F : = ∑ S ⊆ V ( F ) ∑ E ′ ⊆ E ( F ) ( − 1 ) ∣ V ( F ) ∖ S ∣ + ∣ E ( F ) ∖ E ′ ∣ p ( F [ S , E ′ ] ) ∈ C . \alpha_F:=\sum_{S\subseteq V(F)}\sum_{E'\subseteq E(F)}(-1)^{|V(F)\setminus S|+|E(F)\setminus E'|}p(F[S,E'])\in\mathbb{C}. α F := S ⊆ V ( F ) ∑ E ′ ⊆ E ( F ) ∑ ( − 1 ) ∣ V ( F ) ∖ S ∣ + ∣ E ( F ) ∖ E ′ ∣ p ( F [ S , E ′ ]) ∈ C . Then p ( ⋆ ) = ∑ F α F sub ( F , ⋆ ) p(\star)=\sum_F\alpha_F\operatorname{sub}(F,\star) p ( ⋆ ) = ∑ F α F sub ( F , ⋆ ) , where for every input graph G G G only finitely many summands are non-zero. Moreover, the α F \alpha_F α F are the unique complex numbers with this property.
We call ∑ F α F sub ( F , ⋆ ) \sum_F\alpha_F\operatorname{sub}(F,\star) ∑ F α F sub ( F , ⋆ ) the subgraph series of the graph parameter p ( ⋆ ) p(\star) p ( ⋆ ) . Here, we adopt the convention that the indices F ∈ G ∘ F\in\mathcal{G}^{\circ} F ∈ G ∘ are pairwise non-isomorphic.
Proof. Uniqueness. Suppose that ∑ F α F sub ( F , ⋆ ) = ∑ F α F ′ sub ( F , ⋆ ) \sum_F\alpha_F\operatorname{sub}(F,\star)=\sum_F\alpha'_F\operatorname{sub}(F,\star) ∑ F α F sub ( F , ⋆ ) = ∑ F α F ′ sub ( F , ⋆ ) and write γ F : = α F − α F ′ \gamma_F:=\alpha_F-\alpha'_F γ F := α F − α F ′ , so that ∑ F γ F sub ( F , ⋆ ) \sum_F\gamma_F\operatorname{sub}(F,\star) ∑ F γ F sub ( F , ⋆ ) vanishes identically. We show that γ F 0 = 0 \gamma_{F_0}=0 γ F 0 = 0 for every F 0 ∈ G ∘ F_0\in\mathcal{G}^{\circ} F 0 ∈ G ∘ by induction along the lexicographic order on the pairs ( ∣ V ( F 0 ) ∣ , ∣ E ( F 0 ) ∣ ) ∈ N 2 (|V(F_0)|,|E(F_0)|)\in\mathbb{N}^2 ( ∣ V ( F 0 ) ∣ , ∣ E ( F 0 ) ∣ ) ∈ N 2 . So let F 0 ∈ G ∘ F_0\in\mathcal{G}^{\circ} F 0 ∈ G ∘ and suppose that γ F = 0 \gamma_F=0 γ F = 0 for every graph F F F whose pair is lexicographically smaller than that of F 0 F_0 F 0 . Every F ≇ F 0 F\not\cong F_0 F ≅ F 0 with sub ( F , F 0 ) ≠ 0 \operatorname{sub}(F,F_0)\ne0 sub ( F , F 0 ) = 0 is such a graph, as ∣ V ( F ) ∣ ≤ ∣ V ( F 0 ) ∣ |V(F)|\leq|V(F_0)| ∣ V ( F ) ∣ ≤ ∣ V ( F 0 ) ∣ and ∣ E ( F ) ∣ ≤ ∣ E ( F 0 ) ∣ |E(F)|\leq|E(F_0)| ∣ E ( F ) ∣ ≤ ∣ E ( F 0 ) ∣ with equality in both only if F ≅ F 0 F\cong F_0 F ≅ F 0 . Evaluating at F 0 F_0 F 0 therefore yields
0 = ∑ F γ F sub ( F , F 0 ) = γ F 0 sub ( F 0 , F 0 ) = γ F 0 . 0=\sum_F\gamma_F\operatorname{sub}(F,F_0)=\gamma_{F_0}\operatorname{sub}(F_0,F_0)=\gamma_{F_0}. 0 = F ∑ γ F sub ( F , F 0 ) = γ F 0 sub ( F 0 , F 0 ) = γ F 0 .
Existence. We apply Möbius inversion over the Boolean lattice (Lemma A.1) twice. Define the graph parameter
q ( K ) : = ∑ S ⊆ V ( K ) ( − 1 ) ∣ V ( K ) ∖ S ∣ p ( K [ S ] ) for K ∈ G ∘ . q(K):=\sum_{S\subseteq V(K)}(-1)^{|V(K)\setminus S|}p(K[S])\qquad\text{for }K\in\mathcal{G}^{\circ}. q ( K ) := S ⊆ V ( K ) ∑ ( − 1 ) ∣ V ( K ) ∖ S ∣ p ( K [ S ]) for K ∈ G ∘ .
The graph F [ V ( F ) , E ′ ] F[V(F),E'] F [ V ( F ) , E ′ ] has vertex set V ( F ) V(F) V ( F ) and satisfies F [ V ( F ) , E ′ ] [ S ] = F [ S , E ′ ] F[V(F),E'][S]=F[S,E'] F [ V ( F ) , E ′ ] [ S ] = F [ S , E ′ ] , so that q ( F [ V ( F ) , E ′ ] ) = ∑ S ⊆ V ( F ) ( − 1 ) ∣ V ( F ) ∖ S ∣ p ( F [ S , E ′ ] ) q(F[V(F),E'])=\sum_{S\subseteq V(F)}(-1)^{|V(F)\setminus S|}p(F[S,E']) q ( F [ V ( F ) , E ′ ]) = ∑ S ⊆ V ( F ) ( − 1 ) ∣ V ( F ) ∖ S ∣ p ( F [ S , E ′ ]) . Exchanging the order of summation in the definition of α F \alpha_F α F therefore gives
α F = ∑ E ′ ⊆ E ( F ) ( − 1 ) ∣ E ( F ) ∖ E ′ ∣ q ( F [ V ( F ) , E ′ ] ) . (26) \alpha_F=\sum_{E'\subseteq E(F)}(-1)^{|E(F)\setminus E'|}q(F[V(F),E']). \tag*{(26)} α F = E ′ ⊆ E ( F ) ∑ ( − 1 ) ∣ E ( F ) ∖ E ′ ∣ q ( F [ V ( F ) , E ′ ]) . (26)
We claim that, for all graphs G , K ∈ G ∘ G,K\in\mathcal{G}^{\circ} G , K ∈ G ∘ ,
p ( G ) = ∑ S ⊆ V ( G ) q ( G [ S ] ) . (27) p(G)=\sum_{S\subseteq V(G)}q(G[S]). \tag*{(27)} p ( G ) = S ⊆ V ( G ) ∑ q ( G [ S ]) . (27)
q ( K ) = ∑ E ′ ⊆ E ( K ) α K [ V ( K ) , E ′ ] . (28) q(K)=\sum_{E'\subseteq E(K)}\alpha_{K[V(K),E']}. \tag*{(28)} q ( K ) = E ′ ⊆ E ( K ) ∑ α K [ V ( K ) , E ′ ] . (28)
Both are instances of Lemma A.1, i.e. of Möbius inversion over a Boolean lattice. For (27) , apply it to X : = V ( G ) X:=V(G) X := V ( G ) and to f ( S ) : = p ( G [ S ] ) f(S):=p(G[S]) f ( S ) := p ( G [ S ]) and g ( S ) : = q ( G [ S ] ) g(S):=q(G[S]) g ( S ) := q ( G [ S ]) : as G [ S ] [ T ] = G [ T ] G[S][T]=G[T] G [ S ] [ T ] = G [ T ] for T ⊆ S T\subseteq S T ⊆ S , the definition of q q q states precisely that g ( S ) = ∑ T ⊆ S ( − 1 ) ∣ S ∖ T ∣ f ( T ) g(S)=\sum_{T\subseteq S}(-1)^{|S\setminus T|}f(T) g ( S ) = ∑ T ⊆ S ( − 1 ) ∣ S ∖ T ∣ f ( T ) , so that f ( S ) = ∑ T ⊆ S g ( T ) f(S)=\sum_{T\subseteq S}g(T) f ( S ) = ∑ T ⊆ S g ( T ) ; now take S : = V ( G ) S:=V(G) S := V ( G ) . For (28) , apply it to X : = E ( K ) X:=E(K) X := E ( K ) and to f ( E ′ ) : = q ( K [ V ( K ) , E ′ ] ) f(E'):=q(K[V(K),E']) f ( E ′ ) := q ( K [ V ( K ) , E ′ ]) and g ( E ′ ) : = α K [ V ( K ) , E ′ ] g(E'):=\alpha_{K[V(K),E']} g ( E ′ ) := α K [ V ( K ) , E ′ ] : as K [ V ( K ) , E ′ ] [ V ( K ) , E ′ ′ ] = K [ V ( K ) , E ′ ′ ] K[V(K),E'][V(K),E'']=K[V(K),E''] K [ V ( K ) , E ′ ] [ V ( K ) , E ′′ ] = K [ V ( K ) , E ′′ ] for E ′ ′ ⊆ E ′ E''\subseteq E' E ′′ ⊆ E ′ , (26) states precisely that g ( E ′ ) = ∑ E ′ ′ ⊆ E ′ ( − 1 ) ∣ E ′ ∖ E ′ ′ ∣ f ( E ′ ′ ) g(E')=\sum_{E''\subseteq E'}(-1)^{|E'\setminus E''|}f(E'') g ( E ′ ) = ∑ E ′′ ⊆ E ′ ( − 1 ) ∣ E ′ ∖ E ′′ ∣ f ( E ′′ ) , so that f ( E ′ ) = ∑ E ′ ′ ⊆ E ′ g ( E ′ ′ ) f(E')=\sum_{E''\subseteq E'}g(E'') f ( E ′ ) = ∑ E ′′ ⊆ E ′ g ( E ′′ ) ; now take E ′ : = E ( K ) E':=E(K) E ′ := E ( K ) .
Finally, let G ∈ G ∘ G\in\mathcal{G}^{\circ} G ∈ G ∘ be arbitrary. Every subgraph of G G G is of the form G [ S , E ′ ] G[S,E'] G [ S , E ′ ] for a unique pair of sets S ⊆ V ( G ) S\subseteq V(G) S ⊆ V ( G ) and E ′ ⊆ E ( G [ S ] ) E'\subseteq E(G[S]) E ′ ⊆ E ( G [ S ]) , and G [ S ] [ V ( G [ S ] ) , E ′ ] = G [ S , E ′ ] G[S][V(G[S]),E']=G[S,E'] G [ S ] [ V ( G [ S ]) , E ′ ] = G [ S , E ′ ] for such a pair. Hence, grouping the subgraphs of G G G by their isomorphism types,
∑ F α F sub ( F , G ) = ∑ G ′ ⊆ G α G ′ = ∑ S ⊆ V ( G ) ∑ E ′ ⊆ E ( G [ S ] ) α G [ S , E ′ ] = (28) ∑ S ⊆ V ( G ) q ( G [ S ] ) = (27) p ( G ) , \sum_F\alpha_F\operatorname{sub}(F,G)=\sum_{G'\subseteq G}\alpha_{G'}=\sum_{S\subseteq V(G)}\sum_{E'\subseteq E(G[S])}\alpha_{G[S,E']} \mathrel{\overset{\text{\scriptsize(28)}}{=}}\sum_{S\subseteq V(G)}q(G[S]) \mathrel{\overset{\text{\scriptsize(27)}}{=}}p(G), F ∑ α F sub ( F , G ) = G ′ ⊆ G ∑ α G ′ = S ⊆ V ( G ) ∑ E ′ ⊆ E ( G [ S ]) ∑ α G [ S , E ′ ] = (28) S ⊆ V ( G ) ∑ q ( G [ S ]) = (27) p ( G ) ,
where all sums are finite.
By Lemma 6.28 , the coefficients of the subgraph series are uniquely determined by p p p . Hence, the following notion is well-defined.
Definition 6.29. For a graph parameter p : G ∘ → C p : \mathcal{G}^{\circ} \to\mathbb{C} p : G ∘ → C , let α F ∈ C \alpha_F \in\mathbb{C} α F ∈ C for F ∈ G ∘ F \in\mathcal{G}^{\circ} F ∈ G ∘ be as in Lemma 6.28 and define the support of p p p as the graph class supp ( p ) : = { F ∈ G ∘ ∣ α F ≠ 0 } \operatorname{supp}(p) := \{F \in\mathcal{G}^{\circ} \mid\alpha_F \ne0\} supp ( p ) := { F ∈ G ∘ ∣ α F = 0 } .
Recalling c F ∈ Z G ∘ c_F \in\mathbb{Z}\mathcal{G}^{\circ} c F ∈ Z G ∘ from Equation (12) , we prove the following lemma, which allows us to recast the support of a semiring homomorphism φ \varphi φ in terms of its values. Note that, in contrast to Definition 6.29 and Lemma 6.28 , this requires p p p to be a semiring homomorphism.
Lemma 6.30. Let φ ∈ Hom ( G ∘ , C ) \varphi\in\operatorname{Hom}(\mathcal{G}^{\circ}, \mathbb{C}) φ ∈ Hom ( G ∘ , C ) and let F ∈ G ∘ F \in\mathcal{G}^{\circ} F ∈ G ∘ . Then φ ( c F ) = α F \varphi(c_F) = \alpha_F φ ( c F ) = α F , where α F \alpha_F α F denotes the coefficient of F F F in the subgraph series of φ \varphi φ . In particular, φ ( c F ) = 0 \varphi(c_F) = 0 φ ( c F ) = 0 if, and only if, F ∉ supp ( φ ) F \notin\operatorname{supp}(\varphi) F ∈ / supp ( φ ) .
Proof. By Lemma 6.16 , φ \varphi φ extends to a C \mathbb{C} C -algebra homomorphism C G ∘ → C \mathbb{C}\mathcal{G}^{\circ} \to\mathbb{C} C G ∘ → C , which we again denote by φ \varphi φ . In particular, φ \varphi φ is C \mathbb{C} C -linear, and hence, recalling Equation (12) and Lemma 6.28 ,
φ ( c F ) = ∑ S ⊆ V ( F ) ∑ E ′ ⊆ E ( F ) ( − 1 ) ∣ V ( F ) ∖ S ∣ + ∣ E ( F ) ∖ E ′ ∣ φ ( F [ S , E ′ ] ) = α F . \varphi(c_F)=\sum_{S\subseteq V(F)}\sum_{E'\subseteq E(F)}(-1)^{|V(F)\setminus S|+|E(F)\setminus E'|}\varphi(F[S,E'])=\alpha_F. φ ( c F ) = S ⊆ V ( F ) ∑ E ′ ⊆ E ( F ) ∑ ( − 1 ) ∣ V ( F ) ∖ S ∣ + ∣ E ( F ) ∖ E ′ ∣ φ ( F [ S , E ′ ]) = α F .
Hence, φ ( c F ) = 0 \varphi(c_F) = 0 φ ( c F ) = 0 if, and only if, α F = 0 \alpha_F = 0 α F = 0 , that is, if, and only if, F ∉ supp ( φ ) F \notin\operatorname{supp}(\varphi) F ∈ / supp ( φ ) .
Finally, note that the double Möbius inversion in Lemma 6.28 is essential. One may be tempted to invert over edge subsets only as done in [39 Section 4.1] , that is, to expand p p p into counts of spanning subgraphs. The following remark explains why this is not sufficient for our purposes.
Graph motif parameters
Of particular importance are subgraph series with finite support. These were studied by Curticapean, Dell, & Marx [36 ] under the term graph motif parameter , see also the survey [38 ] .
Definition 6.32. A graph motif parameter is a function p : G ∘ → C p : \mathcal{G}^{\circ} \to\mathbb{C} p : G ∘ → C with finite support supp ( p ) \operatorname{supp}(p) supp ( p ) .
By definition, the functions sub ( F , ⋆ ) \operatorname{sub}(F,\star) sub ( F , ⋆ ) for F ∈ G ∘ F\in\mathcal{G}^{\circ} F ∈ G ∘ span the C \mathbb{C} C -vector space of graph motif parameters. It is implicit in the work of Lovász [1 ] that these functions form a basis of this space. In the following, it will be more convenient to work with an alternative basis of the space of graph motif parameters, the homomorphism basis . The basis change is given by [39 (5.18)] , i.e., for every F ∈ G ∘ F \in\mathcal{G}^{\circ} F ∈ G ∘ , it holds that
sub ( F , ⋆ ) = 1 aut ( F ) ∑ π μ π hom ( F / π , ⋆ ) , (29) \operatorname{sub}(F,\star)=\frac{1}{\operatorname{aut}(F)}\sum_{\pi}\mu_{\pi}\operatorname{hom}(F/\pi,\star), \tag*{(29)} sub ( F , ⋆ ) = aut ( F ) 1 π ∑ μ π hom ( F / π , ⋆ ) , (29)
where aut ( F ) \operatorname{aut}(F) aut ( F ) is the number of automorphisms of F F F , π \pi π ranges over partitions of V ( F ) V(F) V ( F ) , F / π F/\pi F / π is a suitably defined graph quotient, and the μ π \mu_{\pi} μ π are coefficients arising from Möbius inversion over the set-partition lattice. Hence, the homomorphism counts hom ( F , ⋆ ) \operatorname{hom}(F,\star) hom ( F , ⋆ ) for F ∈ G ∘ F \in\mathcal{G}^{\circ} F ∈ G ∘ span the space of graph motif parameters. In fact, they form a basis.
Theorem 6.33 (Lovász [1 ] , see also [39 Proposition 5.44b] ). For pairwise non-isomorphic graphs F 1 , … , F n ∈ G ∘ F_1,\ldots,F_n \in\mathcal{G}^{\circ} F 1 , … , F n ∈ G ∘ , the functions hom ( F 1 , ⋆ ) , … , hom ( F n , ⋆ ) : G ∘ → C \operatorname{hom}(F_1,\star),\ldots,\operatorname{hom}(F_n,\star):\mathcal{G}^{\circ}\to\mathbb{C} hom ( F 1 , ⋆ ) , … , hom ( F n , ⋆ ) : G ∘ → C are linearly independent.
We use Theorem 6.33 to characterise the graph motif parameters that are of the form hom ( F , ⋆ ) \operatorname{hom}(F,\star) hom ( F , ⋆ ) for some F ∈ G ∘ F \in\mathcal{G}^{\circ} F ∈ G ∘ , i.e., they are comprised only of a single homomorphism count. We write graph motif parameters in this basis as ∑ η F hom ( F , ⋆ ) \sum\eta_F\operatorname{hom}(F,\star) ∑ η F hom ( F , ⋆ ) , where, in contrast to the definition of subgraph series, all but finitely many coefficients η F \eta_F η F vanish.
Lemma 6.34. For every non-zero graph motif parameter p ( ⋆ ) = ∑ η F hom ( F , ⋆ ) p(\star)=\sum\eta_F\operatorname{hom}(F,\star) p ( ⋆ ) = ∑ η F hom ( F , ⋆ ) , the following are equivalent:
(i) p p p is multiplicative, i.e., p ( G ⊗ H ) = p ( G ) p ( H ) p(G\otimes H)=p(G)p(H) p ( G ⊗ H ) = p ( G ) p ( H ) for all G , H ∈ G ∘ G,H\in\mathcal{G}^{\circ} G , H ∈ G ∘ ,
(ii) p p p is of the form p ( ⋆ ) = hom ( F , ⋆ ) p(\star)=\operatorname{hom}(F,\star) p ( ⋆ ) = hom ( F , ⋆ ) for some graph F ∈ G ∘ F\in\mathcal{G}^{\circ} F ∈ G ∘ .
Proof. The backward direction is immediate from Equation (4) . Conversely, let G , H ∈ G ∘ G,H\in\mathcal{G}^{\circ} G , H ∈ G ∘ be arbitrary. By assumption and Equation (4) ,
∑ F , F ′ η F η F ′ hom ( F , G ) hom ( F ′ , H ) = p ( G ) p ( H ) = p ( G ⊗ H ) = ∑ F η F hom ( F , G ⊗ H ) = ∑ F η F hom ( F , G ) hom ( F , H ) . \begin{aligned}
\sum_{F,F'}\eta_F\eta_{F'}\operatorname{hom}(F,G)\operatorname{hom}(F',H)=p(G)p(H) \\
&=p(G\otimes H) \\
&=\sum_F\eta_F\operatorname{hom}(F,G\otimes H) \\
&=\sum_F\eta_F\operatorname{hom}(F,G)\operatorname{hom}(F,H).
\end{aligned} F , F ′ ∑ η F η F ′ hom ( F , G ) hom ( F ′ , H ) = p ( G ) p ( H ) = p ( G ⊗ H ) = F ∑ η F hom ( F , G ⊗ H ) = F ∑ η F hom ( F , G ) hom ( F , H ) .
For fixed H H H , we first view both sides as graph motif parameters in G G G . That is,
∑ F , F ′ η F η F ′ hom ( F , ⋆ ) hom ( F ′ , H ) = ∑ F η F hom ( F , ⋆ ) hom ( F , H ) . \sum_{F,F'}\eta_F\eta_{F'}\operatorname{hom}(F,\star)\operatorname{hom}(F',H)=\sum_F\eta_F\operatorname{hom}(F,\star)\operatorname{hom}(F,H). F , F ′ ∑ η F η F ′ hom ( F , ⋆ ) hom ( F ′ , H ) = F ∑ η F hom ( F , ⋆ ) hom ( F , H ) .
Since the functions hom ( F , ⋆ ) \operatorname{hom}(F,\star) hom ( F , ⋆ ) are linearly independent by Theorem 6.33 , i.e. they form a basis of the space of graph motif parameters, we may compare coefficients and obtain
η F ∑ F ′ η F ′ hom ( F ′ , H ) = η F hom ( F , H ) . \eta_F\sum_{F'}\eta_{F'}\operatorname{hom}(F',H)=\eta_F\operatorname{hom}(F,H). η F F ′ ∑ η F ′ hom ( F ′ , H ) = η F hom ( F , H ) .
Fix F F F with η F ≠ 0 \eta_F\ne0 η F = 0 , which exists since p p p is non-zero, and divide both sides by η F \eta_F η F . Since H H H was chosen arbitrarily, we can view this identity as an identity of graph motif parameters
∑ F ′ η F ′ hom ( F ′ , ⋆ ) = hom ( F , ⋆ ) \sum_{F'}\eta_{F'}\operatorname{hom}(F',\star)=\operatorname{hom}(F,\star) F ′ ∑ η F ′ hom ( F ′ , ⋆ ) = hom ( F , ⋆ )
and compare coefficients. Hence, η F ′ = 0 \eta_{F'}=0 η F ′ = 0 for all F ′ ≇ F F'\not\cong F F ′ ≅ F and η F = 1 \eta_F=1 η F = 1 . In particular, p ( ⋆ ) = hom ( F , ⋆ ) p(\star)=\operatorname{hom}(F,\star) p ( ⋆ ) = hom ( F , ⋆ ) for some F ∈ G ∘ F\in\mathcal{G}^{\circ} F ∈ G ∘ , as desired. □
We deduce the following characterisation of homomorphism counts alternative to Lovász & Schrijver [3 ] .
Corollary 6.35. A non-zero function p : G ∘ → C p : \mathcal{G}^{\circ} \to\mathbb{C} p : G ∘ → C is of the form p ( ⋆ ) = hom ( F , ⋆ ) p(\star) = \operatorname{hom}(F,\star) p ( ⋆ ) = hom ( F , ⋆ ) for some graph F ∈ G ∘ F \in\mathcal{G}^{\circ} F ∈ G ∘ if, and only if, it is multiplicative and has finite support.
Finally, we characterise the homomorphism counts hom ( F , ⋆ ) \operatorname{hom}(F,\star) hom ( F , ⋆ ) which are semiring homomorphisms G ∘ → C \mathcal{G}^{\circ} \to\mathbb{C} G ∘ → C . For a more general statement, compare [39 Exercise 4.2] .
Lemma 6.36. For every graph F ∈ G ∘ F \in\mathcal{G}^{\circ} F ∈ G ∘ , the following are equivalent:
(i) hom ( F , ⋆ ) \operatorname{hom}(F,\star) hom ( F , ⋆ ) is additive, i.e., hom ( F , G + H ) = hom ( F , G ) + hom ( F , H ) \operatorname{hom}(F,G+H)=\operatorname{hom}(F,G)+\operatorname{hom}(F,H) hom ( F , G + H ) = hom ( F , G ) + hom ( F , H ) for all G , H ∈ G ∘ G,H \in\mathcal{G}^{\circ} G , H ∈ G ∘ ,
(ii) F F F is connected.
Proof. The backward direction is immediate from Equation (5) . Conversely, let F 1 + ⋯ + F n = F F_1+\cdots+F_n=F F 1 + ⋯ + F n = F be the connected components of F F F . Let G ∈ G ∘ G \in\mathcal{G}^{\circ} G ∈ G ∘ be arbitrary. By Equations (3) and (5) , we have
hom ( F , G + 1 ) = ∏ i ∈ [ n ] hom ( F i , G + 1 ) = ∏ i ∈ [ n ] ( hom ( F i , G ) + hom ( F i , 1 ) ) = ∑ S ⊆ [ n ] hom ( ∑ s ∈ S F s , G ) hom ( ∑ t ∈ [ n ] ∖ S F t , 1 ) = ∑ S ⊆ [ n ] hom ( ∑ s ∈ S F s , G ) . \begin{aligned}
\operatorname{hom}(F,G+1) &= \prod_{i\in[n]} \operatorname{hom}(F_i,G+1) \\
&= \prod_{i\in[n]} \left(\operatorname{hom}(F_i,G)+\operatorname{hom}(F_i,1)\right) \\
&= \sum_{S\subseteq[n]} \operatorname{hom}\left(\sum_{s\in S}F_s,G\right)\operatorname{hom}\left(\sum_{t\in[n]\setminus S}F_t,1\right) \\
&= \sum_{S\subseteq[n]} \operatorname{hom}\left(\sum_{s\in S}F_s,G\right).
\end{aligned} hom ( F , G + 1 ) = i ∈ [ n ] ∏ hom ( F i , G + 1 ) = i ∈ [ n ] ∏ ( hom ( F i , G ) + hom ( F i , 1 ) ) = S ⊆ [ n ] ∑ hom ( s ∈ S ∑ F s , G ) hom t ∈ [ n ] ∖ S ∑ F t , 1 = S ⊆ [ n ] ∑ hom ( s ∈ S ∑ F s , G ) .
By the assumption that hom ( F , G + 1 ) = hom ( F , G ) + hom ( F , 1 ) \operatorname{hom}(F,G+1)=\operatorname{hom}(F,G)+\operatorname{hom}(F,1) hom ( F , G + 1 ) = hom ( F , G ) + hom ( F , 1 ) ,
∑ S ⊆ [ n ] hom ( ∑ s ∈ S F s , G ) = hom ( F , G ) + 1. \sum_{S\subseteq[n]} \operatorname{hom}\left(\sum_{s\in S}F_s,G\right)=\operatorname{hom}(F,G)+1. S ⊆ [ n ] ∑ hom ( s ∈ S ∑ F s , G ) = hom ( F , G ) + 1.
In particular,
∑ ∅ ≠ S ⊆ [ n ] hom ( ∑ s ∈ S F s , G ) = hom ( F , G ) . \sum_{\varnothing\ne S\subseteq[n]} \operatorname{hom}\left(\sum_{s\in S}F_s,G\right)=\operatorname{hom}(F,G). ∅ = S ⊆ [ n ] ∑ hom ( s ∈ S ∑ F s , G ) = hom ( F , G ) .
We view these expressions as a graph motif parameter in G G G , i.e.
∑ ∅ ≠ S ⊆ [ n ] hom ( ∑ s ∈ S F s , ⋆ ) = hom ( F , ⋆ ) . \sum_{\varnothing\ne S\subseteq[n]} \operatorname{hom}\left(\sum_{s\in S}F_s,\star\right)=\operatorname{hom}(F,\star). ∅ = S ⊆ [ n ] ∑ hom ( s ∈ S ∑ F s , ⋆ ) = hom ( F , ⋆ ) .
All coefficients on the left-hand side are non-negative, which rules out cancellations. There is only one pattern on the right-hand side. By comparing coefficients by virtue of Theorem 6.33 , there is only one pattern on the left-hand side. Hence, n = 1 n=1 n = 1 , as desired.
Combining the lemmas above, we obtain our characterisation.
Theorem 3.3. A semiring homomorphism φ ∈ Hom ( G ∘ , C ) \varphi\in\operatorname{Hom}(\mathcal{G}^{\circ},\mathbb{C}) φ ∈ Hom ( G ∘ , C ) is of the form φ ( ⋆ ) = hom ( F , ⋆ ) \varphi(\star)=\operatorname{hom}(F,\star) φ ( ⋆ ) = hom ( F , ⋆ ) for some connected graph F ∈ G ∘ F \in\mathcal{G}^{\circ} F ∈ G ∘ if, and only if, its support supp ( φ ) \operatorname{supp}(\varphi) supp ( φ ) is finite.
Proof. If φ ( ⋆ ) = hom ( F , ⋆ ) \varphi(\star)=\operatorname{hom}(F,\star) φ ( ⋆ ) = hom ( F , ⋆ ) for some connected graph F F F , then it is a graph motif parameter, i.e. it has finite support. It is additive and multiplicative by Equations (4) and (5) . Furthermore, φ ( 1 ) = 1 \varphi(1)=1 φ ( 1 ) = 1 . Conversely, since φ \varphi φ is multiplicative and of finite support, it is of the form φ ( ⋆ ) = hom ( F , ⋆ ) \varphi(\star)=\operatorname{hom}(F,\star) φ ( ⋆ ) = hom ( F , ⋆ ) for some graph F ∈ G ∘ F \in\mathcal{G}^{\circ} F ∈ G ∘ by Lemma 6.34. Since φ \varphi φ is additive, the graph F F F is connected by Lemma 6.36 .
Putting the pieces together
Towards Theorem 3.4, we first identify the right-hand side of (13) as a vanishing ideal.
Lemma 6.37. (i) For ℓ ≥ 1 \ell\ge1 ℓ ≥ 1 , it holds that V ( c ℓ ) = { hom ( F , ⋆ ) ∣ F ∈ Z ∘ , ∣ V ( F ) ∣ ≤ ℓ } V(c_\ell)=\{\operatorname{hom}(F,\star)\mid F\in\mathcal{Z}^{\circ},\ |V(F)|\le\ell\} V ( c ℓ ) = { hom ( F , ⋆ ) ∣ F ∈ Z ∘ , ∣ V ( F ) ∣ ≤ ℓ } .
(ii) For ℓ ≥ 1 \ell\ge1 ℓ ≥ 1 , every ideal of C G ∘ \mathbb{C}\mathcal{G}^{\circ} C G ∘ containing c ℓ c_\ell c ℓ is radical.
(iii) For an ideal a \mathfrak{a} a of C G ∘ \mathbb{C}\mathcal{G}^{\circ} C G ∘ , it holds that ⋂ ℓ ≥ 1 ( a + c ℓ ) = I ( { hom ( F , ⋆ ) ∣ F ∈ Z ∘ } ∩ V ( a ) ) \bigcap_{\ell\ge1}(\mathfrak{a}+c_\ell)=I(\{\operatorname{hom}(F,\star)\mid F\in\mathcal{Z}^{\circ}\}\cap V(\mathfrak{a})) ⋂ ℓ ≥ 1 ( a + c ℓ ) = I ({ hom ( F , ⋆ ) ∣ F ∈ Z ∘ } ∩ V ( a )) .
Proof. By Lemma 6.30, it holds that φ ( c F ) = 0 \varphi(c_F)=0 φ ( c F ) = 0 if, and only if, F ∉ supp ( φ ) F\notin\operatorname{supp}(\varphi) F ∈ / supp ( φ ) , for every φ ∈ Hom ( G ∘ , C ) \varphi\in\operatorname{Hom}(\mathcal{G}^{\circ},\mathbb{C}) φ ∈ Hom ( G ∘ , C ) and every graph F F F . Since c ℓ c_\ell c ℓ is generated by the c F c_F c F for graphs F F F on more than ℓ \ell ℓ vertices,
V ( c ℓ ) = { φ ∈ Hom ( G ∘ , C ) ∣ supp ( φ ) contains only graphs on at most ℓ vertices } . V(c_\ell)=\{\varphi\in\operatorname{Hom}(\mathcal{G}^{\circ},\mathbb{C})\mid\operatorname{supp}(\varphi)\text{ contains only graphs on at most }\ell\text{ vertices}\}. V ( c ℓ ) = { φ ∈ Hom ( G ∘ , C ) ∣ supp ( φ ) contains only graphs on at most ℓ vertices } .
In particular, each φ ∈ V ( c ℓ ) \varphi\in V(c_\ell) φ ∈ V ( c ℓ ) is of finite support and thus of the form φ ( ⋆ ) = hom ( F , ⋆ ) \varphi(\star)=\operatorname{hom}(F,\star) φ ( ⋆ ) = hom ( F , ⋆ ) for some F ∈ Z ∘ F\in\mathcal{Z}^{\circ} F ∈ Z ∘ by Theorem 3.3. By applying Möbius inversion to Equation (29) , it follows that F ∈ supp ( hom ( F , ⋆ ) ) F\in\operatorname{supp}(\operatorname{hom}(F,\star)) F ∈ supp ( hom ( F , ⋆ )) for every F ∈ G ∘ F\in\mathcal{G}^{\circ} F ∈ G ∘ . Hence, ∣ V ( F ) ∣ ≤ ℓ |V(F)|\le\ell ∣ V ( F ) ∣ ≤ ℓ . Conversely, if F ∈ Z ∘ F\in\mathcal{Z}^{\circ} F ∈ Z ∘ has at most ℓ \ell ℓ vertices, then by Equation (29) every graph in supp ( hom ( F , ⋆ ) ) \operatorname{supp}(\operatorname{hom}(F,\star)) supp ( hom ( F , ⋆ )) is a quotient of F F F and hence has at most ℓ \ell ℓ vertices, so that hom ( F , ⋆ ) ∈ V ( c ℓ ) \operatorname{hom}(F,\star)\in V(c_\ell) hom ( F , ⋆ ) ∈ V ( c ℓ ) .
For the second assertion, observe that the elements of the form c F c_F c F where F F F is connected form a basis of C G ∘ \mathbb{C}\mathcal{G}^{\circ} C G ∘ over C \mathbb{C} C since c F − F c_F-F c F − F is a linear combination of connected graphs with fewer vertices than F F F , or with the same number of vertices and fewer edges. It follows that the dimension of C G ∘ / c ℓ \mathbb{C}\mathcal{G}^{\circ}/c_\ell C G ∘ / c ℓ over C \mathbb{C} C is at most the number of connected graphs on ℓ \ell ℓ vertices or less. By Theorem 6.33, the functions hom ( F , ⋆ ) \operatorname{hom}(F,\star) hom ( F , ⋆ ) for F ∈ Z ∘ F\in\mathcal{Z}^{\circ} F ∈ Z ∘ with ∣ V ( F ) ∣ ≤ ℓ |V(F)|\le\ell ∣ V ( F ) ∣ ≤ ℓ are linearly independent, so the C \mathbb{C} C -linear evaluation map
C G ∘ ⟶ ∏ F ∈ Z ∘ ∣ V ( F ) ∣ ≤ ℓ C , p ⟼ ( hom ( F , p ) ) F \mathbb{C}\mathcal{G}^{\circ}\longrightarrow\prod_{\substack{F\in\mathcal{Z}^{\circ}\\|V(F)|\le\ell}}\mathbb{C},\qquad p\longmapsto(\operatorname{hom}(F,p))_F C G ∘ ⟶ F ∈ Z ∘ ∣ V ( F ) ∣ ≤ ℓ ∏ C , p ⟼ ( hom ( F , p ) ) F
is surjective. This map factors through C G ∘ / c ℓ \mathbb{C}\mathcal{G}^{\circ}/c_\ell C G ∘ / c ℓ by Assertion (i), and by the bound on the dimension of C G ∘ / c ℓ \mathbb{C}\mathcal{G}^{\circ}/c_\ell C G ∘ / c ℓ , we obtain an isomorphism
C G ∘ / c ℓ ≅ ∏ H ∈ Z ∘ ∣ V ( H ) ∣ ≤ ℓ C . \mathbb{C}\mathcal{G}^{\circ}/c_\ell\cong\prod_{\substack{H\in\mathcal{Z}^{\circ}\\|V(H)|\le\ell}}\mathbb{C}. C G ∘ / c ℓ ≅ H ∈ Z ∘ ∣ V ( H ) ∣ ≤ ℓ ∏ C .
Every ideal of this ring is radical, hence every ideal of C G ∘ \mathbb{C}\mathcal{G}^{\circ} C G ∘ containing c ℓ c_\ell c ℓ is radical.
For the third assertion, observe that V ( a + c ℓ ) = V ( a ) ∩ V ( c ℓ ) V(\mathfrak{a}+c_\ell)=V(\mathfrak{a})\cap V(c_\ell) V ( a + c ℓ ) = V ( a ) ∩ V ( c ℓ ) . Therefore, using Theorem 6.19 in the first step,
⋂ ℓ ≥ 1 a + c ℓ = ⋂ ℓ ≥ 1 I ( V ( a ) ∩ V ( c ℓ ) ) = I ( ⋃ ℓ ≥ 1 ( V ( a ) ∩ V ( c ℓ ) ) ) = I ( V ( a ) ∩ ⋃ ℓ ≥ 1 V ( c ℓ ) ) . \bigcap_{\ell\ge1}\sqrt{\mathfrak{a}+c_\ell}
=\bigcap_{\ell\ge1}I\bigl(V(\mathfrak{a})\cap V(c_\ell)\bigr)
=I\left(\bigcup_{\ell\ge1}\bigl(V(\mathfrak{a})\cap V(c_\ell)\bigr)\right)
=I\left(V(\mathfrak{a})\cap\bigcup_{\ell\ge1}V(c_\ell)\right). ℓ ≥ 1 ⋂ a + c ℓ = ℓ ≥ 1 ⋂ I ( V ( a ) ∩ V ( c ℓ ) ) = I ( ℓ ≥ 1 ⋃ ( V ( a ) ∩ V ( c ℓ ) ) ) = I ( V ( a ) ∩ ℓ ≥ 1 ⋃ V ( c ℓ ) ) .
The assertion now follows by applying Assertion (i) and Assertion (ii).
This concludes the preparations for the proof of Theorem 3.4. Note that (10) is not among the hypotheses of Theorem 3.4. It is in fact implied by (13): the right-hand side of (13) is an intersection of radical ideals, so that (13) forces a ≅ \mathfrak{a}_{\cong} a ≅ to be radical, which is equivalent to (10) by Lemma 6.26.
Theorem 3.4. Let ≅ \cong ≅ be a graph isomorphism relaxation satisfying Equations (6) to (9) and let a ≅ \mathfrak{a}_{\cong} a ≅ denote the corresponding ideal of C G ∘ \mathbb{C}\mathcal{G}^{\circ} C G ∘ given by Lemma 6.15. Then ≅ \cong ≅ is a homomorphism indistinguishability relation over a componental graph class if, and only if,
a ≅ = ⋂ ℓ ≥ 1 ( a ≅ + c ℓ ) . (30) \mathfrak{a}_{\cong}=\bigcap_{\ell\ge1}(\mathfrak{a}_{\cong}+c_\ell). \tag*{(30)} a ≅ = ℓ ≥ 1 ⋂ ( a ≅ + c ℓ ) . (30)
Proof. Write a : = a ≈ \mathfrak{a}:=\mathfrak{a}_{\approx} a := a ≈ , F : = { F ∈ G ∘ ∣ hom ( F , ⋆ ) ∈ V ( a ) } \mathcal{F}:=\{F\in\mathcal{G}^{\circ}\mid\operatorname{hom}(F,\star)\in V(\mathfrak{a})\} F := { F ∈ G ∘ ∣ hom ( F , ⋆ ) ∈ V ( a )} , and Ψ : = { hom ( F , ⋆ ) ∣ F ∈ F } \Psi:=\{\operatorname{hom}(F,\star)\mid F\in\mathcal{F}\} Ψ := { hom ( F , ⋆ ) ∣ F ∈ F } . By Lemma 6.37, (13) reads a = I ( Ψ ) \mathfrak{a}=I(\Psi) a = I ( Ψ ) . By Lemma 6.15, G ≈ H G\approx H G ≈ H if, and only if, G − H ∈ a G-H\in\mathfrak{a} G − H ∈ a .
In the backward direction, suppose that a = I ( Ψ ) \mathfrak{a}=I(\Psi) a = I ( Ψ ) . Then G ≈ H G\approx H G ≈ H iff G − H ∈ I ( Ψ ) G-H\in I(\Psi) G − H ∈ I ( Ψ ) iff hom ( F , G ) = hom ( F , H ) \operatorname{hom}(F,G)=\operatorname{hom}(F,H) hom ( F , G ) = hom ( F , H ) for all F ∈ F F\in\mathcal{F} F ∈ F , i.e. ≈ = ≡ F \approx=\equiv_{\mathcal{F}} ≈= ≡ F . As F \mathcal{F} F consists of connected graphs, ≡ F \equiv_{\mathcal{F}} ≡ F coincides with homomorphism indistinguishability over the componental closure of F \mathcal{F} F by (3) .
Conversely, invoking Equation (3) , suppose that ≈ = ≡ F 0 \approx=\equiv_{\mathcal{F}_0} ≈= ≡ F 0 for a class F 0 \mathcal{F}_0 F 0 of connected graphs. Let Ψ 0 : = { hom ( F , ⋆ ) ∣ F ∈ F 0 } \Psi_0:=\{\operatorname{hom}(F,\star)\mid F\in\mathcal{F}_0\} Ψ 0 := { hom ( F , ⋆ ) ∣ F ∈ F 0 } . Every hom ( F , ⋆ ) ∈ Ψ 0 \operatorname{hom}(F,\star)\in\Psi_0 hom ( F , ⋆ ) ∈ Ψ 0 vanishes on the generators G − H G-H G − H of a \mathfrak{a} a , so F 0 ⊆ F \mathcal{F}_0\subseteq\mathcal{F} F 0 ⊆ F and Ψ 0 ⊆ Ψ \Psi_0\subseteq\Psi Ψ 0 ⊆ Ψ . Moreover, G − H ∈ I ( Ψ 0 ) G-H\in I(\Psi_0) G − H ∈ I ( Ψ 0 ) iff G ≡ F 0 H G\equiv_{\mathcal{F}_0}H G ≡ F 0 H iff G ≈ H G\approx H G ≈ H , i.e. ≈ I ( Ψ 0 ) = ≈ = ≈ a \approx_{I(\Psi_0)}=\approx=\approx_{\mathfrak{a}} ≈ I ( Ψ 0 ) =≈= ≈ a . Both I ( Ψ 0 ) I(\Psi_0) I ( Ψ 0 ) and a \mathfrak{a} a are extended from Q G ∘ \mathbb{Q}\mathcal{G}^{\circ} Q G ∘ by Lemma 6.18 and (19) , respectively, so I ( Ψ 0 ) = a I(\Psi_0)=\mathfrak{a} I ( Ψ 0 ) = a by Proposition 6.13. Hence, a ⊆ I ( V ( a ) ) ⊆ I ( Ψ ) ⊆ I ( Ψ 0 ) = a \mathfrak{a}\subseteq I(V(\mathfrak{a}))\subseteq I(\Psi)\subseteq I(\Psi_0)=\mathfrak{a} a ⊆ I ( V ( a )) ⊆ I ( Ψ ) ⊆ I ( Ψ 0 ) = a , using Ψ ⊆ V ( a ) \Psi\subseteq V(\mathfrak{a}) Ψ ⊆ V ( a ) and Ψ 0 ⊆ Ψ \Psi_0\subseteq\Psi Ψ 0 ⊆ Ψ .
This concludes the preparations for the proof of Theorem 3.6.
Theorem 3.6. A graph isomorphism relaxation ≈ \approx ≈ is a homomorphism indistinguishability relation over a componental graph class if, and only if, it satisfies, for all graphs G , H , K ∈ G ∘ G,H,K\in\mathcal{G}^{\circ} G , H , K ∈ G ∘ and n ≥ 1 n\ge1 n ≥ 1 ,
(i) G ≈ H ⟹ K ⊗ G ≈ K ⊗ H G\approx H\Longrightarrow K\otimes G\approx K\otimes H G ≈ H ⟹ K ⊗ G ≈ K ⊗ H ,
(ii) G ≈ H ⟹ K + G ≈ K + H G\approx H\Longrightarrow K+G\approx K+H G ≈ H ⟹ K + G ≈ K + H ,
(iii) K + G ≈ K + H ⟹ G ≈ H K+G\approx K+H\Longrightarrow G\approx H K + G ≈ K + H ⟹ G ≈ H ,
(iv) n G ≈ n H ⟹ G ≈ H nG\approx nH\Longrightarrow G\approx H n G ≈ n H ⟹ G ≈ H ,
(v) if, for all ℓ ≥ 1 \ell\ge1 ℓ ≥ 1 , there exist k ≥ 1 k\ge1 k ≥ 1 and graphs G ′ , H ′ ∈ G ∘ G',H'\in\mathcal{G}^{\circ} G ′ , H ′ ∈ G ∘ such that G ′ ∼ ℓ H ′ G'\sim_{\ell}H' G ′ ∼ ℓ H ′ and k ( G − H ) ≈ G ′ − H ′ k(G-H)\approx G'-H' k ( G − H ) ≈ G ′ − H ′ , then G ≈ H G\approx H G ≈ H .
Proof. Assertions (i) to (iv) are Equations (6) to (9) , which hold for every homomorphism indistinguishability relation over a componental graph class. Write a : = a ≈ \mathfrak{a}:=\mathfrak{a}_{\approx} a := a ≈ . By Lemma 6.15, k ( G − H ) ≈ G ′ − H ′ k(G-H)\approx G'-H' k ( G − H ) ≈ G ′ − H ′ if, and only if, k ( G − H ) − ( G ′ − H ′ ) ∈ a k(G-H)-(G'-H')\in\mathfrak{a} k ( G − H ) − ( G ′ − H ′ ) ∈ a . By Theorem 3.4, it suffices to show that Assertion (v) is equivalent to a = ⋂ ℓ ≥ 1 ( a + c ℓ ) \mathfrak{a}=\bigcap_{\ell\ge1}(\mathfrak{a}+\mathfrak{c}_{\ell}) a = ⋂ ℓ ≥ 1 ( a + c ℓ ) . Recall that G ′ ∼ ℓ H ′ G'\sim_{\ell}H' G ′ ∼ ℓ H ′ iff G ′ − H ′ ∈ c ℓ G'-H'\in\mathfrak{c}_{\ell} G ′ − H ′ ∈ c ℓ .
Suppose that a = ⋂ ℓ ≥ 1 ( a + c ℓ ) \mathfrak{a}=\bigcap_{\ell\ge1}(\mathfrak{a}+\mathfrak{c}_{\ell}) a = ⋂ ℓ ≥ 1 ( a + c ℓ ) and that G , H G,H G , H satisfy the premise of Assertion (v). For every ℓ ≥ 1 \ell\ge1 ℓ ≥ 1 , it holds that k ( G − H ) ∈ a + c ℓ k(G-H)\in\mathfrak{a}+\mathfrak{c}_{\ell} k ( G − H ) ∈ a + c ℓ and, as 1 k ∈ C \frac{1}{k}\in\mathbb{C} k 1 ∈ C , G − H ∈ a + c ℓ G-H\in\mathfrak{a}+\mathfrak{c}_{\ell} G − H ∈ a + c ℓ . Hence, G − H ∈ a G-H\in\mathfrak{a} G − H ∈ a , i.e. G ≈ H G\approx H G ≈ H .
Conversely, assume Assertion (v). By Lemmas 6.18 and 6.37, the ideals b : = ⋂ ℓ ( a + c ℓ ) ⊇ a \mathfrak{b}:=\bigcap_{\ell}(\mathfrak{a}+\mathfrak{c}_{\ell})\supseteq\mathfrak{a} b := ⋂ ℓ ( a + c ℓ ) ⊇ a and c ℓ = I ( V ( c ℓ ) ) \mathfrak{c}_{\ell}=I(V(\mathfrak{c}_{\ell})) c ℓ = I ( V ( c ℓ )) are vanishing ideals of integer-valued homomorphisms and thus extended from Q G ∘ \mathbb{Q}\mathcal{G}^{\circ} Q G ∘ , as is a \mathfrak{a} a by (19) . By Proposition 6.13, it suffices to show that G − H ∈ b G-H\in\mathfrak{b} G − H ∈ b implies G ≈ H G\approx H G ≈ H .
Let ℓ ≥ 1 \ell\ge1 ℓ ≥ 1 . Since a \mathfrak{a} a and c ℓ \mathfrak{c}_{\ell} c ℓ are extended from Q G ∘ \mathbb{Q}\mathcal{G}^{\circ} Q G ∘ and G − H ∈ Q G ∘ G-H\in\mathbb{Q}\mathcal{G}^{\circ} G − H ∈ Q G ∘ , we may write G − H = a + c G-H=a+c G − H = a + c with a ∈ a ∩ Q G ∘ a\in\mathfrak{a}\cap\mathbb{Q}\mathcal{G}^{\circ} a ∈ a ∩ Q G ∘ and c ∈ c ℓ ∩ Q G ∘ c\in\mathfrak{c}_{\ell}\cap\mathbb{Q}\mathcal{G}^{\circ} c ∈ c ℓ ∩ Q G ∘ . Every element of Q G ∘ \mathbb{Q}\mathcal{G}^{\circ} Q G ∘ is of the form G ′ − H ′ k \frac{G'-H'}{k} k G ′ − H ′ for some G ′ , H ′ ∈ G ∘ G',H'\in\mathcal{G}^{\circ} G ′ , H ′ ∈ G ∘ and k ≥ 1 k\ge1 k ≥ 1 , so c = G ′ − H ′ k c=\frac{G'-H'}{k} c = k G ′ − H ′ with G ′ ∼ ℓ H ′ G'\sim_{\ell}H' G ′ ∼ ℓ H ′ , and k ( G − H ) − ( G ′ − H ′ ) = k a ∈ a k(G-H)-(G'-H')=ka\in\mathfrak{a} k ( G − H ) − ( G ′ − H ′ ) = k a ∈ a , i.e. k ( G − H ) ≈ G ′ − H ′ k(G-H)\approx G'-H' k ( G − H ) ≈ G ′ − H ′ . As ℓ ≥ 1 \ell\ge1 ℓ ≥ 1 was arbitrary, Assertion (v) yields G ≈ H G\approx H G ≈ H and thus G − H ∈ a G-H\in\mathfrak{a} G − H ∈ a . It follows that a = b \mathfrak{a}=\mathfrak{b} a = b and applying Proposition 6.13 concludes the proof.
Finally, we prove Lemma 3.5. The lemma shows in particular that ∼ ℓ \sim_{\ell} ∼ ℓ is a homomorphism indistinguishability relation.
Lemma 3.5. Let ℓ ≥ 1 \ell\ge1 ℓ ≥ 1 . For graphs G , H ∈ G ∘ G,H\in\mathcal{G}^{\circ} G , H ∈ G ∘ , the following are equivalent:
(i) G ∼ ℓ H G\sim_{\ell}H G ∼ ℓ H , i.e., G − H ∈ c ℓ G-H\in\mathfrak{c}_{\ell} G − H ∈ c ℓ ,
(ii) hom ( F , G ) = hom ( F , H ) \operatorname{hom}(F,G)=\operatorname{hom}(F,H) hom ( F , G ) = hom ( F , H ) for all F ∈ G ∘ F\in\mathcal{G}^{\circ} F ∈ G ∘ on at most ℓ \ell ℓ vertices,
(iii) there exists a bijection π \pi π between the subsets of V ( G ) V(G) V ( G ) and of V ( H ) V(H) V ( H ) of size at most ℓ \ell ℓ such that ∣ S ∣ = ∣ π ( S ) ∣ |S|=|\pi(S)| ∣ S ∣ = ∣ π ( S ) ∣ and G [ S ] ≅ H [ π ( S ) ] G[S]\cong H[\pi(S)] G [ S ] ≅ H [ π ( S )] for all such S S S .
Proof. Assume that G − H ∈ c ℓ G-H\in\mathfrak{c}_{\ell} G − H ∈ c ℓ . Let F F F be a connected graph on at most ℓ \ell ℓ vertices. By Lemma 6.37, it holds that hom ( F , ⋆ ) ∈ V ( c ℓ ) \operatorname{hom}(F,\star)\in V(\mathfrak{c}_{\ell}) hom ( F , ⋆ ) ∈ V ( c ℓ ) . In particular, hom ( F , G ) = hom ( F , H ) \operatorname{hom}(F,G)=\operatorname{hom}(F,H) hom ( F , G ) = hom ( F , H ) . The case of disconnected F F F follows by Equation (3) , as each of its components has at most ℓ \ell ℓ vertices.
Conversely, suppose that G G G and H H H are homomorphism indistinguishable over all graphs F ∈ G ∘ F\in\mathcal{G}^{\circ} F ∈ G ∘ on at most ℓ \ell ℓ vertices. Let φ ∈ V ( c ℓ ) \varphi\in V(\mathfrak{c}_{\ell}) φ ∈ V ( c ℓ ) . By Lemma 6.37, φ = hom ( F , ⋆ ) \varphi=\operatorname{hom}(F,\star) φ = hom ( F , ⋆ ) for some graph
::: F F F on at most ℓ \ell ℓ vertices. It follows that φ ( G ) = φ ( H ) \varphi(G) = \varphi(H) φ ( G ) = φ ( H ) . Hence, G − H ∈ I ( V ( c ℓ ) ) = c ℓ G - H \in I(V(c_\ell)) = c_\ell G − H ∈ I ( V ( c ℓ )) = c ℓ by Theorem 6.19 and Lemma 6.37 .
For the final assertion, consider the following additional equivalent assertions:
(iv) sub ( F , G ) = sub ( F , H ) \operatorname{sub}(F,G) = \operatorname{sub}(F,H) sub ( F , G ) = sub ( F , H ) for all F ∈ G ∘ F \in\mathcal{G}^{\circ} F ∈ G ∘ on at most ℓ \ell ℓ vertices,
(v) indsub ( F , G ) = indsub ( F , H ) \operatorname{indsub}(F,G) = \operatorname{indsub}(F,H) indsub ( F , G ) = indsub ( F , H ) for all F ∈ G ∘ F \in\mathcal{G}^{\circ} F ∈ G ∘ on at most ℓ \ell ℓ vertices.
Here, indsub ( F , ⋆ ) \operatorname{indsub}(F,\star) indsub ( F , ⋆ ) counts induced subgraphs isomorphic to F F F . For the equivalence of the second and the fifth assertion, we observe that, by [36 ] , the functions hom ( F , ⋆ ) \operatorname{hom}(F,\star) hom ( F , ⋆ ) for graphs F F F on at most ℓ \ell ℓ vertices span the same space as the functions indsub ( F , ⋆ ) \operatorname{indsub}(F,\star) indsub ( F , ⋆ ) that count induced subgraphs from graphs F F F on at most ℓ \ell ℓ vertices. The fourth assertion is equivalent to these as well, since the functions sub ( F , ⋆ ) \operatorname{sub}(F,\star) sub ( F , ⋆ ) for graphs F F F on at most ℓ \ell ℓ vertices span that same space [36 ] . Finally, it holds that indsub ( F , G ) = indsub ( F , H ) \operatorname{indsub}(F,G) = \operatorname{indsub}(F,H) indsub ( F , G ) = indsub ( F , H ) for every F F F on at most ℓ \ell ℓ vertices if, and only if, the bijection from the third assertion exists.
Applications
We give three applications of Theorems 3.6 and 3.7.
Ulam–Kelly Reconstruction Conjecture
The following Example 3.8 shows that the involved Assertion (v) is not the bottleneck when applying Theorem 3.7 to the Ulam–Kelly Reconstruction Conjecture.
Example 3.8. The following are equivalent:
(i) The Ulam–Kelly Reconstruction Conjecture holds.
(ii) Hypomorphicity is a homomorphism indistinguishability relation over a componental graph class.
(iii) The hypomorphicity relation satisfies Assertion (i) of Theorem 3.7.
(iv) The hypomorphicity relation satisfies Assertion (ii) of Theorem 3.7.
In order to establish the equivalence with Assertion (iii), we require the following lemma. Recall the definition of graph motif parameters from Definition 6.32 .
Lemma 6.38. For every graph F ∈ G F \in\mathcal{G} F ∈ G , the graph parameter r F : G → C r_F \colon\mathcal{G} \to\mathbb{C} r F : G → C
G ↦ ∑ v ∈ V ( G ) hom ( F , G − v ) G \mapsto\sum_{v \in V(G)} \operatorname{hom}(F,G-v) G ↦ v ∈ V ( G ) ∑ hom ( F , G − v ) is a graph motif parameter ∑ L ∈ G η L hom ( L , ⋆ ) \sum_{L \in\mathcal{G}} \eta_L \operatorname{hom}(L,\star) ∑ L ∈ G η L hom ( L , ⋆ ) such that the unique coefficient η F + K 1 \eta_{F+K_1} η F + K 1 is non-zero.
Proof. First note that, for every v ∈ V ( G ) v \in V(G) v ∈ V ( G ) ,
hom ( F , G ) = hom ( F , G − v ) + hom ( F , G ; hits v ) . (31) \operatorname{hom}(F,G) = \operatorname{hom}(F,G-v) + \operatorname{hom}(F,G;\text{ hits }v). \tag*{(31)} hom ( F , G ) = hom ( F , G − v ) + hom ( F , G ; hits v ) . (31)
Moreover, using an observation of Lovász [1 ] , see [11 Lemma 3.1.2] ,
∑ v ∈ V ( G ) hom ( F , G ; hits v ) = ∑ h : F → G ∣ h ( F ) ∣ = ∑ K ∈ G ∣ V ( K ) ∣ ⋅ surj ( F , K ) aut ( K ) ⋅ emb ( K , G ) = ∑ K ∈ G ∣ V ( K ) ∣ ⋅ surj ( F , K ) aut ( K ) ∑ π ⊢ V ( K ) μ π hom ( K / π , G ) . \begin{aligned}
\sum_{v \in V(G)} \operatorname{hom}(F,G;\text{ hits }v)
&= \sum_{h:F \to G} |h(F)| \\
&= \sum_{K \in\mathcal{G}} \frac{|V(K)| \cdot\operatorname{surj}(F,K)}{\operatorname{aut}(K)} \cdot\operatorname{emb}(K,G) \\
&= \sum_{K \in\mathcal{G}} \frac{|V(K)| \cdot\operatorname{surj}(F,K)}{\operatorname{aut}(K)}
\sum_{\pi\vdash V(K)} \mu_\pi\operatorname{hom}(K/\pi,G).
\end{aligned} v ∈ V ( G ) ∑ hom ( F , G ; hits v ) = h : F → G ∑ ∣ h ( F ) ∣ = K ∈ G ∑ aut ( K ) ∣ V ( K ) ∣ ⋅ surj ( F , K ) ⋅ emb ( K , G ) = K ∈ G ∑ aut ( K ) ∣ V ( K ) ∣ ⋅ surj ( F , K ) π ⊢ V ( K ) ∑ μ π hom ( K / π , G ) .
Here, hom ( F , G ; hits v ) \operatorname{hom}(F,G;\text{ hits }v) hom ( F , G ; hits v ) denotes the number of homomorphisms F → G F \to G F → G whose image contains v v v , surj ( F , K ) \operatorname{surj}(F,K) surj ( F , K ) the number of surjective homomorphisms F → K F \to K F → K , and emb ( K , G ) \operatorname{emb}(K,G) emb ( K , G ) the number of injective homomorphisms K → G K \to G K → G , so that emb ( K , G ) = aut ( K ) sub ( K , G ) \operatorname{emb}(K,G)=\operatorname{aut}(K)\operatorname{sub}(K,G) emb ( K , G ) = aut ( K ) sub ( K , G ) . The first sum ranges over all homomorphisms h : F → G h:F \to G h : F → G . In the last two lines, the (outer) sum ranges over all graphs K K K on at most ∣ V ( F ) ∣ |V(F)| ∣ V ( F ) ∣ vertices. In the last line, the inner sum ranges over all partitions of V ( K ) V(K) V ( K ) . By summing Equation (31) over v ∈ V ( G ) v \in V(G) v ∈ V ( G ) and observing that ∣ V ( G ) ∣ hom ( F , G ) = hom ( F + K 1 , G ) |V(G)|\operatorname{hom}(F,G)=\operatorname{hom}(F+K_1,G) ∣ V ( G ) ∣ hom ( F , G ) = hom ( F + K 1 , G ) , it follows that
∑ v ∈ V ( G ) hom ( F , G − v ) = hom ( F + K 1 , G ) − ∑ K ∈ G ∣ V ( K ) ∣ ⋅ surj ( F , K ) aut ( K ) ∑ π ⊢ V ( K ) μ π hom ( K / π , G ) . (32) \sum_{v\in V(G)} \operatorname{hom}(F,G-v)
=
\operatorname{hom}(F+K_1,G)
-
\sum_{K\in\mathcal{G}}\frac{|V(K)|\cdot\operatorname{surj}(F,K)}{\operatorname{aut}(K)}
\sum_{\pi\vdash V(K)}\mu_\pi\operatorname{hom}(K/\pi,G). \tag*{(32)} v ∈ V ( G ) ∑ hom ( F , G − v ) = hom ( F + K 1 , G ) − K ∈ G ∑ aut ( K ) ∣ V ( K ) ∣ ⋅ surj ( F , K ) π ⊢ V ( K ) ∑ μ π hom ( K / π , G ) . (32)
This is a graph motif parameter evaluated at G G G since the patterns and coefficients do not depend on G G G . Furthermore, after grouping terms for isomorphic patterns it follows that the coefficient of F + K 1 F+K_1 F + K 1 is non-zero. To that end, observe that the K / π K/\pi K / π all have at most ∣ V ( F ) ∣ |V(F)| ∣ V ( F ) ∣ vertices.
The second ingredient we require is the following lemma.
Lemma 6.39 ([33 Lemma 6] , cf. [36 Lemma 3.6] ). Let ≈ \approx ≈ be a simple graph isomorphism relaxation satisfying Assertion (i) of Theorem 3.7. Let p ( ⋆ ) = ∑ F ∈ G η F hom ( F , ⋆ ) p(\star)=\sum_{F\in\mathcal{G}}\eta_F\operatorname{hom}(F,\star) p ( ⋆ ) = ∑ F ∈ G η F hom ( F , ⋆ ) be a graph motif parameter. Suppose that, for all G , H ∈ G G,H\in\mathcal{G} G , H ∈ G , it holds that G ≈ H ⟹ p ( G ) = p ( H ) G\approx H \Longrightarrow p(G)=p(H) G ≈ H ⟹ p ( G ) = p ( H ) . Then, for all G , H ∈ G G,H\in\mathcal{G} G , H ∈ G , it holds that G ≈ H ⟹ hom ( F , G ) = hom ( F , H ) G\approx H \Longrightarrow\operatorname{hom}(F,G)=\operatorname{hom}(F,H) G ≈ H ⟹ hom ( F , G ) = hom ( F , H ) for all F ∈ G F\in\mathcal{G} F ∈ G with η F ≠ 0 \eta_F\ne0 η F = 0 .
Proof of Example 3.8. Given [1 ] and Theorem 3.7, only the implications from Assertions (iii) and (iv) to Assertion (i) require an argument.
For Assertion (iv), let G , H ∈ G G,H\in\mathcal{G} G , H ∈ G be hypomorphic via a bijection π : V ( G ) → V ( H ) \pi:V(G)\to V(H) π : V ( G ) → V ( H ) . As G G G and H H H have the same number of edges and G − v ≅ H − π ( v ) G-v\cong H-\pi(v) G − v ≅ H − π ( v ) , every v ∈ V ( G ) v\in V(G) v ∈ V ( G ) satisfies deg G ( v ) = ∣ E ( G ) ∣ − ∣ E ( G − v ) ∣ = ∣ E ( H ) ∣ − ∣ E ( H − π ( v ) ) ∣ = deg H ( π ( v ) ) \operatorname{deg}_G(v)=|E(G)|-|E(G-v)|=|E(H)|-|E(H-\pi(v))|=\operatorname{deg}_H(\pi(v)) deg G ( v ) = ∣ E ( G ) ∣ − ∣ E ( G − v ) ∣ = ∣ E ( H ) ∣ − ∣ E ( H − π ( v )) ∣ = deg H ( π ( v )) . Hence, G G G and H H H have the same number ℓ ≥ 0 \ell\ge0 ℓ ≥ 0 of isolated vertices. By Assertion (ii), the graphs G + K 1 G+K_1 G + K 1 and H + K 1 H+K_1 H + K 1 are hypomorphic, say via a bijection σ \sigma σ . Both have ℓ + 1 \ell+1 ℓ + 1 isolated vertices, and removing any one of them yields G G G and H H H , respectively. Let v v v denote the vertex of the added K 1 K_1 K 1 in G + K 1 G+K_1 G + K 1 , so that ( G + K 1 ) − v = G (G+K_1)-v=G ( G + K 1 ) − v = G has ℓ \ell ℓ isolated vertices. Removing a non-isolated vertex of H + K 1 H+K_1 H + K 1 leaves the ℓ + 1 \ell+1 ℓ + 1 isolated vertices isolated. Hence, σ ( v ) \sigma(v) σ ( v ) is isolated and G ≅ ( H + K 1 ) − σ ( v ) = H G\cong(H+K_1)-\sigma(v)=H G ≅ ( H + K 1 ) − σ ( v ) = H , as asserted by the Reconstruction Conjecture.
For Assertion (iii), we apply Lemmas 6.38 and 6.39 . By definition, if G , H ∈ G G,H\in\mathcal{G} G , H ∈ G are hypomorphic, then there exists a bijection π : V ( G ) → V ( H ) \pi:V(G)\to V(H) π : V ( G ) → V ( H ) such that G − v ≅ H − π ( v ) G-v\cong H-\pi(v) G − v ≅ H − π ( v ) for all v ∈ V ( G ) v\in V(G) v ∈ V ( G ) . Hence, r F ( G ) = r F ( H ) r_F(G)=r_F(H) r F ( G ) = r F ( H ) for all F ∈ G F\in\mathcal{G} F ∈ G and r F r_F r F the graph motif parameter from Lemma 6.38 . By Lemmas 6.38 and 6.39 , it follows that
hom ( F + K 1 , G ) = hom ( F + K 1 , H ) \operatorname{hom}(F+K_1,G)=\operatorname{hom}(F+K_1,H) hom ( F + K 1 , G ) = hom ( F + K 1 , H )
for all F ∈ G F\in\mathcal{G} F ∈ G whenever G , H ∈ G G,H\in\mathcal{G} G , H ∈ G are hypomorphic. We may assume that ∣ V ( G ) ∣ = ∣ V ( H ) ∣ ≥ 1 |V(G)|=|V(H)|\ge1 ∣ V ( G ) ∣ = ∣ V ( H ) ∣ ≥ 1 , as otherwise G G G and H H H are both empty. By (3), hom ( F + K 1 , G ) = hom ( F , G ) ⋅ ∣ V ( G ) ∣ \operatorname{hom}(F+K_1,G)=\operatorname{hom}(F,G)\cdot|V(G)| hom ( F + K 1 , G ) = hom ( F , G ) ⋅ ∣ V ( G ) ∣ and likewise for H H H , so that hom ( F , G ) = hom ( F , H ) \operatorname{hom}(F,G)=\operatorname{hom}(F,H) hom ( F , G ) = hom ( F , H ) . Hence, G G G and H H H are homomorphism indistinguishable over all graphs and thus isomorphic by [1 ] .
D-fractional isomorphism
For an integer D ≥ 1 D\ge1 D ≥ 1 , two graphs G G G and H H H are said to be D D D -fractionally isomorphic, written G ≅ f r a c D H G\cong_{\mathrm{frac}}^{D}H G ≅ frac D H , if there exists a bistochastic matrix u u u such that A G ( t ) u = u A H ( t ) A_G^{(t)}u=uA_H^{(t)} A G ( t ) u = u A H ( t ) for all t ≤ D t\le D t ≤ D , where
( A G ( t ) ) i j = { 1 , if dist G ( i , j ) = t ; 0 , otherwise. \left(A_G^{(t)}\right)_{ij}=
\begin{cases}
1, & \text{if }\operatorname{dist}_G(i,j)=t;\\
0, & \text{otherwise.}
\end{cases} ( A G ( t ) ) ij = { 1 , 0 , if dist G ( i , j ) = t ; otherwise.
This isomorphism relaxation was introduced by Botteron and Weber in [35 ] , motivated by nonlocal games and communication complexity.
In [35 Open Question 2] , Botteron and Weber ask for a homomorphism indistinguishability characterisation of D D D -fractional isomorphism. We use Theorem 3.7 to show that neither 2-fractional isomorphism, nor D D D -fractional isomorphism for some fixed D ≥ 2 D \ge2 D ≥ 2 , nor D D D -fractional isomorphism for all D D D , can be characterised as homomorphism indistinguishability over some graph class.
We show this by exhibiting two graphs that violate Assertion (i). A priori, this only shows that ≅ f r a c D \cong_{\mathrm{frac}}^{D} ≅ frac D is not a homomorphism indistinguishability relation over a componental graph class. However, it is easy to see that ≅ f r a c D \cong_{\mathrm{frac}}^{D} ≅ frac D satisfies Equation (7) , that is
G ≅ f r a c D H ⟹ K + G ≅ f r a c D K + H . G \cong_{\mathrm{frac}}^{D} H \quad\Longrightarrow\quad K+G \cong_{\mathrm{frac}}^{D} K+H. G ≅ frac D H ⟹ K + G ≅ frac D K + H .
As was shown in [33 Theorem 7] , a homomorphism indistinguishability relation satisfying Equation (7) is necessarily a homomorphism indistinguishability relation over a componental graph class. Our negative result thus follows from the contrapositive.
Example 6.40. Let G = K 3 , 3 G=K_{3,3} G = K 3 , 3 and let H H H be the triangular prism. Then both A G ( 1 ) A_{G}^{(1)} A G ( 1 ) and A H ( 1 ) A_{H}^{(1)} A H ( 1 ) are 3-regular, both A G ( 2 ) A_{G}^{(2)} A G ( 2 ) and A H ( 2 ) A_{H}^{(2)} A H ( 2 ) are 2-regular, and A G ( t ) = A H ( t ) = 0 A_{G}^{(t)}=A_{H}^{(t)}=0 A G ( t ) = A H ( t ) = 0 for all t > 2 t>2 t > 2 , so the normalised all-ones matrix u = 1 6 J u=\frac{1}{6}J u = 6 1 J gives a D D D -fractional isomorphism between G G G and H H H for all D ≥ 1 D \ge1 D ≥ 1 . However, we claim that G ⊗ K 2 ̸ ≅ f r a c D H ⊗ K 2 G \otimes K_{2} \not\cong_{\mathrm{frac}}^{D} H \otimes K_{2} G ⊗ K 2 ≅ frac D H ⊗ K 2 whenever D ≥ 2 D \ge2 D ≥ 2 , so ≅ f r a c D \cong_{\mathrm{frac}}^{D} ≅ frac D fails Assertion (i) in Theorem 3.7. Indeed, G ⊗ K 2 G \otimes K_{2} G ⊗ K 2 is the disjoint union of two copies of K 3 , 3 K_{3,3} K 3 , 3 and H ⊗ K 2 H \otimes K_{2} H ⊗ K 2 is the hexagonal prism. The former has 12 pairs of vertices at distance 2, while the latter has 24, so they cannot be 2-fractionally isomorphic. We conclude that ≅ f r a c D \cong_{\mathrm{frac}}^{D} ≅ frac D does not admit a homomorphism indistinguishability characterisation when D ≥ 2 D \ge2 D ≥ 2 .
Chromatic- and FO-equivalence
In [2 ] , the authors proved the following negative results.
Proposition 6.41 ([2 Theorem 17, Proposition 1, Proposition 2] ). The following equivalence relations are not homomorphism indistinguishability relations.
Chromatic equivalence, having the same chromatic polynomial.
FO k -equivalence, being indistinguishable by a sentence of first-order logic using at most k k k distinct variables.
FO q -equivalence, being indistinguishable by a sentence of first-order logic of quantifier-rank at most q q q .
We can recover these statements as corollaries of Theorem 3.7. Clearly, the three relations satisfy Equation (7) , so it again suffices to show that they violate one of the conditions of the theorem.
Indeed, chromatic equivalence violates Assertion (i). Consider the graphs G 1 = K 1 + P 3 G_{1}=K_{1}+P_{3} G 1 = K 1 + P 3 and G 2 = 2 K 2 G_{2}=2K_{2} G 2 = 2 K 2 . As noted in [2 ] , it is easy to verify that they both have chromatic polynomial x 2 ( x − 1 ) 2 x^{2}(x-1)^{2} x 2 ( x − 1 ) 2 and hence are chromatically equivalent. On the other hand, we have P 3 ⊗ G 1 = 3 K 1 + C 4 + K 1 , 4 P_{3}\otimes G_{1}=3K_{1}+C_{4}+K_{1,4} P 3 ⊗ G 1 = 3 K 1 + C 4 + K 1 , 4 and P 3 ⊗ G 2 = 4 P 3 P_{3}\otimes G_{2}=4P_{3} P 3 ⊗ G 2 = 4 P 3 . The chromatic polynomial of the former is given by x 3 [ ( x − 1 ) 4 + ( x − 1 ) ] ( x − 1 ) 4 = x 4 ( x − 1 ) 8 + x 4 ( x − 1 ) 5 x^{3}[(x-1)^{4}+(x-1)](x-1)^{4}=x^{4}(x-1)^{8}+x^{4}(x-1)^{5} x 3 [( x − 1 ) 4 + ( x − 1 )] ( x − 1 ) 4 = x 4 ( x − 1 ) 8 + x 4 ( x − 1 ) 5 while the latter has chromatic polynomial ( x ( x − 1 ) 2 ) 4 = x 4 ( x − 1 ) 8 (x(x-1)^{2})^{4}=x^{4}(x-1)^{8} ( x ( x − 1 ) 2 ) 4 = x 4 ( x − 1 ) 8 .
On the other hand, FO-equivalence in first-order logic FO—both over the bounded variable- and the bounded quantifier-rank fragment—violates Assertion (iii). Let m ∈ N m \in\mathbb{N} m ∈ N be arbitrary and consider the graphs G 1 = K ‾ m G_{1}=\overline{K}_{m} G 1 = K m and G 2 = K ‾ m − 1 G_{2}=\overline{K}_{m-1} G 2 = K m − 1 . Clearly, they are distinguished by the sentence
∃ x 1 … ∃ x m ⋀ 1 ≤ i < j ≤ m x i ≠ x j \exists x_{1}\ldots\exists x_{m}\ \bigwedge_{1\le i<j\le m} x_{i}\ne x_{j} ∃ x 1 … ∃ x m 1 ≤ i < j ≤ m ⋀ x i = x j
which is in F O m ∩ F O m \mathrm{FO}^{m}\cap\mathrm{FO}_{m} FO m ∩ FO m . On the other hand, we have K 1 + G 1 = K ‾ m + 1 K_{1}+G_{1}=\overline{K}_{m+1} K 1 + G 1 = K m + 1 and K 1 + G 2 = K ‾ m K_{1}+G_{2}=\overline{K}_{m} K 1 + G 2 = K m . These graphs are not distinguishable by any F O m \mathrm{FO}^{m} FO m or F O m \mathrm{FO}_{m} FO m sentence, as a routine EF-game argument shows.
Fractional clique number
Finally, we give an example of a graph isomorphism relaxation satisfying Assertions (i) and (ii) but failing Assertion (iii). We answer a further question of Atserias, Kolaitis, & Wu [2 ] .
In [2 Section VII] , Atserias, Kolaitis, & Wu asked whether the relation G ≈ ω f H ⟺ ω f ( G ) = ω f ( H ) G \approx_{\omega_f} H \Longleftrightarrow\omega_f(G) = \omega_f(H) G ≈ ω f H ⟺ ω f ( G ) = ω f ( H ) is a homomorphism indistinguishability relation (for simple graphs G , H ∈ G G,H \in\mathcal{G} G , H ∈ G ). Here, ω f ( G ) \omega_f(G) ω f ( G ) denotes the fractional clique number defined as the optimum of the linear program
m a x ∑ v ∈ V ( G ) y v such that ∑ u ∈ U y u ≤ 1 ∀ U ∈ I ( G ) y v ≥ 0 ∀ v ∈ V ( G ) \begin{aligned}
\mathop{\mathrm{max}}\quad& \sum_{v\in V(G)} y_v\\
\text{such that}\quad& \sum_{u\in U} y_u \le1 && \forall U\in I(G)\\
& y_v \ge0 && \forall v\in V(G)
\end{aligned} max such that v ∈ V ( G ) ∑ y v u ∈ U ∑ y u ≤ 1 y v ≥ 0 ∀ U ∈ I ( G ) ∀ v ∈ V ( G )
Here, I ( G ) I(G) I ( G ) denotes the set of independent sets in G G G . By the duality theorem of linear programming, ω f ( G ) \omega_f(G) ω f ( G ) equals the fractional chromatic number χ f ( G ) \chi_f(G) χ f ( G ) . We show that ≈ ω f \approx_{\omega_f} ≈ ω f is not a homomorphism indistinguishability relation.
Example 6.42. The relation ≈ ω f \approx_{\omega_f} ≈ ω f satisfies Assertions (i) and (ii) but fails to satisfy Assertion (iii) of Theorem 3.7. In particular, it is not a homomorphism indistinguishability relation.
Proof. By [56 Theorem 2] and ω f = χ f \omega_f=\chi_f ω f = χ f [2 ] , for all G , H ∈ G G,H\in\mathcal{G} G , H ∈ G ,
ω f ( G ⊗ H ) = min { ω f ( G ) , ω f ( H ) } . \omega_f(G\otimes H)=\min\{\omega_f(G),\omega_f(H)\}. ω f ( G ⊗ H ) = min { ω f ( G ) , ω f ( H )} .
This identity readily implies Assertion (i).
For Assertion (ii), we show that ω f ( G + H ) = max { ω f ( G ) , ω f ( H ) } \omega_f(G+H)=\max\{\omega_f(G),\omega_f(H)\} ω f ( G + H ) = max { ω f ( G ) , ω f ( H )} for G , H ∈ G G,H\in\mathcal{G} G , H ∈ G . For any feasible y y y on G + H G+H G + H , put α = max U ∈ I ( G ) ∑ u ∈ U y u \alpha=\max_{U\in I(G)}\sum_{u\in U}y_u α = max U ∈ I ( G ) ∑ u ∈ U y u and β = max U ∈ I ( H ) ∑ u ∈ U y u \beta=\max_{U\in I(H)}\sum_{u\in U}y_u β = max U ∈ I ( H ) ∑ u ∈ U y u . Every independent set of G + H G+H G + H splits as the union of independent sets U G ∪ U H U_G\cup U_H U G ∪ U H , so α + β ≤ 1 \alpha+\beta\le1 α + β ≤ 1 ; and y ∣ G / α y|_G/\alpha y ∣ G / α is feasible for G G G , giving y ( G ) ≤ α ω f ( G ) y(G)\le\alpha\omega_f(G) y ( G ) ≤ α ω f ( G ) and likewise for H H H . Hence
∑ v ∈ V ( G + H ) y v ≤ α ω f ( G ) + β ω f ( H ) ≤ max { ω f ( G ) , ω f ( H ) } , \sum_{v\in V(G+H)}y_v\le\alpha\omega_f(G)+\beta\omega_f(H)\le\max\{\omega_f(G),\omega_f(H)\}, v ∈ V ( G + H ) ∑ y v ≤ α ω f ( G ) + β ω f ( H ) ≤ max { ω f ( G ) , ω f ( H )} ,
and putting all the weight on the better component attains it.
In order to see that Assertion (iii) is violated, consider
ω f ( K 3 + K 1 ) = max { 3 , 1 } = 3 = max { 3 , 2 } = ω f ( K 3 + K 2 ) . \omega_f(K_3+K_1)=\max\{3,1\}=3=\max\{3,2\}=\omega_f(K_3+K_2). ω f ( K 3 + K 1 ) = max { 3 , 1 } = 3 = max { 3 , 2 } = ω f ( K 3 + K 2 ) .
while ω f ( K 1 ) = 1 ≠ 2 = ω f ( K 2 ) \omega_f(K_1)=1\ne2=\omega_f(K_2) ω f ( K 1 ) = 1 = 2 = ω f ( K 2 ) .
By [33 Theorem 7] , the relation ≈ ω f \approx_{\omega_f} ≈ ω f satisfying Assertion (ii) has to be a homomorphism indistinguishability relation over a componental graph class if it is one at all. However, as it does not satisfy Assertion (iii), it is no homomorphism indistinguishability relation by Theorem 3.7. □
Examples of semiring homomorphisms on G ∘ \mathcal{G}^{\circ} G ∘
In this section, we give examples of graph isomorphism relaxations and semiring homomorphisms highlighting the necessity of the axioms in Theorem 3.6.
Necessity of Equation (14)
Example 3.2. The adjacency matrix rank rk : G ∘ → C \operatorname{rk}: \mathcal{G}^{\circ} \to\mathbb{C} rk : G ∘ → C is a semiring homomorphism. The relation G ∼ rk H ⟺ rk ( G ) = rk ( H ) G \mathrel{\sim_{\operatorname{rk}}} H \Longleftrightarrow\operatorname{rk}(G) = \operatorname{rk}(H) G ∼ rk H ⟺ rk ( G ) = rk ( H ) satisfies Equations (6) to (10) but is not a homomorphism indistinguishability relation.
Proof. In order to verify Equations (6) to (10) , it suffices by Theorem 3.1 to show that rk : G ∘ → C \operatorname{rk}: \mathcal{G}^{\circ} \to\mathbb{C} rk : G ∘ → C is a semiring homomorphism. It holds that rk ( 1 ) = rk ( ( 1 ) ) = 1 \operatorname{rk}(1) = \operatorname{rk}((1)) = 1 rk ( 1 ) = rk (( 1 )) = 1 and for matrices A A A , B B B ,
rk ( A ⊕ B ) = rk ( A ) + rk ( B ) , rk ( A ⊗ B ) = rk ( A ) ⋅ rk ( B ) \operatorname{rk}(A \oplus B) = \operatorname{rk}(A) + \operatorname{rk}(B), \qquad\operatorname{rk}(A \otimes B) = \operatorname{rk}(A) \cdot\operatorname{rk}(B) rk ( A ⊕ B ) = rk ( A ) + rk ( B ) , rk ( A ⊗ B ) = rk ( A ) ⋅ rk ( B ) where A ⊕ B = ( A 0 0 B ) A \oplus B = \begin{pmatrix} A & 0 \\ 0 & B \end{pmatrix} A ⊕ B = ( A 0 0 B ) is the matrix direct sum and ⊗ \otimes ⊗ denotes the Kronecker product of matrices. The direct sum of the adjacency matrices of two graphs is the adjacency matrix of their disjoint union; the Kronecker product of the adjacency matrices of two graphs is the adjacency matrix of their categorical product.
Suppose ∼ rk \sim_{\operatorname{rk}} ∼ rk is a homomorphism indistinguishability relation over some graph class F ⊆ G ∘ \mathcal{F} \subseteq\mathcal{G}^{\circ} F ⊆ G ∘ . The adjacency matrices of the graphs K 2 ∘ K_2^{\circ} K 2 ∘ and K 3 ∘ K_3^{\circ} K 3 ∘ are the 2 × 2 2 \times2 2 × 2 and the 3 × 3 3 \times3 3 × 3 all-ones matrix, respectively. They both have rank 1. However, for every n n n -vertex graph F ∈ G ∘ F \in\mathcal{G}^{\circ} F ∈ G ∘ , it holds that hom ( F , K ℓ ∘ ) = ℓ n \operatorname{hom}(F,K_\ell^{\circ}) = \ell^n hom ( F , K ℓ ∘ ) = ℓ n , hence K 2 ∘ K_2^{\circ} K 2 ∘ and K 3 ∘ K_3^{\circ} K 3 ∘ are not homomorphism indistinguishable over any graph except the empty graph 0 0 0 , for which hom ( 0 , K ℓ ∘ ) = 1 \operatorname{hom}(0,K_\ell^{\circ}) = 1 hom ( 0 , K ℓ ∘ ) = 1 . This implies that F = { 0 } \mathcal{F} = \{0\} F = { 0 } which renders ∼ rk \sim_{\operatorname{rk}} ∼ rk trivial, a contradiction.
Theorem 3.3 implies that the support of the graph parameter rk \operatorname{rk} rk is infinite. We leave computing this support explicitly as an interesting open problem.
Finally, we note that Example 3.2 is an instance of a more general phenomenon.
Lemma 7.1. The functions from Hermitian matrices to C \mathbb{C} C satisfying, for all Hermitian A A A , B B B and unitary X X X ,
f ( X ∗ A X ) = f ( A ) , f ( A ⊕ B ) = f ( A ) + f ( B ) , f ( A ⊗ B ) = f ( A ) f ( B ) f(X^{*}AX) = f(A), \qquad f(A \oplus B) = f(A) + f(B), \qquad f(A \otimes B) = f(A)f(B) f ( X ∗ A X ) = f ( A ) , f ( A ⊕ B ) = f ( A ) + f ( B ) , f ( A ⊗ B ) = f ( A ) f ( B ) are of the form f : A ↦ ∑ λ ∈ Spec ( A ) r ( λ ) f:A \mapsto\sum_{\lambda\in\operatorname{Spec}(A)} r(\lambda) f : A ↦ ∑ λ ∈ Spec ( A ) r ( λ ) where r r r is a semigroup homomorphism ( R , ⋅ ) → ( C , ⋅ ) (\mathbb{R},\cdot) \to(\mathbb{C},\cdot) ( R , ⋅ ) → ( C , ⋅ ) and Spec ( A ) \operatorname{Spec}(A) Spec ( A ) denotes the multiset of eigenvalues of A A A .
For the rank, we have r ( x ) = [ x ≠ 0 ] r(x) = [x \ne0] r ( x ) = [ x = 0 ] . Since permutation matrices are unitary, every function f f f satisfying the properties in Lemma 7.1 induces (by application to the adjacency matrix) a graph parameter f : G ∘ → C f:\mathcal{G}^{\circ} \to\mathbb{C} f : G ∘ → C which is a semiring homomorphism.
Proof of Lemma 7.1 . Let f : A ↦ ∑ λ ∈ Spec ( A ) r ( λ ) f:A \mapsto\sum_{\lambda\in\operatorname{Spec}(A)} r(\lambda) f : A ↦ ∑ λ ∈ Spec ( A ) r ( λ ) for some semiring homomorphism r r r . Since X ∗ A X X^{*}AX X ∗ A X and A A A are cospectral for every unitary X X X , the first property holds. For the second property, observe that Spec ( A ⊕ B ) = Spec ( A ) ⊎ Spec ( B ) \operatorname{Spec}(A \oplus B) = \operatorname{Spec}(A) \uplus\operatorname{Spec}(B) Spec ( A ⊕ B ) = Spec ( A ) ⊎ Spec ( B ) where we take the multiset union on the right hand-side. For the final property, Spec ( A ⊗ B ) = { { μ λ ∣ μ ∈ Spec ( A ) , λ ∈ Spec ( B ) } } \operatorname{Spec}(A \otimes B) = \{\{\mu\lambda\mid\mu\in\operatorname{Spec}(A), \lambda\in\operatorname{Spec}(B)\}\} Spec ( A ⊗ B ) = {{ μ λ ∣ μ ∈ Spec ( A ) , λ ∈ Spec ( B )}} . Hence, f f f is of the desired form.
Conversely, every Hermitian matrix can be unitarily diagonalised into a diagonal matrix of real eigenvalues λ 1 , … , λ n \lambda_1,\ldots,\lambda_n λ 1 , … , λ n . Applying the ⊕ \oplus ⊕ -identity, the only remaining degree of freedom is f ( ( λ ) ) f((\lambda)) f (( λ )) for λ ∈ R \lambda\in\mathbb{R} λ ∈ R . Let r : R → C r:\mathbb{R} \to\mathbb{C} r : R → C be this map. The ⊗ \otimes ⊗ identity implies that r ( a b ) = r ( a ) r ( b ) r(ab)=r(a)r(b) r ( ab ) = r ( a ) r ( b ) for all a , b ∈ R a,b \in\mathbb{R} a , b ∈ R , that is, r r r is a semigroup homomorphism.
Semiring homomorphism on looped-simple graphs with imaginary values
Next, we show that not all semiring homomorphisms G ∘ → C \mathcal{G}^{\circ} \to\mathbb{C} G ∘ → C have image contained in R \mathbb{R} R . To that end, we use the following lemmas.
Lemma 7.2 ([39 Exercise 5.52] ). Let G 1 , … , G n ∈ G G_1,\ldots,G_n \in\mathcal{G} G 1 , … , G n ∈ G be pairwise non-isomorphic connected non-bipartite simple graphs. Then the functions hom ( ⋆ , G 1 ) , … , hom ( ⋆ , G n ) \operatorname{hom}(\star,G_1),\ldots,\operatorname{hom}(\star,G_n) hom ( ⋆ , G 1 ) , … , hom ( ⋆ , G n ) are linearly independent, even when restricted to connected graphs.
Lemma 7.3 (Lovász [57 ] , cf. [58 Theorem 9.10] , [39 Theorem 5.37] ). Let A , B , C ∈ G ∘ A,B,C \in\mathcal{G}^{\circ} A , B , C ∈ G ∘ and suppose that C C C has an odd cycle. Then A ⊗ C ≅ B ⊗ C ⟹ A ≅ B A \otimes C \cong B \otimes C \Longrightarrow A \cong B A ⊗ C ≅ B ⊗ C ⟹ A ≅ B .
Lemma 7.4. Let G ∈ G ∘ G \in\mathcal{G}^{\circ} G ∈ G ∘ be connected, simple, and non-bipartite. Then:
(i) G G G is transcendental in C G ∘ \mathbb{C}\mathcal{G}^{\circ} C G ∘ , i.e., it is not the root of any non-zero polynomial f ∈ C [ x ] f \in\mathbb{C}[x] f ∈ C [ x ] .
(ii) If f ∈ C [ x ] f \in\mathbb{C}[x] f ∈ C [ x ] is any non-constant polynomial, then f ( G ) ∈ C G ∘ f(G) \in\mathbb{C}\mathcal{G}^{\circ} f ( G ) ∈ C G ∘ is non-invertible.
Proof. (i). Since G G G is connected and non-bipartite, the categorical powers G k G^k G k are connected and non-bipartite for all k ≥ 0 k \ge0 k ≥ 0 . Note that G k ≠ G ℓ G^k \ne G^\ell G k = G ℓ whenever k ≠ ℓ k \ne\ell k = ℓ . Suppose that f = a d x d + ⋯ + a 1 x + a 0 ∈ C [ x ] f = a_d x^d + \cdots+ a_1 x + a_0 \in\mathbb{C}[x] f = a d x d + ⋯ + a 1 x + a 0 ∈ C [ x ] is a polynomial such that f ( G ) = 0 f(G) = 0 f ( G ) = 0 . Then for all connected graphs K K K we have by Equation (5)
0 = hom ( K , 0 ) = hom ( K , a d G d + ⋯ + a 1 G + a 0 1 ) = a d hom ( K , G d ) + ⋯ + a 1 hom ( K , G ) + a 0 hom ( K , 1 ) . \begin{aligned}
0 &= \operatorname{hom}(K,0) \\
&= \operatorname{hom}(K,a_dG^d+\cdots+a_1G+a_0 1) \\
&= a_d\operatorname{hom}(K,G^d)+\cdots+a_1\operatorname{hom}(K,G)+a_0\operatorname{hom}(K,1).
\end{aligned} 0 = hom ( K , 0 ) = hom ( K , a d G d + ⋯ + a 1 G + a 0 1 ) = a d hom ( K , G d ) + ⋯ + a 1 hom ( K , G ) + a 0 hom ( K , 1 ) .
By taking K = 1 K = 1 K = 1 , it follows that a 0 = 0 a_0 = 0 a 0 = 0 since the looped graph 1 1 1 does not admit homomorphisms to any of the simple graphs G k G^k G k . Now by applying Lemma 7.2 to the remaining expression, it follows that a 1 = ⋯ = a d = 0 a_1 = \cdots= a_d = 0 a 1 = ⋯ = a d = 0 . This shows that G G G is transcendental.
(ii). Write f = a d x d + ⋯ + a 1 x + a 0 f = a_d x^d + \cdots+ a_1 x + a_0 f = a d x d + ⋯ + a 1 x + a 0 with a d ≠ 0 a_d \ne0 a d = 0 for some d ≥ 1 d \ge1 d ≥ 1 (since f f f is non-constant). Let H ∈ C G ∘ ∖ { 0 } H \in\mathbb{C}\mathcal{G}^{\circ} \setminus\{0\} H ∈ C G ∘ ∖ { 0 } be any non-zero element, and write H = ∑ i = 1 k β i H i H = \sum_{i=1}^{k} \beta_i H_i H = ∑ i = 1 k β i H i with H 1 , … , H k ∈ G ∘ H_1,\ldots,H_k \in\mathcal{G}^{\circ} H 1 , … , H k ∈ G ∘ connected and pairwise non-isomorphic, and β 1 , … , β k ∈ C × \beta_1,\ldots,\beta_k \in\mathbb{C}^{\times} β 1 , … , β k ∈ C × (where k ≥ 1 k \ge1 k ≥ 1 , since H ≠ 0 H \ne0 H = 0 ). We show that f ( G ) H ≠ 1 f(G)H \ne1 f ( G ) H = 1 . To that end, reorder the H i H_i H i by decreasing size, and let ℓ ∈ [ k ] \ell\in[k] ℓ ∈ [ k ] be such that ∣ V ( H 1 ) ∣ = ⋯ = ∣ V ( H ℓ ) ∣ > ∣ V ( H ℓ + 1 ) ∣ ≥ ⋯ ≥ ∣ V ( H k ) ∣ |V(H_1)| = \cdots= |V(H_\ell)| > |V(H_{\ell+1})| \ge\cdots\ge|V(H_k)| ∣ V ( H 1 ) ∣ = ⋯ = ∣ V ( H ℓ ) ∣ > ∣ V ( H ℓ + 1 ) ∣ ≥ ⋯ ≥ ∣ V ( H k ) ∣ . Now we write
f ( G ) H = ∑ i = 0 d ∑ j = 1 k a i β j G i H j = a d β 1 G d H 1 + ⋯ + a d β ℓ G d H ℓ + remaining terms , f(G)H = \sum_{i=0}^{d}\sum_{j=1}^{k}a_i\beta_jG^iH_j = a_d\beta_1G^dH_1+\cdots+a_d\beta_\ell G^dH_\ell+\text{remaining terms}, f ( G ) H = i = 0 ∑ d j = 1 ∑ k a i β j G i H j = a d β 1 G d H 1 + ⋯ + a d β ℓ G d H ℓ + remaining terms ,
and note that the graphs G d H 1 , … , G d H ℓ G^dH_1,\ldots,G^dH_\ell G d H 1 , … , G d H ℓ are connected (since G G G is non-bipartite) and pairwise non-isomorphic by Lemma 7.3 . Since ∣ V ( G ) ∣ ≥ 3 |V(G)| \ge3 ∣ V ( G ) ∣ ≥ 3 and d , k , ℓ ≥ 1 d,k,\ell\ge1 d , k , ℓ ≥ 1 , it follows that f ( G ) H f(G)H f ( G ) H contains non-constant terms, so we have f ( G ) H ≠ 1 f(G)H \ne1 f ( G ) H = 1 . Since H H H was arbitrary, we conclude that f ( G ) f(G) f ( G ) is non-invertible.
:::
Corollary 7.5. Let G ∈ G ∘ G \in\mathcal{G}^{\circ} G ∈ G ∘ be connected, simple, and non-bipartite. Then for every α ∈ C \alpha\in\mathbb{C} α ∈ C , there exists φ ∈ Hom ( G ∘ , C ) \varphi\in\operatorname{Hom}(\mathcal{G}^{\circ},\mathbb{C}) φ ∈ Hom ( G ∘ , C ) such that φ ( G ) = α \varphi(G) = \alpha φ ( G ) = α .
Proof. Let a ⊆ C G ∘ \mathfrak{a} \subseteq\mathbb{C}\mathcal{G}^{\circ} a ⊆ C G ∘ be the ideal generated by ( G − α ) ( G − α ‾ ) = G 2 − 2 ℜ ( α ) G + ∣ α ∣ 2 ⋅ 1 (G-\alpha)(G-\overline{\alpha}) = G^2 - 2\Re(\alpha)G + |\alpha|^2 \cdot1 ( G − α ) ( G − α ) = G 2 − 2ℜ ( α ) G + ∣ α ∣ 2 ⋅ 1 . By Lemma 7.4 (ii), the generator is not invertible, so a \mathfrak{a} a is a proper ideal. Therefore, a \mathfrak{a} a is contained in a maximal ideal m \mathfrak{m} m [53 Tag 00E0] . By [53 Tag 00FU] , we have C G ∘ / m ≅ C \mathbb{C}\mathcal{G}^{\circ}/\mathfrak{m} \cong\mathbb{C} C G ∘ / m ≅ C . Let ψ : C G ∘ / m ≅ C \psi:\mathbb{C}\mathcal{G}^{\circ}/\mathfrak{m} \cong\mathbb{C} ψ : C G ∘ / m ≅ C be the canonical map. We have ( ψ ( G ) − α ) ( ψ ( G ) − α ‾ ) = 0 (\psi(G)-\alpha)(\psi(G)-\overline{\alpha}) = 0 ( ψ ( G ) − α ) ( ψ ( G ) − α ) = 0 , so either ψ ( G ) = α \psi(G)=\alpha ψ ( G ) = α or ψ ( G ) = α ‾ \psi(G)=\overline{\alpha} ψ ( G ) = α . It follows that either ψ \psi ψ or ψ ‾ = − ∘ ψ \overline{\psi}=-\circ\psi ψ = − ∘ ψ restricts to the desired homomorphism φ : G ∘ → C \varphi:\mathcal{G}^{\circ}\to\mathbb{C} φ : G ∘ → C such that φ ( G ) = α \varphi(G)=\alpha φ ( G ) = α .
In particular, Corollary 7.5 shows that homomorphisms G ∘ → C \mathcal{G}^{\circ} \to\mathbb{C} G ∘ → C are not necessarily real.
Remark 7.6. In the proof of Corollary 7.5 , we could have taken the ideal generated by G − α G-\alpha G − α . Working with the ideal generated by ( G − α ) ( G − α ‾ ) (G-\alpha)(G-\overline{\alpha}) ( G − α ) ( G − α ) for some α ∈ C ∖ R \alpha\in\mathbb{C}\setminus\mathbb{R} α ∈ C ∖ R shows something stronger, namely that even R G ∘ \mathbb{R}\mathcal{G}^{\circ} R G ∘ has a maximal ideal m \mathfrak{m} m such that R G ∘ / m ≅ C \mathbb{R}\mathcal{G}^{\circ}/\mathfrak{m} \cong\mathbb{C} R G ∘ / m ≅ C . So even when working with real coefficients, there still exist semiring homomorphisms onto the complex numbers.
Discarding loops
In this section, we discuss the transition from homomorphism indistinguishability relations on G ∘ \mathcal{G}^{\circ} G ∘ to homomorphism indistinguishability between simple graphs from G \mathcal{G} G . To that end, we first answer an open question of Roberson [28 ] .
Question 8.1 (Roberson [28 Question 1] ). For a family of simple graphs F ⊆ G \mathcal{F} \subseteq\mathcal{G} F ⊆ G , is cl ( F ) ⊆ cl ∘ ( F ) \operatorname{cl}(\mathcal{F}) \subseteq\operatorname{cl}^{\circ}(\mathcal{F}) cl ( F ) ⊆ cl ∘ ( F ) ?
Here, cl ∘ ( ⋆ ) \operatorname{cl}^{\circ}(\star) cl ∘ ( ⋆ ) is the homomorphism distinguishing closure in G ∘ \mathcal{G}^{\circ} G ∘ , i.e., for a graph class F ⊆ G ∘ \mathcal{F} \subseteq\mathcal{G}^{\circ} F ⊆ G ∘ ,
cl ∘ ( F ) = { F ∈ G ∘ ∣ ∀ G , H ∈ G ∘ . G ≡ F H ⟹ hom ( F , G ) = hom ( F , H ) } . \operatorname{cl}^{\circ}(\mathcal{F}) = \{F \in\mathcal{G}^{\circ} \mid\forall G,H \in\mathcal{G}^{\circ}. \ G \equiv_{\mathcal{F}} H \Longrightarrow\operatorname{hom}(F,G)=\operatorname{hom}(F,H)\}. cl ∘ ( F ) = { F ∈ G ∘ ∣ ∀ G , H ∈ G ∘ . G ≡ F H ⟹ hom ( F , G ) = hom ( F , H )} .
The difference to Definition 4.1 is that F , G , H ∈ G ∘ F,G,H \in\mathcal{G}^{\circ} F , G , H ∈ G ∘ range over looped-simple graphs. Question 8.1 asks for the relationship between cl ( ⋆ ) \operatorname{cl}(\star) cl ( ⋆ ) and cl ∘ ( ⋆ ) \operatorname{cl}^{\circ}(\star) cl ∘ ( ⋆ ) . We resolve this question in the affirmative.
Lemma 8.2. For every family F ⊆ G \mathcal{F} \subseteq\mathcal{G} F ⊆ G of simple graphs, cl ( F ) ⊆ cl ∘ ( F ) \operatorname{cl}(\mathcal{F}) \subseteq\operatorname{cl}^{\circ}(\mathcal{F}) cl ( F ) ⊆ cl ∘ ( F ) .
The proof of Lemma 8.2 requires the following fact, that we will use throughout this section.
Fact 8.3. For G ∈ G ∘ G \in\mathcal{G}^{\circ} G ∈ G ∘ and H ∈ G H \in\mathcal{G} H ∈ G , it holds that G ⊗ H ∈ G G \otimes H \in\mathcal{G} G ⊗ H ∈ G .
Proof of Lemma 8.2 . Let F ∈ cl ( F ) F \in\operatorname{cl}(\mathcal{F}) F ∈ cl ( F ) . By definition, F F F is a simple graph. Let G , H ∈ G ∘ G,H \in\mathcal{G}^{\circ} G , H ∈ G ∘ be not necessarily simple graphs such that G ≡ F H G \equiv_{\mathcal{F}} H G ≡ F H . Then G ⊗ F ≡ F H ⊗ F G \otimes F \equiv_{\mathcal{F}} H \otimes F G ⊗ F ≡ F H ⊗ F by (6) . Since F F F is simple, so are G ⊗ F G \otimes F G ⊗ F and H ⊗ F H \otimes F H ⊗ F by Fact 8.3 . Hence, by assumption,
hom ( F , G ) ⋅ hom ( F , F ) ≡ ( 4 ) hom ( F , G ⊗ F ) = hom ( F , H ⊗ F ) ≡ ( 4 ) hom ( F , H ) ⋅ hom ( F , F ) . \operatorname{hom}(F,G)\cdot\operatorname{hom}(F,F) \mathrel{\overset{(4)}{\equiv}} \operatorname{hom}(F,G\otimes F)=\operatorname{hom}(F,H\otimes F) \mathrel{\overset{(4)}{\equiv}} \operatorname{hom}(F,H)\cdot\operatorname{hom}(F,F). hom ( F , G ) ⋅ hom ( F , F ) ≡ ( 4 ) hom ( F , G ⊗ F ) = hom ( F , H ⊗ F ) ≡ ( 4 ) hom ( F , H ) ⋅ hom ( F , F ) .
Since hom ( F , F ) ≠ 0 \operatorname{hom}(F,F)\ne0 hom ( F , F ) = 0 , we may divide both sides by this term. Hence, hom ( F , G ) = hom ( F , H ) \operatorname{hom}(F,G)=\operatorname{hom}(F,H) hom ( F , G ) = hom ( F , H ) and F ∈ cl ∘ ( F ) F \in\operatorname{cl}^{\circ}(\mathcal{F}) F ∈ cl ∘ ( F ) .
Lemma 8.2 implies that the looped-simple homomorphism distinguishing closure of a class of simple graphs collapses to the simple homomorphism distinguishing closure. That is, for every F ⊆ G \mathcal{F} \subseteq\mathcal{G} F ⊆ G , it holds that
cl ( F ) = cl ∘ ( F ) ∩ G . (33) \operatorname{cl}(\mathcal{F})=\operatorname{cl}^{\circ}(\mathcal{F})\cap\mathcal{G}. \tag*{(33)} cl ( F ) = cl ∘ ( F ) ∩ G . (33)
As a step towards Theorem 3.7, we characterise the homomorphism indistinguishability relations between looped-simple graphs that are homomorphism indistinguishability relations over a class of simple graphs.
Lemma 8.4. Let F ⊆ G ∘ \mathcal{F} \subseteq\mathcal{G}^{\circ} F ⊆ G ∘ be a class of looped-simple graphs. The relation ≡ F \equiv_{\mathcal{F}} ≡ F is a homomorphism indistinguishability relation over a class of simple graphs if, and only if, for all graphs G , H ∈ G ∘ G,H \in\mathcal{G}^{\circ} G , H ∈ G ∘ ,
( ∀ n ≥ 1. G ⊗ K n ≡ F H ⊗ K n ) ⟹ G ≡ F H . \left(\forall n \ge1.\ G \otimes K_n \equiv_{\mathcal{F}} H \otimes K_n\right) \Longrightarrow G \equiv_{\mathcal{F}} H. ( ∀ n ≥ 1. G ⊗ K n ≡ F H ⊗ K n ) ⟹ G ≡ F H .
Proof. In the forward direction, suppose that ≡ F \equiv_{\mathcal F} ≡ F coincides with ≡ F ′ \equiv_{\mathcal F'} ≡ F ′ for a class F ′ \mathcal F' F ′ of simple graphs and let G , H ∈ G ∘ G,H \in\mathcal G^\circ G , H ∈ G ∘ satisfy G ⊗ K n ≡ F H ⊗ K n G \otimes K_n \equiv_{\mathcal F} H \otimes K_n G ⊗ K n ≡ F H ⊗ K n for all n ≥ 1 n \ge1 n ≥ 1 . Let F ∈ F ′ F \in\mathcal F' F ∈ F ′ and put n : = max { ∣ V ( F ) ∣ , 1 } n := \max\{|V(F)|,1\} n := max { ∣ V ( F ) ∣ , 1 } . As F F F is simple, hom ( F , K n ) ≠ 0 \operatorname{hom}(F,K_n) \ne0 hom ( F , K n ) = 0 . By (4) ,
hom ( F , G ) hom ( F , K n ) = hom ( F , G ⊗ K n ) = hom ( F , H ⊗ K n ) = hom ( F , H ) hom ( F , K n ) . \operatorname{hom}(F,G)\operatorname{hom}(F,K_n)=\operatorname{hom}(F,G\otimes K_n)=\operatorname{hom}(F,H\otimes K_n)=\operatorname{hom}(F,H)\operatorname{hom}(F,K_n). hom ( F , G ) hom ( F , K n ) = hom ( F , G ⊗ K n ) = hom ( F , H ⊗ K n ) = hom ( F , H ) hom ( F , K n ) .
and dividing by hom ( F , K n ) ≠ 0 \operatorname{hom}(F,K_n) \ne0 hom ( F , K n ) = 0 yields hom ( F , G ) = hom ( F , H ) \operatorname{hom}(F,G)=\operatorname{hom}(F,H) hom ( F , G ) = hom ( F , H ) . As F ∈ F ′ F \in\mathcal F' F ∈ F ′ was arbitrary, G ≡ F ′ H G \equiv_{\mathcal F'} H G ≡ F ′ H and hence G ≡ F H G \equiv_{\mathcal F} H G ≡ F H .
For the backward direction, let F ′ ⊆ F \mathcal F' \subseteq\mathcal F F ′ ⊆ F be the class of simple graphs in F \mathcal F F . Clearly, if G ≡ F H G \equiv_{\mathcal F} H G ≡ F H , then G ≡ F ′ H G \equiv_{\mathcal F'} H G ≡ F ′ H . Conversely, suppose G ≡ F ′ H G \equiv_{\mathcal F'} H G ≡ F ′ H and let n ≥ 1 n \ge1 n ≥ 1 and F ∈ F F \in\mathcal F F ∈ F . If F ∈ F ′ F \in\mathcal F' F ∈ F ′ , then (4) gives hom ( F , G ⊗ K n ) = hom ( F , G ) hom ( F , K n ) = hom ( F , H ) hom ( F , K n ) = hom ( F , H ⊗ K n ) \operatorname{hom}(F,G\otimes K_n)=\operatorname{hom}(F,G)\operatorname{hom}(F,K_n)=\operatorname{hom}(F,H)\operatorname{hom}(F,K_n)=\operatorname{hom}(F,H\otimes K_n) hom ( F , G ⊗ K n ) = hom ( F , G ) hom ( F , K n ) = hom ( F , H ) hom ( F , K n ) = hom ( F , H ⊗ K n ) . Otherwise, F F F contains a loop, so hom ( F , K n ) = 0 \operatorname{hom}(F,K_n)=0 hom ( F , K n ) = 0 as K n K_n K n has none, and both sides vanish by (4) . Hence, G ⊗ K n ≡ F H ⊗ K n G \otimes K_n \equiv_{\mathcal F} H \otimes K_n G ⊗ K n ≡ F H ⊗ K n for all n ≥ 1 n \ge1 n ≥ 1 , and the assumption yields G ≡ F H G \equiv_{\mathcal F} H G ≡ F H . It follows that ≡ F \equiv_{\mathcal F} ≡ F and ≡ F ′ \equiv_{\mathcal F'} ≡ F ′ coincide, as desired.
An axiomatisation for simple graph isomorphism relaxations
Theorem 3.6 axiomatises the homomorphism indistinguishability relations between looped-simple graphs . In the literature, one is typically interested in relations between simple graphs . Our machinery does not immediately apply to simple graphs. This is because the class of simple graphs G \mathcal G G does not contain the multiplicative unit 1 1 1 , i.e., the single-vertex looped graph. The complete graphs K n K_n K n serve as a substitute.
In Theorem 3.7, we deduce the simple case from Theorem 3.6 at the cost of one additional axiom. To that end, we first describe how to extend a simple graph isomorphism relaxation , i.e., an equivalence relation ≈ \approx ≈ on G \mathcal G G such that G ≅ H G \cong H G ≅ H implies G ≈ H G \approx H G ≈ H , to a graph isomorphism relaxation between looped-simple graphs.
Definition 8.5. Let ≈ \approx ≈ be a simple graph isomorphism relaxation. Its saturation is the graph isomorphism relaxation ≈ ∘ \approx^\circ ≈ ∘ defined, for G , H ∈ G ∘ G,H \in\mathcal G^\circ G , H ∈ G ∘ , by
G ≈ ∘ H ⟺ ∀ L ∈ G . G ⊗ L ≈ H ⊗ L . G \approx^\circ H \quad\Longleftrightarrow\quad\forall L \in\mathcal G.\ G \otimes L \approx H \otimes L. G ≈ ∘ H ⟺ ∀ L ∈ G . G ⊗ L ≈ H ⊗ L .
This is well-defined since G ⊗ L G \otimes L G ⊗ L and H ⊗ L H \otimes L H ⊗ L are simple for every simple L ∈ G L \in\mathcal G L ∈ G by Fact 8.3 . We deduce Theorem 3.7 from Theorem 3.6 after adding the additional Assertion (vi). Recall that ≈ ℓ \approx_\ell ≈ ℓ is the graph isomorphism relaxation characterised by Lemma 3.5.
Theorem 3.7. A simple graph isomorphism relaxation ≈ \approx ≈ is a homomorphism indistinguishability relation over a componental class of simple graphs if, and only if, it satisfies, for all G , H , K ∈ G G,H,K \in\mathcal G G , H , K ∈ G ,
(i) G ≈ H ⟹ K ⊗ G ≈ K ⊗ H G \approx H \Longrightarrow K \otimes G \approx K \otimes H G ≈ H ⟹ K ⊗ G ≈ K ⊗ H ,
(ii) G ≈ H ⟹ K + G ≈ K + H G \approx H \Longrightarrow K+G \approx K+H G ≈ H ⟹ K + G ≈ K + H ,
(iii) K + G ≈ K + H ⟹ G ≈ H K+G \approx K+H \Longrightarrow G \approx H K + G ≈ K + H ⟹ G ≈ H ,
(iv) if n G ≈ n H nG \approx nH n G ≈ n H for some n ≥ 1 n \ge1 n ≥ 1 , then G ≈ H G \approx H G ≈ H ,
(v) if, for all ℓ ≥ 1 \ell\ge1 ℓ ≥ 1 , there exist k ≥ 1 k \ge1 k ≥ 1 and simple graphs G ′ , H ′ ∈ G G',H' \in\mathcal G G ′ , H ′ ∈ G such that G ′ ≈ ℓ H ′ G' \approx_\ell H' G ′ ≈ ℓ H ′ and k ( G − H ) ≈ ℓ G ′ − H ′ k(G-H) \approx_\ell G'-H' k ( G − H ) ≈ ℓ G ′ − H ′ , then G ≈ H G \approx H G ≈ H ,
(vi) if G ⊗ K n ≈ H ⊗ K n G \otimes K_n \approx H \otimes K_n G ⊗ K n ≈ H ⊗ K n for all n ≥ 1 n \ge1 n ≥ 1 and the n n n -vertex complete graph K n K_n K n , then G ≈ H G \approx H G ≈ H .
Proof. Necessity follows from Theorem 3.6 and Lemma 8.4 . For sufficiency, let ≈ \approx ≈ satisfy Assertions (i) to (vi). We show that its saturation ≈ ∘ \approx^\circ ≈ ∘ satisfies the conditions of Theorem 3.6.
Claim 8.6. For all simple graphs G , H ∈ G G,H \in\mathcal G G , H ∈ G , it holds that G ≈ ∘ H G \approx^\circ H G ≈ ∘ H if, and only if, G ≈ H G \approx H G ≈ H .
Proof of Claim. If G ≈ H G \approx H G ≈ H , then G ⊗ K ≈ H ⊗ K G \otimes K \approx H \otimes K G ⊗ K ≈ H ⊗ K for every K ∈ G K \in\mathcal G K ∈ G by Assertion (i), so G ≈ ∘ H G \approx^\circ H G ≈ ∘ H . Conversely, if G ≈ ∘ H G \approx^\circ H G ≈ ∘ H , then in particular G ⊗ K n ≈ H ⊗ K n G \otimes K_n \approx H \otimes K_n G ⊗ K n ≈ H ⊗ K n for all n ≥ 1 n \ge1 n ≥ 1 , so G ≈ H G \approx H G ≈ H by Assertion (vi).
Claim 8.7. The relation ≈ ∘ \approx^{\circ} ≈ ∘ satisfies Assertion (i) of Theorem 3.6.
Proof of Claim. Suppose that G ≈ ∘ H G \approx^{\circ} H G ≈ ∘ H for G , H ∈ G ∘ G,H \in\mathcal{G}^{\circ} G , H ∈ G ∘ . Let K ∈ G ∘ K \in\mathcal{G}^{\circ} K ∈ G ∘ . Let L ∈ G L \in\mathcal{G} L ∈ G be arbitrary. Then G ⊗ L ≈ H ⊗ L G \otimes L \approx H \otimes L G ⊗ L ≈ H ⊗ L by Definition 8.5. Let n ≥ 1 n \ge1 n ≥ 1 be arbitrary. The graph K n ⊗ K K_n \otimes K K n ⊗ K is simple by Fact 8.3 . Hence, by Assertion (i) for ≈ \approx ≈ , it holds that G ⊗ L ⊗ ( K ⊗ K n ) ≈ H ⊗ L ⊗ ( K ⊗ K n ) G \otimes L \otimes(K \otimes K_n) \approx H \otimes L \otimes(K \otimes K_n) G ⊗ L ⊗ ( K ⊗ K n ) ≈ H ⊗ L ⊗ ( K ⊗ K n ) . Since L L L is simple, G ⊗ L ⊗ K G \otimes L \otimes K G ⊗ L ⊗ K and H ⊗ L ⊗ K H \otimes L \otimes K H ⊗ L ⊗ K are simple by Fact 8.3 and Assertion (vi) applies. It follows that G ⊗ L ⊗ K ≈ H ⊗ L ⊗ K G \otimes L \otimes K \approx H \otimes L \otimes K G ⊗ L ⊗ K ≈ H ⊗ L ⊗ K . Hence, by Definition 8.5, as L L L was arbitrary, G ⊗ K ≈ ∘ H ⊗ K G \otimes K \approx^{\circ} H \otimes K G ⊗ K ≈ ∘ H ⊗ K .
Claim 8.8. The relation ≈ ∘ \approx^{\circ} ≈ ∘ satisfies Assertion (ii) of Theorem 3.6.
Proof of Claim. Suppose that G ≈ ∘ H G \approx^{\circ} H G ≈ ∘ H for G , H ∈ G ∘ G,H \in\mathcal{G}^{\circ} G , H ∈ G ∘ . Let K ∈ G ∘ K \in\mathcal{G}^{\circ} K ∈ G ∘ . Let L ∈ G L \in\mathcal{G} L ∈ G be arbitrary. Then G ⊗ L ≈ H ⊗ L G \otimes L \approx H \otimes L G ⊗ L ≈ H ⊗ L by Definition 8.5. Since K ⊗ L K \otimes L K ⊗ L is simple by Fact 8.3 , Assertion (ii) applies and ( G + K ) ⊗ L = G ⊗ L + K ⊗ L ≈ H ⊗ L + K ⊗ L = ( H + K ) ⊗ L (G+K) \otimes L = G \otimes L + K \otimes L \approx H \otimes L + K \otimes L = (H+K) \otimes L ( G + K ) ⊗ L = G ⊗ L + K ⊗ L ≈ H ⊗ L + K ⊗ L = ( H + K ) ⊗ L . As L L L was arbitrary, by Definition 8.5, G + K ≈ ∘ H + K G+K \approx^{\circ} H+K G + K ≈ ∘ H + K .
Claim 8.9. The relation ≈ ∘ \approx^{\circ} ≈ ∘ satisfies Assertion (iii) of Theorem 3.6.
Proof of Claim. Suppose that G + K ≈ ∘ H + K G+K \approx^{\circ} H+K G + K ≈ ∘ H + K for G , H , K ∈ G ∘ G,H,K \in\mathcal{G}^{\circ} G , H , K ∈ G ∘ . Let L ∈ G L \in\mathcal{G} L ∈ G be arbitrary. By Definition 8.5, G ⊗ L + K ⊗ L = ( G + K ) ⊗ L ≈ ( H + K ) ⊗ L = H ⊗ L + K ⊗ L G \otimes L+K \otimes L=(G+K) \otimes L \approx(H+K) \otimes L=H \otimes L+K \otimes L G ⊗ L + K ⊗ L = ( G + K ) ⊗ L ≈ ( H + K ) ⊗ L = H ⊗ L + K ⊗ L . Since K ⊗ L K \otimes L K ⊗ L is simple by Fact 8.3 , it cancels from both sides by Assertion (iii), as desired.
Claim 8.10. The relation ≈ ∘ \approx^{\circ} ≈ ∘ satisfies Assertion (iv) of Theorem 3.6.
Proof of Claim. Suppose that n G ≈ ∘ n H nG \approx^{\circ} nH n G ≈ ∘ n H for G , H ∈ G ∘ G,H \in\mathcal{G}^{\circ} G , H ∈ G ∘ and n ≥ 1 n \ge1 n ≥ 1 . Let L ∈ G L \in\mathcal{G} L ∈ G be arbitrary. By Definition 8.5, n ( G ⊗ L ) = ( n G ) ⊗ L ≈ ( n H ) ⊗ L = n ( H ⊗ L ) n(G \otimes L)=(nG) \otimes L \approx(nH) \otimes L=n(H \otimes L) n ( G ⊗ L ) = ( n G ) ⊗ L ≈ ( n H ) ⊗ L = n ( H ⊗ L ) . Since G ⊗ L G \otimes L G ⊗ L is simple by Fact 8.3 , Assertion (iv) applies and n n n cancels from both sides, as desired.
Claim 8.11. The relation ≈ ∘ \approx^{\circ} ≈ ∘ satisfies Assertion (v) of Theorem 3.6.
Proof of Claim. Let G , H ∈ G ∘ G,H \in\mathcal{G}^{\circ} G , H ∈ G ∘ . Suppose that, for all ℓ ≥ 1 \ell\ge1 ℓ ≥ 1 , there exist k ≥ 1 k \ge1 k ≥ 1 and graphs G ′ , H ′ ∈ G ∘ G',H' \in\mathcal{G}^{\circ} G ′ , H ′ ∈ G ∘ such that G ′ ∼ ℓ H ′ G' \mathrel{\sim_{\ell}} H' G ′ ∼ ℓ H ′ and k ( G − H ) ≈ ∘ G ′ − H ′ k(G-H) \approx^{\circ} G'-H' k ( G − H ) ≈ ∘ G ′ − H ′ . Let L ∈ G L \in\mathcal{G} L ∈ G be arbitrary. Let ℓ ≥ 1 \ell\ge1 ℓ ≥ 1 and choose k k k , G ′ G' G ′ , and H ′ H' H ′ as above. By Definition 8.5 applied with L ⊗ m L^{\otimes m} L ⊗ m and distributivity,
k ( L ⊗ G − L ⊗ H ) = L ⊗ k ( G − H ) ≈ L ⊗ ( G ′ − H ′ ) = L ⊗ G ′ − L ⊗ H ′ . k(L \otimes G-L \otimes H)=L \otimes k(G-H) \approx L \otimes(G'-H')=L \otimes G'-L \otimes H'. k ( L ⊗ G − L ⊗ H ) = L ⊗ k ( G − H ) ≈ L ⊗ ( G ′ − H ′ ) = L ⊗ G ′ − L ⊗ H ′ . By Lemma 3.5, ∼ ℓ \sim_{\ell} ∼ ℓ is a homomorphism indistinguishability relation. Hence, by Equation (6) , G ′ ∼ ℓ H ′ G' \sim_{\ell} H' G ′ ∼ ℓ H ′ implies that L ⊗ G ′ ∼ ℓ L ⊗ H ′ L \otimes G' \sim_{\ell} L \otimes H' L ⊗ G ′ ∼ ℓ L ⊗ H ′ . The graphs L ⊗ G L \otimes G L ⊗ G , L ⊗ H L \otimes H L ⊗ H , L ⊗ G ′ L \otimes G' L ⊗ G ′ , and L ⊗ H ′ L \otimes H' L ⊗ H ′ are simple by Fact 8.3 . As ℓ \ell ℓ was arbitrary, Assertion (v) yields L ⊗ G ≈ L ⊗ H L \otimes G \approx L \otimes H L ⊗ G ≈ L ⊗ H . Since L L L was arbitrary, G ≈ ∘ H G \approx^{\circ} H G ≈ ∘ H by Definition 8.5, establishing the conclusion of Assertion (v) of Theorem 3.6.
By Claims 8.7 to 8.11 and Theorem 3.6, ≈ ∘ \approx^{\circ} ≈ ∘ is a homomorphism indistinguishability relation over a componental class F \mathcal{F} F of looped-simple graphs. Moreover, ≈ ∘ \approx^{\circ} ≈ ∘ satisfies the condition of Lemma 8.4 : if G ⊗ K n ≈ ∘ H ⊗ K n G \otimes K_n \approx^{\circ} H \otimes K_n G ⊗ K n ≈ ∘ H ⊗ K n for all n ≥ 1 n \ge1 n ≥ 1 , then, for every L ∈ G L \in\mathcal{G} L ∈ G , applying Assertion (vi) to the graphs G ⊗ L G \otimes L G ⊗ L and H ⊗ L H \otimes L H ⊗ L , which are simple by Fact 8.3 , yields G ⊗ L ≈ H ⊗ L G \otimes L \approx H \otimes L G ⊗ L ≈ H ⊗ L , i.e. G ≈ ∘ H G \approx^{\circ} H G ≈ ∘ H . By Lemma 8.4 , ≈ ∘ \approx^{\circ} ≈ ∘ is a homomorphism indistinguishability relation over the class of simple graphs in F \mathcal{F} F , cf. its proof. It remains to observe that via Claim 8.6 the relations ≈ \approx ≈ and ≈ ∘ \approx^{\circ} ≈ ∘ coincide on simple graphs.
Material omitted in Topology
Homomorphism distinguishing topology as Zariski topology
Before turning to the elementary perspective of § 6 , we relate the homomorphism distinguishing topology to the Zariski topology on the semiring algebras of Section 3.
For a subset P P P of Z G ∘ \mathbb{Z}\mathcal{G}^{\circ} Z G ∘ or of C G ∘ \mathbb{C}\mathcal{G}^{\circ} C G ∘ , let
V ( P ) : = { F ∈ G ∘ ∣ ∀ G , H ∈ G ∘ . G − H ∈ P ⟹ hom ( F , G ) = hom ( F , H ) } . \mathcal{V}(P) := \{F \in\mathcal{G}^{\circ} \mid\forall G,H \in\mathcal{G}^{\circ}. \ G-H \in P \Longrightarrow\operatorname{hom}(F,G)=\operatorname{hom}(F,H)\}. V ( P ) := { F ∈ G ∘ ∣ ∀ G , H ∈ G ∘ . G − H ∈ P ⟹ hom ( F , G ) = hom ( F , H )} .
Lemma 9.1. For a componental graph class F ⊆ G ∘ \mathcal{F} \subseteq\mathcal{G}^{\circ} F ⊆ G ∘ , the following are equivalent.
(i) F \mathcal{F} F is homomorphism distinguishing closed, i.e., cl ∘ ( F ) = F \operatorname{cl}^{\circ}(\mathcal{F})=\mathcal{F} cl ∘ ( F ) = F ,
(ii) there exists an ideal a ⊆ Z G ∘ \mathfrak{a} \subseteq\mathbb{Z}\mathcal{G}^{\circ} a ⊆ Z G ∘ such that F = V ( a ) \mathcal{F}=\mathcal{V}(\mathfrak{a}) F = V ( a ) ,
(iii) there exists an ideal a ⊆ C G ∘ \mathfrak{a} \subseteq\mathbb{C}\mathcal{G}^{\circ} a ⊆ C G ∘ such that F = V ( a ) \mathcal{F}=\mathcal{V}(\mathfrak{a}) F = V ( a ) ,
(iv) there exists a set P ⊆ Z G ∘ P \subseteq\mathbb{Z}\mathcal{G}^{\circ} P ⊆ Z G ∘ such that F = V ( P ) \mathcal{F}=\mathcal{V}(P) F = V ( P ) ,
(v) there exists a set P ⊆ C G ∘ P \subseteq\mathbb{C}\mathcal{G}^{\circ} P ⊆ C G ∘ such that F = V ( P ) \mathcal{F}=\mathcal{V}(P) F = V ( P ) .
Furthermore, for a componental class F ⊆ G \mathcal{F} \subseteq\mathcal{G} F ⊆ G of simple graphs, the following are equivalent:
(vi) F \mathcal{F} F is homomorphism distinguishing closed, i.e., cl ( F ) = F \operatorname{cl}(\mathcal{F})=\mathcal{F} cl ( F ) = F ,
(vii) there exists a set P ⊆ Z G ∘ P \subseteq\mathbb{Z}\mathcal{G}^{\circ} P ⊆ Z G ∘ such that F = V ( P ) ∩ G \mathcal{F}=\mathcal{V}(P)\cap\mathcal{G} F = V ( P ) ∩ G ,
(viii) there exists a set P ⊆ C G ∘ P \subseteq\mathbb{C}\mathcal{G}^{\circ} P ⊆ C G ∘ such that F = V ( P ) ∩ G \mathcal{F}=\mathcal{V}(P)\cap\mathcal{G} F = V ( P ) ∩ G .
Proof. (ii) ⇒ \Rightarrow ⇒ (iv) and (iii) ⇒ \Rightarrow ⇒ (v) hold as every ideal is in particular a subset.
(iv) ⇒ \Rightarrow ⇒ (i) and (v) ⇒ \Rightarrow ⇒ (i). Let F = V ( P ) \mathcal{F}=\mathcal{V}(P) F = V ( P ) . By definition, G ≡ F H G\equiv_{\mathcal{F}}H G ≡ F H for all graphs G , H ∈ G ∘ G,H\in\mathcal{G}^{\circ} G , H ∈ G ∘ with G − H ∈ P G-H\in P G − H ∈ P . Hence, every F ∈ cl ∘ ( F ) F\in\operatorname{cl}^{\circ}(\mathcal{F}) F ∈ cl ∘ ( F ) satisfies hom ( F , G ) = hom ( F , H ) \operatorname{hom}(F,G)=\operatorname{hom}(F,H) hom ( F , G ) = hom ( F , H ) for all such G , H G,H G , H , that is, cl ∘ ( F ) ⊆ V ( P ) = F \operatorname{cl}^{\circ}(\mathcal{F})\subseteq\mathcal{V}(P)=\mathcal{F} cl ∘ ( F ) ⊆ V ( P ) = F . The reverse inclusion holds by the definition of cl ∘ \operatorname{cl}^{\circ} cl ∘ .
(i) ⇒ \Rightarrow ⇒ (ii) and (i) ⇒ \Rightarrow ⇒ (iii). Since F \mathcal{F} F is componental, ≡ F = ≡ F ∩ Z ∘ \equiv_{\mathcal{F}}=\equiv_{\mathcal{F}\cap\mathcal{Z}^{\circ}} ≡ F = ≡ F ∩ Z ∘ by (3) . Hence, (5) yields both directions of (15) and (4) yields (16) , so that ≡ F \equiv_{\mathcal{F}} ≡ F is a torsion-free cancellative congruence on G ∘ \mathcal{G}^{\circ} G ∘ . By Proposition 6.1, the set a : = { G − H ∣ G ≡ F H } \mathfrak{a}:=\{G-H\mid G\equiv_{\mathcal{F}}H\} a := { G − H ∣ G ≡ F H } is an ideal of Z G ∘ \mathbb{Z}\mathcal{G}^{\circ} Z G ∘ with
G − H ∈ a ⟺ G ≡ F H for all G , H ∈ G ∘ . (34) G-H\in\mathfrak{a}\Longleftrightarrow G\equiv_{\mathcal{F}}H \qquad\text{for all }G,H\in\mathcal{G}^{\circ}. \tag*{(34)} G − H ∈ a ⟺ G ≡ F H for all G , H ∈ G ∘ . (34)
Therefore, V ( a ) = cl ∘ ( F ) = F \mathcal{V}(\mathfrak{a})=\operatorname{cl}^{\circ}(\mathcal{F})=\mathcal{F} V ( a ) = cl ∘ ( F ) = F by the definition of cl ∘ \operatorname{cl}^{\circ} cl ∘ .
For (iii), note that ≡ F \equiv_{\mathcal{F}} ≡ F is a graph isomorphism relaxation satisfying Equations (6) to (9) , the last by (5) . By Lemma 6.15, there is an ideal a C \mathfrak{a}^{\mathbb{C}} a C of C G ∘ \mathbb{C}\mathcal{G}^{\circ} C G ∘ such that G − H ∈ a C G-H\in\mathfrak{a}^{\mathbb{C}} G − H ∈ a C if, and only if, G ≡ F H G\equiv_{\mathcal{F}}H G ≡ F H , so that V ( a C ) = cl ∘ ( F ) = F \mathcal{V}(\mathfrak{a}^{\mathbb{C}})=\operatorname{cl}^{\circ}(\mathcal{F})=\mathcal{F} V ( a C ) = cl ∘ ( F ) = F as before.
Finally, let F ⊆ G \mathcal{F}\subseteq\mathcal{G} F ⊆ G be componental. Note that the ideals constructed above satisfy V ( a ) = cl ∘ ( F ) \mathcal{V}(\mathfrak{a})=\operatorname{cl}^{\circ}(\mathcal{F}) V ( a ) = cl ∘ ( F ) and V ( a C ) = cl ∘ ( F ) \mathcal{V}(\mathfrak{a}^{\mathbb{C}})=\operatorname{cl}^{\circ}(\mathcal{F}) V ( a C ) = cl ∘ ( F ) without any assumption on F \mathcal{F} F , since this only used the definitions of a \mathfrak{a} a , a C \mathfrak{a}^{\mathbb{C}} a C , and cl ∘ \operatorname{cl}^{\circ} cl ∘ . Hence, by (33) ,
cl ( F ) = cl ∘ ( F ) ∩ G = V ( a ) ∩ G = V ( a C ) ∩ G , \operatorname{cl}(\mathcal{F})=\operatorname{cl}^{\circ}(\mathcal{F})\cap\mathcal{G}=\mathcal{V}(\mathfrak{a})\cap\mathcal{G}=\mathcal{V}(\mathfrak{a}^{\mathbb{C}})\cap\mathcal{G}, cl ( F ) = cl ∘ ( F ) ∩ G = V ( a ) ∩ G = V ( a C ) ∩ G ,
so (vi) implies (vii) and (viii). Conversely, let F = V ( P ) ∩ G \mathcal{F}=\mathcal{V}(P)\cap\mathcal{G} F = V ( P ) ∩ G for a set P ⊆ Z G ∘ P\subseteq\mathbb{Z}\mathcal{G}^{\circ} P ⊆ Z G ∘ or P ⊆ C G ∘ P\subseteq\mathbb{C}\mathcal{G}^{\circ} P ⊆ C G ∘ . As above, G ≡ F H G\equiv_{\mathcal{F}}H G ≡ F H for all G , H ∈ G ∘ G,H\in\mathcal{G}^{\circ} G , H ∈ G ∘ with G − H ∈ P G-H\in P G − H ∈ P , so every F ∈ cl ∘ ( F ) F\in\operatorname{cl}^{\circ}(\mathcal{F}) F ∈ cl ∘ ( F ) satisfies hom ( F , G ) = hom ( F , H ) \operatorname{hom}(F,G)=\operatorname{hom}(F,H) hom ( F , G ) = hom ( F , H ) for all such G , H G,H G , H . By (33) , cl ( F ) = cl ∘ ( F ) ∩ G ⊆ V ( P ) ∩ G = F \operatorname{cl}(\mathcal{F})=\operatorname{cl}^{\circ}(\mathcal{F})\cap\mathcal{G}\subseteq\mathcal{V}(P)\cap\mathcal{G}=\mathcal{F} cl ( F ) = cl ∘ ( F ) ∩ G ⊆ V ( P ) ∩ G = F , and the reverse inclusion holds by the definition of cl \operatorname{cl} cl .
Lemma 9.1 shows that the homomorphism distinguishing topology (on Z ∘ \mathbb{Z}^{\circ} Z ∘ or Z \mathbb{Z} Z ) is the subspace topology of the Zariski topology of C G ∘ \mathbb{C}\mathcal{G}^{\circ} C G ∘ or Z G ∘ \mathbb{Z}\mathcal{G}^{\circ} Z G ∘ on the subspace { hom ( F , ⋆ ) ∣ F ∈ Z ∘ } \{\operatorname{hom}(F,\star)\mid F\in\mathcal{Z}^{\circ}\} { hom ( F , ⋆ ) ∣ F ∈ Z ∘ } . In particular, it is indeed a topology.
The homomorphism distinguishing topology is a topology
In this section, we give an elementary proof of the fact that the homomorphism distinguishing topology on Z \mathcal{Z} Z forms a topology. To that end, Robertson [28 ] observed that cl ( ⋆ ) \operatorname{cl}(\star) cl ( ⋆ ) is a closure operator, i.e., for all graph classes F , F 1 , F 2 ⊆ G \mathcal{F},\mathcal{F}_1,\mathcal{F}_2 \subseteq\mathcal{G} F , F 1 , F 2 ⊆ G with F 1 ⊆ F 2 \mathcal{F}_1 \subseteq\mathcal{F}_2 F 1 ⊆ F 2 ,
F ⊆ cl ( F ) , (35) \mathcal{F} \subseteq\operatorname{cl}(\mathcal{F}), \tag*{(35)} F ⊆ cl ( F ) , (35)
cl ( F 1 ) ⊆ cl ( F 2 ) , (36) \operatorname{cl}(\mathcal{F}_1) \subseteq\operatorname{cl}(\mathcal{F}_2), \tag*{(36)} cl ( F 1 ) ⊆ cl ( F 2 ) , (36)
cl ( cl ( F ) ) = cl ( F ) . (37) \operatorname{cl}(\operatorname{cl}(\mathcal{F})) = \operatorname{cl}(\mathcal{F}). \tag*{(37)} cl ( cl ( F )) = cl ( F ) . (37)
We require the following lemma.
Lemma 9.2 ([33 Theorem 7] ). If F ⊆ G \mathcal{F} \subseteq\mathcal{G} F ⊆ G is componental , then cl ( F ) \operatorname{cl}(\mathcal{F}) cl ( F ) is componental .
Lemma 4.3. If F 1 , F 2 ⊆ G \mathcal{F}_1,\mathcal{F}_2 \subseteq\mathcal{G} F 1 , F 2 ⊆ G are homomorphism distinguishing closed componental graph classes, then F 1 + F 2 \mathcal{F}_1+\mathcal{F}_2 F 1 + F 2 is homomorphism distinguishing closed .
Proof. Let F : = F 1 + F 2 \mathcal{F}:=\mathcal{F}_1+\mathcal{F}_2 F := F 1 + F 2 . By Lemma 9.2, cf. [11 Corollary 7.1.5] , it suffices to construct, for every connected graph F ∉ F F \notin\mathcal{F} F ∈ / F , two graphs G G G and H H H such that G ≡ F H G \equiv_{\mathcal{F}} H G ≡ F H and hom ( F , G ) ≠ hom ( F , H ) \operatorname{hom}(F,G) \ne\operatorname{hom}(F,H) hom ( F , G ) = hom ( F , H ) .
Let F ∉ F F \notin\mathcal{F} F ∈ / F be connected. This implies that F ∉ F 1 F \notin\mathcal{F}_1 F ∈ / F 1 and F ∉ F 2 F \notin\mathcal{F}_2 F ∈ / F 2 . By assumption, there exist graphs G 1 , G 2 , H 1 , H 2 ∈ G G_1,G_2,H_1,H_2 \in\mathcal{G} G 1 , G 2 , H 1 , H 2 ∈ G , such that G 1 ≡ F 1 H 1 G_1 \equiv_{\mathcal{F}_1} H_1 G 1 ≡ F 1 H 1 , G 2 ≡ F 2 H 2 G_2 \equiv_{\mathcal{F}_2} H_2 G 2 ≡ F 2 H 2 , hom ( F , G 1 ) ≠ hom ( F , H 1 ) \operatorname{hom}(F,G_1) \ne\operatorname{hom}(F,H_1) hom ( F , G 1 ) = hom ( F , H 1 ) , and hom ( F , G 2 ) ≠ hom ( F , H 2 ) \operatorname{hom}(F,G_2) \ne\operatorname{hom}(F,H_2) hom ( F , G 2 ) = hom ( F , H 2 ) .
We combine these two pairs of graphs into one pair of graphs with the desired properties. Let G : = G 1 ⊗ G 2 + H 1 ⊗ H 2 G:=G_1\otimes G_2+H_1\otimes H_2 G := G 1 ⊗ G 2 + H 1 ⊗ H 2 and H : = G 1 ⊗ H 2 + G 2 ⊗ H 1 H:=G_1\otimes H_2+G_2\otimes H_1 H := G 1 ⊗ H 2 + G 2 ⊗ H 1 . By Equations (4) and (5) , for every connected graph K K K , it holds that hom ( K , G ) = hom ( K , H ) \operatorname{hom}(K,G)=\operatorname{hom}(K,H) hom ( K , G ) = hom ( K , H ) if, and only if,
( hom ( K , G 1 ) − hom ( K , H 1 ) ) ( hom ( K , G 2 ) − hom ( K , H 2 ) ) = 0. \bigl(\operatorname{hom}(K,G_1)-\operatorname{hom}(K,H_1)\bigr)\bigl(\operatorname{hom}(K,G_2)-\operatorname{hom}(K,H_2)\bigr)=0. ( hom ( K , G 1 ) − hom ( K , H 1 ) ) ( hom ( K , G 2 ) − hom ( K , H 2 ) ) = 0.
It follows that hom ( F , G ) ≠ hom ( F , H ) \operatorname{hom}(F,G)\ne\operatorname{hom}(F,H) hom ( F , G ) = hom ( F , H ) and G ≡ F 1 + F 2 H G\equiv_{\mathcal{F}_1+\mathcal{F}_2}H G ≡ F 1 + F 2 H .
The following corollary allows us to compute the homomorphism distinguishing closure of a sum of two componental graph classes as the sum of their closures.
Corollary 9.3. For componental graph classes F 1 , F 2 ⊆ G \mathcal{F}_1,\mathcal{F}_2\subseteq\mathcal{G} F 1 , F 2 ⊆ G , it holds that
cl ( F 1 + F 2 ) = cl ( F 1 ) + cl ( F 2 ) . \operatorname{cl}(\mathcal{F}_1+\mathcal{F}_2)=\operatorname{cl}(\mathcal{F}_1)+\operatorname{cl}(\mathcal{F}_2). cl ( F 1 + F 2 ) = cl ( F 1 ) + cl ( F 2 ) .
Proof. By (35) , F 1 + F 2 ⊆ cl ( F 1 ) + cl ( F 2 ) \mathcal{F}_1+\mathcal{F}_2\subseteq\operatorname{cl}(\mathcal{F}_1)+\operatorname{cl}(\mathcal{F}_2) F 1 + F 2 ⊆ cl ( F 1 ) + cl ( F 2 ) . By Lemma 9.2, cl ( F 1 ) \operatorname{cl}(\mathcal{F}_1) cl ( F 1 ) and cl ( F 2 ) \operatorname{cl}(\mathcal{F}_2) cl ( F 2 ) are componental. By Lemma 4.3, cl ( F 1 ) + cl ( F 2 ) \operatorname{cl}(\mathcal{F}_1)+\operatorname{cl}(\mathcal{F}_2) cl ( F 1 ) + cl ( F 2 ) is homomorphism distinguishing closed and thus
cl ( F 1 + F 2 ) ⊆ (35) cl ( cl ( F 1 ) + cl ( F 2 ) ) = (36) cl ( F 1 ) + cl ( F 2 ) . \operatorname{cl}(\mathcal{F}_1+\mathcal{F}_2)\underset{\text{(35)}}{\subseteq}\operatorname{cl}\bigl(\operatorname{cl}(\mathcal{F}_1)+\operatorname{cl}(\mathcal{F}_2)\bigr)\underset{\text{(36)}}{=}\operatorname{cl}(\mathcal{F}_1)+\operatorname{cl}(\mathcal{F}_2). cl ( F 1 + F 2 ) (35) ⊆ cl ( cl ( F 1 ) + cl ( F 2 ) ) (36) = cl ( F 1 ) + cl ( F 2 ) .
Conversely, cl ( F 1 ) , cl ( F 2 ) ⊆ cl ( F 1 + F 2 ) \operatorname{cl}(\mathcal{F}_1),\operatorname{cl}(\mathcal{F}_2)\subseteq\operatorname{cl}(\mathcal{F}_1+\mathcal{F}_2) cl ( F 1 ) , cl ( F 2 ) ⊆ cl ( F 1 + F 2 ) by (36) . By Lemma 9.2, cl ( F 1 ) + cl ( F 2 ) ⊆ cl ( F 1 + F 2 ) \operatorname{cl}(\mathcal{F}_1)+\operatorname{cl}(\mathcal{F}_2)\subseteq\operatorname{cl}(\mathcal{F}_1+\mathcal{F}_2) cl ( F 1 ) + cl ( F 2 ) ⊆ cl ( F 1 + F 2 ) .
Topological properties
Proposition 4.6. The homomorphism distinguishing topology is Fréchet , i.e., all singletons are closed. In particular, every essentially finite componental graph class is homomorphism distinguishing closed.
The proof of Proposition 4.6 requires the following theorem.
Theorem 9.4 (Lovász [1 ] and Chaudhuri & Vardi [59 ] ). Two graphs F , K ∈ G F,K\in\mathcal{G} F , K ∈ G are isomorphic if, and only if, for all graphs G ∈ G G\in\mathcal{G} G ∈ G , it holds that hom ( F , G ) = hom ( K , G ) \operatorname{hom}(F,G)=\operatorname{hom}(K,G) hom ( F , G ) = hom ( K , G ) .
Proof of Proposition 4.6. Let F F F be a connected graph. We show that the componental graph class generated by { F } \{F\} { F } is homomorphism distinguishing closed. That is, for every graph K K K not in this class, there exist graphs X X X and Y Y Y such that hom ( K , X ) ≠ hom ( K , Y ) \operatorname{hom}(K,X) \ne\operatorname{hom}(K,Y) hom ( K , X ) = hom ( K , Y ) and hom ( F , X ) = hom ( F , Y ) \operatorname{hom}(F,X) = \operatorname{hom}(F,Y) hom ( F , X ) = hom ( F , Y ) .
By Lemma 9.2 , it suffices to consider a connected graph K K K such that F ≇ K F \not\cong K F ≅ K . By Theorem 9.4 , there exists a graph G ∈ G G \in\mathcal{G} G ∈ G such that hom ( F , G ) ≠ hom ( K , G ) \operatorname{hom}(F,G) \ne\operatorname{hom}(K,G) hom ( F , G ) = hom ( K , G ) . Consider the graphs X : = G ⊗ K X := G \otimes K X := G ⊗ K and Y : = hom ( F , G ) K Y := \operatorname{hom}(F,G)K Y := hom ( F , G ) K . Then hom ( F , X ) = hom ( F , G ) hom ( F , K ) = hom ( F , Y ) \operatorname{hom}(F,X) = \operatorname{hom}(F,G)\operatorname{hom}(F,K) = \operatorname{hom}(F,Y) hom ( F , X ) = hom ( F , G ) hom ( F , K ) = hom ( F , Y ) by Equations (4) and (5) . Moreover, hom ( K , X ) = hom ( K , G ) hom ( K , K ) ≠ hom ( F , G ) hom ( K , K ) = hom ( K , Y ) \operatorname{hom}(K,X) = \operatorname{hom}(K,G)\operatorname{hom}(K,K) \ne\operatorname{hom}(F,G)\operatorname{hom}(K,K) = \operatorname{hom}(K,Y) hom ( K , X ) = hom ( K , G ) hom ( K , K ) = hom ( F , G ) hom ( K , K ) = hom ( K , Y ) since hom ( K , K ) ≠ 0 \operatorname{hom}(K,K) \ne0 hom ( K , K ) = 0 . The final assertion now follows from Lemma 4.3.
Proposition 4.7. The homomorphism distinguishing topology is disconnected and non-compact.
Proof. In order to show that our topology is disconnected, we must exhibit a non-trivial clopen set. In other words, by [60 Lemma 1.1] , we must find a non-trivial idempotent in C G \mathbb{C}^{\mathcal{G}} C G . We use the identity K 2 ⊗ K 2 = K 2 + K 2 K_2 \otimes K_2 = K_2 + K_2 K 2 ⊗ K 2 = K 2 + K 2 , which yields the non-trivial idempotent 1 2 K 2 \frac{1}{2}K_2 2 1 K 2 . In particular, the sets { F ∈ Z ∣ hom ( F , K 2 ) = 0 } = V ( { K 2 } ) ∩ Z \{F \in\mathcal{Z} \mid\operatorname{hom}(F,K_2) = 0\} = \mathcal{V}(\{K_2\}) \cap\mathcal{Z} { F ∈ Z ∣ hom ( F , K 2 ) = 0 } = V ({ K 2 }) ∩ Z and { F ∈ Z ∣ hom ( F , K 2 ) = 2 } = V ( { K 2 − 2 } ) ∩ Z \{F \in\mathcal{Z} \mid\operatorname{hom}(F,K_2) = 2\} = \mathcal{V}(\{K_2 - 2\}) \cap\mathcal{Z} { F ∈ Z ∣ hom ( F , K 2 ) = 2 } = V ({ K 2 − 2 }) ∩ Z are closed by Lemma 9.1 and disjoint. They are the componental graph classes of bipartite and non-bipartite graphs respectively.
A further example is given by the idempotent K 1 = K 1 ⊗ K 1 K_1 = K_1 \otimes K_1 K 1 = K 1 ⊗ K 1 , which shows that the set { F ∈ Z ∣ hom ( F , K 1 ) = 0 } \{F \in\mathcal{Z} \mid\operatorname{hom}(F,K_1) = 0\} { F ∈ Z ∣ hom ( F , K 1 ) = 0 } of all graphs with at least one edge is closed; hence { K 1 } \{K_1\} { K 1 } is open, and it is closed by Proposition 4.6, thus clopen.
For non-compactness, we recast the proof of [28 Theorem 6.15] , which shows that, for every S ⊆ N S \subseteq\mathbb{N} S ⊆ N , the componental graph class K S \mathcal{K}_S K S generated by the complete graphs K s K_s K s with s ∈ S s \in S s ∈ S is homomorphism distinguishing closed. Write K ℓ : = K { ℓ , ℓ + 1 , ℓ + 2 , … } \mathcal{K}_{\ell} := \mathcal{K}_{\{\ell,\ell+1,\ell+2,\ldots\}} K ℓ := K { ℓ , ℓ + 1 , ℓ + 2 , … } . The family of (closed) sets K ℓ \mathcal{K}_{\ell} K ℓ for ℓ ∈ N \ell\in\mathbb{N} ℓ ∈ N has the finite intersection property, i.e., any finite subfamily has non-empty intersection. However, the intersection ⋂ ℓ ∈ N K ℓ = ∅ \bigcap_{\ell\in\mathbb{N}} \mathcal{K}_{\ell} = \varnothing ⋂ ℓ ∈ N K ℓ = ∅ is empty.
Möbius inversion over the Boolean lattice
For the reader’s convenience, we state the fact about Möbius inversion underlying the proof of Lemma 6.28 . It is the instance of the Möbius inversion formula [61 Proposition 3.7.1] for the Boolean lattice 2 X 2^X 2 X , whose Möbius function is μ ( T , S ) = ( − 1 ) ∣ S ∖ T ∣ \mu(T,S) = (-1)^{|S \setminus T|} μ ( T , S ) = ( − 1 ) ∣ S ∖ T ∣ , and it is equivalent to the principle of inclusion–exclusion.
Lemma A.1 ([61 Example 3.8.3] ). Let X X X be a finite set and let f , g : 2 X → C f,g : 2^X \to\mathbb{C} f , g : 2 X → C . The following are equivalent:
(i) g ( S ) = ∑ T ⊆ S ( − 1 ) ∣ S ∖ T ∣ f ( T ) g(S) = \sum_{T \subseteq S} (-1)^{|S \setminus T|} f(T) g ( S ) = ∑ T ⊆ S ( − 1 ) ∣ S ∖ T ∣ f ( T ) for all S ⊆ X S \subseteq X S ⊆ X ,
(ii) f ( S ) = ∑ T ⊆ S g ( T ) f(S) = \sum_{T \subseteq S} g(T) f ( S ) = ∑ T ⊆ S g ( T ) for all S ⊆ X S \subseteq X S ⊆ X .
:::`