The homomorphism density $t(F,G) = \mathrm{hom}(F,G) / |W|^{|V|}$ of a graph homomorphism from $F$ into $G$, where $V = V(F)$ and $W = V(G)$.
Instances For
The Sidorenko conjecture (Conjecture 10.3.2): for any bipartite graph $F$ and any graph $G$, the homomorphism density satisfies $t(F,G) \ge t(K_2,G)^{e(F)}$.
Decidability of adjacency in the path graph $P_4$ on four vertices.
Case analysis on adjacency in the path graph $P_4$: the only adjacent pairs are $(0,1), (1,2), (2,3)$ and their reverses.
Number of length-3 walks in $G$ counted as $\sum_b \deg(b) \sum_{c \sim b} \deg(c)$, used to express homomorphism counts from $P_4$ into $G$.
Instances For
The number of graph homomorphisms $P_4 \to G$ equals the walk count $\sum_b \deg(b) \sum_{c \sim b} \deg(c)$.
Cauchy-Schwarz-type bound: $(\sum_v \deg v)(\sum_v \deg^2 v) \le |V| \cdot W(G)$ where $W(G)$ is the walk count. A key step in proving Blakey-Roy for $P_4$.
The Blakey-Roy inequality (Theorem 10.3.3, Sidorenko for the three-edge path): $(2 e(G))^3 \le |V(G)|^2 \cdot \mathrm{hom}(P_4, G)$.