Documentation

Graphon.InfiniteDigraph

The infinite digraph space as an R1 instance (directed umbrella #84, D1 / issue #85) #

Directed graphs are the one-sort, single binary relation, ordered-arguments, diagonal-permitted case of the generic relational carrier (R1). Rather than re-derive the topology / measurable structure, this file instantiates it: InfiniteDigraph is defined as the relational structure over digraphSig, so it inherits — with no new proofs — the compact / Polish / standard-Borel instances, the measurable finite restrictions, the cylinder π-system, and the finite-restriction measure extensionality of R1b. All topology lives on InfiniteDigraph; the bridge to Mathlib's Digraph is a plain carrier equivalence (Prop ≃ Bool classically), generic over the vertex type, so it yields both the infinite and the finite bridges (the latter for D2).

The projective extension / exchangeable-law theory is not here — that is D2 (#86) and R2.

@[reducible, inline]

The one-sort, single binary relation signature: arity 2, ordered arguments, the diagonal permitted (loops allowed).

Equations
Instances For
    @[reducible, inline]
    abbrev digraphCoord {V : Type u_1} (a b : V) :

    The coordinate at an ordered vertex pair (a, b), over any vertex type.

    Equations
    Instances For
      def digraphCoordEquiv (V : Type u_1) :
      (digraphSig.RelCoord fun (x : digraphSig.Srt) => V) V × V

      Coordinates are ordered vertex pairs (full square, diagonal included).

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        noncomputable def digraphStructureEquiv (V : Type u_1) :

        The carrier equivalence with Mathlib's Digraph V (Prop ≃ Bool classically), a plain type equivalence — the topology / measurable structure lives on the relational structure, not on Digraph V. A digraph is exactly an arbitrary Bool assignment to ordered vertex pairs.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          @[simp]
          theorem digraphStructureEquiv_adj {V : Type u_1} (G : digraphSig.RelStructure fun (x : digraphSig.Srt) => V) (a b : V) :

          The infinite and finite digraph carriers #

          @[reducible, inline]

          The infinite digraph space: the relational structure over digraphSig with vertex set . Inherits the entire R1 topological / measurable structure.

          Equations
          Instances For
            @[reducible, inline]
            abbrev FiniteDigraph (n : ) :

            The finite digraph space on Fin n.

            Equations
            Instances For

              The infinite carrier equivalence with Mathlib's Digraph.

              Equations
              Instances For
                noncomputable def finiteDigraphEquiv (n : ) :

                The finite carrier equivalence with Mathlib's Digraph (Fin n) — the bridge D2 uses.

                Equations
                Instances For
                  @[simp]
                  theorem digraphCoord_map {V : Type u_1} {W : Type u_2} (f : VW) (a b : V) :

                  Coordinate naturality: the sortwise action of a vertex map sends the coordinate at an ordered pair to the coordinate at the image pair.

                  theorem digraphStructure_ext_iff {V : Type u_1} {G H : digraphSig.RelStructure fun (x : digraphSig.Srt) => V} :
                  G = H ∀ (a b : V), G (digraphCoord a b) = H (digraphCoord a b)

                  Coordinate extensionality: two digraph structures agree once they agree at every ordered vertex pair — every relational coordinate of digraphSig is a digraphCoord.

                  Boolean adjacency: whether the ordered pair (a, b) stands in the relation.

                  Equations
                  Instances For

                    Adjacency (Prop-valued, matching Mathlib's graph APIs).

                    Equations
                    Instances For
                      @[simp]

                      Inherited finite restriction and measure extensionality #

                      @[reducible, inline]

                      Finite restriction of an infinite digraph to the first n vertices (the R1b restrictFin, specialized).

                      Equations
                      Instances For

                        Finite-restriction measure extensionality for infinite digraphs (R1b, specialized): two finite measures agree once their finite-restriction pushforwards agree, quantified over n : ℕ (the uniform size vector).