The sampling route to the quantitative inverse counting lemma #
This file hosts the space-generic good-mass layer over the sampled graph distribution
(Graphon/Sampling.lean) and derives the partition-size-independent quantitative
inverse counting lemma from the (sorried) First Sampling Lemma.
Everything is stated over an arbitrary atomless standard Borel probability space: the
classical sampling lemma is not inherently about [0,1] — the unit interval is just a
convenient presentation — and the space-generic statement is the honest interface, since
transferring cut distances between spaces would require the measure isomorphism theorem
(α ≅ ([0,1], volume) mod 0), which mathlib currently lacks (it is Rokhlin-adjacent and
will be developed with that blocker).
Main declarations #
Graphon.exists_partition_with_measures— partitions with prescribed cell measures (moved fromGraphon/InverseCounting.lean)Graphon.ofSimpleGraphOn— the finite-graph step-graphon embedding on an arbitrary atomless standard Borel space (equal-measure cells)Graphon.sampleGoodMassOn— probability that the sampled graph lands within cut distanceεofW- (moved)
Graphon.first_sampling_lemmaandGraphon.sampling_quantitative_iclnow live inGraphon/SamplingLemma.lean, downstream of the two proved concentration events — the First Sampling Lemma is PROVED there by recombination
References #
- [L. Lovász, Large Networks and Graph Limits][lovasz2012], Lemma 10.16
- Borgs–Chayes–Lovász–Sós–Vesztergombi, Convergent sequences of dense graphs I, Theorem 4.6
Build a MeasurablePartition with K cells having prescribed measures. (Moved here
from Graphon/InverseCounting.lean, 2026-07-07, and de-privatized so the sampling layer
can build finite-graph embeddings on arbitrary atomless standard Borel spaces.)
A chosen equal-measure k-cell partition (shared by every finite-graph and
weighted-sample embedding at level k, so their step graphons live on the SAME
partition).
Equations
Instances For
The chosen enumeration of the cells of equipartition k.
Equations
Instances For
The finite-graph embedding on an arbitrary atomless standard Borel space: the
step graphon of G over the chosen equal-measure k-cell partition
(equipartition k), with 0/1 coefficients given by adjacency. The generic analogue
of ofSimpleGraph (which is the [0,1]-interval presentation). Downstream uses treat
this as opaque.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The mass of "good" sampled graphs: those whose embedded step graphon lies within
cut distance ε of W.
Equations
- W.sampleGoodMassOn k ε = ∑ G : SimpleGraph (Fin k), if W.cutDistance (Graphon.ofSimpleGraphOn G) < ε then W.sampleMass G else 0
Instances For
The good mass is nonnegative.
The good mass is at most 1.
The good mass is monotone in the accuracy ε.
Complement form: the bad mass is 1 minus the good mass.
Good-mass extraction — the coupling bridge. If U and W are within cut
distance ρ and their sampled distributions are within total variation tv, then a
(1−η)-good mass for U at accuracy ε yields a (1−η−tv)-good mass for W at the
slackened accuracy ε + ρ. The slack ρ is unavoidable (the good events differ), and
this lemma is NOT used in the ICL derivation below (that would be circular); it is the
general-purpose coupling form.