English

Efficiently factoring polynomials modulo $p^4$

Computational Complexity 2019-02-27 v1 Data Structures and Algorithms Symbolic Computation Number Theory

Abstract

Polynomial factoring has famous practical algorithms over fields-- finite, rational \& pp-adic. However, modulo prime powers it gets hard as there is non-unique factorization and a combinatorial blowup ensues. For example, x2+pmodp2x^2+p \bmod p^2 is irreducible, but x2+pxmodp2x^2+px \bmod p^2 has exponentially many factors! We present the first randomized poly(deg f,logpf, \log p) time algorithm to factor a given univariate integral f(x)f(x) modulo pkp^k, for a prime pp and k4k \leq 4. Thus, we solve the open question of factoring modulo p3p^3 posed in (Sircana, ISSAC'17). Our method reduces the general problem of factoring f(x)modpkf(x) \bmod p^k to that of {\em root finding} in a related polynomial E(y)modpk,φ(x)E(y) \bmod\langle p^k, \varphi(x)^\ell \rangle for some irreducible φmodp\varphi \bmod p. We could efficiently solve the latter for k4k\le4, by incrementally transforming E(y)E(y). Moreover, we discover an efficient and strong generalization of Hensel lifting to lift factors of f(x)modpf(x) \bmod p to those mod p4\bmod\ p^4 (if possible). This was previously unknown, as the case of repeated factors of f(x)modpf(x) \bmod p forbids classical Hensel lifting.

Keywords

Cite

@article{arxiv.1901.06628,
  title  = {Efficiently factoring polynomials modulo $p^4$},
  author = {Ashish Dwivedi and Rajat Mittal and Nitin Saxena},
  journal= {arXiv preprint arXiv:1901.06628},
  year   = {2019}
}

Comments

22 pages