The areas / V30. Combinatorics
Mathlib.Combinatorics.SimpleGraph.Circulant
7 declarations. Mathlib docs · Source
def SimpleGraph.circulantGraph E1 #
{G : Type u_1} → [AddGroup G] → Set G → SimpleGraph G
Circulant graph over additive group G with jumps s
theorem SimpleGraph.circulantGraph_adj E0 #
∀ {G : Type u_1} [inst : AddGroup G] (s : Set G) (a b : G),
(SimpleGraph.circulantGraph s).Adj a b = (¬a = b ∧ (a - b ∈ s ∨ b - a ∈ s))
theorem SimpleGraph.circulantGraph_eq_erase_zero E1 #
∀ {G : Type u_1} [inst : AddGroup G] (s : Set G), SimpleGraph.circulantGraph s = SimpleGraph.circulantGraph (s \ {0})
theorem SimpleGraph.circulantGraph_eq_symm E1 #
∀ {G : Type u_1} [inst : AddGroup G] (s : Set G), SimpleGraph.circulantGraph s = SimpleGraph.circulantGraph (s ∪ -s)
instance SimpleGraph.instDecidableRelAdjCirculantGraphOfDecidableEqOfDecidablePredMemSet E0 #
{G : Type u_1} →
[inst : AddGroup G] →
(s : Set G) → [DecidableEq G] → [DecidablePred fun x ↦ x ∈ s] → DecidableRel (SimpleGraph.circulantGraph s).Adj
theorem SimpleGraph.circulantGraph_adj_translate E1 #
∀ {G : Type u_1} [inst : AddGroup G] {s : Set G} {u v d : G},
(SimpleGraph.circulantGraph s).Adj (u + d) (v + d) ↔ (SimpleGraph.circulantGraph s).Adj u v
theorem SimpleGraph.cycleGraph_eq_circulantGraph E1 #
∀ (n : ℕ), SimpleGraph.cycleGraph (n + 1) = SimpleGraph.circulantGraph {1}