Proposition 3 — with probability some group selection has an odd number of Hamiltonian paths
ProvedDirectedHamiltonicity.Main.proposition3directed-hamiltonicityexact-exponential-algorithmsp2o-batch-stoc27ap2o-gran-per-chapterp2o-plan-paperp2o-v1parity-counting
Let be a simple loopless directed graph on vertices with distinct vertices , no arcs entering and no arcs leaving , and let , . Build from independent sets with and for , placing one copy of in the incoming group for each . If has a Hamiltonian path from to , then with probability at least
there exists a tuple such that the multigraph has an odd number of Hamiltonian paths from to .
The event is the existence of a good selection inside one sample of the copy sets, not the probability that a uniformly chosen selection is good. Combined with the isolation lemma this yields an odd parity at a single total weight, which Proposition 4 can detect.
Differences from the source:
- encoding: G = (V, A) a simple loopless directed graph on n vertices with distinct s, t, no arcs entering s and none leaving t, and d ≥ 2 (standing assumptions of §2, PDF p.4) → an adjacency relation adj on a finite type V with n = |V|, and the hypotheses s ≠ t, ∀ v, ¬adj v v, ∀ u, ¬adj u s, ∀ v, ¬adj t v, 2 ≤ d; reason: a simple digraph is exactly a relation; the standing assumptions are written as binders; [d] is Fin d
- encoding: probability over the independent random sets S_uv ⊆ [d] with Pr[S_uv = ∅] = δ and Pr[S_uv = S] = (1−δ)/(2^d−1) for S ≠ ∅ → copyProb d E = Σ over joint outcomes S satisfying E of ∏_{uv} copySetProb d (S uv); reason: the product law of finitely many independent finite random variables, written as an explicit finite sum
- encoding: a directed (multi)graph with arc set E(H); a Hamiltonian path from s to t as a path visiting every vertex once → Multidigraph V E (tail, head : E → V, arcs labelled by E); a Hamiltonian path is a sequence of n−1 arcs e_0,…,e_{n−2} with tail e_i = v_i, head e_i = v_{i+1}, v_0 = s, v_{n−1} = t, and v injective; reason: a bijection with the source paths; parallel copies of an arc give distinct paths, as in the source
Preamble
import Mathlib import Definitions.Def_DirectedHamiltonicity_Main_ArcCopies
Formal statement
namespace DirectedHamiltonicity.Main
open Multidigraph
open Classical in
/-- Proposition 3, PDF p.4 / printed p.3 (repeated PDF p.6). Let `G` (adjacency `adj`) be a simple
loopless digraph on `n` vertices with distinct `s, t`, no arc entering `s` and no arc leaving `t`,
and let `d ≥ 2`. If `G` has a Hamiltonian path from `s` to `t`, then with probability at least
`(1 − δ)^{n−1}` over the random sets `S_uv`, there is a tuple `(ℓ_v)_{v ≠ s} ∈ [d]^{n−1}` such that
the multigraph `(V, ⋃_{v ≠ s} Â_{v,ℓ_v})` of the copies in the selected groups has an odd number of
Hamiltonian paths from `s` to `t`. -/
theorem proposition3 {V : Type} [Fintype V] [DecidableEq V] (adj : V → V → Prop)
[DecidableRel adj] (s t : V) (hst : s ≠ t) (hloop : ∀ v, ¬ adj v v) (hs : ∀ u, ¬ adj u s)
(ht : ∀ v, ¬ adj t v) (d : ℕ) (hd : 2 ≤ d) (hham : ((ofAdj adj).hamPaths s t).Nonempty) :
(1 - delta d) ^ (Fintype.card V - 1) ≤
copyProb (adj := adj) d (fun S => ∃ sel : {v // v ≠ s} → Fin d,
Odd ((selectedGraph adj S s sel).hamPaths s t).card) := by sorry
end DirectedHamiltonicity.Main
Source
Tomohiro Koana, Soh Kumabe, Breaking the barrier for directed hamiltonicity, STOC 2027 submission #811 (October 2026), source.pdf SHA-256 103ec74bdf635a66ec16e2c21d6fbc0896c1aa986065e20007ae217a701fffb3, https://github.com/sigact-stoc/stoc2027/releases/download/papers-1/811.pdf, PDF p.4 / printed p.3, Proposition 3 (repeated PDF p.6 / printed p.5)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.