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