Lemma 3.2 — the bipartite signed sum is the exact count
ProvedBipHamCount.Deterministic.lemma_3_2countingexact-algorithmsgraph-theorylinear-algebrap2o-batch-stoc27ap2o-gran-per-chapterp2o-plan-paperp2o-v1
Let be any natural number, zero–one integer matrices indexed by two ordered copies of , and a vertex in the left side. Form the bipartite digraph whose left-to-right adjacency is and whose right-to-left adjacency is . Then
Here is the signed product-of-minors sum from §3, and the equality is in the integers. Both arc directions are independent. This identifies the algebraic quantity computed by the program with the exact combinatorial count.
Differences from the source:
- encoding: finite ordered vertex and side sets → finite types with linear orders, with Fin m as the zero-based ordered side; reason: every finite ordered set admits this relabelling; the minor factors use identical increasing orders
- encoding: directed Hamiltonian cycles, with the permutation-successor bijection on p.6 → single-cycle permutations with support equal to the full vertex set; counts zero for n≤1 and counts a directed digon once; reason: this is exactly the stated successor bijection on loopless nondegenerate inputs; the paper does not discuss n≤1
- encoding: A and B are the zero–one adjacency matrices from §2 p.4 → integer matrices with explicit ZeroOne hypotheses; reason: these hypotheses specify exactly the source matrices and prevent entry bit lengths from being unconstrained
Preamble
import Mathlib import Definitions.Def_BipHamCount_Deterministic_Core open scoped BigOperators
Formal statement
namespace BipHamCount.Deterministic
/-- Lemma 3.2 p.6: σ equals the directed Hamiltonian-cycle count. -/
theorem lemma_3_2 (m : ℕ) (A B : Matrix (Fin m) (Fin m) ℤ)
(hA : ZeroOne A) (hB : ZeroOne B) (v : Fin m) :
sigma A B v = (hamCount (bipDigraph A B) : ℤ) := by sorry
end BipHamCount.Deterministic
Source
Koana, Kumabe, Counting Hamiltonian Cycles in Bipartite Digraphs Deterministically in O(1.9526^n) Time, STOC 2027 submission #814 (October 2026), Lemma 3.2, p. 6. https://github.com/sigact-stoc/stoc2027/releases/download/papers-1/814.pdf
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.