Towards Verified Polynomial Factorisation
James H. Davenport
TL;DR
This work tackles the problem of producing machine-checked evidence that a polynomial factorization in $\mathbf{Z}[x]$ is irreducible by proposing a family of certificate-based verifications implemented or planned for Lean. It develops several certificate variants (Simple, pre-Musser, Simple post-Musser, Complex post-Musser) that combine modular factorizations, Hensel lifting, and p-adic checks to certify irreducibility without relying on external trust. A core technical component is irreducibility modulo primes via Distinct Degree Factorisation and gcd tests like $\gcd(f(t), t^{p^j}-t)$, together with a robust bound-calculation framework based on Mignotte lemmas to control factor coefficients. The project aims to deliver a formally verified, certificate-backed pathway for polynomial factorization in proof assistants, improving reliability for computer algebra systems and formal proofs of irreducibility, with ongoing work to complete the bound proofs and Lean formalizations.
Abstract
Computer algebra systems are really good at factoring polynomials, i.e. writing f as a product of irreducible factors. It is relatively easy to verify that we have a factorisation, but verifying that these factors are irreducible is a much harder problem. This paper reports work-in-progress to do such verification in Lean.
