Documentation

LeanPool.Sabidussi.LoopGraphBridge

From a cyclic word back to a loop-capable endpoint multigraph #

The letters are transition vertices and the gaps are labelled edge objects. Cyclic-word side zero denotes the preceding gap, while Euler-tour side zero denotes the current departing half-edge; the bridge therefore precomposes occurrence sides with Fin.rev.

The cyclic transition word read from an Euler tour.

Equations
Instances For
    @[simp]
    theorem Sabidussi.LoopMultigraph.EulerTour.eulerWord_letter {V : Type u_1} {E : Type u_2} [Fintype V] [Fintype E] {G : LoopMultigraph V E} (T : G.EulerTour) (i : T.Pos) :
    @[simp]
    theorem Sabidussi.LoopMultigraph.EulerTour.eulerWord_prev {V : Type u_1} {E : Type u_2} [Fintype V] [Fintype E] {G : LoopMultigraph V E} (T : G.EulerTour) (i : T.Pos) :

    Occurrence sides with the cyclic-word convention are exactly the incident half-edges.

    Equations
    Instances For
      theorem Sabidussi.LoopMultigraph.EulerTour.incidentColor_eq_halfEdgeColor {V : Type u_1} {E : Type u_2} [Fintype V] [Fintype E] {G : LoopMultigraph V E} (T : G.EulerTour) (x : T.eulerWord.PosColor) {v : V} (os : T.eulerWord.Occurrence v × Fin 2) :

      Under the preceding equivalence, the gap incident with a word-occurrence side is the edge underlying the corresponding half-edge.

      The coloured occurrence sides of the word and the correspondingly coloured half-edges at a vertex are equinumerous.

      Equations
      Instances For

        A cyclic-word colouring gives the graph-theoretic compatible four-colouring certificate.

        Equations
        Instances For
          theorem Sabidussi.LoopMultigraph.loop_sabidussi_compatibility {V : Type u_1} {E : Type u_2} [Fintype V] [Fintype E] [DecidableEq V] [DecidableEq E] {G : LoopMultigraph V E} (T : G.EulerTour) (hmin : ∀ (v : V), 4 G.degree v) :

          Sabidussi compatibility for finite endpoint multigraphs, including loops.