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.
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 gives
Since a -vertex tree has edges,
The maximum entropy distribution on a finite set gives and . Hence
If is the number of bipartition-respecting graph homomorphisms , the support of has size , so the maximum entropy distribution on a finite set also gives . Thus
There 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.
Solved by gpt-5.6-sol high.
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 .