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
- SimpleGraph.pathGraph.bicoloring n = SimpleGraph.Coloring.mk (fun (u : Fin n) => decide (↑u % 2 = 0)) ⋯
Instances For
Embedding of pathGraph 2
into the first two elements of pathGraph n
for 2 ≤ n
Equations
- SimpleGraph.pathGraph_two_embedding n h = { toEmbedding := { toFun := fun (v : Fin 2) => { val := ↑v, isLt := ⋯ }, inj' := ⋯ }, map_rel_iff' := ⋯ }