Yet another practical implementation of polynomial factorization over finite fields

Polynomial factorization plays a significant role in computational mathematics and its application to engineering, since it forms a fundamental part of algorithms for higher algebraic computations. Multivariate polynomial factorization over finite fields is very important for computations of mathematical object over positive characteristic fields, which will help mathematical studies in various area. For example, primary ideal decomposition over finite fields is very useful for study of pure mathematics (algebraic geometry over positive characteristic fields) and also for study of coding theory (design of algebraic geometric codes). To make primary decomposition efficient, practical method of multivariate polynomial factorization and its implementation are essential. (This is the authors' motivation for this study. )Since, multivariate factorization over finite fields can be reduced efficiently to bivariate factorization, we focus on bivariate factorization over small finite fields here, and we propose a practically efficient combination of two methods: one is the well-known method by trial division and the other is a new polynomial-time method.As to polynomial factorization, many of computer algebra systems employ trial-division type algorithms which are non polynomial-time but efficient in many cases. However, as polynomial-time algorithms work well in the worst cases, good combination with practical algorithms should be very useful to improve the performance of the computer algebra system, provided that we have their practical implementation and we know their good usages. Moreover, if we can incorporate those with certain knowledge on the input, (we may call these heuristics), their practicality shall be much improved. In this paper we propose a polynomial-time algorithm for bivariate factorization over finite fields, which can be implemented efficiently and in which some heuristics can be incorporated. The new algorithm is obtained by reviewing existing algorithms from the ideal theoretical point of view, and based on the change of ordering algorithm of zero-dimensional Gröbner basis [6, 17].As to practical implementation of bivariate factorization, finding evaluation points and Hensel lifting are very important. When we factorize a polynomial over a small finite field, we often have to extend the ground field because of shortage of evaluation points. However, if the extension field is small enough, a primitive root representation of the field can reduce the cost of field operations over the extension field. Under this situation we implement Hensel lifting and trial division, and we examine its performance by various benchmark problems. We also implement the new polynomial-time algorithm and we show its advantage for hard-to-factor polynomials.

[1]  Paul S. Wang,et al.  Polynomial Factorization Sharp Bounds, Efficient Algorithms , 1993, J. Symb. Comput..

[2]  Jean-Charles Faugère,et al.  Efficient Computation of Zero-Dimensional Gröbner Bases by Change of Ordering , 1993, J. Symb. Comput..

[3]  Arjen K. Lenstra Factoring Multivariate Integral Polynomials , 1984, Theor. Comput. Sci..

[4]  Michael B. Monagan,et al.  Efficient Multivariate Factorization over Finite Fields , 1997, AAECC.

[5]  Masayuki Noro,et al.  A Computer Algebra System: Risa/Asir , 2003, Algebra, Geometry, and Software Systems.

[6]  Arjen K. Lenstra Factoring Multivariate Polynomials over Finite Fields , 1985, J. Comput. Syst. Sci..

[7]  Erich Kaltofen,et al.  Polynomial Factorization 1987-1991 , 1992, LATIN.

[8]  Victor Shoup,et al.  Factorization in Z[x]: the searching phase , 2000, ISSAC.

[9]  Shuhong Gao,et al.  Factoring multivariate polynomials via partial differential equations , 2003, Math. Comput..

[10]  J. Gathen,et al.  Factorization of multivariate polynomials over finite fields , 1985 .

[11]  László Lovász,et al.  Factoring polynomials with rational coefficients , 1982 .

[12]  Laurent Bernardin On Square-Free Factorization of Multivariate Polynomials over a Finite Field , 1997, Theor. Comput. Sci..

[13]  Erich Kaltofen,et al.  Polynomial-Time Reductions from Multivariate to Bi- and Univariate Integral Polynomial Factorization , 1985, SIAM J. Comput..

[14]  Kazuhiro Yokoyama,et al.  A Modular Method to Compute the Rational Univariate Representation of Zero-dimensional Ideals , 1999, J. Symb. Comput..

[15]  M. V. Hoeij Factoring Polynomials and the Knapsack Problem , 2002 .