The areas / V30. Combinatorics
Mathlib.Combinatorics.SimpleGraph.UniversalVerts
8 declarations. Mathlib docs · Source
Universal Vertices
This file defines the set of universal vertices: those vertices that are connected to all others. In addition, it describes results when considering connected components of the graph where universal vertices are deleted. This particular graph plays a role in the proof of Tutte's Theorem.
Main definitions
G.universalVertsis the set of vertices that are connected to all other vertices.G.deleteUniversalVertsis the subgraph ofGwith the universal vertices removed.
def SimpleGraph.universalVerts E1 #
{V : Type u_1} → SimpleGraph V → Set V
The set of vertices that are connected to all other vertices.
theorem SimpleGraph.isClique_universalVerts E1 #
∀ {V : Type u_1} (G : SimpleGraph V), G.IsClique G.universalVerts
def SimpleGraph.deleteUniversalVerts E1 #
{V : Type u_1} → (G : SimpleGraph V) → G.Subgraph
The subgraph of G with the universal vertices removed.
theorem SimpleGraph.deleteUniversalVerts_verts E0 #
∀ {V : Type u_1} (G : SimpleGraph V), G.deleteUniversalVerts.verts = Set.univ \ G.universalVerts
theorem SimpleGraph.deleteUniversalVerts_adj E0 #
∀ {V : Type u_1} (G : SimpleGraph V) (u v : V),
G.deleteUniversalVerts.Adj u v = (u ∉ G.universalVerts ∧ v ∉ G.universalVerts ∧ G.Adj u v)
theorem SimpleGraph.Subgraph.IsMatching.exists_of_universalVerts E1 #
∀ {V : Type u_1} {G : SimpleGraph V} [Finite V] {s : Set V},
Disjoint G.universalVerts s →
s.ncard ≤ G.universalVerts.ncard → ∃ t ⊆ G.universalVerts, ∃ M, M.verts = s ∪ t ∧ M.IsMatching
theorem SimpleGraph.disjoint_image_val_universalVerts E1 #
∀ {V : Type u_1} {G : SimpleGraph V} (s : Set ↑G.deleteUniversalVerts.verts),
Disjoint (Subtype.val '' s) G.universalVerts
theorem SimpleGraph.even_ncard_image_val_supp_sdiff_image_val_rep_union E1 #
∀ {V : Type u_1} {G : SimpleGraph V} {t : Set V} {s : Set ↑G.deleteUniversalVerts.verts}
(K : G.deleteUniversalVerts.coe.ConnectedComponent),
t ⊆ G.universalVerts →
SimpleGraph.ConnectedComponent.Represents s G.deleteUniversalVerts.coe.oddComponents →
Even (Subtype.val '' K.supp \ (Subtype.val '' s ∪ t)).ncard
A component of the graph with universal vertices is even if we remove a set of representatives of odd components and a subset of universal vertices.
This is because the number of vertices in the even components is not affected, and from odd components exactly one vertex is removed.