Integer Multiplication Below n log n: How OpenAI’s Proof Halves the Logarithmic Exponent

A tape head can add nearby bits quickly. Reaching the next bits it needs can take longer than the arithmetic itself. OpenAI’s November 24, 2026 preprint achieves integer multiplication below n log n by making many data streams share the work of rearranging their addresses. It gives one deterministic multitape Turing machine that computes the exact product of two nn-bit integers in n(1+log⁡n)1/2+o(1)n(1+\log n)^{1/2+o(1)} worst-case time and visits only O(n)O(n) tape cells. Under the variable-count Weak Exponential Time Hypothesis (Weak ETH), every exact deterministic multiplier in this model needs Ω(nlog⁡n)\Omega(n\sqrt{\log n}) time in the worst case at each sufficiently large length. The exponent therefore has infimum one-half under Weak ETH. Whether any machine attains that exponent exactly remains open.

1. Integer Multiplication Below n log n: What Has OpenAI Proved?

	Integer multiplication below n log n with an unconditional upper bound and a lower bound under Weak ETH.
Integer multiplication below n log n with an unconditional upper bound and a lower bound under Weak ETH.

Theorem 1.1 constructs the multiplier. Theorem 1.2 guarantees a hard pair of operands at every sufficiently large length for each exact deterministic multiplier.

Key results of the November 24 preprint. Logarithms are base two.
ResultWhat the Paper Establishes
Unconditional upper boundOne machine, n(1+log⁡n)1/2+o(1)n(1+\log n)^{1/2+o(1)} worst-case time, O(n)O(n) visited cells.
Conditional lower boundAssuming Weak ETH, Ω(nlog⁡n)\Omega(n\sqrt{\log n}) worst-case time at every sufficiently large length.
Optimal exponentUnder Weak ETH, every fixed exponent above 1/21/2 is achievable. Smaller exponents are impossible.
Earlier tape algorithmThe previous bound O(n(1+log⁡n)1−2−182)O(n(1+\log n)^{1-2^{-182}}) gave a strict but tiny saving in the exponent.

Here OO and Ω\Omega denote upper and lower bounds up to constant factors. The o(1)o(1) tends to zero but can still hide a growing time factor.

2. The Original Problem and the Half-Century Multiplication Barrier

Schoolbook multiplication combines digit pairs in quadratic time. Karatsuba and Ofman cut four half-size products to three. Toom–Cook split into more pieces and recovered the product by evaluation and interpolation. Fourier methods recast digit interactions as convolution.

Schönhage and Strassen achieved O(nlog⁡nlog⁡log⁡n)O(n\log n\log\log n) tape time. Fürer shrank the extra factor above nlog⁡nn\log n to 2O(log∗⁡n)2^{O(\log^*n)}, where log∗⁡n\log^*n counts repeated logarithms down to at most one. Harvey and van der Hoeven reached O(nlog⁡n)O(n\log n) with multidimensional Fourier transforms. A conventional radix-two transform has logarithmically many layers, each touching the whole array, which helps explain why this scale looked durable. Online multiplication, which emits digits as input arrives, already had an Ω(nlog⁡n)\Omega(n\log n) lower bound. The earlier OpenAI tape algorithm established that the classical exponent could be beaten, leaving the best possible improvement unresolved.

3. Why Multitape Turing Machines Change the Mathematics

A multitape Turing machine has a fixed number of one-dimensional tapes, a fixed finite alphabet and one head per tape. Each head moves at most one cell per step. The operands are binary, most significant bit first, with a delimiter and leading zeros allowed. The full 2n2n-bit product occupies a prescribed contiguous interval at one bit per cell. Space counts every cell ever visited, including temporary work areas.

An arithmetic circuit charges for combining values. Tape bit complexity also charges for reaching and representing them. In row-major storage, consecutive entries down a column lie a full row apart. Transposition puts each column into a contiguous run. Such rearrangements bring a different group of coefficients together for each Fourier operation.

A Row-Major Matrix Transpose The input rows are a b c, d e f, and g h i. The output rows are a d g, b e h, and c f i. Entry b moves from row one, column two to row two, column one. Input Matrix a b c d e f g h i Tape Order abc · def · ghi Transposed Matrix a d g b e h c f i Tape Order adg · beh · cfi
Figure 1. Transposition exchanges row and column indices. The dots separate consecutive rows in tape order.

4. OpenAI’s Proof Strategy: From Integer Multiplication to Information Movement

OpenAI’s release attributes the manuscripts to an unnamed internal model. The release’s reasoning summaries cover other results. These stages reconstruct the logic of the written proof.

  1. Replace digit products with convolution. Pack each operand into blocks and treat them as polynomial coefficients. Sufficient zero padding ensures cyclic convolution recovers the ordinary product coefficients.
  2. Share the cost of rearranging addresses. Split addresses into fields. Batch their swaps across independent streams, so a common tape layout can serve many rearrangements.
  3. Share the transform work. Factor the cyclic index into short axes, gather corresponding records, and apply synchronized Fourier operations. Recover exact coefficients by rounding and carry propagation.
  4. Make the algorithm uniform. Generate candidate constructions with exponents approaching one-half. Chunk the operands and schedule bounded attempts so one program handles all lengths.
  5. Run the transposition connection in reverse. A very fast multiplier would transpose matrices quickly. Under Weak ETH, the resulting tape network would be too small to pay for the information each transpose must deliver.

5. Breaking the Tape Movement Barrier Through Shared Address Permutations

	Three streams swap address fields A and B to illustrate integer multiplication below n log n.
Three streams swap address fields A and B to illustrate integer multiplication below n log n.

Theorem 2.1 swaps two uu-bit address fields in a stream of volume VV in Oα(Vuα)O_{\alpha}(Vu^\alpha) time for any fixed α>1/2\alpha>1/2, with linear space. Other fields retain their order and values. A direct approach would make a separate pass for each pair of address bits. The proof instead splits the fields into chunks and attacks many commuting swaps together.

Each chunk swap has eigenvalues +1+1 and −1-1 in a common sum-and-difference basis. If jj of the mm eigenvalues are negative at one frequency, the combined sign is (−1)j(-1)^j. The construction assigns sign shifts to its batch of streams. At each frequency, the resulting counts across the shifts follow a binomial distribution, so most lie in a central interval of width O(mlog⁡m)O(\sqrt{m}\log m). Interpolating parity on that interval gives an exact polynomial prediction there. The exceptions vary by frequency. A small collection of linear combinations is converted to the common basis, where interpolation recovers the exceptional contributions and repairs the entire batch.

Each polynomial stage still involves all mm swap operators. To avoid paying for them separately, the implementation replaces the identity transfer between stream labels with a low-rank transfer and subtracts its unwanted off-diagonal transfers. The latter form disjoint source-by-destination rectangles. Within a rectangle, sources can be summed before copying to destinations, with one address layout prepared at each endpoint and reused across queries. Earlier address fields then control inexpensive tape rotations. This makes the per-stage interchange overhead smaller than any prescribed positive power of mm with a suitable finite construction. Recursing on shorter fields preserves the near-square-root saving from the number of polynomial stages.

6. How Batched Walsh and Fourier Transforms Accelerate Multiplication

Let bb be the block width and hh the number of blocks per operand. The digits are coefficients in base 2b2^b. The proof chooses a cyclic length S≥2hS\ge 2h from short, pairwise coprime factors whose valid coordinates fill a constant fraction of a padded binary address box. The Chinese remainder theorem turns addition of indices modulo SS into separate cyclic additions on those axes. This makes short Fourier transforms sufficient, while keeping the whole box within linear bit volume.

A short transform may need more positions than its own axis contains. Padding all axes independently would multiply their space costs. Lemma 5.2 instead borrows occupied coordinates from adjacent fibers and restores the borrowed values in exact arithmetic. A fiber varies along one axis while its other coordinates stay fixed. It synchronizes phases, address permutations and normalized Walsh layers. A one-bit Walsh operation takes a pair to its sum and difference, each divided by 2\sqrt{2}. Lemma 4.1 gathers independent copies for batched application. The exact layers preserve Euclidean norm, so existing errors keep their size through a layer while new rounding errors accumulate.

Two forward transforms, componentwise multiplication and a properly scaled inverse give the convolution. With O(log⁡n)O(\log n) bits per numerical record, the final coefficient error has Euclidean norm below 1/21/2, so each real coefficient rounds to its exact integer. A final scan propagates carries.

For a small example, use base four. The numbers 1313 and 1111 correspond to 1+3z1+3z and 3+2z3+2z, evaluated at z=4z=4. A cyclic length of six, with factors two and three, is enough to avoid wraparound. The ordinary coefficients are

(1+3𝒛)(3+2𝒛)=3+11𝒛+6𝒛2.\boldsymbol{(1+3z)(3+2z)=3+11z+6z^2.}

The coefficient 1111 leaves digit 33 and carries 22. The next coefficient becomes 88, leaving digit 00 and carrying another 22. Reading high digits first gives 20334=1432033_4=143. This illustrates the convolution and carry steps of FFT multiplication at a size where direct arithmetic suffices.

7. One Algorithm for All Input Lengths: The Unconditional Upper Bound

Theorem 5.1 first gives a machine for each fixed exponent 1/2+ε1/2+\varepsilon, for ε>0\varepsilon>0. Its construction, constants and space allowance can depend on ε\varepsilon. Theorem 1.1 needs one program and one linear space limit. Section 6 generates a sequence of finite constructions effectively, so the machine can try them without storing an infinite list.

Each candidate runs under fixed tape boundaries. If its space constant is too large for the full operands, a suitable attempt splits them into a fixed number of smaller chunks and assembles the answer from shifted chunk products. The schedule gives attempts increasing time budgets, counts generation and cleanup, and reserves schoolbook multiplication as a fallback. For each target exponent, some fixed candidate and chunk count eventually fit. The schedule charges only a constant factor for waiting on that attempt, with the constant allowed to depend on its index.

𝑻(𝒏)≤𝒏(1+log⁡𝒏)1/2+𝒐(1).\boldsymbol{T(n)\le n(1+\log n)^{1/2+o(1)}.}

Here T(n)T(n) is the worst-case time of this one machine over operand pairs of length nn. Equivalently, for every fixed ε>0\varepsilon>0, that same machine has a worst-case Oε(n(1+log⁡n)1/2+ε)O_{\varepsilon}(n(1+\log n)^{1/2+\varepsilon}) bound.

8. Weak ETH and the Mathematical Cost of Moving Information

Variable-count Weak ETH says that for any fixed 0<δ<10<\delta<1, there is no deterministic 3-SAT algorithm with time 2O(v1−δ)LO(1)2^{O(v^{1-\delta})}L^{O(1)}, where vv counts variables and LL is the encoded input length. Subexponential 3-SAT algorithms refuted the original ETH. A time such as 2O(v/log⁡v)2^{O(v/\log v)} is compatible with Weak ETH. The Stearns–Hunt hypothesis for CNF satisfiability is equivalent to this weaker statement.

The connection goes through tensor networks. A wire of width qq between sites at distance dd costs qdqd. Local computation may freely encode or combine information. Spectral prices still bound the total price of independent wires that the network can realize. Theorem 7.1 shows that a family of bounded-degree graphs exhibiting uniform spectral expansion across these distance spaces would enable faster contraction of Boolean networks. Sparsifying a 3-SAT formula and encoding it into such networks would then give the forbidden power saving in vv. Under Weak ETH, the proof can instead place a tape network so that its edges are short on average while typical row-to-column terminal pairs are about one unit apart.

9. Proving the Conditional Lower Bound Through Matrix Transposition

	A three-by-three matrix transpose illustrates the conditional lower bound for integer multiplication below n log n.
A three-by-three matrix transpose illustrates the conditional lower bound for integer multiplication below n log n.

For an N×NN\times N binary matrix, divide tape into NN-cell blocks and time into NN-step epochs. Record only the block where each head starts an epoch. The number of possible coarse traces is 2O(1+T/N)2^{O(1+T/N)} for a fixed machine and deadline TT, since each head’s block index changes by at most one per epoch. Picking the most frequent successful trace loses only o(N2)o(N^2) bits in the exponent of the successful fraction at the deadlines of interest. It gives a bounded-degree network with O(N+1+T/N)O(N+1+T/N) vertices. Edges carry block contents to their next possible use, along with separate successive-epoch edges for the control state and head offsets.

A Tape Block Skips an Epoch The head starts in blocks 4, 5, 6, and 5 across four epochs. Control state and head offset pass to each successive epoch. Block 4 contents pass from epoch 1 to 2 and from epoch 2 to 4, skipping epoch 3. Control and Head Offset Block 4 Contents Epoch 1 · Start in Block 4 Reachable Blocks 3, 4, 5 Epoch 2 · Start in Block 5 Reachable Blocks 4, 5, 6 Epoch 3 · Start in Block 6 Reachable Blocks 5, 6, 7 Epoch 4 · Start in Block 5 Reachable Blocks 4, 5, 6
Figure 2. Schematic based on the paper’s Figure 5. The third epoch cannot reach block 4, so its contents go directly from the second epoch to the fourth.

Write n=N2n=N^2. If a network succeeds on a fraction at least 2−ρn2^{-\rho n}, a uniformly chosen successful matrix has at least (1−ρ)n(1-\rho)n bits of entropy. Across repeated copies, conditional entropies give rates for independent wires between the appropriate row and column terminals. Supplying the input rows through an auxiliary site costs at most n/2+o(n)n/\sqrt{2}+o(n) in the chosen placement. For ρ<1−1/2\rho<1-1/\sqrt{2}, some demand must still be paid by network edges. The price gap forces Ω(Nlog⁡N)\Omega(N\sqrt{\log N}) vertices and, via the trace construction, Ω(N2log⁡N)\Omega(N^2\sqrt{\log N}) tape time.

Harvey and van der Hoeven’s reduction transposes a matrix of side ⌊m⌋\lfloor\sqrt{m}\rfloor using a constant number of products of two mm-bit operands and O(m(1+log⁡log⁡(2m)))O(m(1+\log\log(2m))) extra steps. This overhead is smaller than the transposition lower bound. Using calls at exactly the specified length makes Theorem 1.2 hold at every sufficiently large length. For any fixed exact deterministic multiplier, under Weak ETH its worst-case time satisfies

𝑻(𝒏)=𝛀(𝒏log⁡𝒏).\boldsymbol{T(n)=\Omega(n\sqrt{\log n}).}

10. Beyond Multiplication: Integer Division, Square Roots and Matrix Transposition

Corollary 6.1 transfers the upper bound to division with remainder and floor square root. Newton iteration grows the precision geometrically, so the total cost stays on the scale of the last precision. Exact integer comparisons correct the final candidate. Corollary 6.2 transfers the lower bound in reverse. One padded quotient encodes a product, and three padded square roots can extract x2x^2, y2y^2 and (x+y)2(x+y)^2. Subtracting the first two squares from the third gives 2xy2xy. The padding covers every sufficiently large target length.

The transposition reduction also gives an unconditional upper bound of the same exponent in the matrix bit count. Under Weak ETH, the paper’s lower bound applies even to a sufficiently large subset of matrices. Multiplication, division, square root and transposition thus share a limiting exponent in the tape model.

11. What the Proof Resolves, What Lean Verifies and What Remains Open

OpenAI’s Lean scope notes report formalizations of the single-machine multiplication upper bound and the conditional lower bound, even for just the low nn product bits. The division and square-root corollaries remain outside the listed formalization. The Comparator states the target theorems, and the formalization catalogue maps them to proof declarations. Weak ETH remains an assumption. The preprint bounds asymptotic tape complexity, leaving practical speed on modern processors to implementation and benchmarking.

Integer multiplication below n log n now has an unconditional construction with limiting logarithmic exponent one-half. Exact O(nlog⁡n)O(n\sqrt{\log n}) time remains open, and ruling out linear time for unrestricted exact multiplication on these tapes still depends on Weak ETH in this argument. The proof shows why the price of rearranging data belongs alongside arithmetic in any account of the improvement. Follow Binary Verse AI’s theoretical computer science coverage for more paper-first analyses of algorithms and proofs.

What is the fastest known integer multiplication algorithm?

On deterministic multitape Turing machines, OpenAI’s November 24, 2026 preprint gives a single exact algorithm for two nn-bit integers using n(1+log⁡n)1/2+o(1)n(1+\log n)^{1/2+o(1)} worst-case time and O(n)O(n) visited tape cells.

How does OpenAI’s proof break the n log n multiplication barrier?

It shares address rearrangements and short Fourier-transform operations across independent data streams. Polynomial parity prediction with exact error repair reduces the number of rearrangement stages, while the batched layouts make each stage cheaper on tapes.

Why is the logarithmic exponent ½ significant?

It lowers the limiting exponent of the logarithmic overhead from the classical value of one to one-half. Under Weak ETH, one-half is the infimum of achievable exponents for exact deterministic multitape multiplication. Attaining O(nlog⁡n)O(n\sqrt{\log n}) time exactly remains open.

What is Weak ETH in integer multiplication complexity?

Variable-count Weak ETH rules out deterministic 3-SAT in time 2O(v1−δ)LO(1)2^{O(v^{1-\delta})}L^{O(1)} for any fixed 0<δ<10<\delta<1, where vv is the number of variables and LL is the input length. The multiplication lower bound assumes this hypothesis.

Is linear-time integer multiplication still possible?

It remains open unconditionally in this model. If Weak ETH holds, no deterministic multitape Turing machine can compute exact integer products in linear worst-case time.

Will OpenAI’s multiplication algorithm make modern computers faster?

The paper gives an asymptotic bound for sequential tapes. Practical advantages on modern processors would require an implementation and benchmarks, and the construction’s constants and data rearrangements can dominate at ordinary operand sizes.

Does the proof also improve integer division and square roots?

Yes. It gives the same unconditional upper bound for exact division with remainder and for floor integer square root. Assuming Weak ETH, the matching exponent lower bound applies even to the quotient alone and to the floor square root.

Leave a Comment