MCP
arXivarXiv
Preprint
Published: October 15, 2026
cs.DS

Preprocessed 3SUM: From Reals to Integers

Abstract
The Preprocessed 3SUM problem asks to preprocess a set AA of nn numbers so that we can quickly decide whether a query subset A′⊆AA' \subseteq A contains a solution a+b=ca+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 O~(n13/7)\tilde O(n^{13/7}) [Chan, Lewenstein; STOC '15] to O~(n11/6)\tilde O(n^{11/6}) [Chan, Vassilevska W., Xu; STOC '23], and finally to O~(n3/2)\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 O~(n2)\tilde O(n^2) preprocessing overhead and no asymptotic increase in query time. This yields O~(n2)\tilde O(n^2) preprocessing and O~(n3/2)\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.
0
AI overview
Reviews
Citation graph
Structured
This paper does not have an AI preview yet
Rating
No ratings yet
Rate
Community rating
—
/ 5
No ratings yet
Rating
—
Soundness
—
Presentation
—
Contribution
—
Confidence
—
Discussion
Top
Newest
Questions
Replication
Author
No comments yet — be the first