English

Testing Equivalence to the Hamiltonian Cycle Polynomial

Computational Complexity 2026-06-25 v1

Abstract

The Hamiltonian Cycle polynomial, denoted as HCnHC_n, is defined to be the sum of the weighted Hamiltonian Cycles in an nn-vertex complete digraph, with vertices labeled 11 to nn and edges weighted by formal variables xi,jx_{i,j}. Valiant (STOC 1979) studied the Permanent and HCHC, defined as the family {HCn n1}\{HC_n | \ n \geq 1\}, and showed both families are VNP-complete, the former over any field of characteristic other than 22, and the latter over any field. Since its introduction, HCHC has been studied from the perspective of lower bounds by Jerrum-Snir (JACM 1982), determinantal complexity by Huttenhain-Ikenmeyer (LAA 2016), and its relation to the Permanent by Goulden-Jackson (EJC 1981) and Grochow (ToC 2017). Its VNP-completeness over any field has been used in Malod (CCC 2007), Grochow-Mulmuley-Qiao (ICALP 2016) and Hrubes (ToCT, 2016). The Equivalence Testing problem for a polynomial f(x)f(\mathbf{x}) (ET for ff) is as follows: Given g(x)F[x]g(\mathbf{x}) \in \mathbb{F}[\mathbf{x}] as a black box, decide if there exists AGLx(F)A \in \mathrm{GL}_{|\mathbf{x}|}(\mathbb{F}) such that g=f(Ax)g = f(A\mathbf{x}). Kayal (STOC 2012) gave a randomised polynomial time ET algorithm for the Permanent. In this work, we give a randomised polynomial time ET algorithm for HCHC with mild constraints on the field. We show that, like the Permanent polynomial, the symmetries of HCnHC_n are generated by permutation and scaling matrices over large enough fields. We also show that HCnHC_n is not characterised by its symmetries, unlike the Permanent polynomial, Mulmuley-Sohoni (SIAM J. Computing, 2001). Nevertheless, like the Permanent polynomial, HCnHC_n is downward self-reducible, Zhang-Bai (TCS 2011), implying HCnHC_n is characterised by circuit identities and an efficient algorithm to test if a given circuit C\mathrm{C} computes HCnHC_n. We also get a Flip theorem for HCnHC_n as a result of its circuit identities.

Cite

@article{arxiv.2606.26653,
  title  = {Testing Equivalence to the Hamiltonian Cycle Polynomial},
  author = {Agrim Dewan},
  journal= {arXiv preprint arXiv:2606.26653},
  year   = {2026}
}

Comments

A preliminary version of the paper will appear in the proceedings of MFCS 2026. Abstract shortened to meet arXiv requirements

R2 v1 2026-07-22T20:10:03.277Z