On Tractable Exponential Sums

We consider the problem of evaluating certain exponential sums. These sums take the form Σx1,x2,...,xn∈ZN e2πi/N f(x1,x2,...,xn), where each xi is summed over a ring ZN, and f(x1,x2,...,xn) is a multivariate polynomial with integer coefficients. We show that the sum can be evaluated in polynomial time in n and log N when f is a quadratic polynomial. This is true even when the factorization of N is unknown. Previously, this was known for a prime modulus N. On the other hand, for very specific families of polynomials of degree ≥ 3 we show the problem is #P-hard, even for any fixed prime or prime power modulus. This leads to a complexity dichotomy theorem -- a complete classification of each problem to be either computable in polynomial time or #P-hard -- for a class of exponential sums. These sums arise in the classifications of graph homomorphisms and some other counting CSP type problems, and these results lead to complexity dichotomy theorems. For the polynomial-time algorithm, Gauss sums form the basic building blocks; for the hardness result we prove group-theoretic necessary conditions for tractability.

[1]  W. J. Thron,et al.  Encyclopedia of Mathematics and its Applications. , 1982 .

[2]  Leslie Ann Goldberg,et al.  A Complexity Dichotomy for Partition Functions with Mixed Signs , 2008, SIAM J. Comput..

[3]  A. Meyer,et al.  Introduction to Number Theory , 2005 .

[4]  Martin E. Dyer,et al.  The complexity of counting graph homomorphisms , 2000, Random Struct. Algorithms.

[5]  Rudolf Lide,et al.  Finite fields , 1983 .

[6]  K. Conrad Finite Fields , 2004, Series and Products in the Development of Mathematics.

[7]  Leslie G. Valiant,et al.  The Complexity of Enumeration and Reliability Problems , 1979, SIAM J. Comput..

[8]  Andrei A. Bulatov,et al.  The complexity of partition functions , 2005, Theor. Comput. Sci..

[9]  Erich Kaltofen,et al.  Computer algebra handbook , 2002 .

[10]  Leslie G. Valiant,et al.  The Complexity of Computing the Permanent , 1979, Theor. Comput. Sci..

[11]  L. Lovasz,et al.  Reflection positivity, rank connectivity, and homomorphism of graphs , 2004, math/0404468.

[12]  A. Ehrenfeucht,et al.  The Computational Complexity of ({\it XOR, AND\/})-Counting Problems , 1990 .

[13]  Martin E. Dyer,et al.  On counting homomorphisms to directed acyclic graphs , 2006, JACM.

[14]  R. Gregory Taylor,et al.  Modern computer algebra , 2002, SIGA.

[15]  L. Lovász Operations with structures , 1967 .

[16]  Jin-Yi Cai,et al.  Graph Homomorphisms with Complex Values: A Dichotomy Theorem , 2009, SIAM J. Comput..

[17]  J. Neukirch Algebraic Number Theory , 1999 .

[18]  Michael Rosen,et al.  A classical introduction to modern number theory , 1982, Graduate texts in mathematics.