The graph homomorphism density of a finite simple graph
in a finite simple graph
with at least one graph vertex is
|
(1)
|
where
counts all graph homomorphisms from
to
.
It is the probability that a uniformly
chosen function from
to
takes every graph edge of
to a graph edge of
. The function may identify
vertices that are not adjacent.
For the complete graph ,
.
This normalization is used in Sidorenko's conjecture.
The definition extends to a graphon, a symmetric measurable function , by
|
(2)
|
For a common graph , the sum of the two densities
and
is minimized by the constant graphon
.
Write ,
,
and let
be the chromatic polynomial of
. The polynomial
|
(3)
|
is interpreted by continuous extension at .
For the balanced complete
-partite graphon
,
which is zero on each of
equal parts and one between parts,
. The Goodman-type inequality
is
for every graphon with
,
where
is the chromatic number. For
, this is Goodman's classical bound
(Goodman 1959).
Kim (2026) proves this inequality for connected chordal graphs whose maximal cliques all have the same
size at least 3, for every trivially perfect
graph with an edge, and for the join of any complete
graph and an odd cycle. More generally, a connected chordal
graph with satisfies the bound if
. The restriction on chordal
graphs matters: a triangle with twenty leaves attached to each vertex is chordal
but violates the inequality for an explicit graphon of edge density
.
For a nonbipartite graph ,
Kim proves that the inequality holds at every sufficiently high edge density iff
the girth of
is odd. When the girth is odd, it
holds whenever
.
Equivalently,
minimizes
at density
for all sufficiently large integers
exactly when the girth of
is odd. The optimal uniform exponent in a threshold of the
form
lies between 4 and 12; the lower bound follows from
a triangle attached along an edge of a complete
bipartite graph.
Of the 117 nonbipartite graphs on at most six vertices without isolated vertices or isolated edges, Kim reports that exactly 94 satisfy the Goodman-type inequality,
while exactly 100 have optimal for every integer
. The classification uses exact sum-of-squares
certificates and explicit counterexamples. The author attributes substantial proofs
and the finite classification to AI systems, reports checking and revising the results,
and supplies Lean formalizations. The full odd-cycle density range used for the clique-join
result is supplied in the accompanying formal development.