Cutting a directed Hamiltonian cycle at its closing arc
ProvedDirectedHamiltonicity.Main.cycle_iff_closing_pathdirected-hamiltonicityexact-exponential-algorithms
In a directed graph on at least two vertices, a Hamiltonian cycle exists if and only if there are distinct vertices joined by a closing arc such that an – Hamiltonian path survives deletion of all loops, arcs entering , and arcs leaving . The input may contain loops.
Preamble
import Mathlib import Definitions.Def_DirectedHamiltonicity_Main_Graphs open DirectedHamiltonicity.Main
Formal statement
open Classical in
theorem DirectedHamiltonicity.Main.cycle_iff_closing_path {n : ℕ} (hn : 2 ≤ n) (adj : Fin n → Fin n → Bool) :
HasHamCycle n adj ↔ ∃ s t : Fin n, s ≠ t ∧ adj t s = true ∧
((ofAdj (fun u v => adj u v = true ∧ u ≠ v ∧ v ≠ s ∧ u ≠ t)).hamPaths s t).Nonempty := by sorrySource
T. Koana and S. Kumabe, Breaking the 2^n barrier for directed hamiltonicity, Section 2, proof of Theorem 1. https://arxiv.org/html/2609.39062v2#S2