On Algorithms Based on Finitely Many Homomorphism Counts

Abstract

It is well known [Lov\'asz, 67] that up to isomorphism a graph~G is determined by the homomorphism counts (F, G), i.e., the number of homomorphisms from F to G, where F ranges over all graphs. Thus, in principle, we can answer any query concerning G with only accessing the (·,G)'s instead of G itself. In this paper, we deal with queries for which there is a hom algorithm, i.e., there are finitely many graphs F1, …, Fk such that for any graph G whether it is a Yes-instance of the query is already determined by the vector\[F1,…,Fk(G):= ((F1,G),…,(Fk,G)),\]where the graphs F1, …, Fk only depend on . We observe that planarity of graphs and 3-colorability of graphs, properties expressible in monadic second-order logic, have no hom algorithm. On the other hand, queries expressible as a Boolean combination of universal sentences in first-order logic FO have a hom algorithm. Even though it is not easy to find FO definable queries without a hom algorithm, we succeed to show this for the non-existence of an isolated vertex, a property expressible by the FO sentence ∀ x∃ y Exy, somehow the ``simplest'' graph property not definable by a Boolean combination of universal sentences.These results provide a characterization of the prefix classes of first-order logic with the property that each query definable by a sentence of the prefix class has a hom algorithm. For adaptive query algorithms, i.e., algorithms that again access F1,…,Fk(G) but here Fi+1 might depend on (F1,G),…,(Fi,G), we show that three homomorphism counts (·,G) are both sufficient and in general necessary to determine the isomorphism type of G.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…