3SUM hypothesis

Still openEvidence checked

Subjects: Algorithms and data structures · Computational complexity

Collections: Limits of computation

Reading depth

The problem

Take three lists of integers: 1, 4, 7 in the first; 2, 5, 8 in the second; and 6, 9, 12 in the third. Choosing 4 and 2 gives 6, a match in the third list. The task is to decide whether any such match exists. With three entries in each of the first two lists, there are nine candidate pairs; doubling both list lengths gives four times as many pairs. Can an algorithm without random choices decide this on arbitrary growing lists with a fixed improvement in that growth rate? The integers are machine-sized: their bit counts are at most a fixed multiple of the bits needed to label list positions.[1] [2]

Scope

Given three sets A, B and C of n integers with O(log n)-bit representations, decide whether a + b = c. This entry asks whether a deterministic algorithm runs in O(n^(2−ε)) time for fixed ε > 0 on a word RAM with Θ(log n)-bit words.

What remains open

Known speedups shave slowly growing factors from the work. They do not supply the stronger, fixed improvement in how the work grows as the lists get longer.[1] [2]

Why it matters

This is a small arithmetic question that serves as a benchmark for other algorithms. Certain geometric and graph problems can encode 3SUM instances, so sufficiently fast algorithms for those problems would also make 3SUM faster. The hypothesis helps explain why apparently different tasks resist particular speedups, with the connection conditional on the stated model and the kind of reduction used.[1] [2]

Definitions

3 terms
word RAM

A random-access machine model that charges basic operations on machine words as individual steps. Here words contain a number of bits proportional to the logarithm of the input-set size.[1]

fine-grained complexity

The study of detailed running-time differences among problems, often relating fixed power improvements through reductions rather than only distinguishing polynomial from exponential time.[2]

reduction

A procedure converting one computational task to another. For a fine-grained hardness implication, the conversion’s time and input-size growth must preserve the relevant speedup, and its use of randomness must be tracked.[2]

Sources

  1. Preprocessed 3SUM for Unknown Universes with Subquadratic Space Yael Kirkpatrick, John Kuszmaul, Surya Mathialagan and Virginia Vassilevska Williams · 2026-07-01
    Notes on Preprocessed 3SUM for Unknown Universes with Subquadratic Space

    July 1, 2026 conference article: selected introduction, Theorem 1 and §2 describe polynomially bounded integers, machine words and a randomized preprocessed-universe tradeoff with essentially quadratic preparation. Faster later queries do not settle the scoped deterministic raw-input problem.

  2. Deterministic 3SUM-Hardness Nick Fischer, Piotr Kaliciak and Adam Polak · 2023-10-19
    Notes on Deterministic 3SUM-Hardness

    Exact October 19, 2023 arXiv v1 landing and selected served v1 PDF introduction, Hypothesis 1.1 and Theorems 1.2–1.4 supply the deterministic hypothesis and reduction motivation. Corresponding conference passages were read separately, without a claim of PDF byte identity. The fixed polynomial universe can depend on the proposed saving.

Related problems

Suggest a correction