Preprocessed 3SUM: From Reals to Integers
Nick Fischer, Jonas Schmidt
Key points
From the paper's conclusion- We give a randomized real-to-integer reduction with $\tilde O(n^2)$ preprocessing overhead and no asymptotic increase in query time.
Abstract
The Preprocessed 3SUM problem asks to preprocess a set $A$ of $n$ numbers so that we can quickly decide whether a query subset $A' \subseteq A$ contains a solution $a+b=c$. The best known query bounds differ substantially between integer and real inputs. For integers, a series of advances with near-quadratic preprocessing reduced the query time from $\tilde O(n^{13/7})$ [Chan, Lewenstein; STOC '15] to $\tilde O(n^{11/6})$ [Chan, Vassilevska W., Xu; STOC '23], and finally to $\tilde O(n^{3/2})$ [Kasliwal, Polak, Sharma; SOSA '25]. For reals, only the first of these bounds has been achieved, by adapting the corresponding integer algorithm [Fischer; SODA '25]. Is this gap inherent to the more limited tools available for real inputs? We give a randomized real-to-integer reduction with $\tilde O(n^2)$ preprocessing overhead and no asymptotic increase in query time. This yields $\tilde O(n^2)$ preprocessing and $\tilde O(n^{3/2})$ query time for real inputs, closing the gap. We show how to extend our result to the setting where one set is unknown at preprocessing time. Our reduction is conceptually simple, and relies on an interesting technical toolkit around old and new tools from sparse linear algebra. More broadly, it suggests a route to real-to-integer reductions for other additive problems.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- 3SUM Is Really Hard: A Real-to-Integer ReductionarXiv · 2026
- Real-to-Integer Reduction for All-Pairs Shortest PathsarXiv · 2026
- Recovery Beats Storage: Improved Space for Preprocessed 3SUMarXiv · 2026
- Beyond 3SUM-Hardness for Geometric ProblemsarXiv · 2026
- Truly Sub-$3^n$ Min-Sum Subset Convolution and Join OrderingarXiv · 2026
- Combinatorial Boolean Matrix Multiplication in $n^3 / 2^{\Omega(\sqrt{\log n})}$ TimearXiv · 2026