Fast polynomial factorization and modular composition in small characteristic

We obtain randomized algorithms for factoring degree n univariate polynomials over F_q that use O(n1.5 + o(1) + n1 + o(1)log q) field operations, when the characteristic is at most no(1). When log q < n, this is asymptotically faster than the best previous algorithms (von zur Gathen & Shoup (1992) and Kaltofen & Shoup (1998));& Shoup (1998)); for log q ≥ n, it matches the asymptotic running time of the best known algorithms. The improvements come from a new algorithm for modular composition of degree n univariate polynomials, which is the asymptotic bottleneck in fast algorithms for factoring polynomials over finite fields. The best previous algorithms for modular composition use O(n(omega + 1)/2) field operations, where omega is the exponent of matrix multiplication (Brent & Kung (1978)), with a slight improvement in the exponent achieved by employing fast rectangular matrix multiplication (Huang & Pan (1997)). We show that modular composition and multipoint evaluation of multivariate polynomials are essentially equivalent in the sense that an algorithm for one achieving exponent α implies an algorithm for the other with exponent α + o(1), and vice versa. We then give a new algorithm that requires O(n1 + o(1)) field operations when the characteristic is at most no(1), which is optimal up to lower order terms. Our algorithms do not rely on fast matrix multiplication, in contrast to all previous subquadratic algorithms for these problems. The main operations are fast univariate polynomial arithmetic, multipoint evaluation, and interpolation, and consequently the algorithms could be feasible in practice.

[1]  Philippe Flajolet,et al.  Fast computation of special resultants , 2006, J. Symb. Comput..

[2]  Joachim von zur Gathen Who was who in polynomial factorization: 1 , 2006, ISSAC '06.

[3]  E. Berlekamp Factoring polynomials over large finite fields* , 1970, SYMSAC '71.

[4]  Alexander Vardy,et al.  Correcting errors beyond the Guruswami-Sudan radius in polynomial time , 2005, 46th Annual IEEE Symposium on Foundations of Computer Science (FOCS'05).

[5]  Joachim von zur Gathen,et al.  Factoring Polynomials Over Finite Fields: A Survey , 2001, J. Symb. Comput..

[6]  H. T. Kung,et al.  Fast Algorithms for Manipulating Formal Power Series , 1978, JACM.

[7]  Michael O. Rabin,et al.  Probabilistic Algorithms in Finite Fields , 1980, SIAM J. Comput..

[8]  Erich Kaltofen,et al.  Polynomial factorization: a success story , 2003, ISSAC '03.

[9]  Victor Shoup,et al.  Fast construction of irreducible polynomials over finite fields , 1994, SODA '93.

[10]  Don Coppersmith,et al.  Matrix multiplication via arithmetic progressions , 1987, STOC.

[11]  Daniel J. Bernstein Composing Power Series Over a Finite Ring in Essentially Linear Time , 1998, J. Symb. Comput..

[12]  Venkatesan Guruswami,et al.  Explicit capacity-achieving list-decodable codes , 2005, STOC.

[13]  Joachim von zur Gathen,et al.  Computing Frobenius maps and factoring polynomials , 2005, computational complexity.

[14]  Martin Ziegler,et al.  Fast Multipoint Evaluation of Bivariate Polynomials , 2004, ESA.

[15]  Erich Kaltofen,et al.  Subquadratic-time factoring of polynomials over finite fields , 1998, Math. Comput..

[16]  Erich Kaltofen,et al.  Fast polynomial factorization over high algebraic extensions of finite fields , 1997, ISSAC.

[17]  D. Cantor,et al.  A new algorithm for factoring polynomials over finite fields , 1981 .

[18]  Victor Y. Pan,et al.  Fast Rectangular Matrix Multiplication and Applications , 1998, J. Complex..

[19]  Joachim von zur Gathen,et al.  Modern Computer Algebra , 1998 .

[20]  Victor Shoup Efficient computation of minimal polynomials in algebraic extensions of finite fields , 1999, ISSAC '99.