Documentation

Graphon.InfiniteSampler

The explicit infinite sampler for a fixed graphon (issue #51, sources + sampler) #

Reusable i.i.d. product sources via Measure.infinitePi, and the explicit measurable sampler from those sources to the infinite graph space:

The uniform distribution on [0,1].

Equations
Instances For

    The vertex source: i.i.d. positions ℕ → α with law μ.

    Equations
    Instances For

      The edge source: i.i.d. uniforms on [0,1], one per unordered edge.

      Equations
      Instances For
        noncomputable def InfiniteGraph.samplerSource {α : Type u_1} [MeasurableSpace α] (μ : MeasureTheory.Measure α) :

        The sampler source: independent vertex positions and edge uniforms.

        Equations
        Instances For
          noncomputable def InfiniteGraph.clampedRep {α : Type u_1} [MeasurableSpace α] {μ : MeasureTheory.Measure α} (W : Graphon α μ) (p : α × α) :

          The clamped [0,1]-valued representative of a graphon: an everywhere-valid edge probability (the graphon is only a.e. [0,1]-valued; clamping isolates the eventual a.e.-congruence argument).

          Equations
          Instances For
            theorem InfiniteGraph.clampedRep_mem_Icc {α : Type u_1} [MeasurableSpace α] {μ : MeasureTheory.Measure α} (W : Graphon α μ) (p : α × α) :
            theorem InfiniteGraph.clampedRep_ae_eq {α : Type u_1} [MeasurableSpace α] {μ : MeasureTheory.Measure α} (W : Graphon α μ) :
            ∀ᵐ (p : α × α) μ.prod μ, clampedRep W p = W.toAEEqFun p

            The clamped representative agrees with the graphon almost everywhere.

            noncomputable def InfiniteGraph.sampleInfinite {α : Type u_1} [MeasurableSpace α] {μ : MeasureTheory.Measure α} (W : Graphon α μ) (ω : (α) × (EdgeIndex)) :

            The explicit infinite sampler: include the edge e exactly when its uniform falls below the clamped graphon value at the Quot.out-representative endpoint positions (matching the orientation convention of sampleIntegrand, which eliminates the a.e.-symmetry orientation juggling in the marginal identification).

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              theorem InfiniteGraph.coordEquiv_sampleInfinite {α : Type u_1} [MeasurableSpace α] {μ : MeasureTheory.Measure α} (W : Graphon α μ) (ω : (α) × (EdgeIndex)) (e : EdgeIndex) :
              coordEquiv (sampleInfinite W ω) e = if ω.2 e clampedRep W (ω.1 (Quot.out e).1, ω.1 (Quot.out e).2) then true else false

              The edge coordinates of a sample, unfolded.

              The sampler is measurable in the sources: each edge coordinate is a measurable comparison.

              The finite marginal identification (issue #51, brick 2) #

              restrictFin k ∘ sampleInfinite W pushes the sampler source forward to exactly the finite sample law samplePMF W k, and hence sampleInfinite W realizes the infinite exchangeable law of sampleExchangeableLaw W. Route: reduce singleton masses to upper events {G | F ≤ G} via Möbius inversion (upperSum_injective); the upper event is a finite cylinder over the (injectively indexed) edge uniforms, whose vertex-conditional probability is the clamped edge product; integrating out the positions gives homDensity F W, which is also the upper transform of sampleMass W.

              The joint law of the first k vertex positions is the finite i.i.d. product.

              The finite marginal identification (issue #51, brick 2): the law of the first- k-vertices restriction of the sampled infinite graph is exactly the finite sample law samplePMF W k.

              The sampler realizes the infinite exchangeable law (issue #51): the pushforward of the sampler source under sampleInfinite W is the (A2-unique) infinite law of the sample exchangeable law of W.

              Exchangeability of the sampler's law: free from map_sampleInfinite, since the infinite law is invariant under every relabeling of .

              The canonical-class form of the realization theorem: the sampler's law is the canonical infinite law of the graphon class of W.