The Hamiltonian-cycle counting problem asks how many directed cycles visit every vertex of a graph exactly once. Exact counts distinguish a graph with one spanning cycle from one with many, and deciding whether the count is positive decides Hamiltonicity. The cost of this computation is a central question in exact exponential algorithms: a bound with exponential base below two gives an exponential improvement over the classical subset algorithms. The mission concerns bipartite digraphs, whose underlying undirected graphs admit two colour classes, with every arc joining different classes.
Koana and Kumabe give a deterministic algorithm that counts these cycles in time for an -vertex bipartite digraph. Their submission presents this as the first deterministic improvement to a constant base below two even for deciding Hamiltonicity in undirected bipartite graphs. Earlier faster decision algorithms used randomness; their counting theorem requires no random choices. These historical and algorithmic claims refer to the pinned STOC 2027 submission #814, pp.1–4, rather than to a separate arXiv version.
A digraph here has a finite vertex set and a Boolean answer to each possible directed-arc query. Both directions between two vertices may be present independently. Bipartiteness means that there exists a two-colouring separating the endpoints of every arc; in particular there are no loops. The input gives adjacency alone, rather than a colouring.
Write for the number of directed Hamiltonian cycles. A cycle is represented by its successor permutation: every vertex maps to the next vertex on the cycle, and this permutation consists of a single cycle covering the entire vertex set. Cyclic rotations therefore do not produce additional counts. A directed two-vertex cycle counts once. Empty and singleton inputs have count zero, fixing boundary cases not discussed in the source.
For balanced colour classes of size , write when the arc from to is present, and for the reverse arc. Both matrices have integer entries. Submatrices use the increasing orders on their index sets. A bar denotes a complement in the corresponding side. Empty square determinants and permanents equal one. Fix . The integer signed sum is the sum, over and with equal size, of
These are the objects of §§2–3, pp.4–6. The threshold is , with . Write and for the restrictions to the indicated sizes of .
The goal formalizes Theorem 1.1, p.2, about the fixed program countHamCycles:
The same constant precedes every input. All natural sizes, odd sizes, unequal sides and disconnected inputs are included.
The milestones retain the complete identities of Lemmas 3.1 and 3.2, Ryser's formula (Lemma 2.1), Cauchy–Binet without a middle-dimension restriction (Lemma 2.2), and the diagonal-plus-matrix determinant expansion (Lemma 2.3). They also include the §2 bound
where is binary entropy measured in nats. The small-term identity of Lemma 4.3 asserts
where is precisely the constrained finite sum defined in §4.2. Lemma 4.4 requires its fixed evaluation program to return this value in polynomial bit cost for every pair . Propositions 4.1 and 4.2 require exact outputs for the two parts, with respective bounds
Finally, the §4 numerical milestone retains both strict comparisons
These targets are the statements in §§2–4, pp.5–9; none of their correctness conclusions is replaced by a running-time assertion alone.
The result supplies an exact deterministic count, and hence a deterministic decision procedure, at the stated base for bipartite digraphs. It applies to arbitrary arc directions across the two sides. The theorem is proved in the source; the task here is to formalize that known theorem and its supporting results, not to claim a new informal algorithm. The weighted traveling-salesman extension, Corollary 1.2, is outside this mission.
A completed development would additionally supply reusable matrix identities over commutative rings, a loopless-digraph counting identity, ordered-minor interfaces, and a concrete bit-charged determinant implementation. The program layer is present with actual bodies, while the twelve theorem items remain unproved statements. The published generic Work counter is reused. The platform's proved partial-sum entropy bound covers only and does not replace the full-range coefficient bound. The open MatroidSensOracle.lemma_2_4 assumes that the middle dimension is at least the row dimension; the full Cauchy–Binet target includes the smaller-dimension case needed here.
Knowing that each determinant takes polynomial time does not control how many permanent subproblems are visited. Enumerating all square submatrices encounters middle subset layers whose total size destroys the desired exponential improvement. The quantitative theorem therefore depends on the exact domains of the program's enumeration, not just on algebraic equality of its final expression. The two exponential bases are also close to 1.9526, so replacing their strict comparisons with coarse numerical estimates does not establish the advertised bound. These difficulties are visible in the running-time arguments on pp.6–9.
A further obligation is to bound the bit lengths of intermediate integers and polynomial coefficients. Counting large integer multiplication as one scalar operation would leave this obligation unaddressed. Uniform constants must remain independent of every matrix and graph.
Vertices use Fin n; balanced sides use two ordered copies of Fin m. Integer specification sums are separate from executable computations. The fixed program discovers a colouring by DFS, chooses the first left vertex for , and uses the §4 programs. Polynomial computations use coefficient arrays, with every coefficient operation routed through charged integer arithmetic. The generic StateM natural-number counter carries no algorithmic assumption: its imported real-RAM docstring does not fix this mission's units.
Integer addition, subtraction and multiplication of are charged . Subset primitives, table access, adjacency reads, generation, sorting and buffer administration also have explicit charges. A program cannot call the specification count, a library determinant or a permanent as a cost-free oracle. No correctness conclusion is assumed in a definition or operation-interface field.
The integer threshold is a declared reading of the paper's nonintegral notation. Entropy uses Mathlib's natural-logarithm convention, with exponentials expressing the same bases. Mathlib also provides determinant and permanent specifications, finite permutations and polynomials. Contributions must establish the full identities, program correctness, intermediate bit bounds and exact numerical comparisons; the finite matrix interfaces and charged arithmetic are reusable beyond this graph problem. Executable regression checks aid the definition audit but are not proofs of any milestone.
namespace BipHamCount.Deterministic
/-- Theorem 1.1 p.2, algorithm §4 pp.6–9, at full strength.
The fixed program discovers its own colouring. Every n and every bipartite digraph
are covered, including odd n, unequal sides and disconnected graphs. -/
theorem theorem_1_1 :
∃ C : ℝ, 0 < C ∧ ∀ (n : ℕ) (adj : Fin n → Fin n → Bool),
IsBipartiteDigraph adj →
((countHamCycles n adj).run 0).1 = hamCount adj ∧
(((countHamCycles n adj).run 0).2 : ℝ) ≤ C * (19526/10000 : ℝ)^n := by sorry
end BipHamCount.Deterministic
There is a constant , fixed before every input size and graph, such that for every natural number and every bipartite digraph on vertices, the fixed countHamCycles program returns the exact number of directed Hamiltonian cycles and, when started at zero cost, satisfies
The input is just Boolean adjacency; no colouring is supplied. The program discovers one itself. The statement includes odd , empty and singleton inputs, disconnected graphs and unequal colour-class sizes. A directed digon counts once. This is the paper's full exact-count theorem and numerical base, about a concrete deterministic program.
Differences from the source:
No open leaves. Every sub-goal is proved or awaiting decomposition.