Documentation

Graphon.SamplingICL

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 #

References #

theorem Graphon.exists_partition_with_measures {α : Type u_1} [MeasurableSpace α] {μ : MeasureTheory.Measure α} [MeasureTheory.IsProbabilityMeasure μ] [StandardBorelSpace α] [MeasureTheory.NullSingletonClass μ] {K : } (w : Fin K) (hw_nn : ∀ (i : Fin K), 0 w i) (hw_sum : i : Fin K, w i = 1) :
∃ (P : MeasurablePartition α μ) (ι : Fin KSet α), (∀ (i : Fin K), ι i P.parts) Function.Injective ι (∀ SP.parts, ∃ (i : Fin K), ι i = S) P.parts.card = K ∀ (i : Fin K), (μ (ι i)).toReal = w i

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
        Instances For
          theorem Graphon.sampleGoodMassOn_mono {α : Type u_1} [MeasurableSpace α] {μ : MeasureTheory.Measure α} [MeasureTheory.IsProbabilityMeasure μ] [StandardBorelSpace α] [MeasureTheory.NullSingletonClass μ] (W : Graphon α μ) (k : ) [NeZero k] {ε₁ ε₂ : } (h : ε₁ ε₂) :

          The good mass is monotone in the accuracy ε.

          Complement form: the bad mass is 1 minus the good mass.

          theorem Graphon.sampleGoodMassOn_extract {α : Type u_1} [MeasurableSpace α] {μ : MeasureTheory.Measure α} [MeasureTheory.IsProbabilityMeasure μ] [StandardBorelSpace α] [MeasureTheory.NullSingletonClass μ] {k : } [NeZero k] (U W : Graphon α μ) (ε η ρ tv : ) (hUW : U.cutDistance W ρ) (htv : G : SimpleGraph (Fin k), |U.sampleMass G - W.sampleMass G| tv) (hU : 1 - η < U.sampleGoodMassOn k ε) :
          1 - η - tv < W.sampleGoodMassOn k (ε + ρ)

          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.