The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V30. Combinatorics

Mathlib.Combinatorics.SimpleGraph.Hamiltonian.Perm

2 declarations. Mathlib docs · Source

theorem SimpleGraph.cycleGraph_isContained_of_isCycleOn E1 #

∀ {α : Type u_1} {G : SimpleGraph α} {σ : Equiv.Perm α} {s : Finset α},
  σ.IsCycleOn ↑s → (∀ (v : α), G.Adj v (σ v)) → (SimpleGraph.cycleGraph s.card).IsContained G

If σ is a cycle on a finset s and each vertex is adjacent to its image under σ, then the cycle graph on #s vertices is contained in G.

theorem SimpleGraph.IsHamiltonian.of_perm E1 #

∀ {α : Type u_1} {G : SimpleGraph α} [inst : Fintype α] [inst_1 : DecidableEq α] {σ : Equiv.Perm α},
  σ.IsCycle → (∀ (v : α), G.Adj v (σ v)) → 3 ≤ Fintype.card α → G.IsHamiltonian

If a cyclic permutation σ of a type with at least 3 elements is such that each vertex is adjacent to its image under σ, then G is Hamiltonian.