Lemma 7 — the directed Matrix–Tree Theorem:
ProvedDirectedHamiltonicity.Main.lemma7directed-hamiltonicityexact-exponential-algorithmsp2o-batch-stoc27ap2o-gran-per-chapterp2o-plan-paperp2o-v1parity-counting
For every loopless directed multigraph on a finite vertex set , every map and every vertex ,
where ranges over all out-arborescences of rooted at and is the incoming Laplacian with row and column deleted.
The labels are arbitrary polynomials, not only monomials, and may be disconnected (then both sides vanish). For the empty matrix has determinant and the empty arborescence contributes . The identity converts Hamiltonian-path sums into determinants in Lemma 8.
Differences from the source:
- encoding: T ranges over all out-arborescences of H rooted at s (spanning trees with all arcs directed away from s) → arc sets T with no arc entering s, exactly one arc of T entering each v ≠ s, and every vertex reachable from s along T; reason: the standard equivalent characterization of a spanning out-arborescence
Preamble
import Mathlib import Definitions.Def_DirectedHamiltonicity_Main_Graphs
Formal statement
namespace DirectedHamiltonicity.Main
open Multidigraph
open Polynomial
open Classical in
/-- Lemma 7 (directed Matrix–Tree Theorem), PDF p.8 / printed p.7: for every loopless directed
multigraph `H`, every map `p : E(H) → 𝔽₂[y]` and every vertex `s`,
`det L_s(H, p) = ∑_T ∏_{e ∈ T} p(e)`, the sum over all out-arborescences `T` of `H` rooted at `s`. -/
theorem lemma7 {V E : Type} [Fintype V] [DecidableEq V] [Fintype E] [DecidableEq E]
(H : Multidigraph V E) (hH : H.Loopless) (p : E → (ZMod 2)[X]) (s : V) :
(H.reducedLaplacian p s).det =
∑ T ∈ Finset.univ.filter (fun T : Finset E => H.IsOutArborescence s T), ∏ e ∈ T, p e := 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.8 / printed p.7, Lemma 7 ([GS95, Section 11])
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.