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.

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ā‚‚ ∧ ∃ v ∈ ↑e₁, 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

    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

      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

        Instances For
          @[deprecated SimpleGraph.map_lineGraph_le_of_le (since := "2026-03-26")]
          theorem SimpleGraph.IsSubgraph.lineGraph {V : Type u_1} {G G' : SimpleGraph V} (h : G ≤ G') :
          SimpleGraph.map (⇑(Function.Embedding.subtype fun (x : Sym2 V) => x ∈ G.edgeSet)) G.lineGraph ≤ SimpleGraph.map (⇑(Function.Embedding.subtype fun (x : Sym2 V) => x ∈ G'.edgeSet)) G'.lineGraph

          Alias of SimpleGraph.map_lineGraph_le_of_le.