The areas / V30. Combinatorics
Mathlib.Combinatorics.SimpleGraph.LineGraph
10 declarations. Mathlib docs · Source
def SimpleGraph.lineGraph E1 #
{V : Type u_1} → (G : SimpleGraph V) → SimpleGraph ↑G.edgeSet
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.
theorem SimpleGraph.lineGraph_adj_iff_exists E1 #
∀ {V : Type u_1} {G : SimpleGraph V} {e₁ e₂ : ↑G.edgeSet}, G.lineGraph.Adj e₁ e₂ ↔ e₁ ≠ e₂ ∧ ∃ v ∈ ↑e₁, v ∈ ↑e₂
theorem SimpleGraph.lineGraph_bot E0 #
∀ {V : Type u_1}, ⊥.lineGraph = ⊥
def SimpleGraph.Copy.toLineGraphEmbedding E1 #
{V : Type u_1} → {V' : Type u_2} → {G : SimpleGraph V} → {G' : SimpleGraph V'} → G.Copy G' → G.lineGraph ↪g G'.lineGraph
Lift a copy between graphs to an embedding between their line graphs
theorem SimpleGraph.IsIndContained.lineGraph E1 #
∀ {V : Type u_1} {V' : Type u_2} {G : SimpleGraph V} {G' : SimpleGraph V'},
G.IsIndContained G' → G.lineGraph.IsIndContained G'.lineGraph
theorem SimpleGraph.IsContained.isIndContained_lineGraph E1 #
∀ {V : Type u_1} {V' : Type u_2} {G : SimpleGraph V} {G' : SimpleGraph V'},
G.IsContained G' → G.lineGraph.IsIndContained G'.lineGraph
def SimpleGraph.Copy.lineGraph E1 #
{V : Type u_1} →
{V' : Type u_2} → {G : SimpleGraph V} → {G' : SimpleGraph V'} → G.Copy G' → G.lineGraph.Copy G'.lineGraph
Lift a copy between graphs to a copy between their line graphs
theorem SimpleGraph.IsContained.lineGraph E1 #
∀ {V : Type u_1} {V' : Type u_2} {G : SimpleGraph V} {G' : SimpleGraph V'},
G.IsContained G' → G.lineGraph.IsContained G'.lineGraph
def SimpleGraph.Iso.lineGraph E1 #
{V : Type u_1} → {V' : Type u_2} → {G : SimpleGraph V} → {G' : SimpleGraph V'} → G ≃g G' → G.lineGraph ≃g G'.lineGraph
Lift an isomorphism between graphs to an isomorphism between their line graphs
theorem SimpleGraph.map_lineGraph_le_of_le E0 #
∀ {V : Type u_1} {G G' : SimpleGraph V},
G ≤ G' →
SimpleGraph.map (⇑(Function.Embedding.subtype fun x ↦ x ∈ G.edgeSet)) G.lineGraph ≤
SimpleGraph.map (⇑(Function.Embedding.subtype fun x ↦ x ∈ G'.edgeSet)) G'.lineGraph