Homomorphism densities of a graphon #
The homomorphism density t(F, W) of a finite graph F in a graphon W: integrate, over all maps
x : V(F) → Ω, the product of W along the edges of F.
t(F, W) = ∫ ∏_{e ∈ E(F)} W (x eᵢ) (x eⱼ) dμ^{V(F)}
Edges are Sym2, and no orientation is chosen. An edge of a SimpleGraph is a Sym2 element,
with no distinguished endpoint. Rather than pick a representative, edgeFactor is built with
Sym2.lift from the symmetric function fun a b => W (x a) (x b) — symmetric exactly because a
graphon is. Choosing an orientation would work numerically but would leave every later proof
carrying a well-definedness obligation that the Sym2.lift formulation discharges once.
The empty cases are not special-cased. The empty product is 1, and the probability-measure
instance for Measure.pi makes its integral 1, including when the vertex type is empty. Nothing
here needs a nonempty-carrier hypothesis.
Main definitions #
TauCeti.DenseGraphLimits.edgeFactor— the value ofWon one edge, orientation-free;TauCeti.DenseGraphLimits.homDensity— the densityt(F, W).
Main results #
edgeFactor_congr— an edge factor depends only on the assignment along that edge;edgeFactor_map— an edge factor is read along a map of vertex sets by pulling the assignment back;measurable_prod_edgeFactor,prod_edgeFactor_nonneg,prod_edgeFactor_le_oneandintegrable_prod_edgeFactor— the basic analytic facts about a finite product of edge factors, each edge read in its own graphon. The integrand ofhomDensityis the special case of one graphon on the edges ofF, and the telescoping proof of the counting lemma needs the general form;homDensity_nonneg,homDensity_le_one—t(F, W) ∈ [0, 1], with no hypotheses;homDensity_const— the Erdős–Rényi valuet(F, W_p) = p ^ e(F), the first real consumer of both the graphon carrier and this definition.
References #
- Roadmap:
TauCetiRoadmap/DenseGraphLimits/README.md, Layer 1 —homDensityand the constant-graphon value. The counting lemmas,cutNorm, finite-graph compatibility withhomDensityFin, disjoint-union multiplicativity, and the catalogue of small-graph integrals are separate targets and are not built here. - L. Lovász, Large Networks and Graph Limits, AMS Colloquium Publications 60 (2012), §7.2.
The value of a graphon on a single edge, as a function of the vertex assignment.
Built with Sym2.lift from fun a b => W (x a) (x b), which is symmetric because W is, so no
orientation of the edge is chosen.
Equations
- TauCeti.DenseGraphLimits.edgeFactor W x e = Sym2.lift ⟨fun (a b : V) => W (x a) (x b), ⋯⟩ e
Instances For
Each edge factor is nonnegative, since a graphon is.
Each edge factor is at most 1, since a graphon is.
Each edge factor depends measurably on the vertex assignment.
The value of a graphon on an edge depends only on the vertex assignment along that edge. This is what lets an edge factor be read off after the assignment has been altered away from the edge.
Reading an edge after pushing it forward along a map of vertex sets is reading the original edge in the pulled-back assignment.
A finite product of edge factors, each edge read in its own graphon, depends measurably on the vertex assignment.
A finite product of edge factors is nonnegative.
A finite product of edge factors is at most 1: every factor lies in [0, 1].
A finite product of edge factors is integrable against the product measure: it is measurable
and [0, 1]-valued on a probability space.
The homomorphism density t(F, W): the integral, over vertex assignments, of the product of
W along the edges of F.
Outside this module, use homDensity_def to unfold homDensity; its definition is intentionally
not exposed across module boundaries.
Equations
- TauCeti.DenseGraphLimits.homDensity F W = ∫ (x : V → Ω), ∏ e ∈ F.edgeFinset, TauCeti.DenseGraphLimits.edgeFactor W x e ∂MeasureTheory.Measure.pi fun (x : V) => μ
Instances For
The defining integral of homDensity.
Outside this module, use this to unfold homDensity; its definition is intentionally not exposed
across module boundaries, so rfl will not do it.
The integrand of homDensity is nonnegative.
The integrand of homDensity is at most 1: it is a product of factors in [0, 1].
The integrand of homDensity is integrable: it is measurable and bounded on a probability
space.
A homomorphism density is nonnegative.
A homomorphism density is at most 1.
The Erdős–Rényi value. The constant graphon with parameter p has
t(F, W_p) = p ^ e(F).