A factor-two approximation for shortest common superstring
A fast method builds a string containing all given pieces, never more than twice the shortest possible.
The shortest common superstring problem asks for the shortest string containing every given piece of text unbroken. This paper proves (Lean proof listed) that a fast method can always come within a factor of two. Its answer is never more than twice the shortest possible length. The best earlier published guarantee was just below 2.466, and an August 2026 preprint reports 7/3. The guarantee is for the paper's new method, not for the classic greedy method.
| Year | Who | Value |
|---|---|---|
| 1994 | Blum, Jiang, Li, Tromp and Yannakakis | 3 |
| 1999 | Sweedyk | 2.5 |
| 2013 | Mucha | 2.4783 |
| 2023 | Englert, Matsakis and Veselý | 2.465 |
| 2026 | Chukhin, Kulikov, Mihajlin and Smal (preprint) | 2.3333 |
| 2026 | This paper | 2 |
Smaller is better. The 2026 values are preprints.
The explanation
Take the word SUPERSTRING and cut it into overlapping four-letter pieces. You get eight: SUPE, UPER, PERS, ERST, RSTR, STRI, TRIN and RING. Now forget the word and keep only the pieces. The task is to find the shortest string that contains every piece as an unbroken run of letters. Gluing the pieces end to end works, but it spends 32 letters. Sliding each piece over the one before saves most of that. SUPERSTRING itself has 11 letters and contains all eight. A computer search over all 40,320 orders of the pieces finds nothing shorter.
This puzzle is the shortest common superstring problem. A superstring of a list is a string that contains every item as an unbroken block. The shortest possible length is called the optimum. Here the optimum is 11. With eight pieces, trying every order is easy. With twenty pieces there are about 2.4 billion billion orders to try.
So researchers settle for a guarantee instead of the exact answer. A factor-two approximation is a method whose answer is never more than twice the optimum. Here it would promise at most 22 letters. Plain gluing, at 32 letters, breaks that promise. The method must also be fast. Here that means polynomial time: the running time grows at most like a fixed power of the input's size.
Factor two has been the target since 1988. That year, Jorma Tarhio and Esko Ukkonen conjectured that a simple greedy method reaches it. Greedy repeatedly merges the two pieces with the largest overlap. Proven guarantees came in steps. Avrim Blum, Tao Jiang, Ming Li, John Tromp and Mihalis Yannakakis reached factor 3 in 1994. Z. Sweedyk reached 5/2 in 1999. Marcin Mucha reached 2 + 11/23, about 2.478, in 2013. Matthias Englert, Nicolaos Matsakis and Pavel Veselý got below 2.466 in 2023. An August 2026 preprint by Nikolai Chukhin and three coauthors reports 7/3, about 2.333.
Many earlier methods start from a lower bound [a number that can never exceed the optimum]. It comes from arranging the pieces into separate loops instead of one chain. The loops must then be opened and joined into one string. Each join adds letters, and the difficulty is keeping that extra length under control.
This paper builds its lower bound differently. For each short word, it computes a count. The count never exceeds how often that word must appear in any superstring. Adding up the counts for single letters gives a number W. W can never exceed the optimumSource 1. Words that repeat a pattern, like ABABAB, need a further counting ruleSource 2. From the counts, the paper builds a map of wordsSource 3. Adding a letter costs one, and dropping the first letter costs nothingSource 4. Tracing this map spells out string pieces with total cost W. But the map may fall into separate parts. The paper then joins all the parts for at most W extra lettersSource 5. The hard work is paying for those joins without spending the same budget twiceSource 6.
That gives at most 2W letters, and 2W is at most twice the optimumSource 5. The paper proves this for every finite list of piecesSource 7. For the SUPERSTRING pieces, its method must return 22 letters or fewer. It does not promise 11. It also says nothing about GreedySource 8. A September 2026 preprint by Hiroki Shibata reports a counterexample to the Greedy conjecture, with ratio at least 9/4. The paper shows its running time is polynomialSource 9. It does not show the method is quick in practice.
How sure is this? A computer proof checker called Lean has checked a formal version of the main theorem. It states one deterministic polynomial-time method whose output is at most twice the optimum. Time is counted in input bits and length in letters. A tool called Comparator matches the Lean proof to a fixed reference statement. No specialist review has been published.
What it doesn't show. This does not find the shortest superstring itself. Nor does it show that the classic greedy method reaches factor two.
Where it came from
This result comes from an unreleased OpenAI model, published in the openai/math release on 6 October 2026.
Hype check
Major if the proof holds. Lean checks a formal version of the main theorem, matched to a reference statement. No specialist review is published, and nothing shows the method is quick in practice.
Words used
- Superstring
- A string that contains every item of a given list as an unbroken block of letters.
- Optimum
- The shortest possible length of a superstring for the given list.
- Factor-two approximation
- A method whose answer is never more than twice the optimum.
- Polynomial time
- Running time that grows at most like a fixed power of the input's size.
- Lower bound
- A number that can never exceed the optimum, used to measure an answer's quality.
- Greedy method
- The classic method that keeps merging the two pieces with the largest overlap.
- Lean
- A computer proof checker that tests each step of a formal proof.
- Comparator
- A tool that checks a Lean proof proves exactly a fixed reference statement, using only standard axioms.
The original paper
- A Polynomial-Time 2-Approximation for Shortest Common Superstring (PDF, opens in a new tab) September 24, 2026 Formal proof listed
All quoted lines (9)
-
Their one-letter sum is therefore a lower bound on the optimum.
A Polynomial-Time 2-Approximation for Shortest Common Superstring Back to text -
A further rule handles periodic words.
A Polynomial-Time 2-Approximation for Shortest Common Superstring Back to text -
The resulting counts determine a balanced, possibly disconnected graph of cost .
A Polynomial-Time 2-Approximation for Shortest Common Superstring Back to text -
An up edge appends a letter and costs one; a down edge deletes the first letter and costs zero.
A Polynomial-Time 2-Approximation for Shortest Common Superstring Back to text -
This connects the base graph at additional cost at most and completes the factor- bound.
A Polynomial-Time 2-Approximation for Shortest Common Superstring Back to text -
The final task is to arrange these connections without spending a budget twice.
A Polynomial-Time 2-Approximation for Shortest Common Superstring Back to text -
… answers affirmatively the question of whether a polynomial-time factor- approximation exists.
A Polynomial-Time 2-Approximation for Shortest Common Superstring Back to text -
Our theorem concerns the algorithm proved here; neither of those prescribed procedures is assumed to attain factor .
A Polynomial-Time 2-Approximation for Shortest Common Superstring Back to text -
There is a deterministic algorithm, polynomial in the total encoded input size, that on every finite collection of explicitly represented ordinary strings outputs a common superstring satisfying
A Polynomial-Time 2-Approximation for Shortest Common Superstring Back to text
Other sources
- J. Tarhio and E. Ukkonen, “A greedy approximation algorithm for constructing shortest common superstrings”, Theoretical Computer Science 57(1) (1988), 131–145
- A. Blum, T. Jiang, M. Li, J. Tromp and M. Yannakakis, “Linear approximation of shortest superstrings”, Journal of the ACM 41(4) (1994), 630–647
- Z. Sweedyk, “A 2.5-approximation algorithm for shortest superstring”, SIAM Journal on Computing 29(3) (1999), 954–986
- M. Mucha, “Lyndon words and short superstrings”, Proceedings of SODA 2013, 958–972
- M. Englert, N. Matsakis and P. Veselý, “Approximation guarantees for shortest superstrings: Simpler and better”, ISAAC 2023, LIPIcs 283, 29:1–29:17
- N. Chukhin, A. S. Kulikov, I. Mihajlin and A. Smal, “A tight cycle-cover inequality for shortest common superstring”, ECCC TR26-157 (August 2026), preprint
- H. Shibata, “Disproving the greedy superstring conjecture”, arXiv:2609.01365v1 (1 September 2026), preprint
- openai/math, “A Polynomial-Time 2-Approximation for Shortest Common Superstring” (24 September 2026)
answers affirmatively the question of whether a polynomial-time factor-
- openai/math release notes (2026): model provenance