Faster integer 3SUM by subset convolution

Timothy M. Chan, Reina Itakura, Zhiyuan Ma, Yuancheng Yu

For three sets of n polynomially bounded integers, the subset-convolution algorithm solves 3SUM in O(n1⋅965)O(n^{1}\cdot ^{965}) Monte Carlo time with error probability O(1/n)O(1/n), without matrix multiplication or FFT. For every fixed odd k≥5k\ge 5, a vector-convolution extension solves k-SUM on polynomially bounded integers in O(n(⌈k/2⌉−εk))O(n^{(\lceil k/2\rceil -\varepsilon _{k})}) Monte Carlo time for some εk>0\varepsilon _{k}>0. Separate deterministic reductions to counting triangles through specified edges give O(n1⋅9998)O(n^{1}\cdot ^{9998}) for real 3SUM and O(n2⋅9997)O(n^{2}\cdot ^{9997}) for real APSP.

What was already known

Alman and Vassilevska Williams used selected entries of rectangular matrix products to obtain deterministic improvements on polynomially bounded integers and Las Vegas improvements on real inputs. The real-input algorithms relied on randomized reductions by Chan, Vassilevska Williams and Xu. The original matrix-product approach left the larger odd k-SUM cases open.

How the result developed

  1. 14 Nov 2026 · Manuscript date [1]

    Timothy M. Chan, Reina Itakura, Zhiyuan Ma, and Yuancheng Yu reported the AI-assisted result in this manuscript.

Follow new evidence and revisions to this result.

Get email updates

Download contribution history

Contribution Assessment

AI involvementAI-led
ImportanceNotable
Technical verificationFormal (human)
Human understandingExplained

AI involvement

The authors write, The results in this paper were obtained using ChatGPT Sol 6.1. They describe the initial proofs as difficult to follow and say they rewrote them from scratch, simplifying the arguments for publication.

Importance

Subset and vector convolution give a simpler route to an integer 3SUM speedup and extend it to every fixed odd k. The real-input reductions remove the dependence on random sampling.

Technical verification

Chan, Itakura, Ma and Yu report verifying the correctness of all content after rewriting the proofs. The formal checks for the separate Alman–Vassilevska Williams result do not assess these algorithms.

Human understanding

The authors rewrote the arguments themselves. They explain how inclusion–exclusion evaluates selected convolution outputs and how the real-input reductions replace random sampling.

View revision history
· addition

Added the research timeline.

· addition

Added a source excerpt documenting AI involvement.

· publication

The authors explicitly credit ChatGPT Sol 6.1 for obtaining the results and report rewriting, simplifying and verifying every proof. These are separate from Anthropic’s original selected-entry subroutine and integer formalizations. This is the same preparation obligation as n84.