Skip to content
DAH

Fine-grained complexity: SETH, Orthogonal Vectors, APSP and 3SUM

Exact exponents inside P: fine-grained reductions from SETH/Orthogonal Vectors, APSP and 3SUM give conditional lower bounds for edit distance, LCS, Fréchet distance and graph problems.

On this page16 sections
Why other work relies on it

The SETH problem, the APSP and 3SUM hypotheses problem and the truly subquadratic (1+ε)-approximate edit distance problem are framed here; conditional lower bounds across string, graph and geometric algorithms cite these hypotheses.

Why some fast algorithms stop at exactly n² or n³ steps, and how a few shared beliefs explain it.

  1. 1Many problems stuck at n² or n³
  2. 2Can't prove the speeds are optimal
  3. 3Link them by fine-grained reductions
  4. 4All rest on a few core hypotheses
  5. 5Break one and a whole family speeds up

Motivation. Classical complexity theory sorts problems into "polynomial time" and "probably not". But inside polynomial time, exponents matter: n2n^2 versus n1.5n^{1.5} is the difference between feasible and infeasible on large data. Proving unconditional lower bounds for specific exponents is far beyond current techniques, so fine-grained complexity proves conditional ones.

Fine-grained reductions. A reduction from problem AA to problem BB is fine-grained if it respects running times: a polynomially faster algorithm for BB yields a polynomially faster algorithm for AA. Then if AA is believed to need time n2n^2, so does BB.

The core hypotheses.

  • ETH and SETH (Impagliazzo, Paturi, Zane). ETH: 3-SAT on nn variables needs time 2δn2^{\delta n} for some δ>0\delta>0. SETH: for every ε>0\varepsilon>0 there is a kk such that kk-SAT cannot be solved in time (2−ε)n(2-\varepsilon)^n. In words, brute force is essentially optimal for large clause width.
  • Orthogonal Vectors (OV). Given nn vectors of 00s and 11s of dimension about log⁡n\log n, find two with no position where both have a 11. The obvious method takes n2n^2 time. Williams (2005) showed that a truly faster algorithm would refute SETH.
  • APSP. All-pairs shortest paths in a weighted graph with nn vertices: no algorithm in n3−εn^{3-\varepsilon} time.
  • 3SUM. Among nn numbers, find three summing to zero: no algorithm in n2−εn^{2-\varepsilon} time.

Consequences. Edit distance in time n2−δn^{2-\delta} would refute SETH (Backurs and Indyk, 2015); the same holds for the longest common subsequence and the discrete Fréchet distance (a way of comparing curves). The proofs build gadgets: each vector becomes a string, arranged so that the alignment cost drops by a fixed amount exactly when some pair of vectors is orthogonal. Many graph and geometry problems are tied to APSP or 3SUM.

How to read the results. They are evidence, not proofs. If a hypothesis fell, a whole family of problems would speed up at once. The structure has also guided algorithm designers toward problems where improvement is plausible, and toward approximations when exact answers look stuck. Fast matrix multiplication is a recurring tool: triangle detection runs in O(nω)O(n^{\omega}) time, and the best APSP algorithms use matrix-product ideas.

A caution: the hypotheses are conjectures about the best possible running time, and one or more of them can in principle be wrong. In October 2026 Alman and Vassilevska Williams posted a preprint (unrefereed) claiming deterministic O(n1.9992)O(n^{1.9992}) 3SUM and O(n2.9995)O(n^{2.9995}) APSP for polynomially bounded integers, built on a new rectangular-matrix-product algorithm. If it holds, the APSP and 3SUM hypotheses are false and the bounds resting on them lose their basis; the authors state that SETH and Orthogonal Vectors are unaffected.

Go deeper

The full technical text.

What it is

Fine-grained complexity classifies problems in P by their exact exponent, conditional on a few hypotheses connected by fine-grained reductions. A (a,b)(a,b)-reduction from AA to BB (Vassilevska Williams–Williams) solves an AA-instance of size nn in time a(n)1−δa(n)^{1-\delta} apart from oracle calls to BB on instances of sizes nin_i, where for every ε>0\varepsilon>0 there is δ>0\delta>0 with ∑ib(ni)1−ε≤a(n)1−δ\sum_i b(n_i)^{1-\varepsilon}\le a(n)^{1-\delta}; then a polynomial speedup for BB gives one for AA.

The core hypotheses

  • ETH / SETH (Impagliazzo–Paturi–Zane). ETH: 3-SAT needs 2δn2^{\delta n} time for some δ>0\delta>0. SETH: for every ε>0\varepsilon>0 there is kk with kk-SAT not in O(2(1−ε)n)O(2^{(1-\varepsilon)n}). The sparsification lemma reduces to O(n)O(n) clauses.
  • Orthogonal Vectors. Given nn vectors in {0,1}d\{0,1\}^d, d=clog⁡nd=c\log n, decide whether two are orthogonal. Williams (2005), by split-and-list, showed SETH implies no n2−εn^{2-\varepsilon} algorithm for every cc (OVH).
  • APSP: no n3−εn^{3-\varepsilon} algorithm for all-pairs shortest paths with integer weights in [−nc,nc][-n^c,n^c]. 3SUM: no n2−εn^{2-\varepsilon} algorithm deciding whether nn integers in [−nc,nc][-n^c,n^c] contain a+b+c=0a+b+c=0.

Vassilevska Williams and Williams (FOCS 2010; J. ACM 2018) proved APSP subcubic-equivalent to min-plus product, negative triangle, replacement paths and others.

Conditional lower bounds and algorithms

Edit distance in O(n2−δ)O(n^{2-\delta}) would refute SETH (Backurs–Indyk 2015), and likewise LCS (Abboud–Backurs–Vassilevska Williams; Bringmann–Künnemann) and discrete Fréchet distance (Bringmann 2014). The gadgets embed OV: each vector becomes a string, and the alignment cost drops by a fixed amount exactly when some pair is orthogonal.

The polynomial method gives the matching upper-bound side. Williams (STOC 2014) computed min-plus products in n3/2Ω(log⁡n)n^3/2^{\Omega(\sqrt{\log n})} time by expressing small min-plus blocks as AC0[2]\mathsf{AC}^0[2] circuits, converting them to sparse probabilistic polynomials, and evaluating them with fast rectangular matrix multiplication. Abboud, Williams and Yu (SODA 2015) solved OV with d=clog⁡nd=c\log n in n2−1/O(log⁡c)n^{2-1/O(\log c)} time; this is consistent with OVH because the savings vanish as c→∞c\to\infty.

Matrix multiplication separates algebraic from combinatorial algorithms: triangle detection and Boolean matrix multiplication run in O(nω)O(n^{\omega}), while "combinatorial" lower bounds are stated separately. Min-plus product does not reduce to ring matrix multiplication directly, which is why APSP was conjectured cubic.

NSETH (Carmosino, Gao, Impagliazzo, Mihajlin, Paturi, Schneider 2016) asserts that kk-TAUT has no 2(1−ε)n2^{(1-\varepsilon)n} nondeterministic algorithm. Because 3SUM and APSP have fast nondeterministic and co-nondeterministic algorithms, NSETH rules out deterministic fine-grained reductions from SAT to them: the hypotheses are believed independent.

Status in October 2026. Alman and Vassilevska Williams (arXiv:2610.06783, 5 October 2026; unrefereed) claim deterministic O(n1.9992)O(n^{1.9992}) 3SUM and O(n2.9995)O(n^{2.9995}) APSP for polynomially bounded integers, from a new thin-matrix-product algorithm based on a variant of Coppersmith's rectangular matrix multiplication; the abstract credits Anthropic's Claude with discovering the algorithm. The paper states that SETH and Orthogonal Vectors are unaffected. If the claim holds, many conditional bounds based on APSP or 3SUM lose their basis while SETH-based ones stand.

Techniques to master

Split-and-list reductions; gadget design for alignment problems; subcubic equivalences via negative-triangle; probabilistic polynomials and Razborov–Smolensky; rectangular matrix multiplication; self-reducibility and hashing for 3SUM.

Standard references / Reading path

Vassilevska Williams, "On some fine-grained questions in algorithms and complexity" (ICM 2018); Impagliazzo–Paturi–Zane (JCSS 2001); the Backurs–Indyk and Williams APSP papers; Carmosino et al. on NSETH; then arXiv:2610.06783.

Where it bites

SETH is neither proved nor refuted. The APSP and 3SUM hypotheses are under a credible, unrefereed refutation claim. (1+ε)-approximate edit distance in n2−δn^{2-\delta} time is open: Gorbachev (arXiv:2610.01311, October 2026, unrefereed) gives a factor-3 approximation in O~(N11/6)\tilde O(N^{11/6}), and no fine-grained lower bound excludes a (1+ε)(1+\varepsilon)-approximation in near-linear time.

Words on this page (12)
Words on this page
polynomial time
Running time that grows like n, n², n³ and so on, as opposed to exponential growth like 2ⁿ.
fine-grained reduction
A translation between problems that preserves running time, so a polynomial speedup for one gives a speedup for the other.
SETH (Strong Exponential Time Hypothesis)
The belief that for large clause width, satisfiability needs almost as long as trying every assignment.
edit distance
The fewest single-letter insertions, deletions and changes needed to turn one text into another.
longest common subsequence
The longest sequence of letters appearing in both texts in the same order, used for comparing files and DNA.
3SUM
The problem of finding three numbers in a list that add up to zero.
all-pairs shortest paths (APSP)
Finding the shortest route between every pair of points in a weighted network.
big-O notation
A way to describe how running time grows with input size while ignoring small constants.
fast matrix multiplication
Methods that multiply big grids of numbers using fewer steps than the schoolbook method.
computational complexity
The study of how many resources (time, memory) problems need.
Orthogonal Vectors (OV)
Given many 0/1 vectors, decide whether two of them never have a 1 in the same position; the hub that links SETH to string problems.
k-SAT
Deciding whether a logical formula whose rules each involve at most k variables can be made true.
New to this? Read first (4)
New to this? Read first

Understanding map

map of the whole wiki →

What to read before Fine-grained complexity: SETH, Orthogonal Vectors, APSP and 3SUM (left), and what builds on it: entries that depend on it and its open problems (right). Every box links to its page.

  1. Start with
  2. Step 2
  3. Step 3
  4. Step 4
  5. Then

Open problems & questions

Progress timeline

  1. Nov 9, 2026
    Preprint: the claimed 3-SAT algorithms would put NTIME[t] in subexponential deterministic time
    Related to: Exponential Time Hypothesis: does 3-SAT need 2δn time for some δ > 0?

    Strassle and Subercaseaux (arXiv:2611.11832) state that the 3-SAT algorithms presented by OpenAI and Anthropic would imply NTIME[t]⊆DTIME[2O(tlog⁡log⁡t/log⁡t)]\mathrm{NTIME}[t]\subseteq\mathrm{DTIME}[2^{O(t\log\log t/\sqrt{\log t})}] for multitape nondeterministic Turing machines, and 2O(t/log⁡t)2^{O(t/\sqrt{\log t})} from a stronger consequence of the proofs. The result is conditional on those claimed algorithms, which remain unrefereed, so it is not independent evidence that they are correct. Unrefereed preprint.

    source
  2. Nov 6, 2026
    Preprint claims the k-Clique Hypothesis is false
    Related to: The k-Clique Hypothesis: does finding a k-clique in a graph need nωk/3 time?

    Vassilevska Williams and Zamir posted an algorithm that finds and counts k-cliques in n^((ω/3−c)k) time for all large k, with c>0 independent of ω and k, so the saving holds even if ω=2. The paper also gives Max-2-CSP consequences. Unrefereed.

    source
  3. Nov 3, 2026
    Second preprint claims to refute the hyperclique conjecture
    Related to: The Hyperclique Hypothesis: is finding a k-clique in an h-uniform hypergraph (h ≥ 3) as hard as brute force?

    Alman, Li, Pant, Pratt and Williams posted arithmetic circuits of size O(n^(k-ε_k)) for the k-hyperclique tensor, counting k-hypercliques in (k-1)-uniform hypergraphs faster than brute force, with corollaries for Max-kSAT and k-term arithmetic progressions. Unrefereed.

    source
  4. Nov 2, 2026
    Preprint claims the Hyperclique Hypothesis is false
    Related to: The Hyperclique Hypothesis: is finding a k-clique in an h-uniform hypergraph (h ≥ 3) as hard as brute force?

    Nick Fischer posted an algebraic algorithm detecting and counting k-cliques in h-uniform hypergraphs in O(n^((1-ε_h)k)) time for k>h≥3; the abstract says the result is almost entirely due to AI. Unrefereed.

    source
  5. Oct 28, 2026
    Expositions of the OpenAI proof by O'Donnell and Kintali; Fortnow says verification is still to come
    Related to: Exponential Time Hypothesis: does 3-SAT need 2δn time for some δ > 0?

    Ryan O'Donnell posted an exposition (dated 28 October, produced with LLMs) that reduces #3SAT to a sparse permanent and claims deterministic exact counting in 2O(n(log⁡log⁡n)2/log⁡n)2^{O(n(\log\log n)^2/\sqrt{\log n})}, one log⁡log⁡n\log\log n factor worse than OpenAI's; it also reports Subercaseaux's consequence for NTIME(T)\mathrm{NTIME}(T). Shiva Kintali posted a simplified exposition (dated 26 October) claiming a deterministic 3-SAT algorithm in C(n+m+1)c 2εnC(n+m+1)^c\,2^{\varepsilon n} for every fixed ε>0\varepsilon>0. Lance Fortnow wrote that he has not verified the proof himself and that OpenAI will partner with Impagliazzo, Paturi and Williams to verify it. These are unrefereed expositions, not a verification.

    source
  6. Oct 27, 2026
    Anthropic publishes a deterministic 2^o(n) algorithm for #3-SAT
    Related to: Exponential Time Hypothesis: does 3-SAT need 2δn time for some δ > 0?

    Anthropic released a paper by Claude and a Lean 4 formalization stating ETHIsFalse, with a counting algorithm for #3-SAT in time 2O(nlog⁡log⁡n/log⁡n)2^{O(n\log\log n/\sqrt{\log n})}; its repository CI passed. It is an independent route to the same conclusion, and is also unrefereed.

    source
  7. Oct 27, 2026
    Two AI-found claims that ETH is false would also refute SETH; unrefereed
    Related to: Strong Exponential Time Hypothesis: no (2−ε)ⁿ-time algorithm for k-SAT as k → ∞

    OpenAI (26 October 2026) and Anthropic (27 October 2026) each announced a proof that the Exponential Time Hypothesis is false, with Lean formalizations. SETH implies ETH, so a refutation of ETH would also refute SETH. Both claims are unrefereed and under review; SETH stays open here until experts accept one of them.

    source
  8. Oct 26, 2026
    OpenAI announces a proof that ETH is false
    Related to: Exponential Time Hypothesis: does 3-SAT need 2δn time for some δ > 0?

    OpenAI said its system proved ETH false, with a Lean formalization, and that Impagliazzo, Paturi and Williams will lead verification. The manuscript claims 2Ok(nlog⁡log⁡n/log⁡n)2^{O_k(n\log\log n/\sqrt{\log n})} time for exact #k-SAT in polynomial space. Unrefereed.

    source
  9. Oct 5, 2026
    Claimed truly subquadratic 3SUM and subcubic APSP (preprint)

    Alman and Vassilevska Williams posted O(n^1.9992) 3SUM and O(n^2.9995) APSP algorithms for polynomially bounded integers; the paper states SETH and OV are unaffected. Unrefereed.

    source
  10. Oct 5, 2026
    Claimed refutation of the 3SUM and APSP hypotheses
    Related to: APSP and 3SUM hypotheses: no n3−ε APSP or n2−ε 3SUM on polynomially bounded integers

    Alman and Vassilevska Williams posted deterministic O(n^1.9992) 3SUM and O(n^2.9995) APSP algorithms for polynomially bounded integers, refuting both hypotheses if correct; unrefereed.

    source
  11. Oct 5, 2026
    3SUM and APSP hypotheses refuted in a preprint; SETH unaffected
    Related to: Strong Exponential Time Hypothesis: no (2−ε)ⁿ-time algorithm for k-SAT as k → ∞

    Alman and Vassilevska Williams posted O(n^1.9992) 3SUM and O(n^2.9995) APSP algorithms for polynomially bounded integers; the paper states that SETH and Orthogonal Vectors are unaffected. Not yet refereed.

    source
  12. Oct 1, 2026
    Factor-3 approximation in Õ(N^{11/6}) (preprint)
    Related to: Edit distance: a (1+ε)-approximation in truly subquadratic time n2−δ

    Gorbachev removes the +ε from the (3+ε) factor in truly subquadratic time, at a slower exponent than the 3+ε algorithms, and extends it to metric weights in Õ(N^{40/21}). Unrefereed; it does not move the 1+ε question.

    source
  13. Mar 31, 2026
    (1+ε)-approximation in n²/2^{log^{Ω(1)} n} time
    Related to: Edit distance: a (1+ε)-approximation in truly subquadratic time n2−δ

    Mao and Rubinstein: approximation schemes for edit distance and LCS (STOC 2026).

    source
  14. May 15, 2020
    Constant factor in near-linear time
    Related to: Edit distance: a (1+ε)-approximation in truly subquadratic time n2−δ

    Andoni and Nosatzki: a constant-factor approximation in n^{1+ε} time.

    source
  15. Oct 8, 2018
    Constant factor in truly subquadratic time
    Related to: Edit distance: a (1+ε)-approximation in truly subquadratic time n2−δ

    Chakraborty, Das, Goldenberg, Koucký and Saks break the quadratic barrier for constant-factor approximation (arXiv month; day approximate).

    source
  16. Jan 7, 2018
    Hyperclique Hypothesis stated
    Related to: The Hyperclique Hypothesis: is finding a k-clique in an h-uniform hypergraph (h ≥ 3) as hard as brute force?

    Lincoln, Vassilevska Williams and Williams formalised the hypothesis in their SODA 2018 paper on cycles and paths in sparse graphs and derived conditional lower bounds from it (conference date approximate; the preprint is arXiv:1712.08147).

    source
  17. Oct 1, 2015
    k-Clique used as the basis of fine-grained lower bounds
    Related to: The k-Clique Hypothesis: does finding a k-clique in a graph need nωk/3 time?

    Abboud, Backurs and Vassilevska Williams (FOCS 2015) showed that a faster combinatorial CFG parser would give a faster combinatorial k-clique algorithm and that Valiant's parser would be optimal if the current clique algorithms are. Month approximate; the preprint is arXiv:1504.01431.

    source
  18. Jan 28, 2015
    LCS is SETH-hard
    Related to: Strong Exponential Time Hypothesis: no (2−ε)ⁿ-time algorithm for k-SAT as k → ∞

    Abboud, Backurs and Vassilevska Williams showed that truly subquadratic longest common subsequence would refute SETH.

    source
  19. Dec 1, 2014
    Exact edit distance is SETH-hard
    Related to: Edit distance: a (1+ε)-approximation in truly subquadratic time n2−δ

    Backurs and Indyk rule out O(n^{2−δ}) exact algorithms under SETH (arXiv month; day approximate).

    source
  20. Dec 1, 2014
    Edit distance is SETH-hard
    Related to: Strong Exponential Time Hypothesis: no (2−ε)ⁿ-time algorithm for k-SAT as k → ∞

    Backurs and Indyk proved that strongly subquadratic edit distance would refute SETH (arXiv December 2014; STOC 2015).

    source
  21. Dec 1, 2014
    Edit distance is SETH-hard

    Backurs and Indyk showed that strongly subquadratic edit distance would refute SETH (STOC 2015).

    source
  22. May 31, 2014
    Faster APSP via circuit complexity
    Related to: APSP and 3SUM hypotheses: no n3−ε APSP or n2−ε 3SUM on polynomially bounded integers

    Williams gave an n^3/2^(Ω(√log n))-type algorithm, the best truly sub-polynomial speedup known for decades.

    source
  23. Dec 23, 2013
    Polynomial method for APSP

    Williams gave an n^3/2^(Ω(√log n)) APSP algorithm via circuit complexity and fast rectangular matrix multiplication (STOC 2014).

    source
  24. Oct 1, 2010
    APSP subcubic equivalences
    Related to: APSP and 3SUM hypotheses: no n3−ε APSP or n2−ε 3SUM on polynomially bounded integers

    Vassilevska Williams and Williams proved APSP is equivalent to several problems under subcubic reductions (FOCS 2010).

    source
  25. Dec 1, 2005
    SETH implies the OV hypothesis

    Williams' split-and-list reduction showed that truly subquadratic Orthogonal Vectors would refute SETH (TCS, December 2005).

    source
  26. Dec 1, 2001
    ETH, SETH and sparsification

    Impagliazzo, Paturi and Zane's sparsification lemma made ETH robust across NP-complete problems (JCSS, December 2001).

    source
  27. Jan 1, 2001
    ETH and the sparsification lemma
    Related to: Exponential Time Hypothesis: does 3-SAT need 2δn time for some δ > 0?

    Impagliazzo and Paturi formulated ETH (conference version 1999), and Impagliazzo, Paturi and Zane proved the sparsification lemma and the equivalence of sk>0s_k>0 for all k≥3k\ge3 in JCSS 2001 (month not given here).

    source
  28. Jan 1, 2001
    ETH, SETH and sparsification
    Related to: Strong Exponential Time Hypothesis: no (2−ε)ⁿ-time algorithm for k-SAT as k → ∞

    Impagliazzo, Paturi and Zane published the sparsification lemma and the ETH framework in JCSS 2001 (conference versions 1998–99; month not given here).

    source
  29. Oct 1, 1995
    3SUM-hardness in geometry
    Related to: APSP and 3SUM hypotheses: no n3−ε APSP or n2−ε 3SUM on polynomially bounded integers

    Gajentaan and Overmars introduced 3SUM-hardness for computational-geometry problems (Comput. Geom., October 1995; day approximate).

    source
  30. Jan 1, 1985
    Nešetřil and Poljak: k-clique via matrix multiplication
    Related to: The k-Clique Hypothesis: does finding a k-clique in a graph need nωk/3 time?

    Nešetřil and Poljak gave an O(n^(ωk/3)) algorithm for k divisible by 3 by reducing k-clique to triangle detection in a graph on n^(k/3) nodes. Year only; the exact date is approximate.

    source