Hamiltonian Cycle Polynomial Overview
- Hamiltonian cycle polynomial is an umbrella term covering graph invariants and algebraic complexity constructs, featuring multiple definitions in different research contexts.
- It encodes Hamiltonian cycles by summing monomials over directed cycles or counting k-component 2-factors, thereby connecting combinatorial structures with computational complexity.
- The polynomial facilitates studies on determinant–permanent identities and polynomial-equation encodings, advancing our understanding of NP-hard decision problems.
Searching arXiv for the cited Hamiltonian cycle polynomial papers to ground the article in current arXiv records. {"query":"Hamiltonian cycle polynomial arXiv (Dewan, 25 Jun 2026, Sawczuk et al., 2 Oct 2025, Bo, 2017, 0707.1176)","max_results":10,"sort_by":"relevance"} In current usage, the expression Hamiltonian cycle polynomial does not designate a single universally fixed object. In algebraic complexity, it usually denotes the family , the sum of monomials indexed by directed Hamiltonian cycles in the complete digraph on labeled vertices. In graph polynomial theory, it also denotes Yi Bo’s invariant , where counts -component $2$-factors and is the number of ordinary Hamiltonian cycles. A further strand of work studies determinant–permanent identities for the Hamiltonian-cycle generating function, and another encodes the directed Hamiltonian Cycle Problem as the solvability of a polynomial equation over bounded reals (Dewan, 25 Jun 2026, Bo, 2017, Sawczuk et al., 2 Oct 2025, 0707.1176).
1. Terminology and basic forms
Two definitions dominate the literature, and they arise in different mathematical settings. One is a graph invariant attached to an arbitrary graph . The other is a polynomial family in formal edge variables attached to the complete directed graph on labeled vertices. Sawczuk and Gnang use the notation for the same generating function that algebraic complexity papers denote by 0 (Bo, 2017, Dewan, 25 Jun 2026, Sawczuk et al., 2 Oct 2025).
| Object | Definition | Role |
|---|---|---|
| 1 | 2 | Graph invariant from 3-component 4-factors |
| 5 | 6 | Algebraic-complexity family of weighted Hamiltonian cycles |
| 7 | 8 | Matrix-based notation for the same cycle-generating polynomial |
| 9 encoding of HCP | Single polynomial equation over bounded reals | Decision-problem encoding for directed HCP |
This terminological plurality matters because the associated questions differ. For 0, the focus is deletion–contraction recursion, invariance, and distinguishing power. For 1, the focus is VNP-completeness, symmetries, equivalence testing, and circuit identities. For determinant–permanent identities, the focus is exact symbolic expansions. For polynomial-equation encodings, the focus is NP-hard feasibility over the reals. This suggests that the phrase Hamiltonian cycle polynomial functions as an umbrella term spanning several adjacent research programs.
2. The graph-invariant polynomial 2
Yi Bo defines the Hamiltonian cycle polynomial of a graph 3 by first introducing 4, the number of 5-component 6-factors of 7. A 8-component 9-factor is a spanning subgraph in which every vertex has degree 0 and which has exactly 1 connected components, each component being a cycle. The polynomial is then
2
In particular, 3 is the number of ordinary Hamiltonian cycles, so the coefficient of 4 recovers the usual Hamiltonian-cycle count (Bo, 2017).
The same polynomial is characterized recursively. For any edge 5 with 6,
7
It is multiplicative on disjoint unions,
8
when 9 and 0 have no vertex in common, and its base case on the one-vertex graph with 1 loops is
2
The paper proves that this recursion is well-defined, independent of the order in which edges are processed, and that coefficient extraction recovers the numbers 3 (Bo, 2017).
The polynomial fits a broader deletion–contraction framework. A general criterion is given for graph-functions satisfying
4
together with multiplicativity and fixed base values. Such a function is well-defined if and only if
5
or else 6 is the trivial “vertex-count” invariant. For 7, the parameters are 8, 9, $2$0, which satisfy the criterion. Hence $2$1 is well-defined and invariant under graph isomorphism (Bo, 2017).
The paper also places $2$2 relative to Tutte-type constructions. A seven-variable generalization $2$3 specializes to
$2$4
and also to
$2$5
where $2$6 is the classical Tutte polynomial. In this sense, $2$7 is a one-variable specialization of a two-variable Tutte-type invariant (Bo, 2017).
Several examples calibrate the invariant. A path $2$8 has no spanning $2$9-factor, so 0. For a cycle 1 with 2, the only 3-factor is the cycle itself, hence 4. For complete graphs, 5 and 6. More generally,
7
because 8 equals the number of ways to partition 9 into 0 cycles, namely the unsigned Stirling numbers of the first kind (Bo, 2017).
Despite encoding the full 1-factor spectrum, 2 is not a complete invariant. The paper notes that there exist non-isomorphic graphs 3 with
4
and that even more refined variants such as the two-variable cycle polynomial 5 may still coincide. On the algorithmic side, the defining recursion is analogous to that of the Tutte polynomial. Since even counting ordinary Hamiltonian cycles is 6-complete, there is no known polynomial-time algorithm for computing 7 on general graphs; the worst-case behavior is exponential-time branching, although certain graph classes admit better methods such as dynamic programming or transfer matrices (Bo, 2017).
3. The algebraic-complexity family 8
In algebraic complexity, the Hamiltonian Cycle polynomial is the family
9
where 0 is the 1 matrix of formal variables and 2 is the set of all 3-cycles on 4. Equivalently, 5 may be viewed as the weighted adjacency matrix of the complete directed graph on 6 vertices, and 7 is the formal sum of the weights of all directed Hamiltonian cycles (Dewan, 25 Jun 2026).
Sawczuk and Gnang use the notation
8
for an 9 matrix 0, emphasizing the interpretation as a generating function whose monomials enumerate all directed spanning cycles on 1. When 2 is the adjacency matrix of a directed graph 3, 4 is exactly the number of Hamiltonian cycles in 5 (Sawczuk et al., 2 Oct 2025).
The complexity-theoretic status of the family is classical. Valiant showed that the permanent family is VNP-complete over every field of characteristic other than 6, and that 7 is VNP-complete over every field, and even every commutative ring. The 2026 paper therefore describes 8 as the “universal” VNP-complete graph-polynomial, in contrast to the permanent family, whose completeness fails in characteristic 9 (Dewan, 25 Jun 2026).
Subsequent work cited there situates 00 within several major lines of algebraic complexity. Jerrum–Snir gave exact monotone-circuit lower bounds for 01. Hüttenhain–Ikenmeyer gave exact binary-determinantal-complexity bounds. Goulden–Jackson and Grochow related 02 to immanants. Malod, Grochow–Mulmuley–Qiao, and Hrubes used the VNP-completeness of 03 to obtain results uniformly across fields and, in the case of Hrubes, to exhibit new VNP-complete families in characteristic 04 (Dewan, 25 Jun 2026).
For 05, the symmetry analysis treats 06 as a homogeneous degree-07 polynomial in the 08 variables 09 with 10. This presentation removes diagonal variables from the ambient coordinate space while preserving the Hamiltonian-cycle monomial structure (Dewan, 25 Jun 2026).
4. Symmetries, equivalence testing, and circuit identities
A central structural question is how much of 11 is captured by its symmetry group. For a polynomial 12, the symmetry group is
13
and the Lie algebra is
14
For 15, a matrix 16 lies in 17 if and only if it is diagonal and its diagonal entries satisfy the cycle-sum constraints
18
for every 19-cycle 20. The dimension of 21 is 22 for 23; for 24, the dimension is 25 if 26 and 27 if 28 (Dewan, 25 Jun 2026).
The symmetry group itself has a concrete description over sufficiently large fields. If
29
then every symmetry 30 factors uniquely as
31
where 32 is a permutation-matrix symmetry, acting by relabeling 33 or by transpose, and 34 is a diagonal scaling matrix satisfying the same cycle-sum constraints. This parallels the permanent in one respect, but not in all respects: for 35 and sufficiently large fields, 36 is not determined up to scale by its symmetry group. The paper states that there exists 37 with
38
That non-characterization distinguishes 39 from the permanent polynomial in the sense used there (Dewan, 25 Jun 2026).
The same paper studies equivalence testing. Given black-box access to a polynomial 40, the problem is to decide whether 41 is equivalent to 42 under an invertible linear change of variables. Its main theorem states that if
43
then there is a randomized poly44-time algorithm that decides with high probability whether there exists 45 such that
46
and outputs 47 when such an equivalence holds. The algorithm proceeds by a Lie-algebraic reduction to permutation-and-scaling form, recovery of the permutation from the zero-pattern of mixed second derivatives, recovery of the scaling by solving a linear system over cyclic monomials, and a final verification stage (Dewan, 25 Jun 2026).
The verification stage uses downward self-reducibility rather than symmetry characterization. For every 48, there is an explicit 49 matrix 50, constructible in 51 time, such that
52
Moreover, 53 is characterized by the 54 identities
55
together with
56
From this the paper derives a circuit-identity characterization, a randomized poly57-time algorithm for testing whether a circuit 58 computes 59, and a Flip theorem for 60: assuming 61 has no poly62-size circuits over fields with 63, there is a randomized poly64 algorithm outputting matrices 65 such that every size-66 circuit fails on at least one of them (Dewan, 25 Jun 2026).
5. Determinant–permanent identities
A separate line of work studies exact symbolic identities for the Hamiltonian-cycle generating polynomial. For an 67 matrix 68, Sawczuk and Gnang prove the Hamiltonian-cycle identity
69
with the conventions 70 and 71. Here 72 is the principal submatrix of 73 indexed by 74, and 75 is the sum of monomials corresponding to single 76-cycles (Sawczuk et al., 2 Oct 2025).
The first proof is combinatorial. Expanding
77
produces monomials corresponding to cycle covers of 78. Fixing a permutation 79 with cycle decomposition
80
the monomial 81 appears in 82 exactly when each cycle of 83 lies entirely in 84 or entirely in 85. Summing the resulting coefficients over all 86 yields
87
so only the single-cycle permutations survive (Sawczuk et al., 2 Oct 2025).
The second proof is symbolic and uses Tutte’s Directed Matrix-Tree Theorem, a determinant-sum lemma, and a multivariable product rule. The construction starts from a polynomial listing of rooted directed spanning trees, passes to unicyclic functional graphs by replacing 88 with 89, and then applies the full partial-derivative operator
90
to isolate exactly those unicycles in which every vertex has in-degree 91, namely Hamiltonian cycles. After expanding the determinant via subsets and applying the product rule, the surviving terms are precisely the determinant–permanent summands above (Sawczuk et al., 2 Oct 2025).
The same paper derives an analogous Hamiltonian-path identity. Defining a Hamiltonian-path polynomial 92 as the sum over directed spanning paths of length 93, it proves
94
The cycle and path identities express 95-type generating functions in terms of the permanent and determinant. The paper explicitly notes that these identities do not yield an efficient algorithm in general, since the permanent remains a 96-complete object (Sawczuk et al., 2 Oct 2025).
6. Polynomial-equation encodings of the Hamiltonian cycle problem
Another nearby use of polynomial language is not a graph polynomial invariant but an exact encoding of the decision version of the directed Hamiltonian Cycle Problem. Chermakani demonstrates a polynomial approach that expresses directed HCP as the solvability of a single polynomial equation within a bounded real space. The construction begins with four new theorems about periodic functions with irrational periods, including uniqueness results for tuples of next-high gaps and infinitely many simultaneous overlaps for collections of such functions (0707.1176).
The encoding then uses a trigonometric substitution for the 97 directed edges: 98 where 99 records whether the directed edge 00 is present. By expanding 01 through
02
and then recursively expressing 03 and 04 in terms of 05 and 06, each 07 becomes a polynomial in the four master variables
08
times the known constant 09 (0707.1176).
Five sets of constraints are imposed. They force the 10 to behave like binary edge-selection variables, require exactly one outgoing chosen edge at each vertex,
11
enforce that the chosen edges form a single cycle of length 12, impose the trigonometric identities
13
and bound approximation errors by 14. Auxiliary signal variables 15 propagate a unit signal through the selected edges so that the final-time conditions exclude smaller disjoint cycles. After converting inequalities to equations with slack variables, all constraints are merged into one polynomial
16
By construction, 17 has a real solution if and only if the graph has a directed Hamiltonian cycle (0707.1176).
All variables lie in fixed bounded intervals: the trigonometric variables lie in 18, the error variables lie in 19, and the signal and slack variables are bounded as well. The paper states that any directed HCP instance can be translated in polynomial time into such a single polynomial-equation feasibility problem, and concludes that feasibility of a single polynomial equation over bounded real intervals is NP-hard. It further points to a prospective consequence: if one could decide in polynomial time whether a constant-variable polynomial equation has a real solution in a bounded box, then one would solve NP-complete problems by that subroutine, implying 20 (0707.1176).
This construction is distinct from both 21 and 22, but it belongs to the same broader landscape in which Hamiltonian-cycle structure is recast into polynomial form. A plausible implication is that the Hamiltonian cycle polynomial serves not only as an invariant or generating function, but also as a bridge between combinatorial graph structure, algebraic identities, and decision-problem encodings.