Computing & Hardware October 6, 2026

Complexity Theory Shock: 3SUM and APSP Barriers Shattered

SHARE:
Complexity Theory Shock: 3SUM and APSP Barriers Shattered

A monumental preprint refutes the long-standing 3SUM and All-Pairs Shortest Paths hypotheses. The breakthrough upends decades of fine-grained complexity lower bounds.

Theoretical computer science has experienced an intellectual earthquake. In a landmark paper published on the arXiv preprint server, researchers have revealed deterministic subquadratic algorithms for the 3SUM problem and subcubic solutions for All-Pairs Shortest Paths (APSP). For decades, these computational barriers served as the undisputed bedrock for fine-grained complexity theory, anchoring conditional lower bounds across hundreds of foundational algorithms.

The paper demonstrates that 3SUM on $n$ integers of polynomial size can be solved deterministically in $O(n^{1.9992})$ time, while APSP on directed $n$-vertex graphs with polynomially bounded integer weights executes in $O(n^{2.9995})$ time. While the polynomial savings—shaving fractional fractions of an exponent off quadratic and cubic walls—might seem modest at first glance, the theoretical repercussions are seismic. They categorically refute both the 3SUM and APSP hypotheses, proving that barriers long treated as physical laws of computation can indeed be breached.

To understand why researchers and engineers are captivated, one must look at the mechanics of modern computational hardness. Where classic complexity classifies problems through coarse lenses like P versus NP, fine-grained complexity focuses on exact polynomial exponents. Algorithms operating in quadratic ($O(n^2)$) or cubic ($O(n^3)$) time are technically polynomial, yet scale poorly on massive datasets. The 3SUM hypothesis posited that determining whether any three integers in a set sum to zero strictly requires roughly $\Omega(n^2)$ operations. Similarly, APSP was believed to demand essentially cubic time. Countless problem domains—spanning computational geometry, bioinformatic sequence alignment, and dynamic network routing—anchored their performance ceilings to these exact assumptions.

ADVERTISEMENT

By dismantling these pillars, the authors trigger an immediate domino effect across algorithmic theory. Leveraging decades of known reductions, the paper invalidates the real-valued formulations of the 3SUM and APSP hypotheses, the Exact Triangle hypothesis, the Zero-Weight $k$-Clique hypotheses, and multiple variants of the Online Matrix-Vector conjecture. A vast constellation of algorithmic lower bounds across data structures, pathfinding, and string analysis has collapsed, meaning that faster algorithms are mathematically viable where they were previously thought impossible.

Industry practitioners will not see instantaneous rewrites of production libraries like Dijkstra implementations or spatial databases overnight. Breakthrough theoretical algorithms often feature massive hidden constant factors, rendering them slower on everyday enterprise workloads than heavily vectorized textbook methods. However, history shows that once a fundamental theoretical barrier breaks, subsequent algorithmic refinements inevitably follow, driving asymptotic gains down to practical runtime utility. The theoretical frontier of graph routing and numeric search has officially entered an unmapped era.

Sources & Primary References

Want real-time AI & tech intelligence dispatches?

Join the official TrendingTech Daily Telegram channel for breaking research, model launches, and market analysis.

Join Telegram Channel
Partner Intelligence

Automate Your Data & AI Infrastructure

Deploy autonomous agent pipelines and custom data integrations with Automation by Meir.

Discover AI Solutions →
Lex Fridman Podcast #419 — Sam Altman: OpenAI, GPT-5 & AGI
Lex Fridman & Sam Altman · 2 hr 18 min