Efficient random search for residue systems with small modular deviation
Establish that, for any RSA modulus N, any multiplication count m used in the controlled modular exponentiation, and any integer f ≥ 1, a randomized search over sets P of small primes can, in expected time O(2^f · poly(m · len N)), find a set P such that L = ∏_{p∈P} p satisfies L ≥ N^m and the modular deviation Δ_N(L) is less than 2^{-f}. This formalizes the efficiency of the proposed brute-force random search strategy for selecting residue systems used in truncated residue arithmetic, ensuring wraparound errors have negligible modular deviation relative to N.
Sponsor
References
Numerically, it seems to be the case that picking random sets of small primes results in values of L \bmod N uniformly distributed over the range [1, N). In cases I've tested, I'm consistently able to find an L with deviation below 2{-f} with high probability by randomly sampling O(2f) sets of small primes. I conjecture this is true in general (see Assumption 1).