cycle homomorphism density is given by the trace of the adjacency matrix

[[concept]]

claim

Let be the -cycle. Let be a graph with adjacency matrix eigenvalues

For , we have

Proof

Note that

Thus

Note

This implies that cycles can be counted using a convolutional GNN with white input (see Lecture 9) with graph shift operator .

Mentions

TABLE
FROM [[]]
 
FLATTEN choice(contains(artist, this.file.link), 1, "") + choice(contains(author, this.file.link), 1, "") + choice(contains(director, this.file.link), 1, "") + choice(contains(source, this.file.link), 1, "") as direct_source
 
WHERE !direct_source