# Polynomial-Time Pseudodeterministic Construction of Primes

arXiv: https://arxiv.org/abs/2305.15140 · HTML: https://mlsanity.com/paper/2305.15140/

## Key facts

- Cited by 1 papers in the map (data through 26 Nov 2026).
- Submitted 24 May 2023.

## Built on by (most cited first, 1 of 1)

- [The Price of List Replicability: Tight Bounds for Bias Estimation](https://mlsanity.com/paper/2611.04532/) (2026)

## Abstract (arXiv)

A randomized algorithm for a search problem is *pseudodeterministic* if it produces a fixed canonical solution to the search problem with high probability. In their seminal work on the topic, Gat and Goldwasser posed as their main open problem whether prime numbers can be pseudodeterministically constructed in polynomial time. We provide a positive solution to this question in the infinitely-often regime. In more detail, we give an *unconditional* polynomial-time randomized algorithm B such that, for infinitely many values of n, B(1n) outputs a canonical n-bit prime pn with high probability. More generally, we prove that for every dense property Q of strings that can be decided in polynomial time, there is an infinitely-often pseudodeterministic polynomial-time construction of strings satisfying Q. This improves upon a subexponential-time construction of Oliveira and Santhanam. Our construction uses several new ideas, including a novel bootstrapping technique for pseudodeterministic constructions, and a quantitative optimization of the uniform hardness-randomness framework of Chen and Tell, using a variant of the Shaltiel--Umans generator.
