LineGraph #
Main definitions #
SimpleGraph.lineGraphis the line graph of a simple graphG, with vertices as the edges ofGand two vertices of the line graph adjacent if the corresponding edges share a vertex inG.
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
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
theorem
SimpleGraph.IsIndContained.lineGraph
{V : Type u_1}
{V' : Type u_2}
{G : SimpleGraph V}
{G' : SimpleGraph V'}
(h : G.IsIndContained G')
:
theorem
SimpleGraph.IsContained.isIndContained_lineGraph
{V : Type u_1}
{V' : Type u_2}
{G : SimpleGraph V}
{G' : SimpleGraph V'}
(h : G.IsContained G')
:
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
theorem
SimpleGraph.IsContained.lineGraph
{V : Type u_1}
{V' : Type u_2}
{G : SimpleGraph V}
{G' : SimpleGraph V'}
(h : G.IsContained G')
:
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
theorem
SimpleGraph.map_lineGraph_le_of_le
{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
@[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.