Deterministic polynomial-time square roots modulo a prime
Unlocked 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, given a prime p and a square a modulo p, finds a square root of a modulo p in time polynomial in log p.
No formal statement recorded yet.
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
Unlocked
Every hypothesis this result needs is covered by the announced proof. It follows from that proof, and stands or falls with it.
Every hypothesis listed above (GRH-Dirichlet) is covered by the announced proof.
Note. The Tonelli-Shanks algorithm is deterministic once it is given a quadratic non-residue modulo p. Under GRH for Dirichlet L-functions a non-residue below 2 (ln p)^2 exists, so trying 2, 3, 4, ... in turn finds one quickly.
Sources
- Conditional proof D. Shanks (1973). Five number-theoretic algorithms. Proc. Second Manitoba Conf. on Numerical Mathematics, 51-70.Where the hypothesis is invoked: not yet recorded.
- Conditional proof E. Bach (1990). Explicit bounds for primality testing and related problems. Math. Comp. 55, 355-380. doi:10.1090/S0025-5718-1990-1023756-8Where the hypothesis is invoked: not yet recorded.
Review
Open questions
- This is a folklore corollary. No single paper stating it in this form has been identified yet.