Documentation

Mathlib.Combinatorics.SimpleGraph.LineGraph

LineGraph #

Main definitions #

Tags #

line graph

The line graph of a simple graph G has its vertex set as the edges of G, and two vertices of the line graph are adjacent if the corresponding edges share a vertex in G.

Equations
Instances For
    theorem SimpleGraph.lineGraph_adj_iff_exists {V : Type u_1} {G : SimpleGraph V} {e₁ e₂ : G.edgeSet} :
    G.lineGraph.Adj e₁ e₂ e₁ e₂ ve₁, v e₂
    def SimpleGraph.Copy.toLineGraphEmbedding {V : Type u_1} {V' : Type u_2} {G : SimpleGraph V} {G' : SimpleGraph V'} (f : G.Copy G') :

    Lift a copy between graphs to an embedding between their line graphs

    Equations
    Instances For
      def SimpleGraph.Copy.lineGraph {V : Type u_1} {V' : Type u_2} {G : SimpleGraph V} {G' : SimpleGraph V'} (f : G.Copy G') :

      Lift a copy between graphs to a copy between their line graphs

      Equations
      Instances For
        def SimpleGraph.Iso.lineGraph {V : Type u_1} {V' : Type u_2} {G : SimpleGraph V} {G' : SimpleGraph V'} (f : G ≃g G') :

        Lift an isomorphism between graphs to an isomorphism between their line graphs

        Equations
        Instances For
          @[deprecated SimpleGraph.map_lineGraph_le_of_le (since := "2026-03-26")]

          Alias of SimpleGraph.map_lineGraph_le_of_le.