Documentation

Graphon.InfiniteDigraphLaw

Exchangeable directed-graph laws: the PMF-based finite API (directed umbrella #84, D2 / #86) #

The directed specialization of the generic exchangeable-law theory (R2, issue #105). Because digraphSig has finitely many relation symbols, a finite directed law over Fin k is a genuine probability mass function PMF (Digraph (Fin k)) — the conventional combinatorial object — rather than a ProbabilityMeasure on the (uncountable) relational carrier. This file provides that user-facing PMF-based API and bridges it to the measure-side RelExchangeableLaw digraphSig, then composes with the R2c equivalence to obtain the headline finite/infinite directed equivalence.

The measurable / topological structure is used only on the relational carrier (InfiniteDigraph / FiniteDigraph); Mathlib's Digraph carries no measurable-space instance. The finite PMFProbabilityMeasure conversions are localized to the bridge maps.

The finite carrier equivalence commutes with restriction #

The carrier equivalence commutes with comap: pulling a relational structure back along a constant sortwise map and then reading it as a digraph is the same as reading it as a digraph and pulling that back. The directed analogue of SimpleGraph.comap naturality.

theorem finiteDigraphEquiv_restrict {k l : } (e : Fin k Fin l) :

Restriction commutes with the finite carrier equivalence (forward form): reading a digraph off a relational structure and then Digraph.comap-ping is the same as RelStructure.restrict-ing and then reading it off.

theorem finiteDigraphEquiv_symm_restrict {n m : Unit} (e : (s : Unit) → Fin (n s) Fin (m s)) :

Restriction commutes with the finite carrier equivalence (inverse form): the shape needed to transport PMF-marginals along finiteDigraphEquiv.symm.

The PMF-based finite directed law #

An exchangeable directed-graph law, presented by its consistent finite marginals: a PMF (Digraph (Fin k)) for every k, consistent under Digraph.comap along every injection of labels. The directed analogue of Graphon.ExchangeableGraphLaw; the marginals are PMFs because digraphSig is a finite signature.

Instances For
    theorem ExchangeableDigraphLaw.ext {L M : ExchangeableDigraphLaw} (h : ∀ (k : ), L.law k = M.law k) :
    L = M

    The measure-side marginals of a PMF-based directed law: transport each PMF (Digraph (Fin k)) across finiteDigraphEquiv.symm and read it as a probability measure on the relational carrier.

    Equations
    Instances For

      The PMF-marginals of a measure-side directed law: read each relational marginal as a PMF (Measure.toPMF, the carrier is finite) and transport it across finiteDigraphEquiv.

      Equations
      Instances For

        The finite directed bridge: PMF-based exchangeable directed-graph laws are the same data as measure-side exchangeable relational laws over digraphSig, with finiteDigraphEquiv and the PMFProbabilityMeasure correspondence as inverse transports.

        Equations
        Instances For

          The infinite directed law and the headline equivalence #

          @[reducible, inline]

          An infinite exchangeable directed-graph law: a probability law on the infinite digraph space InfiniteDigraph invariant under every relabelling of . The measurable structure lives on the relational carrier, so this is the digraphSig specialization of InfiniteRelExchangeableLaw.

          Equations
          Instances For

            The directed finite/infinite exchangeable-law equivalence: PMF-based exchangeable directed-graph laws are the same data as relabelling-invariant laws on the infinite digraph space — the finite bridge digraphLawEquiv composed with the R2c relational equivalence relExchangeableLawEquiv. (This is the projective-law equivalence; the directed representation theorem — a mixture over digraphons — is later, D3/D4.)

            Equations
            Instances For

              The infinite directed law realizes the finite PMF-marginals: restricting the infinite law to the first k vertices, reading it as a probability mass function (Measure.toPMF, the finite carrier is countable) and transporting it across finiteDigraphEquiv recovers D.law k — the genuine PMF (Digraph (Fin k)), with no measurable structure placed on Digraph.