Documentation

TauCeti.Combinatorics.DenseGraphLimits.Sampling.Finite

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 #

Main results #

References #

noncomputable def TauCeti.DenseGraphLimits.sampleIntegrand {Ω : Type u_1} [MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {n : ℕ} (W : Graphon Ω μ) (G : SimpleGraph (Fin n)) (x : Fin n → Ω) :

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
    Instances For
      theorem TauCeti.DenseGraphLimits.sampleIntegrand_def {Ω : Type u_1} [MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {n : ℕ} (W : Graphon Ω μ) (G : SimpleGraph (Fin n)) (x : Fin n → Ω) :
      sampleIntegrand W G x = (∏ e ∈ G.edgeFinset, edgeFactor W x e) * ∏ e ∈ ⊤.edgeFinset \ G.edgeFinset, (1 - edgeFactor W x e)

      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.

      theorem TauCeti.DenseGraphLimits.sum_sampleIntegrand_inter_eq {Ω : Type u_1} [MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {n : ℕ} (W : Graphon Ω μ) (A B : Finset (Sym2 (Fin n))) (hA : A ⊆ ⊤.edgeFinset) (hBA : B ⊆ A) (x : Fin n → Ω) :
      ∑ H : SimpleGraph (Fin n) with H.edgeFinset ∩ A = B, sampleIntegrand W H x = (∏ e ∈ B, edgeFactor W x e) * ∏ e ∈ A \ B, (1 - edgeFactor W x e)

      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.

      theorem TauCeti.DenseGraphLimits.sum_sampleIntegrand_superset_eq_prod_edgeFactor {Ω : Type u_1} [MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {n : ℕ} (W : Graphon Ω μ) (T : Finset (Sym2 (Fin n))) (hT : T ⊆ ⊤.edgeFinset) (x : Fin n → Ω) :
      ∑ H : SimpleGraph (Fin n) with ↑T ⊆ H.edgeSet, sampleIntegrand W H x = ∏ e ∈ T, edgeFactor W x e

      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.

      @[simp]

      The probability that the sampled graph equals G.

      @[simp]

      The sampled mass of a constant graphon is the usual independent-edge mass.

      @[simp]

      Sampling a constant graphon gives Mathlib's binomial random graph law.