The graphon space: compact metric quotient of graphons under weak isomorphism (issue #23) #
Packages the proved pseudometric theory of cutDistance into a bundled state space
(route vetted 2026-07-10):
- a
PseudoMetricSpaceinstance on rawGraphon α μwithdist = cutDistance(the triangle inequality fixes the instance boundary at[StandardBorelSpace α] [NullSingletonClass μ]); GraphonSpace α μ := SeparationQuotient (Graphon α μ)— Mathlib's metric separation quotient, NOT a hand-rolledQuotient: theMetricSpace,CompleteSpace, andNonemptyinstances come for free, and quotient equality is exactlyWeaklyIsomorphic(GraphonSpace.mk_eq_mk_iff);CompactSpace (GraphonSpace α μ): total boundedness transfers through the uniformly continuous surjective quotient map (Graphon.totallyBoundedis called atε / 2because it produces closed-ball nets whileMetric.totallyBounded_iffwants open balls) and combines with the transferred completeness;- the canonical Borel measurable space on the quotient, giving
BorelSpace,SecondCountableTopology,PolishSpace, andStandardBorelSpace— the right home for graphon-valued laws. (RawGraphon α μdeliberately receives NO measurable structure: the quotient is the object that carries random graphons.) StandardGraphonSpace— the fixed unit-interval alias for probability-facing APIs, so downstream theorems need not carry base-space typeclasses.
Deferred explicitly (separate campaigns): isometry/transport between quotients over
different atomless standard bases (a MeasureIso application), measurable selectors.
The cut distance as a pseudometric on raw graphons. Not a metric: distance zero is
weak isomorphism, not equality — hence the SeparationQuotient below.
Equations
- Graphon.instPseudoMetricSpace = { dist := Graphon.cutDistance, dist_self := ⋯, dist_comm := ⋯, dist_triangle := ⋯, edist_dist := ⋯, uniformity_dist := ⋯, cobounded_sets := ⋯ }
Raw graphon space is complete: the metric Cauchy predicate is the project's
sequential IsCauchy, discharged by the proved complete.
Raw graphon space is totally bounded (from the proved finite-net theorem, invoked at half radius to convert closed-ball nets into open balls).
The graphon space: the metric separation quotient of Graphon α μ under cut
distance — equivalently, graphons modulo weak isomorphism — as a compact Polish
standard-Borel metric space.
Equations
- GraphonSpace α μ = SeparationQuotient (Graphon α μ)
Instances For
The class of a graphon in the graphon space.
Equations
Instances For
Quotient equality is weak isomorphism: two graphons have the same class iff they are weakly isomorphic (cut distance zero).
Compactness of the graphon space (Lovász–Szegedy): complete + totally bounded.
The canonical Borel measurable structure on the graphon space — the state space for graphon-valued random elements.
Equations
The standard graphon space, over the unit interval with Lebesgue measure: the
canonical fixed-domain state space for probability measures on graphons (downstream
probability APIs need not carry base-space typeclasses). Base-independence — isometry
with GraphonSpace α μ over any atomless standard Borel probability base — is a
deferred MeasureIso application.