Papers
Topics
Authors
Recent
Search
2000 character limit reached

Hamiltonian Cycle Polynomial Overview

Updated 14 July 2026
  • 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 HCnHC_n, the sum of monomials indexed by directed Hamiltonian cycles in the complete digraph on nn labeled vertices. In graph polynomial theory, it also denotes Yi Bo’s invariant H(G;x)=k1hk(G)xkH(G;x)=\sum_{k\ge1} h_k(G)x^k, where hk(G)h_k(G) counts kk-component $2$-factors and h1(G)h_1(G) 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 GG. The other is a polynomial family in formal edge variables attached to the complete directed graph on nn labeled vertices. Sawczuk and Gnang use the notation PHCn(A)P_{HC_n}(A) for the same generating function that algebraic complexity papers denote by nn0 (Bo, 2017, Dewan, 25 Jun 2026, Sawczuk et al., 2 Oct 2025).

Object Definition Role
nn1 nn2 Graph invariant from nn3-component nn4-factors
nn5 nn6 Algebraic-complexity family of weighted Hamiltonian cycles
nn7 nn8 Matrix-based notation for the same cycle-generating polynomial
nn9 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 H(G;x)=k1hk(G)xkH(G;x)=\sum_{k\ge1} h_k(G)x^k0, the focus is deletion–contraction recursion, invariance, and distinguishing power. For H(G;x)=k1hk(G)xkH(G;x)=\sum_{k\ge1} h_k(G)x^k1, 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 H(G;x)=k1hk(G)xkH(G;x)=\sum_{k\ge1} h_k(G)x^k2

Yi Bo defines the Hamiltonian cycle polynomial of a graph H(G;x)=k1hk(G)xkH(G;x)=\sum_{k\ge1} h_k(G)x^k3 by first introducing H(G;x)=k1hk(G)xkH(G;x)=\sum_{k\ge1} h_k(G)x^k4, the number of H(G;x)=k1hk(G)xkH(G;x)=\sum_{k\ge1} h_k(G)x^k5-component H(G;x)=k1hk(G)xkH(G;x)=\sum_{k\ge1} h_k(G)x^k6-factors of H(G;x)=k1hk(G)xkH(G;x)=\sum_{k\ge1} h_k(G)x^k7. A H(G;x)=k1hk(G)xkH(G;x)=\sum_{k\ge1} h_k(G)x^k8-component H(G;x)=k1hk(G)xkH(G;x)=\sum_{k\ge1} h_k(G)x^k9-factor is a spanning subgraph in which every vertex has degree hk(G)h_k(G)0 and which has exactly hk(G)h_k(G)1 connected components, each component being a cycle. The polynomial is then

hk(G)h_k(G)2

In particular, hk(G)h_k(G)3 is the number of ordinary Hamiltonian cycles, so the coefficient of hk(G)h_k(G)4 recovers the usual Hamiltonian-cycle count (Bo, 2017).

The same polynomial is characterized recursively. For any edge hk(G)h_k(G)5 with hk(G)h_k(G)6,

hk(G)h_k(G)7

It is multiplicative on disjoint unions,

hk(G)h_k(G)8

when hk(G)h_k(G)9 and kk0 have no vertex in common, and its base case on the one-vertex graph with kk1 loops is

kk2

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 kk3 (Bo, 2017).

The polynomial fits a broader deletion–contraction framework. A general criterion is given for graph-functions satisfying

kk4

together with multiplicativity and fixed base values. Such a function is well-defined if and only if

kk5

or else kk6 is the trivial “vertex-count” invariant. For kk7, the parameters are kk8, kk9, $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 h1(G)h_1(G)0. For a cycle h1(G)h_1(G)1 with h1(G)h_1(G)2, the only h1(G)h_1(G)3-factor is the cycle itself, hence h1(G)h_1(G)4. For complete graphs, h1(G)h_1(G)5 and h1(G)h_1(G)6. More generally,

h1(G)h_1(G)7

because h1(G)h_1(G)8 equals the number of ways to partition h1(G)h_1(G)9 into GG0 cycles, namely the unsigned Stirling numbers of the first kind (Bo, 2017).

Despite encoding the full GG1-factor spectrum, GG2 is not a complete invariant. The paper notes that there exist non-isomorphic graphs GG3 with

GG4

and that even more refined variants such as the two-variable cycle polynomial GG5 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 GG6-complete, there is no known polynomial-time algorithm for computing GG7 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 GG8

In algebraic complexity, the Hamiltonian Cycle polynomial is the family

GG9

where nn0 is the nn1 matrix of formal variables and nn2 is the set of all nn3-cycles on nn4. Equivalently, nn5 may be viewed as the weighted adjacency matrix of the complete directed graph on nn6 vertices, and nn7 is the formal sum of the weights of all directed Hamiltonian cycles (Dewan, 25 Jun 2026).

Sawczuk and Gnang use the notation

nn8

for an nn9 matrix PHCn(A)P_{HC_n}(A)0, emphasizing the interpretation as a generating function whose monomials enumerate all directed spanning cycles on PHCn(A)P_{HC_n}(A)1. When PHCn(A)P_{HC_n}(A)2 is the adjacency matrix of a directed graph PHCn(A)P_{HC_n}(A)3, PHCn(A)P_{HC_n}(A)4 is exactly the number of Hamiltonian cycles in PHCn(A)P_{HC_n}(A)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 PHCn(A)P_{HC_n}(A)6, and that PHCn(A)P_{HC_n}(A)7 is VNP-complete over every field, and even every commutative ring. The 2026 paper therefore describes PHCn(A)P_{HC_n}(A)8 as the “universal” VNP-complete graph-polynomial, in contrast to the permanent family, whose completeness fails in characteristic PHCn(A)P_{HC_n}(A)9 (Dewan, 25 Jun 2026).

Subsequent work cited there situates nn00 within several major lines of algebraic complexity. Jerrum–Snir gave exact monotone-circuit lower bounds for nn01. Hüttenhain–Ikenmeyer gave exact binary-determinantal-complexity bounds. Goulden–Jackson and Grochow related nn02 to immanants. Malod, Grochow–Mulmuley–Qiao, and Hrubes used the VNP-completeness of nn03 to obtain results uniformly across fields and, in the case of Hrubes, to exhibit new VNP-complete families in characteristic nn04 (Dewan, 25 Jun 2026).

For nn05, the symmetry analysis treats nn06 as a homogeneous degree-nn07 polynomial in the nn08 variables nn09 with nn10. 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 nn11 is captured by its symmetry group. For a polynomial nn12, the symmetry group is

nn13

and the Lie algebra is

nn14

For nn15, a matrix nn16 lies in nn17 if and only if it is diagonal and its diagonal entries satisfy the cycle-sum constraints

nn18

for every nn19-cycle nn20. The dimension of nn21 is nn22 for nn23; for nn24, the dimension is nn25 if nn26 and nn27 if nn28 (Dewan, 25 Jun 2026).

The symmetry group itself has a concrete description over sufficiently large fields. If

nn29

then every symmetry nn30 factors uniquely as

nn31

where nn32 is a permutation-matrix symmetry, acting by relabeling nn33 or by transpose, and nn34 is a diagonal scaling matrix satisfying the same cycle-sum constraints. This parallels the permanent in one respect, but not in all respects: for nn35 and sufficiently large fields, nn36 is not determined up to scale by its symmetry group. The paper states that there exists nn37 with

nn38

That non-characterization distinguishes nn39 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 nn40, the problem is to decide whether nn41 is equivalent to nn42 under an invertible linear change of variables. Its main theorem states that if

nn43

then there is a randomized polynn44-time algorithm that decides with high probability whether there exists nn45 such that

nn46

and outputs nn47 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 nn48, there is an explicit nn49 matrix nn50, constructible in nn51 time, such that

nn52

Moreover, nn53 is characterized by the nn54 identities

nn55

together with

nn56

From this the paper derives a circuit-identity characterization, a randomized polynn57-time algorithm for testing whether a circuit nn58 computes nn59, and a Flip theorem for nn60: assuming nn61 has no polynn62-size circuits over fields with nn63, there is a randomized polynn64 algorithm outputting matrices nn65 such that every size-nn66 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 nn67 matrix nn68, Sawczuk and Gnang prove the Hamiltonian-cycle identity

nn69

with the conventions nn70 and nn71. Here nn72 is the principal submatrix of nn73 indexed by nn74, and nn75 is the sum of monomials corresponding to single nn76-cycles (Sawczuk et al., 2 Oct 2025).

The first proof is combinatorial. Expanding

nn77

produces monomials corresponding to cycle covers of nn78. Fixing a permutation nn79 with cycle decomposition

nn80

the monomial nn81 appears in nn82 exactly when each cycle of nn83 lies entirely in nn84 or entirely in nn85. Summing the resulting coefficients over all nn86 yields

nn87

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 nn88 with nn89, and then applies the full partial-derivative operator

nn90

to isolate exactly those unicycles in which every vertex has in-degree nn91, 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 nn92 as the sum over directed spanning paths of length nn93, it proves

nn94

The cycle and path identities express nn95-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 nn96-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 nn97 directed edges: nn98 where nn99 records whether the directed edge H(G;x)=k1hk(G)xkH(G;x)=\sum_{k\ge1} h_k(G)x^k00 is present. By expanding H(G;x)=k1hk(G)xkH(G;x)=\sum_{k\ge1} h_k(G)x^k01 through

H(G;x)=k1hk(G)xkH(G;x)=\sum_{k\ge1} h_k(G)x^k02

and then recursively expressing H(G;x)=k1hk(G)xkH(G;x)=\sum_{k\ge1} h_k(G)x^k03 and H(G;x)=k1hk(G)xkH(G;x)=\sum_{k\ge1} h_k(G)x^k04 in terms of H(G;x)=k1hk(G)xkH(G;x)=\sum_{k\ge1} h_k(G)x^k05 and H(G;x)=k1hk(G)xkH(G;x)=\sum_{k\ge1} h_k(G)x^k06, each H(G;x)=k1hk(G)xkH(G;x)=\sum_{k\ge1} h_k(G)x^k07 becomes a polynomial in the four master variables

H(G;x)=k1hk(G)xkH(G;x)=\sum_{k\ge1} h_k(G)x^k08

times the known constant H(G;x)=k1hk(G)xkH(G;x)=\sum_{k\ge1} h_k(G)x^k09 (0707.1176).

Five sets of constraints are imposed. They force the H(G;x)=k1hk(G)xkH(G;x)=\sum_{k\ge1} h_k(G)x^k10 to behave like binary edge-selection variables, require exactly one outgoing chosen edge at each vertex,

H(G;x)=k1hk(G)xkH(G;x)=\sum_{k\ge1} h_k(G)x^k11

enforce that the chosen edges form a single cycle of length H(G;x)=k1hk(G)xkH(G;x)=\sum_{k\ge1} h_k(G)x^k12, impose the trigonometric identities

H(G;x)=k1hk(G)xkH(G;x)=\sum_{k\ge1} h_k(G)x^k13

and bound approximation errors by H(G;x)=k1hk(G)xkH(G;x)=\sum_{k\ge1} h_k(G)x^k14. Auxiliary signal variables H(G;x)=k1hk(G)xkH(G;x)=\sum_{k\ge1} h_k(G)x^k15 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

H(G;x)=k1hk(G)xkH(G;x)=\sum_{k\ge1} h_k(G)x^k16

By construction, H(G;x)=k1hk(G)xkH(G;x)=\sum_{k\ge1} h_k(G)x^k17 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 H(G;x)=k1hk(G)xkH(G;x)=\sum_{k\ge1} h_k(G)x^k18, the error variables lie in H(G;x)=k1hk(G)xkH(G;x)=\sum_{k\ge1} h_k(G)x^k19, 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 H(G;x)=k1hk(G)xkH(G;x)=\sum_{k\ge1} h_k(G)x^k20 (0707.1176).

This construction is distinct from both H(G;x)=k1hk(G)xkH(G;x)=\sum_{k\ge1} h_k(G)x^k21 and H(G;x)=k1hk(G)xkH(G;x)=\sum_{k\ge1} h_k(G)x^k22, 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.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Hamiltonian Cycle Polynomial.