Definition of cycle graphs #
This file defines and proves several fact about cycle graphs on n vertices and the cycle around
the cycle graph when n ≥ 3.
Main declarations #
SimpleGraph.cycleGraph n: the cycle graph overFin n.(SimpleGraph.cycleGraph n).cycle: the cycle aroundcycleGraph (n + 3)starting at 0.
@[instance_reducible]
Equations
- SimpleGraph.instDecidableRelFinAdjCycleGraph 0 = fun (x x_1 : Fin 0) => { decide := false, reflects_decide := ⋯ }
- SimpleGraph.instDecidableRelFinAdjCycleGraph 1 = fun (x x_1 : Fin 1) => { decide := false, reflects_decide := ⋯ }
- SimpleGraph.instDecidableRelFinAdjCycleGraph n.succ.succ = id inferInstance
@[deprecated SimpleGraph.preconnected_cycleGraph (since := "2026-10-01")]
Alias of SimpleGraph.preconnected_cycleGraph.
@[deprecated SimpleGraph.connected_cycleGraph_add_one (since := "2026-10-01")]
Alias of SimpleGraph.connected_cycleGraph_add_one.
theorem SimpleGraph.cycleGraph_isContained_iff {V : Type u_1} {G : SimpleGraph V} {n : ℕ} (hn : 2 < n) :