Concrete colorings of common graphs #
This file defines colorings for some common graphs.
Main declarations #
SimpleGraph.pathGraph.bicoloring: Bicoloring of a path graph.
Bicoloring of a path graph
Equations
Instances For
Embedding of pathGraph 2 into the first two elements of pathGraph n for 2 โค n
Equations
Instances For
theorem
SimpleGraph.Walk.three_le_chromaticNumber_of_odd_loop
{ฮฑ : Type u_1}
{G : SimpleGraph ฮฑ}
{u : ฮฑ}
(p : G.Walk u u)
(hOdd : Odd p.length)
:
Bicoloring of a cycle graph of even size
Equations
Instances For
Tricoloring of a cycle graph
Equations
Instances For
def
SimpleGraph.Coloring.completeEquipartiteGraph
{r t : โ}
:
(SimpleGraph.completeEquipartiteGraph r t).Coloring (Fin r)
The injection (xโ, xโ) โฆ xโ is always an r-coloring of a completeEquipartiteGraph r ยท.
Equations
Instances For
theorem
SimpleGraph.completeEquipartiteGraph_colorable
{r t : โ}
:
(completeEquipartiteGraph r t).Colorable r
The completeEquipartiteGraph r t is always r-colorable.