Hamiltonian graphs from cyclic permutations #
If σ is a cycle on a finset s and G.Adj x (σ x) for every x, then the cycle graph on
#s vertices embeds in G. In particular, if σ : Perm α is a cycle, 3 ≤ #α, and
G.Adj x (σ x) for every x, then G is Hamiltonian.
theorem SimpleGraph.cycleGraph_isContained_of_isCycleOn {α : Type u_1} {G : SimpleGraph α} {σ : Equiv.Perm α} {s : Finset α} (hσ : σ.IsCycleOn ↑s) (hadj : ∀ (v : α), G.Adj v (σ v)) :
(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 {α : Type u_1} {G : SimpleGraph α} [Fintype α] [DecidableEq α] {σ : Equiv.Perm α} (hσ : σ.IsCycle) (hadj : ∀ (v : α), G.Adj v (σ v)) (hcard : 3 ≤ Fintype.card α) :
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.