Documentation

Graphon.SimpleGraphDigraphBridge

The simple-graph / finite-digraph bridge (#94, shared infrastructure) #

The symmetric loopless embedding of simple graphs into finite digraphs, in its own module so the foundational relational/directed carrier Graphon.InfiniteDigraph (D1) does not depend on SimpleGraph. Used by the graphon-embedding sampler law (D3c) and the directed t/t_inj/t_ind interlude (#94).

noncomputable def SimpleGraph.toFiniteDigraph {k : } (G : SimpleGraph (Fin k)) :

The symmetric loopless embedding of a simple graph as a finite digraph.

Equations
Instances For
    @[simp]
    theorem SimpleGraph.toFiniteDigraph_coord {k : } (G : SimpleGraph (Fin k)) (a b : Fin k) :

    The ordered-pair coordinates of the embedded digraph read the (classically decided) adjacency of the simple graph.

    The symmetric loopless embedding is injective.

    theorem SimpleGraph.exists_toFiniteDigraph_eq_iff {k : } (D : FiniteDigraph k) :
    (∃ (G : SimpleGraph (Fin k)), G.toFiniteDigraph = D) (∀ (i : Fin k), D (digraphCoord i i) = false) ∀ (i j : Fin k), D (digraphCoord i j) = D (digraphCoord j i)

    Classification of the range of the embedding: a finite digraph is an embedded simple graph iff its coordinates are loopless and symmetric.