Primality testing in deterministic polynomial time
Proved otherwise AI-classified Computational number theory
Not yet human-checked. Classified by an AI system from its reading of the literature. No human expert has checked this entry yet. Treat the status as a draft, not as settled.
Statement
There is a deterministic algorithm that decides whether an integer n is prime in time polynomial in log n.
What it needs
-
GRH-Dirichlet GRH for Dirichlet L-functions Covered by the claim
Every non-trivial zero of every Dirichlet L-function has real part 1/2. Dirichlet L-functions are built from characters of the integers modulo q and control how primes are distributed among residue classes.
Status and why
Proved otherwise
This result was first proved under a Riemann Hypothesis and was later proved unconditionally by other means. It does not depend on the announced proof.
The hypotheses above belong to the earlier conditional proof and are no longer needed.
Note. Miller's 1976 test gave this under GRH for Dirichlet L-functions. Agrawal, Kayal and Saxena proved it unconditionally with a different algorithm. Miller's test is still much faster in practice, which is why its own entry matters.
Sources
- Conditional proof G. L. Miller (1976). Riemann's hypothesis and tests for primality. J. Comput. System Sci. 13, 300-317. doi:10.1016/S0022-0000(76)80043-8Hypothesis used at: Theorem 2. The Appendix defines ERH for the L-functions of the Legendre, Jacobi and q-th power residue characters, all Dirichlet characters
- Unconditional proof M. Agrawal, N. Kayal, N. Saxena (2004). PRIMES is in P. Ann. of Math. 160, 781-793. doi:10.4007/annals.2004.160.781Where the hypothesis is invoked: not yet recorded.
Review
Connections
Related entries
- Deterministic Miller primality test Unlocked