Finite sampling from a graphon #
The W-random graph on Fin n is obtained in two stages: first sample n independent points
from the graphon's probability space, then include each unordered pair independently with
probability given by the value of W at its two sampled points. This file integrates out both
stages and packages the resulting masses as a probability measure on finite simple graphs.
The mass of a graph G is the integral of a finite product. Its edges contribute factors W,
while its nonedges contribute factors 1 - W. At fixed vertex positions, summing this product
over the graphs that decide a fixed set of pairs in a prescribed way expands as
∏ₑ (Wₑ + (1 - Wₑ)) = 1 over the remaining undecided pairs, leaving the factors of the decided
ones. Requiring a fixed set of edges and leaving the rest free is the special case that computes
the mass of an upper event, and deciding nothing at all gives normalization without imposing any
extra regularity on the graphon's carrier.
Main definitions #
TauCeti.DenseGraphLimits.sampleIntegrand— the conditional mass of a graph at fixed sampled vertex positions;TauCeti.DenseGraphLimits.sampleMass— that mass after integrating over the positions;TauCeti.DenseGraphLimits.sampleGraph— the resulting probability measure.
Main results #
sum_sampleIntegrand_inter_eqcomputes the conditional mass of the graphs with a prescribed trace on a fixed set of pairs;sum_sampleIntegrand_superset_eq_prod_edgeFactorspecializes it to the graphs containing a fixed set of edges;sampleIntegrand_eq_prod_edgeFinset_topwrites the conditional mass as a single product over the pairs of the complete graph;sampleMass_nonnegandsum_sampleMass_eq_oneshow that the masses form a probability law;sampleGraph_singletoncomputes the probability of an individual graph;sampleGraph_constidentifies sampling a constant graphon with Mathlib's binomial random graph.
References #
- L. Lovász, Large Networks and Graph Limits, AMS Colloquium Publications 60 (2012), Sections 10.1--10.2.
- C. Freer,
cameronfreer/graphonat commit6eccca5bbe5c9df46d7129bf59575b8b9b1d6699, Apache-2.0,Graphon/Sampling.lean,Graphon/SamplingLaw.lean, andGraphon/SamplingExamples.lean. The definitions and the Boolean-cube normalization argument, here generalized to a prescribed trace on a fixed set of pairs, are adapted to Tau Ceti's strict graphon carrier; the constant-law proof reuses the same reduction to Mathlib's singleton-mass formula.
The conditional mass of G at fixed sampled vertex positions. Edges contribute W and
nonedges contribute 1 - W.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The probability mass assigned to G by the W-random graph: integrate its conditional mass
over the independently sampled vertex positions.
Equations
- TauCeti.DenseGraphLimits.sampleMass W G = ∫ (x : Fin n → Ω), TauCeti.DenseGraphLimits.sampleIntegrand W G x ∂MeasureTheory.Measure.pi fun (x : Fin n) => μ
Instances For
The defining edge/nonedge product of the sampled-graph integrand.
The defining integral of a sampled graph's mass.
The sampled-graph integrand is measurable in the vertex positions.
The sampled-graph integrand is nonnegative.
The sampled-graph integrand is at most 1.
The sampled-graph integrand is integrable against the product probability measure.
The conditional mass of G as a single product over the pairs of the complete graph: each
pair contributes the graphon value if G joins it and the complementary value if it does not.
Sampled-graph masses are nonnegative.
A sampled-graph mass is at most 1.
At fixed vertex positions, summing the conditional masses over the graphs whose edges meet a
fixed loop-free set A in a prescribed subset B collapses to the product of the edge factors of
B against the complementary factors of A \ B: the edges left undecided by A contribute
∏ₑ (Wₑ + (1 - Wₑ)) = 1. Loop-freeness of A is expressed as containment in the edges of the
complete graph.
At fixed vertex positions, summing the conditional masses over every graph whose edges
include a fixed loop-free set T collapses to the product of the edge factors of T: the
optional edges outside T contribute ∏ₑ (Wₑ + (1 - Wₑ)) = 1. Loop-freeness of T is expressed
as containment in the edges of the complete graph.
At fixed vertex positions, the conditional masses sum to 1 over all simple graphs.
The sampled-graph masses sum to 1.
The W-random graph law on Fin n.
Equations
Instances For
A sampled graph law is a probability measure.
The probability that the sampled graph equals G.
The sampled mass of a constant graphon is the usual independent-edge mass.
Sampling a constant graphon gives Mathlib's binomial random graph law.