Finite subgraph densities: t, t_inj, t_ind (#94, PR 1) #
The three classical labeled subgraph densities of a finite target graph (Lovász, Large networks and graph limits, §5.2), with their normalization conventions, and the direct bridges to this repo's finite graphon-sampling formulas:
SimpleGraph.homCount/SimpleGraph.t— adjacency-preserving vertex maps, normalized by alln ^ kmaps (the homomorphism density);SimpleGraph.injHomCount/SimpleGraph.tInj— injective adjacency-preserving maps, normalized by then.descFactorial kinjective maps;SimpleGraph.indCount/SimpleGraph.tInd— injective maps pulling the target back to exactlyF(labeled induced copies), same normalizer;SimpleGraph.pullbackCount— the all-maps exact-pullback count, the combinatorial content of the sampling mass; the analytic bridges to the empirical-graphon formulas live inGraphon.SubgraphDensityBridges(keeping this file's import closure to pure combinatorics).
Small-host convention: for n < k there are no injective maps, n.descFactorial k = 0,
and (division by zero being zero) tInj and tInd are zero — recorded as
tInj_eq_zero_of_lt / tInd_eq_zero_of_lt, which is what makes the Möbius sum identity
unconditional.
PR 2 of #94 adds, still in the pure closure (source crosswalk: Lovász, Large networks and
graph limits, §5.2.3): tInj_eq_sum_tInd — the zeta identity (5.19),
t_inj(F, ·) = ∑_{F' ⊇ F} t_ind(F', ·); tInd_eq_sum_neg_one_pow_tInj — the inverse
Möbius identity (5.20), t_ind(F, ·) = ∑_{F' ⊇ F} (−1)^{|E(F') ∖ E(F)|} t_inj(F', ·);
and the collision comparisons (5.21) abs_t_sub_tInj_le /
abs_pullbackCount_div_sub_tInd_le (≤ k²/n), whose empirical-graphon forms live in
Graphon.SubgraphDensityBridges.
The labeled homomorphism count: vertex maps carrying every edge of F to an edge
of H.
Instances For
The injective homomorphism count.
Equations
- F.injHomCount H = {f : Fin k → Fin n | Function.Injective f ∧ F ≤ SimpleGraph.comap f H}.card
Instances For
The labeled induced-copy count: injective vertex maps pulling H back to
exactly F.
Equations
- F.indCount H = {f : Fin k → Fin n | Function.Injective f ∧ SimpleGraph.comap f H = F}.card
Instances For
The all-maps exact-pullback count — the combinatorial content of the sampling mass of the empirical graphon (no injectivity; collisions allowed).
Equations
- F.pullbackCount H = {f : Fin k → Fin n | SimpleGraph.comap f H = F}.card
Instances For
The homomorphism density t(F, H): the proportion of all n ^ k vertex maps that
are homomorphisms.
Instances For
The injective homomorphism density t_inj(F, H): the proportion of the
n.descFactorial k injective vertex maps that are homomorphisms. For n < k there are no
injective maps and the convention is tInj = 0 (division by the zero descending factorial).
Equations
- F.tInj H = ↑(F.injHomCount H) / ↑(n.descFactorial k)
Instances For
The induced density t_ind(F, H): the proportion of the n.descFactorial k
injective vertex maps that induce exactly F. For n < k there are no injective maps and
the convention is tInd = 0 (division by the zero descending factorial).
Equations
- F.tInd H = ↑(F.indCount H) / ↑(n.descFactorial k)
Instances For
Normalization sanity #
The Möbius sum identity and the collision comparison (#94, PR 2) #
Fiberwise classification: an injective homomorphism pulls the host back to a unique
supergraph of F, so the injective homomorphism count is the sum of the induced-copy counts
over the supergraphs of F.
The Möbius sum identity: the injective density is the upper sum of the induced
densities over the supergraphs of F — unconditional, thanks to the small-host zero
convention on both sides.
The inverse Möbius identity (Lovász (5.20)): the induced density is the signed sum of the injective densities over the supergraphs, with sign the parity of the added edges — unconditional, by the small-host zero convention.
The collision comparison (Lovász, Large networks and graph limits, (5.21)-style):
the homomorphism density and the injective homomorphism density differ by at most k²/n —
both sides of the decomposition are bounded by the non-injective proportion, which the
birthday bound controls.
The collision comparison for exact pullbacks: the all-maps exact-pullback proportion
(the sampling mass of the empirical graphon) and the induced density differ by at most
k²/n.
Small-host convention: tInj vanishes when the host is smaller than the pattern.
Small-host convention: tInd vanishes when the host is smaller than the pattern.