A Low-Space Algorithm for Worst-Case Subset Sum

OpenAI

For every fixed polynomial bound on input-integer bit length, there is a uniform classical randomized decision algorithm for worst-case Subset Sum taking polynomial(n) times 2(n/2)2^{(n/2)} time and O(2(n/5))O(2^{(n/5)}) writable words of O(n+b)O(n+b) bits, where b is the largest input bit length. Both resource bounds hold on every execution. Unsolvable instances are always rejected; solvable ones are accepted with probability at least two thirds.

What was already known

A faster-time algorithm with a different memory cost does not imply this time-space tradeoff. The source emphasizes ordinary writable space and per-execution bounds.

How the result developed

  1. 26 Sept 2026 · Manuscript date [1]

    OpenAI 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
ImportanceModest
Technical verificationReported
Human understandingFew

AI involvement

OpenAI is the credited author of the manuscript. This repository contains mathematical manuscripts and supporting proof artifacts produced by an internal OpenAI model. The release leaves the human input for this result unspecified.

Importance

The algorithm would reduce memory below the usual meet-in-the-middle scale while retaining its square-root exponential time scale.

Technical verification

The manuscript gives an argument, but a completed contribution-specific human or machine check is not documented in the reviewed sources.

Human understanding

The reviewed sources do not document a human explanation of this contribution’s central argument.

View revision history
· addition

Added the research timeline.

· addition

Added a source excerpt documenting AI involvement.

· correction

Corrected the literal manuscript date after a timezone conversion shifted it. The mathematical claim, attribution, ratings and checking scope are unchanged.

· publication

Historical omission correction, globally compared with the frozen baseline; only the distinct assessed output is included.