The areas / V30. Combinatorics
Mathlib.Combinatorics.SimpleGraph.Star
22 declarations. Mathlib docs · Source
Star Graphs
Main definitions
SimpleGraph.starGraph ris the star graph on V centered at r. Every non-center vertex is adjacent to r.
Main statements
SimpleGraph.isTree_starGraphproves the star graph is a tree.
Tags
star graph
def SimpleGraph.starGraph E1 #
{V : Type u_1} → V → SimpleGraph V
The star graph on V centered at r: every non-center vertex is adjacent to r.
instance SimpleGraph.instDecidableRelAdjStarGraphOfDecidableEq E0 #
{V : Type u_1} → [DecidableEq V] → (r : V) → DecidableRel (SimpleGraph.starGraph r).Adj
theorem SimpleGraph.starGraph_adj E0 #
∀ {V : Type u_1} {r x y : V}, (SimpleGraph.starGraph r).Adj x y ↔ x ≠ y ∧ (x = r ∨ y = r)
theorem SimpleGraph.isUniversal_starGraph_self E0 #
∀ {V : Type u_1} {r : V}, (SimpleGraph.starGraph r).IsUniversal r
theorem SimpleGraph.starGraph_le_iff E0 #
∀ {V : Type u_1} {G : SimpleGraph V} {r : V}, SimpleGraph.starGraph r ≤ G ↔ G.IsUniversal r
theorem SimpleGraph.starGraph_adj_center_iff E0 #
∀ {V : Type u_1} {r v : V}, (SimpleGraph.starGraph r).Adj r v ↔ r ≠ v
On (starGraph r), r is adjacent to v iff v ≠ r.
theorem SimpleGraph.starGraph_center_adj E1 #
∀ {V : Type u_1} {r v : V}, r ≠ v → (SimpleGraph.starGraph r).Adj r v
theorem SimpleGraph.starGraph_center_adj' E1 #
∀ {V : Type u_1} {r v : V}, r ≠ v → (SimpleGraph.starGraph r).Adj v r
theorem SimpleGraph.connected_starGraph E1 #
∀ {V : Type u_1} (r : V), (SimpleGraph.starGraph r).Connected
theorem SimpleGraph.isAcyclic_starGraph E1 #
∀ {V : Type u_1} (r : V), (SimpleGraph.starGraph r).IsAcyclic
theorem SimpleGraph.isTree_starGraph E3 #
∀ {V : Type u_1} (r : V), (SimpleGraph.starGraph r).IsTree
def SimpleGraph.Coloring.starGraphBool E1 #
{V : Type u_1} → (r : V) → [DecidableEq V] → (SimpleGraph.starGraph r).Coloring Bool
Bicoloring of a star graph
theorem SimpleGraph.IsBipartite.starGraph E1 #
∀ {V : Type u_1} (r : V), (SimpleGraph.starGraph r).IsBipartite
theorem SimpleGraph.IsBipartiteWith.starGraph E1 #
∀ {V : Type u_1} (r : V), (SimpleGraph.starGraph r).IsBipartiteWith {r} {r}ᶜ
theorem SimpleGraph.IsCompleteBetween.starGraph E1 #
∀ {V : Type u_1} (r : V), (SimpleGraph.starGraph r).IsCompleteBetween {r} {r}ᶜ
theorem SimpleGraph.IsCompleteMultipartite.starGraph E1 #
∀ {V : Type u_1} (r : V), (SimpleGraph.starGraph r).IsCompleteMultipartite
theorem SimpleGraph.degree_starGraph_of_ne_center E1 #
∀ {V : Type u_1} [inst : Fintype V] [inst_1 : DecidableEq V] {r v : V}, v ≠ r → (SimpleGraph.starGraph r).degree v = 1
Every non-center vertex of a starGraph has degree one.
theorem SimpleGraph.degree_starGraph_center E1 #
∀ {V : Type u_1} [inst : Fintype V] [inst_1 : DecidableEq V] {r : V},
(SimpleGraph.starGraph r).degree r = Fintype.card V - 1
The center vertex of a starGraph has degree (card V) - 1.
theorem SimpleGraph.cliqueFree_starGraph_three E1 #
∀ {V : Type u_1} (r : V), (SimpleGraph.starGraph r).CliqueFree 3
theorem SimpleGraph.IsUniversal.isAcyclic_iff_cliqueFree_three E1 #
∀ {V : Type u_1} {G : SimpleGraph V} {v : V}, G.IsUniversal v → (G.IsAcyclic ↔ G.CliqueFree 3)
theorem SimpleGraph.starGraph_inl_unitMk E1 #
∀ {V : Type u_1}, SimpleGraph.starGraph (Sum.inl ()) = completeBipartiteGraph Unit V
theorem SimpleGraph.starGraph_inr_unitMk E1 #
∀ {V : Type u_1}, SimpleGraph.starGraph (Sum.inr ()) = completeBipartiteGraph V Unit