Manuscript Offprint
arXiv:2611.07308Quadratic-Time Barriers from Self-Referential SAT
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Under the self-referential -SAT exhaustive-search hypothesis (SRK-ESH), no uniform deterministic algorithm computes exact longest common subsequence or standard edit distance on binary strings in time for any fixed , where is the longer sequence length. The same exclusion holds for one-dimensional dynamic time warping on with absolute-difference cost and for five-symbol dynamic time warping with the discrete metric. We derive Orthogonal Vectors hardness in polylogarithmic dimension by splitting the variables of the logarithmic-width source formula into two halves. Existing sequence reductions have polynomial overhead in the dimension. Their output lengths and construction times allow a fixed saving in the target exponent to yield a fixed proportional saving in the source exponent.
Keywords: Fine-grained complexity; Self-referential SAT; SRK-ESH; Orthogonal Vectors; Longest common subsequence; Edit distance; Dynamic time warping.
1 Introduction
Classical dynamic programs solve longest common subsequence, edit distance, and dynamic time warping in quadratic time. Fine-grained reductions connect a fixed improvement in this exponent to faster algorithms for satisfiability.
The Strong Exponential Time Hypothesis (SETH), originating in the study of satisfiability complexity by Impagliazzo and Paturi [5], has provided a widely used foundation for these arguments. Backurs and Indyk [3] established the strongly subquadratic barrier for standard edit distance under SETH. Abboud, Backurs, and Vassilevska Williams [1] and Bringmann and Künnemann [2] established reductions connecting vector-pair problems to sequence similarity. These reductions support precise barriers against algorithms for a fixed .
OpenAI's recent preprint [6] gives a deterministic subexponential-time algorithm for counting satisfying assignments of -CNF formulas for every fixed , which would refute both ETH and SETH. Its running-time guarantee is stated for fixed clause width. This raises the question of whether a hardness hypothesis for logarithmic-width SAT can support the established quadratic-time barriers for sequence similarity.
The self-referential -SAT exhaustive-search hypothesis (SRK-ESH) of Fang, Li, Liu, Luo, Tong, and Xu [4] excludes fixed proportional exponent savings on a fixed promise family. We use it to establish the Orthogonal Vectors hardness required by the reductions behind Table 1. The formal statements also cover threshold decisions.
Splitting the source variables into two halves gives two lists of about assignments. Each clause contributes one vector coordinate, so polynomially many clauses give polylogarithmic dimension in the list size. Sections 3 and 4 account for the sizes and construction costs along this reduction chain.
| Problem | Input restriction | Consequence under SRK-ESH |
|---|---|---|
| Edit distance | Binary strings; unit insertion, deletion, and substitution costs | No deterministic exact algorithm |
| LCS | Binary strings | No deterministic exact algorithm |
| One-dimensional DTW | Values in ; cost | No deterministic exact algorithm |
| Symbolic DTW | Five symbols; discrete metric | No deterministic exact algorithm |
Table 1: Established quadratic-time barriers retained under SRK-ESH. Each statement holds for every fixed and uniform algorithms, for exact values and threshold decisions; is the maximum sequence length. The first three consequences use the reductions of [2]; the fourth uses [1].
2.1 Parameters and computational conventions
We use for the number of variables in the source formula, for its number of clauses, for the maximum vector-list size, for vector dimension, and for the maximum of the two target sequence lengths. All logarithms with a subscript 2 are binary. Constants in asymptotic notation may depend on fixed source parameters and on a fixed reduction, but not on the input size.
All algorithms are uniform and deterministic unless stated otherwise. The notation suppresses factors polynomial in the encoded source input length. We interpret the source hypothesis and target bounds in a common random-access model, with standard operations on words of bits for a computation using at most memory locations. In the hypothetical composed algorithms, word lengths are ; charging polynomial bit cost for each such operation only introduces a factor suppressed by . No unit-cost operations on unbounded integers are used.
A strongly subquadratic algorithm has running time for some fixed . It suffices to exclude , since a faster bound with a larger saving also implies a bound with a smaller positive saving.
2.2 The self-referential promise family
Fix the parameters and of the logarithmic-width construction in [4]. Its scale is
For concreteness, the clause-count tuning uses and
Only the polynomial bound on will enter our reductions. A direct literal-list encoding has length .
Let denote exactly the -variable promise family specified immediately before Assumption 1 in Section 7.2 of [4], and put . Its members are the uniquely satisfiable mother formulas and the unsatisfiable self-referential companions described there. A companion is obtained by replacing a redundant clause with a clause, on the same variable support, falsified by the unique satisfying assignment. The formula alone is supplied as input. Neither its satisfying assignment nor a label specifying which member of a SAT/UNSAT pair it represents is supplied. The family is fixed independently of the solver.
We use this family by reference, with its original membership conditions. In particular, no sampling procedure or efficiently recognizable membership test is required for the reductions below: their correctness holds on every CNF formula, and hence on every promised input.
Assumption 2.1 (SRK-ESH, Fang et al. [4], Assumption 1). For each fixed , there is no uniform deterministic algorithm that decides satisfiability correctly on every input in and satisfies
for all sufficiently large , where denotes the running time of on input .
Fang et al. [4] propose SRK-ESH on the basis of both structural and algorithmic evidence, as reviewed next.
2.3 Clause width: source hardness and reduction cost
Logarithmic width enters the motivation for SRK-ESH in two ways. At the threshold in (2.1), the Poisson limit in [4, Theorem 4] gives positive limiting probabilities for unique satisfiability and unsatisfiability. The redundant-clause argument and one-clause flip give the self-referential construction [4, Lemma 5 and Theorem 6]. In the fixed-width ensembles studied in Sections 3–4 of that work, overlap correlations obstruct the stated solution-independence criterion. Algorithmic guarantees must also be checked at the growing width . For example, a uniform bound with fixed certifies a fixed proportional saving at only if remains at least a positive constant times , up to polynomial factors. A width-dependent polynomial exponent or validity threshold also enters this calculation [4, Section 7.2].
In the reduction, the clause count determines the vector dimension and the width affects the cost of evaluating each coordinate. Lemma 3.1 gives , , and construction cost in literal-evaluation operations. Both and the multiplicative construction overhead are polylogarithmic in under (2.1).
2.4 Vector and sequence problems
Definition 2.2 (Orthogonal Vectors). Given two lists of vectors in , each containing at most indexed vectors, asks whether there are and with
Repeated vectors are allowed and are distinguished by their list indices.
For strings , is the maximum length of a sequence that is a subsequence of both. The standard edit distance is the minimum number of single-symbol insertions, deletions, and substitutions needed to transform into , each with unit cost. Our LCS and edit-distance results use the binary alphabet.
A DTW traversal of two nonempty sequences is a path from to using steps , , and . Its cost is the sum of over visited positions, and is the minimum traversal cost. For the main DTW result, entries lie in and . A separate corollary uses a five-symbol alphabet with discrete metric . These are different metric spaces. The target size is . We consider exact values or threshold decisions: , , and .
3 Establishing the Orthogonal Vectors barrier
We establish the OV hardness required by the sequence reductions, applying split and list directly to the source formulas.
3.1 The split-and-list construction
The following standard construction is stated for arbitrary CNF formulas so that its application to the source promise is explicit.
Lemma 3.1 (Split and list). Let be a CNF formula on variables, with clauses of width at most . One can construct two lists of -dimensional Boolean vectors, of sizes and , such that is satisfiable if and only if the lists contain an orthogonal pair. The construction takes
elementary literal-evaluation operations, up to polynomial encoding overhead. Before any list padding, the number of indexed orthogonal pairs equals the number of satisfying assignments of .
Proof. Partition the variables into and of sizes and . For each assignment to , define by
In particular, if contains no variable from , then for every . Define analogously for assignments to . A clause containing no variable from one half has coordinate 1 for every assignment to that half.
For every pair and every clause index , the product is 1 exactly when neither half makes a literal of true. Consequently,
The inner product vanishes exactly when the combined assignment satisfies . Full assignments correspond bijectively to indexed pairs of half-assignments, proving also the counting statement.
For each half-assignment, scan all clauses and at most literals per clause. There are at most half-assignments, where . This gives the claimed construction bound. The lists occupy bits, apart from indexing overhead.
If a downstream construction requires equal list sizes, repeat an existing vector in the smaller list until both sizes equal . This preserves the existence of an orthogonal pair. The counting assertion of Lemma 3.1 concerns the original, unpadded lists.
A small example. Consider
For , the vector is . For , it is . Their inner product is zero and the combined assignment satisfies . If instead , then and the inner product is one, corresponding to the falsified first clause. This example illustrates the encoding; it is not intended as a member of the source promise family.
3.2 Dimension and conditional hardness
Theorem 3.2 (OV barrier from SRK-ESH). Fix the source parameters in Assumption 2.1. There is a constant such that, under SRK-ESH, no uniform deterministic algorithm solves all OV instances with
in time for any fixed and .
Proof. Apply Lemma 3.1 to a promised formula . The resulting instance has
Because , a fixed makes (3.2) valid for all sufficiently large . Enlarge for finitely many exceptions if needed.
Suppose the claimed OV algorithm exists. Reduce the saving if necessary so that . The construction followed by that algorithm decides every promised formula in time
The rounding in changes only a constant factor. The constructed algorithm is uniform, deterministic, and correct on the whole promise family. Taking contradicts Assumption 2.1. Finitely many small variable counts can be handled by exhaustive search.
Theorem 3.2 specifies a dimension regime, rather than identifying all formulations of an OV hypothesis. In particular, it does not by itself establish the corresponding claim in dimension . Its polylogarithmic dimension is exactly what the applications below require.
Remark 3.3 (The inherited promise). On the unpadded images of , there is either one indexed orthogonal pair or none. This follows from Lemma 3.1 and the SAT/UNSAT promise. The source contradiction already applies to an algorithm correct on those images alone. Our target lower bounds concern algorithms correct on all target inputs, which necessarily include these images. No efficient recognition or sampling of the image family is used.
4 Retaining quadratic-time barriers
We now verify that the existing sequence reductions meet a transfer criterion that charges both construction and solution time.
4.1 Transfer with polynomial dimension overhead
Theorem 4.1 (Quadratic transfer). Assume SRK-ESH. Let denote the size parameter of a target problem . Suppose a uniform deterministic reduction maps two lists of Boolean vectors in dimension to one instance, with output size and construction time bounded by . Suppose also that the OV answer is recoverable from the exact answer within additional time. Then admits no uniform deterministic algorithm for any fixed .
Proof. Reduce to OV using Lemma 3.1. Then and . Apply the reduction to and run the hypothetical solver. For , the total time, including construction and decoding, is
This contradicts Assumption 2.1. Larger positive savings imply a bound with a saving in (0, 1).
The following extension gives a criterion for testing further target reductions with larger size expansion.
Proposition 4.2 (General expansion). Assume SRK-ESH. Suppose the reduction and decoding in Theorem 4.1 instead have size and time bounds , where is fixed. Then no uniform deterministic algorithm exists for when and .
Proof. The complete source running time is
With , this is , contradicting SRK-ESH. An output-size bound without the construction-time bound would not justify this argument.
4.2 The sequence reduction interface
Lemma 4.3 (Bringmann-Künnemann [2]). on two lists of vectors in reduces to binary LCS, standard edit distance on binary strings, and one-dimensional DTW over with local cost . Each reduction has output length and construction time ; an output threshold decides .
Dimension accounting. The proof of Theorem III.3 in [2], Section III-A, constructs coordinate, vector, and normalized vector gadgets and then the final sequences. Its three alignment-gadget levels have total cost for list sizes . Lemmas V.2 and V.4 provide binary edit-distance gadgets with insertion and deletion costs 1, matching cost 0, and any fixed substitution cost in . Substitution cost 1 gives standard edit distance; cost 2 gives the LCS interface. Lemmas IV.1 and IV.3 provide the DTW interface. The latter's three levels introduce values 2, 4, 8, starting from 0, 1. Thus both symbol encoding and the number of levels are independent of .
The bound applies at . The LCS interface minimizes , which converts its decision threshold into an LCS threshold.
4.3 Conditional lower bounds
The edit-distance conclusion retains the barrier established by Backurs and Indyk [3], using the binary-alphabet refinement of Bringmann and Künnemann [2] as the reduction interface.
Theorem 4.4 (Sequence similarity under SRK-ESH). Assume SRK-ESH as introduced in [4]. For every fixed , none of the following admits a uniform deterministic exact algorithm with running time :
(i) standard edit distance of two binary strings, with unit insertion, deletion, and substitution costs;
(ii) LCS of two binary strings;
(iii) DTW of two one-dimensional sequences with values in and local cost . Here is the maximum of the two sequence lengths. The same exclusion holds for their threshold decision versions with the threshold supplied as input.
Proof. Lemma 4.3 supplies the required reduction for each problem. Apply Theorem 4.1. For threshold decision, use the threshold supplied by the reduction, with the appropriate comparison direction.
| Stage | Size parameters | Time or consequence |
|---|---|---|
| Source promise | variables; | SRK-ESH excludes |
| Split and list | ; | Construct in poly() |
| Main sequence reductions | Construct in | |
| Hypothetical solver | Source time |
Table 2: Parameter accounting for Theorem 4.4. All savings are fixed constants; polynomial factors in are suppressed only at the source exponential scale.
Corollary 4.5 (Discrete-metric DTW). Under SRK-ESH, exact DTW over five symbols with the discrete metric, and its threshold decision version, admit no uniform deterministic algorithm for any fixed .
Proof. The OV-to-DTW construction of Abboud, Backurs, and Vassilevska Williams [1], Section IV and Theorem 7, has size and construction cost and supplies a decision threshold. Apply Theorem 4.1.
The complete parameter calculation for is
Polynomial factors in remain polynomial in the original variable count .
5 Scope of the bounds
The bounds apply to exact values and threshold decisions for the input versions in Table 1. They exclude a fixed power saving in the worst-case running time of a uniform deterministic algorithm. For example, equation (4.1) converts an algorithm into an source algorithm. An improvement to for fixed falls outside this exclusion.
6 Conclusion
SRK-ESH yields the deterministic strongly subquadratic barriers for binary LCS, binary standard edit distance, and the two stated DTW variants. The split-and-list construction supplies Orthogonal Vectors instances in the dimension regime used by the sequence reductions.
The same transfer criterion applies to other targets. The required vector dimension, output size, construction time, and answer recovery must leave a fixed proportional saving in the source exponent when combined with the proposed target algorithm.
References
[1] Amir Abboud, Arturs Backurs, and Virginia Vassilevska Williams. Tight Hardness Results for LCS and Other Sequence Similarity Measures. In Proceedings of the 56th Annual IEEE Symposium on Foundations of Computer Science (FOCS), pages 59–78. IEEE, 2015. https://doi.org/10.1109/FOCS.2015.14.
[2] Karl Bringmann and Marvin Künnemann. Quadratic Conditional Lower Bounds for String Problems and Dynamic Time Warping. In Proceedings of the 56th Annual IEEE Symposium on Foundations of Computer Science (FOCS), pages 79–97. IEEE, 2015. https://doi.org/10.1109/FOCS.2015.15.
[3] Arturs Backurs and Piotr Indyk. Edit Distance Cannot Be Computed in Strongly Subquadratic Time (Unless SETH Is False). SIAM Journal on Computing, 47(3):1087–1097, 2018. https://doi.org/10.1137/15M1053128.
[4] Wen Fang, Xianxian Li, Jun Liu, Jie Luo, Yongxin Tong, and Ke Xu. Self-Referential K-SAT and the Finite Analogue of Gödel's Incompleteness Theorem. arXiv:2607.01671v3, October 29, 2026. Section 7.2, Assumption 1 (SRK-ESH). https://arxiv.org/abs/2607.01671v3.
[5] Russell Impagliazzo and Ramamohan Paturi. On the complexity of k-SAT. Journal of Computer and System Sciences, 62(2):367–375, 2001. doi:10.1006/jcss.2000.1727.
[6] OpenAI. The Exponential Time Hypothesis is False. Preprint, revised October 25, 2026. OpenAI Math Release.