Documentation

Mathlib.Combinatorics.SimpleGraph.Star

Star Graphs #

Main definitions #

Main statements #

Tags #

star graph

def SimpleGraph.starGraph {V : Type u_1} (r : V) :

The star graph on V centered at r: every non-center vertex is adjacent to r.

Equations
Instances For
    @[simp]
    theorem SimpleGraph.starGraph_adj {V : Type u_1} {r x y : V} :
    (starGraph r).Adj x y x y (x = r y = r)
    theorem SimpleGraph.starGraph_adj_center_iff {V : Type u_1} {r v : V} :
    (starGraph r).Adj r v r v

    On (starGraph r), r is adjacent to v iff v ≠ r.

    theorem SimpleGraph.starGraph_center_adj {V : Type u_1} {r v : V} (h : r v) :
    (starGraph r).Adj r v
    theorem SimpleGraph.starGraph_center_adj' {V : Type u_1} {r v : V} (h : r v) :
    (starGraph r).Adj v r
    theorem SimpleGraph.degree_starGraph_of_ne_center {V : Type u_1} [Fintype V] [DecidableEq V] {r v : V} (h : v r) :

    Every non-center vertex of a starGraph has degree one.

    The center vertex of a starGraph has degree (card V) - 1.