An Algorithmic Meta Theorem for Homomorphism Indistinguishability

Tim Seppelt
2024-02-14
Abstract:Two graphs $G$ and $H$ are homomorphism indistinguishable over a family of graphs $\mathcal{F}$ if for all graphs $F \in \mathcal{F}$ the number of homomorphisms from $F$ to $G$ is equal to the number of homomorphism from $F$ to $H$. Many natural equivalence relations comparing graphs such as (quantum) isomorphism, cospectrality, and logical equivalences can be characterised as homomorphism indistinguishability relations over various graph classes.
Logic in Computer Science,Computational Complexity,Discrete Mathematics,Combinatorics
What problem does this paper attempt to address?
The problem that this paper attempts to solve is an algorithmic meta - theorem regarding homomorphism indistinguishability. Specifically, the author focuses on how to effectively determine whether two graphs \(G\) and \(H\) are homomorphism - indistinguishable over a given graph class \(F\). That is, for all \(F\in F\), whether the number of homomorphisms from \(F\) to \(G\) is equal to the number of homomorphisms from \(F\) to \(H\). ### Main Problem Description Define two graphs \(G\) and \(H\) to be homomorphism - indistinguishable over graph class \(F\) if for all \(F\in F\), the number of homomorphisms from \(F\) to \(G\) is equal to the number of homomorphisms from \(F\) to \(H\). Formally, it is represented as: \[ \text{For all } F\in F, \quad \text{hom}(F, G)=\text{hom}(F, H) \] where \(\text{hom}(F, G)\) represents the number of homomorphisms from graph \(F\) to graph \(G\). ### Decision Problem The decision problem \(\text{HomInd}(F)\) is defined as follows: - Input: Graphs \(G\) and \(H\) - Problem: Are \(G\) and \(H\) homomorphism - indistinguishable over graph class \(F\)? ### Research Background and Challenges Previously, for most graph classes \(F\), little was known about the solvability and complexity of \(\text{HomInd}(F)\). Especially when \(F\) is a graph class with bounded treewidth, this problem has not been fully studied. ### Main Contributions of the Paper The main contribution of this paper is to provide a randomized polynomial - time algorithm for determining homomorphism - indistinguishability over graph classes \(F\) with bounded treewidth and definable in counting monadic second - order logic (CMSO2). Specifically: - For any recognizable graph class \(F\) with bounded treewidth, the author proves that \(\text{HomInd}(F)\) can be solved in randomized polynomial time. - A parameterized version of the \(\text{HomInd}\) problem is proposed, and the corresponding algorithm and complexity analysis are given. - The case of pathwidth is further explored, and similar conclusions are proved. ### Key Results The main theorem (Theorem 1.1) shows that: \[ \text{Let } k\geq1. \text{ If } F \text{ is a } k - \text{recognizable graph class with treewidth at most } k - 1, \text{ then } \text{HomInd}(F) \text{ is in coRP.} \] This means that there exists a randomized algorithm that can determine \(\text{HomInd}(F)\) in polynomial time and always accepts all YES instances, while the probability of wrongly accepting NO instances is less than half. Through these contributions, this paper provides new insights and tools for the computational complexity and algorithm design of graph homomorphism - indistinguishability.