OpenAI mathematics release · Result family 121

Almost-linear approximation of edit distance

Result described by OpenAIFor every fixed rational ε∈(0,1)\varepsilon\in(0,1), gives a randomized (1+ε)(1+\varepsilon) approximation to unit-cost edit distance in worst-case expected time N1+o(1)N^{1+o(1)}, with success probability at least 2/3. The strings have total length N and polynomially bounded integer symbols. This is an asymptotic guarantee at fixed accuracy.

1 manuscriptUpstream Lean scope documentedProofweave replay pending
Proof map

See the recorded structure for this family: a deep argument map, a draft proof chain, or a source-linked metadata scaffold.

Open the proof map →

Read what is proved, and what is not

Explanation

No reviewed artifact
No reviewed explanation artifact

No reviewed explanation artifact is available for this family. This empty slot is not evidence that the result is unproven; it means no explanation draft has been prepared and reviewed for this snapshot.

Read the original work

Manuscripts & citations

Download this record ↓
Manuscript 1OpenAI · 2026-09-24

An Almost-Linear Approximation Scheme for Edit Distance

Abstract from the sourceWe give a uniform randomized approximation scheme for unit-cost edit distance. For every fixed rational ε∈(0,1)\varepsilon\in(0,1), it estimates the distance between arbitrary explicitly stored strings of total length N within a factor 1+ε1+\varepsilon with probability at least 2/3, in worst-case expected time N1+o(1)N^{1+o(1)} on a logarithmic-word RAM. The algorithm supports polynomially bounded integer alphabets and returns zero deterministically on equal strings.

Formalization evidence

This manuscript is named in the family’s scope document. Read the scope below for the exact conclusions covered.

BibTeX citation from OpenAI
@misc{OAI:An-Almost-Linear-Approximation-Scheme-for-Edit-Distance-September-24-2026,
  author = {{OpenAI}},
  title = {{An Almost-Linear Approximation Scheme for Edit Distance}},
  howpublished = {OpenAI Math Release preprint
                  \href{https://github.com/openai/math/blob/main/preprints/An-Almost-Linear-Approximation-Scheme-for-Edit-Distance-September-24-2026/paper.pdf}{OAI:An-Almost-Linear-Approximation-Scheme-for-Edit-Distance-September-24-2026}},
  year = {2026}
}

Source snapshot: 1581d4cbdd69. The citation above retains OpenAI’s original wording.

Inspect what was formalized

Lean proof scope

Described by OpenAI · not replayed by Proofweave
Scope statement from the source

The formalization gives a randomized (1+ε)(1+\varepsilon)-approximation for unit-cost edit distance between explicitly stored integer strings, for every fixed rational 0<ε<10<\varepsilon<1. Its estimate is at least the true distance and at most (1+ε)(1+\varepsilon) times it with probability at least 2/32/3; equal strings return zero on every execution.

For total length at most NN and integer symbols bounded by a fixed polynomial in NN, expected work is at most (N+2)1+η(N+2)^{1+\eta} for every fixed η>0\eta>0 and all sufficiently large NN. Space is polynomially bounded on every execution.

Proofweave verification: pending

These records describe upstream evidence. A platform replay, a review of the theorem’s meaning, and an independent review still need their own evidence.

How Proofweave verification works →

Pinned source

Source & environment

The proofs share a large library. OpenAI recommends compiling selected portions at a time. Use the pinned environment and inspect the Comparator instructions before attempting a replay.

Upstream verification instructions ↗
Repository
openai/math ↗
Source revision
1581d4cbdd69a0faf34b2089614fe2a814316a6a
Lean toolchain
leanprover/lean4:v4.34.1
Mathlib revision
d13f23b723b8a846827a245b89c10fc7d3f11612
License
Apache-2.0 ↗
Indexed
2026-10-13