Improved Randomized Approximation of Hard Universality and Emptiness Problems
Pantelis Andreou, Stavros Konstantinidis, Taylor J. Smith
TL;DR
This work extends polynomial randomized approximation (PRAX) algorithms from NFA universality and (in)equivalence to a broad class of emptiness and universality problems across domains with tractable or samplable distributions. It proves a linear-in-$1/\delta$ sample size bound, replacing previous quadratic bounds and enabling efficient approximate decisions via Dirichlet-based sampling and truncation. The framework, including notions of tractable and locally tractable distributions, is instantiated for concrete problems such as tautology testing, 2D automata, and certain Diophantine equations, with tailored time complexities. The results offer a practical experimental mathematics approach to hard decision problems, delivering provable probabilistic guarantees while highlighting ongoing questions about constant factors and scope.
Abstract
We build on recent research on polynomial randomized approximation (PRAX) algorithms for the hard problems of NFA universality and NFA equivalence. Loosely speaking, PRAX algorithms use sampling of infinite domains within any desired accuracy $δ$. In the spirit of experimental mathematics, we extend the concept of PRAX algorithms to be applicable to the emptiness and universality problems in any domain whose instances admit a tractable distribution as defined in this paper. A technical result here is that a linear (w.r.t. $1/δ$) number of samples is sufficient, as opposed to the quadratic number of samples in previous papers. We show how the improved and generalized PRAX algorithms apply to universality and emptiness problems in various domains: ordinary automata, tautology testing of propositions, 2D automata, and to solution sets of certain Diophantine equations.
