Homomorphism density Created 2026-09-24 Updated 2026-09-24
For finite graphs , the homomorphism density is the probability that a uniformly random map is a graph homomorphism. For bipartite graphs with prescribed vertex classes, the random map is chosen separately and uniformly into the corresponding classes.
Past exam of the mathematics course of the University of Cambridge 2025 iii Paper 164 2 Solution Created 2026-09-24 Updated 2026-09-24
Write , , and . We construct a random graph homomorphism . Choose a root of the tree. Map it according to the degree-biased vertex distribution on the corresponding side of the bipartite graph; after mapping any vertex, map each child independently and uniformly to a neighbour of its parent's image.
Every oriented tree edge is then mapped uniformly onto the edges of . Every tree vertex in has the degree-biased marginal on , of entropy , and every vertex in has the analogous marginal of entropy . Repeated use of the chain rule for information entropy along the rooted tree givesSince a -vertex tree has edges,The maximum entropy distribution on a finite set gives and . HenceIf is the number of bipartition-respecting graph homomorphisms , the support of has size , so the maximum entropy distribution on a finite set also gives . ThusThere are bipartition-respecting maps in total, so a uniformly chosen one is a graph homomorphism with probability at least . This proves the Sidorenko inequality for trees.
Sidorenko inequality for trees Created 2026-09-24 Updated 2026-09-24
Every tree satisfies the Sidorenko conjecture. If a bipartite host graph has edge density , then a uniformly random bipartition-respecting map from a -vertex tree into the host is a graph homomorphism with probability at least .